:root {
  --ink: #17302c;
  --muted: #5f6d69;
  --paper: #f6f1e7;
  --paper-strong: #fffdf8;
  --forest: #123832;
  --teal: #1e6b5c;
  --mint: #cde2d8;
  --orange: #ef9d57;
  --line: rgba(23, 48, 44, 0.16);
  --shadow: 0 24px 70px rgba(18, 56, 50, 0.13);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 8%, rgba(239, 157, 87, 0.2), transparent 25rem),
    linear-gradient(180deg, #fbf8f1 0%, var(--paper) 72%, #e9efe9 100%);
  font-family: "Aptos", "Trebuchet MS", sans-serif;
  line-height: 1.6;
}

a { color: inherit; }
img { max-width: 100%; }
.wrap { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 32px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 20; padding: 12px 16px; background: white; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(251, 248, 241, 0.9); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: -0.02em; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: var(--paper); background: var(--forest); font-family: Georgia, serif; }
.brand small { display: block; color: var(--muted); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.04em; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { text-decoration: none; font-weight: 700; font-size: 0.94rem; }
.menu-button { display: none; border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; background: var(--paper-strong); font: inherit; font-weight: 700; }

.hero { padding: clamp(64px, 10vw, 124px) 0 84px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.13fr 0.87fr; align-items: center; gap: clamp(40px, 8vw, 96px); }
.eyebrow { margin: 0 0 18px; color: var(--teal); font-size: 0.78rem; font-weight: 850; letter-spacing: 0.14em; text-transform: uppercase; }
h1, h2, h3 { font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif; line-height: 1.08; letter-spacing: -0.035em; }
h1 { max-width: 770px; margin: 0; font-size: clamp(3.2rem, 8vw, 6.8rem); }
h2 { margin: 0 0 18px; font-size: clamp(2.1rem, 5vw, 4rem); }
h3 { margin: 0 0 8px; font-size: 1.45rem; }
.hero-lead { max-width: 640px; margin: 24px 0 30px; color: var(--muted); font-size: clamp(1.12rem, 2vw, 1.35rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 9px; padding: 12px 20px; border: 2px solid var(--forest); border-radius: 999px; background: var(--forest); color: white; text-decoration: none; font-weight: 800; transition: transform 160ms ease, box-shadow 160ms ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(18, 56, 50, 0.2); }
.button.secondary { color: var(--forest); background: transparent; }
.button[aria-disabled="true"] { cursor: not-allowed; opacity: 0.55; transform: none; box-shadow: none; }
.microcopy { margin-top: 12px; color: var(--muted); font-size: 0.84rem; }

.phone-stage { position: relative; min-height: 580px; display: grid; place-items: center; }
.phone-stage::before { content: ""; position: absolute; width: 410px; height: 410px; border-radius: 50%; background: var(--orange); opacity: 0.2; }
.phone { position: relative; width: min(320px, 82vw); padding: 14px; border: 2px solid rgba(255,255,255,.35); border-radius: 42px; background: #102b27; box-shadow: var(--shadow); transform: rotate(2deg); }
.phone-screen { min-height: 565px; padding: 28px 18px 24px; border-radius: 31px; background: linear-gradient(165deg, #fffdf8, #eaf2ec); }
.phone-label { color: var(--muted); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.phone-title { margin: 8px 0 24px; font-family: Georgia, serif; font-size: 2rem; font-weight: 700; }
.status-card { padding: 18px; border-radius: 20px; color: #f7faf7; background: var(--forest); }
.status-dot { display: inline-block; width: 9px; height: 9px; margin-right: 7px; border-radius: 50%; background: #89d4a7; box-shadow: 0 0 0 6px rgba(137,212,167,.12); }
.phone-row { display: flex; justify-content: space-between; gap: 16px; margin-top: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.phone-cta { margin-top: 30px; padding: 17px; border-radius: 18px; text-align: center; font-weight: 800; background: var(--orange); }

.section { padding: 88px 0; }
.section-head { max-width: 720px; margin-bottom: 42px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 253, 248, 0.72); box-shadow: 0 8px 24px rgba(18,56,50,.05); }
.icon { display: grid; width: 46px; height: 46px; margin-bottom: 20px; place-items: center; border-radius: 14px; background: var(--mint); font-weight: 900; }
.card p { margin-bottom: 0; color: var(--muted); }
.beta-band { color: white; background: var(--forest); }
.beta-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.big-number { font-family: Georgia, serif; font-size: clamp(7rem, 18vw, 13rem); line-height: .75; color: var(--orange); }
.beta-band p { color: #d7e5df; }
.check-list { padding: 0; list-style: none; }
.check-list li { position: relative; padding: 10px 0 10px 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 900; }
.steps { display: grid; gap: 14px; counter-reset: step; }
.step { counter-increment: step; display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.step::before { content: counter(step, decimal-leading-zero); display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: white; background: var(--teal); font-weight: 850; }
.step p { margin: 4px 0 0; color: var(--muted); }
.notice { margin-top: 28px; padding: 18px 22px; border-left: 4px solid var(--orange); background: #fff8ee; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 4px; font-weight: 800; }
.faq details p { max-width: 760px; margin: 0 0 22px; color: var(--muted); }
.download-card { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: clamp(26px, 5vw, 50px); border-radius: 32px; background: var(--paper-strong); box-shadow: var(--shadow); }
.meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .92rem; }
.technical { margin-top: 18px; }
.technical code { overflow-wrap: anywhere; font-size: .78rem; }
.security-note { color: var(--teal); font-weight: 750; }

.legal-hero { padding: 72px 0 32px; }
.legal { padding-bottom: 90px; }
.legal h2 { margin-top: 42px; font-size: 2rem; }
.legal li { margin-bottom: 8px; }
.legal .updated { color: var(--muted); }

.site-footer { padding: 46px 0; color: #dce8e3; background: #0d2924; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: inherit; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media (max-width: 820px) {
  .hero-grid, .beta-grid, .download-card { grid-template-columns: 1fr; }
  .phone-stage { min-height: 500px; }
  .phone-screen { min-height: 480px; }
  .grid-3 { grid-template-columns: 1fr; }
  .menu-button { display: inline-flex; }
  .nav-links { display: none; position: absolute; top: 68px; left: 16px; right: 16px; padding: 18px; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 18px; background: var(--paper-strong); box-shadow: var(--shadow); }
  .nav-links[data-open] { display: flex; }
}
@media (max-width: 520px) {
  .hero { padding-top: 48px; }
  h1 { font-size: 3.25rem; }
  .actions .button { width: 100%; }
  .section { padding: 68px 0; }
  .download-card .button { width: 100%; }
}
