/* Homepage sections. Built on site.css tokens: zinc neutrals, hairlines, teal for accents.
   Color lives only in the food illustrations. Every class is prefixed h- to stay clear of site.css. */

/* Hero checkmarks */
.h-checks { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0.25rem 0 0; padding: 0; list-style: none; font-size: 0.92rem; color: var(--fg-muted); }
.h-checks li { display: flex; align-items: center; gap: 6px; }
.h-checks .ti { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--brand); color: #fff; font-size: 0.75rem; }

/* Logo carousel */
.h-logos { padding-block: clamp(2rem, 4vw, 3rem); }
.h-logos .eyebrow { padding-inline: clamp(1.25rem, 4vw, 4rem); }
.h-marquee { margin-top: 1.5rem; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.h-track { display: flex; gap: 64px; width: max-content; animation: h-marq 50s linear infinite; padding-block: 6px; }
.h-marquee:hover .h-track { animation-play-state: paused; }
@keyframes h-marq { to { transform: translateX(-50%); } }
.h-lg { display: flex; align-items: center; gap: 12px; color: var(--fg-subtle); white-space: nowrap; transition: color 0.2s; }
.h-lg:hover { color: var(--fg-base); }
.h-lg svg { width: 28px; height: 28px; flex: none; }
.h-lg span { font-size: 1.25rem; line-height: 1.1; }
.h-lg small { display: block; font: 500 0.62rem var(--sans); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 2px; }
.h-logos .status-note { margin-inline: clamp(1.25rem, 4vw, 4rem); }

/* Why districts are switching */
.h-why { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--border); }
.h-why > div { padding: 32px 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 10px; position: relative; }
.h-why > div + div { border-left: 1px solid var(--border); }
.h-why .big { font: 600 clamp(2.6rem, 4.5vw, 3.4rem)/1 var(--display); letter-spacing: -0.04em; color: var(--fg-base); }
.h-why h3 { margin: 0; font-size: 1.15rem; letter-spacing: -0.01em; }
.h-why p { margin: 0; color: var(--fg-muted); font-size: 0.95rem; line-height: 1.55; max-width: 34ch; }
.h-why .food { position: absolute; top: 1.25rem; right: 1.25rem; width: 64px; height: 64px; }
@media (max-width: 860px) { .h-why { grid-template-columns: 1fr; } .h-why > div + div { border-left: 0; border-top: 1px solid var(--border); } }

/* How it works */
.h-how { margin-top: 2.5rem; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 2.5rem; align-items: start; }
.h-steps { display: flex; flex-direction: column; border: 1px solid var(--border); }
.h-st { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 16px 1.25rem; position: relative; border-bottom: 1px solid var(--border); background: var(--bg-base); transition: background 0.2s; }
.h-st:last-child { border-bottom: 0; }
.h-st:hover { background: var(--bg-subtle); }
.h-st:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.h-st .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--border); color: var(--fg-muted); transition: transform 0.4s cubic-bezier(.3,1.6,.5,1), color 0.2s, border-color 0.2s, background 0.2s; }
.h-st .ic .ti { font-size: 1.3rem; }
.h-st.on .ic { color: var(--brand-strong); border-color: transparent; background: var(--brand-tint); transform: rotate(-6deg); }
.h-st h3 { margin: 0; font-size: 1.15rem; display: flex; align-items: baseline; gap: 10px; letter-spacing: -0.01em; }
.h-st h3 small { font: 500 0.78rem var(--sans); color: var(--fg-subtle); }
.h-st p { margin: 6px 0 0; color: var(--fg-muted); font-size: 0.93rem; line-height: 1.55; display: none; }
.h-st.on p { display: block; }
.h-st .prog { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; overflow: hidden; }
.h-st.on .prog i { display: block; height: 100%; width: 0; background: var(--brand); animation: h-prog var(--h-dur, 6.5s) linear forwards; }
.h-how.paused .h-st.on .prog i { animation: none; width: 100%; }
@keyframes h-prog { to { width: 100%; } }

.h-stage { position: sticky; top: 88px; border: 1px solid var(--border); background: var(--bg-subtle); padding: 32px; min-height: 440px; display: grid; }
.h-scene { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.4s; pointer-events: none; }
.h-scene.on { opacity: 1; transform: none; pointer-events: auto; }
.h-card { background: var(--bg-base); border: 1px solid var(--border); border-radius: 10px; padding: 1rem; font-size: 0.85rem; color: var(--fg-base); }
.h-card .ch { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 0.75rem; flex-wrap: wrap; }
.h-card .ch b { font-weight: 600; font-size: 0.9rem; }
.h-card .muted { color: var(--fg-muted); }
.h-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 0.75rem; font-weight: 500; padding: 0.2rem 8px; border-radius: 999px; background: var(--bg-hover); color: var(--fg-muted); white-space: nowrap; }
.h-chip.ok { background: var(--brand-tint); color: var(--brand-strong); }
.h-chip.warn { background: #fdf3e1; color: #8a5a00; }
.h-li { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--border); gap: 10px; }
.h-li:last-of-type { border-bottom: 0; }
.h-li .l { display: flex; align-items: center; gap: 10px; }
.h-li svg { width: 26px; height: 26px; flex: none; }
.h-drop { margin-top: 10px; border: 1px dashed var(--border-strong); border-radius: 8px; padding: 8px 12px; display: flex; gap: 10px; align-items: center; color: var(--fg-muted); }
.h-drop svg { width: 26px; height: 26px; }
.h-scene.on .h-drop { animation: h-dropin 0.9s 0.9s both cubic-bezier(.3,1.4,.5,1); }
@keyframes h-dropin { 0% { transform: translate(50px,-26px) rotate(4deg); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; border-style: solid; border-color: var(--brand); color: var(--fg-base); background: #f6fbfa; } }
.h-swap { position: relative; display: inline-grid; }
.h-swap > * { grid-area: 1 / 1; justify-self: end; }
.h-swap .after { opacity: 0; }
.h-scene.on .h-swap .before { animation: h-out 0.3s 1.9s both; }
.h-scene.on .h-swap .after { animation: h-in 0.4s 2s both cubic-bezier(.3,1.6,.5,1); }
@keyframes h-out { to { opacity: 0; transform: scale(0.8); } }
@keyframes h-in { from { opacity: 0; transform: scale(0.7); } to { opacity: 1; transform: none; } }
.h-tbl { width: 100%; border-collapse: collapse; font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.h-tbl th { font-weight: 500; font-size: 0.72rem; color: var(--fg-muted); text-align: right; padding: 6px 0.5rem; border-bottom: 1px solid var(--border); }
.h-tbl td { padding: 8px 0.5rem; text-align: right; border-bottom: 1px solid var(--border); }
.h-tbl th:first-child, .h-tbl td:first-child { text-align: left; }
.h-tbl tr:last-child td { border-bottom: 0; }
.h-cal { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.h-cal .d { font-size: 0.72rem; color: var(--fg-muted); text-align: center; font-weight: 500; }
.h-vend { border: 1px solid var(--border); border-left: 3px solid var(--brand); border-radius: 8px; padding: 0.5rem 8px; font-size: 0.74rem; line-height: 1.35; background: var(--bg-base); }
.h-vend b { display: block; font-weight: 600; font-size: 0.78rem; }
.h-scene.on .h-vend { animation: h-pop 0.45s both cubic-bezier(.3,1.6,.5,1); }
@keyframes h-pop { from { transform: scale(0.6); opacity: 0; } }
.h-pos { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.h-stu { display: flex; gap: 12px; align-items: center; }
.h-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 600 0.85rem var(--display); background: var(--bg-hover); color: var(--fg-base); flex: none; }
.h-opt { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.h-opt span { padding: 4px 8px; border-radius: 6px; background: var(--bg-hover); font-size: 0.76rem; }
.h-opt span.sel { background: var(--brand-strong); color: #fff; }
.h-opt span.no { text-decoration: line-through; color: var(--fg-subtle); }
.h-alert { border: 1px solid #f2c9a8; background: #fffaf5; border-radius: 8px; padding: 10px 12px; display: flex; gap: 0.5rem; font-size: 0.8rem; line-height: 1.45; }
.h-alert .ti { color: #c46a1e; font-size: 1.1rem; }
.h-scene.on .h-alert { animation: h-nudge 0.6s 1s both; }
@keyframes h-nudge { 0% { transform: scale(0.95); opacity: 0; } 50% { transform: scale(1.02); } 100% { transform: none; opacity: 1; } }
.h-chart { display: flex; align-items: flex-end; gap: 12px; height: 140px; border-bottom: 1px solid var(--border); }
.h-chart div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.h-chart i { display: block; width: 100%; background: var(--brand); border-radius: 6px 6px 2px 2px; transform-origin: bottom; }
.h-chart div:nth-child(2n) i { background: #7fd3c6; }
.h-chart small { font-size: 0.7rem; color: var(--fg-muted); }
.h-scene.on .h-chart i { animation: h-grow 0.9s both cubic-bezier(.2,.8,.2,1); }
@keyframes h-grow { from { transform: scaleY(0); } }
@media (max-width: 960px) { .h-how { grid-template-columns: 1fr; } .h-stage { position: relative; top: 0; min-height: 420px; } }
@media (max-width: 520px) { .h-stage { padding: 1rem; } .h-pos { grid-template-columns: 1fr; } }

/* Who it's for */
.h-roles { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--border); }
.h-role { padding: 1.5rem; display: flex; flex-direction: column; gap: 12px; }
.h-role + .h-role { border-left: 1px solid var(--border); }
.h-role .face { width: 56px; height: 56px; }
.h-role h3 { margin: 0; font-size: 1.1rem; letter-spacing: -0.01em; }
.h-role p { margin: 0; color: var(--fg-muted); font-size: 0.93rem; }
.h-role ul { list-style: none; padding: 0; margin: 0.25rem 0 0; display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; }
.h-role li { display: flex; gap: 8px; }
.h-role li .ti { color: var(--brand); margin-top: 3px; }
.h-orgs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.h-orgs a { display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; font-size: 0.9rem; color: var(--fg-base); }
.h-orgs a:hover { border-color: var(--brand); background: var(--brand-tint); }
.h-orgs .ti { color: var(--brand-strong); }
@media (max-width: 1000px) { .h-roles { grid-template-columns: 1fr 1fr; } .h-role:nth-child(3) { border-left: 0; } .h-role:nth-child(n+3) { border-top: 1px solid var(--border); } }
@media (max-width: 560px) { .h-roles { grid-template-columns: 1fr; } .h-role + .h-role { border-left: 0; border-top: 1px solid var(--border); } }

/* Platform: module cards with a line each */
.h-house { margin-top: 2.5rem; display: grid; grid-template-columns: 2fr 1fr; gap: 1.25rem; }
.h-zone { border: 1px solid var(--border); padding: 1.5rem; background: var(--bg-base); display: flex; flex-direction: column; gap: 16px; }
.h-zone h3 { margin: 0; font-size: 1.35rem; letter-spacing: -0.01em; }
.h-mods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.25rem 1rem; }
.h-zone.foh .h-mods { grid-template-columns: 1fr; }
.h-mod { display: flex; gap: 12px; align-items: flex-start; padding: 12px; margin-left: -12px; border-radius: 8px; }
.h-mod:hover { background: var(--brand-tint); }
.h-mod .ti { font-size: 1.25rem; color: var(--brand-strong); margin-top: 1px; }
.h-mod b { display: block; font-weight: 500; font-size: 0.95rem; }
.h-mod span { display: block; color: var(--fg-muted); font-size: 0.84rem; line-height: 1.45; margin-top: 1px; }
@media (max-width: 960px) { .h-house { grid-template-columns: 1fr; } .h-mods { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .h-mods { grid-template-columns: 1fr; } }

/* For families */
.h-fam ul { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 1rem; }
.h-fam li { display: flex; gap: 12px; font-size: 0.97rem; color: var(--fg-muted); line-height: 1.5; }
.h-fam li .ti { font-size: 1.3rem; color: var(--brand-strong); flex: none; margin-top: 1px; }
.h-fam li b { display: block; color: var(--fg-base); font-weight: 500; }
.h-phonewrap { display: flex; justify-content: center; padding-block: 1rem; background: var(--bg-subtle); border: 1px solid var(--border); }
.h-phone { width: 260px; border-radius: 36px; background: var(--bg-base); padding: 10px; border: 1px solid var(--border-strong); box-shadow: 0 30px 60px -36px rgba(0,0,0,.35); }
.h-phone .scr { border-radius: 28px; background: var(--bg-subtle); padding: 20px 12px 16px; display: flex; flex-direction: column; gap: 8px; min-height: 430px; }
.h-phone .top { display: flex; justify-content: space-between; align-items: center; }
.h-phone .top b { font: 600 0.88rem var(--display); }
.h-langs { display: flex; background: var(--bg-hover); border-radius: 999px; padding: 3px; }
.h-langs button { all: unset; cursor: pointer; font-size: 0.68rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; color: var(--fg-muted); transition: all 0.25s; }
.h-langs button.on { background: var(--bg-base); color: var(--brand-strong); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.h-seg { display: flex; gap: 6px; }
.h-seg span { font-size: 0.72rem; padding: 4px 10px; border-radius: 999px; background: var(--bg-hover); color: var(--fg-muted); }
.h-seg span.on { background: var(--fg-base); color: #fff; }
.h-meal { background: var(--bg-base); border: 1px solid var(--border); border-radius: 14px; padding: 10px; display: flex; gap: 10px; align-items: center; }
.h-meal svg { width: 40px; height: 40px; flex: none; }
.h-meal b { display: block; font-size: 0.66rem; font-weight: 600; color: var(--fg-subtle); text-transform: uppercase; letter-spacing: 0.05em; }
.h-meal span { font-size: 0.84rem; line-height: 1.3; display: block; transition: opacity 0.25s; }
.h-meal span.fade { opacity: 0; }

/* Recipes */
.h-recipe { margin-top: 2.5rem; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 1.25rem; }
.h-rc { border: 1px solid var(--border); background: var(--bg-base); padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.h-rc .rh { display: flex; gap: 1rem; align-items: center; }
.h-rc .rh svg { width: 64px; height: 64px; flex: none; }
.h-rc .rh h3 { margin: 0; font-size: 1.5rem; letter-spacing: -0.02em; }
.h-rc .rh span { color: var(--fg-muted); font-size: 0.88rem; }
.h-ing > div { display: grid; grid-template-columns: 1fr auto 7.5rem; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; align-items: center; }
.h-ing > div:last-child { border-bottom: 0; }
.h-ing em { font-style: normal; font-size: 0.74rem; color: var(--fg-muted); border: 1px solid var(--border); padding: 1px 8px; border-radius: 999px; justify-self: end; }
.h-nut { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); background: var(--bg-base); }
.h-nut div { padding: 16px 20px; }
.h-nut div:nth-child(odd) { border-right: 1px solid var(--border); }
.h-nut div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
.h-nut b { display: block; font: 600 1.6rem var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.h-nut span { font-size: 0.82rem; color: var(--fg-muted); }
.h-grades { display: flex; flex-wrap: wrap; gap: 6px; }
.h-grades span { padding: 6px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.86rem; }
.h-grades b { font-weight: 600; }
@media (max-width: 900px) { .h-recipe { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .h-ing > div { grid-template-columns: 1fr auto; } .h-ing em { display: none; } }

/* Getting started: the bus road */
.h-road { position: relative; margin-top: 2.5rem; padding-top: 2.5rem; }
.h-road .line { position: absolute; left: 6%; right: 6%; top: 82px; height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--border-strong) 0 16px, transparent 16px 28px); }
.h-road .line i { position: absolute; inset: 0; width: 0; border-radius: 4px; background: var(--brand); transition: width 3.2s cubic-bezier(.4,.1,.2,1); }
.h-road.go .line i { width: 100%; }
.h-bus { position: absolute; top: 44px; left: 3%; width: 72px; transition: left 3.2s cubic-bezier(.4,.1,.2,1); z-index: 2; }
.h-road.go .h-bus { left: calc(94% - 64px); }
.h-bus svg { width: 72px; height: auto; display: block; }
.h-road.go .h-bus svg { animation: h-bump 0.5s ease-in-out 6; }
@keyframes h-bump { 50% { transform: translateY(-2px); } }
.h-stops { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.h-stop { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding-top: 46px; }
.h-stop .pin { box-sizing: border-box; width: 24px; height: 12px; border: 4px solid var(--border-strong); border-top: 0; border-radius: 0 0 12px 12px; background: none; transition: border-color 0.4s; }
.h-road.go .h-stop .pin { border-color: var(--brand); }
.h-road.go .h-stop:nth-child(1) .pin { transition-delay: 0.3s; } .h-road.go .h-stop:nth-child(2) .pin { transition-delay: 1.1s; } .h-road.go .h-stop:nth-child(3) .pin { transition-delay: 1.9s; } .h-road.go .h-stop:nth-child(4) .pin { transition-delay: 2.8s; }
.h-stop .wk { font-size: 0.78rem; font-weight: 600; color: var(--brand-strong); letter-spacing: 0.04em; text-transform: uppercase; }
.h-stop h4 { margin: 16px 0 0; font: 600 1.05rem var(--display); }
.h-stop p { margin: 0; color: var(--fg-muted); font-size: 0.9rem; max-width: 26ch; }
@media (max-width: 760px) { .h-road .line, .h-bus { display: none; } .h-stops { grid-template-columns: 1fr 1fr; row-gap: 32px; } .h-stop { padding-top: 0; } }
.h-gs { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--border); }
.h-gs > div { padding: 1.5rem; display: flex; flex-direction: column; gap: 10px; }
.h-gs > div + div { border-left: 1px solid var(--border); }
.h-gs .gi { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-strong); }
.h-gs .gi .ti { font-size: 1.4rem; display: inline-block; }
.h-gs h3 { margin: 0; font-size: 1.15rem; letter-spacing: -0.01em; }
.h-gs p { margin: 0; color: var(--fg-muted); font-size: 0.93rem; line-height: 1.55; }
.h-gs .spin .ti { animation: h-spin 7s linear infinite; }
.h-gs .slide .ti { animation: h-slide 2.6s ease-in-out infinite; }
.h-gs .beat .ti { animation: h-beat 2.4s ease-in-out infinite; }
@keyframes h-spin { to { transform: rotate(360deg); } }
@keyframes h-slide { 50% { transform: translateY(-4px); } }
@keyframes h-beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } 45% { transform: scale(1.1); } }
@media (max-width: 860px) { .h-gs { grid-template-columns: 1fr; } .h-gs > div + div { border-left: 0; border-top: 1px solid var(--border); } }

/* The Collective */
.h-photo { margin: 0; position: relative; }
.h-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; }
.h-photo figcaption { font-size: 0.85rem; color: var(--fg-muted); margin-top: 6px; }
.h-list { list-style: none; padding: 0; margin: 1.5rem 0 32px; display: flex; flex-direction: column; gap: 10px; }
.h-list li { display: flex; gap: 8px; color: var(--fg-muted); }
.h-list .ti { color: var(--brand); margin-top: 3px; }

/* CTA school */
.h-school { display: block; width: min(520px, 100%); height: auto; margin: 2.5rem auto 0; }

@media (prefers-reduced-motion: reduce) {
  .h-track, .h-gs .ti, .h-bus svg { animation: none !important; }
  .h-scene, .h-scene * , .h-road *, .h-st * { transition: none !important; animation: none !important; }
  .h-swap .after { opacity: 1; } .h-swap .before { opacity: 0; }
}

/* ---- Round 2: scenes that fill the stage ---- */
.h-stage { min-height: 520px; padding: 1.25rem; }
.h-scene.h-fill { justify-content: stretch; }
.h-scene.h-fill > * { flex: 1; }
.h-app { display: flex; flex-direction: column; gap: 12px; }
.h-app .ch { margin-bottom: 0; }
.h-app .ch b { margin-right: auto; }
.h-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--inverted); color: #fff; font-size: 0.75rem; font-weight: 500; padding: 6px 12px; border-radius: 7px; white-space: nowrap; }
.h-flags { display: flex; flex-wrap: wrap; gap: 6px; }
.h-cal { grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start; }
.h-cal .d { text-align: left; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.h-cal .col { display: flex; flex-direction: column; gap: 6px; min-height: 112px; }
.h-vend.sel { box-shadow: 0 0 0 2px var(--brand); }
.h-vend.int { border-left-color: var(--fg-subtle); background: var(--bg-subtle); }
.h-sub { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 0.82rem; padding-top: 6px; border-top: 1px solid var(--border); }
.h-rows td, .h-rows th { white-space: nowrap; }
.h-rows td:first-child { white-space: normal; }
.h-scene.on .h-rows tbody tr { animation: h-row 0.4s both; }
.h-scene.on .h-rows tbody tr:nth-child(2) { animation-delay: 0.1s; } .h-scene.on .h-rows tbody tr:nth-child(3) { animation-delay: 0.2s; } .h-scene.on .h-rows tbody tr:nth-child(4) { animation-delay: 0.3s; } .h-scene.on .h-rows tbody tr:nth-child(5) { animation-delay: 0.4s; } .h-scene.on .h-rows tbody tr:nth-child(6) { animation-delay: 0.5s; } .h-scene.on .h-rows tbody tr:nth-child(7) { animation-delay: 0.6s; }
@keyframes h-row { from { opacity: 0; transform: translateX(-6px); } }

/* Serve: the register */
.h-pos2 { position: relative; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: var(--bg-base); border: 1px solid var(--border-strong); box-shadow: 0 24px 50px -32px rgba(0,0,0,.35); font-size: 0.8rem; }
.h-pos2 .bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #18181b; color: #e4e4e7; flex-wrap: wrap; }
.h-pos2 .bar .gm { width: 20px; height: 20px; border-radius: 6px; background: var(--brand); color: #fff; display: grid; place-items: center; font: 600 0.7rem var(--display); }
.h-pos2 .bar b { font-weight: 600; color: #fff; }
.h-pos2 .bar span { color: #a1a1aa; }
.h-pos2 .bar .on { margin-left: auto; color: #7fd3c6; display: inline-flex; gap: 4px; align-items: center; }
.h-pos2 .bar .cnt { background: #27272a; color: #fff; padding: 0.15rem 0.5rem; border-radius: 999px; }
.h-pos2 .body { flex: 1; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.h-pos2 .left { padding: 12px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; background: var(--bg-subtle); }
.h-pos2 .stu { display: flex; gap: 10px; align-items: center; }
.h-pos2 .stu b { display: block; font-weight: 600; font-size: 0.88rem; }
.h-pos2 .stu span { color: var(--fg-muted); font-size: 0.72rem; }
.h-pos2 .alg { display: flex; gap: 4px; }
.h-pos2 .alg span { font-size: 0.7rem; font-weight: 600; padding: 0.15rem 0.5rem; border-radius: 999px; background: #fdecec; color: #b42318; }
.h-pos2 .kv { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.h-pos2 .kv div { background: var(--bg-base); border: 1px solid var(--border); border-radius: 8px; padding: 6px 8px; }
.h-pos2 .kv span { display: block; font-size: 0.66rem; color: var(--fg-muted); }
.h-pos2 .kv b { font-weight: 600; }
.h-pos2 .ticket { background: var(--bg-base); border: 1px solid var(--border); border-radius: 8px; padding: 4px 10px; flex: 1; }
.h-pos2 .ticket div { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px dashed var(--border); }
.h-pos2 .ticket .tot { border-bottom: 0; font-size: 0.86rem; }
.h-pos2 .ticket .tot b { font: 600 1rem var(--display); }
.h-pos2 .charge { text-align: center; background: var(--inverted); color: #fff; border-radius: 8px; padding: 8px; font-weight: 500; }
.h-pos2 .right { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.h-pos2 .lbl { margin: 0; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-subtle); }
.h-pos2 .tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 6px; }
.h-pos2 .tile { border: 1px solid var(--border); border-radius: 10px; padding: 8px 6px 0.5rem; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: 0.72rem; line-height: 1.2; background: var(--bg-base); }
.h-pos2 .tile svg { width: 42px; height: 42px; }
.h-pos2 .tile.sel { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: #f6fbfa; }
.h-scene.on .h-pos2 .tile.sel { animation: h-tap 0.35s both; }
.h-scene.on .h-pos2 .tiles:first-of-type .tile.sel { animation-delay: 0.3s; }
.h-scene.on .h-pos2 .tiles:last-of-type .tile:nth-child(1) { animation-delay: 0.6s; } .h-scene.on .h-pos2 .tiles:last-of-type .tile:nth-child(2) { animation-delay: 0.8s; } .h-scene.on .h-pos2 .tiles:last-of-type .tile:nth-child(3) { animation-delay: 1s; }
@keyframes h-tap { 0% { transform: scale(1); box-shadow: none; border-color: var(--border); background: var(--bg-base); } 50% { transform: scale(0.94); } 100% { transform: scale(1); } }
.h-pos2 .modal { position: absolute; inset: 0; display: grid; place-items: end center; padding: 16px; background: rgba(24,24,27,.28); opacity: 0; pointer-events: none; }
.h-scene.on .h-pos2 .modal { animation: h-modal 4.8s 1.6s both; }
@keyframes h-modal { 0% { opacity: 0; } 8%, 85% { opacity: 1; } 100% { opacity: 0; } }
.h-pos2 .mbox { width: 100%; max-width: 380px; background: var(--bg-base); border-radius: 12px; padding: 12px; display: flex; gap: 10px; box-shadow: 0 20px 40px -16px rgba(0,0,0,.4); }
.h-scene.on .h-pos2 .mbox { animation: h-up 0.45s 1.6s both cubic-bezier(.3,1.4,.5,1); }
@keyframes h-up { from { transform: translateY(24px); } }
.h-pos2 .mbox .ti { color: #c46a1e; font-size: 1.3rem; }
.h-pos2 .mbox b { font-weight: 600; font-size: 0.9rem; }
.h-pos2 .mbox p { margin: 0.2rem 0 10px; color: var(--fg-muted); line-height: 1.45; }
.h-pos2 .mbox u { text-decoration: none; color: #b42318; font-weight: 600; }
.h-pos2 .mb { display: flex; gap: 6px; justify-content: flex-end; }
.h-pos2 .mb span { padding: 6px 12px; border-radius: 7px; border: 1px solid var(--border); font-weight: 500; }
.h-pos2 .mb .ok { background: var(--inverted); color: #fff; border-color: transparent; }

/* Prove: the report */
.h-rep .rb { flex: 1; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; }
.h-rep .rl { list-style: none; margin: 0; padding: 0 16px 0 0; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 0.15rem; }
.h-rep .rl li { padding: 6px 0.5rem; border-radius: 6px; color: var(--fg-muted); font-size: 0.78rem; }
.h-rep .rl li.on { background: var(--brand-tint); color: var(--brand-strong); font-weight: 500; }
.h-rep .rm { display: flex; flex-direction: column; gap: 10px; min-width: 0; overflow-x: auto; }
.h-rep .spark { display: inline-block; height: 6px; border-radius: 3px; background: var(--brand); min-width: 4px; transform-origin: left; }
.h-scene.on .h-rep .spark { animation: h-sx 0.8s both cubic-bezier(.2,.8,.2,1); }
@keyframes h-sx { from { transform: scaleX(0); } }
.h-rep tr.total td { font-weight: 600; border-top: 1px solid var(--border-strong); }
.h-scene.on .h-rep .h-btn { animation: h-pulse 1s 2.4s 2; }
@keyframes h-pulse { 50% { box-shadow: 0 0 0 5px rgba(0,171,147,.25); } }
@media (max-width: 620px) { .h-rep .rb { grid-template-columns: 1fr; } .h-rep .rl { display: none; } .h-pos2 .body { grid-template-columns: 1fr; } .h-pos2 .left { border-right: 0; border-bottom: 1px solid var(--border); } .h-cal { grid-template-columns: repeat(5, minmax(96px, 1fr)); overflow-x: auto; } .h-stage { min-height: 600px; } }

/* ---- Round 2: platform grid ---- */
.h-house { gap: 0; border: 1px solid var(--border); grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.h-zone { border: 0; padding: 0; gap: 0; }
.h-zone.foh { border-left: 1px solid var(--border); background: var(--bg-subtle); }
.h-zone .zh { display: flex; justify-content: space-between; align-items: flex-end; gap: 0.75rem; padding: 1.5rem; border-bottom: 1px solid var(--border); }
.h-zone .zh .mega-h { margin-bottom: 6px; }
.h-mods { flex: 1; gap: 1px; background: var(--border); grid-auto-rows: 1fr; }
.h-zone.foh .h-mods { grid-template-columns: 1fr; }
.h-mod { margin: 0; border-radius: 0; background: var(--bg-base); padding: 1.25rem 1.5rem; flex-direction: column; gap: 12px; position: relative; transition: background 0.2s; }
.h-zone.foh .h-mod { flex-direction: row; align-items: center; gap: 16px; }
.h-mod:hover { background: var(--bg-subtle); }
.h-mod > .ti { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-strong); font-size: 1.25rem; margin: 0; flex: none; transition: transform 0.3s cubic-bezier(.3,1.6,.5,1); }
.h-mod:hover > .ti { transform: rotate(-6deg) scale(1.06); }
.h-mod b { font-size: 1rem; }
.h-mod::after { content: "→"; position: absolute; top: 1.15rem; right: 1.25rem; color: var(--brand-strong); opacity: 0; transform: translateX(-4px); transition: all 0.2s; }
.h-mod:hover::after { opacity: 1; transform: none; }
@media (max-width: 960px) { .h-house { grid-template-columns: 1fr; } .h-zone.foh { border-left: 0; border-top: 1px solid var(--border); } .h-mods { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .h-mods { grid-template-columns: 1fr; } }

/* ---- Round 2: phone language switcher with round flags ---- */
.h-phone .top { flex-direction: column; align-items: flex-start; gap: 1px; }
.h-langs { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); }
.h-langs button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; padding: 4px 6px; font-size: 0.7rem; }
.h-langs .flag { width: 14px; height: 14px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.h-phone .muted { color: var(--fg-muted); }
.h-rep .rb { grid-template-columns: 118px minmax(0, 1fr); gap: 0.75rem; }
.h-rep .rl { padding-right: 10px; }
.h-rep .rl li { font-size: 0.74rem; padding: 6px 6px; }
.h-rep .h-tbl { font-size: 0.76rem; }
.h-rep .h-tbl td, .h-rep .h-tbl th { padding: 0.5rem 6px; }
.h-rep .h-rows td:first-child { white-space: nowrap; }

/* ---- Round 3: platform as grouped lists ---- */
.h-plat { margin-top: 3rem; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); column-gap: 3rem; }
.h-side.foh { border-left: 1px solid var(--border); padding-left: 3rem; }
.h-sh { padding-bottom: 1.25rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.h-sh h3 { margin: 0; font-size: 1.35rem; letter-spacing: -0.015em; }
.h-sh p { margin: 0.25rem 0 0; color: var(--fg-muted); font-size: 0.95rem; }
.h-cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
.h-cols.one { grid-template-columns: 1fr; }
.h-sub2 { margin: 0 0 0.5rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-subtle); }
.h-it { display: flex; gap: 0.75rem; align-items: flex-start; padding: 12px 0.75rem; margin-left: -0.75rem; border-radius: 8px; transition: background 0.15s; }
.h-it:hover { background: var(--brand-tint); }
.h-it .ti { font-size: 1.2rem; color: var(--brand-strong); margin-top: 1px; flex: none; }
.h-it b { display: block; font-weight: 500; font-size: 0.97rem; color: var(--fg-base); }
.h-it span span { display: block; color: var(--fg-muted); font-size: 0.86rem; line-height: 1.45; margin-top: 1px; }
.h-it:hover b { color: var(--brand-strong); }
@media (max-width: 960px) { .h-plat { grid-template-columns: 1fr; row-gap: 2.5rem; } .h-side.foh { border-left: 0; padding-left: 0; } }
@media (max-width: 560px) { .h-cols { grid-template-columns: 1fr; row-gap: 1rem; } }

.hero.h-center { align-items: center; text-align: center; }
.h-center h1 { max-width: 16ch; margin-inline: auto; }
.h-center .subhead { max-width: 60ch; margin-inline: auto; }
.h-center .hero-ctas, .h-center .h-checks { justify-content: center; }
.h-center .h-checks { gap: 10px 24px; }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 99px; background: #e6f6f3; color: #00796a; font: 600 0.85rem Inter, sans-serif; text-decoration: none; }
.eyebrow-pill .pill-badge { width: 28px; height: 28px; }
.eyebrow-pill .dotsep { width: 4px; height: 4px; border-radius: 50%; background: #00796a; opacity: 0.5; }

/* Lists inside a split (text beside an image): a bordered box per item, text left, icon right and centered, a very light border.
   Items without an icon get a check on the right. */
.split-text > ul { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; }
.split-text > ul > li { position: relative; display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; border: 1px solid #f0f0f0; border-radius: 12px; background: var(--bg-base); color: var(--fg-muted); }
.split-text > ul > li::before { content: none; }
.split-text > ul > li > div, .split-text > ul > li > span { min-width: 0; flex: 1; }
.split-text > ul > li b { color: var(--fg-base); font-weight: 600; }
.split-text > ul > li > div > b { display: block; margin-bottom: 4px; }
.split-text > ul > li .ti { flex: none; font-size: 24px; color: var(--brand-strong); margin: 0; }
.split-text > ul > li:not(:has(> .ti))::after { content: ""; flex: none; width: 24px; height: 24px; background: var(--brand-strong); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8.5 12.5l2.5 2.5 4.5-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8.5 12.5l2.5 2.5 4.5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.split-text > ul.h-list > li { justify-content: flex-end; }
