/* Say My Name Kids - styles.
   Brand colors live in :root. The brand NAME is set in app.js (CONFIG). */
:root {
  --cream: #FFF8EE;
  --cream-2: #FFEFD9;
  --white: #FFFFFF;
  --coral: #FF7043;
  --coral-ink: #B23A12;      /* coral for text on cream, AA */
  --navy: #1B2A49;
  --navy-soft: #3F4C6B;      /* AA on cream */
  --teal: #CFEFEA;
  --teal-ink: #0E5F59;
  --sun: #FFD25E;
  --line: #EAD9BF;
  --radius: 26px;
  --shadow: 0 10px 28px rgba(27, 42, 73, .12);
  --display: "Fredoka", "Baloo 2", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--navy); font-family: var(--body); font-size: 1.125rem; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-ink); }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: .005em; }
h1 { font-size: clamp(2.3rem, 8vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 5.5vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 248, 238, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
.brand-mark { width: 42px; height: 42px; flex: none; border-radius: 50%; background: #FFF1CC; border: 2px solid var(--coral); object-fit: cover; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; border: 2px solid var(--navy); border-radius: 16px; background: transparent; color: var(--navy); cursor: pointer; }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-bottom: 1px solid var(--line); padding: 12px 16px 20px; flex-direction: column; gap: 4px; }
.site-nav.open { display: flex; }
.site-nav a:not(.btn) { color: var(--navy); font-weight: 700; text-decoration: none; padding: 12px 8px; border-radius: 12px; }
.site-nav a:not(.btn):hover { background: var(--cream-2); }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 6px; padding: 0; background: none; border: 0; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 12px 28px; border: 3px solid var(--coral); background: var(--coral); color: var(--navy); font: 800 1.1rem var(--body); border-radius: 999px; text-decoration: none; cursor: pointer; box-shadow: 0 6px 0 rgba(27, 42, 73, .16); transition: transform .12s ease, box-shadow .12s ease; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(27, 42, 73, .16); }
.btn-ghost { background: transparent; border-color: var(--navy); color: var(--navy); box-shadow: none; }
.btn-small { min-height: 48px; padding: 8px 20px; font-size: 1rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Sections */
.section { padding: 64px 0; }
.section.small { padding: 40px 0; }
.band-white { background: var(--white); }
.band-teal { background: var(--teal); }
.eyebrow { font: 800 .85rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--coral-ink); margin: 0 0 8px; }
.band-teal .eyebrow { color: var(--teal-ink); }
.sub { max-width: 720px; color: var(--navy-soft); font-size: 1.15rem; }
.band-teal .sub { color: var(--navy); }
.fine { font-size: .95rem; color: var(--navy-soft); }
.fine.light { padding-bottom: 28px; }

/* Hero */
.hero { padding: 28px 0 56px; background: radial-gradient(700px 520px at 85% 35%, #FFE0BC 0%, transparent 70%), var(--cream); overflow: hidden; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hl { color: var(--coral-ink); }
.lead { font-size: 1.2rem; max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: 26px 0 0; }
.btn-lg { min-height: 64px; padding: 14px 34px; font-size: 1.2rem; }
.text-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 6px; background: none; border: 0; color: var(--navy); font: 800 1.1rem var(--body); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; cursor: pointer; border-radius: 12px; }
.text-btn svg { color: var(--coral-ink); }
.stage { margin: 0; display: flex; flex-direction: column; align-items: center; }
.phone { position: relative; width: min(300px, 78vw); background: var(--navy); border-radius: 46px; padding: 11px; box-shadow: 0 24px 50px rgba(27, 42, 73, .3); }
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 76px; height: 20px; background: var(--navy); border-radius: 999px; z-index: 3; pointer-events: none; }
.phone-screen { position: relative; background: #FDF9EE; border-radius: 36px; overflow: hidden; aspect-ratio: 9 / 16; }
.phone-screen video { width: 100%; height: 100%; object-fit: cover; display: block; background: #FDF9EE; }
.video-play { position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; border-radius: 50%; border: 4px solid var(--navy); background: var(--coral); color: var(--navy); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 8px 0 var(--navy); z-index: 2; padding-left: 6px; }
.video-play:hover { transform: translateY(-2px); }
.video-play:focus-visible { outline: 4px solid var(--navy); outline-offset: 4px; }
.video-play[hidden] { display: none !important; }
.stage figcaption { margin-top: 18px; max-width: 320px; text-align: center; font-size: .98rem; color: var(--navy-soft); }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 40px; } .hero { padding: 56px 0 72px; } .phone { width: 320px; } }

/* Try it */
.tryband { background: var(--sun); padding: 40px 0; }
.try-grid { display: grid; gap: 24px; align-items: center; }
.tryit h2 { font-size: clamp(1.5rem, 4.5vw, 2rem); margin-bottom: .6em; }
.tryit .fine { color: var(--navy); margin: 10px 0 0; }
.greet-card { display: flex; align-items: center; gap: 18px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 20px; min-width: 0; }
.greet-card img { width: 92px; height: 92px; flex: none; object-fit: contain; background: #FFE9C9; border-radius: 20px; }
.greet-card > div { min-width: 0; }
.phone-tag { display: inline-block; margin: 0 0 6px; padding: 2px 12px; background: var(--cream-2); border-radius: 999px; font: 800 .82rem var(--body); color: var(--navy-soft); max-width: 100%; overflow-wrap: anywhere; }
.greeting { margin: 0; font: 700 1.5rem/1.2 var(--display); overflow-wrap: anywhere; }
@media (min-width: 800px) { .try-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
.pic-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border: 4px solid var(--white); display: flex; flex-direction: column; }
.pic-card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.pic-card span { padding: 10px 12px 14px; font: 600 .95rem var(--display); text-align: center; }

/* Name */
.name-grid { display: grid; gap: 28px; align-items: center; }
.say-card { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 20px; color: var(--navy); }
.say-written { font: 700 2.6rem var(--display); } .say-said { font: 700 2.6rem var(--display); color: var(--coral-ink); }
.say-card svg { color: var(--navy-soft); }
@media (min-width: 800px) { .name-grid { grid-template-columns: 1.2fr 1fr; gap: 56px; } }

/* Gift */
.gift-band { margin-top: 28px; display: grid; gap: 8px; justify-items: start; background: var(--teal); border: 2px solid var(--teal-ink); border-radius: var(--radius); padding: 24px; }
.gift-band h3 { margin: 0; } .gift-band p { margin: 0 0 6px; max-width: 640px; }

/* Story */
.story { display: grid; gap: 28px; align-items: center; }
.story-img { width: 180px; border-radius: 50%; background: var(--cream-2); border: 6px solid var(--sun); box-shadow: var(--shadow); }
@media (min-width: 760px) { .story { grid-template-columns: 220px 1fr; gap: 48px; } .story-img { width: 220px; } }

/* Grids and cards */
.grid { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards-inside, .cards-icon { grid-template-columns: repeat(3, 1fr); } .scene-row { grid-template-columns: repeat(3, 1fr); } .price-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 18px 22px; border: 2px solid var(--line); }
.card-pic { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--cream-2); border-radius: 18px; margin-bottom: 14px; }
.tile { display: flex; align-items: center; justify-content: center; background: var(--tile); }
.tile span { font: 700 3.4rem var(--display); color: var(--white); text-shadow: 0 3px 0 rgba(0, 0, 0, .18); background: none; letter-spacing: .02em; }
.card h3 { margin-bottom: .3em; }
.card p { color: var(--navy-soft); margin-bottom: 0; }
.icon-card svg { color: var(--coral-ink); margin-bottom: 10px; }
.family-row { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 760px) { .family-row { grid-template-columns: repeat(4, 1fr); } }
.family-row li { background: var(--white); border-radius: var(--radius); padding: 14px; text-align: center; box-shadow: var(--shadow); }
.family-row img { aspect-ratio: 1; object-fit: contain; width: 100%; }
.family-row span { display: block; font: 600 1.05rem var(--display); margin-top: 6px; }
.scene-row .pic-card img { aspect-ratio: 4 / 3; }

/* How */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 32px 0 0; display: grid; gap: 22px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { background: var(--cream); border: 2px solid var(--line); border-radius: var(--radius); padding: 22px; }
.num { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--coral); color: var(--navy); font: 700 1.5rem var(--display); margin-bottom: 12px; }
.steps p { color: var(--navy-soft); margin: 0; }

/* Pricing */
.banner { background: var(--sun); color: var(--navy); border-radius: 18px; padding: 14px 20px; margin: 24px 0 0; font-weight: 700; }
.price-card { position: relative; background: var(--white); border: 3px solid var(--line); border-radius: var(--radius); padding: 26px 24px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.price-card.featured { border-color: var(--coral); }
.flag { position: absolute; top: -16px; left: 20px; background: var(--coral); color: var(--navy); font: 800 .9rem var(--body); padding: 4px 16px; border-radius: 999px; margin: 0; }
.price { font: 700 3.2rem var(--display); margin: 0 0 8px; color: var(--navy); }
.ticks { list-style: none; padding: 0; margin: 0 0 14px; flex: 1; }
.ticks li { position: relative; padding: 5px 0 5px 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 18px; height: 18px; border-radius: 50%; background: var(--teal); border: 2px solid var(--teal-ink); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 14px; width: 5px; height: 9px; border: solid var(--teal-ink); border-width: 0 2.5px 2.5px 0; transform: rotate(40deg) scale(.8); }
.time { font-weight: 800; color: var(--teal-ink); }
.addons { margin-top: 36px; background: var(--white); border: 2px solid var(--line); border-radius: var(--radius); padding: 24px; }
.addons ul { list-style: none; padding: 0; margin: 0 0 16px; }
.addons li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.note { color: var(--navy-soft); font-size: 1rem; }

/* Form */
.form-wrap { max-width: 800px; }
.progress { margin: 28px 0 20px; }
.progress-top { display: flex; justify-content: space-between; font-weight: 800; margin-bottom: 8px; }
.bar { height: 14px; background: var(--cream-2); border-radius: 999px; overflow: hidden; border: 2px solid var(--line); }
.bar i { display: block; height: 100%; width: 20%; background: var(--coral); border-radius: 999px; transition: width .3s ease; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.step { background: var(--cream); border: 2px solid var(--line); border-radius: var(--radius); padding: 24px 18px; }
fieldset.step[hidden], [hidden] { display: none !important; }
legend { font: 600 1.5rem var(--display); padding: 0; margin-bottom: 14px; }
.step > legend { float: left; width: 100%; } .step > legend + * { clear: both; }
.choice-group legend { font: 800 1.05rem var(--body); margin-bottom: 10px; }
.field { margin-bottom: 20px; }
label { font-weight: 800; display: block; margin-bottom: 6px; }
.req, .opt { font-size: .8rem; font-weight: 700; margin-left: 6px; padding: 2px 8px; border-radius: 999px; }
.req { background: #FFE2D6; color: #8A2A08; } .opt { background: var(--cream-2); color: var(--navy-soft); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea { width: 100%; min-height: 56px; padding: 12px 16px; border: 3px solid var(--navy-soft); border-radius: 18px; background: var(--white); font: 600 1.1rem var(--body); color: var(--navy); }
textarea { resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
[aria-invalid="true"] { border-color: #B3261E !important; }
.err { color: #B3261E; font-weight: 800; margin: 6px 0 0; }
.hint { color: var(--navy-soft); font-size: .98rem; margin: 6px 0 0; } .hint.block { margin-bottom: 16px; }
.choice-group { margin-bottom: 22px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices.stack { flex-direction: column; }
.choice { position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 18px; background: var(--white); border: 3px solid var(--line); border-radius: 18px; cursor: pointer; margin: 0; font-weight: 700; }
.choice input { width: 26px; height: 26px; accent-color: var(--coral); flex: none; margin: 0; }
.choice:has(input:checked) { border-color: var(--coral); background: #FFF1E8; }
.choice:has(input:focus-visible) { outline: 3px solid var(--navy); outline-offset: 2px; }
.choice b { color: var(--coral-ink); }
.choice.qty { cursor: default; justify-content: space-between; flex-wrap: wrap; }
.choice.qty label { margin: 0; flex: 1 1 200px; }
.choice.qty input { width: 90px; height: 48px; min-height: 48px; flex: none; }
.photo-block { background: var(--white); border: 2px solid var(--line); border-radius: 20px; padding: 18px; margin-bottom: 18px; }
.file-in { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.file-btn { display: inline-flex; align-items: center; min-height: 56px; padding: 10px 22px; border: 3px dashed var(--coral-ink); border-radius: 18px; color: var(--coral-ink); cursor: pointer; margin-bottom: 12px; }
.file-in:focus-visible + .thumbs, .file-in:focus-visible ~ .x { outline: none; }
.photo-block:focus-within .file-btn { outline: 3px solid var(--navy); outline-offset: 2px; }
.thumbs { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.thumbs li { position: relative; width: 92px; height: 92px; }
.thumbs img { width: 92px; height: 92px; object-fit: cover; border-radius: 14px; border: 2px solid var(--line); }
.thumbs button { position: absolute; top: -8px; right: -8px; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--white); background: var(--navy); color: #fff; font: 800 1rem var(--body); cursor: pointer; }
.member-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.member-head h3 { margin: 0; }
.link-btn { background: none; border: 0; color: var(--coral-ink); font: 800 1rem var(--body); text-decoration: underline; min-height: 44px; padding: 0 8px; cursor: pointer; }
.totals { background: var(--white); border: 3px solid var(--navy); border-radius: 20px; padding: 18px 20px; margin: 8px 0 24px; }
.totals > div { display: flex; justify-content: space-between; padding: 6px 0; font-size: 1.15rem; }
.totals strong { font: 700 1.5rem var(--display); }
.review { background: var(--white); border: 2px solid var(--line); border-radius: 20px; padding: 18px 20px; }
.review dl { margin: 0; display: grid; gap: 10px; }
.review dt { font-weight: 800; color: var(--navy-soft); font-size: .92rem; text-transform: uppercase; letter-spacing: .06em; }
.review dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.form-nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 22px; }
.form-nav .btn { flex: 1 1 160px; }

/* FAQ */
details { background: var(--white); border: 2px solid var(--line); border-radius: 20px; margin-bottom: 12px; }
summary { cursor: pointer; padding: 18px 20px; font: 600 1.2rem var(--display); min-height: 56px; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.8rem; color: var(--coral-ink); line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p { padding: 0 20px 6px; margin: 0 0 14px; color: var(--navy-soft); }

/* Footer */
.site-footer { background: var(--navy); color: #fff; padding-top: 36px; }
.site-footer a { color: #FFD9C7; }
.foot-row { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.foot-brand { font: 700 1.4rem var(--display); margin: 0 0 4px; }
.site-footer .fine { color: #C9D2E6; }
.site-footer nav a { margin-right: 18px; font-weight: 800; }

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

@media (min-width: 960px) {
  .cards-inside li:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; }
  .cards-inside li:last-child .card-pic { margin: 0; aspect-ratio: 1; }
}

@media (min-width: 960px) {
  .cards-icon { grid-template-columns: repeat(6, 1fr); }
  .cards-icon > li { grid-column: span 2; }
  .cards-icon > li:nth-child(n+4) { grid-column: span 3; }
}

.choice small { display: block; font-weight: 600; color: var(--navy-soft); }
.section { padding: 64px 0; }
.section h2 { margin-bottom: .45em; }
@media (min-width: 900px) { .section { padding: 80px 0; } }
@media (min-width: 960px) {
  .cards-inside li:last-child { grid-template-rows: 1fr 1fr; row-gap: 4px; }
  .cards-inside li:last-child .card-pic { grid-row: 1 / span 2; }
  .cards-inside li:last-child h3 { align-self: end; }
  .cards-inside li:last-child p { align-self: start; }
}

/* Second language notice and total lines */
.lang-notice { background: var(--coral); color: var(--navy); border: 3px solid var(--navy); border-radius: 18px; padding: 14px 18px; margin: 4px 0 16px; font-weight: 800; font-size: 1.1rem; }
.lang-notice[hidden] { display: none !important; }
.lines { list-style: none; margin: 0 0 10px; padding: 0 0 10px; border-bottom: 2px dashed var(--line); }
.lines:empty { display: none; }
.lines li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; font-size: 1rem; }
.lines li span:last-child { font-weight: 800; white-space: nowrap; }

/* Legal pages */
.legal { padding: 40px 0 72px; }
.legal h1 { font-size: clamp(2rem, 7vw, 3rem); }
.legal h2 { font-size: 1.45rem; margin: 1.8em 0 .4em; }
.legal p, .legal li { color: var(--navy); }
.legal ul { padding-left: 1.3em; margin: 0 0 1em; }
.legal li { margin-bottom: .4em; }
.notice { background: var(--sun); border: 3px solid var(--navy); border-radius: 20px; padding: 16px 20px; margin: 18px 0 26px; font-weight: 700; }
.notice p { margin: 0 0 4px; }
.back-link { display: inline-block; margin-bottom: 8px; font-weight: 800; }

/* Star band: page color so the illustration's cream background blends in */
.star-band { background: var(--cream); padding: 56px 0 32px; }
.star-grid { display: grid; gap: 28px; align-items: center; }
.star-fig { margin: 0; text-align: center; }
.star-fig img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; background: transparent; }
.star-fig figcaption { margin-top: 10px; font-size: .98rem; color: var(--navy-soft); }
@media (min-width: 900px) { .star-grid { grid-template-columns: 1fr 1.25fr; gap: 48px; } .star-band { padding: 72px 0 40px; } }

.pets-block { margin-top: 28px; padding-top: 20px; border-top: 2px dashed var(--line); }
.pets-block h3 { margin-bottom: .3em; }

.pet-notice { background: var(--sun); border: 3px solid var(--navy); border-radius: 18px; padding: 14px 18px; margin: 0 0 18px; font-weight: 700; }
.pet-notice[hidden] { display: none !important; }
.pet-notice p { margin: 0 0 10px; }
.pet-notice .err { color: #8A1C14; }
.pet-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pet-actions .btn { flex: 1 1 180px; }

/* Pricing comparison */
.edition-heads { --lab: 0px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 32px; align-items: stretch; }
.eh { position: relative; background: var(--white); border: 3px solid var(--line); border-radius: 20px; padding: 14px 8px 12px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.eh.featured { border-color: var(--coral); background: #FFF1E8; box-shadow: var(--shadow); padding-top: 20px; }
.eh h3 { font-size: 1.05rem; margin: 0; }
.eh .price { font: 700 1.8rem var(--display); margin: 0; }
.eh .time { font-size: .78rem; font-weight: 800; color: var(--teal-ink); margin: 0 0 8px; line-height: 1.25; }
.eh .btn { margin-top: auto; min-height: 44px; padding: 6px 12px; font-size: .95rem; width: 100%; box-shadow: none; }
.eh .flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .68rem; padding: 3px 10px; }
.eh-long { display: none; }
.flag-short { display: none; }
.eh .btn { white-space: nowrap; }
.compare-wrap { margin-top: 18px; }
table.compare { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; background: var(--white); border: 2px solid var(--line); border-radius: 20px; font-size: .86rem; }
.compare th, .compare td { padding: 12px 6px; text-align: center; vertical-align: middle; border-bottom: 1px solid var(--line); line-height: 1.3; }
.compare tbody th { text-align: left; font-weight: 700; padding-left: 12px; width: 40%; }
.compare tbody tr:nth-child(even) > * { background: #FFFBF4; }
.compare thead th { position: sticky; top: 68px; z-index: 5; background: var(--white); font: 700 .95rem var(--display); border-bottom: 2px solid var(--navy); padding: 10px 4px; }
.compare thead th:first-child { width: 40%; }
.compare .th-price { display: block; font: 700 .85rem var(--body); color: var(--navy-soft); }
.compare th:nth-child(3), .compare td:nth-child(3) { background: #FFF1E8 !important; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.updated { font-weight: 700; color: var(--navy-soft); margin: 0 0 1.4em; }
@media (max-width: 479px) {
  .flag-long { display: none; }
  .flag-short { display: inline; }
  .compare thead th { font-size: .82rem; padding: 8px 2px; }
  .compare .th-price { font-size: .75rem; }
  .compare th.col-family + th { padding-right: 6px; }
  table.compare { font-size: .8rem; }
  .compare tbody th { padding-left: 8px; }
}
@media (min-width: 900px) { .eh-long { display: inline; } }
.yes { display: inline-flex; align-items: center; justify-content: center; }
.no { color: #6B7590; font-size: 1.4rem; font-weight: 700; }
.val { font-weight: 800; font-size: .82rem; }
@media (min-width: 760px) {
  .edition-heads { --lab: 36%; grid-template-columns: 36% repeat(3, 1fr); gap: 0 14px; }
  .edition-heads::before { content: ""; }
  .edition-heads .eh:first-child { grid-column: 2; }
  .eh h3 { font-size: 1.35rem; } .eh .price { font-size: 2.6rem; } .eh .time { font-size: .95rem; }
  .eh .flag { font-size: .85rem; padding: 4px 14px; }
  table.compare { font-size: 1.02rem; }
  .compare th, .compare td { padding: 16px 10px; }
  .compare tbody th { width: 36%; padding-left: 20px; }
  .compare thead th:first-child { width: 36%; }
  .compare thead th { top: 76px; font-size: 1.1rem; }
  .val { font-size: .95rem; }
  .yes svg { width: 26px; height: 26px; }
}

.foot-brand { display: flex; align-items: center; gap: 10px; }
.site-footer .brand-mark { width: 40px; height: 40px; }

.addon-note { display: block; font-size: .88rem; color: var(--navy-soft); font-weight: 600; margin-top: 2px; max-width: 34em; }
.addons li { align-items: flex-start; }
.table-note { margin-top: 12px; }
.choice small { white-space: normal; }
