/* LongShop's website (longshop.africa/about, /retailers, /suppliers, /manufacturers, /lenders). Plain HTML and this one file:
   no outside fonts, one tiny script (site.js: the top bar), so it opens fast on slow data. The app's own teal. Pictures first, few words.

   Written for a phone first (375 px wide), then grown for wider screens. One type scale and one spacing scale for everything:

     Title (h1)        32 px  →  52 px     heavy, tight
     Section (h2)      22 px  →  32 px
     Lead              16 px  →  18 px     muted
     Card title        15 px  →  16 px     bold
     Small             13 px  →  14 px     muted: under card titles, steps and doors
     Caption           12 px               muted: notes, the capsule, picture captions
     Button            15 px  →  16 px     48 px tall on a phone

   One main action per screen (filled); a second one is quiet (outlined); calling is a small link under them. */
:root {
    --teal: #008C95;
    --teal-dark: #006C73;
    --teal-soft: #E7F4F5;
    --amber: #B86E00;
    --amber-soft: #FFF4E0;
    --red: #D03A2F;
    --green: #1FAF55;
    --ink: #13242B;
    --muted: #5A6A71;
    --line: #E2E8EA;
    --bg: #FFFFFF;
    --bg-soft: #F4F7F8;
    --radius: 16px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --fs-title: 2rem;
    --fs-h2: 1.375rem;
    --fs-lead: 1rem;
    --fs-card: 0.9375rem;
    --fs-small: 0.8125rem;
    --fs-cap: 0.75rem;
    --fs-btn: 0.9375rem;

    --bar-h: 58px;        /* the top bar's height (the hero's soft teal runs up behind it) */
    --section: 48px;      /* space above and below a section */
    --after-h2: 22px;     /* space between a section's title and what it shows */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
a { color: var(--teal-dark); }
img { display: block; max-width: 100%; }
p, li { text-wrap: pretty; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 10; background: #fff; padding: 8px 12px; border-radius: 8px; }
/* No dark ring round a button or link after a tap (the browser's focus outline: it shows again when someone comes back from
   WhatsApp or the phone's dialer), and no grey flash on tap. On a computer, someone moving with the keyboard still sees where
   they are: a thin teal ring. On a touch screen, never. */
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
@media (hover: none) { :focus-visible { outline: none; } }

/* ---- Top bar: one slim row, part of the page rather than a box on it ----
   At the top of a page it is clear (no colour, no line): the hero's soft teal runs up behind it. Once the page moves under it, a
   light frosted glass keeps its words readable (site.js adds .top-clear at the top; without the script the glass is always on).
   It slides away while someone reads down the page and comes back when they scroll up (site.js adds .top-away); never while
   someone moves through it with the keyboard. */
.top { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, 0.72); box-shadow: 0 1px 0 rgba(19, 36, 43, 0.06); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); transition: transform 0.28s ease, background-color 0.2s ease, box-shadow 0.2s ease; }
.top.top-clear { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.top.top-away { transform: translateY(-100%); }
.top.top-away:focus-within { transform: none; }
@media (prefers-reduced-motion: reduce) { .top { transition: none; } }
.top .wrap { position: relative; display: flex; align-items: center; gap: 8px; height: var(--bar-h); }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.0625rem; color: var(--ink); text-decoration: none; letter-spacing: -0.015em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
/* On a laptop: the four as quiet words; the page you are on is underlined */
.nav { display: none; }
.nav a { padding: 6px 0; color: var(--muted); text-decoration: none; font-size: 0.875rem; font-weight: 500; white-space: nowrap; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--teal); }
/* Quiet (outlined), so the page's own main button is the only filled one in view */
.top .btn { margin-left: auto; height: 36px; padding: 0 14px; font-size: 0.8125rem; }
/* On a phone: a small menu button that opens the four, each with its picture (no scripts: <details>) */
.menu summary { list-style: none; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 18px; height: 18px; }
.menu summary span { display: flex; }
.menu .menu-close, .menu[open] .menu-open { display: none; }
.menu[open] .menu-close { display: flex; }
.menu[open] summary { background: var(--bg-soft); }
.menu-panel { position: absolute; right: 20px; top: calc(100% + 6px); width: min(272px, calc(100vw - 40px)); padding: 6px; display: grid; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px rgba(0, 40, 45, 0.16); }
.menu-panel a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 11px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.9375rem; }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: var(--teal-soft); }
.menu-panel .ic { width: 32px; height: 32px; border-radius: 9px; }
.menu-panel .ic svg { width: 17px; height: 17px; }

/* ---- Buttons: one main action (filled), a quiet second one (outlined), calling as a small link ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: 999px; font-weight: 650; font-size: var(--fs-btn); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap; border: 1.5px solid transparent; transition: background 0.15s, border-color 0.15s, transform 0.15s; }
.btn:active { transform: scale(0.98); }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); }
.btn-wa { background: var(--green); color: #fff; }
.btn-wa:hover { background: #17964A; }
.btn-soft { background: #fff; color: var(--ink); border-color: #D5DEE1; }
.btn-soft:hover { border-color: #B9C6CA; }
.btn-soft svg, .btn-light svg { color: var(--green); }
.btn-light { background: #fff; color: var(--teal-dark); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn-outline-light:hover { border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.call-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 0.875rem; font-weight: 600; color: var(--teal-dark); text-decoration: none; }
.call-link svg { width: 15px; height: 15px; }
.call-link span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(0, 108, 115, 0.35); }

/* ---- Hero: the capsule, the title, one short line, the buttons, and the picture ---- */
.hero { margin-top: calc(-1 * var(--bar-h)); padding: calc(var(--bar-h) + 28px) 0 44px; background: linear-gradient(180deg, var(--teal-soft) 0%, #fff 78%); overflow: hidden; }
.hero .wrap { display: grid; gap: 36px; align-items: center; }
.eyebrow { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--teal-dark); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.01em; border: 1px solid #CBE6E8; }
h1 { margin-top: 14px; font-size: var(--fs-title); line-height: 1.12; letter-spacing: -0.028em; font-weight: 800; text-wrap: balance; }
h1 em { font-style: normal; color: var(--teal); }
.lead { margin-top: 12px; font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); max-width: 32em; }

/* ---- A page resting for now: "Check back later" (tools/make-site.mjs: RESTING) ---- */
.soon { margin-top: calc(-1 * var(--bar-h)); padding: calc(var(--bar-h) + 56px) 0 64px; min-height: 76vh; display: flex; align-items: center; text-align: center; background: linear-gradient(180deg, var(--teal-soft) 0%, #fff 85%); }
.soon .wrap { max-width: 520px; }
.soon-ic { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 18px; background: #fff; color: var(--teal-dark); box-shadow: 0 8px 22px rgba(0, 76, 81, 0.12); }
.soon-ic svg { width: 26px; height: 26px; }
.soon h1 { margin-top: 12px; }
.soon .lead { margin-left: auto; margin-right: auto; }
.soon .actions { justify-content: center; }

/* ---- Sections ---- */
section { padding: var(--section) 0; }
section.soft { background: var(--bg-soft); }
h2 { font-size: var(--fs-h2); line-height: 1.25; letter-spacing: -0.018em; font-weight: 800; text-align: center; text-wrap: balance; }

/* Steps as a picture: an icon each, a few words, a dashed line to the next. On a phone they stand one under the other (the icon on
   the left, the words beside it, the line running down); from 640 px they sit in a row of three. */
.flow { list-style: none; display: grid; max-width: 340px; margin: var(--after-h2) auto 0; counter-reset: step; }
.flow li { position: relative; display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 14px; padding-bottom: 28px; text-align: left; counter-increment: step; }
.flow li:last-child { padding-bottom: 0; }
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 23px; top: 53px; bottom: 5px; width: 2px; background: repeating-linear-gradient(to bottom, #A9D7DB 0 4px, transparent 4px 8px); }
.flow-ic { grid-row: 1 / 3; position: relative; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 15px; background: #fff; color: var(--teal-dark); box-shadow: 0 6px 16px rgba(0, 76, 81, 0.1); }
.flow-ic svg { width: 22px; height: 22px; }
.flow-ic::after { content: counter(step); position: absolute; top: -5px; right: -5px; width: 19px; height: 19px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-dark); box-shadow: 0 0 0 2px #fff; font-size: 0.6875rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
section:not(.soft) .flow-ic { background: var(--teal-soft); box-shadow: none; }
.flow b { grid-column: 2; align-self: end; display: block; font-size: var(--fs-card); line-height: 1.3; }
.flow li > span:not(.flow-ic) { grid-column: 2; align-self: start; display: block; margin-top: 2px; font-size: var(--fs-small); color: var(--muted); line-height: 1.4; }

/* What you get: icon tiles, two across on a phone */
.tiles { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: var(--after-h2); }
.tiles li { padding: 14px 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.tiles .ic { margin-bottom: 10px; }
.tiles b { display: block; font-size: 0.875rem; line-height: 1.3; }
.tiles li > span:not(.ic) { display: block; margin-top: 3px; font-size: var(--fs-small); color: var(--muted); line-height: 1.45; }
.ic { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 11px; background: var(--teal-soft); color: var(--teal-dark); display: flex; align-items: center; justify-content: center; }
.ic svg { width: 19px; height: 19px; }

/* The idea in one picture: a shop's own book (no) next to a LongShop record (yes) */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: var(--after-h2); }
.side { position: relative; padding: 20px 12px 16px; border-radius: 14px; text-align: center; border: 1px solid; }
.side.bad { background: #FDF7F6; border-color: #F2E0DD; }
.side.good { background: #F0F9F9; border-color: #CBE7E9; }
.side .doc { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin: 0 auto 10px; border-radius: 14px; background: #fff; }
.side .doc svg { width: 24px; height: 24px; }
.side.bad .doc { color: #A3392F; }
.side.good .doc { color: var(--teal-dark); }
.side .mark { position: absolute; top: 9px; right: 9px; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; }
.side .mark svg { width: 12px; height: 12px; stroke-width: 3.2; }
.side.bad .mark { background: var(--red); }
.side.good .mark { background: var(--green); }
.side b { display: block; font-size: 0.875rem; line-height: 1.3; text-wrap: balance; }
.side > span:last-child { display: block; margin-top: 3px; font-size: var(--fs-small); color: var(--muted); line-height: 1.45; }
/* One bold line that sums the section up */
.punch { max-width: 22em; margin: 20px auto 0; text-align: center; font-size: 1rem; line-height: 1.4; font-weight: 700; color: var(--teal-dark); text-wrap: balance; }
/* A pair of lines (the trust picture: what the supplier sends, then what the shop sells), each on its own line */
.punch > span { display: block; }

/* One line that matters, in a band; a quiet line under tiles */
.banner { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--teal-soft); color: var(--teal-dark); font-weight: 650; font-size: 0.875rem; line-height: 1.4; }
.banner .ic { background: #fff; color: var(--teal-dark); }
.note { margin-top: 14px; display: flex; gap: 7px; align-items: center; justify-content: center; text-align: left; font-size: var(--fs-cap); color: var(--muted); }
.note svg { flex: 0 0 auto; width: 16px; height: 16px; color: var(--teal); }

/* Who it is for: four doors */
.doors { display: grid; gap: 10px; margin-top: var(--after-h2); }
.door { display: flex; align-items: center; gap: 14px; padding: 14px 14px 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.door:hover { border-color: var(--teal); box-shadow: 0 8px 24px rgba(0, 108, 115, 0.1); transform: translateY(-2px); }
.door div { flex: 1; min-width: 0; }
.door b { display: block; font-size: var(--fs-card); line-height: 1.3; }
.door div > span { display: block; margin-top: 2px; color: var(--muted); font-size: var(--fs-small); line-height: 1.4; }
.door .go { font-size: 1.375rem; line-height: 1; color: #9DBFC2; }
.door:hover .go { color: var(--teal); }

/* ---- The story on /about, drawn and moving (tools/make-site.mjs: SCENE) ----
   One loop of 9 s: 0–3 s the supplier sends (his phone lights, "Restock sent", the parcel card flies along the dotted line);
   3–5.6 s the retailer accepts ("Accepted", the new items pop onto her shelf); 5.8–9 s she sells (the pack on her counter is scanned
   and lifts away, her phone flashes green again, "Sale recorded"). The two people breathe gently all the time. Less motion asked
   for: the finished story, still. */
.art-scene { width: 100%; max-width: 520px; margin: 0 auto; }
@media (max-width: 639px) { .art.art-scene { width: calc(100% + 40px); max-width: none; margin: 0 -20px; } } /* (edge to edge on a phone: people and words a size bigger) */
@media (max-width: 359px) { .art.art-scene { width: calc(100% + 32px); margin: 0 -16px; } }
@media (min-width: 640px) and (max-width: 859px) { .art.art-scene { max-width: 460px; margin: 0 auto; } } /* (a tablet: in the middle under the words) */
@media (min-width: 860px) { .art.art-scene { max-width: 420px; margin: 0 auto; } } /* (a laptop: beside the title; its words about the size of the page's) */
.scene .ls-sign { font-size: 12px; font-weight: 800; letter-spacing: 0.18em; fill: #fff; }
.scene .ls-role text { font-size: 16px; font-weight: 700; fill: var(--teal-dark); }
.scene { display: block; width: 100%; height: auto; overflow: visible; }
.scene text { font-family: var(--font); font-size: 17px; font-weight: 700; fill: var(--ink); }
.scene .ls-pill, .scene .ls-new, .scene .ls-token, .scene .ls-ring, .scene .ls-supplier, .scene .ls-retailer { transform-box: fill-box; transform-origin: center; }
.ls-supplier { animation: ls-breathe 3.2s ease-in-out infinite; }
.ls-retailer { animation: ls-breathe 3.6s ease-in-out infinite -1.2s; }
@keyframes ls-breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.6px); } }
.ls-ring { fill: none; stroke: var(--teal); stroke-width: 2; opacity: 0; animation: ls-ring 9s infinite; }
.ls-ring2 { animation-delay: 0.35s; }
@keyframes ls-ring { 0% { opacity: 0.7; transform: scale(0.6); } 12% { opacity: 0; transform: scale(2.6); } 100% { opacity: 0; transform: scale(2.6); } }
.ls-sup-screen { animation: ls-sup-screen 9s infinite; }
@keyframes ls-sup-screen { 0%, 14% { fill: #c4f3f6; } 22%, 100% { fill: #7fd3d9; } }
.ls-ret-screen { animation: ls-ret-screen 9s infinite; }
@keyframes ls-ret-screen { 0%, 34% { fill: #e7f4f5; } 37%, 58% { fill: #6fdc9a; } 62%, 68% { fill: #e7f4f5; } 71%, 90% { fill: #6fdc9a; } 95%, 100% { fill: #e7f4f5; } }
.ls-arc { animation: ls-march 1.4s linear infinite; }
@keyframes ls-march { to { stroke-dashoffset: -20; } }
.ls-token { opacity: 0; animation: ls-fly 9s infinite; }
@keyframes ls-fly {
    0%, 12% { opacity: 0; transform: translate(0, 0) scale(0.5); }
    14% { opacity: 1; transform: translate(0, 0) scale(1); animation-timing-function: linear; }
    19% { transform: translate(27px, -52px); animation-timing-function: linear; }
    24% { transform: translate(54px, -63px); animation-timing-function: linear; }
    29% { transform: translate(83px, -34px); animation-timing-function: linear; }
    33% { opacity: 1; transform: translate(113px, 36px) scale(1); }
    36%, 100% { opacity: 0; transform: translate(113px, 36px) scale(0.3); }
}
.ls-pill { opacity: 0; }
.ls-p1 { animation: ls-p1 9s infinite; }
@keyframes ls-p1 { 0% { opacity: 0; transform: translateY(6px) scale(0.92); } 4%, 27% { opacity: 1; transform: none; } 31%, 100% { opacity: 0; transform: translateY(-4px); } }
.ls-p2 { animation: ls-p2 9s infinite; }
@keyframes ls-p2 { 0%, 34% { opacity: 0; transform: translateY(6px) scale(0.92); } 38%, 58% { opacity: 1; transform: none; } 62%, 100% { opacity: 0; transform: translateY(-4px); } }
.ls-p3 { animation: ls-p3 9s infinite; }
@keyframes ls-p3 { 0%, 69% { opacity: 0; transform: translateY(6px) scale(0.92); } 73%, 93% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: translateY(-4px); } }
.ls-new { transform: scale(0); animation: ls-new 9s infinite; }
.ls-new2 { animation-delay: 0.25s; }
.ls-new3 { animation-delay: 0.5s; }
@keyframes ls-new { 0%, 40% { transform: scale(0); opacity: 1; } 44% { transform: scale(1.2); } 46%, 94% { transform: scale(1); opacity: 1; } 98%, 100% { transform: scale(1); opacity: 0; } }
.ls-scan { opacity: 0; animation: ls-scan 9s infinite; }
@keyframes ls-scan { 0%, 63% { opacity: 0; transform: translateX(-6px); } 64% { opacity: 1; } 69% { opacity: 1; transform: translateX(6px); } 70%, 100% { opacity: 0; transform: translateX(6px); } }
.ls-counter-pack { animation: ls-counter 9s infinite; }
@keyframes ls-counter { 0%, 69% { opacity: 1; transform: none; } 73% { opacity: 0; transform: translateY(-14px); } 97% { opacity: 0; transform: none; } 100% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .scene * { animation: none !important; }
    .ls-new { transform: none; }
    .ls-p3 { opacity: 1; }
    .ls-counter-pack { opacity: 0; }
}

/* The retailer's phone under How it works on /about (a restock to Accept), above the line it shows */
.how-phone { margin-top: 30px; }
.how-phone .art::before { inset: 6% 0; } /* (its glow stays within the page's width: no sideways scrolling on a phone) */
@media (min-width: 860px) { .how-phone { margin-top: 40px; } }

/* ---- The pictures: a phone showing the app, or a card ---- */
.art { position: relative; isolation: isolate; margin: 0; }
.art::before { content: ""; position: absolute; inset: 6% -10%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 140, 149, 0.14), rgba(0, 140, 149, 0)); }
.phone { position: relative; width: 256px; margin: 0 auto; padding: 8px; border-radius: 40px; background: #10232A; box-shadow: 0 28px 56px -16px rgba(0, 60, 65, 0.42), inset 0 0 0 2px #2B4048; }
.phone::before { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 76px; height: 20px; border-radius: 0 0 13px 13px; background: #10232A; z-index: 2; }
.screen { border-radius: 33px; overflow: hidden; background: var(--bg-soft); padding-bottom: 12px; }
.screen-bar { display: flex; align-items: center; gap: 7px; padding: 32px 14px 10px; background: var(--teal); color: #fff; font-weight: 800; font-size: 0.875rem; }
.screen-bar img { width: 20px; height: 20px; border-radius: 5px; }
.mock { padding: 12px; border-radius: 14px; background: #fff; font-variant-numeric: tabular-nums; }
.phone .mock { margin: 10px 10px 0; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06); }
.mock-card { width: 100%; max-width: 360px; margin: 0 auto; padding: 16px; border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 24px 50px -14px rgba(0, 76, 81, 0.25); }
.mock-head { display: flex; align-items: center; gap: 10px; }
.mock-head .dot { width: 32px; height: 32px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.875rem; flex: 0 0 auto; }
.mock-head .dot svg { width: 16px; height: 16px; }
.mock-head b { display: block; font-size: 0.8125rem; line-height: 1.25; }
.mock-head small { color: var(--muted); font-size: 0.6875rem; }
.mock ul { list-style: none; margin: 10px 0; border-top: 1px dashed var(--line); }
.mock li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 0.78rem; line-height: 1.3; }
.mock li span:last-child { color: var(--muted); white-space: nowrap; }
.mock li small { color: var(--muted); font-size: 0.6875rem; }
.mock .lvl { font-weight: 700; }
.lvl.low { color: var(--amber) !important; }
.lvl.out { color: var(--red) !important; }
.mock-btns { display: flex; gap: 8px; }
.mock-btns span { flex: 1; text-align: center; padding: 8px; border-radius: 9px; font-weight: 700; font-size: 0.78rem; }
.mock-btns .yes { background: var(--teal); color: #fff; }
.mock-btns .no { background: var(--bg-soft); color: var(--muted); }
.mock-big { margin-top: 10px; font-size: 1.625rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.mock-sub { color: var(--muted); font-size: 0.75rem; }
.mock-sub b { color: var(--green); }
.mock-alert { padding: 8px 10px; border-radius: 9px; background: var(--amber-soft); color: #7A4A00; font-size: 0.72rem; font-weight: 600; line-height: 1.35; }
.mock-done { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 0.78rem; color: var(--teal-dark); font-weight: 700; }
.mock-done svg { width: 15px; height: 15px; }
.mock li.bar-row { flex-wrap: wrap; row-gap: 5px; }
.bar { flex: 0 0 100%; height: 6px; border-radius: 3px; background: var(--teal-soft); overflow: hidden; }
.bar::after { content: ""; display: block; height: 100%; width: var(--w); background: var(--teal); border-radius: 3px; }
.mock-cap { margin-top: 10px; text-align: center; font-size: var(--fs-cap); color: var(--muted); }

/* ---- The last word: try it, or talk to us ---- */
.cta { background: var(--teal-dark); color: #fff; text-align: center; padding: 48px 0; }
.cta h2 { color: #fff; }
.cta p { margin: 8px auto 0; max-width: 30em; font-size: 0.875rem; color: rgba(255, 255, 255, 0.8); }
.cta .actions { justify-content: center; margin-top: 22px; }
.cta .call-link { color: #fff; }
.cta .call-link span { text-decoration-color: rgba(255, 255, 255, 0.45); }

/* ---- Footer: the name, then two short lists side by side ---- */
footer { padding: 36px 0 40px; background: #0E1D23; color: rgba(255, 255, 255, 0.66); font-size: 0.875rem; }
footer .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
footer .wrap > div:first-child, .foot-fine { grid-column: 1 / -1; }
footer .brand { color: #fff; }
footer p { margin-top: 8px; }
footer a { color: rgba(255, 255, 255, 0.92); text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
.foot-h { margin: 0 0 10px !important; color: rgba(255, 255, 255, 0.5); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.foot-links { display: grid; gap: 9px; }
.foot-fine { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: var(--fs-cap); color: rgba(255, 255, 255, 0.45); }

/* ---- Phones: the buttons one under the other, full width (side by side they would not fit), the call link in the middle ---- */
@media (max-width: 639px) {
    .actions .btn { flex: 1 1 100%; }
    .hero .call-link { display: flex; justify-content: center; }
}
/* ---- Very narrow phones (320 px): a slightly smaller title ---- */
@media (max-width: 359px) {
    :root { --fs-title: 1.75rem; }
    .wrap { padding: 0 16px; }
}

/* ---- Wider screens: the same scale, a size up ---- */
@media (min-width: 640px) {
    :root { --fs-title: 2.5rem; --fs-h2: 1.75rem; --fs-lead: 1.0625rem; --section: 64px; --after-h2: 30px; }
    .tiles { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .tiles.n4 { grid-template-columns: 1fr 1fr; }
    .doors { grid-template-columns: 1fr 1fr; gap: 12px; }
    .compare { max-width: 600px; margin-left: auto; margin-right: auto; gap: 16px; }
    .flow { grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 720px; }
    .flow li { display: block; padding-bottom: 0; text-align: center; }
    .flow li:not(:last-child)::after { left: calc(50% + 40px); right: calc(-50% + 28px); top: 30px; bottom: auto; width: auto; height: 0; background: none; border-top: 1.5px dashed #B5DDE0; }
    .flow-ic { width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 19px; }
    .flow-ic svg { width: 26px; height: 26px; }
    .flow b { font-size: 0.9375rem; text-wrap: balance; }
    .flow li > span:not(.flow-ic) { margin-top: 3px; font-size: var(--fs-small); text-wrap: balance; }
    .punch { font-size: 1.125rem; }
    .call-link { margin-left: 6px; }
    footer .wrap { grid-template-columns: 1.4fr 1fr 1fr; }
    footer .wrap > div:first-child { grid-column: auto; }
}
@media (min-width: 860px) {
    :root { --bar-h: 64px; --fs-title: 3.25rem; --fs-h2: 2rem; --fs-lead: 1.125rem; --fs-card: 1rem; --fs-small: 0.875rem; --fs-btn: 1rem; --section: 88px; --after-h2: 36px; }
    .nav { display: flex; gap: 26px; margin-left: 32px; }
    .menu { display: none; }
    .top .btn { height: 38px; padding: 0 16px; font-size: 0.875rem; }
    .btn { height: 50px; padding: 0 24px; }
    .hero { padding: calc(var(--bar-h) + 72px) 0 88px; }
    .hero .wrap { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
    h1 { margin-top: 18px; line-height: 1.06; }
    .lead { margin-top: 16px; }
    .actions { margin-top: 30px; }
    .tiles.n4 { grid-template-columns: repeat(4, 1fr); }
    .tiles li { padding: 20px 18px 22px; border-radius: var(--radius); }
    .tiles .ic { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 14px; }
    .tiles .ic svg { width: 21px; height: 21px; }
    .tiles b, .side b { font-size: var(--fs-card); }
    .flow-ic { width: 72px; height: 72px; border-radius: 22px; margin-bottom: 14px; }
    .flow-ic svg { width: 32px; height: 32px; }
    .flow-ic::after { width: 22px; height: 22px; font-size: 0.75rem; }
    .flow li:not(:last-child)::after { top: 36px; left: calc(50% + 46px); right: calc(-50% + 34px); }
    .flow b { font-size: var(--fs-card); }
    .side { padding: 26px 18px 22px; border-radius: var(--radius); }
    .side .doc { width: 56px; height: 56px; }
    .door { padding: 18px 18px 18px 20px; border-radius: var(--radius); }
    .door .ic { width: 42px; height: 42px; }
    .banner { font-size: 0.9375rem; padding: 14px 18px; }
    .note { font-size: 0.8125rem; }
    .punch { font-size: 1.25rem; margin-top: 28px; }
    .phone { width: 296px; }
    .mock { padding: 14px; }
    .mock-head b { font-size: 0.9rem; }
    .mock-head small { font-size: 0.75rem; }
    .mock li { font-size: 0.85rem; }
    .mock-big { font-size: 1.875rem; }
    .mock-alert, .mock-done { font-size: 0.8rem; }
    .mock-card { max-width: 380px; padding: 20px; }
    .cta { padding: 80px 0; }
    .cta p { font-size: 1rem; }
    footer { padding: 48px 0; }
}
