/*
 * EN homepage (views/pages/redesign/home.ejs).
 * Values from Paper "Onepct homepage · hi-fi (desktop)" (1440) and
 * "(mobile 390)". Desktop rules first; the mobile board below 768px.
 */

/* ── 1 · Hero ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 860px;
  background: var(--ink);
  color: var(--paper);
  overflow: clip;
}
.hero__media { position: absolute; inset: 0; }
.hero__photo, .hero__dots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% 40%;
}
.hero__dots { display: none; }
.hero__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(14 27 22 / 0.96) 0%, rgb(14 27 22 / 0.82) 38%, rgb(14 27 22 / 0.15) 72%, rgb(14 27 22 / 0) 100%);
}
.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding-bottom: 80px;
}
.hero__copy { display: flex; flex-direction: column; gap: 28px; width: min(820px, 100%); }
.hero__search {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(540px, 100%);
  padding: 16px 24px;
  border: 2px solid var(--emerald);
  border-radius: var(--radius-pill);
  background: rgb(246 248 244 / 0.06);
  color: var(--paper);
  font-size: 21px;
  line-height: 26px;
}
.hero__search svg { flex-shrink: 0; color: var(--emerald); }
/* Fixed box: the looping searches never resize it; long ones clip with an ellipsis. */
.hero__typed { display: flex; flex: 1 1 auto; min-width: 0; white-space: nowrap; }
.hero__query { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.hero__caret { flex-shrink: 0; color: var(--emerald); margin-left: 1px; }
.hero__title { color: var(--paper); line-height: 0.923; /* 96 / 104 */ }
.hero__row { display: flex; align-items: center; gap: 32px; }
.hero__sub { width: 520px; flex-shrink: 0; color: var(--text-on-ink); font-size: 21px; line-height: 31px; }

/* Hero sequence states (home.js). Only with JS and full motion; without
   either, the hero renders in its final state. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero[data-seq] .hero__dots {
    display: block;
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 1.9px, transparent 2.4px);
    mask-image: radial-gradient(circle at 50% 50%, #000 1.9px, transparent 2.4px);
    -webkit-mask-size: 6px 6px;
    mask-size: 6px 6px;
  }
  .js .hero[data-seq] .hero__photo { opacity: 0; }
  .js .hero[data-seq] .hero__search,
  .js .hero[data-seq] .hero__row { opacity: 0; }
  .js .hero[data-seq] .hero__title { opacity: 0; }
  .js .hero[data-seq] .hero__query { visibility: hidden; }
  .js .hero[data-seq].is-playing .hero__photo { opacity: 1; transition: opacity 1000ms var(--ease-out) 200ms; }
  .js .hero[data-seq].is-playing .hero__dots { opacity: 0; transition: opacity 900ms ease 500ms; }
  .js .hero[data-seq].is-playing .hero__search { opacity: 1; transition: opacity 300ms var(--ease-out); }
  .js .hero[data-seq].is-playing .hero__query { visibility: visible; }
  .js .hero[data-seq].is-playing .hero__title { opacity: 1; }
  .js .hero[data-seq].is-playing .hero__row { opacity: 1; transition: opacity 500ms var(--ease-out) 1500ms; }
  .hero__line { display: block; overflow: clip; padding-bottom: 0.08em; margin-bottom: -0.08em; }
  .hero__line-inner { display: block; transform: translateY(105%); }
  .js .hero[data-seq].is-playing .hero__line-inner {
    transform: none;
    transition: transform 700ms var(--ease-out);
    transition-delay: calc(900ms + var(--l, 0) * 60ms);
  }
  .hero.is-done * { transition: none !important; }
  /* Failsafe: if home.js never starts the sequence, show the hero after 3 s. */
  .js .hero[data-seq]:not(.is-playing) :is(.hero__photo, .hero__search, .hero__row, .hero__title, .hero__query) {
    animation: hero-failsafe 1ms linear 3s forwards;
  }
  .hero__caret { animation: caret-blink 1.06s steps(1) infinite; }
}
@keyframes caret-blink { 50% { opacity: 0; } }
@keyframes hero-failsafe { to { opacity: 1; visibility: visible; } }

/* ── 3 · The search ──────────────────────────────────────────────────── */
.search-ch { padding: 144px 0 120px; }
.search-ch__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.search-ch__title { max-width: 900px; }
.search-ch__aside { width: 300px; flex-shrink: 0; color: var(--muted); font-size: 18px; line-height: 28px; }
.search-ch__row { display: flex; gap: 16px; height: 400px; margin-top: 40px; }
.search-ch__stream { position: relative; flex: 1.6 1 0; min-width: 0; height: 100%; overflow: clip; border-radius: var(--radius-tile); background: var(--ink); }
.search-ch__stream-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.count-card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  border: 1px solid var(--card-line);
  border-radius: var(--radius-tile);
  background: var(--white);
}
.count-card__label { display: flex; align-items: center; gap: 8px; color: var(--deep-green); font-size: 14px; font-weight: 600; line-height: 18px; }
.count-card__body { display: flex; flex-direction: column; gap: 12px; }
.count-card__num-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.count-card__num { font-size: 96px; line-height: 90px; letter-spacing: -0.04em; }
.count-card__text { color: var(--text-2); font-size: 18px; line-height: 27px; }
.count-card__country {
  display: inline-block;
  color: var(--deep-green);
  font-weight: 700;
  text-decoration: underline 1px;
  text-underline-position: from-font;
  transition: opacity 200ms ease;
}
.count-card__country.is-swapping { opacity: 0; }
.count-card .link { align-self: flex-start; color: var(--ink); }
.search-ch__note { margin-top: 40px; color: var(--muted); font-size: 13px; line-height: 16px; }

/* ── 4 · The gap ─────────────────────────────────────────────────────── */
.gap-ch { padding-block: 144px; }
.gap-ch__head { display: flex; flex-direction: column; gap: 16px; }
.gap-ch__title { max-width: 1000px; }
.gap-ch__intro { max-width: 900px; font-size: 20px; line-height: 30px; }
.gap-cards { display: flex; gap: 20px; margin-top: 48px; }
.gap-card {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 32px;
  border: 1px solid var(--card-line);
  border-radius: var(--radius-card);
  background: var(--white);
}
.gap-card__quote { font-size: 28px; line-height: 32px; }
.gap-card__foot { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.gap-card__label { color: var(--deep-green); }
.gap-card__text { color: var(--text-2); font-size: 16px; line-height: 25px; }
.gap-card__link { padding-top: 6px; }
.gap-ch__close { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-input); }
.gap-ch__close-text { font-family: var(--font-display); font-size: 26px; font-weight: 700; line-height: 32px; }

/* ── 5 · The fix (bento) ─────────────────────────────────────────────── */
.fix-ch { padding: 144px 0 64px; }
.fix-ch__title { max-width: 960px; padding-bottom: 24px; }
.bento { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.bento__row { display: flex; gap: 16px; }
.bento__row--top { height: 600px; }
.bento__row--bottom { height: 280px; }
.bento__stack { flex: 1 1 0; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.tile {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  --tile-pad: 26px;
  padding: var(--tile-pad);
  border-radius: var(--radius-tile);
  overflow: clip;
  text-decoration: none;
}
/* Hover lift: see "Card hover" at the end of the desktop rules. */
.tile--ink { background: var(--ink); color: var(--paper); }
.tile--white { background: var(--white); border: 1px solid var(--card-line); color: var(--ink); justify-content: space-between; }
.tile--emerald { background: var(--emerald); color: var(--ink); justify-content: space-between; }
.tile--hero { flex-grow: 1.55; --tile-pad: 32px; }
/* The graphic (still + live canvas, graphics/runner.js) takes the tile's free
   space above the title, edge to edge, so the moving parts never run under the
   copy or past the tile edge at any width. The canvas is laid over the still. */
.tile__art {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  width: calc(100% + 2 * var(--tile-pad));
  max-width: none;
  height: auto;
  margin: calc(-1 * var(--tile-pad)) calc(-1 * var(--tile-pad)) 12px;
  object-fit: cover;
  object-position: 50% 0;
}
.tile--europe .tile__art { object-position: 50% 50%; }
.tile__copy { position: relative; display: flex; flex-direction: column; gap: 8px; }
.tile__title { position: relative; font-family: var(--font-display); font-size: 26px; font-weight: 800; line-height: 32px; }
.tile__title--lg { font-size: 36px; line-height: 44px; letter-spacing: -0.02em; }
.tile__title--sm { font-size: 24px; line-height: 30px; }
.tile__text { color: var(--text-on-ink); font-size: 16px; line-height: 24px; max-width: 460px; }
.tile__hours { display: flex; align-items: baseline; gap: 10px; }
.tile__hours-num { font-size: 72px; line-height: 72px; letter-spacing: -0.03em; }
.tile__hours-label { color: var(--muted); font-size: 15px; line-height: 18px; }
.tile__kicker { color: var(--green-ink); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; line-height: 16px; text-transform: uppercase; }
.tile__next-row { display: flex; align-items: flex-end; justify-content: space-between; }
.tile__next-title { width: 260px; font-family: var(--font-display); font-size: 28px; font-weight: 800; line-height: 32px; }
.tile__arrow { font-family: var(--font-display); font-size: 48px; font-weight: 800; line-height: 58px; }

/* ── 7 · How it works ────────────────────────────────────────────────── */
.how { padding: 96px 0 120px; overflow: clip; }
.how__title { max-width: 700px; }
.how__ribbons { position: relative; margin-block: 48px; }
/* CTA under the three steps (Jamal, 2026-11-09) */
.how__cta { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 64px; text-align: center; }
.how__cta-text { font-family: var(--font-display); font-size: 26px; font-weight: 700; line-height: 32px; }
.how__svg { width: 100%; height: auto; aspect-ratio: 1440 / 190; overflow: visible; }
.steps { display: flex; gap: 40px; }
.step { flex: 1 1 0; display: flex; flex-direction: column; gap: 10px; }
.step__top { display: flex; align-items: center; gap: 12px; }
.step__num {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--emerald);
  font-family: var(--font-display); font-size: 20px; font-weight: 800; line-height: 24px;
  transition: background-color 300ms ease, color 300ms ease;
}
.step__chip { padding: 6px 12px; border-radius: var(--radius-pill); background: var(--mint); color: var(--deep-green); font-size: 13px; font-weight: 600; line-height: 16px; }
.step__title { font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: -0.015em; line-height: 36px; }
.step__text { color: var(--text-2); font-size: 16px; line-height: 25px; }
/* Scene: steps start quiet, light up as the ribbon reaches them */
.how.is-scene .step { opacity: 0.45; transition: opacity 300ms ease; }
.how.is-scene .step.is-lit { opacity: 1; }

/* ── 8 · DIY receipt ─────────────────────────────────────────────────── */
.receipt-sec { padding-block: 120px; }
.receipt-sec__inner { display: flex; align-items: center; gap: 80px; }
.receipt-sec__copy { width: 500px; flex-shrink: 0; display: flex; flex-direction: column; gap: 20px; }
.receipts { flex: 1 1 0; display: flex; align-items: flex-start; gap: 20px; min-width: 0; }
.receipt {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border: 1.5px dashed var(--line-dashed);
  border-radius: var(--radius-doc);
  background: var(--white);
}
.receipt__head { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; line-height: 16px; }
.receipt__head--green { color: var(--emerald); }
.receipt__lines { display: flex; flex-direction: column; gap: 14px; }
.receipt__line { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; line-height: 18px; }
.receipt__line dt { color: var(--text-2); }
.receipt__line dd { font-weight: 600; margin: 0; }
.receipt__total { display: flex; align-items: baseline; justify-content: space-between; padding-top: 14px; border-top: 1.5px dashed var(--line-dashed); }
.receipt__total-label { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; line-height: 16px; }
.receipt__total-num { font-size: 56px; line-height: 56px; letter-spacing: -0.03em; }
.receipt__total-num--green { color: var(--emerald); }
.receipt__note { color: var(--muted); font-size: 12px; line-height: 16px; }
.receipt--ink { flex: 0 0 240px; border: 0; background: var(--ink); color: var(--paper); }
.receipt__ours-text { color: var(--nav-link); font-size: 15px; line-height: 22px; }
.receipt__total--ink { border-top-color: var(--ink-line); }
/* Scene states (home.js adds .is-scene before printing) */
.receipts.is-scene [data-print] { clip-path: inset(0 0 100% 0); }
.receipts.is-scene [data-print].is-printed { clip-path: inset(0 0 0 0); transition: clip-path 260ms var(--ease-out); }
.receipts.is-scene [data-receipt-ours] { opacity: 0; transform: translateY(8px) scale(0.97); }
.receipts.is-scene [data-receipt-ours].is-settled { opacity: 1; transform: none; transition: opacity 400ms var(--ease-out), transform 500ms cubic-bezier(0.34, 1.4, 0.64, 1); }

/* ── 9 · The result ──────────────────────────────────────────────────── */
.result { position: relative; background: var(--ink); color: var(--paper); padding: 144px 0 120px; overflow: clip; }
.result__terrain {
  inset: 0 0 auto 0;
  height: 1350px;
  opacity: 0.28;
  background: none;
  pointer-events: none;
}
/* The live terrain (components/terrain.css + search-terrain.js) draws over this
   tile, its still; they cross-fade once the canvas has drawn. */
.result__terrain-still { background: url(/images/redesign/home/terrain-1440.webp) 0 0 / 720px 450px repeat; }
.result__inner { position: relative; display: flex; flex-direction: column; gap: 56px; }
.result__title { max-width: 960px; color: var(--paper); }
.proof { display: flex; border-top: 1px solid var(--ink-line); }
.proof__item { flex: 1 1 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding: 32px; }
.proof__item:first-child { padding-left: 0; }
.proof__item:last-child { padding-right: 0; padding-bottom: 0; }
.proof__item:first-child { padding-bottom: 0; }
.proof__item + .proof__item { border-left: 1px solid var(--ink-line); }
.proof__num { margin: 0; font-size: var(--fs-num-xl); line-height: 0.906; letter-spacing: -0.04em; color: var(--paper); }
.proof__label { color: var(--text-on-ink); font-size: 16px; line-height: 20px; }
.result__source { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--faint-on-ink); font-size: 13px; line-height: 16px; }
.result__source .link { color: var(--paper); flex-shrink: 0; }
.past { display: flex; flex-direction: column; gap: 16px; padding-top: 32px; border-top: 1px solid var(--ink-line); }
.past__label { color: var(--faint-on-ink); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; line-height: 16px; text-transform: uppercase; }
.past__cards { display: flex; gap: 16px; }
.past-card { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--ink-line); border-radius: var(--radius-card); background: var(--ink-2); overflow: clip; }
.past-card__img { width: 100%; height: 140px; object-fit: cover; background: var(--deep-green); }
.past-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px; }
.past-card__tag { padding: 5px 11px; border-radius: var(--radius-pill); background: var(--emerald); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; line-height: 14px; }
.past-card__name { font-family: var(--font-display); font-size: 24px; font-weight: 800; line-height: 30px; }
.past-card__meta { color: var(--faint-on-ink); font-size: 13px; line-height: 16px; }

/* ── 10 · Founder ────────────────────────────────────────────────────── */
.founder { padding-block: 144px; }
.founder__inner { display: flex; align-items: center; gap: 80px; }
.founder__media { flex-shrink: 0; }
.founder__photo { width: 440px; height: 545px; flex-shrink: 0; object-fit: cover; object-position: 50% 40%; border-radius: var(--radius-tile); }
.founder__copy { flex: 1 1 0; display: flex; flex-direction: column; gap: 28px; }
.founder__quote { font-family: var(--font-display); font-size: 32px; font-weight: 600; letter-spacing: -0.015em; line-height: 42px; }
.founder__who { display: flex; flex-direction: column; gap: 4px; }
.founder__name { font-family: var(--font-display); font-size: 22px; font-weight: 800; line-height: 28px; }
.founder__role { color: var(--muted); font-size: 15px; line-height: 18px; }
.founder__stats { display: flex; gap: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.founder__stats > div { display: flex; flex-direction: column; gap: 4px; }
.founder__stats dt { font-size: 44px; letter-spacing: -0.02em; line-height: 54px; }
.founder__stats dd { margin: 0; color: var(--muted); font-size: 14px; line-height: 18px; }
@media (prefers-reduced-motion: no-preference) {
  /* The wrapper is observed (IntersectionObserver ignores a fully clipped
     element); the photo inside is wiped in from the left. */
  .js .founder__media[data-reveal='wipe'] { opacity: 1; transform: none; }
  .js .founder__media[data-reveal='wipe'] .founder__photo { clip-path: inset(0 100% 0 0 round 28px); transition: clip-path 900ms var(--ease-out); }
  .js .founder__media[data-reveal='wipe'].is-in .founder__photo { clip-path: inset(0 0 0 0 round 28px); }
}

/* ── 11 · Prices ─────────────────────────────────────────────────────── */
.prices { padding-block: 144px; }
.prices__head { display: flex; flex-direction: column; gap: 16px; }
.prices__head .lead { font-size: 20px; line-height: 30px; }
.prices__note { margin-top: 24px; color: var(--muted); font-size: 14px; line-height: 20px; text-align: center; }
.console-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding: 10px 10px 10px 24px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--paper);
}
.console-bar__dot { width: 10px; height: 10px; flex-shrink: 0; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 5px rgb(22 190 121 / 0.2); }
@media (prefers-reduced-motion: no-preference) {
  .console-bar__dot { animation: dot-pulse 2.4s ease-in-out infinite; }
}
@keyframes dot-pulse { 50% { box-shadow: 0 0 0 9px rgb(22 190 121 / 0.06); } }
.console-bar__text { flex: 1 1 0; font-size: 15px; line-height: 18px; }
.console-bar__form { display: flex; align-items: center; gap: 16px; }
.console-bar__input {
  width: 220px;
  min-height: 44px;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgb(246 248 244 / 0.08);
  color: var(--paper);
  font-size: 14px;
  line-height: 18px;
}
.console-bar__input::placeholder { color: var(--muted-on-ink); opacity: 1; }
.console-bar__btn { padding: 12px 20px; }

/* ── 12 · FAQ + notes ────────────────────────────────────────────────── */
.faq-sec { padding-block: 144px; }
.faq-sec__top { display: flex; gap: 80px; }
.faq-sec__title { width: 440px; flex-shrink: 0; font-family: var(--font-display); font-size: 60px; font-weight: 800; letter-spacing: -0.03em; line-height: 60px; }
.faq { flex: 1 1 0; min-width: 0; }
.notes { margin-top: 120px; }
.notes__head { display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 20px; }
.notes__title { font-family: var(--font-display); font-size: 40px; font-weight: 800; letter-spacing: -0.02em; line-height: 48px; }
.notes__list { border-bottom: 1px solid var(--line); }
.notes__list li { border-top: 1px solid var(--line); }
.note { display: flex; align-items: center; gap: 24px; padding-block: 22px; text-decoration: none; }
.note__kind { width: 180px; flex-shrink: 0; color: var(--muted); font-size: 14px; line-height: 18px; }
.note__title { flex: 1 1 0; font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 28px; }
.note__meta { color: var(--muted); font-size: 14px; line-height: 18px; transition: transform var(--dur-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .note:hover .note__meta { transform: translateX(4px); color: var(--ink); }
}

/* ── Card hover (desktop pointer only; plan cards: components/plans.css) ─ */
/* Lift with the individual `translate` property so it never fights the reveal
   transform; the reveal's stagger delay applies to opacity/transform only. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  :is(.tile, .gap-card, .past-card, .count-card) {
    transition: translate 200ms var(--ease-out), box-shadow 200ms ease, border-color 200ms ease;
  }
  .js :is(.tile, .gap-card, .past-card, .count-card)[data-reveal] {
    transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out),
                translate 200ms var(--ease-out), box-shadow 200ms ease, border-color 200ms ease;
    transition-delay: calc(var(--i, 0) * var(--stagger)), calc(var(--i, 0) * var(--stagger)), 0s, 0s, 0s;
  }
  :is(.tile, .gap-card, .past-card, .count-card):hover { translate: 0 -2px; box-shadow: var(--shadow-float); }
  :is(.gap-card, .count-card):hover { border-color: var(--line-input); }
  .tile--next .tile__arrow { transition: transform 200ms var(--ease-out); }
  .tile--next:hover .tile__arrow { transform: translateY(4px); }
}
@media (hover: hover) and (pointer: fine) {
  .console-bar__input { transition: background-color var(--dur-hover) ease, box-shadow var(--dur-fast) ease; }
  .console-bar__input:hover { background: rgb(246 248 244 / 0.14); }
}
.console-bar__input:focus-visible { outline: none; box-shadow: 0 0 0 3px rgb(22 190 121 / 0.6); }
.tile--next:active, .note:active { opacity: 0.8; }

/* ══ Mobile board (390) ═══════════════════════════════════════════════ */
@media (max-width: 767px) {
  .hero { height: 780px; }
  .hero__photo, .hero__dots { height: 560px; object-position: 72% 30%; }
  .hero__fade { top: auto; height: 520px; background: linear-gradient(180deg, rgb(14 27 22 / 0) 0%, rgb(14 27 22 / 0.92) 38%, var(--ink) 100%); }
  .hero__inner { padding-bottom: 32px; }
  .hero__copy { gap: 20px; }
  .hero__search { gap: 10px; padding: 12px 18px; background: rgb(14 27 22 / 0.7); font-size: 16px; line-height: 20px; }
  .hero__search svg { width: 18px; height: 18px; }
  .hero__row { flex-direction: column; align-items: stretch; gap: 20px; }
  .hero__sub { width: auto; font-size: 17px; line-height: 26px; }
  .hero__cta { padding: 17px; }

  .search-ch { padding: 72px 0 64px; }
  .search-ch__head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .search-ch__title { letter-spacing: -0.03em; line-height: 39px; }
  .search-ch__aside { width: auto; font-size: 16px; line-height: 24px; }
  .search-ch__row { flex-direction: column; gap: 20px; height: auto; margin-top: 20px; }
  .search-ch__stream { flex: none; height: 240px; border-radius: 20px; }
  .count-card { flex: none; gap: 12px; padding: 22px; border-radius: 20px; }
  .count-card__label { font-size: 13px; line-height: 16px; }
  .count-card__num { font-size: 60px; line-height: 58px; }
  .count-card__num-row { gap: 8px; }
  .count-card__text { font-size: 16px; line-height: 24px; }

  .gap-ch { padding-block: 72px; }
  .gap-ch__intro { font-size: 16px; line-height: 24px; padding-bottom: 8px; }
  .gap-cards { flex-direction: column; gap: 16px; margin-top: 16px; }
  .gap-card { gap: 14px; padding: 22px; border: 0; border-radius: 20px; }
  .gap-card__icon, .gap-card__label { display: none; }
  .gap-card__quote { font-size: 22px; line-height: 27px; }
  .gap-card__foot { gap: 14px; padding-top: 12px; }
  .gap-card__text { font-size: 15px; line-height: 23px; }
  .gap-card__link { padding-top: 0; }
  .gap-card .link { font-size: 14px; }
  .gap-ch__close { margin-top: 24px; padding-top: 0; border-top: 0; }

  .fix-ch { padding: 72px 0 48px; }
  .fix-ch__title { padding-bottom: 12px; }
  .bento, .bento__row, .bento__stack { gap: 12px; }
  .bento { margin-top: 12px; }
  .bento__row--top { flex-direction: column; height: auto; }
  .bento__stack { flex: none; }
  .tile { border-radius: var(--radius-card); }
  .tile--hero { flex: none; height: 340px; --tile-pad: 22px; }
  .tile--captured, .tile--watch { flex: none; height: 240px; --tile-pad: 20px; }
  .tile__art { margin-bottom: 8px; }
  .tile__title { font-size: 22px; line-height: 28px; }
  .tile__title--lg { font-size: 26px; line-height: 32px; letter-spacing: 0; }
  .tile__text { font-size: 14px; line-height: 21px; }
  .tile__copy { gap: 6px; }
  .bento__row--bottom { height: 200px; }
  .tile--europe, .tile--hours { --tile-pad: 16px; }
  .tile__title--sm { font-size: 17px; line-height: 21px; }
  .tile__hours-num { font-size: 48px; line-height: 48px; }

  .how { padding: 24px 0 80px; }
  .how-m { position: relative; height: 400px; margin-top: 56px; }
  .how-m__svg { position: absolute; left: 0; top: -70px; width: 390px; height: 540px; overflow: visible; }
  .how-m__steps { position: absolute; inset: 0 16px; }
  .how-m__step { position: absolute; left: 0; right: 0; display: flex; gap: 16px; }
  .how-m__step:nth-child(1) { top: 0; }
  .how-m__step:nth-child(2) { top: 140px; }
  .how-m__step:nth-child(3) { top: 280px; }
  .how-m__num {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; flex-shrink: 0;
    border: 3px solid var(--paper);
    border-radius: 50%;
    background: var(--ink);
    color: var(--emerald);
    font-family: var(--font-display); font-size: 18px; font-weight: 800; line-height: 22px;
  }
  .how-m__step > div { display: flex; flex-direction: column; gap: 6px; padding-top: 6px; }
  .how-m__title { font-family: var(--font-display); font-size: 22px; font-weight: 800; line-height: 28px; }
  .how-m__text { color: var(--text-2); font-size: 15px; line-height: 23px; }
  .how__cta { margin-top: 40px; gap: 14px; }
  .how__cta-text { font-size: 22px; line-height: 28px; }
  .how__cta-btn { width: 100%; justify-content: center; }

  .receipt-sec { padding-block: 72px; }
  .receipt-sec__inner { flex-direction: column; align-items: stretch; gap: 20px; }
  .receipt-sec__copy { width: auto; }
  .receipts { flex-direction: column; align-items: stretch; gap: 20px; }
  .receipt { gap: 10px; padding: 20px; }
  .receipt__head { font-size: 11px; line-height: 14px; }
  .receipt__lines { gap: 10px; }
  .receipt__line { font-size: 14px; }
  .receipt__total { padding-top: 10px; }
  .receipt__total-label { font-size: 12px; }
  .receipt__total-num { font-size: 44px; line-height: 54px; letter-spacing: 0; }
  .receipt__note { font-size: 11px; line-height: 14px; }
  .receipt--ink { flex: none; flex-direction: row; align-items: center; justify-content: space-between; padding: 20px; }
  .receipt--ink .receipt__total { padding: 0; border: 0; }

  .result { padding-block: 72px; }
  .result__inner { gap: 24px; }
  .result__title { letter-spacing: -0.03em; }
  .proof { flex-direction: column; }
  .proof__item, .proof__item:first-child, .proof__item:last-child { flex-direction: row-reverse; align-items: baseline; justify-content: space-between; padding: 16px 0; }
  .proof__item + .proof__item { border-left: 0; border-top: 1px solid var(--ink-line); }
  .proof__item:last-child { border-bottom: 0; }
  .proof__num { font-size: 56px; line-height: 68px; }
  .proof__label { width: 150px; flex-shrink: 0; font-size: 13px; line-height: 16px; text-align: right; }
  .result__source { font-size: 12px; line-height: 18px; }
  .past { gap: 10px; padding-top: 8px; border-top: 0; }
  .past__label { font-size: 12px; padding-bottom: 6px; }
  .past__cards { flex-direction: column; gap: 10px; }
  .past-card { flex-direction: row; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; }
  .past-card__img { width: 52px; height: 52px; flex-shrink: 0; border-radius: 12px; }
  .past-card__body { gap: 4px; padding: 0; }
  .past-card__tag { padding: 0; background: none; color: var(--emerald); font-size: 10px; line-height: 12px; }
  .past-card__name { font-size: 17px; line-height: 22px; }

  .founder { padding-block: 72px; }
  .founder__inner { flex-direction: column; align-items: stretch; gap: 20px; }
  .founder__photo { width: 100%; height: 400px; border-radius: var(--radius-card); }
  .founder__media { width: 100%; }
  .founder__copy { gap: 20px; }
  .founder__quote { font-size: 22px; letter-spacing: -0.01em; line-height: 30px; }
  .founder__who { gap: 2px; }
  .founder__name { font-size: 19px; line-height: 24px; }
  .founder__role { font-size: 14px; }
  .founder__stats { justify-content: space-between; gap: 16px; padding-top: 16px; }
  .founder__stats > div { gap: 0; }
  .founder__stats dt { font-size: 30px; line-height: 36px; letter-spacing: 0; }
  .founder__stats dd { font-size: 12px; line-height: 16px; }

  .prices { padding-block: 72px; }
  .prices__head { gap: 14px; }
  .prices__head .lead { font-size: 16px; line-height: 24px; padding-bottom: 6px; }
  .console-bar { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 14px; padding: 16px; border-radius: 20px; }
  .console-bar__dot { display: none; }
  .console-bar__text { font-size: 14px; line-height: 21px; }
  .console-bar__form { gap: 8px; }
  .console-bar__input { flex: 1 1 0; width: auto; min-width: 0; padding: 11px 14px; font-size: 13px; line-height: 16px; }
  .console-bar__btn { padding: 11px 14px; font-size: 13px; line-height: 16px; }

  .faq-sec { padding-block: 72px; }
  .faq-sec__top { flex-direction: column; gap: 0; }
  .faq-sec__title { width: auto; padding-bottom: 16px; font-size: 34px; letter-spacing: -0.025em; line-height: 36px; }
  .faq__q { padding-block: 18px; }
  .notes { margin-top: 56px; }
  .notes__head { padding-bottom: 12px; }
  .notes__title { font-size: 26px; line-height: 32px; letter-spacing: 0; }
  .note { justify-content: space-between; padding-block: 16px; }
  .note__title { font-size: 17px; line-height: 22px; }
  .note__meta { font-size: 13px; line-height: 16px; }
}

/* Tablet: stack the wide two-column sections before they crush */
@media (min-width: 768px) and (max-width: 1199px) {
  .hero__row { flex-direction: column; align-items: flex-start; }
  .hero__sub { width: auto; max-width: 520px; }
  .search-ch__row { flex-direction: column; height: auto; }
  .search-ch__stream { height: 360px; flex: none; }
  .gap-cards, .steps, .past__cards { flex-wrap: wrap; }
  .gap-card, .step, .past-card { flex-basis: 280px; }
  .receipt-sec__inner, .founder__inner, .faq-sec__top { flex-direction: column; align-items: stretch; gap: 48px; }
  .receipt-sec__copy, .faq-sec__title { width: auto; }
  .founder__photo { width: 100%; max-width: 440px; }
  .bento__row--top { height: 520px; }
  .bento__row--bottom { height: auto; flex-wrap: wrap; }
  .bento__row--bottom .tile { flex-basis: 260px; min-height: 240px; }
  .console-bar { flex-wrap: wrap; border-radius: 28px; }
}
