:root {
  color-scheme: dark;
  --ink: #f6f1e8;
  --muted: #aeb6c2;
  --line: rgba(208, 174, 111, 0.18);
  --panel: rgba(11, 18, 28, 0.8);
  --gold: #efbd6b;
  --gold-soft: #ffd99b;
  --night: #05080d;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--night);
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 300px;
  background:
    radial-gradient(circle at 76% 9%, rgba(38, 86, 119, .27), transparent 31rem),
    radial-gradient(circle at 8% 28%, rgba(181, 108, 44, .12), transparent 29rem),
    linear-gradient(180deg, #05080d, #070c13 58%, #05080d);
}
a { color: inherit; }
.nav, main, footer { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.nav { min-height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.nav nav { display: flex; gap: 26px; }
.nav nav a { color: var(--muted); font-size: .9rem; text-decoration: none; }
.nav nav a:hover, .nav nav a:focus-visible { color: var(--gold-soft); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { border-radius: 14px; box-shadow: 0 0 32px rgba(239, 189, 107, .12); }
.brand span { display: grid; line-height: 1.08; }
.brand strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.13rem; }
.brand small { margin-top: 5px; color: var(--gold); font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

.hero { min-height: 690px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, .8fr); align-items: center; gap: clamp(38px, 7vw, 96px); padding: 80px 0 90px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 18px; color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 850; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; }
h1 { max-width: 710px; margin: 0; font-size: clamp(3.2rem, 6.4vw, 6.4rem); font-weight: 400; line-height: .94; letter-spacing: -.052em; }
.lead { max-width: 640px; margin: 27px 0 0; color: var(--muted); font-size: clamp(1.03rem, 1.8vw, 1.24rem); line-height: 1.7; }
.actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 34px; }
.download { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 0 25px; border: 1px solid var(--gold); border-radius: 999px; background: linear-gradient(135deg, #ffd993, #e6aa50); color: #1b130a; text-decoration: none; font-weight: 900; box-shadow: 0 14px 42px rgba(210, 143, 51, .17); }
.download-secondary { background: rgba(10, 18, 28, .82); color: var(--gold-soft); box-shadow: none; }
.download-secondary:hover, .download-secondary:focus-visible { background: rgba(239, 189, 107, .12); }
.download.disabled { cursor: not-allowed; filter: grayscale(.45); opacity: .64; box-shadow: none; }
#releaseStatus, .microcopy { color: var(--muted); }
.microcopy { max-width: 540px; font-size: .85rem; line-height: 1.55; }
.trust-list { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 24px 0 0; padding: 0; color: #c6ccd4; font-size: .82rem; list-style: none; }
.trust-list li::before { content: "✓"; margin-right: 7px; color: var(--gold); }

.device-showcase { position: relative; min-height: 600px; }
.device-showcase::before { content: ""; position: absolute; inset: 10% 0 0; border-radius: 50%; background: radial-gradient(circle, rgba(239, 189, 107, .13), transparent 63%); filter: blur(5px); }
.phone { position: absolute; overflow: hidden; margin: 0; width: 250px; aspect-ratio: 390 / 844; border: 1px solid rgba(248, 209, 146, .35); border-radius: 31px; background: #05080d; box-shadow: 0 32px 85px rgba(0, 0, 0, .58); }
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; }
.phone-primary { z-index: 2; top: 0; left: 30px; transform: rotate(-2deg); }
.phone-secondary { right: 0; bottom: 0; width: 218px; transform: rotate(4deg); opacity: .92; }

.release-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.release-strip div { display: grid; gap: 8px; padding: 27px 24px; }
.release-strip div + div { border-left: 1px solid var(--line); }
.release-strip span { color: var(--muted); font-size: .78rem; }
.release-strip strong { color: var(--gold-soft); font-size: 1rem; }

.experience { padding: 105px 0 55px; }
.section-heading { max-width: 760px; }
.section-heading.compact { max-width: 670px; }
h2 { margin: 0; font-size: clamp(2.3rem, 4.8vw, 4.4rem); font-weight: 400; line-height: 1.02; letter-spacing: -.04em; }
.section-heading > p:last-child, .security p, .benefits p, .install p, .iphone-install p, .updates > p, .notice > p, .checksum p { color: var(--muted); line-height: 1.68; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 48px; }
.benefits article { min-height: 235px; padding: 30px; border: 1px solid var(--line); border-radius: 23px; background: linear-gradient(145deg, rgba(22, 38, 54, .52), rgba(8, 13, 20, .75)); }
.benefits span { color: var(--gold); font-size: .76rem; font-weight: 850; }
.benefits h3 { margin: 30px 0 11px; font-size: 1.75rem; font-weight: 400; }

.security { display: grid; grid-template-columns: 1fr 1fr; gap: 76px; padding: 80px 0; }
.verification-card { align-self: end; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); }
.release-metadata { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0 0 24px; }
.release-metadata div { padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
.release-metadata dt { color: var(--muted); font-size: .72rem; }
.release-metadata dd { margin: 6px 0 0; color: var(--gold-soft); font-weight: 800; }
.checksum + .checksum { margin-top: 22px; }
.checksum span { display: block; margin-bottom: 12px; color: var(--muted); }
.checksum code { overflow-wrap: anywhere; color: var(--gold-soft); }
.verification-card > p { margin: 22px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.6; }

.install { padding: 70px 0 100px; }
.install ol { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 38px 0 0; padding: 0; list-style: none; }
.install li { display: flex; gap: 20px; min-height: 165px; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: rgba(10, 16, 24, .78); }
.install li > span { color: var(--gold); font: 400 2rem Georgia, serif; }
.install strong { font-size: 1.04rem; }
.install p { margin-bottom: 0; }

.iphone-install { padding: 0 0 100px; }
.iphone-install ol { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 38px 0 0; padding: 0; list-style: none; }
.iphone-install li { display: flex; gap: 20px; min-height: 165px; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, rgba(22, 38, 54, .52), rgba(8, 13, 20, .75)); }
.iphone-install li > span { color: var(--gold); font: 400 2rem Georgia, serif; }
.iphone-install strong { font-size: 1.04rem; }
.iphone-install li p { margin-bottom: 0; }
.iphone-note { margin: 22px 0 0; padding: 20px 22px; border-left: 2px solid var(--gold); background: rgba(10, 16, 24, .65); }

.updates, .notice { display: grid; grid-template-columns: .9fr 1.1fr; gap: 65px; margin-bottom: 32px; padding: 40px; border: 1px solid var(--line); border-radius: 27px; }
.updates { background: linear-gradient(115deg, rgba(18, 49, 72, .37), rgba(8, 14, 22, .7)); }
.updates h2, .notice h2 { font-size: clamp(2rem, 3.7vw, 3.15rem); }
.updates code { color: var(--gold-soft); overflow-wrap: anywhere; }
.notice { margin-bottom: 86px; background: linear-gradient(115deg, rgba(93, 62, 28, .22), rgba(8, 14, 22, .73)); }

footer { display: flex; justify-content: space-between; gap: 24px; padding: 38px 0 48px; border-top: 1px solid var(--line); color: var(--muted); }
footer p { margin: 0; line-height: 1.6; }
footer a { color: var(--gold-soft); text-underline-offset: 3px; }

.privacy-main { max-width: 850px; padding: 74px 0 110px; }
.privacy-main h1 { max-width: 800px; font-size: clamp(2.8rem, 7.5vw, 5.5rem); }
.privacy-summary { margin: 26px 0 52px; padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); color: var(--muted); line-height: 1.7; }
.privacy-section { padding: 34px 0; border-top: 1px solid var(--line); }
.privacy-section h2 { font-size: clamp(1.8rem, 4vw, 2.65rem); }
.privacy-section p, .privacy-section li { color: var(--muted); line-height: 1.75; }
.privacy-section a { color: var(--gold-soft); }
.privacy-section code { color: var(--gold-soft); overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .device-showcase { width: min(100%, 470px); min-height: 580px; margin-inline: auto; }
  .release-strip { grid-template-columns: repeat(2, 1fr); }
  .release-strip div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .release-strip div:nth-child(4) { border-top: 1px solid var(--line); }
}

@media (max-width: 680px) {
  .nav, main, footer { width: min(100% - 28px, 1160px); }
  .nav { min-height: 76px; }
  .nav nav { display: none; }
  .brand img { width: 42px; height: 42px; }
  .hero { min-height: auto; gap: 48px; padding: 58px 0 70px; }
  h1 { font-size: clamp(3.05rem, 15vw, 4.8rem); }
  .device-showcase { min-height: 510px; }
  .phone { width: 218px; left: 2px; }
  .phone-secondary { width: 182px; left: auto; right: 0; }
  .release-strip { grid-template-columns: 1fr; }
  .release-strip div + div, .release-strip div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .benefits, .security, .install ol, .iphone-install ol, .updates, .notice { grid-template-columns: 1fr; }
  .experience { padding-top: 80px; }
  .benefits article { min-height: 0; }
  .security { gap: 28px; }
  .updates, .notice { gap: 22px; padding: 27px; }
  .release-metadata { grid-template-columns: 1fr; }
  .privacy-main { padding-top: 52px; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
