/* ==========================================================================
   bonesto.pro — base stylesheet
   Palette: deep ink navy + Argentine celeste + warm ivory paper + muted sun
   Type:    Fraunces (display) / Manrope (text) / system mono (data labels)
   ========================================================================== */

:root {
  --ink:        #0b111c;
  --ink-soft:   #0f1725;
  --panel:      #141e2e;
  --panel-2:    #1a2536;
  --line:       rgba(255,255,255,.10);
  --line-soft:  rgba(255,255,255,.06);

  --paper:      #f7f4ee;
  --paper-2:    #ece5d8;
  --paper-line: rgba(20,32,46,.14);

  --celeste:    #7cb8e8;
  --celeste-2:  #4a8fc4;
  --celeste-dk: #22578a;
  --sun:        #e3b44f;
  --sun-dk:     #a97b1d;

  --text:       #e9eef6;
  --muted:      #97a6bd;
  --muted-2:    #75859c;
  --ink-text:   #142334;
  --ink-muted:  #4c5c70;

  --ok:         #63c39a;
  --warn-bg:    rgba(227,180,79,.10);

  --radius:     18px;
  --radius-sm:  12px;
  --radius-lg:  26px;

  --shadow:     0 18px 44px rgba(3,7,14,.42);
  --shadow-sm:  0 8px 20px rgba(3,7,14,.28);

  --shell:      1140px;
  --gutter:     24px;

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans:  "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono:  ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

/* --- reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
[id] { scroll-margin-top: 92px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  color: var(--text);
  background-color: var(--ink);
  background-image:
    radial-gradient(1100px 620px at 78% -12%, rgba(74,143,196,.20), transparent 62%),
    radial-gradient(760px 460px at 6% 4%, rgba(227,180,79,.07), transparent 60%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--celeste); text-decoration: none; }
a:hover { color: #a8d3f5; text-decoration: underline; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin: .35em 0; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 500; line-height: 1.15; }
h1, h2 { font-family: var(--serif); letter-spacing: -.02em; }
h3, h4 { font-family: var(--sans); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.15rem, 4.6vw, 3.7rem); line-height: 1.05; }
h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.12rem, 1.6vw, 1.32rem); }
h4 { font-size: 1.02rem; }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
table { border-collapse: collapse; width: 100%; }
:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--sun); color: #1b1405; padding: .8rem 1.2rem;
  font-weight: 700; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; text-decoration: none; }

/* --- layout --------------------------------------------------------------- */
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-tight { padding: clamp(34px, 4.5vw, 56px) 0; }
.section-alt { background: linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,0)); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.narrow { max-width: 760px; }
.measure { max-width: 68ch; }
.center { text-align: center; }
.center .measure { margin-left: auto; margin-right: auto; }

/* --- shared type devices -------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--celeste); margin: 0 0 1.1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--celeste); opacity: .7; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: #cbd6e5; }
.muted { color: var(--muted); }
.mono-label {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted-2);
}
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p:last-child { margin-bottom: 0; }

/* Signature device: verification strip — the site's editorial promise that
   every figure on the page must be re-checked with the operator. */
.verify {
  display: flex; align-items: center; gap: .55rem; flex-wrap: wrap;
  font-family: var(--mono); font-size: .69rem; letter-spacing: .13em;
  text-transform: uppercase; line-height: 1.5;
}
.verify::before {
  content: ""; flex: none; width: 9px; height: 9px;
  border-left: 2px solid var(--celeste-2); border-bottom: 2px solid var(--celeste-2);
}
.verify-dark { color: var(--muted-2); border-top: 1px dashed var(--line); padding-top: .85rem; margin-top: 1.2rem; }
.verify-paper { color: var(--ink-muted); border-top: 1px dashed var(--paper-line); padding-top: .85rem; margin-top: 1.15rem; }

/* --- buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--sans); font-weight: 700; font-size: 1rem; line-height: 1.2;
  padding: .95rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-align: center; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #9ecdf3 0%, var(--celeste) 42%, var(--celeste-2) 100%);
  color: #08131f; box-shadow: 0 10px 26px rgba(74,143,196,.28);
}
.btn-primary:hover { color: #08131f; box-shadow: 0 14px 32px rgba(74,143,196,.4); }
.btn-outline { background: transparent; color: var(--text); border-color: rgba(255,255,255,.28); }
.btn-outline:hover { color: #fff; border-color: var(--celeste); background: rgba(124,184,232,.10); }
.btn-ghost { background: rgba(255,255,255,.05); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,.1); }
.btn-dark { background: #142334; color: #fff; box-shadow: var(--shadow-sm); }
.btn-dark:hover { color: #fff; background: #1d3348; }
.btn-sm { padding: .6rem 1.05rem; font-size: .9rem; }
.btn-lg { padding: 1.1rem 2.1rem; font-size: 1.06rem; }
.btn-block { display: flex; width: 100%; }
.btn-arrow::after { content: "\2192"; font-size: 1.05em; transition: transform .18s ease; }
.btn:hover .btn-arrow::after, .btn-arrow:hover::after { transform: translateX(3px); }

/* --- header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(11,17,28,.86);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--text); flex: none; }
.brand:hover { text-decoration: none; color: #fff; }
.logo-mark { width: 34px; height: 34px; flex: none; }
.brand-text {
  display: flex; flex-direction: column; line-height: 1.05;
  font-family: var(--serif); font-size: 1.32rem; letter-spacing: -.02em;
}
.brand-text strong { font-weight: 600; }
.brand-dot { color: var(--celeste); font-weight: 400; }
.brand-tag {
  font-family: var(--mono); font-size: .58rem; letter-spacing: .17em;
  text-transform: uppercase; color: var(--muted-2); margin-top: .3rem;
}
.brand-foot .brand-tag { display: none; }

.site-nav { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 1.35rem; list-style: none; margin: 0; padding: 0; }
.nav-list li { margin: 0; }
.nav-list a {
  color: #c6d1e0; font-size: .93rem; font-weight: 500; padding: .4rem 0;
  border-bottom: 1px solid transparent;
}
.nav-list a:hover { color: #fff; text-decoration: none; border-bottom-color: var(--celeste); }
.nav-list a[aria-current="page"] { color: #fff; border-bottom-color: var(--sun); }
.nav-extras { display: flex; align-items: center; gap: 1rem; }

.lang-switch {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .6rem; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,.03);
}
.lang-link {
  font-family: var(--mono); font-size: .76rem; font-weight: 600; letter-spacing: .1em;
  color: var(--muted); padding: .15rem .3rem; border-radius: 6px;
}
.lang-link:hover { color: #fff; text-decoration: none; }
.lang-link.is-active { color: var(--ink); background: var(--celeste); }
.lang-sep { color: var(--muted-2); font-size: .7rem; }

.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 42px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
  border-radius: var(--radius-sm); cursor: pointer;
}
.nav-toggle-bars { display: block; width: 20px; margin: 0 auto; }
.nav-toggle-bars i {
  display: block; height: 2px; background: var(--text); border-radius: 2px;
  margin: 4px 0; transition: transform .22s ease, opacity .18s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- hero ----------------------------------------------------------------- */
.hero { position: relative; padding: clamp(52px, 8vw, 104px) 0 clamp(48px, 7vw, 92px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .55rem; }
.hero-sub { font-family: var(--serif); font-size: clamp(1.12rem, 1.9vw, 1.42rem); color: #d7e2f0; font-weight: 400; margin-bottom: 1rem; }
.hero-copy { color: var(--muted); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0 1.5rem; }
.hero-note {
  display: inline-flex; align-items: center; gap: .6rem; flex-wrap: wrap;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted-2); border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1rem;
}
.hero-note .age-badge { margin: 0; }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art svg { width: 100%; max-width: 430px; height: auto; }

.page-hero { padding: clamp(40px, 6vw, 74px) 0 clamp(26px, 3.5vw, 40px); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { max-width: 62ch; }

/* --- generic panels / cards ------------------------------------------------ */
.panel {
  background: linear-gradient(180deg, var(--panel), var(--ink-soft));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px);
}
.grid { display: grid; gap: clamp(16px, 2.2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-h { margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(18px, 2.4vw, 26px);
}
.card-num {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .16em;
  color: var(--sun); display: block; margin-bottom: .7rem;
}

/* --- offer cards ----------------------------------------------------------- */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 28px); }
.offer {
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  color: var(--ink-text); border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.5);
  position: relative;
}
.offer::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--celeste-2), var(--sun));
}
.offer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.offer-name { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.6rem); color: var(--ink-text); margin: 0; }
.offer-kind { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); display: block; margin-bottom: .45rem; }
.badge {
  display: inline-block; flex: none;
  font-family: var(--mono); font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: #4a3405; background: linear-gradient(135deg, #f3d68d, var(--sun));
  border-radius: 999px; padding: .42rem .8rem; line-height: 1.2;
}
.badge-quiet { background: rgba(20,35,52,.07); color: var(--ink-muted); }

.offer-figure { position: relative; padding: 1.15rem .4rem 1.3rem; margin-bottom: 1.1rem; }
.offer-figure::before, .offer-figure::after {
  content: ""; position: absolute; width: 16px; height: 16px; border-color: var(--sun-dk); opacity: .55;
}
.offer-figure::before { top: 0; left: 0; border-left: 2px solid; border-top: 2px solid; }
.offer-figure::after { bottom: 0; right: 0; border-right: 2px solid; border-bottom: 2px solid; }
.offer-amount {
  font-family: var(--serif); font-weight: 600; letter-spacing: -.03em; line-height: 1;
  font-size: clamp(1.85rem, 3.4vw, 2.5rem); color: #0f1d2c; margin: 0;
}
.offer-amount span { display: block; font-size: .42em; letter-spacing: .04em; font-weight: 500; color: var(--ink-muted); margin-top: .5rem; }
.offer-desc { color: #3a4a5d; margin-bottom: 1.1rem; }
.offer-list { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.offer-list li { display: flex; gap: .6rem; align-items: flex-start; margin: .5rem 0; color: #2c3b4d; font-weight: 500; }
.offer-list li::before {
  content: "\2713"; color: var(--celeste-dk); font-weight: 700; flex: none;
  width: 21px; height: 21px; border-radius: 50%; background: rgba(74,143,196,.16);
  display: inline-flex; align-items: center; justify-content: center; font-size: .78rem; margin-top: .15rem;
}
.offer-terms {
  font-size: .88rem; color: var(--ink-muted); background: rgba(20,35,52,.045);
  border-left: 3px solid var(--sun); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: .8rem .95rem; margin-bottom: 1.35rem;
}
.offer-cta { margin-top: auto; }

/* --- disclaimer / notes ---------------------------------------------------- */
.notice {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--warn-bg); border: 1px solid rgba(227,180,79,.30);
  border-radius: var(--radius); padding: clamp(16px, 2.2vw, 24px);
}
.notice-mark {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(227,180,79,.18); color: var(--sun);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 600; font-size: 1.15rem;
}
.notice p:last-child { margin-bottom: 0; }
.notice-title { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sun); margin-bottom: .4rem; display: block; }

.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 24px; padding: 0 .5rem; border-radius: 999px;
  background: rgba(227,180,79,.16); color: var(--sun);
  font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .06em;
}

/* --- comparison table ------------------------------------------------------ */
.table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
}
.compare { min-width: 620px; font-size: .96rem; }
.compare caption { text-align: left; padding: 1rem 1.2rem 0; color: var(--muted); font-size: .88rem; }
.compare th, .compare td { padding: .95rem 1.2rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.compare thead th { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--celeste); background: rgba(74,143,196,.08); }
.compare tbody th { font-weight: 600; color: #d6e0ee; width: 26%; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover td, .compare tbody tr:hover th { background: rgba(255,255,255,.025); }
.table-hint { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-top: .8rem; }

/* --- steps ----------------------------------------------------------------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: clamp(16px, 2.2vw, 22px); counter-reset: step; }
.steps li {
  position: relative; margin: 0; padding: 1.6rem 1.25rem 1.35rem;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  border: 1px solid var(--line); border-radius: var(--radius);
}
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: -13px; left: 1.25rem;
  font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  color: var(--ink); background: var(--celeste); padding: .18rem .55rem; border-radius: 999px;
}
.steps h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.steps p { margin: 0; font-size: .93rem; color: var(--muted); }

/* --- FAQ ------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.2rem;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 1.15rem .25rem; color: var(--text);
  font-family: var(--sans); font-size: 1.02rem; font-weight: 600; line-height: 1.45;
}
.faq-q:hover { color: var(--celeste); }
.faq-icon { flex: none; width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 50%; position: relative; margin-top: .15rem; transition: background-color .2s ease, border-color .2s ease; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 2px; background: var(--celeste); transform: translate(-50%,-50%); border-radius: 2px; transition: transform .22s ease; }
.faq-icon::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon { background: rgba(124,184,232,.14); border-color: var(--celeste); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translate(-50%,-50%) rotate(0deg); }
.faq-a { padding: 0 3rem 1.35rem .25rem; color: var(--muted); }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a[hidden] { display: none; }

/* --- forms ----------------------------------------------------------------- */
.form-panel {
  background: linear-gradient(160deg, rgba(74,143,196,.14), rgba(255,255,255,.02) 55%);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3.4vw, 44px);
}
.form-grid { display: grid; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 1rem; color: var(--text);
  background: rgba(6,11,19,.55); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: .85rem 1rem; width: 100%;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #62718a; }
.field input:focus, .field textarea:focus { border-color: var(--celeste); box-shadow: 0 0 0 3px rgba(124,184,232,.16); }
.field-error { font-size: .85rem; color: #ffb1a8; min-height: 0; }
.field-error:empty { display: none; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #e2796b; }
.form-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: .4rem; }
.form-foot { font-size: .86rem; color: var(--muted-2); margin: 1rem 0 0; }
.subscribe-inline { display: grid; grid-template-columns: 1fr auto; gap: .8rem; align-items: end; }

.form-success {
  display: flex; gap: 1rem; align-items: flex-start;
  background: rgba(99,195,154,.09); border: 1px solid rgba(99,195,154,.32);
  border-radius: var(--radius); padding: clamp(18px, 2.6vw, 26px);
}
.form-success[hidden] { display: none; }
.success-mark {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(99,195,154,.18); color: var(--ok);
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem; font-weight: 700;
}
.form-success h3 { margin-bottom: .35rem; color: #d9f2e7; }
.form-success p { color: #b6d6c8; margin-bottom: 0; }
.form-success .btn { margin-top: 1rem; }
.is-hidden { display: none !important; }

/* --- prose (legal & editorial pages) --------------------------------------- */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.8rem; }
.prose > :first-child { margin-top: 0; }
.prose ul li, .prose ol li { color: #c3cddc; }
.prose .updated { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.toc { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.toc h2 { font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--celeste); margin-bottom: .7rem; }
.toc ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 2rem; }
.toc li { margin: .3rem 0; break-inside: avoid; }

.split { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(24px, 4vw, 52px); align-items: start; }
.pill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-list li { margin: 0; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .4rem .8rem; }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { display: flex; gap: .65rem; align-items: flex-start; color: #c8d3e2; }
.check-list li::before { content: "\2713"; color: var(--celeste); font-weight: 700; flex: none; }
.rule-list { list-style: none; padding: 0; margin: 0; }
.rule-list li { border-top: 1px solid var(--line-soft); padding: .9rem 0; margin: 0; display: flex; gap: 1rem; }
.rule-list li:first-child { border-top: 0; }
.rule-list .rule-k { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); flex: none; width: 92px; padding-top: .2rem; }

/* --- 404 -------------------------------------------------------------------- */
.err {
  min-height: 58vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: clamp(50px, 8vw, 96px) 0;
}
.err-code {
  font-family: var(--serif); font-weight: 600; font-size: clamp(5rem, 17vw, 11rem); line-height: .9;
  letter-spacing: -.05em; margin: 0 0 .4rem;
  background: linear-gradient(140deg, #ffffff 0%, var(--celeste) 45%, var(--celeste-dk) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.err h1 { font-size: clamp(1.5rem, 3.6vw, 2.3rem); }
.err p { max-width: 46ch; margin-left: auto; margin-right: auto; color: var(--muted); }
.err-links { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.8rem; }

/* --- footer ----------------------------------------------------------------- */
.site-footer {
  margin-top: clamp(48px, 7vw, 90px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.022), rgba(0,0,0,.22));
  padding: clamp(40px, 5vw, 64px) 0 clamp(28px, 3vw, 40px);
}
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: clamp(24px, 3.5vw, 48px); }
.foot-about { color: var(--muted); font-size: .93rem; max-width: 38ch; margin: 1rem 0 .9rem; }
.foot-mail { font-size: .93rem; margin: 0; }
.foot-mail .mono-label { display: block; margin-bottom: .2rem; }
.foot-h { font-family: var(--mono); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: .9rem; }
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li { margin: .55rem 0; }
.foot-col a { color: #c3cddc; font-size: .94rem; }
.foot-col a:hover { color: #fff; }
.foot-legal { margin-top: clamp(30px, 4vw, 48px); padding-top: 1.6rem; border-top: 1px solid var(--line-soft); }
.age-note { display: flex; align-items: center; gap: .7rem; font-weight: 600; color: #d7e0ec; font-size: .95rem; }
.aff-note { font-size: .84rem; color: var(--muted-2); max-width: 92ch; }
.copy { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; color: var(--muted-2); margin: 0; }

/* --- cookie banner ---------------------------------------------------------- */
.cookie-banner {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: min(1040px, calc(100% - 32px)); z-index: 80;
  background: rgba(16,24,38,.97);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.1rem 1.3rem;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.cookie-banner[hidden] { display: none; }
.cookie-inner { display: flex; align-items: center; gap: 1.4rem; }
.cookie-msg p { margin: 0; font-size: .92rem; color: #cdd8e6; }
.cookie-link { margin-top: .35rem !important; font-size: .84rem !important; }
.cookie-actions { display: flex; gap: .6rem; margin-left: auto; flex: none; }
.cookie-panel { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.cookie-panel[hidden] { display: none; }
.cookie-panel-h { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--celeste); margin-bottom: .8rem; }
.cookie-opts { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .7rem; }
.cookie-opt { display: flex; gap: .7rem; align-items: flex-start; font-size: .86rem; color: var(--muted); }
.cookie-opt input { margin-top: .3rem; accent-color: var(--celeste); }
.cookie-opt strong { color: #d7e0ec; }

/* --- motion ----------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.22,.75,.3,1); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
