:root {
  --ink: #24133f;
  --ink-soft: #543f68;
  --purple: #3a1d61;
  --purple-deep: #221038;
  --saffron: #c86f0a;
  --saffron-deep: #9b4f00;
  --gold: #efb750;
  --cream: #fffaf1;
  --cream-deep: #f6ead8;
  --white: #ffffff;
  --line: rgba(58, 29, 97, 0.16);
  --shadow: 0 28px 80px rgba(35, 16, 57, 0.18);
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--saffron-deep); }
a:hover { color: var(--purple); }
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}

img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--ink);
  padding: .75rem 1rem;
  border-radius: .5rem;
}
.skip-link:focus { transform: translateY(0); }

.shell { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }
.shell-narrow { width: min(760px, calc(100% - 2.5rem)); margin-inline: auto; }

.site-header {
  position: relative;
  z-index: 10;
  background: var(--purple-deep);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
}

.brand img { border-radius: 10px; box-shadow: 0 5px 16px rgba(0,0,0,.22); }
.site-header nav { display: flex; gap: 1.5rem; }
.site-header nav a {
  color: rgba(255,255,255,.82);
  font-size: .93rem;
  font-weight: 650;
  text-decoration: none;
}
.site-header nav a:hover,
.site-header nav a[aria-current="page"] { color: var(--gold); }

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 42%, rgba(239,183,80,.2), transparent 27rem),
    linear-gradient(145deg, var(--purple-deep), #472269 68%, #5b2f6e);
  color: var(--white);
}

.hero-grid {
  min-height: 700px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  padding-block: 5.5rem 6rem;
}

.eyebrow,
.kicker {
  margin: 0 0 1rem;
  color: var(--saffron-deep);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.hero .eyebrow { color: var(--gold); }

h1, h2, h3 { font-family: var(--serif); line-height: 1.08; }
h1 { margin: 0; font-size: clamp(3.2rem, 7vw, 6rem); letter-spacing: -.045em; }
h2 { margin: 0; font-size: clamp(2.25rem, 4vw, 3.7rem); letter-spacing: -.035em; }
h3 { margin: 0 0 .7rem; font-size: 1.6rem; }

.lede {
  max-width: 650px;
  margin: 1.6rem 0 0;
  color: rgba(255,255,255,.78);
  font-size: 1.17rem;
}

.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.15rem;
  border: 1px solid transparent;
  border-radius: .65rem;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;
}
.button.primary { background: var(--saffron); color: var(--white); box-shadow: 0 10px 25px rgba(0,0,0,.2); }
.button.primary:hover { background: #db7b0d; color: var(--white); }
.button.secondary { border-color: rgba(255,255,255,.35); color: var(--white); background: rgba(255,255,255,.07); }
.button.secondary:hover { background: rgba(255,255,255,.13); color: var(--white); }

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  margin: 2.3rem 0 0;
  padding: 0;
  color: rgba(255,255,255,.7);
  font-size: .86rem;
  font-weight: 650;
  list-style: none;
}
.trust-list li::before { content: "✓"; margin-right: .35rem; color: var(--gold); }

.phone-stage { position: relative; min-height: 540px; }
.sun-disc {
  position: absolute;
  width: 390px;
  aspect-ratio: 1;
  right: 2%;
  top: 8%;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffd67d, #dd8d25);
  box-shadow: 0 0 80px rgba(239,183,80,.26);
}
.phone {
  position: absolute;
  width: min(250px, 49%);
  margin: 0;
  overflow: hidden;
  border: 7px solid #1b1029;
  border-radius: 38px;
  background: #1b1029;
  box-shadow: var(--shadow);
}
.phone img { width: 100%; }
.phone-front { left: 5%; top: 1%; transform: rotate(-4deg); }
.phone-back { right: 1%; top: 17%; transform: rotate(5deg); }

.stats-band { background: var(--white); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid div { display: grid; padding: 1.5rem; text-align: center; border-right: 1px solid var(--line); }
.stats-grid div:last-child { border-right: 0; }
.stats-grid strong { color: var(--purple); font-family: var(--serif); font-size: 2rem; line-height: 1; }
.stats-grid span { margin-top: .35rem; color: var(--ink-soft); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section-heading { max-width: 760px; margin-bottom: 3rem; }
.section-heading > p:last-child { max-width: 620px; margin: 1.25rem 0 0; color: var(--ink-soft); font-size: 1.1rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.feature-card {
  min-height: 260px;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255,255,255,.66);
}
.feature-card p { margin: 0; color: var(--ink-soft); }
.feature-number { display: block; margin-bottom: 2.8rem; color: var(--saffron); font-weight: 850; letter-spacing: .1em; }

.privacy-callout { background: var(--purple); color: var(--white); }
.privacy-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 8vw, 7rem); align-items: end; }
.privacy-callout .kicker { color: var(--gold); }
.privacy-callout p:not(.kicker) { margin: 0 0 1.4rem; color: rgba(255,255,255,.77); font-size: 1.08rem; }
.text-link { color: var(--gold); font-weight: 750; text-underline-offset: .25rem; }
.text-link:hover { color: var(--white); }

.release-note { background: var(--cream-deep); }
.release-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 8vw, 7rem); align-items: center; }
.release-inner > p { margin: 0; color: var(--ink-soft); font-size: 1.08rem; }

.site-footer { padding-block: 2.5rem; background: #180c27; color: rgba(255,255,255,.65); }
.footer-inner { display: grid; grid-template-columns: 1.4fr auto auto; gap: 2rem; align-items: center; font-size: .88rem; }
.footer-brand { margin-bottom: .65rem; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; gap: 1rem; }
.footer-links a { color: rgba(255,255,255,.8); }
.copyright { white-space: nowrap; }

.document-main { padding-block: clamp(4rem, 8vw, 7rem); }
.document-header { padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.document-header h1 { font-size: clamp(3rem, 7vw, 5rem); }
.document-intro { max-width: 680px; margin: 1.25rem 0 0; color: var(--ink-soft); font-size: 1.15rem; }
.updated { margin: 1.4rem 0 0; color: #725f7e; font-size: .86rem; font-weight: 650; }
.document section { margin-top: 2.8rem; }
.document section h2 { margin-bottom: 1rem; font-size: 1.8rem; letter-spacing: -.02em; }
.document p { color: #483656; }
.document li { margin-bottom: .45rem; color: #483656; }

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 2rem;
  align-items: center;
  padding: 2rem;
  border-radius: 1rem;
  background: var(--purple);
  color: var(--white);
}
.contact-card h2 { color: var(--white); }
.contact-card p { margin: 0; color: rgba(255,255,255,.76); }
.contact-card .kicker { color: var(--gold); }
.contact-publisher { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.16); }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 1.15rem 2.5rem 1.15rem 0; cursor: pointer; color: var(--purple); font-weight: 750; }
.faq-list details p { margin: -.3rem 0 1.2rem; }
.document-footer .footer-inner { grid-template-columns: 1fr auto auto; }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 4rem; }
  .phone-stage { width: min(580px, 100%); min-height: 560px; margin-inline: auto; }
  .privacy-grid,
  .release-inner { grid-template-columns: 1fr; }
  .footer-inner,
  .document-footer .footer-inner { grid-template-columns: 1fr; gap: 1.2rem; }
}

@media (max-width: 600px) {
  .shell, .shell-narrow { width: min(100% - 1.5rem, 1120px); }
  .header-inner { align-items: flex-start; flex-direction: column; gap: .75rem; padding-block: .85rem; }
  .site-header nav { width: 100%; justify-content: space-between; gap: .5rem; }
  .site-header nav a { font-size: .82rem; }
  h1 { font-size: clamp(2.8rem, 14vw, 4.2rem); }
  .hero-grid { min-height: auto; padding-block: 3.7rem 4.5rem; }
  .phone-stage { min-height: 450px; }
  .sun-disc { width: 280px; }
  .phone { width: 48%; border-width: 5px; border-radius: 28px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid div:nth-child(2) { border-right: 0; }
  .stats-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-number { margin-bottom: 2rem; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-card .button { width: 100%; overflow-wrap: anywhere; }
  .contact-publisher { grid-column: auto; }
}

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