:root {
  color-scheme: dark;
  --canvas: #111316;
  --surface: #1c2026;
  --raised: #272c34;
  --text: #f2f1ed;
  --muted: #aeb3bc;
  --border: #3d434d;
  --border-soft: rgba(216, 220, 227, 0.12);
  --platinum: #d8dce3;
  --ink: #171b21;
  --blue: #7ca8e8;
  --warning-bg: #2a2519;
  --warning-border: #6d5a2e;
  --warning-text: #ead9a8;
  --radius: 18px;
  --shell: min(1180px, calc(100% - 48px));
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 10%, rgba(93, 124, 166, 0.1), transparent 25rem),
    var(--canvas);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--platinum);
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.shell { width: var(--shell); margin-inline: auto; }

.site-header {
  width: var(--shell);
  height: 84px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-soft);
}

.brand, .footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand { font-weight: 650; letter-spacing: -0.02em; text-decoration: none; }
.brand img, .footer-brand img { border-radius: 50%; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a { color: var(--muted); font-size: 14px; text-decoration: none; transition: color 160ms ease; }
.nav a:hover, .nav a:focus-visible { color: var(--text); }
.nav .nav-download { padding: 9px 17px; color: var(--text); border: 1px solid var(--border); border-radius: 10px; }

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
  align-items: center;
  gap: clamp(42px, 7vw, 100px);
  padding-block: 72px 84px;
}

.hero-copy { position: relative; z-index: 2; }

.eyebrow {
  margin: 0 0 18px;
  color: #c4c8d0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(124, 168, 232, 0.1);
}

h1, h2, h3, p { text-wrap: pretty; }

h1 {
  margin: 0;
  font-size: clamp(52px, 6.3vw, 84px);
  font-weight: 590;
  line-height: 0.99;
  letter-spacing: -0.055em;
}

h1 span { color: #adb4c0; }

.lede {
  max-width: 610px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
}

.hero-actions { display: flex; gap: 12px; margin-top: 36px; }

.button {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 680;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover { transform: translateY(-1px); }
.button:focus-visible, a:focus-visible { outline: 3px solid rgba(124, 168, 232, 0.7); outline-offset: 3px; }
.button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { color: var(--ink); background: var(--platinum); border-color: var(--platinum); }
.button-primary:hover { background: #f0f2f5; }
.button-secondary { color: var(--text); background: transparent; border-color: var(--border); }
.button-secondary:hover { background: var(--surface); border-color: #606875; }

.download-note { margin: 14px 0 0; color: #888f99; font-size: 13px; }

.product-preview { position: relative; min-height: 590px; display: grid; place-items: center; }

.halo { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.halo-one { width: 440px; height: 440px; background: rgba(90, 118, 156, 0.1); border: 1px solid rgba(144, 162, 186, 0.15); }
.halo-two { width: 540px; height: 540px; border: 1px solid rgba(216, 220, 227, 0.06); }

.phone {
  position: relative;
  z-index: 1;
  width: 330px;
  min-height: 620px;
  padding: 18px 20px 22px;
  overflow: hidden;
  background: #15181d;
  border: 1px solid #515965;
  border-radius: 36px;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.45), inset 0 0 0 5px #0e1013;
  transform: rotate(2deg);
}

.phone::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,0.035), transparent 28%);
}

.phone-top { padding: 0 7px 12px; display: flex; justify-content: space-between; color: #9ca3ad; font: 600 10px ui-monospace, monospace; }
.signal { letter-spacing: 1px; }
.phone-date, .phone-label { margin: 0; color: #8e96a1; font-size: 8px; font-weight: 700; letter-spacing: 0.13em; }
.phone h2 { margin: 6px 0 17px; font-size: 34px; font-weight: 600; letter-spacing: -0.045em; }
.rhythm { display: grid; grid-template-columns: 1.25fr 0.8fr 1.25fr; gap: 3px; padding: 3px; background: #1d2127; border: 1px solid #2d333c; border-radius: 9px; }
.rhythm span { padding: 7px 4px; color: #858c96; border-radius: 6px; font-size: 8px; text-align: center; }
.rhythm .active { color: #161a20; background: #d8dce3; font-weight: 700; }
.plan-card { margin: 12px 0 17px; padding: 14px; background: linear-gradient(130deg, #2b313a, #22272e); border: 1px solid #454d58; border-radius: 13px; }
.plan-card p { margin: 0 0 7px; color: #9facbd; font-size: 7px; font-weight: 700; letter-spacing: 0.12em; }
.plan-card strong { display: block; font-size: 13px; line-height: 1.4; }
.plan-card span { display: inline-block; margin-top: 11px; padding-top: 9px; color: #aeb5bf; border-top: 1px solid #404751; font-size: 8px; }
.phone-label { margin-bottom: 6px; }
.schedule-row { min-height: 65px; margin-top: 6px; padding: 10px; display: grid; grid-template-columns: 43px 1fr auto; gap: 9px; align-items: center; background: #1d2127; border: 1px solid #303640; border-radius: 11px; }
.schedule-row time { color: #aeb7c3; font: 500 9px ui-monospace, monospace; }
.schedule-row div { display: flex; flex-direction: column; min-width: 0; }
.schedule-row strong { font-size: 11px; }
.schedule-row div span { margin-top: 3px; overflow: hidden; color: #89919c; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.schedule-row b { padding: 3px 6px; color: #bfc7d2; background: #282e36; border-radius: 5px; font-size: 7px; font-weight: 600; }
.muted-row { opacity: 0.76; }
.voice { margin-top: 15px; padding: 12px; color: #e3e6ea; border: 1px solid #4a535f; border-radius: 10px; font-size: 10px; font-weight: 650; text-align: center; }
.voice span { margin-right: 5px; color: #9fbce4; font-size: 7px; }

.section { padding-block: 96px; border-top: 1px solid var(--border-soft); }
.section-heading { max-width: 740px; margin-bottom: 44px; }
.section h2 { margin: 0; font-size: clamp(34px, 4.4vw, 56px); font-weight: 580; line-height: 1.08; letter-spacing: -0.04em; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.feature-card { min-height: 285px; padding: 27px 24px; background: rgba(28, 32, 38, 0.52); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feature-number { color: #7f8792; font: 500 12px ui-monospace, monospace; }
.feature-card h3 { margin: 55px 0 12px; font-size: 20px; font-weight: 620; letter-spacing: -0.02em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }

.release-panel { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.75fr); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.release-main { padding: clamp(30px, 5vw, 60px); }
.release-main > p:not(.eyebrow) { max-width: 650px; margin: 22px 0 34px; color: var(--muted); font-size: 17px; }
.release-facts { margin: 0 0 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; }
.release-facts div { min-width: 0; padding-top: 12px; border-top: 1px solid var(--border); }
.release-facts dt { color: #848b95; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.release-facts dd { margin: 5px 0 0; overflow-wrap: anywhere; font-size: 14px; }
.release-button { width: fit-content; }
.release-notes { max-width: 650px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.release-notes strong { font-size: 13px; letter-spacing: 0.04em; }
.release-notes p { margin: 7px 0 0; color: var(--muted); font-size: 14px; }
.integrity { padding: 44px 34px; background: #171a1f; border-left: 1px solid var(--border); border-radius: 0 var(--radius) var(--radius) 0; }
.shield { width: 42px; height: 42px; display: grid; place-items: center; color: var(--ink); background: var(--platinum); border-radius: 50%; font-weight: 800; }
.integrity h3 { margin: 22px 0 20px; font-size: 20px; }
.integrity p { margin: 0 0 7px; color: #858d98; font-size: 11px; letter-spacing: 0.1em; }
.integrity code { display: block; color: #bbc3ce; font: 12px/1.65 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
.integrity a { display: inline-block; margin-top: 22px; color: #d8dce3; font-size: 13px; text-underline-offset: 4px; }
.manifest-state { margin: 16px 0 0; color: #8e96a1; font-size: 11px; line-height: 1.5; }
.manifest-state-ok { color: #a9d6bc; }
.manifest-state-warning { color: #d7c18d; }
.notice { margin-top: 16px; padding: 18px 21px; color: var(--warning-text); background: var(--warning-bg); border: 1px solid var(--warning-border); border-radius: 12px; font-size: 14px; }
.notice strong { color: #f4e5b9; }

.install { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; }
.install ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.install li { padding: 22px 0; display: grid; grid-template-columns: 38px 1fr; gap: 18px; border-bottom: 1px solid var(--border); }
.install li > span { width: 30px; height: 30px; display: grid; place-items: center; color: #bec4cd; border: 1px solid #59616d; border-radius: 50%; font: 500 12px ui-monospace, monospace; }
.install strong { font-size: 16px; }
.install p { margin: 3px 0 0; color: var(--muted); font-size: 14px; }

.site-footer { padding-block: 34px 46px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: start; border-top: 1px solid var(--border-soft); }
.footer-brand div { display: flex; flex-direction: column; }
.footer-brand strong { font-size: 14px; }
.footer-brand span { color: #848b95; font-size: 12px; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 22px; }
.site-footer nav a { color: var(--muted); font-size: 12px; text-decoration: none; }
.site-footer nav a:hover { color: var(--text); }
.copyright { grid-column: 1 / -1; margin: 0; color: #707781; font-size: 11px; }

.document-main { width: min(820px, calc(100% - 48px)); margin: 0 auto; padding: 84px 0 110px; }
.document-main .eyebrow { margin-bottom: 14px; }
.document-main h1 { max-width: 740px; font-size: clamp(42px, 7vw, 70px); }
.document-intro { margin: 28px 0 54px; color: var(--muted); font-size: 19px; }
.status-banner { margin: 0 0 44px; padding: 18px 20px; color: var(--warning-text); background: var(--warning-bg); border: 1px solid var(--warning-border); border-radius: 12px; }
.document-section { padding: 32px 0; border-top: 1px solid var(--border); }
.document-section h2 { margin: 0 0 14px; font-size: 25px; letter-spacing: -0.025em; }
.document-section p, .document-section li { color: var(--muted); }
.document-section ul { padding-left: 21px; }
.document-section li + li { margin-top: 8px; }
.document-meta { color: #7f8791; font-size: 13px; }
.back-link { display: inline-flex; margin-top: 32px; color: var(--text); text-underline-offset: 4px; }

@media (max-width: 930px) {
  .hero { grid-template-columns: 1fr; padding-top: 64px; }
  .hero-copy { max-width: 740px; }
  .product-preview { min-height: 660px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .release-panel { grid-template-columns: 1fr; }
  .integrity { border-top: 1px solid var(--border); border-left: 0; border-radius: 0 0 var(--radius) var(--radius); }
  .install { grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 640px) {
  :root { --shell: min(100% - 30px, 1180px); }
  .site-header { height: 70px; }
  .nav a:not(.nav-download) { display: none; }
  .hero { min-height: 0; gap: 36px; padding-block: 56px 64px; }
  h1 { font-size: clamp(46px, 14vw, 64px); }
  .lede { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .product-preview { min-height: 535px; overflow: hidden; }
  .phone { width: 290px; min-height: 548px; padding: 16px 17px 18px; transform: rotate(1deg) scale(0.9); }
  .halo-one { width: 330px; height: 330px; }
  .halo-two { width: 450px; height: 450px; }
  .phone h2 { font-size: 30px; margin-bottom: 13px; }
  .plan-card { margin-bottom: 12px; }
  .schedule-row { min-height: 59px; }
  .section { padding-block: 72px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 220px; }
  .feature-card h3 { margin-top: 38px; }
  .release-main, .integrity { padding: 28px 22px; }
  .release-facts { grid-template-columns: 1fr; gap: 14px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; flex-direction: column; gap: 10px; }
  .document-main { width: min(100% - 30px, 820px); padding-top: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

@media print {
  .site-header, .hero-actions, .product-preview, .site-footer { display: none; }
  body { color: #111; background: #fff; }
  .document-main { width: 100%; }
  .document-section p, .document-section li, .document-intro, .document-meta { color: #333; }
}
