/* MakanBuddy landing page. Colours follow src/design/tokens.ts in the app. */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('fonts/bricolage-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
}

:root {
  --canvas: #F6F4EF;
  --card: #FFFFFF;
  --ink: #14201A;
  --muted: #3F4A43;
  --line: #E6E2D9;
  --green: #167A52;
  --green-ink: #0E573B;
  --green-deep: #0A3324;
  --green-soft: #E4F1E9;
  --on-dark: #F7FAF5;
  --amber: #F2B544;
  /* Same typeface as the app (marketing review, 28 Nov 2026): the phone's own system sans.
     RETIRED: Bricolage Grotesque for headings - it did not match the app. */
  --display: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1180px;
  --phone-h: min(640px, 72svh);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.035em; text-wrap: balance; }
h1 { font-size: clamp(46px, 8.6vw, 104px); line-height: 0.94; font-variation-settings: 'opsz' 96; }
h1 em { font-style: normal; color: var(--green); }
h2 { font-size: clamp(36px, 5.8vw, 72px); line-height: 1; font-variation-settings: 'opsz' 96; }
h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.1; letter-spacing: -0.025em; }

.eyebrow {
  font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green-ink); margin-bottom: 18px;
}
.eyebrow.on-dark { color: var(--amber); }

/* Buttons: one wording everywhere */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green); color: #fff; text-decoration: none;
  font-weight: 700; border-radius: 999px; white-space: nowrap;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 30px -10px rgb(14 87 59 / .55);
}
.btn:hover { background: var(--green-ink); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { font-size: 15px; padding: 10px 18px; min-height: 44px; }
.btn-lg { font-size: 19px; padding: 17px 34px; min-height: 60px; }
.btn-light { background: #fff; color: var(--green-ink); box-shadow: 0 14px 40px -12px rgb(0 0 0 / .5); }
.btn-light:hover { background: var(--green-soft); }
.cta-note { font-size: 15px; color: var(--muted); font-weight: 500; }
.cta-note.on-dark { color: var(--on-dark); }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 10px var(--gutter);
  padding-top: max(10px, env(safe-area-inset-top));
  transition: background .3s ease, box-shadow .3s ease;
}
.nav.is-stuck {
  background: rgb(246 244 239 / .82);
  -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand img { border-radius: 9px; }
.nav-links { display: none; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 600; }
.nav-links a { text-decoration: none; color: var(--ink); }
.nav-links a:hover { color: var(--green); }
.nav .btn { margin-left: auto; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav .btn { margin-left: 0; }
}

/* 1 Hero */
.hero {
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
  padding: 104px var(--gutter) 40px;
  display: grid; gap: 36px; align-items: center;
}
.lede { font-size: clamp(18px, 1.7vw, 22px); color: var(--muted); max-width: 30em; margin-top: 22px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 30px; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 560px; }
.glow {
  position: absolute; width: 100%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(22 122 82 / .22), rgb(242 181 68 / .10) 55%, transparent 72%);
  filter: blur(6px);
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.08fr 0.92fr; min-height: 100svh; padding-top: 96px; padding-bottom: 56px; gap: 24px; }
  .hero-art { min-height: 680px; }
}

/* Phone */
.phone {
  position: relative; height: var(--phone-h); aspect-ratio: 390 / 820;
  background: #0d1210; border-radius: calc(var(--phone-h) * 0.075);
  padding: calc(var(--phone-h) * 0.014);
  box-shadow: 0 0 0 1px rgb(255 255 255 / .08) inset, 0 50px 90px -30px rgb(10 51 36 / .55), 0 18px 36px -18px rgb(10 51 36 / .45);
}
.phone-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--phone-h) * 0.062); background: var(--canvas); }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-hero { --phone-h: min(600px, 150vw); z-index: 2; }
@media (min-width: 900px) { .phone-hero { --phone-h: min(660px, 76svh); } }

.plate {
  position: absolute; z-index: 1; width: clamp(110px, 30vw, 190px); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover;
  box-shadow: 0 24px 44px -18px rgb(20 32 26 / .5); border: 5px solid #fff;
}
.plate-a { left: -6%; top: -4%; }
.plate-b { right: -5%; top: 38%; z-index: 3; }
.plate-c { left: 0%; bottom: 4%; z-index: 3; }
.tag {
  position: absolute; z-index: 4; background: #fff; color: var(--ink); font-weight: 700; font-size: 14px;
  padding: 9px 14px; border-radius: 999px; box-shadow: 0 12px 28px -12px rgb(20 32 26 / .45); white-space: nowrap;
}
.tag::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--green); margin-right: 8px; }
.tag-a { right: 0; top: 9%; }
.tag-b { left: 2%; top: 47%; }
.tag-c { right: 4%; bottom: 12%; }
.tag-c::before { background: #6D3FD6; }
.tag-b::before { background: var(--amber); }
@media (min-width: 900px) {
  .plate-a { left: 2%; } .plate-b { right: 0; } .plate-c { left: 6%; }
}

/* 2 Proof strip */
.proof {
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 28px var(--gutter) 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px;
}
.proof-item b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(40px, 6vw, 68px); letter-spacing: -0.04em; line-height: 1; color: var(--green-ink); font-variant-numeric: tabular-nums; }
.proof-item span { display: block; margin-top: 8px; font-size: 16px; color: var(--muted); font-weight: 500; }
@media (min-width: 760px) { .proof { grid-template-columns: repeat(4, 1fr); } }

/* 3 Marquee */
.marquee { overflow: hidden; padding: 8px 0 72px; }
.marquee-track { display: flex; gap: 18px; width: max-content; padding-left: var(--gutter); }
.marquee figure { width: clamp(170px, 22vw, 260px); flex: none; }
.marquee img { border-radius: 26px; aspect-ratio: 1; object-fit: cover; }
.marquee figcaption { margin-top: 10px; font-weight: 600; font-size: 15px; }
.js .marquee-track.is-rolling { animation: roll 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes roll { to { transform: translateX(-50%); } }

/* 4 Statement */
.statement { background: var(--green-deep); color: var(--on-dark); padding: clamp(96px, 16vw, 200px) var(--gutter); }
.statement-text {
  max-width: 17em; margin: 0 auto; font-family: var(--display); font-weight: 700;
  font-size: clamp(34px, 6.2vw, 80px); line-height: 1.04; letter-spacing: -0.035em; font-variation-settings: 'opsz' 96; text-wrap: balance;
}
.statement-text .w { opacity: .22; transition: opacity .25s linear; }
.statement-text .w.on { opacity: 1; }

/* Section heads */
.section-head { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(80px, 11vw, 140px) var(--gutter) clamp(28px, 4vw, 48px); }

/* 5 Story. Default (no JS / reduced motion): a plain stacked list. */
.steps { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 64px; }
.step { display: grid; gap: 24px; justify-items: center; text-align: center; }
.step .phone { --phone-h: min(560px, 130vw); }
.step-text { max-width: 24em; }
.step-n {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--green-soft); color: var(--green-ink); font-weight: 800; font-family: var(--display); margin-bottom: 14px;
}
.step-text h3 { font-size: clamp(30px, 4.2vw, 52px); letter-spacing: -0.035em; line-height: 1; }
.step-text p { margin-top: 14px; font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); }
.dots { display: none; }

/* Pinned mode: switched on by main.js when motion is allowed */
.pinned .story-track { height: calc(var(--n, 5) * 90svh + 100svh); }
.pinned .story-stage { position: sticky; top: 0; height: 100svh; overflow: clip; }
.pinned .steps { position: relative; height: 100%; gap: 0; display: block; }
.pinned .step {
  position: absolute; inset: 0; padding: 76px var(--gutter) 28px;
  display: grid; grid-template-rows: auto 1fr; gap: 18px; align-content: start; justify-items: center;
  pointer-events: none;
}
.pinned .step .step-text { order: -1; opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s ease; }
.pinned .step.is-active .step-text { opacity: 1; transform: none; }
.pinned .step .phone { --phone-h: min(600px, calc(100svh - 290px)); align-self: start; }
.pinned .step:not(:first-child) .phone { box-shadow: none; background: transparent; }
.pinned .step .phone-screen img { opacity: 0; transition: opacity .5s ease, transform 1.1s cubic-bezier(.2,.7,.2,1); transform-origin: 30% 27%; }
.pinned .step.is-active .phone-screen img { opacity: 1; }
.pinned .step:not(:first-child) .phone-screen { background: transparent; }
.pinned .step-zoom.is-active .phone-screen img { transform: scale(1.75); }
.pinned .step-text h3 { font-size: clamp(28px, 7vw, 52px); }
.pinned .step .step-text { height: 132px; }
.pinned .step-text p { margin-top: 8px; }
.pinned .step-n { display: none; }
.pinned .dots { display: flex; gap: 8px; position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .3s, width .3s; }
.dots i.on { background: var(--green); width: 26px; border-radius: 6px; }
@media (min-width: 900px) {
  .step { grid-template-columns: 1fr 1fr; text-align: left; align-items: center; }
  .pinned .step { grid-template-columns: auto minmax(0, 23em); grid-template-rows: none; align-items: center; align-content: center; justify-content: center; gap: clamp(48px, 8vw, 120px); padding-top: 84px; }
  .pinned .step .step-text { order: 0; justify-self: start; text-align: left; height: auto; }
  .pinned .step-text h3 { font-size: clamp(44px, 4.6vw, 68px); }
  .pinned .step-text p { margin-top: 18px; font-size: 22px; }
  .pinned .step .phone { --phone-h: min(680px, calc(100svh - 140px)); align-self: center; justify-self: center; }
  .pinned .step-n { display: inline-grid; }
  .pinned .dots { flex-direction: column; left: auto; right: var(--gutter); bottom: 50%; transform: translateY(50%); }
  .dots i.on { width: 8px; height: 26px; }
}

/* 6 Bento */
.bento { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 18px; }
.card {
  background: var(--card); border-radius: 32px; overflow: hidden; display: grid; grid-template-rows: auto 1fr;
  box-shadow: 0 1px 2px rgb(20 32 26 / .05), 0 22px 50px -30px rgb(20 32 26 / .3);
}
.card-text { padding: 30px 30px 6px; }
.card-text p { margin-top: 10px; color: var(--muted); font-size: 17px; max-width: 26em; }
.card-shot { height: 340px; padding: 22px 30px 0; overflow: hidden; }
.card-shot img { width: min(300px, 100%); margin: 0 auto; border-radius: 26px 26px 0 0; box-shadow: 0 0 0 7px #0d1210, 0 30px 50px -20px rgb(20 32 26 / .4); object-fit: cover; object-position: top; height: 640px; }
.card-shot.shot-low img { object-position: 0 78%; }
.card-shot.shot-mid img { object-position: 0 42%; }
.card-green { background: var(--green-ink); color: var(--on-dark); }
.card-green .card-text p { color: var(--on-dark); }
@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1020px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .card { grid-column: span 2; }
  .card:nth-last-child(-n+2) { grid-column: span 3; }
  .card-wide { grid-column: span 4; grid-template-rows: none; grid-template-columns: 1fr 1fr; align-items: center; }
  .card-wide .card-text { padding: 40px; }
  .card-wide .card-text h3 { font-size: 40px; }
  .card-wide .card-shot { height: 420px; }
  .card-shot { height: 420px; }
}

/* 7 Map */
.map { background: var(--green-deep); color: var(--on-dark); margin-top: clamp(80px, 11vw, 140px); padding: clamp(88px, 12vw, 160px) var(--gutter); }
.map-inner { max-width: var(--max); margin: 0 auto; }
.map-lede { font-size: clamp(20px, 2.2vw, 28px); max-width: 28em; margin-top: 24px; line-height: 1.35; }
.map-steps { display: grid; gap: 18px; margin-top: 56px; }
.map-steps li { background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .14); border-radius: 28px; padding: 28px; }
.map-steps span { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--on-dark); color: var(--green-deep); font-family: var(--display); font-weight: 800; font-size: 20px; margin-bottom: 20px; }
.map-steps p { margin-top: 10px; font-size: 17px; }
@media (min-width: 860px) { .map-steps { grid-template-columns: repeat(3, 1fr); } }

/* 8 Buddy */
.buddy { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(80px, 11vw, 140px) var(--gutter) 0; display: grid; gap: 36px; align-items: center; }
.buddy-pic img { width: min(420px, 80vw); margin: 0 auto; border-radius: 40px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 28%; box-shadow: 0 40px 80px -36px rgb(10 51 36 / .6); }
.buddy-copy p:last-child { font-size: clamp(18px, 1.7vw, 22px); color: var(--muted); margin-top: 20px; max-width: 26em; }
@media (min-width: 900px) { .buddy { grid-template-columns: 0.9fr 1.1fr; } }

/* 9 Numbers */
.trust { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 0; }
.trust article { padding: 26px 0; border-top: 2px solid var(--ink); }
.trust p { margin-top: 10px; color: var(--muted); font-size: 17px; }
@media (min-width: 860px) { .trust { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* 10 Install */
.install {
  max-width: var(--max); margin: clamp(80px, 11vw, 140px) auto 0; padding: clamp(32px, 5vw, 64px);
  background: var(--green-soft); border-radius: 40px; display: grid; gap: 32px; align-items: center;
  width: calc(100% - 2 * var(--gutter));
}
.install-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0 30px; }
.install-col { background: #fff; border-radius: 22px; padding: 20px; border: 2px solid transparent; }
.install-col.is-mine { border-color: var(--green); }
.install-col h3 { font-size: 20px; margin-bottom: 10px; }
.install-col ol { counter-reset: s; display: grid; gap: 8px; font-size: 16px; }
.install-col li { counter-increment: s; display: grid; grid-template-columns: 24px 1fr; gap: 8px; }
.install-col li::before { content: counter(s); font-weight: 800; color: var(--green-ink); }
.install-qr { display: none; text-align: center; }
.install-qr img { background: #fff; padding: 14px; border-radius: 24px; margin: 0 auto; }
.install-qr p { margin-top: 14px; font-weight: 600; font-size: 16px; }
@media (min-width: 900px) and (hover: hover) {
  .install { grid-template-columns: 1fr auto; }
  .install-qr { display: block; }
}
@media (max-width: 420px) { .install-cols { grid-template-columns: 1fr; } }

/* 11 FAQ */
.faq-list { max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); }
.faq .section-head { max-width: calc(820px + 2 * var(--gutter)); }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.02em;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 30px; font-weight: 400; color: var(--green); transition: transform .25s ease; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { padding: 0 0 26px; color: var(--muted); max-width: 38em; }

/* 12 Close */
.close {
  margin-top: clamp(80px, 11vw, 140px); padding: clamp(96px, 14vw, 180px) var(--gutter);
  background: radial-gradient(120% 90% at 50% 0%, #1B8A5E 0%, var(--green-ink) 45%, var(--green-deep) 100%);
  color: var(--on-dark); text-align: center; display: grid; justify-items: center; gap: 28px;
}
.close-logo { border-radius: 22px; box-shadow: 0 20px 40px -16px rgb(0 0 0 / .5); }
.close h2 { font-size: clamp(42px, 8vw, 104px); line-height: .96; }

/* Footer */
.footer { background: var(--green-deep); color: var(--on-dark); padding: 48px var(--gutter) calc(48px + env(safe-area-inset-bottom)); font-size: 13px; line-height: 1.6; }
.footer p { max-width: 880px; margin: 0 auto 14px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 18px; }
.footer-brand img { border-radius: 7px; }

/* Motion: only when JS is on and the visitor has not asked for less */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .hero-copy > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .js .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .js .hero-copy > :nth-child(3) { animation-delay: .14s; }
  .js .hero-copy > :nth-child(4) { animation-delay: .22s; }
  .js .phone-hero { animation: settle 1.1s cubic-bezier(.2,.7,.2,1) both .1s; }
  .js .plate, .js .tag { animation: pop .7s cubic-bezier(.2,.9,.3,1.2) both, bob 7s ease-in-out infinite 1.4s; }
  .js .plate-a { animation-delay: .5s, 1.4s; }
  .js .plate-b { animation-delay: .62s, 2.1s; }
  .js .plate-c { animation-delay: .74s, 2.8s; }
  .js .tag-a { animation-delay: .9s, 1.9s; }
  .js .tag-b { animation-delay: 1s, 2.6s; }
  .js .tag-c { animation-delay: 1.1s, 3.3s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes settle { from { opacity: 0; transform: translateY(60px) scale(.94); } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } }
@keyframes bob { 50% { translate: 0 -10px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .statement-text .w { opacity: 1; }
}

/* Small phones: get the app picture above the fold */
@media (max-width: 899px) {
  .lede-more { display: none; }
  .hero { padding-top: 92px; gap: 44px; }
  .hero-art { min-height: 0; padding: 24px 0 8px; }
}

/* HPB source: said once at the top, shown properly lower down */
.source-pill {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px 8px 10px; font-size: 14.500px; font-weight: 500; line-height: 1.25;
  box-shadow: 0 8px 22px -14px rgb(20 32 26 / .45);
}
.source-pill svg { color: var(--green); flex: none; }
.source-pill b { font-weight: 700; color: var(--green-ink); }
.hpb-card {
  max-width: var(--max); width: calc(100% - 2 * var(--gutter)); margin: 0 auto 40px;
  background: radial-gradient(120% 140% at 0% 0%, #1B8A5E 0%, var(--green-ink) 42%, var(--green-deep) 100%);
  color: var(--on-dark); border-radius: 36px; padding: clamp(28px, 5vw, 56px);
  display: grid; gap: 28px;
  box-shadow: 0 40px 80px -40px rgb(10 51 36 / .7);
}
.hpb-seal { color: var(--amber); }
.hpb-seal svg path:last-child { stroke: var(--green-deep); }
.hpb-main h3 { font-size: clamp(28px, 4vw, 48px); line-height: 1.04; letter-spacing: -0.035em; max-width: 16em; }
.hpb-main p:last-child { margin-top: 16px; font-size: clamp(17px, 1.600vw, 20px); max-width: 34em; }
.hpb-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; border-top: 1px solid rgb(255 255 255 / .22); padding-top: 24px; }
.hpb-facts dt { font-family: var(--display); font-weight: 700; font-size: clamp(17px, 3vw, 34px); letter-spacing: -0.03em; line-height: 1.1; }
.hpb-facts dd { margin: 6px 0 0; font-size: 14px; }
@media (min-width: 860px) {
  .hpb-card { grid-template-columns: auto 1fr; column-gap: 36px; }
  .hpb-facts { grid-column: 1 / -1; }
  .trust { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   ONE GRID FOR EVERY SCREEN (28 Nov 2026).
   Everything sits on the same centred column; headings centre on
   it; the feature pictures are one size and one crop.
   ============================================================ */
:root { --max: clamp(1180px, 62vw, 1520px); --col: min(var(--max), calc(100% - 2 * var(--gutter))); }

.section-head { text-align: center; }
.section-head h2 { max-width: 15em; margin-inline: auto; }
.statement-text { text-align: center; max-width: min(var(--max), 19em); }

.proof { text-align: center; }
@media (min-width: 760px) {
  .proof { gap: 0; }
  .proof-item { padding: 6px 20px; border-left: 1px solid var(--line); }
  .proof-item:first-child { border-left: 0; }
}

/* Feature cards: identical structure, identical picture, bottom-aligned */
.bento { grid-template-columns: 1fr; gap: 20px; }
.bento .card { grid-column: auto; --cardbg: var(--card); display: flex; flex-direction: column; grid-template-columns: none; }
.bento .card-green { --cardbg: var(--green-ink); }
.bento .card-text { padding: 32px 32px 0; }
.bento .card-text h3 { font-size: clamp(24px, 1.9vw, 34px); }
.bento .card-text p { max-width: none; }
.bento .card-shot { position: relative; height: auto; margin: auto 0 0; padding: 28px 32px 0; overflow: hidden; }
.bento .card-shot img {
  width: 100%; height: auto; margin: 0; object-fit: fill;
  border-radius: 22px 22px 0 0; border: 1px solid var(--line); border-bottom: 0;
  box-shadow: 0 30px 60px -30px rgb(20 32 26 / .35);
}
.bento .card-green .card-shot img { border-color: rgb(255 255 255 / .25); }
.bento .card-shot::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 72px; pointer-events: none;
  background: linear-gradient(to top, var(--cardbg), transparent);
}
@media (min-width: 680px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .bento { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* Pinned steps: two equal halves of the same column. The words always start on the page's centre line. */
@media (min-width: 900px) {
  .pinned .step {
    inset: 0 auto 0 50%; width: var(--col); translate: -50% 0; padding-inline: 0;
    grid-template-columns: 1fr 1fr; justify-content: stretch; gap: 0;
  }
  .pinned .step .phone { justify-self: center; }
  .pinned .step .step-text { justify-self: start; max-width: 21em; }
  .pinned .dots { right: calc((100% - var(--col)) / 2); }
}

.map-inner > .eyebrow, .map-inner > h2 { text-align: center; }
.map-lede { text-align: center; margin-inline: auto; max-width: 30em; }
.hpb-card, .install { width: var(--col); }

/* Large and ultra-wide screens: scale the type and the phone with the room */
@media (min-width: 1800px) {
  body { font-size: 20px; }
  h1 { font-size: 128px; }
  h2 { font-size: 84px; }
  .lede { font-size: 24px; }
  .phone-hero { --phone-h: min(760px, 78svh); }
  .plate { width: 220px; }
  .tag { font-size: 16px; padding: 11px 18px; }
  .btn-lg { font-size: 21px; padding: 19px 38px; }
  .pinned .step-text h3 { font-size: 76px; }
  .pinned .step-text p { font-size: 25px; }
  .map-steps p, .trust p, .card-text p { font-size: 19px; }
  .marquee figure { width: 300px; }
}

/* Tablets: the step words run to three lines, so give them room above the phone */
@media (min-width: 560px) and (max-width: 899px) {
  .pinned .step .step-text { height: 210px; }
  .pinned .step .phone { --phone-h: min(640px, calc(100svh - 370px)); }
}

/* App typeface for headings: the app's own weights and tracking (tailwind.config.ts) */
h1, h2, h3, .statement-text, .proof-item b, .step-n, summary, .brand, .footer-brand, .hpb-facts dt, .map-steps span {
  font-family: var(--display); font-variation-settings: normal;
}
h1 { font-weight: 750; letter-spacing: -0.035em; line-height: 1; }
h2, .statement-text, .close h2 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; }
h3, summary { font-weight: 700; letter-spacing: -0.02em; }
.proof-item b { font-weight: 750; letter-spacing: -0.035em; }

@media (max-width: 480px) { h1 { font-size: 41px; } }
