@font-face {
  font-family: "Cardo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/cardo-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Cardo";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/cardo-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Cardo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/cardo-bold.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/inter-semibold.woff2") format("woff2");
}

:root {
  --bg: #121218;
  --bg-top: #0e1526;
  --surface: #17171d;
  --ivory: #f2efe8;
  --muted: #a8a39a;
  --amber: #f2b22a;
  --amber-dim: #916b19;
  --navy: #152b53;
  --blue: #2a5db0;
  --blue-text: #9ebef2;
  --ink: #2e2e33;
  --red: #e0382e;
  --line: rgba(242, 239, 232, 0.12);
  --serif: "Cardo", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --sans: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  --pad: 20px;
  --max: 1120px;
  --header: 64px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 520px at 80% -10%, rgba(21, 43, 83, 0.85), transparent 60%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 280px);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

a { color: var(--blue-text); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--ivory); }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.skip {
  position: fixed;
  left: 12px;
  top: 12px;
  transform: translateY(-160%);
  background: var(--amber);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 30;
}
.skip:focus { transform: none; }
main, section[id], article[id] { scroll-margin-top: 80px; }

.wrap {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(18, 18, 24, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.bar {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ivory);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  margin-right: auto;
}
.brand img { width: 36px; height: 36px; display: block; }

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.nav-button {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}
.nav {
  display: flex;
  align-items: center;
  gap: 6px 18px;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--ivory); }

@media (max-width: 760px) {
  .nav-button { display: inline-flex; }
  .nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 8px;
  }
  .nav a {
    border-top: 1px solid var(--line);
    padding: 4px 0;
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav-toggle:focus-visible ~ .nav-button { outline: 2px solid var(--amber); outline-offset: 3px; }
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0 28px;
}
.kicker {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.05;
}
.gold {
  margin: 14px 0 0;
  color: var(--amber);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
}
.lead {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 38rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 26px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}
.button:hover { color: var(--ink); background: #ffc857; }
.button.ghost {
  background: transparent;
  color: var(--ivory);
  border: 1px solid var(--line);
}
.button.ghost:hover { color: var(--ivory); border-color: var(--muted); }
.note { margin: 14px 0 0; color: var(--muted); font-size: 0.95rem; }

.icon-stage {
  justify-self: center;
  width: min(280px, 72vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(242, 178, 42, 0.18), transparent 42%),
    radial-gradient(circle at 50% 50%, var(--navy), #0c1220 72%);
  border-radius: 28%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.icon-stage img {
  width: 100%;
  height: 100%;
  border-radius: 28%;
}

.counts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 8px 0 10px;
  padding: 0;
  list-style: none;
  color: var(--amber);
  font-weight: 600;
}
.counts span { color: var(--muted); font-weight: 400; }

section { padding: 56px 0; }
h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.12;
}
.sub {
  margin: 8px 0 0;
  color: var(--amber);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
}
.section-intro { max-width: 40rem; color: var(--muted); }

.grid-3, .grid-2 { display: grid; gap: 14px; margin-top: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 18px 18px;
}
.card h3 { margin: 8px 0 6px; font-size: 1.45rem; line-height: 1.2; }
.card p { margin: 0; color: var(--muted); }
.card .kicker { margin-bottom: 0; }

.heart { color: var(--red); font-style: normal; }

.phones {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.phone {
  margin: 0;
  width: min(100%, 270px);
  justify-self: center;
}
.phone .bezel {
  background: #0a0a0e;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 8px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 640 / 1387;
  border-radius: 22px;
  background: var(--bg);
  object-fit: cover;
}
.phone figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.story-list { display: grid; gap: 12px; margin-top: 22px; }
.story {
  display: block;
  padding: 16px 16px 14px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}
.story:hover { border-color: rgba(242, 178, 42, 0.45); color: inherit; }
.story-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.story .kicker { margin: 0; color: var(--amber); }
.story h3 { margin: 6px 0 0; font-size: 1.35rem; }
.story p { margin: 4px 0 0; color: var(--muted); }
code { color: var(--ivory); font-size: 0.92em; overflow-wrap: anywhere; }
.prose a, .prose li, .lead, .fine { overflow-wrap: anywhere; }
.pill {
  align-self: start;
  justify-self: end;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--amber);
  border-radius: 999px;
  padding: 4px 8px;
}
.pill.quiet {
  color: var(--ivory);
  background: transparent;
  border: 1px solid var(--line);
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.split h3 { margin: 0 0 10px; font-size: 1.6rem; }
.split ul { margin: 0; padding: 0; list-style: none; }
.split li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--ivory);
}
.split li span { color: var(--muted); white-space: nowrap; }

.sound-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 22px; }
.sound {
  background: linear-gradient(180deg, #1c2740, var(--surface));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 12px;
  min-height: 112px;
}
.sound strong { display: block; font-weight: 600; }
.sound em { display: block; margin-top: 4px; color: var(--muted); font-style: normal; font-size: 0.92rem; }
.sound.locked { box-shadow: inset 0 0 0 1px rgba(242, 178, 42, 0.28); }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.step { counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  color: var(--amber);
  font-family: var(--serif);
  font-size: 1.4rem;
}

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.plan {
  background: var(--ink);
  border-radius: 20px;
  padding: 22px 18px 18px;
  border: 1px solid var(--line);
  text-align: center;
}
.plan.best { border: 2px solid var(--amber); background: #1a160c; }
.badge {
  display: inline-block;
  background: var(--amber);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: 999px;
  padding: 4px 10px;
}
.plan .price {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1;
}
.plan .meta { color: var(--muted); margin: 8px 0 0; }
.fine { color: var(--muted); font-size: 0.95rem; max-width: 42rem; }

details.faq {
  border-top: 1px solid var(--line);
  padding: 0;
}
details.faq summary {
  cursor: pointer;
  min-height: 52px;
  display: flex;
  align-items: center;
  font-weight: 600;
  list-style: none;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  margin-left: auto;
  color: var(--amber);
  font-family: var(--serif);
  font-size: 1.4rem;
}
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 0 0 16px; color: var(--muted); max-width: 44rem; }

.prose { max-width: 42rem; }
.prose h2 { font-size: 1.7rem; margin: 2rem 0 0.4rem; }
.prose h1 { margin-bottom: 0.4rem; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--ivory); font-weight: 600; }
.prose ul { padding-left: 1.2rem; }
.toc { padding-left: 1.2rem; }
.toc a { color: var(--blue-text); }

.band {
  margin: 10px 0 40px;
  padding: 36px 22px;
  border-radius: 24px;
  background:
    radial-gradient(500px 180px at 20% 0%, rgba(242, 178, 42, 0.12), transparent 70%),
    var(--navy);
  text-align: center;
}
.band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.band p { color: var(--ivory); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.95rem;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; gap: 14px; }
.site-footer a { color: var(--muted); }

@media (max-width: 980px) {
  .hero, .grid-3, .phones, .steps, .sound-grid { grid-template-columns: 1fr 1fr; }
  .phones { grid-template-columns: repeat(2, minmax(0, 280px)); justify-content: center; }
  .sound-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  :root { --pad: 18px; }
  .hero, .grid-3, .grid-2, .split, .plans, .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; text-align: left; }
  .icon-stage { order: -1; }
  .actions .button { width: 100%; }
  .phones { grid-template-columns: 1fr; justify-items: center; }
  section { padding: 40px 0; }
  .story-top { align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
