:root {
  --bg: #0c100f;
  --bg-soft: #131715;
  --panel: #1a1d1a;
  --panel-warm: #211d16;
  --ink: #f4efdf;
  --muted: #aaa99d;
  --gold: #e9b64d;
  --gold-soft: #f8ce73;
  --silver: #b7c4c8;
  --green: #6eb787;
  --line: rgba(233, 182, 77, 0.22);
  --line-soft: rgba(244, 239, 223, 0.11);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  padding: 0 max(22px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  gap: 26px;
  background: rgba(12, 16, 15, 0.9);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; }
.brand img { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; }
.desktop-nav { display: flex; gap: 24px; margin-left: auto; }
.desktop-nav a, footer nav a { color: var(--muted); font-size: 14px; font-weight: 700; transition: color .2s ease; }
.desktop-nav a:hover, footer nav a:hover { color: var(--gold-soft); }
.header-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.header-cta { color: #171810; background: var(--gold); }
.header-cta:hover, .button:hover { transform: translateY(-2px); }
.button-primary { color: #171810; background: var(--gold-soft); }
.button-secondary { color: var(--ink); background: rgba(12, 16, 15, 0.56); border-color: var(--line); }
.header-cta svg, .button svg, .eyebrow svg, .text-link svg { width: 16px; height: 16px; }
.mobile-menu-button { display: none; margin-left: auto; color: var(--ink); background: none; border: 0; }
.mobile-menu-button svg { width: 26px; height: 26px; }
.mobile-nav { display: none; }

.hero {
  position: relative;
  min-height: min(860px, 92vh);
  padding: 116px 24px 48px;
  overflow: hidden;
  background: #11110f;
}
.hero-wordmark {
  position: absolute;
  inset: -4% -4% auto auto;
  width: min(1380px, 112vw);
  height: 106%;
  object-fit: cover;
  object-position: center;
  opacity: .46;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12,16,15,.98) 4%, rgba(12,16,15,.89) 39%, rgba(12,16,15,.47) 72%, rgba(12,16,15,.32));
}
.hero-inner {
  position: relative;
  max-width: var(--max);
  height: 100%;
  min-height: 670px;
  margin: 0 auto;
}
.hero-copy { position: relative; z-index: 3; max-width: 640px; padding-top: 84px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 13px;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 12px; font-family: Georgia, serif; font-size: clamp(64px, 8vw, 116px); font-weight: 500; line-height: .95; }
h2 { margin-bottom: 16px; font-size: clamp(34px, 5vw, 58px); line-height: 1.03; }
h3 { margin-bottom: 9px; font-size: 20px; line-height: 1.2; }
.hero-lead { max-width: 600px; margin-bottom: 13px; color: #fff7df; font-size: clamp(24px, 3vw, 38px); font-weight: 800; line-height: 1.14; }
.hero-body { max-width: 550px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 26px; }
.platform-note { display: flex; flex-wrap: wrap; gap: 17px; margin-top: 28px; color: var(--silver); font-size: 13px; font-weight: 800; }
.platform-note span { display: flex; align-items: center; gap: 7px; }
.platform-note svg { width: 15px; height: 15px; color: var(--green); }

.phone-scene { position: absolute; z-index: 2; right: 20px; bottom: -88px; width: 360px; transform: rotate(4deg); }
.phone { padding: 8px; border: 2px solid rgba(240,205,118,.88); border-radius: 48px; background: #080a09; box-shadow: 0 25px 60px rgba(0,0,0,.38); }
.phone-screenshot { width: 100%; border-radius: 39px; }

.intro-band, .modes-band { padding: 104px 24px; background: var(--bg-soft); }
.section-heading { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.section-heading .eyebrow { justify-content: center; }
.section-heading p:last-child { color: var(--muted); font-size: 18px; }
.feature-grid { display: grid; max-width: var(--max); margin: auto; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-soft); }
.feature-card { min-height: 254px; padding: 28px 24px; border-right: 1px solid var(--line-soft); background: var(--panel); }
.feature-card:last-child { border-right: 0; }
.feature-card > svg { width: 30px; height: 30px; margin-bottom: 30px; color: var(--gold); }
.feature-card p { color: var(--muted); font-size: 15px; }

.preview-band { padding: 104px 24px; background: #0f1211; }
.preview-grid { display: grid; max-width: var(--max); margin: auto; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.preview-item { overflow: hidden; border: 1px solid var(--line-soft); background: var(--panel); }
.preview-frame { overflow: hidden; aspect-ratio: 442 / 960; background: #090b0a; }
.preview-frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
.preview-item > div:last-child { padding: 22px; }
.preview-item h3 { font-size: 22px; }
.preview-item p:last-child { margin-bottom: 0; color: var(--muted); font-size: 15px; }
.preview-item-wide .preview-frame { border-bottom-color: var(--line); }

.privacy-band { padding: 104px 24px; background: #101715; }
.privacy-inner { display: grid; max-width: var(--max); margin: auto; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
.privacy-copy p:not(.eyebrow) { max-width: 650px; color: var(--muted); font-size: 19px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-soft); font-size: 15px; font-weight: 900; }
.privacy-points { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(110,183,135,.34); border-left: 1px solid rgba(110,183,135,.34); }
.privacy-points div { min-height: 142px; padding: 20px; border-right: 1px solid rgba(110,183,135,.34); border-bottom: 1px solid rgba(110,183,135,.34); }
.privacy-points svg { display: block; width: 25px; margin-bottom: 18px; color: var(--green); }
.privacy-points span { font-size: 15px; font-weight: 800; }

.modes { display: grid; max-width: 940px; margin: auto; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.modes article { min-height: 260px; padding: 34px; background: var(--panel); }
.modes h3 { margin-top: 46px; }
.modes p { color: var(--muted); }
.platform-band { display: flex; max-width: var(--max); margin: auto; padding: 92px 24px; align-items: end; justify-content: space-between; gap: 32px; }
.platform-band h2 { margin-bottom: 0; font-size: clamp(32px, 4vw, 52px); }
.testflight-band { padding: 0 24px 92px; text-align: center; }
.testflight-steps { display: grid; max-width: var(--max); margin: 0 auto 26px; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); text-align: left; }
.testflight-steps article { display: flex; min-height: 176px; padding: 25px; gap: 14px; background: var(--panel); }
.testflight-steps span { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; color: #171810; border-radius: 50%; background: var(--gold-soft); font-size: 13px; font-weight: 900; }
.testflight-steps h3 { margin: 2px 0 7px; }
.testflight-steps p { margin-bottom: 0; color: var(--muted); font-size: 15px; }
.testflight-button { margin: auto; }
.free-band { padding: 0 24px 92px; }
.free-inner {
  display: grid;
  max-width: var(--max);
  margin: auto;
  padding: 38px;
  grid-template-columns: 1fr;
  gap: 25px;
  align-items: center;
  justify-items: center;
  text-align: center;
  border: 1px solid var(--line);
  background: var(--panel-warm);
}
.free-mark {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  color: #171810;
  border-radius: 50%;
  background: var(--gold-soft);
}
.free-mark svg { width: 34px; height: 34px; }
.free-inner .eyebrow { justify-content: center; }
.free-inner h2 { margin-bottom: 8px; font-size: clamp(28px, 4vw, 43px); }
.free-inner p:last-child { max-width: 760px; margin-bottom: 0; color: var(--muted); font-size: 17px; }
footer {
  display: flex;
  max-width: var(--max);
  margin: auto;
  padding: 26px 24px 34px;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line-soft);
}
footer p { flex: 1; margin: 0; color: var(--muted); font-size: 13px; }
footer nav { display: flex; gap: 16px; }

.page-main { min-height: calc(100vh - 100px); padding: 132px 24px 70px; }
.page-wrap { max-width: 860px; margin: auto; }
.page-intro { padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.page-intro h1 { max-width: 760px; font-family: inherit; font-size: clamp(42px, 6vw, 72px); font-weight: 900; }
.page-intro p { max-width: 740px; color: var(--muted); font-size: 19px; }
.content-block { padding: 27px 0; border-bottom: 1px solid var(--line-soft); }
.content-block h2 { font-size: 25px; }
.content-block p, .content-block li { color: var(--muted); }
.content-block ul { padding-left: 20px; }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.support-grid a { min-height: 160px; padding: 22px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }
.support-grid svg { width: 25px; color: var(--gold); }
.support-grid h2 { margin: 22px 0 7px; font-size: 20px; }
.support-grid p { color: var(--muted); font-size: 14px; }

@media (max-width: 900px) {
  .desktop-nav, .header-cta { display: none; }
  .mobile-menu-button { display: block; }
  .mobile-nav {
    position: fixed;
    z-index: 19;
    top: 72px;
    left: 0;
    right: 0;
    display: grid;
    gap: 1px;
    max-height: 0;
    overflow: hidden;
    background: var(--bg);
    transition: max-height .3s ease;
  }
  .mobile-nav.open { max-height: 330px; border-bottom: 1px solid var(--line); }
  .mobile-nav a { padding: 14px 22px; color: var(--muted); border-top: 1px solid var(--line-soft); font-weight: 800; }
  .hero { min-height: 1000px; }
  .hero-inner { min-height: 888px; }
  .hero-copy { padding-top: 24px; }
  .hero-wordmark { inset: 0 auto auto 0; width: 150%; height: 66%; opacity: .24; object-position: center; }
  .hero-shade { background: linear-gradient(180deg, rgba(12,16,15,.95), rgba(12,16,15,.82) 52%, rgba(12,16,15,.97)); }
  .phone-scene { right: 50%; bottom: -280px; width: 320px; transform: translateX(50%) rotate(1deg); }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-card:nth-child(2) { border-right: 0; }
  .feature-card:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .preview-grid { grid-template-columns: 1fr 1fr; }
  .privacy-inner { grid-template-columns: 1fr; gap: 34px; }
  .platform-band { align-items: start; flex-direction: column; }
}
@media (max-width: 560px) {
  .site-header { padding: 0 17px; }
  .hero { min-height: auto; padding: 104px 18px 0; }
  .hero-inner { min-height: auto; }
  h1 { font-size: 68px; }
  .hero-lead { font-size: 27px; }
  .hero-body { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .platform-note { display: grid; gap: 10px; margin-top: 24px; }
  .phone-scene { position: relative; right: auto; bottom: auto; width: min(294px, 86vw); margin: 34px auto -235px; transform: rotate(1deg); }
  .intro-band, .modes-band, .privacy-band, .preview-band { padding: 76px 18px; }
  .feature-grid, .modes, .support-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .feature-card:last-child { border-bottom: 0; }
  .privacy-points div { min-height: 124px; padding: 15px; }
  .preview-grid { grid-template-columns: 1fr; }
  .modes article { min-height: auto; padding: 25px; }
  .modes h3 { margin-top: 8px; }
  .platform-band { padding: 70px 18px; }
  .testflight-band { padding: 0 18px 70px; }
  .testflight-steps { grid-template-columns: 1fr; }
  .testflight-steps article { min-height: auto; padding: 20px; }
  .testflight-button { width: 100%; }
  .free-band { padding: 0 18px 70px; }
  .free-inner { padding: 25px; grid-template-columns: 1fr; }
  footer { flex-wrap: wrap; padding: 22px 18px 28px; }
  footer p { order: 3; flex-basis: 100%; }
  footer nav { margin-left: auto; }
  .page-main { padding: 112px 18px 54px; }
}
