/* Phonics Unpacked · shared styles
   Plain CSS, mobile-first. Tokens, base, layout, components, then page parts. */

@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito/nunito-latin-var.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #1f2d4d;
  --navy-soft: #3b4867;
  --muted: #5a6479;
  --teal: #1f8273;
  --teal-dark: #166459;
  --teal-tint: #e1efea;
  --mint: #3fb3a1;
  --cream: #faf6ef;
  --paper: #fffdf9;
  --sand: #f2eadc;
  --line: #e5dac8;
  --line-strong: #cfc0a6;
  --sun: #f3c96b;
  --rust: #a3412b;
  --font: "Nunito", ui-rounded, "Segoe UI", system-ui, -apple-system, sans-serif;
  --r-lg: 22px;
  --r: 16px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(31, 45, 77, .05), 0 10px 30px -14px rgba(31, 45, 77, .22);
  --shadow-lift: 0 2px 4px rgba(31, 45, 77, .06), 0 22px 44px -20px rgba(31, 45, 77, .38);
  --wrap: 70rem;
  --gutter: clamp(1rem, 4vw, 2rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
img { display: block; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 850; letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p, ul, ol { margin: 0 0 1em; }
p { text-wrap: pretty; }
a { color: var(--teal-dark); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--navy); }
strong, b { font-weight: 800; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -5rem; z-index: 10;
  background: var(--navy); color: var(--cream); padding: .7rem 1rem; border-radius: var(--r-sm);
  font-weight: 800; text-decoration: none;
}
.skip:focus { top: 1rem; color: var(--cream); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 44rem; }
.section { padding-block: clamp(3rem, 8vw, 5.5rem); }
.section--tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.section--sand { background: var(--sand); }
.section--paper { background: var(--paper); border-block: 1px solid var(--line); }
.section-head { max-width: 42rem; margin-bottom: 2rem; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head p:last-child { margin-bottom: 0; }
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.two-col { display: grid; gap: 2.5rem; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.center { text-align: center; }

.eyebrow {
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 850; color: var(--teal-dark); margin-bottom: .75rem;
}
.lede { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--navy-soft); line-height: 1.55; }
.small { font-size: .92rem; }
.muted { color: var(--muted); }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--cream); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .5rem 1.5rem; padding-block: .85rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 900; font-size: 1.15rem; letter-spacing: -.01em;
  color: var(--navy); text-decoration: none;
}
.brand:hover { color: var(--navy); }
.brand__mark { width: 36px; height: 36px; flex: none; }
.m-bg { fill: var(--navy); }
.m-wave { stroke: var(--cream); }
.m-dot { fill: var(--mint); }
.nav ul { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: .45rem .8rem; border-radius: 999px;
  font-weight: 750; color: var(--navy); text-decoration: none;
}
.nav a:hover { background: var(--sand); }
.nav a[aria-current="page"] { background: var(--teal-tint); color: var(--teal-dark); }
.nav .nav__cta { background: var(--navy); color: var(--cream); margin-left: .35rem; }
.nav .nav__cta:hover { background: var(--navy-soft); color: var(--cream); }
.nav .nav__cta[aria-current="page"] { background: var(--teal-dark); color: #fff; }
@media (max-width: 719px) {
  .nav { width: 100%; }
  .nav ul { justify-content: space-between; }
  .nav a { padding: .4rem .6rem; font-size: .95rem; }
  .nav .nav__cta { margin-left: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3rem; padding: .75rem 1.4rem; border-radius: 999px;
  border: 2px solid transparent; font: inherit; font-weight: 850; font-size: 1.02rem;
  line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn--primary { background: var(--navy); color: var(--cream); box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--navy-soft); color: var(--cream); transform: translateY(-1px); }
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--cream); }
.btn:disabled, .btn[aria-disabled="true"] {
  cursor: not-allowed; opacity: .6; transform: none; box-shadow: none;
}
.btn--primary:disabled { background: var(--navy-soft); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 1rem; }

/* ---------- Hero (home) ---------- */
.hero { padding-block: clamp(2.5rem, 7vw, 5rem) clamp(3rem, 7vw, 5rem); overflow: hidden; }
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 880px) { .hero__grid { grid-template-columns: 1.1fr .9fr; } }
.hero h1 { margin-bottom: .4em; }
.hero__note { display: flex; flex-wrap: wrap; gap: .4rem 1rem; color: var(--muted); font-size: .95rem; padding: 0; list-style: none; }
.hero__note li { display: inline-flex; align-items: center; gap: .35rem; }
.hero__note li::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--mint); }
.hero__art { position: relative; width: min(100%, 25rem); margin-inline: auto; padding: .5rem 0 2.5rem; }
/* Free sound mat page: the same two pages appear in "What you get", so skip the hero stack on narrow screens. */
@media (max-width: 879px) { .hero__art--wide-only { display: none; } }
.paper {
  background: #fff; border-radius: 6px; overflow: hidden;
  box-shadow: 0 2px 4px rgba(31, 45, 77, .06), 0 18px 40px -18px rgba(31, 45, 77, .4);
}
.paper img { width: 100%; height: auto; }
.paper--front { position: relative; width: 86%; transform: rotate(-2.5deg); }
.paper--back { position: absolute; top: 0; right: 0; width: 78%; transform: rotate(5deg); }
.pencil { position: absolute; left: -4%; bottom: .2rem; width: 62%; transform: rotate(-9deg); filter: drop-shadow(0 6px 6px rgba(31, 45, 77, .18)); }

/* ---------- Inner page header ---------- */
.page-head { padding-block: clamp(2rem, 6vw, 4rem) clamp(1.5rem, 4vw, 2.5rem); }
.page-head .lede { max-width: 40rem; }
.crumbs { font-size: .9rem; color: var(--muted); padding-top: 1.25rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "›"; margin-right: .3rem; color: var(--line-strong); }
.crumbs a { color: var(--muted); }

/* ---------- Cards and steps ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem); box-shadow: var(--shadow);
}
.card > :last-child { margin-bottom: 0; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; position: relative; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--teal); color: #fff; font-weight: 900; margin-bottom: 1rem;
}
.steps h3 { margin-bottom: .35em; }
.steps p { margin: 0; color: var(--navy-soft); }

/* ---------- Sound tiles ---------- */
.tiles {
  display: grid; gap: .6rem; list-style: none; margin: 0; padding: 0;
  grid-template-columns: repeat(auto-fill, minmax(5.2rem, 1fr));
}
.tile {
  position: relative; background: var(--paper); border: 1.5px solid var(--line);
  border-radius: 14px; padding: 1.25rem .4rem .7rem; text-align: center;
}
.tile::after { content: ""; position: absolute; top: .55rem; right: .55rem; }
.tile--hold::after {
  width: 21px; height: 11px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21 11'%3E%3Cpath d='M2 6c2-4 4-4 5.5 0s3.5 4 5.5 0 3.5-4 5.5 0' fill='none' stroke='%231f2d4d' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.tile--quick::after { width: 9px; height: 9px; border-radius: 50%; background: var(--navy); top: .7rem; right: .7rem; }
.tile__g { display: block; font-size: 2.3rem; font-weight: 850; line-height: 1; letter-spacing: -.02em; }
.tile__w { display: block; margin-top: .55rem; font-size: .92rem; color: var(--navy-soft); }
.tile__w b { color: var(--teal-dark); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.key { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; font-size: .95rem; color: var(--navy-soft); }
.key li { display: inline-flex; align-items: center; gap: .5rem; }
.key .tile--hold, .key .tile--quick { display: inline-block; width: 22px; height: 12px; padding: 0; border: 0; background: none; position: relative; }
.key .tile--hold::after, .key .tile--quick::after { content: ""; position: absolute; top: 50%; right: auto; left: 50%; transform: translate(-50%, -50%); }

.chips { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 0 0 1rem; }
.chips li {
  padding: .25rem .75rem; border-radius: 999px; background: var(--paper);
  border: 1px solid var(--line); font-weight: 750;
}

/* ---------- Shorts ---------- */
.shorts { display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .shorts { grid-template-columns: repeat(4, 1fr); } }
.short { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden; background: var(--navy); box-shadow: var(--shadow); }
.short iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.short__link {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1rem; color: var(--cream); text-decoration: none;
  background: radial-gradient(120% 70% at 50% 25%, rgba(63, 179, 161, .28), transparent 60%);
}
.short__link:hover { color: #fff; }
.short__g {
  position: absolute; top: 24%; left: 0; right: 0; text-align: center;
  font-size: clamp(3.2rem, 9vw, 4.6rem); font-weight: 900; line-height: 1; color: var(--cream);
}
.short__play {
  position: absolute; top: .8rem; right: .8rem; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  display: grid; place-items: center; background: rgba(250, 246, 239, .16);
}
.short__play svg { width: 1.1rem; height: 1.1rem; }
.short__title { font-weight: 850; line-height: 1.25; font-size: 1rem; }
.short__meta { font-size: .82rem; opacity: .8; margin-top: .25rem; }

/* ---------- Downloads ---------- */
.downloads { display: grid; gap: .8rem; margin: 1.75rem 0 .75rem; max-width: 30rem; }
.dl {
  display: flex; align-items: center; gap: 1rem; padding: 1.05rem 1.25rem;
  border-radius: var(--r); border: 2px solid var(--navy); text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.dl:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.dl--colour { background: var(--navy); color: var(--cream); }
.dl--colour:hover { color: #fff; }
.dl--ink { background: var(--paper); color: var(--navy); }
.dl--ink:hover { color: var(--navy); }
.dl__icon { width: 1.6rem; height: 1.6rem; flex: none; }
.dl__title { display: block; font-weight: 900; font-size: 1.15rem; line-height: 1.2; }
.dl__meta { display: block; font-size: .9rem; opacity: .85; }

.sheets { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); max-width: 52rem; margin-inline: auto; }
.sheets figure { margin: 0; }
.sheets figcaption { text-align: center; font-size: .92rem; color: var(--muted); margin-top: .75rem; }

.checklist { list-style: none; padding: 0; margin: 0 0 1rem; }
.checklist li { position: relative; padding-left: 2rem; margin-bottom: .7rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--teal-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23166459' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 80%;
}

/* ---------- Sign-up (placeholder) ---------- */
.signup { display: grid; gap: 1.5rem; }
@media (min-width: 860px) { .signup { grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; } }
.signup fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.signup label { font-weight: 800; display: block; margin-bottom: .35rem; }
.signup input[type="email"] {
  width: 100%; min-height: 3rem; padding: .7rem 1rem; font: inherit; color: var(--navy);
  background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
}
.signup input[type="email"]:focus { outline: 3px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.check { display: flex; gap: .7rem; align-items: flex-start; margin: 1rem 0 1.25rem; }
.check input { width: 1.3rem; height: 1.3rem; margin-top: .2rem; flex: none; accent-color: var(--teal); }
.check label { font-weight: 450; font-size: .95rem; color: var(--navy-soft); margin: 0; }
.signup fieldset:disabled { opacity: .7; }
.form-note { font-size: .9rem; color: var(--muted); margin: .9rem 0 0; }

/* ---------- Packs ---------- */
.chip {
  display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .75rem; border-radius: 999px;
  font-size: .85rem; font-weight: 850; background: var(--teal-tint); color: var(--teal-dark); margin: 0;
}
.chip--soon { background: var(--sand); color: var(--navy-soft); border: 1px solid var(--line); }
.cover {
  --cover: var(--teal);
  position: relative; aspect-ratio: 210 / 297; border-radius: 10px; background: var(--cover); color: var(--cream);
  padding: 9% 9% 8%; display: flex; flex-direction: column; box-shadow: var(--shadow-lift); overflow: hidden;
}
.cover::before {
  content: ""; position: absolute; inset: auto -20% -12% auto; width: 75%; aspect-ratio: 1; border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}
.cover__brand { font-size: .72rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.cover__g { font-size: clamp(3.4rem, 9vw, 5.2rem); font-weight: 900; line-height: 1; margin: auto 0 .2em; letter-spacing: -.03em; }
.cover__title { font-size: 1.35rem; font-weight: 900; line-height: 1.15; }
.cover__meta { font-size: .85rem; margin-top: .6rem; opacity: .85; }
.cover--sm { padding: 12%; border-radius: 8px; box-shadow: var(--shadow); }
.cover--sm .cover__g { font-size: 1.9rem; margin: auto 0; text-align: center; }
.cover--stack { box-shadow: 8px -8px 0 -2px var(--line-strong), 16px -16px 0 -4px var(--line), var(--shadow-lift); }

.pack-hero { padding-block: 1.5rem clamp(3rem, 7vw, 4.5rem); }
.pack-hero__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 860px) { .pack-hero__grid { grid-template-columns: 1.25fr .75fr; } }
.pack-hero .cover { width: min(100%, 15rem); margin-inline: auto; transform: rotate(2deg); }
@media (min-width: 860px) { .pack-hero .cover { width: min(100%, 19rem); } }
.facts { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.25rem 0; }
.facts li { padding: .3rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: .92rem; font-weight: 700; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem .75rem; margin: .5rem 0 .75rem; }
.price__now { font-size: 2.4rem; font-weight: 900; line-height: 1; }
.price__was { font-size: 1.2rem; color: var(--muted); text-decoration: line-through; }
.price__note { color: var(--muted); font-weight: 700; }

.pack-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .pack-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .pack-list { grid-template-columns: repeat(3, 1fr); } }
.pack-card {
  position: relative; display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.1rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.25rem; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease;
}
.pack-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.pack-card h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.pack-card h3 a { color: var(--navy); text-decoration: none; }
.pack-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.pack-card p { margin-bottom: .6rem; font-size: .96rem; color: var(--navy-soft); }
.pack-card__stage { font-size: .8rem !important; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dark) !important; margin-bottom: .3rem !important; }
.pack-card__meta { display: flex; gap: .75rem; align-items: center; font-weight: 800; color: var(--navy) !important; }
.price-tag { font-size: 1.15rem; font-weight: 900; }

.pack-feature { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 760px) { .pack-feature { grid-template-columns: 12rem 1fr; } }
.pack-feature .cover { width: 12rem; margin-inline: auto; transform: rotate(-2deg); }

.previews { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); max-width: 46rem; margin-inline: auto; }
@media (max-width: 559px) { .previews { gap: .6rem; } }
.mock {
  aspect-ratio: 210 / 297; background: #fff; border: 1px solid var(--line); border-radius: 6px;
  box-shadow: var(--shadow); padding: 11%; display: flex; flex-direction: column; gap: 6%;
}
.mock__bar { display: block; height: 5%; border-radius: 3px; background: var(--sand); }
.mock__bar--title { width: 70%; height: 7%; background: var(--line-strong); }
.mock__bar--short { width: 55%; }
.mock__tiles { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7%; }
.mock__tiles span { border: 1.5px solid var(--line); border-radius: 4px; }
.mock__tiles--2 { grid-template-columns: repeat(2, 1fr); }
.previews figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: .6rem; }
.previews figure { margin: 0; }

/* ---------- Guides and prose ---------- */
.prose { max-width: 44rem; }
.prose h2 { margin-top: 2.6rem; scroll-margin-top: 1rem; }
.prose h3 { margin-top: 1.8rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--teal); font-weight: 800; }
.article-meta, .prose .article-meta { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; color: var(--muted); font-size: .95rem; padding: 0; list-style: none; }
.callout {
  background: var(--teal-tint); border-radius: var(--r-lg); padding: 1.25rem 1.5rem; margin: 1.75rem 0;
  border-left: 5px solid var(--teal);
}
.callout > :last-child { margin-bottom: 0; }
.callout h2, .callout h3 { margin-top: 0; font-size: 1.15rem; }
.callout--sand { background: var(--sand); border-left-color: var(--sun); }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.25rem 1.5rem; margin: 1.75rem 0; }
.toc h2 { font-size: 1rem; margin: 0 0 .6rem; text-transform: uppercase; letter-spacing: .1em; color: var(--teal-dark); }
.toc ol { margin: 0; padding-left: 1.2rem; }
.toc li { margin-bottom: .25rem; }
.say { font-weight: 850; color: var(--teal-dark); white-space: nowrap; }
.avoid { color: var(--rust); text-decoration: line-through; text-decoration-thickness: .08em; white-space: nowrap; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); margin: 1.25rem 0 1.75rem; }
table { border-collapse: collapse; width: 100%; font-size: .97rem; }
caption { text-align: left; padding: .9rem 1rem .2rem; font-weight: 850; }
th, td { padding: .7rem .8rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--sand); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 850; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 450; white-space: nowrap; }
.g { display: block; font-size: 1.5rem; font-weight: 900; line-height: 1.1; }
.ex { display: block; font-size: .85rem; color: var(--muted); }

.figure { margin: 2rem 0; }
.figure .paper { max-width: 24rem; margin-inline: auto; }
.figure figcaption { text-align: center; font-size: .9rem; color: var(--muted); margin-top: .75rem; }

.faq details { border-top: 1px solid var(--line); padding: 1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem;
  font-weight: 850; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 900; color: var(--teal); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > :not(summary) { margin-top: .75rem; color: var(--navy-soft); }
.faq details > p:last-child { margin-bottom: 0; }

.guide-card { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .guide-card { grid-template-columns: 9rem 1fr; align-items: center; } }
.guide-card__art {
  aspect-ratio: 1; border-radius: var(--r); background: var(--navy); color: var(--cream);
  display: grid; place-items: center; font-size: 2.6rem; font-weight: 900; max-width: 9rem;
}
.guide-card h2 { font-size: 1.5rem; }
.guide-card h2 a { color: var(--navy); text-decoration: none; }
.guide-card h2 a:hover { text-decoration: underline; }
.soon-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.soon-list li {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; flex-wrap: wrap;
  padding: .9rem 1.1rem; background: var(--paper); border: 1px dashed var(--line-strong); border-radius: var(--r);
  font-weight: 750;
}

/* ---------- Social buttons ---------- */
.social { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #dfe3ec; margin-top: 0; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: var(--cream); }
.site-footer .m-bg { fill: var(--cream); }
.site-footer .m-wave { stroke: var(--navy); }
.footer-grid { display: grid; gap: 2rem; padding-block: 3rem 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-grid p { max-width: 24rem; margin-top: 1rem; }
.footer-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: #a9b3c7; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer li a { text-decoration: none; font-weight: 700; }
.site-footer li a:hover { text-decoration: underline; }
.footer-legal { border-top: 1px solid rgba(250, 246, 239, .15); padding-block: 1.25rem 2rem; font-size: .88rem; color: #b8c0d1; }
.footer-legal p { margin: 0 0 .3rem; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: clamp(4rem, 12vw, 8rem); }
.notfound .actions { justify-content: center; }
.notfound__g { font-size: clamp(4rem, 14vw, 7rem); font-weight: 900; line-height: 1; color: var(--teal); margin-bottom: 1rem; }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .skip, .actions, .signup-section { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .table-wrap { border: 0; }
  a { color: inherit; text-decoration: none; }
}
