/* EquaCross site. Brand tokens match play/index.html. */
@font-face { font-family: "Nunito Sans"; font-weight: 400; font-display: swap; src: url(fonts/nunito-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 600; font-display: swap; src: url(fonts/nunito-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 700; font-display: swap; src: url(fonts/nunito-sans-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 800; font-display: swap; src: url(fonts/nunito-sans-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 600; font-display: swap; src: url(fonts/fraunces-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 700; font-display: swap; src: url(fonts/fraunces-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 900; font-display: swap; src: url(fonts/nunito-sans-latin-900-normal.woff2) format("woff2"); }

:root {
  /* palette (brand guide) */
  --forest: #193B2C; --coral: #C83C30; --sage: #E2EBD6; --cream: #FFF8E8; --blue: #91B9D8;
  /* derived */
  --forest-ink: #193B2C; --coral-press: #A93127; --coral-soft: #F6D2CE; --sage-deep: #C9D9B8; --sage-line: #D3E0C4;
  --bg: #FBF9F3; --card: #FFFFFF; --line: #E3E8DA; --ink: #193B2C; --muted: #52665A;
  --tile: #FFF8E8; --tile-edge: #E2D3AE; --tile-ink: #193B2C; --tile-new: #FFF1C7;
  --ok: #2E7D4F;
  --f-head: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 10px; --r-md: 16px; --r-lg: 22px;
  --sh-card: 0 1px 0 rgba(25, 59, 44, .04), 0 10px 30px -18px rgba(25, 59, 44, .28);
  --sh-tile: 0 .1em 0 var(--tile-edge), 0 .18em .32em rgba(25, 59, 44, .22);
  --max: 1140px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --forest-ink: #E6EFDC; --coral: #E8584B; --coral-press: #C83C30; --coral-soft: #4A2620; --sage: #16251C; --sage-deep: #24382B; --sage-line: #24382B;
    --bg: #0E1C15; --card: #142219; --line: #26392D; --ink: #E6EFDC; --muted: #9DB09F;
    --tile: #FFF8E8; --tile-edge: #C9B88B; --tile-ink: #193B2C; --tile-new: #FFE9A6;
    --ok: #6CC690;
    --sh-card: 0 10px 30px -18px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; touch-action: manipulation; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--f-body); }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--coral) 60%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--coral); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 12px; }

/* logo light / dark */
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) { .logo-light { display: none; } .logo-dark { display: block; } }

/* header */
.site-head { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 36px; width: auto; }
.brand .brand-mark { height: 34px; }
.site-foot .brand img { height: 30px; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { text-decoration: none; font-weight: 700; font-size: .95rem; padding: 8px 12px; border-radius: 10px; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--sage); }
@media (max-width: 640px) { .nav .hide-sm { display: none; } .brand img { height: 28px; } .brand .brand-mark { height: 28px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 800 1rem var(--f-body); text-decoration: none; padding: 12px 20px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; transition: transform .12s, box-shadow .12s, filter .12s; box-shadow: 0 2px 0 var(--line); }
.btn:hover { color: var(--ink); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); box-shadow: 0 0 0 var(--line); }
.btn.primary { background: var(--coral); border-color: var(--coral); color: #fff; box-shadow: 0 3px 0 var(--coral-press); }
.btn.primary:hover { filter: brightness(1.05); color: #fff; }
.btn.primary:active { box-shadow: 0 0 0 var(--coral-press); transform: translateY(3px); }
.btn.big { font-size: 1.08rem; padding: 15px 26px; border-radius: 14px; }
.nav .btn { padding: 8px 16px; font-size: .95rem; color: #fff; margin-left: 6px; }
.nav .btn:hover { background: var(--coral); color: #fff; }
.soon { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--muted); font-size: .95rem; }
.soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }

/* type */
/* type scale: hero 40-68px, section 30-42px, card 18-20px, body 17px */
h1, h2, h3 { font-family: var(--f-head); color: var(--forest-ink); text-wrap: balance; margin: 0; line-height: 1.08; }
h1 { font-weight: 600; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -.025em; }
h2 { font-weight: 600; font-size: clamp(1.85rem, 3.6vw, 2.6rem); letter-spacing: -.02em; }
h3 { font-family: var(--f-body); font-weight: 800; font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0; }
.lede { font-size: clamp(1.1rem, 2.2vw, 1.28rem); color: var(--muted); max-width: 34ch; }
.eyebrow { font: 800 .78rem var(--f-body); text-transform: uppercase; letter-spacing: .14em; color: var(--coral); }
.num { font-family: var(--f-body); font-weight: 900; font-variant-numeric: tabular-nums; }
.op { color: var(--coral); }

/* tiles */
.tiles { display: flex; gap: 6px; flex-wrap: wrap; padding-bottom: .2em; }
.t { width: 2.3em; height: 2.4em; border-radius: .34em; background: linear-gradient(180deg, #FFFCF3, var(--tile)); color: var(--tile-ink); box-shadow: var(--sh-tile), inset 0 0 0 1px rgba(25, 59, 44, .06); display: grid; place-items: center; font: 900 1em var(--f-body); position: relative; }
.t small { position: absolute; right: .3em; bottom: .2em; font-size: .36em; opacity: .6; font-weight: 800; }
.t.gap { background: transparent; box-shadow: inset 0 0 0 2px var(--sage-deep); }
.t.new { background: linear-gradient(180deg, #FFF8DA, var(--tile-new)); box-shadow: var(--sh-tile), 0 0 0 2px var(--coral); }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background-color: var(--sage); background-image: linear-gradient(var(--sage-line) 1.5px, transparent 1.5px), linear-gradient(90deg, var(--sage-line) 1.5px, transparent 1.5px); background-size: 34px 34px; background-position: -1px -1px; }
@media (prefers-color-scheme: light) { .hero { background-color: #E6EEDB; background-image: linear-gradient(rgba(25,59,44,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(25,59,44,.055) 1px, transparent 1px); background-size: 30px 30px; } }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: center; padding-block: clamp(28px, 4.5vw, 56px); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; } .hero-art { justify-self: center; width: min(94%, 380px); } }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero .lede { max-width: 44ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin-top: 4px; }

/* hero illustration: a flat sage board with three big raised tiles stepping down it */
.hero-art { margin: 0; position: relative; justify-self: end; width: min(100%, 560px); aspect-ratio: 1.12 / 1; filter: drop-shadow(0 26px 40px rgba(25, 59, 44, .22)); }
.hero-board { position: absolute; left: 12%; right: 0; top: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(5, 1fr); gap: 0; background: #B9D4A8; border-radius: 28px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(25,59,44,.06); }
.hero-board i { background: #DCEBCF; box-shadow: inset 0 0 0 .5px rgba(25,59,44,.05); }
.hero-board i.cm { background: #A9CC98; }
.hero-board i.cb { background: #8DC0EA; }
.hero-board i.cc { background: #F08C7E; }
@media (prefers-color-scheme: dark) { .hero-board { background: #1E3227; } .hero-board i { background: #284034; } .hero-board i.cm { background: #2F4A3B; } .hero-board i.cb { background: #4E7593; } .hero-board i.cc { background: #9A4A40; } }
.ht { position: absolute; width: 36%; aspect-ratio: 1; border-radius: 17%; display: grid; place-items: center; font: 900 clamp(4.2rem, 11.5vw, 7.6rem)/1 var(--f-body); color: var(--forest); letter-spacing: 0;
  background: linear-gradient(155deg, #FFFFFB 0%, #FFF8E8 50%, #F3E7CB 100%);
  box-shadow: inset 0 3px 0 rgba(255,255,255,.95), inset 0 -4px 0 rgba(190, 168, 116, .35), inset 3px 0 0 rgba(255,255,255,.5), 0 10px 0 #D6C394, 0 12px 0 #BFA977, 0 22px 26px -6px rgba(25, 59, 44, .45), 0 40px 50px -20px rgba(25, 59, 44, .35);
  animation: settle .6s cubic-bezier(.2, .9, .3, 1.2) both; }
.ht1 { left: 0; top: 16%; rotate: -12deg; }
.ht2 { left: 31%; top: 37%; rotate: 8deg; animation-delay: .07s; }
.ht3 { left: 62%; top: 51%; rotate: -6deg; animation-delay: .14s; }
@keyframes settle { from { opacity: 0; translate: 0 -24px; } to { opacity: 1; translate: 0 0; } }
.hero-art .spark { position: absolute; width: 20%; left: 43%; top: 9%; rotate: 2deg; z-index: 1; }
@media (max-width: 520px) { .ht { font-size: clamp(3.4rem, 18vw, 5.4rem); } }

/* feature cards */
.features { background: var(--bg); }
.feature-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding-block: clamp(20px, 3vw, 32px) clamp(28px, 4vw, 44px); }
@media (max-width: 900px) { .feature-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .feature-row { gap: 10px; } .feature { padding: 18px 10px 16px; } .feature svg { width: 46px; height: 46px; } }
.feature { background: #FFFEFB; border: 1px solid #E2E6DA; border-radius: 16px; padding: 24px 16px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; box-shadow: 0 1px 2px rgba(25,59,44,.04), 0 8px 22px -14px rgba(25,59,44,.22); min-width: 0; transition: transform .15s, box-shadow .15s; }
.feature:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(25,59,44,.04), 0 14px 28px -14px rgba(25,59,44,.3); }
.feature svg { width: 56px; height: 56px; margin-bottom: 10px; }
.feature h3 { font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; }
.feature p { color: var(--muted); font-size: .95rem; line-height: 1.4; max-width: 24ch; text-wrap: balance; }

/* demo */
.demo { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 32px); box-shadow: var(--sh-card); display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.demo .tiles { font-size: clamp(18px, 4.6vw, 28px); min-height: 2.7em; }
.demo .t { transition: transform .35s cubic-bezier(.2, .9, .3, 1.3), background .3s; }
.demo .t.drop { animation: drop .45s cubic-bezier(.2, .9, .3, 1.3); }
@keyframes drop { from { transform: translateY(-1.2em) scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
.demo-eq { font: 900 clamp(1.4rem, 4vw, 2rem) var(--f-body); min-height: 1.4em; display: flex; flex-wrap: wrap; gap: .3em; align-items: baseline; }
.demo-eq .v { color: var(--ok); font-size: .62em; font-weight: 800; }
.demo-note { color: var(--muted); font-size: .98rem; min-height: 3.2em; }
.demo-steps { display: flex; gap: 6px; }
.demo-steps button { width: 28px; height: 6px; border-radius: 3px; border: 0; background: var(--line); cursor: pointer; padding: 0; }
.demo-steps button[aria-current="true"] { background: var(--coral); }

/* sections */
.section { padding-block: clamp(40px, 6vw, 72px); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: clamp(28px, 5vw, 44px); max-width: 680px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 720px) { .modes { grid-template-columns: minmax(0, 1fr); } }
.mode { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; min-width: 0; box-shadow: var(--sh-card); }
.mode-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mode-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--sage); }
.mode-icon svg { width: 34px; height: 34px; }
.mi-trophy, .mi-calendar { background: #FBE3DF; }
.mi-people { background: #E4EEF7; }
@media (prefers-color-scheme: dark) { .mode-icon, .mi-trophy, .mi-calendar, .mi-people { background: #1D3026; } }
.mode p { color: var(--muted); font-size: 1rem; line-height: 1.5; }
.mode .tag { align-self: flex-start; font: 800 .7rem var(--f-body); text-transform: uppercase; letter-spacing: .1em; color: #A93127; }
@media (prefers-color-scheme: dark) { .mode .tag { color: #FF9C90; } }
@media (max-width: 420px) { .mode { grid-template-columns: 44px minmax(0, 1fr); padding: 18px; gap: 12px; } .mode-icon { width: 44px; height: 44px; } .mode-icon svg { width: 28px; height: 28px; } }
@media (prefers-color-scheme: dark) { .mode .tag { color: #FFB3A9; } }
.pills { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.pill { font: 700 .82rem var(--f-body); padding: 4px 10px; border-radius: 999px; background: var(--sage); color: var(--ink); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 72px); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: minmax(0, 1fr); } }
.split .copy { display: flex; flex-direction: column; gap: 16px; }
.split .copy p { color: var(--muted); font-size: 1.08rem; }
.result { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; font-weight: 800; display: flex; flex-direction: column; gap: 8px; max-width: 360px; box-shadow: var(--sh-card); }
.result .ex-tag { align-self: flex-start; font: 800 .68rem var(--f-body); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); background: var(--sage); padding: 3px 8px; border-radius: 999px; }
.result .sq { font-size: 1.6rem; letter-spacing: .1em; }
.result .meta { color: var(--muted); font-size: .92rem; font-weight: 600; }

.bench { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--sh-card); }
.bench .screen { border-radius: 12px; padding: 12px 10px 14px; display: flex; gap: 4px; flex-wrap: wrap; align-items: center; font-size: 18px; background: var(--sage); }
.bench .t.dark { background: var(--forest); color: var(--cream); box-shadow: 0 .1em 0 #0B1F16, 0 .18em .32em rgba(0,0,0,.25); }
.bench .t.mine { background: linear-gradient(180deg, #FFF8DA, var(--tile-new)); box-shadow: var(--sh-tile), 0 0 0 2px var(--coral); }
.bench .sym { font: 900 1.2rem var(--f-body); color: var(--coral); padding: 0 2px; }
.bench .check { color: var(--ok); font-weight: 700; }

.scoring { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 720px) { .scoring { grid-template-columns: minmax(0, 1fr); } }
.score-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--sh-card); border-top: 4px solid var(--coral); }
.score-card p { color: var(--muted); }

.cta-band { background: var(--forest); color: var(--cream); }
.cta-band .wrap { padding-block: clamp(48px, 8vw, 80px); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-band h2 { max-width: 18ch; color: var(--cream); }
.cta-band .btn { background: var(--coral); color: #fff; border-color: var(--coral); box-shadow: 0 3px 0 #7E241C; font-size: 1.08rem; padding: 15px 26px; }
.cta-band .btn:hover { color: #fff; filter: brightness(1.06); }
@media (prefers-color-scheme: dark) { .cta-band { background: #122A1F; border-block: 1px solid var(--line); } }

/* docs pages */
.doc-hero { border-bottom: 1px solid var(--line); background-color: var(--sage); background-image: linear-gradient(rgba(255,255,255,.6) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(255,255,255,.6) 1.5px, transparent 1.5px); background-size: 34px 34px; }
@media (prefers-color-scheme: dark) { .doc-hero { background-image: none; } }
.doc-hero .wrap { padding-block: clamp(40px, 7vw, 72px); display: flex; flex-direction: column; gap: 12px; }
.doc-hero p { color: var(--muted); font-size: 1.1rem; max-width: 60ch; }
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; padding-block: clamp(36px, 6vw, 64px); }
@media (max-width: 860px) { .doc { grid-template-columns: minmax(0, 1fr); gap: 24px; } .toc { position: static !important; } }
.toc { position: sticky; top: 88px; align-self: start; display: flex; flex-direction: column; gap: 2px; font-size: .94rem; }
.toc a { text-decoration: none; color: var(--muted); padding: 5px 0; font-weight: 600; }
.toc a:hover { color: var(--coral); }
.toc strong { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }
.prose { max-width: 70ch; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-top: 28px; scroll-margin-top: 88px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 10px; scroll-margin-top: 88px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; }
.prose .note { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--coral); border-radius: 12px; padding: 14px 16px; }
.prose .example { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; display: flex; flex-direction: column; gap: 12px; font-size: 20px; box-shadow: var(--sh-card); }
.prose .example .eqline { font: 900 1rem var(--f-body); }
.prose .example p { font-size: 1rem; color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
table { border-collapse: collapse; width: 100%; font-size: .98rem; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--card); }
tr:last-child td { border-bottom: 0; }
td.num { font-variant-numeric: tabular-nums; }
.sw { display: inline-grid; place-items: center; width: 34px; height: 24px; border-radius: 5px; font: 800 .72rem var(--f-body); color: #193B2C; }
.updated { color: var(--muted); font-size: .95rem; }

.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 800; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 900 1.2rem var(--f-body); color: var(--coral); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding-bottom: 16px; color: var(--muted); display: flex; flex-direction: column; gap: 10px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--sh-card); }
.mail { font: 900 clamp(1.1rem, 3vw, 1.4rem) var(--f-body); overflow-wrap: anywhere; }
.copy-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* footer */
.site-foot { border-top: 1px solid var(--line); background: var(--sage); padding-bottom: env(safe-area-inset-bottom, 0px); }
.site-foot .wrap { padding-block: 40px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
.foot-links { display: flex; gap: 8px 22px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; color: var(--muted); font-weight: 700; }
.foot-links a:hover { color: var(--coral); }
.fine { color: var(--muted); font-size: .9rem; }

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

/* ================= homepage (daily-first) ================= */
.nav .nav-login { color: var(--ink); }
@media (max-width: 640px) { .nav .nav-login { padding: 8px 6px; } }
@media (max-width: 440px) { .nav { flex-wrap: nowrap; } .nav .nav-login { display: none; } }
.btn.pill { border-radius: 999px; }
.site-head .nav .btn { border-radius: 999px; padding: 9px 20px; }
.btn.primary { background: linear-gradient(180deg, #E0574A, var(--coral)); }
.btn.dark { background: #123E34; border-color: #123E34; color: #FFF8EB; box-shadow: 0 3px 0 #0A251E; }
.btn.dark:hover { color: #FFF8EB; filter: brightness(1.12); }
.btn.ghost { background: transparent; border: 1.5px solid var(--forest-ink); box-shadow: none; }
.btn.ghost:hover { background: var(--card); }
@media (prefers-color-scheme: dark) { .btn.dark { background: #E6EFDC; border-color: #E6EFDC; color: #0E1C15; box-shadow: 0 3px 0 #9DB09F; } .btn.dark:hover { color: #0E1C15; } }
body[data-page="home"] .eyebrow { color: #2E6B4F; letter-spacing: .16em; }
body[data-page="home"] .h-card-game .eyebrow { color: var(--coral); }
@media (prefers-color-scheme: dark) { body[data-page="home"] .eyebrow { color: #8FCBA6; } }
body[data-page="home"] h1, body[data-page="home"] h2 { color: #123E34; }
@media (prefers-color-scheme: dark) { body[data-page="home"] h1, body[data-page="home"] h2 { color: var(--forest-ink); } }
body[data-page="home"] main { background: #FBF8EF; }
@media (prefers-color-scheme: dark) { body[data-page="home"] main { background: var(--bg); } }

/* hero */
.h-hero { position: relative; overflow: hidden; }
.h-leaf { position: absolute; pointer-events: none; user-select: none; height: auto; }
.h-leaf-l { left: 0; bottom: -40px; width: clamp(110px, 11vw, 210px); }
.h-leaf-r { right: 0; bottom: -30px; width: clamp(120px, 13vw, 230px); }
@media (prefers-color-scheme: dark) { .h-leaf { opacity: .25; } }
@media (max-width: 920px) { .h-leaf-r { display: none; } .h-leaf-l { width: 110px; opacity: .5; } }
.h-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr); gap: clamp(24px, 3.5vw, 48px); align-items: center; padding-block: clamp(28px, 4vw, 48px) clamp(40px, 5vw, 64px); }
@media (max-width: 960px) { .h-hero-in { grid-template-columns: minmax(0, 1fr); } }
.h-copy { display: flex; flex-direction: column; gap: 18px; }
.h-copy h1 { font-size: clamp(2.7rem, 5.3vw, 4.25rem); line-height: .98; letter-spacing: -.03em; }
.h-copy .lede { max-width: 34ch; color: var(--ink); font-size: clamp(1.08rem, 1.6vw, 1.22rem); line-height: 1.45; }
.h-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 8px; }
.h-cta .btn { min-width: min(100%, 300px); padding-block: 16px; }
.h-cta .fine { align-self: stretch; max-width: 300px; text-align: center; }

/* demo card: looks like the game's daily screen */
.h-demo-wrap { position: relative; }
.h-foliage { position: absolute; right: -12%; bottom: -18%; width: 70%; height: auto; z-index: 0; pointer-events: none; }
@media (prefers-color-scheme: dark) { .h-foliage { opacity: .2; } }
@media (max-width: 960px) { .h-foliage { display: none; } }
.h-demo { position: relative; z-index: 1; margin: 0; background: var(--card); border: 1px solid #ECE7DA; border-radius: 22px; box-shadow: 0 34px 60px -34px rgba(18,62,52,.45), 0 2px 6px rgba(18,62,52,.06); padding: clamp(12px, 2vw, 20px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.h-demo-top { display: flex; gap: 8px; align-items: center; }
.h-demo-brand { display: inline-flex; align-items: center; gap: 6px; margin-right: auto; flex: none; }
.h-demo-brand img { height: 22px; width: auto; }
.h-demo-brand .logo-light, .h-demo-brand .logo-dark { height: 20px; }
.h-chip { flex: 0 0 auto; min-width: 64px; border: 1.5px solid var(--line); border-radius: 11px; padding: 5px 9px 6px; display: flex; flex-direction: column; background: var(--card); }
.h-chip small { font: 800 .56rem var(--f-body); text-transform: uppercase; letter-spacing: .07em; color: #123E34; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-chip b { font: 900 1.1rem/1.15 var(--f-body); font-variant-numeric: tabular-nums; }
.h-chip.on { border-color: var(--coral); box-shadow: 0 0 0 3px color-mix(in srgb, var(--coral) 14%, transparent); }
.h-chip.on small { color: var(--coral); }
@media (prefers-color-scheme: dark) { .h-chip small { color: var(--muted); } }
@media (max-width: 1100px) { .h-demo-brand .logo-light, .h-demo-brand .logo-dark { display: none !important; } }
@media (max-width: 560px) { .h-demo-brand { display: none; } .h-chip { flex: 1 1 0; min-width: 0; } }
.h-demo-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(14px, 2vw, 22px); align-items: stretch; }
@media (max-width: 560px) { .h-demo-body { grid-template-columns: minmax(0, 1fr); } }
/* board: a close-up of the 13 by 13 grid, edges fading out */
.h-board { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); align-content: start; background: #EEF4E8; border: 1.5px solid #C9DABB; border-radius: 14px; font-size: clamp(23px, 3.5vw, 37px); overflow: visible; }
.h-board::before { content: ""; position: absolute; inset: 0; border-radius: 13px; pointer-events: none; z-index: 2; box-shadow: inset 0 0 14px 5px #F6F9F2; }
.h-board .dc { aspect-ratio: 1; border: 0; border-right: 1px solid #D4E2C8; border-bottom: 1px solid #D4E2C8; display: grid; place-items: center; position: relative; background: transparent; padding: 0; margin: 0; font: inherit; color: inherit; }
.h-board .dc:nth-child(6n) { border-right: 0; }
.h-op { position: absolute; z-index: 4; transform: translate(-50%, -50%); display: grid; place-items: center; font-size: .95em; color: #C83C30; text-shadow: 0 0 .08em #FFFDF6, 0 0 .08em #FFFDF6, 0 0 .14em #FFFDF6, 0 0 .2em #FFF6E0; font-weight: 900; line-height: 1; pointer-events: none; animation: hOpIn .3s ease both; }
@keyframes hOpIn { from { opacity: 0; transform: translate(-50%, -50%) scale(.6); } }
@media (prefers-reduced-motion: reduce) { .h-op { animation: none; } }
.h-board .dc:nth-child(n+31) { border-bottom: 0; }
.h-board .dc.tg { cursor: pointer; }
.h-board .dc.tg::after { content: ""; position: absolute; inset: 2px; border: 2px solid var(--coral); background: #F9DED8; border-radius: 6px; transition: box-shadow .2s; }
.h-board .dc.tg.filled::after { display: none; }
.h-board .dc.tg.next::after { box-shadow: 0 0 0 4px color-mix(in srgb, var(--coral) 30%, transparent); animation: glow 1.1s ease-in-out infinite; background: #FCEBE7; }
@keyframes glow { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--coral) 12%, transparent); } }
.h-board .dc.ok { background: #D3EDD9; }
@media (prefers-color-scheme: dark) { .h-board { background: #1C2E23; border-color: #2C4436; } .h-board::before { box-shadow: inset 0 0 14px 5px #1C2E23; } .h-board .dc { border-color: #2C4436; } .h-board .dc.tg::after { background: #4A2620; } .h-board .dc.ok { background: #1F4A30; } }
.dt { width: 88%; aspect-ratio: 1; border-radius: 18%; border: 0; padding: 0; background: linear-gradient(180deg, #FFFDF6, #FFF6E0); color: #123E34; box-shadow: 0 .09em 0 #E0CFA4, 0 .16em .3em rgba(25,59,44,.2), inset 0 0 0 1px rgba(25,59,44,.06); display: grid; place-items: center; font: 900 1em/1 var(--f-body); position: relative; z-index: 1; }
.dt small { position: absolute; right: .2em; bottom: .12em; font-size: .38em; font-weight: 800; color: #625A47; }
.dt.placed { background: linear-gradient(180deg, #FFF8DA, #FFF1C7); }
.h-rack { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; font-size: clamp(22px, 2.4vw, 28px); }
.h-rack .dt { width: 100%; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.h-rack .dt:disabled { cursor: default; }
.dt.lift { transform: translateY(-6px); box-shadow: 0 .09em 0 #E0CFA4, 0 .5em .8em rgba(25,59,44,.25), 0 0 0 3px var(--coral); }
.dt.hint { animation: hop 1.1s ease-in-out infinite; }
@keyframes hop { 50% { transform: translateY(-4px); } }
.dt.no { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.dt.gone { visibility: hidden; }
.dt.fly { position: fixed; z-index: 30; margin: 0; transition: transform .55s cubic-bezier(.3, .8, .3, 1); pointer-events: none; }
.h-burst { position: absolute; width: 1.6em; opacity: 0; z-index: 3; rotate: 28deg; pointer-events: none; }
.h-burst.show { animation: burst 1.4s ease-out both; }
@keyframes burst { 0% { opacity: 0; transform: scale(.5) translateY(8px); } 25% { opacity: 1; transform: scale(1.1); } 70% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
/* side: every slot has a fixed height, so nothing moves as the tutorial goes */
.h-side { display: grid; grid-template-rows: auto minmax(5.6em, auto) minmax(2.4rem, auto) auto auto auto; gap: 10px; min-width: 0; align-content: start; }
.h-step { font: 800 .74rem var(--f-body); text-transform: uppercase; letter-spacing: .12em; color: var(--coral); }
.h-coach { font: 700 1.02rem/1.4 var(--f-body); color: #123E34; }
@media (prefers-color-scheme: dark) { .h-coach { color: var(--ink); } }
.h-eqs { display: flex; gap: 6px; flex-wrap: wrap; align-content: flex-start; align-items: flex-start; }
.h-eq { display: inline-flex; align-items: center; gap: .28em; font: 900 1rem var(--f-body); color: #123E34; background: #fff; border: 1.5px solid #9CCBA8; border-radius: 999px; padding: .3em .75em; box-shadow: 0 8px 18px -10px rgba(25,59,44,.5); white-space: nowrap; animation: pop .35s ease-out both; }
.h-eq .op { color: var(--coral); }
.h-eq .ok { color: var(--ok); font-size: .85em; margin-left: .15em; }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.95); } to { opacity: 1; transform: none; } }
.h-act { display: grid; }
.h-act > * { grid-area: 1 / 1; }
.h-check { width: 100%; padding: 13px; border-radius: 12px; font-size: 1.05rem; }
.h-check:disabled { opacity: .45; cursor: default; transform: none; filter: saturate(.6); }
.h-check.next { animation: glowbtn 1.1s ease-in-out infinite; }
@keyframes glowbtn { 50% { box-shadow: 0 3px 0 var(--coral-press), 0 0 0 6px color-mix(in srgb, var(--coral) 22%, transparent); } }
.h-go { visibility: hidden; }
.h-demo.solved .h-go { visibility: visible; }
.h-demo.solved #hdCheck { visibility: hidden; }
.h-foot { display: flex; justify-content: space-between; gap: 10px; font-size: .86rem; }
.h-foot a { color: var(--muted); font-weight: 700; }
.h-replay { background: none; border: 0; color: var(--muted); font: 700 .86rem var(--f-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0; }
@media (max-width: 560px) { .h-side { grid-template-rows: auto minmax(4.4em, auto) minmax(2.4rem, auto) auto auto auto; } .h-rack { grid-template-columns: repeat(4, minmax(0, 64px)); font-size: 24px; gap: 10px; } .h-coach { font-size: .95rem; } }

/* strip */
.h-strip-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding-block: 22px 30px; }
.h-strip-in > div, .h-strip-in > a { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 4px 12px; }
.h-strip-in > * + * { border-left: 1px solid var(--line); }
.h-strip-in img { width: 58px; height: 58px; flex: none; }
.h-strip-in p { font-weight: 600; line-height: 1.35; color: var(--ink); }
@media (max-width: 820px) { .h-strip-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .h-strip-in > * { justify-content: flex-start; } .h-strip-in > *:nth-child(3) { border-left: 0; } }
@media (max-width: 400px) { .h-strip-in img { width: 44px; height: 44px; } .h-strip-in > * { gap: 10px; padding: 4px 6px; } .h-strip-in p { font-size: .92rem; } }

/* two cards */
.h-pair-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-bottom: clamp(36px, 5vw, 56px); }
@media (max-width: 900px) { .h-pair-in { grid-template-columns: minmax(0, 1fr); } }
.h-card { position: relative; border-radius: 22px; padding: clamp(22px, 3vw, 30px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 16px; align-items: center; overflow: hidden; min-width: 0; min-height: 260px; }
@media (max-width: 520px) { .h-card { grid-template-columns: minmax(0, 1fr); } }
.h-card-daily { background: linear-gradient(135deg, #EAF1E2, #E2ECD8); }
.h-card-game { background: linear-gradient(135deg, #FCEFE6, #F8E2D6); }
@media (prefers-color-scheme: dark) { .h-card-daily { background: #16271D; } .h-card-game { background: #2A1D19; } }
.h-card-copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.h-card-copy h2 { font-size: clamp(1.55rem, 2.4vw, 2rem); line-height: 1.08; }
.h-card-copy p { color: var(--ink); opacity: .8; font-size: .98rem; }
.h-card-copy .btn { margin-top: 6px; font-size: 1rem; padding: 12px 22px; }
.h-card-art { position: relative; }
.h-card-daily .h-card-art img { width: 100%; height: auto; display: block; border-radius: 12px; box-shadow: 0 18px 36px -22px rgba(25,59,44,.5); }
.h-card-daily .h-card-art::after { content: ""; position: absolute; left: -18%; right: -14%; bottom: -26%; height: 46%; background: url(home/foliage.webp) center bottom / contain no-repeat; pointer-events: none; }
@media (prefers-color-scheme: dark) { .h-card-daily .h-card-art::after { opacity: .3; } }
.h-card-game .h-card-art { align-self: stretch; }
.h-card-game .h-card-art img { position: absolute; right: -24%; top: 50%; width: 135%; max-width: none; height: auto; transform: translateY(-50%); }
@media (max-width: 520px) { .h-card-game .h-card-art { min-height: 220px; } .h-card-game .h-card-art img { position: static; width: 110%; transform: none; } }
.h-tag { position: absolute; top: 10px; right: 10px; background: var(--card); color: var(--ink); font: 900 .9rem var(--f-body); padding: 4px 10px; border-radius: 10px; border: 1.5px solid var(--line); z-index: 1; }

/* how it works: one panel, three columns */
.h-how { padding-block: clamp(24px, 4vw, 40px) clamp(36px, 5vw, 56px); }
.h-head { text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; margin-bottom: clamp(20px, 3vw, 28px); }
.h-steps { list-style: none; margin: 0; padding: clamp(16px, 2.4vw, 26px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--card); border: 1px solid #ECE7DA; border-radius: 22px; box-shadow: var(--sh-card); }
@media (max-width: 860px) { .h-steps { grid-template-columns: minmax(0, 1fr); } }
.h-steps li { display: grid; grid-template-columns: minmax(0, 1fr) 128px; gap: 12px; align-items: center; padding: 6px clamp(12px, 2vw, 24px); }
.h-steps li + li { border-left: 1px solid var(--line); }
@media (max-width: 860px) { .h-steps li + li { border-left: 0; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 10px; } }
.h-steps img { width: 128px; height: 128px; object-fit: contain; }
.h-steps .n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #2E6B4F; color: #fff; font: 800 1.05rem var(--f-body); margin-bottom: 10px; }
.h-steps h3 { margin-bottom: 4px; font-size: 1.02rem; }
.h-steps p { color: var(--muted); font-size: .9rem; line-height: 1.45; }
.h-more { text-align: center; margin-top: 18px; font-weight: 700; }

/* social panel */
.h-social { padding-bottom: clamp(28px, 4vw, 44px); }
.h-social-in { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, .8fr); gap: 20px; align-items: start; background: linear-gradient(135deg, #EEF3E6, #E6EEDC); border-radius: 24px; padding: clamp(22px, 3vw, 34px); }
@media (prefers-color-scheme: dark) { .h-social-in { background: #122019; } }
@media (max-width: 1000px) { .h-social-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .h-social-copy { grid-column: 1 / -1; } }
@media (max-width: 640px) { .h-social-in { grid-template-columns: minmax(0, 1fr); } }
.h-social-copy { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.h-social-copy h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.h-social-copy p { color: var(--ink); opacity: .82; font-size: 1.08rem; max-width: 42ch; }
.h-avs { display: flex; margin: 6px 0; }
.h-avs img { margin-left: -8px; width: clamp(44px, 4.8vw, 62px); height: auto; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 4px 10px -4px rgba(25,59,44,.3); background: #DCE7F0; }
.h-board-card, .h-streak, .h-ach { background: var(--card); border: 1px solid #ECE7DA; border-radius: 18px; padding: 16px 18px; box-shadow: var(--sh-card); }
.h-bc-head { margin-bottom: 6px; }
.h-bc-head b { font-size: .98rem; }
.h-ex-in { font-weight: 600; color: var(--muted); font-size: .8rem; }
.h-lb { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; }
.h-lb li { display: grid; grid-template-columns: 22px 32px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 8px; margin: 0 -8px; border-radius: 12px; }
.h-lb .nm { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.h-lb .rk { font: 900 .78rem var(--f-body); color: var(--muted); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; }
.h-lb .rk.r1 { background: #F2B84B; color: #fff; } .h-lb .rk.r2 { background: #A9B4B0; color: #fff; } .h-lb .rk.r3 { background: #C98A5B; color: #fff; }
.h-lb img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: #DCE7F0; }
.h-lb b { font-size: .9rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h-lb .dd { font-size: .76rem; color: var(--muted); white-space: nowrap; }
.h-lb .wk { display: flex; gap: 3px; }
.h-lb .wk i, .h-week i { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid #C5D3BC; display: grid; place-items: center; }
.h-lb .wk i.on, .h-week i.on { background: #2E7D4F; border-color: #2E7D4F; }
.h-lb .wk i.on::after, .h-week i.on::after { content: ""; width: 5px; height: 3px; border: solid #fff; border-width: 0 0 1.5px 1.5px; transform: translateY(-1px) rotate(-45deg); }
.h-mini { display: flex; flex-direction: column; gap: 16px; }
.h-streak { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 12px; align-items: center; }
.h-streak > div:nth-child(2), .h-ach > div { display: flex; flex-direction: column; }
.h-streak b, .h-ach b { font: 700 1.7rem/1.05 var(--f-head); color: #123E34; }
@media (prefers-color-scheme: dark) { .h-streak b, .h-ach b { color: var(--ink); } }
.h-streak span, .h-ach span { color: var(--muted); font-size: .85rem; line-height: 1.35; }
.h-week { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: 8px; }
.h-week span { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.h-week small { font: 800 .66rem var(--f-body); color: var(--ink); }
.h-week i { width: 20px; height: 20px; }
.h-week i.on::after { width: 7px; height: 4px; border-width: 0 0 2px 2px; }
.h-week i.today { border-color: var(--coral); border-style: dashed; }
.h-ach { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 12px; align-items: center; }

/* closing wave band */
.h-final { position: relative; padding-block: 10px 0; overflow: hidden; }
.h-wave { position: relative; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 280' preserveAspectRatio='none'%3E%3Cpath d='M0 70C240 10 470 50 720 46S1190 6 1440 40V240C1210 272 960 228 720 236S240 276 0 236Z' fill='%23295C47'/%3E%3Cpath d='M0 92C250 34 480 74 720 68S1200 30 1440 62V226C1210 256 960 214 720 222S240 262 0 222Z' fill='%23123E34'/%3E%3C/svg%3E") center / 100% 100% no-repeat; min-height: clamp(210px, 19vw, 270px); display: grid; align-items: center; }
.h-final-in { position: relative; z-index: 3; display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; justify-content: center; text-align: center; padding-block: clamp(48px, 6vw, 64px); }
.h-final h2 { color: #FFF8EB !important; }
.h-final p { color: rgba(255,248,235,.85); margin-top: 6px; }
.h-fleaf { position: absolute; bottom: -10px; width: clamp(110px, 13vw, 210px); height: auto; z-index: 2; pointer-events: none; }
.h-fleaf-l { left: 0; }
.h-fleaf-r { right: 0; }
@media (max-width: 760px) { .h-fleaf { width: 90px; opacity: .8; } }
@media (prefers-color-scheme: dark) { .h-fleaf { opacity: .35; } }

/* homepage tiles are links into the game */
a.h-board-card, a.h-streak, a.h-ach { color: inherit; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
a.h-board-card:hover, a.h-streak:hover, a.h-ach:hover { transform: translateY(-2px); border-color: #C9D9B8; box-shadow: 0 10px 26px -12px rgba(25,59,44,.3); }
a.h-board-card:focus-visible, a.h-streak:focus-visible, a.h-ach:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.h-bc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.h-bc-go { font-size: .82rem; font-weight: 800; color: var(--pencil, #C83C30); white-space: nowrap; }
.h-ach { grid-template-columns: 50px minmax(0, 1fr) auto; }
.h-tile-go { font-size: 1.5rem; color: var(--muted); }
.h-soc-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.h-strip-in > a { color: inherit; text-decoration: none; display: block; border-radius: 16px; }
.h-strip-in > a:hover p { text-decoration: underline; text-underline-offset: 3px; }
.h-lb li.me { background: #F3F7EE; }
.nav-login.me { display: inline-flex; align-items: center; gap: 8px; }
.nav-av { position: relative; display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none; }
.nav-av .nav-face { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #DCE7F0; }
.nav-av.ring .nav-face { box-shadow: 0 0 0 2px #C9D9B8; }
.nav-av.art { width: 44px; height: 44px; margin: -6px -4px; }
.nav-av.art .nav-face { width: 63%; height: 63%; }
.nav-av .nav-frm { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.nav-ini { display: block; }
@media (max-width: 440px) { .nav .nav-login.me { display: inline-flex; padding: 4px; } .nav .nav-login.me .nav-txt { display: none; } }

/* EquaCross Plus: a quiet section near the end of the home page. The Daily stays the main call to action. */
.h-plus { padding-block: clamp(24px, 4vw, 40px); }
.h-plus-in { overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: center; background: linear-gradient(135deg, #FFF8E8, #F4F1E2); border: 1px solid #E9DFC4; border-radius: 24px; padding: clamp(20px, 4vw, 36px); }
.h-plus h2 { margin: 4px 0 8px; }
.h-plus-copy > p { margin: 0 0 14px; max-width: 46ch; }
.h-plus-feats { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.h-plus-feats li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; }
.h-plus-feats b { display: block; font-size: .98rem; }
.h-plus-feats small { display: block; color: var(--muted, #5E6F66); font-size: .86rem; line-height: 1.35; }
.h-plus-art { width: min(190px, 56%); max-width: 100%; height: auto; justify-self: center; order: -1; filter: drop-shadow(0 12px 22px rgba(120, 80, 20, .18)); }
@media (min-width: 760px) {
  .h-plus-in { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .h-plus-feats { grid-template-columns: 1fr 1fr; }
  .h-plus-art { width: min(300px, 100%); order: 0; }
}
@media (prefers-color-scheme: dark) {
  .h-plus-in { background: linear-gradient(135deg, #1B2A20, #16251C); border-color: #2C4032; }
}

/* Hero: supporting line, and the symbols in the description stay readable on phones */
.h-copy .h-sub { font: 800 clamp(1.25rem, 2.3vw, 1.6rem)/1.2 var(--f-body); color: var(--coral); margin-top: -6px; letter-spacing: -.01em; }
.h-copy .lede .ops { white-space: nowrap; }
.h-copy .lede .ops b { display: inline-grid; place-items: center; min-width: 1.35em; height: 1.35em; margin: 0 .04em; border-radius: .32em; background: #fff; border: 1.5px solid #E3D6B5; color: var(--coral); font: 900 .95em/1 var(--f-body); vertical-align: .06em; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .h-copy .lede .ops b { background: #1E3A31; border-color: #3C5A4E; color: #FF8A7A; } }
:root[data-theme="dark"] .h-copy .lede .ops b { background: #1E3A31; border-color: #3C5A4E; color: #FF8A7A; }
/* Daily card: the four levels */
.h-tiers { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 14px; font-weight: 700; font-size: .92rem; }
.h-tiers li { display: inline-flex; align-items: center; gap: 6px; }
.h-tiers .tt { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 6px; font: 900 .74rem/1 var(--f-body); font-style: normal; color: #fff; }
.h-tiers .t-e { background: #3E8F5E; } .h-tiers .t-m { background: #2D6FA8; } .h-tiers .t-h { background: #C83C30; } .h-tiers .t-x { background: none; padding: 0; font-size: 1.05rem; }
a.h-card-art { display: block; color: inherit; text-decoration: none; }
/* How it works: a line of digits and the equation the game reads in it */
.h-read { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.h-digits { display: inline-flex; gap: 4px; }
.h-digits i { font: 900 1.15rem/1 var(--f-body); font-style: normal; color: #123E34; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: linear-gradient(180deg, #FFFDF6, #FFF6E0); box-shadow: 0 2px 0 #E0CFA4, 0 3px 6px rgba(25,59,44,.18); }
.h-arrow { font-weight: 900; color: var(--muted); }
.h-read .h-eq { font-size: 1.08rem; }

/* Phones: the = mark opens a menu with the links the desktop header shows */
.brand-row { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; border: 0; padding: 0; margin: 0; background: none; cursor: pointer; border-radius: 10px; line-height: 0; }
.menu-btn img { width: 30px; height: 30px; transition: transform .15s ease; }
.menu-btn[aria-expanded="true"] img { transform: scale(.92); filter: drop-shadow(0 0 0 2px var(--coral)); }
.menu-btn[aria-expanded="true"] { box-shadow: 0 0 0 2px var(--coral); }
.menu-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.menu-drop { position: absolute; left: 12px; right: 12px; top: calc(100% + 6px); background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 40px -18px rgba(25,59,44,.45); padding: 8px; z-index: 20; }
.menu-drop[hidden] { display: none; }
.menu-drop nav { display: flex; flex-direction: column; }
.menu-drop a { display: block; padding: 13px 14px; border-radius: 12px; font-weight: 800; font-size: 1.02rem; color: var(--ink); text-decoration: none; }
.menu-drop a:hover, .menu-drop a[aria-current="page"] { background: var(--sage); }
.site-head .wrap { position: relative; }
@media (max-width: 640px) {
  .menu-btn { display: inline-block; }
  .site-head .brand .brand-mark { display: none; }
}
@media (min-width: 641px) { .menu-drop { display: none !important; } }

/* Seasonal frames */
.h-season { padding: 0 0 8px; }
.h-sz { display: flex; align-items: center; gap: 14px; max-width: 760px; margin: 0 auto; padding: 10px 16px 10px 10px; border-radius: 18px; background: var(--card); border: 1px solid #ECE7DA; box-shadow: var(--sh-card); color: inherit; text-decoration: none; transition: transform .15s ease; }
.h-sz:hover { transform: translateY(-2px); }
.h-sz img { width: 64px; height: 64px; flex: none; }
.h-sz > span:not(.h-tile-go) { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.h-sz b { font-weight: 800; }
.h-sz span span { color: var(--muted); font-size: .92rem; line-height: 1.35; }
.sz-page { padding-bottom: 48px; }
.sz-h { margin: 28px 0 10px; font-size: 1.35rem; }
.sz-note { margin: -4px 0 10px; }
.sz-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.sz-card { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; background: var(--card); border: 1px solid #ECE7DA; box-shadow: var(--sh-card); }
.sz-art { position: relative; flex: none; width: 96px; height: 96px; display: grid; place-items: center; }
.sz-art img { width: 96px; height: 96px; }
.sz-q { position: absolute; font: 900 1.6rem var(--f-display); font-style: normal; color: #5E7D6C; }
.sz-card.shown .sz-q { display: none; }
.sz-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sz-txt b { font-weight: 800; font-size: 1.05rem; }
.sz-when, .sz-need { color: var(--muted); font-size: .88rem; }
.sz-state { font-weight: 800; font-size: .88rem; color: var(--coral); margin-top: 2px; }
.sz-card.yours .sz-state { color: #2E7D4F; }
.sz-card.retired { opacity: .72; }
.sz-card.retired .sz-art img { filter: grayscale(.85); }
.sz-card.retired .sz-state { color: var(--muted); }
.h-lb .lb-av { width: 32px; height: 32px; }
.h-lb .lb-av.art { width: 42px; height: 42px; margin: -5px; }
.h-lb .lb-av img { border-radius: 0; background: none; }
.h-lb .lb-av .nav-face { border-radius: 50%; background: #DCE7F0; }

/* Seasonal promo card (Halloween 2026): same container as the Daily and Board game cards below */
.h-promo { padding: clamp(4px, 1vw, 10px) 0 22px; }
.h-promo[hidden] { display: none; }
.hp-card { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(190px, 26%) minmax(0, 1fr) minmax(150px, 22%); align-items: center; min-height: 250px; padding: 22px clamp(18px, 2.4vw, 30px); border-radius: 26px; background: linear-gradient(180deg, #FFF3E3 0%, #FFE6D2 100%); border: 1.5px solid #F4D3B6; box-shadow: 0 16px 34px -22px rgba(150, 70, 20, .45), inset 0 0 0 4px rgba(255, 255, 255, .55); }
.hp-deco { position: absolute; pointer-events: none; z-index: 0; user-select: none; }
.hp-gl { left: -18px; bottom: -22px; width: clamp(200px, 29%, 320px); height: auto; }
.hp-gr { right: -14px; bottom: -26px; width: clamp(240px, 38%, 420px); height: auto; }
.hp-sp { inset: -6% -2%; width: 104%; height: 112%; object-fit: cover; opacity: .55; -webkit-mask-image: radial-gradient(ellipse 34% 60% at 52% 50%, transparent 55%, #000 90%); mask-image: radial-gradient(ellipse 34% 60% at 52% 50%, transparent 55%, #000 90%); }
.hp-frame { position: relative; z-index: 1; justify-self: center; width: clamp(150px, 15vw, 186px); aspect-ratio: 1; }
.hp-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 8px 14px rgba(110, 50, 10, .25)); }
.hp-face { position: absolute; inset: 18.5%; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 40%, #FFFDF6, #F6E9D2); }
.hp-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-body { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 4px 8px; }
.hp-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px; border-radius: 999px; background: #FFF8EE; border: 1.5px solid #F2B79A; color: var(--coral); font: 800 .88rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 4px 10px -6px rgba(200, 60, 48, .45); }
.hp-body h2 { margin: 2px 0 0; font-size: clamp(1.6rem, 2.9vw, 2.3rem); line-height: 1.08; color: var(--ink); }
.hp-body p { margin: 0; color: #43514A; font-size: clamp(.98rem, 1.3vw, 1.08rem); }
.hp-cta { margin-top: 6px; min-width: min(100%, 280px); min-height: 52px; padding: 13px 34px; font-size: 1.08rem; justify-content: center; box-shadow: 0 10px 20px -12px rgba(200, 60, 48, .8); }
.hp-body small { color: #6B6A5E; font-size: .86rem; }
.hp-pill > span:first-child { font-size: 1.2em; }
.hp-ends { position: relative; z-index: 2; justify-self: start; align-self: start; width: 122px; aspect-ratio: 1; display: grid; place-items: center; margin-top: 6px; }
.hp-ends svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hp-ends polygon { fill: #E9683A; stroke: #F08A50; stroke-width: 1.2; filter: drop-shadow(0 4px 6px rgba(160, 60, 10, .3)); }
.hp-ends span { position: relative; color: #fff; font: 800 1rem/1.15 var(--f-body); text-align: center; text-shadow: 0 1px 1px rgba(120, 40, 0, .35); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hp-card { background: linear-gradient(180deg, #3A2A20, #2E2219); border-color: #5A3E2A; box-shadow: none; } :root:not([data-theme="light"]) .hp-body h2 { color: #FFF8E8; } :root:not([data-theme="light"]) .hp-body p { color: #E8D9C6; } :root:not([data-theme="light"]) .hp-body small { color: #C9B8A3; } :root:not([data-theme="light"]) .hp-pill { background: #4A3324; border-color: #8A5A3C; color: #FF9A80; } }
:root[data-theme="dark"] .hp-card { background: linear-gradient(180deg, #3A2A20, #2E2219); border-color: #5A3E2A; box-shadow: none; }
:root[data-theme="dark"] .hp-body h2 { color: #FFF8E8; } :root[data-theme="dark"] .hp-body p { color: #E8D9C6; }
/* tablet: keep the frame, headline, button and date; trim the corner art */
@media (max-width: 900px) {
  .hp-card { grid-template-columns: minmax(150px, 30%) minmax(0, 1fr); }
  .hp-ends { position: absolute; top: 12px; right: 14px; width: 92px; margin: 0; }
  .hp-ends span { font-size: .8rem; }
  .hp-gr { width: 190px; opacity: .9; }
  .hp-body { padding: 18px 108px 18px 0; }
}
/* phones: stack, the real frame on top, button full width */
@media (max-width: 600px) {
  .hp-card { grid-template-columns: minmax(0, 1fr); padding: 18px 16px 78px; gap: 6px; min-height: 0; }
  .hp-frame { width: 138px; }
  .hp-body { padding: 0; }
  .hp-cta { width: 100%; }
  .hp-ends { top: 12px; right: 12px; width: 84px; }
  .hp-ends span { font-size: .74rem; }
  .hp-gl { width: 140px; left: -18px; bottom: -22px; }
  .hp-gr { width: 150px; right: -22px; bottom: -22px; }
  .hp-sp { display: none; }
}
@media (prefers-reduced-motion: no-preference) { .hp-cta { transition: transform .15s ease; } .hp-cta:hover { transform: translateY(-1px); } }

/* Demo: make the next step impossible to miss — the tile to tap bounces with a coral ring and a "Tap" tag,
   the other tiles step back, and once a tile is picked the target square gets a "Here" tag. */
.h-rack .dt.hint { z-index: 3; animation: hintHop 1s cubic-bezier(.3, .7, .4, 1) infinite; box-shadow: 0 .09em 0 #E0CFA4, 0 .16em .3em rgba(25,59,44,.2), 0 0 0 3px var(--coral); }
.h-rack .dt.hint::before { content: ""; position: absolute; inset: -3px; border-radius: 22%; box-shadow: 0 0 0 0 color-mix(in srgb, var(--coral) 55%, transparent); animation: hintRing 1.4s ease-out infinite; pointer-events: none; }
.h-rack .dt.hint::after { content: "Tap"; position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); padding: 3px 9px; border-radius: 999px; background: var(--coral); color: #fff; font: 800 12px/1.2 var(--f-body); letter-spacing: .02em; white-space: nowrap; box-shadow: 0 4px 10px -4px rgba(200, 60, 48, .7); pointer-events: none; }
.h-rack:has(.dt.hint) .dt:not(.hint):not(.gone) { opacity: .5; transform: scale(.94); }
.h-board .dc.tg.next { z-index: 3; }
.h-board .dc.tg.next::before { content: "Here"; position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); z-index: 4; padding: 3px 9px; border-radius: 999px; background: var(--coral); color: #fff; font: 800 12px/1.2 var(--f-body); white-space: nowrap; box-shadow: 0 4px 10px -4px rgba(200, 60, 48, .7); pointer-events: none; animation: hintTag 1s ease-in-out infinite; }
.h-demo:has(.h-rack .dt.hint) .h-board .dc.tg.next::before { display: none; }   /* the square gets its tag once a tile is picked */
@keyframes hintHop { 0%, 100% { transform: translateY(0) scale(1); } 40% { transform: translateY(-10px) scale(1.06); } 60% { transform: translateY(-10px) scale(1.06); } }
@keyframes hintRing { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--coral) 55%, transparent); } 100% { box-shadow: 0 0 0 14px color-mix(in srgb, var(--coral) 0%, transparent); } }
@keyframes hintTag { 50% { transform: translate(-50%, -4px); } }
@media (prefers-reduced-motion: reduce) { .h-rack .dt.hint, .h-rack .dt.hint::before, .h-board .dc.tg.next::before { animation: none; } }

/* Plus in the header: a gold pill that opens the Plus page in the game */
.nav .nav-plus { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: linear-gradient(180deg, #FFF4D6, #F7E2A8); border: 1px solid #E2BF6A; color: #6B4210; font-weight: 700; text-decoration: none; }
.nav .nav-plus:hover { background: linear-gradient(180deg, #FFF0C4, #F2D58A); }
.nav .nav-plus .np-crown { width: 22px; height: 16px; flex: none; }
@media (max-width: 640px) { .nav .nav-plus { padding: 7px 9px; } .nav .nav-plus .np-t { display: none; } }

.nav .btn.primary { white-space: nowrap; }
@media (max-width: 400px) { .nav .btn.primary { padding-left: 14px; padding-right: 14px; } }
.menu-btn { flex: none; }
.brand-row { min-width: 0; }
@media (max-width: 440px) {
  .site-head .brand img { height: 24px; }
  .nav { gap: 2px; }
  .nav .nav-plus { padding: 6px 7px; }
  .nav .nav-plus .np-crown { width: 20px; height: 14px; }
  .nav .btn.primary { padding: 9px 12px; font-size: .9rem; }
}
@media (max-width: 370px) { .nav .nav-plus { display: none; } }

/* Demo start: the board waits behind a Learn to play button; Next holds each explanation until the visitor is ready. */
.h-start-wrap { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: color-mix(in srgb, #EEF4E8 72%, transparent); backdrop-filter: blur(2px); border-radius: 13px; }
.h-demo.running .h-start-wrap { display: none; }
.h-start { padding: 14px 26px; border-radius: 999px; font-size: 1.1rem; box-shadow: 0 4px 0 var(--coral-press), 0 10px 24px -8px rgba(200,60,48,.6); animation: glowbtn 1.4s ease-in-out infinite; }
.h-start-sub { font: 700 .82rem var(--f-body); color: var(--muted); }
.h-next { visibility: hidden; }
.h-demo.reading .h-next { visibility: visible; }
.h-demo.reading #hdCheck { visibility: hidden; }
.h-demo:not(.running) .h-rack .dt { opacity: .6; }
@media (prefers-color-scheme: dark) { .h-start-wrap { background: color-mix(in srgb, #1C2E23 72%, transparent); } }

/* For teachers: built from the homepage's parts */
.t-hero .h-copy .eyebrow { margin-bottom: -6px; }
.t-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); }
.t-why { padding-block: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 32px); }
.t-why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .t-why-grid { grid-template-columns: minmax(0, 1fr); } }
.t-why-c { background: var(--card); border: 1px solid #ECE7DA; border-radius: 22px; box-shadow: var(--sh-card); padding: 22px 24px; display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 4px 16px; align-items: start; }
.t-why-c img { grid-row: span 2; width: 96px; height: 96px; object-fit: contain; }
.t-why-c h3 { margin: 6px 0 0; font-size: 1.08rem; }
.t-why-c p { margin: 0; color: var(--muted); }
.t-use { padding-block: clamp(20px, 3vw, 32px) clamp(36px, 5vw, 56px); }
.t-use-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .t-use-in { grid-template-columns: minmax(0, 1fr); } }
.t-use-art img { width: 100%; height: auto; display: block; }
.t-use-copy { display: flex; flex-direction: column; gap: 12px; }
.t-steps { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.t-steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; background: var(--card); border: 1px solid #ECE7DA; border-radius: 18px; padding: 14px 16px; box-shadow: var(--sh-card); }
.t-steps .n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #2E6B4F; color: #fff; font: 800 1.05rem var(--f-body); }
.t-steps h3 { margin: 4px 0 2px; font-size: 1.02rem; }
.t-steps p { margin: 0; color: var(--muted); }
.t-card-build { background: linear-gradient(135deg, #FFF6E2, #FBEACB); }
.t-card-build .h-card-art img { width: 100%; max-width: 260px; height: auto; display: block; margin-inline: auto; }
.t-faq { padding-block: clamp(20px, 3vw, 36px) clamp(36px, 5vw, 56px); }
.t-faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.t-faq-list details { background: var(--card); border: 1px solid #ECE7DA; border-radius: 18px; box-shadow: var(--sh-card); padding: 4px 20px; }
.t-faq-list summary { cursor: pointer; list-style: none; font: 800 1.05rem var(--f-body); padding: 14px 28px 14px 0; position: relative; }
.t-faq-list summary::-webkit-details-marker { display: none; }
.t-faq-list summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--coral); }
.t-faq-list details[open] summary::after { content: "−"; }
.t-faq-list p { margin: 0 0 16px; color: var(--muted); }
.t-final-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.t-ghost-light { color: #FFF8EB !important; border-color: rgba(255,248,235,.6) !important; background: transparent !important; }
@media (prefers-color-scheme: dark) { .t-why-c, .t-steps li, .t-faq-list details { border-color: var(--line); } .t-card-build { background: linear-gradient(135deg, #2A2615, #221F12); } }
.h-teach { display: block; margin-top: 6px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
/* For teachers: classroom poster, random-puzzle link, share link */
.t-poster-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 800; color: var(--ink); text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.t-poster-link svg { width: 20px; height: 20px; color: var(--coral); flex: none; }
.t-poster-link .fine { font-weight: 600; color: var(--muted); text-decoration: none; }
.t-steps p a { color: var(--ink); font-weight: 800; text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 3px; }
.t-poster { margin-top: 6px; display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 16px; align-items: center; background: linear-gradient(135deg, #FFF8E8, #F4F1E2); border: 1px solid #E9DFC4; border-radius: 18px; padding: 14px 16px; box-shadow: var(--sh-card); }
.t-poster-img img { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: 0 6px 14px -6px rgba(25,59,44,.45); transform: rotate(-2deg); transition: transform .2s; }
.t-poster-img:hover img { transform: rotate(0) scale(1.03); }
.t-poster h3 { margin: 0 0 2px; font-size: 1.02rem; }
.t-poster p { margin: 0; color: var(--muted); }
.t-poster .t-poster-dl { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.t-poster .t-poster-dl .btn { padding: 7px 14px; font-size: .9rem; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .t-poster { background: linear-gradient(135deg, #2A2615, #221F12); border-color: var(--line); } }
:root[data-theme="dark"] .t-poster { background: linear-gradient(135deg, #2A2615, #221F12); border-color: var(--line); }
.t-share { flex-basis: 100%; margin: 0 !important; }
.t-share a { color: #FFF8EB; font-weight: 800; text-decoration: underline; text-decoration-color: rgba(255,248,235,.5); text-underline-offset: 4px; }
.h-tiers li { white-space: nowrap; }
.t-tiers { display: grid; grid-template-columns: repeat(2, max-content); gap: 8px 22px; }
@media (max-width: 520px) { .t-poster { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 12px; } .t-poster .t-poster-dl .btn { padding: 6px 11px; font-size: .85rem; } }
