/*
 * AGEYE Homepage V2 — E-v2 "Guided" (front-page-v2.php)
 *
 * Loads site-wide like every theme stylesheet, so EVERY rule is scoped under
 * `.hp` (the page main) or `body.home-v2` (chrome overrides: nav, footer,
 * sticky CTA). Renames vs the concept template, forced by theme collisions:
 * hero→hp-hero, btn→hp-btn, crops→hp-crops, cc→hp-cc, vis→pvis, rv→anim
 * (reveals ride the theme's own .anim/.vis system in scroll-animations.js).
 *
 * Design source: tasks/homepage-concepts/concept-e2-template.html (E-v2
 * artifact, label conversion-polish). Palette: textured charcoal #2b2d30 ·
 * cooled off-white #f3f4f1 · brand pink #e8155b · Urbanist.
 */

/* Urbanist variable — self-hosted, same file market-intelligence.css uses. */
@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/urbanist.woff2') format('woff2');
}

/* ── page vars — set on body.home-v2 so nav/footer/mcta inherit too ── */
body.home-v2 {
  --paper: #f3f4f1; --card: #ffffff;
  --ink: #101010; --mut: #5c5f58; --quiet: #8a8d84;
  --blue: #82add4; --blue-2: #6f9ec9;
  --pink-hot: #ff5c8a; --pink-wash: rgba(232, 21, 91, .08);
  --pos: #3f7d52; --pos-dk: #7fd99a;
  --hair: rgba(16, 16, 16, .08); --hair-2: rgba(16, 16, 16, .16);
  --dk: #2b2d30; --dk-2: #323438;
  --dk-hair: rgba(255, 255, 255, .1); --dk-hair-2: rgba(255, 255, 255, .18);
  --on-dk: rgba(244, 246, 242, .95); --on-dk-dim: rgba(244, 246, 242, .68);
  --hp-shadow: 0 24px 48px -28px rgba(60, 80, 100, .28);
  --hp-shadow-soft: 0 14px 30px -22px rgba(60, 80, 100, .18);
  --hp-shadow-dk: 0 30px 60px -30px rgba(0, 0, 0, .62);
  --hp-r: 16px; --hp-r-lg: 22px; --hp-r-sheet: 34px;
  --hp-font: 'Urbanist', 'Avenir Next', 'Century Gothic', system-ui, sans-serif;
  background: var(--paper);
}

/* ── local reset: stop theme element styles reaching inside the page ── */
.hp h1, .hp h2, .hp h3, .hp h4, .hp p, .hp ul, .hp ol, .hp li, .hp figure, .hp blockquote {
  margin: 0; padding: 0; border: 0; background: none; text-transform: none;
}
.hp h1::after, .hp h2::after, .hp h3::after,
.hp h1::before, .hp h2::before, .hp h3::before { content: none; }
.hp a { color: inherit; text-decoration: none; }
.hp img, .hp video, .hp svg { max-width: 100%; display: block; }
/* ageye_webp_picture_rewrite wraps every jpg <img> in <picture> — make the
   wrapper layout-transparent so sized containers (.ph, .pvis, .sh) still
   size the img directly. */
.hp picture { display: contents; }
.hp *, .hp *::before, .hp *::after { box-sizing: border-box; }
.hp button, .hp input, .hp select { font: inherit; }
.hp ::selection { background: var(--pink); color: #fff; }
.hp b, .hp strong { font-weight: 700; }

.hp {
  position: relative; z-index: 1;
  background: var(--paper); color: var(--ink);
  font-family: var(--hp-font); font-size: 17.5px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.hp-grain {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hp .wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ── buttons — 3 levels, 48px, one radius ── */
.hp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; white-space: nowrap; border-radius: 999px; font-weight: 700; font-size: 16px; min-height: 48px; padding: 0 26px; text-decoration: none; border: none; cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s; font-family: var(--hp-font); }
.hp-btn:hover { transform: translateY(-2px); }
.hp-btn:focus-visible { outline: 3px solid rgba(232, 21, 91, .4); outline-offset: 2px; }
.hp-btn-p { background: var(--pink); color: #fff; box-shadow: 0 14px 28px -18px rgba(200, 20, 80, .5); }
.hp-btn-p:hover { background: var(--pink-hot); color: #fff; }
.hp-btn-o { background: transparent; color: #fff; border: 1.5px solid var(--dk-hair-2); }
.hp .tlink { display: inline-flex; align-items: center; gap: 7px; font-size: 16px; font-weight: 800; color: var(--pink); text-decoration: none; }
.hp .tlink .arr { transition: transform .25s; }
.hp .tlink:hover .arr { transform: translateX(4px); }

/* ── eyebrow + type scale ── */
.hp .eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--pink); }
.hp .hot-eyebrow { color: var(--pink-hot); }
@keyframes hp-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(232, 21, 91, .5); } 50% { box-shadow: 0 0 0 7px rgba(232, 21, 91, 0); } }
.hp h1 { font-family: var(--hp-font); font-size: clamp(46px, 5vw, 70px); font-weight: 800; letter-spacing: -.03em; line-height: 1.04; text-wrap: balance; margin: 18px 0 0; }
.hp h2 { font-family: var(--hp-font); font-size: clamp(34px, 3.4vw, 46px); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; text-wrap: balance; margin: 14px 0 0; color: var(--ink); }
.hp h3 { font-family: var(--hp-font); font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.hp .thin { font-weight: 300; }
.hp .thin-dk { font-weight: 300; color: rgba(244, 246, 242, .66); }
/* section copy runs ~3/4 of the 1180px wrap — a 58ch cap broke lines mid-page */
.hp .sub { font-size: 18px; color: var(--mut); max-width: 76ch; }
.hp .sub b { color: var(--ink); }
.hp .num { font-variant-numeric: tabular-nums; }

/* ── HERO: 60/40, one visual ── */
/* Theme nav is position:fixed (no flow space) — the hero reaches y=0 on its
   own and the 150px top padding clears the bar, same as .mi-hero's 158px. */
.hp-hero { position: relative; min-height: 92vh; display: flex; flex-direction: column; justify-content: center; padding: 150px 0 84px; color: #fff; }
.hp-hero-media { position: absolute; inset: 0; z-index: -2; background: #232527; overflow: hidden; }
.hp-hero-media video, .hp-hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.hp-hero-scrim { position: absolute; inset: 0; z-index: -1; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='nz'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23nz)' opacity='.09'/%3E%3C/svg%3E"), linear-gradient(100deg, rgba(38, 40, 43, .94) 0%, rgba(38, 40, 43, .82) 44%, rgba(38, 40, 43, .55) 100%); }
.hp-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hp-hero h1 { color: #fff; }
.hp-hero .sub { margin: 24px 0 0; color: rgba(244, 246, 242, .8); font-size: 19px; max-width: 44ch; }
.hp-hero .sub b { color: #fff; }
.hp-hero .ctas { display: flex; gap: 14px; margin: 36px 0 0; flex-wrap: wrap; }
.hp-hero .thin { color: rgba(244, 246, 242, .7); }
.hp .sweep { position: relative; white-space: nowrap; }
.hp .sweep::after { content: ""; position: absolute; left: 0; bottom: .04em; height: .14em; width: 100%; background: var(--pink); z-index: -1; transform: scaleX(0); transform-origin: left; animation: hp-sweep .7s .9s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes hp-sweep { to { transform: scaleX(1); } }

/* profitability snapshot — liquid glass */
.hp .snap { position: relative; background-color: rgba(34, 36, 39, .55); background-image: linear-gradient(135deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .05) 36%, rgba(16, 18, 20, .30) 100%); backdrop-filter: blur(26px) saturate(1.7); -webkit-backdrop-filter: blur(26px) saturate(1.7); border: 1px solid rgba(255, 255, 255, .28); border-radius: 26px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .38), inset 0 -1px 0 rgba(255, 255, 255, .07); padding: 26px 28px; width: min(430px, 100%); margin-left: auto; overflow: hidden; }
.hp .snap::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .30) 0%, rgba(255, 255, 255, .07) 22%, transparent 44%); opacity: .55; }
.hp .snap::after { content: ""; position: absolute; left: 8%; right: 38%; top: -1px; height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .85), transparent); }
.hp .snap > * { position: relative; z-index: 1; }
.hp .snap .row { display: flex; justify-content: space-between; align-items: center; }
.hp .snap .ttl { font-weight: 800; font-size: 16px; color: #fff; }
.hp .snap .live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--pink-hot); }
.hp .snap .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); animation: hp-pulse 2.2s infinite; }
.hp .snap .k { font-size: 13.5px; color: var(--on-dk-dim); margin-top: 18px; }
.hp .snap .big { display: flex; align-items: baseline; gap: 12px; margin-top: 2px; }
.hp .snap .big .v { font-size: 44px; font-weight: 800; letter-spacing: -.035em; color: #fff; }
.hp .snap .big .d { font-size: 14.5px; font-weight: 700; color: var(--pos-dk); }
.hp .snap .chart { margin-top: 14px; position: relative; }
.hp .snap .chart svg { width: 100%; height: 110px; display: block; }
.hp .snap .ax { display: flex; justify-content: space-between; font-size: 11.5px; color: rgba(244, 246, 242, .45); margin-top: 6px; }
.hp .snap .split { display: flex; border-top: 1px solid rgba(255, 255, 255, .16); margin-top: 18px; padding-top: 16px; gap: 26px; }
.hp .snap .split .s { flex: 1; }
.hp .snap .split .sk { font-size: 12.5px; color: var(--on-dk-dim); }
.hp .snap .split .sv { font-size: 24px; font-weight: 800; color: #fff; margin-top: 2px; }
.hp .big .v i, .hp .split .sv i { font-style: normal; font-size: .5em; font-weight: 700; opacity: .6; margin-left: 2px; }

/* ── hero pillars (floating charcoal card) ── */
.hp .proof-dk { position: relative; z-index: 6; margin-top: -52px; padding: 0; }
.hp .proofgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; background-color: var(--dk); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='nz'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23nz)' opacity='.09'/%3E%3C/svg%3E"); color: #fff; border: 1px solid rgba(255, 255, 255, .07); border-radius: 22px; padding: 28px 34px; box-shadow: var(--hp-shadow-dk); }
.hp .pf { padding-left: 16px; border-left: 3px solid var(--pink); }
.hp .pf .v { font-size: 18.5px; font-weight: 800; letter-spacing: -.015em; color: #fff; line-height: 1.28; }
.hp .pf .k { font-size: 13.5px; color: var(--on-dk-dim); margin-top: 8px; line-height: 1.5; }

/* ── sheet handoff — top squared, rounded lip survives at the dusk end ── */
.hp .sheet { position: relative; z-index: 2; background: var(--paper); border-radius: 0 0 var(--hp-r-sheet) var(--hp-r-sheet); margin-top: -34px; margin-bottom: -34px; padding-bottom: 112px; }

/* ── sections — consistent rhythm ── */
.hp .sec { padding: 112px 0 0; }
.hp .shead { max-width: 900px; }
.hp .shead .sub { margin-top: 16px; }

/* ── path selector ── */
.hp .paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.hp .path { background: var(--card); border: 1px solid var(--hair); border-radius: var(--hp-r); overflow: visible; text-decoration: none; box-shadow: var(--hp-shadow-soft); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; position: relative; }
.hp .path:hover { transform: translateY(-5px); box-shadow: var(--hp-shadow); }
.hp .path:focus-visible { outline: 3px solid rgba(232, 21, 91, .4); outline-offset: 3px; }
.hp .path .ph { aspect-ratio: 16/9; overflow: hidden; border-radius: var(--hp-r) var(--hp-r) 0 0; display: block; }
.hp .path .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hp .path:hover .ph img { transform: scale(1.04); }
.hp .path .badge { position: absolute; left: 24px; top: 0; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 1.5px solid rgba(232, 21, 91, .5); display: flex; align-items: center; justify-content: center; box-shadow: var(--hp-shadow-soft); }
.hp .path .bd { position: relative; padding: 44px 24px 24px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.hp .path h3 { font-size: 21px; }
.hp .path p { font-size: 15.5px; color: var(--mut); line-height: 1.55; flex: 1; }
.hp .path .tlink { font-size: 15.5px; }

/* ── HYVE tiers + crops ── */
.hp .tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.hp .tier { background: var(--card); border: 1px solid var(--hair); border-radius: var(--hp-r); padding: 22px 24px; text-decoration: none; box-shadow: var(--hp-shadow-soft); display: flex; flex-direction: column; gap: 6px; transition: transform .3s, box-shadow .3s; }
/* all three tiers ship white — pink is the hover/focus state, not a pick */
.hp .tier:hover, .hp .tier:focus-visible { transform: translateY(-4px); box-shadow: var(--hp-shadow); border-color: rgba(232, 21, 91, .45); background: linear-gradient(180deg, var(--pink-wash), var(--card) 55%); }
.hp .tier:focus-visible { outline: 3px solid rgba(232, 21, 91, .4); outline-offset: 3px; }
.hp .tier .tn { font-size: 18px; font-weight: 800; }
.hp .tier .tp { font-size: 27px; font-weight: 800; letter-spacing: -.02em; }
.hp .tier .tp i { font-style: normal; font-size: 13px; color: var(--quiet); font-weight: 600; margin-left: 6px; }
.hp .tier .tinc { font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--pos); }
.hp .tier .tk { font-size: 14px; color: var(--mut); }
.hp .tier .tt { font-size: 13px; color: var(--quiet); }
.hp .tier-foot { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 18px; font-size: 14.5px; color: var(--quiet); }
.hp .tier-links { display: flex; gap: 22px; flex-wrap: wrap; }
.hp .tier-links .tlink { font-size: 15px; }
.hp .hp-crops { display: flex; gap: 18px; align-items: baseline; flex-wrap: wrap; border-top: 1px solid var(--hair); margin-top: 34px; padding-top: 26px; }
.hp .hp-crops-l { font-size: 16.5px; color: var(--mut); white-space: nowrap; }
.hp .hp-crops-l b { color: var(--ink); }
.hp .crop-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hp .crop-chips i { font-style: normal; font-size: 13.5px; font-weight: 700; border: 1px solid var(--hair-2); color: var(--mut); border-radius: 999px; padding: 5px 13px; }

/* ── 5-phase platform stepper (CSS radio tabs, zero JS) ── */
.hp .stepper { margin-top: 52px; background: var(--card); border: 1px solid var(--hair); border-radius: var(--hp-r-lg); box-shadow: var(--hp-shadow-soft); padding: 12px 12px 0; }
.hp .stepper input { position: absolute; opacity: 0; pointer-events: none; }
.hp .tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--hair); padding: 6px 10px 0; }
.hp .tabs label { display: inline-flex; align-items: center; gap: 10px; padding: 14px 16px 16px; font-size: 15.5px; font-weight: 700; color: var(--mut); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.hp .tabs label .no { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--hair-2); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: var(--quiet); transition: all .2s; }
.hp .tabs label:hover { color: var(--ink); }
#hp-p1:checked ~ .tabs label[for=hp-p1], #hp-p2:checked ~ .tabs label[for=hp-p2], #hp-p3:checked ~ .tabs label[for=hp-p3], #hp-p4:checked ~ .tabs label[for=hp-p4], #hp-p5:checked ~ .tabs label[for=hp-p5] { color: var(--ink); border-bottom-color: var(--pink); }
#hp-p1:checked ~ .tabs label[for=hp-p1] .no, #hp-p2:checked ~ .tabs label[for=hp-p2] .no, #hp-p3:checked ~ .tabs label[for=hp-p3] .no, #hp-p4:checked ~ .tabs label[for=hp-p4] .no, #hp-p5:checked ~ .tabs label[for=hp-p5] .no { background: var(--pink); border-color: var(--pink); color: #fff; }
.hp .panes { position: relative; }
.hp .pane { display: none; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; padding: 36px 26px 38px; }
#hp-p1:checked ~ .panes .pn1, #hp-p2:checked ~ .panes .pn2, #hp-p3:checked ~ .panes .pn3, #hp-p4:checked ~ .panes .pn4, #hp-p5:checked ~ .panes .pn5 { display: grid; }
.hp .pane .pvis { border-radius: var(--hp-r); overflow: hidden; border: 1px solid var(--hair); background: #232527; position: relative; aspect-ratio: 1.5; }
.hp .pane .pvis img, .hp .pane .pvis video { width: 100%; height: 100%; object-fit: contain; display: block; }
.hp .pane .pvis .tag { position: absolute; left: 12px; top: 12px; background: rgba(16, 16, 18, .75); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .05em; border-radius: 8px; padding: 5px 12px; backdrop-filter: blur(6px); }
.hp .pane .pvis .tag.tag-br { left: auto; right: 12px; top: 12px; }
.hp .pane h3 { font-size: 24px; }
.hp .pane .pl { font-size: 16.5px; color: var(--mut); margin-top: 10px; max-width: 52ch; }
.hp .pane .pl b { color: var(--ink); }
.hp .pane ul { list-style: none; margin: 22px 0 0; display: grid; gap: 12px; }
.hp .pane ul li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; font-weight: 600; }
.hp .pane ul li .ck { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--pink-wash); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.hp .pane .tlink { margin-top: 26px; }

/* ── digital twin showcase (dark slab inside the sheet) ── */
.hp .twin { margin-top: 112px; background-color: var(--dk); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='nz'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23nz)' opacity='.09'/%3E%3C/svg%3E"); color: #fff; padding: 104px 0; }
.hp .twin .eyebrow { color: var(--pink-hot); }
.hp .twin h2 { color: #fff; }
.hp .twin .sub { color: var(--on-dk-dim); }
.hp .twin .sub b { color: #fff; }
.hp .stage { position: relative; margin-top: 46px; border: 1px solid var(--dk-hair-2); border-radius: 20px; overflow: hidden; background: radial-gradient(120% 140% at 50% 0%, #26282c 0%, #1b1d20 55%, #151719 100%); height: 600px; touch-action: none; }
.hp .stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; }
.hp .stage canvas:active { cursor: grabbing; }
.hp .hud { position: absolute; font-size: 13px; font-weight: 700; z-index: 3; }
.hp .hud.tl { top: 16px; left: 16px; display: flex; gap: 10px; }
/* nowrap: squeezed into a phone-width stage these pills were wrapping their
   own text and growing into 122px-tall lozenges */
.hp .hud .chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(21, 23, 25, .78); border: 1px solid var(--dk-hair-2); border-radius: 999px; padding: 8px 15px; backdrop-filter: blur(10px); color: #fff; white-space: nowrap; }
.hp .hud .chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); animation: hp-pulse 2.2s infinite; }
/* one bottom row: lens pills, then tour / 24h playback on the same baseline */
.hp .stage-bar { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 3; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hp .modes { display: flex; gap: 8px; }
.hp .modes button { border: 1.5px solid var(--dk-hair-2); background: rgba(21, 23, 25, .78); color: var(--on-dk-dim); border-radius: 999px; padding: 10px 17px; font-size: 13.5px; font-weight: 700; cursor: pointer; backdrop-filter: blur(10px); transition: all .2s; min-height: 44px; font-family: var(--hp-font); white-space: nowrap; }
.hp .modes button:hover { color: #fff; }
.hp .modes button.on { background: var(--pink); border-color: var(--pink); color: #fff; }
/* Left column, above the lens buttons — the right column is the readout's,
   and that panel grew tall enough to reach a bottom-right pill. The hint also
   retires once the visitor has actually dragged the model. */
.hp .hint { position: absolute; left: 16px; right: auto; bottom: 62px; font-size: 12.5px; color: rgba(244, 246, 242, .5); background: rgba(21, 23, 25, .6); border-radius: 999px; padding: 8px 14px; backdrop-filter: blur(8px); z-index: 2; transition: opacity .5s; }
.hp .hint.gone { opacity: 0; pointer-events: none; }
/* and the data panel always wins if they ever share space */
.hp .readout { z-index: 4; }
/* legend rides top-center below the HUD chip row */
.hp .legend { position: absolute; left: 50%; transform: translateX(-50%); top: 62px; display: flex; align-items: center; gap: 10px; font-size: 12px; color: rgba(244, 246, 242, .6); background: rgba(21, 23, 25, .6); border-radius: 999px; padding: 7px 14px; backdrop-filter: blur(8px); z-index: 3; }
.hp .legend .bar { width: 110px; height: 8px; border-radius: 4px; }
/* Height guard: the panel must always fit the stage — it grew with the ARIS
   frame and the Approve button was clipping off the bottom edge. */
.hp .readout { position: absolute; top: 16px; right: 16px; width: 250px; max-height: calc(100% - 32px); overflow-y: auto; overscroll-behavior: contain; background: rgba(24, 26, 29, .86); border: 1px solid var(--dk-hair-2); border-radius: 16px; padding: 16px 18px; backdrop-filter: blur(14px); z-index: 4; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .25) transparent; }
.hp .readout .rt { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--pink-hot); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
/* close control — only meaningful for the mobile bottom sheet */
.hp .readout .rt-close { display: none; border: 0; background: rgba(255, 255, 255, .1); color: #fff; width: 30px; height: 30px; min-height: 30px; border-radius: 50%; font-size: 15px; line-height: 1; cursor: pointer; align-items: center; justify-content: center; flex: none; }
.hp .readout h3 { font-size: 17px; color: #fff; margin-top: 4px; }
.hp .readout .rows { margin-top: 10px; display: grid; gap: 7px; }
.hp .readout .rw { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--on-dk-dim); }
.hp .readout .rw b { color: #fff; font-variant-numeric: tabular-nums; }
/* real ARIS scan frame for the hovered/pinned shelf */
/* 16:9 — a square/4:3 frame made the panel taller than the stage */
.hp .readout .frame { margin: 10px 0 0; position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--dk-hair-2); background: #14161a; aspect-ratio: 16 / 9; }
.hp .readout .frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp .readout .frame figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 7px; padding: 7px 9px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; color: rgba(244, 246, 242, .82); background: linear-gradient(180deg, transparent, rgba(10, 12, 14, .85)); }
.hp .readout .frame .real { background: var(--pink); color: #fff; border-radius: 4px; padding: 2px 5px; font-size: 9.5px; letter-spacing: .08em; }
.hp .readout .note { margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--dk-hair); font-size: 12.5px; line-height: 1.45; color: var(--on-dk-dim); }
.hp .readout .note b { color: var(--pink-hot); }
.hp .twin-tip { position: absolute; pointer-events: none; background: rgba(16, 18, 20, .92); border: 1px solid var(--dk-hair-2); border-radius: 10px; padding: 9px 13px; font-size: 12.5px; color: #fff; transform: translate(-50%, -130%); white-space: nowrap; display: none; z-index: 4; backdrop-filter: blur(8px); }
.hp .twin-tip b { font-variant-numeric: tabular-nums; }

/* twin demo chrome — alert chip, MODELED tag, load ring, view rail, timebar, CTA */
/* explicit display values on these classes would otherwise defeat the
   [hidden] attribute (UA's display:none loses to any authored display) */
.hp [hidden] { display: none !important; }
.hp .hud .chip-alert { border-color: rgba(232, 21, 91, .55); color: var(--pink-hot); cursor: pointer; font: inherit; font-weight: 700; transition: border-color .2s, color .2s; }
.hp .hud .chip-alert:hover { border-color: var(--pink-hot); color: #fff; }
.hp .hud .chip-alert.clear { border-color: var(--dk-hair-2); color: rgba(244, 246, 242, .55); cursor: default; }
.hp .hud .chip-muted { color: rgba(244, 246, 242, .48); font-size: 11px; letter-spacing: .1em; }
/* mobile tap-to-load poster — the model (~2.9MB) downloads only on request */
.hp .stage-poster { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border: 0; padding: 0; cursor: pointer; background: #1b1d20; overflow: hidden; font-family: var(--hp-font); }
.hp .stage-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.hp .stage-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21, 23, 25, .25), rgba(21, 23, 25, .72)); }
.hp .stage-poster .sp-btn, .hp .stage-poster .sp-note { position: relative; z-index: 1; }
.hp .stage-poster .sp-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--pink); color: #fff; font-weight: 800; font-size: 15px; border-radius: 999px; padding: 14px 24px; box-shadow: 0 16px 32px -16px rgba(200, 20, 80, .6); }
.hp .stage-poster .sp-play { font-size: 12px; }
.hp .stage-poster .sp-note { font-size: 12.5px; font-weight: 700; color: rgba(244, 246, 242, .62); letter-spacing: .04em; }
.hp .stage-poster.loading .sp-btn { opacity: .55; }
.hp .stage-load { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: center; z-index: 5; color: rgba(244, 246, 242, .65); font-size: 13.5px; font-weight: 700; }
.hp .stage-load .ring { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .14); border-top-color: var(--pink); animation: hp-spin 0.9s linear infinite; }
@keyframes hp-spin { to { transform: rotate(360deg); } }
.hp .vrail { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 6px; z-index: 3; }
.hp .vrail button { border: 1.5px solid var(--dk-hair-2); background: rgba(21, 23, 25, .78); color: var(--on-dk-dim); border-radius: 10px; width: 44px; min-height: 34px; font-size: 11px; font-weight: 800; letter-spacing: .06em; cursor: pointer; backdrop-filter: blur(10px); transition: all .2s; font-family: var(--hp-font); }
.hp .vrail button:hover { color: #fff; }
.hp .vrail button.on { background: var(--pink); border-color: var(--pink); color: #fff; }
.hp .timebar { display: flex; align-items: center; gap: 10px; background: rgba(21, 23, 25, .78); border: 1px solid var(--dk-hair-2); border-radius: 999px; padding: 7px 16px 7px 8px; backdrop-filter: blur(10px); font-size: 12.5px; color: var(--on-dk-dim); }
.hp .timebar button { border: none; background: rgba(255, 255, 255, .07); color: #fff; border-radius: 999px; padding: 7px 13px; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: background .2s; font-family: var(--hp-font); white-space: nowrap; }
.hp .timebar button:hover { background: rgba(255, 255, 255, .16); }
.hp .timebar button.live { background: var(--pink); }
.hp .timebar button.pulse { animation: hp-pulse 2.2s infinite; }
.hp .timebar input[type=range] { width: 190px; accent-color: var(--pink); }
.hp .timebar #hp-timelabel { min-width: 42px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; text-align: center; }
.hp .timebar .tb-modeled { font-size: 10.5px; letter-spacing: .12em; color: rgba(244, 246, 242, .42); font-weight: 800; }
.hp .twin-cta { position: absolute; left: 50%; transform: translateX(-50%); bottom: 78px; z-index: 4; display: inline-flex; align-items: center; gap: 8px; background: var(--pink); color: #fff; text-decoration: none; font-weight: 700; font-size: 14.5px; border-radius: 999px; padding: 12px 22px; box-shadow: 0 16px 32px -16px rgba(200, 20, 80, .6); transition: background .25s, transform .25s; }
.hp .twin-cta:hover { background: var(--pink-hot); transform: translateX(-50%) translateY(-2px); }
.hp .twin-lbl { pointer-events: none; background: rgba(16, 18, 20, .88); border: 1px solid var(--dk-hair-2); border-radius: 999px; padding: 6px 13px; font-size: 12px; font-weight: 700; color: #fff; white-space: nowrap; font-family: var(--hp-font); }
.hp .twin-lbl b { font-variant-numeric: tabular-nums; }
.hp .readout .approve { margin-top: 12px; width: 100%; border: none; border-radius: 10px; background: var(--pink); color: #fff; font-weight: 800; font-size: 13.5px; min-height: 38px; cursor: pointer; transition: background .2s; font-family: var(--hp-font); }
.hp .readout .approve:hover { background: var(--pink-hot); }
.hp .readout .approve.pulse { animation: hp-pulse 2.2s infinite; }
.hp .readout .ok-note { color: var(--pos-dk); }

/* ── a day with AGEYE ── */
.hp .day-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.hp .dayline { list-style: none; margin: 0; padding: 0; }
.hp .dayline li { display: grid; grid-template-columns: 82px 1fr; gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--hair); position: relative; cursor: pointer; transition: background .35s, border-color .35s; }
.hp .dayline li:last-child { border-bottom: 0; }
.hp .dayline .tm { font-size: 13px; font-weight: 800; letter-spacing: .04em; color: var(--quiet); padding-top: 3px; white-space: nowrap; }
.hp .dayline b { font-size: 17px; }
.hp .dayline p { margin: 4px 0 0; font-size: 15px; color: var(--mut); line-height: 1.55; }
.hp .dayline li.hot { background: var(--pink-wash); border: 1.5px solid rgba(232, 21, 91, .35); border-radius: 14px; padding: 17px 16px; margin: 6px -16px; border-bottom-width: 1.5px; }
.hp .dayline li.hot .tm { color: var(--pink); }
/* the moment being "played" carries a dwell bar, so the walkthrough reads as
   deliberate rather than a random blink; --dwell is set per step by JS */
.hp .dayline li.hot.tick::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 7px; height: 2px; border-radius: 2px; background: var(--pink); opacity: .5; transform: scaleX(0); transform-origin: left; animation: hp-dwell var(--dwell, 2600ms) linear forwards; }
@keyframes hp-dwell { to { transform: scaleX(1); } }
.hp .dayline.pinned li.hot.tick::after { display: none; }

/* ── unit economics ── */
.hp .eco { margin-top: 52px; background: var(--card); border: 1px solid var(--hair); border-radius: var(--hp-r-lg); box-shadow: var(--hp-shadow-soft); padding: 34px; position: relative; }
.hp .eco-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; }
.hp .eco .selhead { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--quiet); margin-bottom: 18px; }
.hp .costrows { display: grid; }
.hp .crow { display: grid; grid-template-columns: 148px 1fr 66px; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--hair); }
.hp .crow .cl { font-size: 15px; color: var(--mut); }
.hp .crow .cb { height: 12px; border-radius: 6px; background: linear-gradient(90deg, #3c3f43, var(--dk)); min-width: 6px; }
.hp .crow.lever .cb { background: linear-gradient(90deg, var(--pink-hot), var(--pink)); }
.hp .crow .cv { font-size: 15.5px; font-weight: 700; text-align: right; }
.hp .crow .cv i { font-style: normal; font-size: 11px; font-weight: 700; color: var(--quiet); }
.hp .crow.total { grid-template-columns: 1fr 84px; border-bottom: 0; border-top: 2px solid var(--ink); margin-top: 4px; padding: 14px 0 0; }
.hp .crow.total .cl { font-size: 16px; font-weight: 800; color: var(--ink); }
.hp .crow.total .cv { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.hp .crow.total .cv i { font-size: 13px; }
.hp .eco-ctx { font-size: 13.5px; color: var(--quiet); margin-top: 16px; }
.hp .eco-ctx b { color: var(--mut); }
.hp .sprow { margin-bottom: 18px; }
.hp .sprow .sl { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; font-size: 14.5px; color: var(--mut); margin-bottom: 8px; }
.hp .sprow .sl i { font-style: normal; font-size: 12.5px; color: var(--quiet); }
.hp .sprow .sb { height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: flex-end; padding: 0 14px; font-weight: 800; font-size: 16px; }
.hp .sprow .sb.market { background: var(--pink-wash); border: 1.5px solid rgba(232, 21, 91, .35); color: var(--pink); width: 100%; }
.hp .sprow .sb.cost { background: var(--dk); color: var(--on-dk); width: 53%; }
.hp .gap { display: flex; align-items: baseline; gap: 14px; border: 1px solid var(--hair); border-radius: 14px; padding: 16px 18px; margin-top: 6px; background: var(--paper); }
.hp .gap .gv { font-size: 34px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.hp .gap .gv i { font-style: normal; font-size: 15px; font-weight: 700; color: var(--quiet); letter-spacing: 0; }
.hp .gap .gk { font-size: 14.5px; color: var(--mut); line-height: 1.45; }
.hp .gap .gk b { color: var(--ink); }
.hp .eco-src { font-size: 13px; color: var(--quiet); margin-top: 14px; line-height: 1.55; }
/* the market number is AMI's — give the reader the way to go check it */
.hp .eco-ami { margin-top: 12px; font-size: 15px; }
.hp .eco-src b { color: var(--mut); }
.hp .eco-foot { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--hair); font-size: 15px; color: var(--mut); }
.hp .eco-foot a { font-weight: 700; color: var(--ink); }
.hp .eco-foot a.hp-btn-p { color: #fff; }

/* ── See It Built install strip (native scroll-snap, zero JS) ── */
.hp .tour { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 18px; font-size: 15px; color: var(--mut); }
.hp .tour-end { justify-content: flex-end; }
.hp .strip { display: flex; gap: 14px; margin-top: 40px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding: 4px max(28px, calc(50vw - 562px)) 18px; scrollbar-width: thin; scrollbar-color: rgba(16, 16, 16, .22) transparent; }
.hp .strip::-webkit-scrollbar { height: 8px; }
.hp .strip::-webkit-scrollbar-track { background: transparent; }
.hp .strip::-webkit-scrollbar-thumb { background: rgba(16, 16, 16, .18); border-radius: 99px; }
.hp .strip .sh { flex: 0 0 auto; height: 340px; border-radius: var(--hp-r); overflow: hidden; border: 1px solid var(--hair); position: relative; scroll-snap-align: start; box-shadow: var(--hp-shadow-soft); background: var(--card); }
.hp .strip .sh img { height: 100%; width: auto; display: block; max-width: none; }
.hp .strip .sh .hp-cc { position: absolute; left: 10px; bottom: 10px; background: rgba(16, 16, 16, .72); color: #fff; font-size: 12px; font-weight: 700; border-radius: 8px; padding: 4px 10px; backdrop-filter: blur(6px); white-space: nowrap; }

/* ── FAQ 2-col ── */
.hp .faq { padding-top: 52px; }
.hp .faqgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-top: 8px; }
.hp .faq details { border-bottom: 1px solid var(--hair); }
.hp .faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-size: 18px; font-weight: 700; min-height: 48px; }
.hp .faq summary::-webkit-details-marker { display: none; }
.hp .faq summary:hover { color: #000; }
.hp .faq summary .pm { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--hair-2); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 18px; transition: transform .25s, background .25s; }
.hp .faq details[open] summary .pm { background: var(--pink); border-color: var(--pink); transform: rotate(45deg); color: #fff; }
.hp .faq .a { padding: 0 46px 24px 4px; font-size: 16px; color: var(--mut); line-height: 1.65; }
.hp .faq .a b { color: var(--ink); }
.hp .faq-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }

/* ── final CTA / router (charcoal) ── */
.hp .deep { background-color: var(--dk); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='nz'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23nz)' opacity='.09'/%3E%3C/svg%3E"); color: #fff; padding: 132px 0 112px; position: relative; z-index: 1; }
.hp .deep-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.hp .deep h2 { color: #fff; }
.hp .deep .thin { color: rgba(244, 246, 242, .7); }
.hp .deep .sub { color: var(--on-dk-dim); margin-top: 20px; }
.hp .deep .sub b { color: #fff; }
.hp .deep .mail { margin-top: 26px; font-size: 15px; color: var(--on-dk-dim); }
.hp .deep .mail b { color: #fff; }
.hp .hp-form { display: grid; gap: 22px; }
.hp .fgroup .fg-h { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dk-dim); margin-bottom: 14px; }
.hp .fgroup .fg-h .stepn { width: 24px; height: 24px; border-radius: 50%; background: var(--pink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; letter-spacing: 0; }
.hp .f { display: flex; flex-direction: column; gap: 7px; }
.hp .f.f-wide { grid-column: 1/-1; }
.hp .flabel { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dk-dim); }
.hp .optrow { display: flex; flex-wrap: wrap; gap: 8px; }
.hp .opt { display: flex; align-items: center; min-height: 44px; padding: 0 16px; font-size: 14.5px; font-weight: 700; color: rgba(244, 246, 242, .84); background: rgba(255, 255, 255, .04); border: 1.5px solid var(--dk-hair-2); border-radius: 999px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; font-family: var(--hp-font); }
.hp .opt:hover { border-color: rgba(255, 255, 255, .42); color: #fff; }
.hp .opt.on { background: var(--pink); border-color: var(--pink); color: #fff; }
.hp .opt:focus-visible { outline: 2px solid var(--pink-hot); outline-offset: 2px; }
.hp .form-cta { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.hp .fine { font-size: 13.5px; color: rgba(244, 246, 242, .5); }
.hp .deep .tlink { color: var(--pink-hot); }

/* ── sticky mobile CTA ── */
.hp-mcta { display: none; }
@media (max-width: 900px) {
  .hp-mcta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(43, 45, 48, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid rgba(255, 255, 255, .1); }
  .hp-mcta .hp-btn { width: 100%; }
  /* keep the footer's last content clear of the fixed bar */
  body.home-v2 footer { padding-bottom: 84px; }
  /* Weglot's fixed language selector (z-index 9999) otherwise lands on top
     of the sticky CTA's right half — lift it above the bar */
  body.home-v2 aside.country-selector.weglot-dropdown { bottom: 82px !important; }
}

/* ── chrome overrides: charcoal nav + charcoal footer on the v2 homepage ── */
body.home-v2 .nav-bar { background: rgba(43, 45, 48, .94); border-bottom: 1px solid rgba(255, 255, 255, .1); }
body.home-v2 .nav-trigger { color: rgba(244, 246, 242, .88); }
body.home-v2 .nav-trigger:hover { color: #fff; }
body.home-v2 .hamburger-line { background: #fff; }
body.home-v2 .nav-hamburger:hover { background: rgba(255, 255, 255, .08); }
body.home-v2 footer { background: #2b2d30; border-top: 1px solid rgba(255, 255, 255, .1); }

/* nav "Book a demo" CTA (rendered only when v2 active — see site-nav.php) */
body.home-v2 .nav-demo-cta { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; border-radius: 999px; background: var(--pink); color: #fff; font-weight: 700; font-size: 15px; min-height: 44px; padding: 0 22px; text-decoration: none; transition: background .25s, transform .25s; }
body.home-v2 .nav-demo-cta:hover { background: var(--pink-hot); transform: translateY(-1px); }
@media (max-width: 900px) { body.home-v2 .nav-demo-cta { display: none; } }

/* ── responsive ── */
@media (max-width: 940px) {
  .hp-hero { min-height: auto; padding: 130px 0 70px; }
  .hp-hero-grid, .hp .eco-grid, .hp .deep-grid, .hp .day-grid { grid-template-columns: 1fr; }
  .hp .proofgrid { grid-template-columns: repeat(2, 1fr); }
  .hp .proof-dk { margin-top: -36px; }
  .hp .paths, .hp .tiers { grid-template-columns: 1fr; }
  .hp .pane { grid-template-columns: 1fr; padding: 26px 18px 30px; }
  .hp .faqgrid { grid-template-columns: 1fr; }
  .hp .snap { margin: 34px 0 0; }
  .hp .tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: thin; }
  .hp .tabs label { white-space: nowrap; }
  .hp .stage { height: 470px; }
  /* Phones get the shelf record as a bottom sheet inside the stage, revealed
     when a shelf is tapped (JS adds .picked) — otherwise tapping the model
     did nothing visible and the crop/ARIS/approve story was desktop-only. */
  .hp .readout { display: none; }
  .hp .stage.picked .readout { display: block; top: auto; left: 12px; right: 12px; bottom: 62px; width: auto; max-height: 62%; padding: 13px 15px; border-radius: 14px; }
  .hp .stage.picked .readout .frame { margin-top: 8px; }
  .hp .stage.picked .readout .rows { gap: 5px; font-size: 12.5px; }
  .hp .stage.picked .readout .note { margin-top: 8px; padding-top: 7px; font-size: 11.5px; }
  .hp .stage.picked .readout .approve { min-height: 44px; margin-top: 9px; }
  .hp .readout .rt-close { display: inline-flex; }
  .hp .legend { display: none; }
  .hp .vrail { display: none; }
  .hp .timebar { display: none; }
  .hp .twin-cta { bottom: 74px; }
  /* touch has no cursor to hover and no wheel to scroll-zoom, and the pill was
     landing under the lens buttons on a 420px stage — drop it on small screens */
  .hp .hint { display: none; }
  /* tap targets: the tertiary links are 24–26px tall on a phone */
  .hp .tlink { min-height: 44px; }
  .hp .tier-links .tlink, .hp .tour .tlink { min-height: 44px; }
  /* the tab strip scrolls; make it snap and leave a hint of the next tab */
  .hp .tabs { scroll-snap-type: x proximity; overscroll-behavior-x: contain; padding-right: 28px; }
  .hp .tabs label { scroll-snap-align: start; }
}
@media (max-width: 600px) {
  /* The .sweep line ("lowest cost per pound") is nowrap; at the 46px clamp
     floor it renders 428px wide and clips on phones. 10.5vw - 6px tracks the
     viewport so the longest hero line always fits (390px → ~35px, 428px-wide
     line → ~325px). */
  .hp h1 { font-size: clamp(28px, 10.5vw - 6px, 46px); }
  .hp .strip .sh { height: 220px; }
  .hp .proofgrid { grid-template-columns: 1fr; gap: 22px; padding: 22px; }
  .hp .proof-dk { margin-top: -30px; }
  .hp .crow { grid-template-columns: 104px 1fr 62px; gap: 10px; }
  .hp .gap .gv { font-size: 27px; }
  /* twin HUD: compact pills that wrap as whole chips, never mid-word */
  .hp .hud.tl { max-width: calc(100% - 32px); flex-wrap: wrap; gap: 6px; }
  .hp .hud .chip { font-size: 10.5px; padding: 5px 11px; gap: 6px; }
  .hp .hud .chip-muted { font-size: 9.5px; }
  .hp .modes { gap: 6px; }
  .hp .modes button { font-size: 12.5px; padding: 0 13px; }
  .hp .stage-bar { left: 12px; right: 12px; bottom: 12px; }
  .hp { font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .hp *, .hp *::before, .hp *::after { animation: none !important; transition: none !important; }
  .hp .sweep::after { transform: scaleX(1); }
}

/* deploy nudge 2026-08-17: WPE file sync dropped the previous deploy during a 522 blip */
