/* Maliwize website. Tokens follow the brand guide (Brand Guidelines v1.0, 2026): navy carries
   structure and type, teal carries the interface, green means money moving the right way, lime is
   a highlight only. One stylesheet, no framework, and the only script is the cookie choice
   (assets/consent.js): every animation here is CSS, and every one of them has a final state that is correct when animation is off (reduced motion) or
   unsupported (older browsers). Hey Fill's own palette is scoped to `.hf-band`, `.hf-hero` and
   the `.hf` screens. The site ships no inline styles (the CSP forbids them), so progress and
   counter values are the utility classes at the end. */

:root {
  --ink: #0E3A52;
  --ink-2: #0B2E42;
  --teal: #0F5C55;
  --green: #2E9E4F;
  --green-text: #268241;
  --lime: #9CCB3B;
  --paper: #F7F9F8;
  --white: #FFFFFF;
  --slate: #3C6579;
  --line: #E3E9EA;
  --clay: #C0492F;
  --warn: #A86400;
  --tint-teal: #E6F1EF;
  --tint-green: #E6F3EA;
  --gradient: linear-gradient(135deg, #0E3A52 0%, #0F5C55 35%, #2E9E4F 72%, #9CCB3B 100%);
  --hf: #0076CA;
  --hf-deep: #005A9E;
  --hf-sky: #00A2E7;
  --hf-tint: #E5F2FB;
  --hf-orange: #FD8514;
  --hf-red: #D70027;
  --hf-ground: #F5F7FB;
  --radius: 22px;
  --max: 1120px;
  --gutter: 20px;
  --shadow: 0 1px 2px rgba(14, 58, 82, .04), 0 10px 30px -12px rgba(14, 58, 82, .16);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/25px var(--font);
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .score-band :focus-visible, .foot :focus-visible, .cta :focus-visible { outline-color: var(--lime); }
.hf-band :focus-visible, .hf-hero :focus-visible { outline-color: var(--white); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
b, strong { font-weight: 700; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---- header ---------------------------------------------------------------------------------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; position: relative; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: 10px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14.5px; padding: 8px 11px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--paper); color: var(--teal); }
.nav .signin { background: var(--teal); color: var(--white); margin-left: 6px; padding: 9px 16px; }
.nav .signin:hover { background: var(--ink); color: var(--white); }
.menu-box, .menu-btn { display: none; }
@media (max-width: 860px) {
  .menu-box { display: block; position: absolute; width: 1px; height: 1px; opacity: 0; }
  .menu-btn { display: grid; gap: 5px; width: 44px; height: 44px; padding: 12px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); cursor: pointer; }
  .menu-btn i { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
  .menu-box:focus-visible + .menu-btn { outline: 3px solid var(--ink); outline-offset: 3px; }
  .menu-box:checked + .menu-btn i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-box:checked + .menu-btn i:nth-child(2) { opacity: 0; }
  .menu-box:checked + .menu-btn i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav { display: none; position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 8px); flex-direction: column; align-items: stretch; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 10px; box-shadow: 0 20px 50px -20px rgba(14, 58, 82, .35); }
  .menu-box:checked ~ .nav { display: flex; animation: menu .25s var(--ease) both; }
  .nav-links { flex-direction: column; align-items: stretch; }
  .nav a { padding: 12px 14px; font-size: 16px; }
  .nav .signin { margin: 6px 0 0; text-align: center; }
}
@keyframes menu { from { opacity: 0; translate: 0 -8px; } }

/* ---- type ------------------------------------------------------------------------------------ */
h1, h2, h3 { margin: 0 0 12px; color: var(--ink); text-wrap: balance; }
.display { font-size: clamp(38px, 5.6vw, 58px); line-height: 1.02; font-weight: 800; letter-spacing: -0.035em; }
h1 { font-size: clamp(32px, 4.6vw, 44px); line-height: 1.08; font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(27px, 3.4vw, 36px); line-height: 1.12; font-weight: 800; letter-spacing: -0.025em; max-width: 24em; }
h3 { font-size: 20px; line-height: 26px; font-weight: 700; letter-spacing: -0.01em; }
.lead { font-size: 18px; line-height: 28px; font-weight: 500; color: var(--slate); max-width: 38em; }
.label { font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); margin: 0 0 10px; }
.caption { font-size: 11px; line-height: 15px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); }
p { margin: 0 0 14px; }
.muted { color: var(--slate); }
.more { display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; font-weight: 700; text-decoration: none; color: var(--teal); }
.more svg { width: 18px; height: 18px; transition: translate .25s var(--ease); }
.more:hover svg { translate: 4px 0; }

/* ---- buttons, pills ------------------------------------------------------------------------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 15px; font-weight: 700; font-size: 15.5px; text-decoration: none; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--white); color: var(--ink); }
.btn.primary:hover, .btn.light:hover { background: var(--tint-green); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--lime); }
.btn.ghost { border: 1.5px solid rgba(255, 255, 255, .5); color: var(--white); }
.btn.ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255, 255, 255, .08); }
.btn.teal { background: var(--teal); color: var(--white); }
.btn.teal:hover { background: var(--ink); color: var(--white); }
.btn.outline { border: 1.5px solid var(--slate); color: var(--ink); background: var(--white); }
.btn.outline:hover { border-color: var(--teal); color: var(--teal); }
.btn.light { background: var(--white); color: var(--ink); }
.btn.white { background: var(--hf-red); color: var(--white); }
.btn.white:hover { background: var(--white); color: var(--hf); }

.status { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: var(--white); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; margin: 0 0 20px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(156, 203, 59, .6); animation: pulse 2.4s ease-out 2; }
.status.dark { background: var(--tint-teal); border-color: transparent; color: var(--teal); }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(156, 203, 59, 0); } 100% { box-shadow: 0 0 0 0 rgba(156, 203, 59, 0); } }

/* ---- hero -------------------------------------------------------------------------------------- */
.hero { background: var(--ink); color: var(--white); overflow: clip; position: relative; }
.hero::before { content: ""; position: absolute; inset: -30% -20% auto 35%; height: 120%; background: var(--gradient); opacity: .55; filter: blur(70px); border-radius: 50%; pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 20% 20%, rgba(255, 255, 255, .06), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 56px; display: grid; gap: 32px; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; }
.hero h1, .hero .display { color: var(--white); }
.hero .lead { color: #D6E4E8; }
.hero.small .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; }
.hero-copy > * { animation: up .9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
@keyframes up { from { opacity: 0; translate: 0 18px; } }
.proof { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: #D6E4E8; font-size: 14px; font-weight: 600; }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof svg { width: 20px; height: 20px; color: var(--lime); }

.hero-visual { position: relative; min-height: 690px; display: flex; justify-content: center; }
.device-stack { position: relative; width: 100%; height: 100%; min-height: 690px; }
.device { position: absolute; }
.device.front { left: 50%; top: 6px; translate: -52% 0; z-index: 2; animation: rise 1.3s var(--ease) .15s both; }
.device.back { left: 50%; top: 70px; translate: 12% 0; z-index: 1; filter: brightness(.95); animation: rise 1.3s var(--ease) .35s both; }
.device.back .phone { --s: .62; }
.device.front .phone { --s: .78; }
@keyframes rise { from { opacity: 0; translate: var(--from, -52%) 60px; } }
.device.back { --from: 12%; }
.float { animation: float 7s ease-in-out 1.5s infinite; }
@keyframes float { 50% { translate: 0 -12px; } }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 20px; padding-top: 44px; padding-bottom: 0; }
  .hero-visual, .device-stack { min-height: 0; height: 460px; margin-top: 10px; mask-image: linear-gradient(#000 70%, transparent 100%); -webkit-mask-image: linear-gradient(#000 70%, transparent 100%); }
  .device.front { translate: -58% 0; }
  .device.back { translate: 8% 0; top: 60px; }
  .device.front .phone { --s: .7; }
  .device.back .phone { --s: .56; }
}
@media (max-width: 480px) {
  .device.front .phone { --s: .62; }
  .device.back .phone { --s: .5; }
  .device.front { translate: -62% 0; }
  .device.back { translate: 14% 0; }
}

/* ---- sections ---------------------------------------------------------------------------------- */
section.block { padding: 76px 0; }
section.block + section.block { border-top: 1px solid var(--line); }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 26px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .grid, .grid.two { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }

.loop { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: loop; position: relative; }
.loop li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); position: relative; display: grid; gap: 6px; align-content: start; }
.loop li > span:last-child { color: var(--slate); font-size: 15px; line-height: 23px; }
.loop-k { width: 34px; height: 34px; border-radius: 50%; background: var(--tint-teal); color: var(--teal); display: grid; place-items: center; font-weight: 800; margin-bottom: 8px; }
.loop li:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 50%; width: 14px; height: 2px; background: var(--line); }
@media (max-width: 860px) { .loop { grid-template-columns: 1fr; } .loop li:not(:last-child)::after { right: auto; left: 38px; top: auto; bottom: -14px; width: 2px; height: 14px; } }

.features { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 30px; }
@media (max-width: 960px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px 24px; box-shadow: var(--shadow); display: grid; align-content: start; }
.feature h3 { margin-top: 18px; }
.feature p { color: var(--slate); font-size: 15.5px; line-height: 24px; }
.feature .more { margin-top: auto; font-size: 15px; }

.steps-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.steps-visual { display: flex; justify-content: center; }
.steps-visual .phone { --s: .62; }
.crop { align-items: flex-start; max-height: 560px; overflow: clip; padding-top: 6px; mask-image: linear-gradient(#000 74%, transparent 98%); -webkit-mask-image: linear-gradient(#000 74%, transparent 98%); }
@media (max-width: 960px) { .steps-grid { grid-template-columns: 1fr; } .steps-visual { order: -1; } .crop { max-height: 430px; } }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 20px 72px; position: relative; box-shadow: var(--shadow); }
.steps li::before { content: counter(step); position: absolute; left: 20px; top: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: var(--white); display: grid; place-items: center; font-weight: 800; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--slate); }
.steps-copy .btn { margin-top: 24px; }

.band { padding: 80px 0; position: relative; overflow: clip; }
.score-band { background: var(--ink); color: var(--white); }
.score-band::before { content: ""; position: absolute; inset: auto -10% -70% 50%; height: 130%; background: var(--gradient); opacity: .35; filter: blur(80px); border-radius: 50%; pointer-events: none; }
.score-band h2, .score-band h3 { color: var(--white); }
.score-band .lead { color: #D6E4E8; }
.score-band .label { color: #D6E4E8; }
.score-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; position: relative; z-index: 1; }
@media (max-width: 860px) { .score-grid { grid-template-columns: 1fr; } }
.bigring-wrap { position: relative; width: min(300px, 70vw); margin: 0 auto; }
.bigring { width: 100%; height: auto; }
.bigring circle { fill: none; stroke-width: 6.5; stroke-linecap: round; }
.bigring .track { stroke: rgba(255, 255, 255, .18); }
.bigring .val { stroke: var(--lime); transform: rotate(-90deg); transform-origin: center; stroke-dasharray: 163.4; stroke-dashoffset: calc(163.4 * (1 - var(--p))); animation: draw 1.6s var(--ease) .2s both; }
@keyframes draw { from { stroke-dashoffset: 163.4; } }
.bigring-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.bigring-num .count { font-size: clamp(56px, 9vw, 84px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.bigring-tier { display: inline-block; margin: 10px auto 0; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 4px 14px; font-weight: 700; font-size: 14px; }
.bigring-cap { text-align: center; color: #A9C0C8; font-size: 14px; margin-top: 16px; }

.tiers { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; counter-reset: tier; }
.tiers li { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; padding: 14px 16px; display: grid; gap: 2px; position: relative; overflow: clip; }
.tiers li::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--lime); transform: scaleX(var(--p, 0)); transform-origin: left; }
.tiers li { --p: 1; }
.tiers b { font-size: 17px; }
.tiers span { font-size: 13px; color: #D6E4E8; font-variant-numeric: tabular-nums; }
.tiers.dark li { background: var(--white); border-color: var(--line); box-shadow: var(--shadow); }
.tiers.dark li::before { background: var(--green); }
.tiers.dark span { color: var(--slate); }
@media (max-width: 720px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.score-copy .btn { margin-top: 26px; }

/* Hey Fill: its own palette, the same type family, the same header and footer around it. */
.hf-band { background: var(--hf); color: var(--white); }
.hf-band::before { content: ""; position: absolute; inset: -40% auto auto -20%; width: 70%; height: 140%; background: radial-gradient(closest-side, var(--hf-sky), transparent); opacity: .55; pointer-events: none; }
.hf-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; position: relative; z-index: 1; }
@media (max-width: 960px) { .hf-grid { grid-template-columns: 1fr; } }
.hf-logo { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font-weight: 600; font-size: 14px; color: var(--white); }
.hf-logo img { width: 172px; height: 54px; }
.hf-logo span { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .35); }
.hf-head { color: var(--white); font-size: clamp(30px, 4.4vw, 50px); line-height: 1.1; letter-spacing: -0.03em; }
.hf-band .lead, .hf-hero .lead { color: var(--white); }
.blk { display: inline-block; padding: .04em .3em .1em; border-radius: .28em; line-height: 1.05; margin: .06em 0; }
.blk.red { background: var(--hf-red); color: var(--white); }
.blk.white { background: var(--white); color: var(--hf); }
.hf-pills { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hf-pills li { background: rgba(0, 40, 80, .22); border: 1px solid rgba(255, 255, 255, .45); color: var(--white); border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: 14.5px; animation: pop .7s var(--ease) both; }
.hf-pills li:nth-child(2) { animation-delay: .12s; } .hf-pills li:nth-child(3) { animation-delay: .24s; }
@keyframes pop { from { opacity: 0; translate: 0 10px; scale: .96; } }
.hf-caveat { margin: 20px 0 0; font-size: 14px; color: var(--white); }
.hf-caveat.dark { color: var(--slate); margin-top: 22px; max-width: 60em; }
.hf-band .btn.white { min-height: 52px; }
.hf-visual { position: relative; display: flex; justify-content: center; min-height: 520px; }
.hf-visual .phone { --s: .68; position: relative; z-index: 1; }
.hf-blob { position: absolute; width: 360px; height: 360px; right: 4%; top: 2%; border-radius: 42% 58% 55% 45% / 50% 40% 60% 50%; background: var(--white); opacity: .96; }
.hf-blob::after { content: ""; position: absolute; width: 120px; height: 120px; left: -70px; bottom: 30px; border-radius: 50%; background: var(--hf-orange); }
@media (max-width: 960px) { .hf-visual { min-height: 0; height: 440px; align-items: flex-start; overflow: clip; mask-image: linear-gradient(#000 70%, transparent); -webkit-mask-image: linear-gradient(#000 70%, transparent); } .hf-blob { width: 260px; height: 260px; right: 0; } }

.hf-hero { background: var(--hf); }
.hf-hero::before { background: radial-gradient(closest-side, var(--hf-sky), transparent); opacity: .7; inset: -40% auto auto 50%; width: 70%; height: 160%; filter: none; }
.hf-hero .hf-logo { margin-bottom: 18px; }
.hf-page { padding: 72px 0 56px; }
.hf-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; position: relative; z-index: 1; }
@media (max-width: 960px) { .hf-steps { grid-template-columns: 1fr; } }
.hf-step { background: var(--white); color: var(--ink); border-radius: 26px; padding: 24px 24px 0; overflow: clip; display: grid; gap: 8px; box-shadow: 0 30px 60px -30px rgba(0, 40, 80, .5); }
.hf-step h2 { font-size: 24px; color: var(--hf); }
.hf-step p { color: var(--slate); font-size: 15px; line-height: 23px; }
.hf-k { width: 36px; height: 36px; border-radius: 50%; background: var(--hf-red); color: var(--white); display: grid; place-items: center; font-weight: 800; }
.hf-step .phone { --s: .62; margin: 10px auto -58%; }
.hf-step .phone.tilt-l, .hf-step .phone.tilt-r { transform: rotate(0); }
.promise.hfp { border-left-color: var(--hf-orange); }

.trust { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 30px 0 26px; }
@media (max-width: 960px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .trust { grid-template-columns: 1fr; } }
.trust-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.trust-card .ic, .rule-card .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--tint-teal); color: var(--teal); display: grid; place-items: center; margin-bottom: 16px; }
.trust-card .ic svg, .rule-card .ic svg { width: 24px; height: 24px; }
.trust-card h3 { font-size: 18px; margin-bottom: 6px; }
.trust-card p { margin: 0; color: var(--slate); font-size: 15px; line-height: 23px; }

.rules { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 28px 0 22px; }
@media (max-width: 720px) { .rules { grid-template-columns: 1fr; } }
.rule-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.rule-card .ic { background: var(--tint-green); color: var(--green-text); }
.rule-card h3 { font-size: 19px; margin-bottom: 6px; }
.rule-card p { margin: 0; color: var(--slate); font-size: 15px; line-height: 23px; }

.promise { max-width: 62em; background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--green); border-radius: 16px; padding: 18px 20px; margin-top: 16px; }
.promise p { margin: 0; }

.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split-visual { display: flex; justify-content: center; }
.split-visual .phone { --s: .62; }
.period-demo { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.period-line { margin: 12px 0 0; color: var(--slate); font-weight: 600; }

.walk { list-style: none; padding: 0; margin: 0; display: grid; gap: 56px; }
.walk-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.walk-step:nth-child(even) .walk-copy { order: 2; }
.walk-copy h2 { font-size: clamp(24px, 3vw, 32px); }
.walk-copy p { color: var(--slate); font-size: 16.5px; line-height: 26px; max-width: 34em; }
.walk-k { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: var(--white); font-weight: 800; margin-bottom: 16px; }
.walk-visual { display: flex; justify-content: center; align-items: flex-start; }
.walk-visual .phone { --s: .6; }
@media (max-width: 860px) { .walk-step { grid-template-columns: 1fr; gap: 16px; } .walk-step:nth-child(even) .walk-copy { order: 0; } }

.prose { max-width: 44em; }
.prose h2 { margin-top: 34px; font-size: 26px; }
.prose ul { padding-left: 20px; margin: 0 0 14px; }
.prose li { margin-bottom: 6px; }
.note { background: #FFF7E6; border: 1px solid #F0D9A8; border-radius: 14px; padding: 14px 16px; color: #6B4A12; font-size: 15px; margin: 0 0 22px; }

.cta { background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: 34px; display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: space-between; box-shadow: var(--shadow); }
.cta h2 { margin: 0 0 8px; }
.cta p { margin: 0; max-width: 36em; }
.cta .actions { margin: 0; }

/* ---- footer ----------------------------------------------------------------------------------- */
.foot { background: var(--ink); color: #C9D8DD; }
.foot .wrap { padding-top: 48px; padding-bottom: 44px; display: grid; gap: 28px; grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 720px) { .foot .wrap { grid-template-columns: 1fr; } }
.foot a { display: inline-block; padding: 6px 0; color: var(--white); text-decoration: none; }
.foot a:hover { text-decoration: underline; color: var(--white); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.foot .legal { font-size: 13px; line-height: 20px; color: #A9C0C8; max-width: 44em; }
.foot .brand { display: flex; padding: 0; color: var(--white); margin-bottom: 12px; }
.foot .caption { color: #A9C0C8; margin-bottom: 14px; }
.foot-btn { display: inline-block; padding: 6px 0; border: 0; background: none; color: var(--white); font: inherit; text-align: left; cursor: pointer; }
.foot-btn:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---- cookie choice (assets/consent.js; drawn only once a Clarity project ID is set) ---------- */
.cookie-choice { position: fixed; z-index: 40; left: var(--gutter); right: var(--gutter); bottom: calc(var(--gutter) + env(safe-area-inset-bottom, 0px)); max-width: 34rem; max-height: calc(100vh - 2 * var(--gutter)); overflow-y: auto; margin: 0 auto; padding: 20px 22px 16px; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(14, 58, 82, .06), 0 18px 48px -12px rgba(14, 58, 82, .38); font-size: 15px; line-height: 23px; animation: cookie-choice-in .3s var(--ease); }
.cookie-choice[hidden] { display: none; }
.cookie-choice:focus { outline: none; }
.cookie-choice:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: var(--radius); }
.cookie-choice p { margin: 0 0 10px; }
.cookie-choice .cookie-choice-title { margin-bottom: 6px; font-weight: 800; font-size: 16px; }
.cookie-choice .cookie-choice-now { font-weight: 700; color: var(--teal); }
.cookie-choice-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 10px; }
.cookie-choice-btn { flex: 1 1 6.5rem; min-height: 46px; padding: 0 18px; border: 0; border-radius: 14px; background: var(--teal); color: var(--white); font: 700 15px/1.2 var(--font); cursor: pointer; transition: background .2s; }
.cookie-choice-btn:hover { background: var(--ink); }
.cookie-choice .cookie-choice-more { margin: 0; font-size: 14px; }
@media (max-width: 480px) { .cookie-choice { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); max-height: calc(100vh - 24px); padding: 16px 16px 12px; font-size: 14px; line-height: 21px; } .cookie-choice .cookie-choice-title { font-size: 15px; } .cookie-choice-actions { margin: 12px 0 8px; } }
@keyframes cookie-choice-in { from { opacity: 0; translate: 0 12px; } }

/* ---- phone mockups -------------------------------------------------------------------------- */
.phone { --s: .7; font-size: calc(10px * var(--s)); width: 39em; height: 84.4em; position: relative; border-radius: 4.6em; background: #0B0F14; padding: .9em; box-shadow: 0 1.4em 2.6em -1em rgba(14, 58, 82, .4), 0 4em 8em -2em rgba(0, 0, 0, .45), inset 0 0 0 .15em #353C45; flex: none; }
.phone::before, .phone::after { content: ""; position: absolute; width: .35em; background: #2A3139; border-radius: .2em; }
.phone::before { display: none; }
.phone::after { right: -.35em; top: 20em; height: 7em; }
.screen { position: absolute; inset: .9em; border-radius: 3.9em; background: var(--paper); overflow: clip; color: var(--ink); line-height: 1.3; }
.island { position: absolute; left: 50%; top: 1.4em; translate: -50% 0; width: 1.7em; height: 1.7em; background: #0B0F14; border-radius: 50%; z-index: 3; box-shadow: 0 0 0 .25em #1C232B; }
.sb { display: flex; justify-content: space-between; align-items: center; padding: 1.7em 2.8em 0; font-weight: 700; font-size: 1.45em; }
.sb svg { width: 3.2em; height: .85em; fill: currentColor; }
.app { padding: 1.4em 1.8em 10em; }
.app.hf { background: var(--hf-ground); min-height: 100%; }
.ah { display: flex; align-items: center; gap: 1em; margin-bottom: 1.2em; }
.ah small, .tile small, .hc small, .field small, .rule small, .rr small, .ctile small, .amtin small, .codecard small, .sub, .foot-note { display: block; color: var(--slate); font-size: 1.1em; }
.ah b { display: block; font-size: 1.5em; }
.av { width: 3.4em; height: 3.4em; border-radius: 50%; background: var(--tint-teal); color: var(--teal); display: grid; place-items: center; font-weight: 800; font-size: 1.1em; }
.ah > div { flex: 1; }
.bell { position: relative; width: 3.4em; height: 3.4em; border-radius: 1.1em; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; }
.bell svg { width: 1.9em; height: 1.9em; fill: var(--ink); }
.bell i { position: absolute; right: -.3em; top: -.3em; width: 1.4em; height: 1.4em; border-radius: 50%; background: var(--clay); }
.ah2 { display: flex; align-items: center; gap: .8em; margin-bottom: 1.2em; font-size: 1.1em; }
.ah2 b { font-size: 1.7em; flex: 1; }
.ah2 .back { font-size: 2em; line-height: 1; color: var(--teal); }
.ah2 .link { color: var(--teal); font-weight: 700; font-size: 1.2em; }
.sub { margin: -.6em 0 1em; }
.hc { background: var(--gradient); color: var(--white); border-radius: 2em; padding: 1.6em 1.7em; margin-bottom: 1.2em; }
.hc small { color: rgba(255, 255, 255, .85); }
.amt { font-size: 3.3em; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; margin: .05em 0; }
.hc-stats { display: flex; gap: 1.6em; margin-top: 1.1em; padding-top: 1em; border-top: 1px solid rgba(255, 255, 255, .25); font-size: 1.05em; color: rgba(255, 255, 255, .85); }
.hc-stats b { display: block; color: var(--white); font-size: 1.25em; font-variant-numeric: tabular-nums; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; margin-bottom: 1.2em; }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: 1.6em; padding: 1.2em 1.3em; }
.tile b { display: block; font-size: 1.45em; color: var(--teal); margin: .2em 0; }
.tile span { color: var(--slate); font-size: 1.05em; }
.card, .screen .card { }
.screen .card { background: var(--white); border: 1px solid var(--line); border-radius: 1.6em; padding: 1.3em 1.4em; margin-bottom: 1.2em; box-shadow: none; }
.ch { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .6em; }
.ch b { font-size: 1.35em; }
.ch span { color: var(--teal); font-weight: 700; font-size: 1.1em; }
.ln { padding: .55em 0; }
.ln-h { display: flex; justify-content: space-between; font-size: 1.2em; font-weight: 600; gap: 1em; }
.ln-h span:last-child { color: var(--slate); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ln-h .near { color: var(--warn); } .ln-h .over { color: var(--clay); } .ln-h .green { color: var(--green-text); } .ln-h .fixed { color: var(--slate); }
.bar { height: .65em; background: var(--line); border-radius: 99px; overflow: clip; margin-top: .55em; }
.bar i { display: block; height: 100%; background: var(--green); border-radius: 99px; transform-origin: left; transform: scaleX(var(--p)); animation: fill 1.2s var(--ease) .5s both; }
.bar i.near { background: var(--warn); } .bar i.over { background: var(--clay); } .bar i.fixed { background: #9FB6C2; }
@keyframes fill { from { transform: scaleX(0); } }
.rr { display: flex; align-items: center; gap: 1.2em; }
.rr > div { flex: 1; min-width: 0; }
.rr b { display: block; font-size: 1.35em; }
.rr .chev, .hfdoor .chev { font-size: 2em; color: var(--slate); line-height: 1; }
.ring { width: 6.2em; height: 6.2em; flex: none; }
.ring circle { fill: none; stroke-width: 7; stroke-linecap: round; }
.ring .track { stroke: var(--line); }
.ring .val { stroke: var(--green); transform: rotate(-90deg); transform-origin: center; stroke-dasharray: 163.4; stroke-dashoffset: calc(163.4 * (1 - var(--p))); animation: draw 1.4s var(--ease) .6s both; }
.hfdoor { display: flex; align-items: center; gap: 1.1em; background: var(--hf); color: var(--white); border-radius: 1.6em; padding: 1.2em 1.3em; margin-bottom: 1.2em; }
.hfdoor .chev { color: var(--white); }
.hfdoor b { display: block; font-size: 1.3em; }
.hfdoor small { display: block; font-size: 1.1em; opacity: .9; }
.hfdoor > span:nth-child(2) { flex: 1; }
.hfm { width: 3.6em; height: 3.6em; border-radius: 1.1em; background: var(--white); display: grid; place-items: center; flex: none; }
.hfm svg { width: 2.4em; height: 2.2em; }
.hfm.sm { width: 3em; height: 3em; border-radius: .9em; } .hfm.sm svg { width: 2em; height: 1.8em; }
.tb { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 1em 0 2.6em; background: rgba(255, 255, 255, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); font-size: 1.05em; font-weight: 700; color: var(--slate); z-index: 2; }
.tb span { display: grid; justify-items: center; gap: .3em; }
.tb svg { width: 2em; height: 2em; fill: currentColor; }
.tb .on { color: var(--teal); }
.app.hf ~ .tb .on { color: var(--hf); }
.pb { background: var(--white); border: 1px solid var(--line); border-radius: 1.4em; padding: .9em 1em; margin-bottom: 1.2em; }
.pb small { display: block; color: var(--slate); font-size: 1.1em; margin-top: .6em; }
.seg { display: flex; background: var(--line); border-radius: 1em; padding: .3em; gap: .2em; }
.seg span { flex: 1; text-align: center; border-radius: .8em; padding: .55em 0; font-size: 1.15em; font-weight: 700; color: var(--slate); }
.seg .on { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(15, 23, 42, .08); }
.seg.big { font-size: 15px; padding: 4px; border-radius: 14px; } .seg.big span { padding: 10px 0; border-radius: 11px; }
.amtin { text-align: center; padding: 1.4em 0 1.8em; }
.amtin .big { font-size: 4.4em; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.amtin .big span { font-size: .55em; color: var(--slate); }
.field { background: var(--white); border: 1px solid var(--line); border-radius: 1.4em; padding: 1.1em 1.3em; margin-bottom: 1em; }
.field b { display: block; font-size: 1.4em; margin-top: .15em; }
.field.split { display: flex; justify-content: space-between; align-items: center; gap: 1em; font-size: 1.2em; font-weight: 600; }
.field.split small { font-weight: 500; }
.field.split b { margin: 0; font-size: 1.2em; }
.tog { width: 4.2em; height: 2.4em; border-radius: 99px; background: var(--line); position: relative; flex: none; }
.tog.on { background: var(--teal); }
.tog i { position: absolute; top: .25em; left: .25em; width: 1.9em; height: 1.9em; border-radius: 50%; background: var(--white); }
.tog.on i { left: auto; right: .25em; }
.chips { display: flex; gap: .6em; overflow: clip; margin-top: .6em; }
.chips span { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: .5em 1.1em; font-size: 1.1em; font-weight: 700; color: var(--slate); white-space: nowrap; }
.chips .on { background: var(--teal); border-color: var(--teal); color: var(--white); }
.app.hf .chips .on { background: var(--hf); border-color: var(--hf); }
.app .btn, .screen .btn { display: block; text-align: center; background: var(--teal); color: var(--white); border-radius: 1.4em; padding: 1.3em; font-weight: 800; font-size: 1.35em; margin-top: 1.2em; min-height: 0; transform: none; }
.screen .btn.hfb { background: var(--hf); }
.score { background: var(--gradient); color: var(--white); border-radius: 2em; padding: 1.8em 1.6em 1.6em; text-align: center; margin-bottom: 1.2em; position: relative; }
.score .bigring { width: 13em; height: 13em; margin: 0 auto; }
.score .bigring circle { stroke-width: 7; }
.score .bigring .track { stroke: rgba(255, 255, 255, .25); }
.score .big { font-size: 4.8em; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: -1.95em 0 1.15em; font-variant-numeric: tabular-nums; }
.score .pill { display: inline-block; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: .35em 1.2em; font-size: 1.15em; font-weight: 700; margin-top: .4em; }
.score .bar { background: rgba(255, 255, 255, .25); margin-top: 1.2em; } .score .bar i { background: var(--lime); }
.score small { display: block; font-size: 1.1em; opacity: .9; margin-top: .6em; }
.rule { display: flex; gap: 1em; align-items: center; font-size: 1.2em; padding: .5em 0; font-weight: 600; }
.rule .ic { width: 2.6em; height: 2.6em; border-radius: .8em; background: var(--tint-green); color: var(--green-text); display: grid; place-items: center; font-weight: 800; flex: none; font-size: .95em; }
.rule .ic.no { background: #F7E4DF; color: var(--clay); }
.rule small { font-weight: 500; font-size: .9em; }
/* small.foot is a note inside a phone screen, not the site footer: .foot's navy background stops here. */
.foot-note, small.foot { display: block; color: var(--slate); background: none; font-size: 1.05em; margin-top: .8em; line-height: 1.35; }
small.foot.center { text-align: center; }
.hfh { display: flex; align-items: center; gap: .9em; margin-bottom: 1.1em; }
.hfh b { font-size: 1.7em; color: var(--hf); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; margin-top: 1.1em; }
.ctile { background: var(--white); border-radius: 1.5em; padding: .9em; box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 .4em 1.2em rgba(15, 23, 42, .06); position: relative; display: grid; gap: .3em; align-content: start; }
.ctile .pic { height: 7em; border-radius: 1.1em; background: #fff; border: 1px solid var(--hf-tint); display: grid; place-items: center; font-size: 2.7em; }
.ctile > span.off { position: absolute; left: 1.5em; top: 1.5em; background: var(--hf-red); color: var(--white); border-radius: .6em; padding: .25em .6em; font-size: 1em; font-weight: 800; }
.ctile b { font-size: 1.15em; line-height: 1.25; margin-top: .5em; min-height: 2.5em; }
.ctile small { font-size: 1em; }
.ctile .add { margin-top: .5em; border: 1.5px solid var(--hf); color: var(--hf); border-radius: .8em; text-align: center; font-size: 1.05em; font-weight: 800; padding: .4em; }
.ctile .add.on { background: var(--hf); color: var(--white); }
.ctile.locked { opacity: .55; }
.ctile .add.off { border-color: var(--line); color: var(--slate); }
.basket { position: absolute; left: 1.4em; right: 1.4em; bottom: 7.2em; background: var(--ink); color: var(--white); border-radius: 1.4em; padding: 1.1em 1.4em; display: flex; justify-content: space-between; font-size: 1.2em; font-weight: 700; box-shadow: 0 1.2em 2.4em rgba(15, 23, 42, .25); animation: pop .6s var(--ease) 1.3s both; z-index: 2; }
.codecard { background: var(--white); border: 1px solid var(--line); border-radius: 1.8em; padding: 1.6em 1.4em; text-align: center; margin-bottom: 1.2em; }
.codecard small { margin-bottom: .6em; }
.codecard small:first-child { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .95em; }
.barcode { height: 7em; margin: 1em .6em .8em; background: repeating-linear-gradient(90deg, var(--ink) 0 .25em, transparent .25em .45em, var(--ink) .45em .6em, transparent .6em 1em, var(--ink) 1em 1.5em, transparent 1.5em 1.75em, var(--ink) 1.75em 1.9em, transparent 1.9em 2.4em); }
.digits { font-size: 2.1em; font-weight: 800; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.ok { color: var(--green-text); font-weight: 700; font-size: 1.15em; margin: .5em 0 .8em; }
.crow { display: flex; justify-content: space-between; align-items: center; gap: 1em; padding: .65em 0; border-bottom: 1px solid var(--line); font-size: 1.2em; font-weight: 600; }
.crow:last-of-type { border-bottom: 0; }
.crow .off { background: var(--hf-red); color: var(--white); border-radius: .5em; padding: .2em .55em; font-size: .9em; font-weight: 800; }
.crow .off + span { flex: 1; }
.crow b { font-variant-numeric: tabular-nums; }
.crow .clay { color: var(--clay); } .crow .green { color: var(--green-text); }
.crow small { display: block; color: var(--slate); font-size: .85em; font-weight: 500; }
.badge { border-radius: 999px; padding: .25em .8em; font-size: .85em; font-weight: 800; background: var(--line); color: var(--slate); }
.badge.ok { background: var(--tint-green); color: var(--green-text); } .badge.over { background: #F7E4DF; color: var(--clay); }
.hfhero { background: linear-gradient(135deg, var(--hf), var(--hf-sky)); color: var(--white); border-radius: 2em; padding: 1.8em 1.6em; margin-bottom: 1.2em; }
.hfhero b { display: block; font-size: 1.7em; margin-top: 1em; }
.hfhero small { display: block; font-size: 1.15em; opacity: .92; margin-top: .4em; }
.consent { display: flex; gap: 1em; align-items: center; font-size: 1.15em; font-weight: 600; }
.consent .box { width: 2.2em; height: 2.2em; border-radius: .6em; background: var(--hf); color: var(--white); display: grid; place-items: center; font-weight: 800; flex: none; }
.mini { min-height: 210px; max-width: 440px; display: grid; align-content: center; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; font-size: 10.5px; line-height: 1.3; color: var(--ink); }
.mini.hf { background: var(--hf-ground); }
.mini .ch b { font-size: 1.35em; } .mini .ch span { color: var(--slate); font-weight: 600; }
.mini .grid2 { margin-top: 0; }
.mini.rr { display: flex; }
.mini .ctile .pic { height: 5.6em; }
.mini .ring { width: 6.6em; height: 6.6em; }

/* tilt and float */
.tilt-l { transform: perspective(1600px) rotateY(12deg) rotateX(3deg) rotate(-2deg); }
.tilt-r { transform: perspective(1600px) rotateY(-12deg) rotateX(3deg) rotate(2deg); }
@media (max-width: 720px) { .tilt-l { transform: rotate(-3deg); } .tilt-r { transform: rotate(3deg); } }

/* ---- motion ------------------------------------------------------------------------------------ */
/* Counters: a registered custom property animates, and generated content shows it with a thin
   space as the thousands separator. Browsers without round()/mod() keep the static text. */
@property --n { syntax: "<integer>"; initial-value: 0; inherits: false; }
@counter-style pad3 { system: extends decimal; pad: 3 "0"; }
.count { font-variant-numeric: tabular-nums; }
@supports (width: round(down, 3.5px, 1px)) and (width: mod(3px, 2px)) {
  .count .static { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .count { position: relative; animation: count 1.8s var(--ease) .5s both; counter-reset: k round(down, var(--n) / 1000, 1) r mod(var(--n), 1000); }
  .count.n-3420::before { content: "R " counter(k) " " counter(r, pad3); content: "R " counter(k) " " counter(r, pad3) / ""; }
  .count.n-216::before { content: counter(r); content: counter(r) / ""; }
  .count.n-1750::before { content: "R" counter(k) " " counter(r, pad3); content: "R" counter(k) " " counter(r, pad3) / ""; }
}
@keyframes count { from { --n: 0; } }

/* Scroll-driven reveals where supported; everything is simply visible where not. */
.reveal { opacity: 1; }
@supports (animation-timeline: view()) {
  .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 5% entry 45%; }
  .main-motion .bar i, .block .bar i, .band .bar i { animation-timeline: view(); animation-range: entry 30% entry 90%; animation-duration: auto; animation-delay: 0s; }
  .block .ring .val, .band .bigring .val, .block .bigring .val { animation-timeline: view(); animation-range: entry 20% entry 85%; animation-delay: 0s; }
  .block .count, .band .count { animation-timeline: view(); animation-range: entry 20% entry 85%; animation-delay: 0s; }
  .block .basket { animation-timeline: view(); animation-range: entry 40% entry 95%; animation-delay: 0s; }
  .block .hf-pills li, .band .hf-pills li { animation-timeline: view(); animation-range: entry 10% entry 60%; animation-delay: 0s; }
}
@keyframes reveal { from { opacity: 0; translate: 0 26px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-copy > * { opacity: 1; translate: none; }
}

/* ---- values for bars, rings and counters (the CSP allows no inline styles) ---------------- */
.p05 { --p: .05; } .p10 { --p: .1; } .p15 { --p: .15; } .p20 { --p: .2; } .p25 { --p: .25; } .p30 { --p: .3; }
.p35 { --p: .35; } .p40 { --p: .4; } .p45 { --p: .45; } .p50 { --p: .5; } .p55 { --p: .55; } .p58 { --p: .58; }
.p60 { --p: .6; } .p65 { --p: .65; } .p70 { --p: .7; } .p72 { --p: .72; } .p75 { --p: .75; } .p80 { --p: .8; }
.p85 { --p: .85; } .p90 { --p: .9; } .p95 { --p: .95; } .p100 { --p: 1; }
.n-3420 { --n: 3420; } .n-216 { --n: 216; } .n-1750 { --n: 1750; }

/* ---- review pass: spacing and layout at small and mid widths ---- */
.cta-block { padding-top: 0; }
section.block.cta-block { border-top: 0; }
.cta { background: var(--ink); border-color: var(--ink); color: var(--white); }
.cta h2 { color: var(--white); }
.cta .muted { color: #D6E4E8; }
.cta .status.dark { background: rgba(255, 255, 255, .1); color: var(--white); }
.cta .btn.teal { background: var(--white); color: var(--ink); }
.cta .btn.teal:hover { background: var(--tint-green); color: var(--ink); }
.cta .btn.outline { background: transparent; border-color: rgba(255, 255, 255, .5); color: var(--white); }
.cta .btn.outline:hover { border-color: var(--white); color: var(--white); }
.hf-hero.small .wrap { padding-bottom: 8px; }
.hf-page { padding-top: 32px; }
@media (min-width: 600px) and (max-width: 960px) {
  .features, .loop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature:last-child, .loop li:last-child { grid-column: 1 / -1; }
  .loop li:not(:last-child)::after { display: none; }
}
@media (max-width: 720px) {
  section.block { padding: 56px 0; }
  .band { padding: 60px 0; }
  .walk { gap: 40px; }
}
@media (max-width: 480px) {
  .device.back { display: none; }
  .device.front { translate: -50% 0; --from: -50%; }
  .device.front .phone { --s: .72; transform: rotate(-2deg); }
  .hero-visual, .device-stack { height: 500px; }
  .proof { display: grid; grid-template-columns: 1fr; gap: 10px; }
}

/* ---- retailers, products and the savings line (Hey Fill) ---- */
.hf-stat { display: grid; justify-items: start; gap: 8px; margin: 26px 0 0; color: var(--white); }
.hf-stat-k, .hf-stat-u { font-size: 18px; font-weight: 700; }
.hf-stat-n { font-size: clamp(44px, 6vw, 64px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; color: var(--white); background: var(--hf-red); border-radius: 12px; padding: 4px 14px 8px; }
.hf-hero .hf-stat { margin: 22px 0 4px; }
.hf-band .hf-caveat { max-width: 40em; }
.hf-shelf { position: relative; z-index: 1; margin-top: 56px; }
.hf-shelf-k { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--white); margin: 0 0 14px; }
.retailers { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.retailer { background: var(--white); border-radius: 18px; min-height: 88px; display: grid; place-items: center; padding: 14px 18px; box-shadow: var(--shadow); }
.retailer img { max-height: 56px; width: auto; object-fit: contain; }
.retailer-name { font-weight: 800; font-size: 18px; letter-spacing: -0.01em; color: var(--ink); text-align: center; }
.block .retailer { border: 1px solid var(--line); }
.pgrid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pcard { background: var(--white); border-radius: 18px; padding: 12px 12px 16px; display: grid; gap: 4px; align-content: start; box-shadow: var(--shadow); color: var(--ink); }
.block .pcard { border: 1px solid var(--line); }
.pcard-pic { position: relative; aspect-ratio: 1; max-width: 100%; border-radius: 12px; background: #fff; border: 1px solid var(--hf-tint); display: grid; place-items: center; overflow: clip; margin-bottom: 8px; }
.pcard-pic img { position: absolute; inset: 11%; width: 78%; height: 78%; object-fit: contain; transition: transform .35s var(--ease); }
.pcard:hover .pcard-pic img { transform: scale(1.05) rotate(-2deg); }
.pcard-off { position: absolute; left: 8px; top: 8px; background: var(--hf-red); color: var(--white); border-radius: 7px; padding: 3px 8px; font-size: 12px; font-weight: 800; }
.pcard b { font-size: 15px; line-height: 20px; }
.pcard > span { font-size: 13px; color: var(--slate); }
.basket-ic { width: 38%; height: auto; color: var(--hf); opacity: .55; }
.ctile .pic img { width: 76%; height: 76%; object-fit: contain; }
.ctile .pic .basket-ic { width: 40%; }
@media (max-width: 860px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .retailers { gap: 8px; } .retailer { min-height: 64px; padding: 10px; border-radius: 14px; } .retailer-name { font-size: 14px; } .retailer img { max-height: 40px; } }

/* Legal documents (/terms/, /privacy/), rendered from legal/*.json by tools/legal.py. Long text set
   for reading; Word's clause numbers sit in a hanging column so the text lines up. */
.legal-doc { max-width: 46em; }
.legal-with { margin: 0 0 22px; font-size: 15px; color: var(--slate); }
.legal .toc { border: 1px solid var(--line); border-radius: 14px; background: var(--white); margin: 0 0 30px; }
.legal .toc summary { cursor: pointer; padding: 14px 18px; font-weight: 700; color: var(--ink); }
.legal .toc ol { list-style: none; margin: 0; padding: 2px 18px 16px; columns: 2 15em; column-gap: 28px; font-size: 15px; line-height: 1.45; }
.legal .toc li { margin: 0 0 7px; break-inside: avoid; }
.legal .toc a { color: var(--slate); text-decoration: none; }
.legal .toc a:hover { color: var(--teal); text-decoration: underline; }
.legal .toc .toc-part { margin-top: 12px; font-weight: 700; }
.legal .toc .toc-part:first-child { margin-top: 0; }
.legal .toc .toc-part a { color: var(--ink); }
.legal .toc .cn { color: var(--teal); font-weight: 700; }
.legal { font-size: 16px; line-height: 1.65; color: var(--ink); overflow-wrap: break-word; }
.legal p { margin: 0 0 12px; }
.legal h2 { font-size: 21px; line-height: 1.3; letter-spacing: -0.01em; margin: 34px 0 12px; max-width: none; }
.legal h2.part { font-size: 13px; line-height: 1.4; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); border-top: 2px solid var(--line); padding-top: 26px; margin-top: 46px; }
.legal h3 { font-size: 17px; line-height: 1.4; margin: 22px 0 8px; }
.legal h2, .legal h3, .legal .cl { scroll-margin-top: 84px; }
.legal .cn { color: var(--teal); font-variant-numeric: tabular-nums; }
.legal .cl { display: grid; grid-template-columns: 3.2em minmax(0, 1fr); column-gap: .5em; }
.legal .cl.l2 { margin-left: 3.7em; grid-template-columns: 4em minmax(0, 1fr); }
.legal .cl.l3 { margin-left: 8.2em; grid-template-columns: 2em minmax(0, 1fr); }
.legal .cont.l2 { margin-left: 3.7em; margin-bottom: 4px; }
.legal ul { padding-left: 22px; margin: 0 0 14px; }
.legal li { margin-bottom: 6px; }
.legal :target { background: var(--tint-teal); border-radius: 8px; box-shadow: 0 0 0 6px var(--tint-teal); }
.legal .table-wrap { overflow-x: auto; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.legal caption { text-align: left; font-weight: 700; padding: 12px 16px 8px; color: var(--ink); }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 16px; border-top: 1px solid var(--line); }
.legal thead th { border-top: 0; background: var(--paper); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--slate); }
.legal tbody th { width: 34%; font-weight: 700; color: var(--ink); }
.legal td { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .legal { font-size: 15.5px; }
  .legal .cl { grid-template-columns: 2.9em minmax(0, 1fr); }
  .legal .cl.l2 { margin-left: 0; grid-template-columns: 3.6em minmax(0, 1fr); }
  .legal .cl.l3 { margin-left: 2.2em; grid-template-columns: 1.9em minmax(0, 1fr); }
  .legal .cont.l2 { margin-left: 3.4em; }
  .legal th, .legal td { padding: 9px 12px; }
}
@media print {
  .top, footer.foot, .skip, .toc, .hero .status, .cookie-choice { display: none !important; }
  body, .hero, .block { background: #fff !important; color: #000; }
  .hero::before, .hero::after { display: none; }
  .hero-copy > *, .reveal { animation: none !important; opacity: 1 !important; translate: none !important; }
  .hero h1, .hero .lead { color: #000; }
  .hero.small .wrap { padding-top: 0; padding-bottom: 12px; }
  section.block { padding: 8px 0 0; }
  .legal { font-size: 11pt; line-height: 1.5; }
  .legal a { color: inherit; text-decoration: none; }
  .legal h2, .legal h3 { break-after: avoid; }
  .legal .cl, .legal li, .legal tr { break-inside: avoid; }
  .legal .table-wrap { overflow: visible; border: 0; border-radius: 0; background: none; }
  .legal table { border: 1px solid #ccc; }
  .legal th, .legal td { border-top-color: #ccc; }
  .legal thead th { background: none; }
}
