/* TaleLark — product site.
   Palette from apps/talelark/lib/config/theme.dart: ink-teal canvas, cream ink,
   one amber accent. Typography and colour only: no image assets by design. */

:root {
  color-scheme: dark;
  --bg: #08171D;
  --bg-soft: #0A1B22;
  --surface: #0C2029;
  --surface-2: #102731;
  --ink: #FFF5E4;
  --ink-soft: #F4E4C8;
  --muted: #A8BEC6;
  --dim: #8FA8B1;
  --amber: #FFBE72;
  --amber-bright: #FFD3A1;
  --amber-ink: #2A1804;
  --line: rgba(255, 245, 228, .14);
  --line-soft: rgba(255, 245, 228, .075);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shell: min(1160px, 100% - 48px);
  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(760px 520px at 88% -8%, rgba(255, 190, 114, .075), transparent 66%),
    radial-gradient(700px 540px at -6% 28%, rgba(17, 43, 53, .62), transparent 72%),
    linear-gradient(180deg, #08171D 0%, #071419 58%, #08171D 100%);
}

::selection {
  background: var(--amber);
  color: var(--amber-ink);
}

a {
  color: var(--amber);
  text-decoration: none;
}

a:hover {
  color: var(--amber-bright);
}

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

img, svg { max-width: 100%; }

h1, h2, h3, h4, p, figure, blockquote {
  margin: 0;
  overflow-wrap: break-word;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.08;
}

ul, ol { margin: 0; padding: 0; }

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

.skip {
  position: absolute;
  left: 14px;
  top: -72px;
  z-index: 200;
  padding: 11px 17px;
  border-radius: 0 0 12px 12px;
  background: var(--amber);
  color: var(--amber-ink);
  font-size: 14px;
  font-weight: 700;
  transition: top .18s var(--ease);
}

.skip:focus { top: 0; color: var(--amber-ink); }

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 23, 29, .84);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-soft);
}

.head-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.brand:hover { color: var(--ink); }

.brand-mark {
  display: block;
  width: 4px;
  height: 21px;
  border-radius: 2px;
  background: var(--amber);
  flex: none;
}

.brand:hover .brand-mark { background: var(--amber-bright); }

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  font-size: 14px;
}

.nav a {
  position: relative;
  color: var(--muted);
  padding: 6px 0;
  transition: color .18s;
}

.nav a:hover { color: var(--ink); }

.nav a[aria-current="page"] { color: var(--ink); }

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--amber);
}

.head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 190, 114, .26);
  border-radius: 999px;
  background: rgba(255, 190, 114, .06);
  color: var(--amber-bright);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.dot {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
  flex: none;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 21px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform .18s var(--ease), background .18s, border-color .18s, color .18s;
}

.btn-primary {
  background: var(--amber);
  color: var(--amber-ink);
  box-shadow: 0 18px 40px -22px rgba(255, 190, 114, .6);
}

.btn-primary:hover {
  background: var(--amber-bright);
  color: var(--amber-ink);
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(255, 245, 228, .035);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: rgba(255, 190, 114, .4);
  background: rgba(255, 190, 114, .07);
  color: var(--ink);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 245, 228, .03);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 650;
  transition: border-color .18s, background .18s, color .18s;
}

.link-arrow .arrow {
  color: var(--amber);
  font-size: 17px;
  line-height: 1;
  transition: transform .18s var(--ease);
}

.link-arrow:hover {
  border-color: rgba(255, 190, 114, .42);
  background: rgba(255, 190, 114, .06);
  color: var(--ink);
}

.link-arrow:hover .arrow { transform: translateX(3px); }

.launch-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 19px;
  border-radius: 12px;
  background: var(--amber);
  color: var(--amber-ink);
  font-size: 14.5px;
  font-weight: 750;
  box-shadow: 0 18px 40px -22px rgba(255, 190, 114, .6);
}

.launch-pill .dot { background: var(--amber-ink); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 86px 0 54px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(560px 420px at 76% 34%, rgba(255, 190, 114, .08), transparent 70%);
}

.hero-copy { min-width: 0; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--amber-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-center { justify-content: center; }

.eyebrow-line {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--amber);
  flex: none;
}

.hero h1 {
  max-width: 15ch;
  margin-top: 22px;
  font-size: clamp(44px, 5.9vw, 74px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.01;
  text-wrap: balance;
}

.hero h1 .accent {
  display: block;
  color: var(--amber);
}

.hero-lede {
  max-width: 54ch;
  margin-top: 26px;
  color: var(--muted);
  font-size: 17.5px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.hero-note {
  margin-top: 18px;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.6;
}

/* ---------- shelf plate ---------- */

.shelf-plate {
  position: relative;
  overflow: hidden;
  padding: 26px 26px 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(420px 260px at 92% -6%, rgba(255, 190, 114, .1), transparent 68%),
    linear-gradient(168deg, var(--surface-2) 0%, var(--surface) 54%, #091A21 100%);
  box-shadow:
    0 46px 94px -52px rgba(0, 0, 0, .95),
    inset 0 1px 0 rgba(255, 245, 228, .08);
}

.shelf-plate::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255, 245, 228, .055);
  border-radius: 21px;
  pointer-events: none;
}

.plate-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 18px;
}

.plate-label {
  color: var(--amber);
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.plate-vol {
  color: var(--dim);
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.plate-row {
  position: relative;
  z-index: 1;
  padding: 23px 0;
  border-top: 1px solid var(--line-soft);
}

.plate-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.plate-age {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.plate-tag {
  padding: 4px 8px;
  border: 1px solid rgba(255, 190, 114, .3);
  border-radius: 999px;
  color: var(--amber-bright);
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.plate-tag.free {
  border-color: var(--amber);
  background: var(--amber);
  color: var(--amber-ink);
}

.plate-row h2 {
  font-size: 29px;
  line-height: 1.1;
}

.plate-row p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.plate-meta {
  margin-top: 10px !important;
  color: var(--dim) !important;
  font-size: 12px !important;
  letter-spacing: .02em;
}

.plate-foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.plate-foot span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.plate-foot span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--amber);
  flex: none;
}


/* ---------- principles ---------- */

.principles {
  padding: 28px 0 4px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.principle {
  padding: 27px 0 8px;
  border-top: 1px solid var(--line);
}

.principle-num {
  display: block;
  margin-bottom: 13px;
  color: var(--amber);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
}

.principle h2 {
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -.025em;
}

.principle p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.66;
}

/* ---------- sections ---------- */

.section {
  padding: 94px 0;
  position: relative;
}

.section-alt {
  border-block: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(255, 245, 228, .022), transparent 74%);
}

.section-head {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-num {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 15px;
  color: var(--amber);
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.section-num::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--amber);
}

.section h2 {
  font-size: clamp(34px, 4.5vw, 50px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.06;
  text-wrap: balance;
}

.section-lede {
  max-width: 63ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

/* ---------- how it reads ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step {
  padding: 27px 25px 25px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(255, 245, 228, .022);
}

.step-num {
  display: block;
  margin-bottom: 20px;
  color: var(--amber);
  font-family: var(--serif);
  font-size: 43px;
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: .9;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.15;
}

.step p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.68;
}

.quote-band {
  max-width: 820px;
  margin: 54px 0 0;
  padding: 6px 0 6px 26px;
  border-left: 2px solid var(--amber);
}

.quote-band blockquote {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 33px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.36;
}

.quote-band figcaption {
  margin-top: 14px;
  color: var(--dim);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.quote-band cite { font-style: normal; color: var(--muted); }

/* ---------- shelves ---------- */

.shelves {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.shelf-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(166deg, rgba(255, 245, 228, .055), rgba(255, 245, 228, .016));
}

.shelf-card.paid {
  border-color: rgba(255, 190, 114, .3);
  background:
    radial-gradient(480px 280px at 88% 0%, rgba(255, 190, 114, .11), transparent 70%),
    linear-gradient(166deg, rgba(255, 190, 114, .06), rgba(255, 245, 228, .015));
}

.shelf-kicker {
  color: var(--amber-bright);
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.shelf-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 16px;
}

.shelf-title {
  margin-top: 13px;
  font-size: clamp(30px, 3.6vw, 38px);
  line-height: 1.04;
}

.shelf-badge {
  flex: none;
  margin-top: 2px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 190, 114, .3);
  border-radius: 999px;
  color: var(--amber-bright);
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: .12em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
}

.shelf-badge.solid {
  border-color: var(--amber);
  background: var(--amber);
  color: var(--amber-ink);
}

.shelf-copy {
  margin-top: 15px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
}

.shelf-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding-top: 21px;
  border-top: 1px solid var(--line-soft);
  list-style: none;
}

.shelf-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.shelf-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: 8px;
  border-radius: 1px;
  background: var(--amber);
  flex: none;
}

.shelf-note {
  margin-top: auto;
  padding-top: 20px;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.62;
}

.shelf-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-top: 18px;
}

.shelf-price strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1;
}

.shelf-price span {
  color: var(--dim);
  font-size: 12.5px;
}

/* ---------- story titles ---------- */

.titles-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-top: 54px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.titles-head h3 {
  font-size: 25px;
}

.titles-head p {
  color: var(--dim);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.titles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 44px;
  list-style: none;
}

.title-item {
  display: flex;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
}

.title-index {
  color: var(--amber);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.7;
  flex: none;
}

.title-name {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.3;
}

.title-meta {
  display: block;
  margin-top: 3px;
  color: var(--dim);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.titles-foot {
  margin-top: 18px;
  color: var(--dim);
  font-size: 13.5px;
}

.titles-foot a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- zeros ---------- */

.zeros {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.zero {
  padding: 26px 22px 24px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(255, 245, 228, .024);
}

.zero-num {
  display: block;
  color: var(--amber);
  font-family: var(--serif);
  font-size: 62px;
  font-weight: 600;
  letter-spacing: -.06em;
  line-height: .9;
}

.zero h3 {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -.015em;
}

.zero p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.62;
}

/* ---------- privacy band ---------- */

.privacy-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 58px;
  align-items: start;
}

.privacy-statement {
  position: sticky;
  top: 118px;
}

.privacy-statement h2 {
  font-size: clamp(36px, 4.6vw, 52px);
  line-height: 1.04;
}

.privacy-statement p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.privacy-statement .btn { margin-top: 26px; }

.privacy-points {
  display: grid;
}

.privacy-point {
  padding: 22px 0;
  border-top: 1px solid var(--line-soft);
}

.privacy-point:first-child { padding-top: 4px; border-top: 0; }

.privacy-point h3 {
  font-size: 19px;
  line-height: 1.2;
}

.privacy-point p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.68;
}

/* ---------- pricing ---------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(166deg, rgba(255, 245, 228, .05), rgba(255, 245, 228, .015));
}

.price-card.paid {
  border-color: rgba(255, 190, 114, .34);
  background:
    radial-gradient(520px 300px at 86% 0%, rgba(255, 190, 114, .12), transparent 70%),
    linear-gradient(166deg, rgba(255, 190, 114, .055), rgba(255, 245, 228, .015));
}

.price-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 16px;
}

.price-label {
  color: var(--amber-bright);
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.price-card h3 {
  margin-top: 12px;
  font-size: 30px;
  line-height: 1.08;
}

.price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 9px;
  margin-top: 22px;
}

.price-amount {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 54px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1;
}

.price-unit {
  color: var(--dim);
  font-size: 13px;
}

.price-alt {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.price-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding-top: 21px;
  border-top: 1px solid var(--line-soft);
  list-style: none;
}

.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.price-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: 8px;
  border-radius: 1px;
  background: var(--amber);
  flex: none;
}

.price-note {
  margin-top: auto;
  padding-top: 22px;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.62;
}

.price-foot {
  margin-top: 18px;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.65;
}

/* ---------- faq ---------- */

.faq {
  max-width: 840px;
  margin-top: 8px;
}

.faq details {
  border-top: 1px solid var(--line-soft);
}

.faq details:last-child { border-bottom: 1px solid var(--line-soft); }

.faq summary {
  position: relative;
  padding: 19px 44px 19px 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 16.5px;
  font-weight: 650;
  line-height: 1.45;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--amber);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.faq details[open] summary::after { content: "–"; }

.faq details[open] summary { color: var(--amber-bright); }

.faq details p {
  max-width: 72ch;
  padding: 0 0 21px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.faq details p a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- closing ---------- */

.closing {
  padding: 24px 0 96px;
}

.closing-inner {
  position: relative;
  overflow: hidden;
  padding: 54px 46px;
  border: 1px solid rgba(255, 190, 114, .24);
  border-radius: 28px;
  background:
    radial-gradient(560px 320px at 82% -10%, rgba(255, 190, 114, .14), transparent 68%),
    linear-gradient(160deg, var(--surface-2), var(--surface) 64%, #091A21);
  text-align: center;
}

.closing-inner::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 245, 228, .05);
  border-radius: 21px;
  pointer-events: none;
}

.closing h2 {
  max-width: 18ch;
  margin: 18px auto 0;
  font-size: clamp(34px, 4.6vw, 50px);
  line-height: 1.05;
}

.closing p {
  max-width: 56ch;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.closing .btn { margin-top: 28px; }

.closing-note {
  margin-top: 14px !important;
  color: var(--dim) !important;
  font-size: 12.5px !important;
}

/* ---------- footer ---------- */

.site-foot {
  padding: 54px 0 34px;
  border-top: 1px solid var(--line-soft);
  background: rgba(4, 11, 14, .42);
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1.25fr);
  gap: 38px;
  align-items: start;
}

.foot-brand p {
  max-width: 40ch;
  margin-top: 15px;
  color: var(--dim);
  font-size: 13.5px;
  line-height: 1.65;
}

.foot-nav {
  display: grid;
  gap: 9px;
  font-size: 14px;
}

.foot-nav a { color: var(--muted); }
.foot-nav a:hover { color: var(--amber); }

.foot-legal {
  color: var(--dim);
  font-size: 12.5px;
  line-height: 1.65;
}

.foot-legal .mail {
  display: inline-block;
  margin-bottom: 11px;
  color: var(--amber);
  font-weight: 650;
  overflow-wrap: anywhere;
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  color: var(--dim);
  font-size: 12px;
  line-height: 1.6;
}

.foot-bottom p { max-width: 72ch; }

.foot-bottom a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- legal pages ---------- */

.legal-hero {
  padding: 64px 0 0;
}

.legal-wrap {
  max-width: 710px;
}

.legal-hero h1 {
  font-size: clamp(40px, 5.4vw, 58px);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.legal-hero .updated {
  margin-top: 15px;
  color: var(--dim);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.legal-hero .lede {
  max-width: 68ch;
  margin-top: 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.legal-body {
  padding: 44px 0 24px;
}

.legal-body section {
  padding: 27px 0;
  border-top: 1px solid var(--line-soft);
}

.legal-body section:first-child { border-top: 0; }

.legal-body h2 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.18;
  letter-spacing: -.02em;
}

.legal-body h3 {
  margin: 19px 0 6px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}

.legal-body p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.legal-body p + p { margin-top: 11px; }

.legal-body ul + p { margin-top: 12px; }

.legal-body a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-body a.btn,
.contact-card a.btn {
  text-decoration: none;
}

.legal-body a.btn-primary,
.contact-card a.btn-primary {
  color: var(--amber-ink);
}

.legal-body a.btn-ghost,
.contact-card a.btn-ghost {
  color: var(--ink);
}

.legal-body strong { color: var(--ink-soft); font-weight: 650; }

.legal-body ul {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  padding-left: 22px;
  color: var(--muted);
}

.legal-body li {
  padding-left: 2px;
  font-size: 15.5px;
  line-height: 1.68;
}

.legal-body code {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 190, 114, .09);
  color: var(--amber-bright);
  font: .9em ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow-wrap: anywhere;
}

.contact-card {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 245, 228, .03);
}

.contact-card p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
}

.contact-card .btn { margin-top: 15px; }

.note {
  margin-top: 16px;
  padding: 17px 19px;
  border-left: 3px solid var(--amber);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 190, 114, .055);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.note strong { color: var(--ink-soft); }

.legal-faq {
  margin-top: 8px;
  border-top: 1px solid var(--line-soft);
}

.legal-faq details {
  border-bottom: 1px solid var(--line-soft);
}

.legal-faq summary {
  position: relative;
  padding: 17px 40px 17px 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.45;
  list-style: none;
}

.legal-faq summary::-webkit-details-marker { display: none; }

.legal-faq summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--amber);
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1;
}

.legal-faq details[open] summary::after { content: "–"; }
.legal-faq details[open] summary { color: var(--amber-bright); }

.legal-faq p {
  padding-bottom: 19px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

/* ---------- 404 ---------- */

.nf-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 0;
}

.nf {
  width: min(620px, 100%);
  padding: 46px 40px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(420px 280px at 86% -6%, rgba(255, 190, 114, .1), transparent 70%),
    linear-gradient(166deg, var(--surface-2), var(--surface) 70%, #091A21);
}

.nf .section-num { margin-bottom: 18px; }

.nf h1 {
  font-size: clamp(36px, 6vw, 52px);
  line-height: 1.04;
}

.nf p {
  max-width: 48ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.nf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 28px;
}

.nf-foot {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--dim);
  font-size: 12.5px;
}

.nf-foot a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- responsive ---------- */

@media (max-width: 1040px) {
  .hero-grid { gap: 38px; }
  .privacy-grid { gap: 38px; }
}

@media (max-width: 900px) {
  .hero { padding-top: 62px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero h1 { max-width: 15ch; }
  .shelf-plate { width: min(560px, 100%); }
  .principle-grid { gap: 22px; }
  .nav { gap: 20px; }
  .titles { column-gap: 30px; }
  .price-grid { gap: 14px; }
}

@media (max-width: 760px) {
  .head-in { min-height: 68px; }
  .head-actions { display: none; }
  .nav { gap: 16px; font-size: 13px; }
  .principle-grid { grid-template-columns: 1fr; gap: 0; }
  .principle { padding: 22px 0 6px; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 34px; }
  .steps { grid-template-columns: 1fr; }
  .step { padding: 23px 22px; }
  .shelves { grid-template-columns: 1fr; }
  .zeros { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .privacy-grid { grid-template-columns: 1fr; gap: 30px; }
  .privacy-statement { position: static; }
  .price-grid { grid-template-columns: 1fr; }
  .titles-head { flex-direction: column; gap: 6px; }
  .titles { grid-template-columns: 1fr; }
  .closing-inner { padding: 42px 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-brand, .foot-legal { grid-column: 1 / -1; }
  .quote-band { margin-top: 38px; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 36px); }
  .brand { font-size: 19px; }
  .brand-mark { height: 19px; }
  .nav a[href="index.html"] { display: none; }
  .nav { gap: 15px; font-size: 12.5px; }
  .hero { padding: 48px 0 38px; }
  .hero h1 { font-size: clamp(38px, 10.5vw, 50px); }
  .hero-lede { font-size: 16.5px; }
  .hero-actions { gap: 10px; }
  .launch-pill, .link-arrow { width: 100%; justify-content: center; }
  .hero-note { font-size: 12.5px; }
  .shelf-plate { padding: 22px 20px 19px; border-radius: 22px; }
  .shelf-plate::after { inset: 7px; border-radius: 17px; }
  .plate-row h2 { font-size: 26px; }
    .section { padding: 58px 0; }
  .section h2 { font-size: clamp(31px, 8.6vw, 40px); }
  .section-lede { font-size: 16px; }
  .step-num { font-size: 38px; }
  .shelf-card, .price-card { padding: 25px 22px; }
  .zeros { grid-template-columns: 1fr; }
  .zero { padding: 22px 20px; }
  .privacy-statement h2 { font-size: 36px; }
  .quote-band { padding-left: 18px; }
  .closing { padding-bottom: 64px; }
  .closing-inner { padding: 36px 22px; }
  .legal-hero { padding-top: 48px; }
  .legal-body { padding-top: 32px; }
  .legal-body h2 { font-size: 22px; }
  .contact-card { padding: 18px; }
  .foot-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 390px) {
  :root { --shell: calc(100% - 30px); }
  .nav { gap: 12px; font-size: 12px; }
  .hero h1 { font-size: 36px; }
  .shelf-plate { padding: 19px 17px 17px; }
  .plate-row { padding: 20px 0; }
  .plate-tag { font-size: 9px; }
  .price-card, .shelf-card { padding: 22px 18px; }
  .legal-hero h1 { font-size: 35px; }
}

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