/* KeyHaus website · Night Garage style */
:root {
  --bg: #0b0c0f;
  --wall: #111317;
  --card: #16191e;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f2f3f5;
  --dim: #9aa0aa;
  --accent: #e8a33d;
  --accent-dim: rgba(232, 163, 61, 0.14);
  --hazard: #d9b23a;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--accent); }
img { max-width: 100%; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 12, 15, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo {
  font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: 1px;
  color: var(--text); text-decoration: none;
}
.logo span { color: var(--accent); }
.nav a { color: var(--dim); text-decoration: none; margin-left: 22px; font-size: 15px; }
.nav a:hover { color: var(--text); }

/* Hero: a lit garage bay */
.hero {
  position: relative; overflow: hidden;
  padding: 110px 0 120px;
  background:
    radial-gradient(ellipse 55% 60% at 50% 0%, rgba(255, 244, 214, 0.13), transparent 70%),
    linear-gradient(var(--wall), var(--bg));
  border-bottom: 1px solid var(--line);
}
.hero .light {
  position: absolute; top: 34px; left: 50%; transform: translateX(-50%);
  width: min(460px, 70%); height: 10px; border-radius: 6px;
  background: #fff7e2; box-shadow: 0 0 40px 10px rgba(255, 243, 207, 0.45);
}
.hero .bay-num {
  position: absolute; bottom: -110px; left: 50%; transform: translateX(-50%) perspective(400px) rotateX(55deg);
  font-family: var(--display); font-weight: 800; font-size: 260px; line-height: 1;
  color: rgba(255, 255, 255, 0.04); pointer-events: none; user-select: none; z-index: 0;
}
.hero .hazard {
  position: absolute; left: 0; right: 0; bottom: 0; height: 8px; opacity: 0.8;
  background: repeating-linear-gradient(45deg, var(--hazard) 0 10px, #151515 10px 20px);
}
.kicker {
  font-family: var(--display); font-weight: 600; letter-spacing: 4px; text-transform: uppercase;
  color: var(--accent); font-size: 15px; margin: 0 0 10px;
}
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.05; margin: 0 0 14px; }
h1 { font-size: clamp(48px, 9vw, 96px); letter-spacing: 0.5px; }
h2 { font-size: clamp(34px, 5vw, 52px); }
h3 { font-size: 26px; letter-spacing: 0.5px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--dim); max-width: 620px; margin: 0 0 30px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-block; padding: 15px 26px; border-radius: 16px;
  background: var(--accent); color: #1a1206; text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: 1.5px; text-transform: uppercase;
}
.btn.ghost { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(232, 163, 61, 0.45); }
.btn + .btn { margin-left: 10px; }

/* Features */
section { padding: 90px 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 36px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px;
}
.card p { color: var(--dim); margin: 0; font-size: 16px; }
.card .icon {
  width: 44px; height: 44px; border-radius: 14px; background: var(--accent-dim); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px;
}
.soon {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  color: var(--dim); border: 1px solid var(--line); border-radius: 8px; padding: 2px 7px; margin-left: 6px;
  vertical-align: middle; font-family: var(--body);
}

/* Beta signup */
.beta {
  background: linear-gradient(135deg, rgba(232, 163, 61, 0.16), rgba(232, 163, 61, 0.03));
  border: 1px solid rgba(232, 163, 61, 0.3); border-radius: 28px; padding: 50px 28px;
}

/* Legal pages */
.doc { padding: 60px 0 90px; }
.doc h1 { font-size: clamp(40px, 7vw, 64px); }
.doc h2 { font-size: 30px; margin-top: 46px; }
.doc h3 { font-size: 22px; margin-top: 26px; }
.doc p, .doc li { color: #d4d7dc; }
.doc .meta { color: var(--dim); font-size: 15px; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--text); font-weight: 700; }
.doc td { color: #c9ccd2; }
.callout {
  background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 14px; padding: 16px 18px; margin: 20px 0;
}
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 700; color: var(--text); }
.faq details p { margin: 12px 0 0; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 50px; color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
footer a { color: var(--dim); margin-right: 18px; text-decoration: none; }
footer a:hover { color: var(--text); }

@media (max-width: 600px) {
  .nav a { margin-left: 14px; font-size: 14px; }
  .hero { padding: 90px 0 100px; }
  .btn { display: block; text-align: center; }
  .btn + .btn { margin: 10px 0 0; }
  section { padding: 64px 0; }
  .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; }
  .doc thead { display: none; }
  .doc td { border: none; padding: 4px 0; }
  .doc tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .doc td:first-child { color: var(--text); font-weight: 700; }
}
