/*
  ScanPrint public site — white and modern, with scroll motion (founder decision 2026-09-28,
  docs/decisions/2026-09-28-site-white-motion.md). Website only: the owner app and the student page keep
  rule 11's ink + green + mint language.

  Near-white page, white cards on a hairline, Inter, big tight headings, grey body text. ScanPrint green
  (#266a41) is the one accent, with a green-to-mint gradient where a gradient is wanted. No purple, peach,
  cream or yellow washes.

  Motion is layered on, never required:
  - With no JavaScript, or under prefers-reduced-motion, everything is static and fully readable.
  - site.js adds .js to <html>, and .motion only when motion is allowed. Every "hidden before it
    arrives" state below is scoped to .motion, so content is never stuck invisible.
  - Where the browser has scroll-driven animations, site.js adds .sda and CSS drives the reveals, the
    word fill and the curve; elsewhere a small IntersectionObserver / scroll handler does the same.
  Only transform, opacity and stroke-dashoffset animate.
*/
@font-face {
  font-family: "Inter";
  src: url("/site/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 105deg; }
@view-transition { navigation: auto; }

:root {
  --bg: #f6f7f9; --card: #fff; --line: #e5e5e5; --line-strong: #d6d8dc;
  --ink: #000704; --text: #171717; --muted: #4c504e; --soft: #7b807d;
  --green: #266a41; --g1: #1d5433; --g2: #266a41; --g3: #7cc49a; --g4: #cfe8d4;
  --green-ink: color-mix(in oklch, var(--green) 85%, black);
  --tint: color-mix(in oklch, var(--g4) 45%, white);
  --grad: linear-gradient(105deg, var(--g1), var(--g2) 45%, #3f8a5c 80%, #4a9468);
  --grad-soft: linear-gradient(135deg, var(--g3), var(--g4));
  --ok: #15803d; --warn: #a15c07; --bad: #c02626;
  --r-lg: 32px; --r: 24px; --r-sm: 16px;
  --nav-h: 88px;
  --shadow: 0 1px 2px rgb(0 7 4 / 4%), 0 8px 24px -12px rgb(0 7 4 / 10%);
  --shadow-lg: 0 1px 2px rgb(0 7 4 / 4%), 0 12px 32px -12px rgb(0 7 4 / 12%), 0 40px 80px -40px rgb(29 84 51 / 25%);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Devanagari", "Nirmala UI", "Noto Sans", sans-serif;
  interpolate-size: allow-keywords;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 18px/28px var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
h1, h2, h3 { color: var(--ink); margin: 0 0 16px; text-wrap: balance; }
h1 { font-size: clamp(40px, 2.4vw + 26px, 72px); font-weight: 600; line-height: 1.1; letter-spacing: -0.025em; }
h2 { font-size: clamp(34px, 1.8vw + 22px, 60px); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0 0 16px; text-wrap: pretty; }
:lang(hi) h1, :lang(hi) h2 { line-height: 1.3; letter-spacing: 0; }
:lang(hi) body { line-height: 1.7; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; z-index: 100; }
.skip:focus { top: 12px; }
/* fluid: nearly edge to edge on a wide screen, capped at 1600px of content */
.wrap { width: min(100% - 2 * clamp(16px, 4vw, 64px), 1600px); margin-inline: auto; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }

/* ---------- eyebrow pill: icon circle + label ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; padding: 4px 16px 4px 4px; border-radius: 999px;
           background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
           font-size: 15px; font-weight: 500; line-height: 1.2; color: var(--ink); letter-spacing: -0.01em; }
.ey-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--grad); color: #fff; flex: none; }
.ey-ico svg { width: 16px; height: 16px; }

/* ---------- buttons: rounded-full, label + a circle with an arrow ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 0 24px;
       border-radius: 999px; border: 0; font: 500 16px/1.2 var(--font); letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
       white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease, background-position .5s ease; }
.btn:has(.arr) { padding: 6px 6px 6px 24px; }
.btn:active { transform: translateY(1px); }
.btn > svg { width: 20px; height: 20px; flex: none; }
.arr { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; flex: none; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.arr svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover .arr { transform: rotate(45deg); }
.btn-lg { min-height: 56px; font-size: 17px; }
.btn-lg:has(.arr) { padding: 7px 7px 7px 28px; }
.btn-lg .arr { width: 42px; height: 42px; }
.btn-primary { background: var(--grad); background-size: 160% 100%; background-position: 0 0; color: #fff;
               box-shadow: 0 8px 20px -10px rgb(29 84 51 / 60%), inset 0 1px 0 rgb(255 255 255 / 18%); }
.btn-primary:hover { background-position: 100% 0; }
.btn-primary .arr { background: #fff; color: var(--g1); }
.btn-light { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.btn-light:hover { box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow); }
.btn-light .arr, .btn-dark .arr { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark .arr { background: #fff; color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 8px 24px -12px rgb(0 7 4 / 35%); }
.btn-white .arr { background: var(--grad); color: #fff; }
.btn-glass { background: rgb(255 255 255 / 12%); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 45%); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgb(255 255 255 / 20%); }
.btn-glass .arr { background: #fff; color: var(--g1); }
.btn-sm { min-height: 48px; padding: 0 20px; font-size: 15px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- floating pill nav ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; padding: 12px 0; view-transition-name: site-top; pointer-events: none; }
.top-row { display: flex; align-items: center; gap: 16px; min-height: 64px; pointer-events: auto; border-radius: 999px;
           transition: background-color .3s ease, box-shadow .3s ease, padding .3s ease; }
.top.scrolled .top-row { background: rgb(255 255 255 / 72%); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
                         box-shadow: inset 0 0 0 1px var(--line), var(--shadow); padding: 0 8px 0 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none; color: var(--ink);
         font-weight: 700; font-size: 21px; letter-spacing: -0.03em; flex: none; }
.brand .mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #fff; }
.brand .mark svg { width: 18px; height: 18px; }
.nav { display: flex; align-items: center; gap: 16px; flex: 1; }
.nav-links { display: flex; gap: 2px; margin: 0 auto; padding: 4px; border-radius: 999px; background: rgb(255 255 255 / 80%);
             box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: box-shadow .3s, background-color .3s; }
.top.scrolled .nav-links { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-links a, .nav .login { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 999px;
                            color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.nav-links a:hover { background: var(--bg); }
.nav-links a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav-end { display: flex; align-items: center; gap: 8px; }
.nav .login { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.nav .login:hover, .nav .login[aria-current="page"] { box-shadow: inset 0 0 0 1px var(--ink); }
.lang { display: inline-flex; padding: 4px; border-radius: 999px; background: rgb(255 255 255 / 80%); box-shadow: inset 0 0 0 1px var(--line); }
.lang button { border: 0; background: transparent; font: 500 14px/1 var(--font); color: var(--muted); min-height: 40px; min-width: 40px; padding: 0 11px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.menu { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--ink);
        box-shadow: inset 0 0 0 1px var(--line), var(--shadow); cursor: pointer; }
.menu svg { width: 22px; height: 22px; }

/* ---------- sections ---------- */
main > :first-child { padding-top: calc(var(--nav-h) + 40px); }
.section { padding: 96px 0; }
.section.tight { padding: 48px 0 96px; }
.head { max-width: 760px; margin-bottom: 56px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head > p:not(.eyebrow), .head p:last-child:not(.eyebrow) { color: var(--muted); font-size: 18px; line-height: 28px; letter-spacing: -0.01em; }
.head.split-head { max-width: none; }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; }
.split-head h2 { margin: 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: clip; padding-bottom: 120px;
        background: radial-gradient(60% 55% at 78% 48%, color-mix(in oklch, var(--g4) 70%, transparent), transparent 70%),
                    url("/site/img/gen/hero-rays.webp") center top / cover no-repeat, var(--bg); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .lede { font-size: clamp(18px, .4vw + 13px, 20px); line-height: 1.6; color: var(--muted); max-width: 36em; margin-bottom: 32px; letter-spacing: -0.01em; }
.pw { display: inline-block; padding: 0 .32em .04em; margin: 0 .04em; border-radius: 999px; line-height: 1.15;
      border: 1.5px solid transparent;
      background: linear-gradient(#fff, #fff) padding-box, linear-gradient(120deg, var(--g1), var(--g3), var(--g4)) border-box;
      box-shadow: 0 10px 30px -14px rgb(29 84 51 / 45%); }
.pw, .pw .w > span { color: var(--green); }
.hero-safe { display: flex; gap: 10px; align-items: flex-start; margin: 32px 0 4px; font-size: 16px; line-height: 24px; color: var(--muted); max-width: 34em; }
.hero-safe svg { width: 22px; height: 22px; flex: none; color: var(--green); margin-top: 1px; }
.hero-safe strong { color: var(--ink); font-weight: 600; }
.wa-line { margin: 0; }
.wa-line a { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; min-height: 48px; font-size: 16px; font-weight: 500; color: var(--green); text-decoration: none; }
.wa-line a:hover span:first-of-type { text-decoration: underline; }
.wa-line svg { width: 22px; height: 22px; flex: none; }
.wa-num { color: var(--ink); }

/* ---------- hero: a student scans the counter QR and the upload page opens ----------
   A crisp HTML/SVG scene over one photo of a blank acrylic stand. Its resting state (no animation, which is
   what reduced motion shows) is the end of the story: the phone on the shop's upload page beside the stand.
   One 8.5s loop; every moving part uses transform or opacity only. */
.scan { position: relative; margin: 0; width: min(100%, 760px); aspect-ratio: 1 / 1; justify-self: center; }
.scan-stage { position: absolute; inset: 0; }
.stand { position: absolute; left: 0; top: 0; width: 72%; aspect-ratio: 624 / 820; container-type: inline-size;
         -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(transparent, #000 7%, #000 84%, transparent);
         -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(transparent, #000 7%, #000 84%, transparent); mask-composite: intersect; }
.stand img { width: 100%; height: 100%; }
.stand-card { position: absolute; left: 20.99%; top: 14.63%; width: 58.01%; height: 67.8%; display: flex; flex-direction: column; align-items: center; justify-content: center;
              gap: 3.2cqw; padding: 5cqw 4cqw; text-align: center; color: var(--ink); }
.stand-card p { margin: 0; line-height: 1.15; }
.stand-brand { display: flex; align-items: center; gap: 1.6cqw; font-size: 5cqw; font-weight: 700; letter-spacing: -0.03em; }
.stand-mark { display: grid; place-items: center; width: 7cqw; height: 7cqw; border-radius: 1.8cqw; background: var(--grad); color: #fff; }
.stand-mark svg { width: 62%; height: 62%; }
.stand-title { font-size: 6.6cqw; font-weight: 600; letter-spacing: -0.02em; }
.stand-qr { width: 40cqw; height: 40cqw; }
.stand-steps { font-size: 3.6cqw; color: var(--muted); font-weight: 500; }
.phone { position: absolute; right: 0; bottom: 0; width: 40%; container-type: inline-size; }
.phone-body { padding: 3cqw; border-radius: 15cqw; background: linear-gradient(145deg, #2a2e2c, #0b0d0c 40%, #1b1e1d);
              box-shadow: inset 0 0 0 1px rgb(255 255 255 / 10%), 0 2px 4px rgb(0 7 4 / 20%), 0 40px 70px -24px rgb(0 7 4 / 45%), 0 18px 40px -20px rgb(29 84 51 / 35%); }
.phone-screen { position: relative; aspect-ratio: 520 / 1172; border-radius: 12cqw; overflow: hidden; background: #fff; isolation: isolate; }
.phone-notch { position: absolute; top: 2.6cqw; left: 50%; width: 28cqw; height: 7cqw; margin-left: -14cqw; border-radius: 99px; background: #0b0d0c; z-index: 5; }
.scr-upload { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.scr-cam { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; z-index: 1;
           background: radial-gradient(70% 50% at 50% 46%, #4a514d, #151816 80%); }
.cam-card { position: absolute; top: 50%; left: 50%; width: 64%; margin: -38% 0 0 -32%; padding: 5%; border-radius: 5cqw; background: #fff;
            transform: rotate(-4deg); box-shadow: 0 20px 40px -12px rgb(0 0 0 / 55%); }
.cam-card svg { width: 100%; height: auto; display: block; }
.cam-frame { position: absolute; top: 50%; left: 50%; width: 78%; aspect-ratio: 1; margin: -45% 0 0 -39%; }
.cam-frame i { position: absolute; width: 22%; height: 22%; border: 1.8cqw solid var(--g3); }
.cam-frame i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 6cqw; }
.cam-frame i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 6cqw; }
.cam-frame i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 6cqw; }
.cam-frame i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 6cqw; }
.cam-line { position: absolute; inset: 6%; overflow: hidden; }
.cam-line::before { content: ""; position: absolute; inset: 0; transform: translateY(-100%);
                    background: linear-gradient(transparent 55%, rgb(124 196 154 / 28%) calc(100% - 1.2cqw), #a7dcbc calc(100% - 1.2cqw)); }
.cam-tick { position: absolute; top: 50%; left: 50%; width: 30%; aspect-ratio: 1; margin: -15% 0 0 -15%; border-radius: 50%; display: grid; place-items: center;
            background: var(--green); box-shadow: 0 0 0 3cqw rgb(124 196 154 / 35%); opacity: 0; transform: scale(.4); }
.cam-tick svg { width: 58%; height: 58%; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.scr-chip { position: absolute; left: 7%; right: 7%; top: 47%; z-index: 3; display: flex; align-items: center; gap: 4cqw; padding: 4cqw; border-radius: 5cqw;
            background: #fff; box-shadow: 0 0 0 1px var(--line), 0 16px 30px -12px rgb(0 7 4 / 30%); }
.chip-ico { flex: none; display: grid; place-items: center; width: 13cqw; height: 13cqw; border-radius: 3.4cqw; background: var(--g4); color: var(--g1); }
.chip-ico svg { width: 60%; height: 60%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.chip-text { flex: 1; display: grid; gap: 2.4cqw; font-size: 5cqw; line-height: 1.2; font-weight: 600; color: var(--ink); min-width: 0; white-space: nowrap; }
.chip-bar { height: 1.8cqw; border-radius: 9px; background: var(--line); overflow: hidden; }
.chip-bar i { display: block; height: 100%; background: var(--grad); transform-origin: left; }

@media (prefers-reduced-motion: no-preference) {
  .phone { animation: phone-in 1s cubic-bezier(.2,.7,.2,1) both; }
  .scr-cam { animation: scan-cam 8.5s .8s linear infinite both; }
  .scr-upload { animation: scan-upload 8.5s .8s ease infinite both; }
  .cam-line::before { animation: scan-line 8.5s .8s linear infinite both; }
  .cam-frame i { animation: scan-lock 8.5s .8s ease infinite both; }
  .cam-tick { animation: scan-tick 8.5s .8s ease infinite both; }
  .scr-chip { animation: scan-chip 8.5s .8s ease infinite both; }
  .chip-bar i { animation: scan-bar 8.5s .8s ease-in-out infinite both; }
  .scan.off * { animation-play-state: paused; }
}
@keyframes phone-in { from { opacity: 0; transform: translate(10%, 4%); } to { opacity: 1; transform: none; } }
@keyframes scan-cam { 0%, 100% { opacity: 1; } }
@keyframes scan-upload { 0%, 50% { opacity: 0; transform: translateY(5%); } 57%, 93% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; transform: none; } }
@keyframes scan-line { 0% { transform: translateY(-100%); opacity: 0; } 3% { opacity: 1; } 15% { transform: translateY(0); } 28% { transform: translateY(-100%); }
                       40% { transform: translateY(0); opacity: 1; } 43%, 100% { transform: translateY(0); opacity: 0; } }
@keyframes scan-lock { 0%, 40% { transform: scale(1.14); opacity: .85; } 44% { transform: scale(.94); opacity: 1; } 47%, 100% { transform: scale(1); opacity: 1; } }
@keyframes scan-tick { 0%, 43% { opacity: 0; transform: scale(.4); } 47% { opacity: 1; transform: scale(1.12); } 50%, 53% { opacity: 1; transform: scale(1); } 57%, 100% { opacity: 0; transform: scale(1); } }
@keyframes scan-chip { 0%, 60% { opacity: 0; transform: translateY(16%) scale(.96); } 65%, 93% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; transform: none; } }
@keyframes scan-bar { 0%, 65% { transform: scaleX(0); } 85%, 100% { transform: scaleX(1); } }

/* ---------- marquee band ---------- */
.band { position: relative; z-index: 2; margin-top: -80px; padding: 48px 0 104px; border-radius: 40px 40px 0 0; overflow: hidden; color: #fff;
        background: radial-gradient(50% 120% at 88% 0%, rgb(207 232 212 / 38%), transparent 60%), linear-gradient(var(--ang), var(--g1), var(--g2) 45%, #3f8a5c 80%, #4a9468); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; }
.marquee-list { display: flex; margin: 0; padding: 0; list-style: none; }
.marquee-list li { display: flex; align-items: center; white-space: nowrap; font-size: clamp(40px, 6vw, 88px); font-weight: 600; line-height: 1.1;
                   letter-spacing: -0.02em; text-transform: uppercase; }
.marquee-list li::after { content: ""; width: .26em; height: .26em; border-radius: 50%; background: #fff; margin: 0 .5em; flex: none; }

/* the sheet that rises over the band */
.sheet { position: relative; z-index: 3; margin-top: -48px; background: var(--bg); border-radius: 40px 40px 0 0; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.b-card { padding: 20px 20px 28px; display: flex; flex-direction: column; overflow: hidden; min-height: 460px; box-shadow: var(--shadow); }
.b-card h3 { font-size: 22px; margin: 20px 8px 8px; }
.b-card p { font-size: 16px; line-height: 24px; color: var(--muted); margin: 0 8px; letter-spacing: -0.01em; }
.b-media { border-radius: var(--r-sm); background: var(--bg); overflow: hidden; }
.b-media-app { flex: 1; min-height: 250px; padding: 22px 0 0 22px; position: relative; }
.b-media-app img { position: absolute; left: 22px; top: 22px; width: 190%; max-width: none; border-radius: 12px 0 0 0; box-shadow: -1px -1px 0 var(--line), var(--shadow-lg); }
.b-phone { padding-bottom: 0; }
.b-phone h3 { margin-top: 8px; }
.b-media-phone { margin: 24px auto 0; width: 62%; height: 250px; border-radius: 28px 28px 0 0; border: 7px solid var(--ink); border-bottom: 0; background: #fff; }
.b-media-phone img { width: 100%; }
.b-dl { position: relative; border: 0; color: #fff; justify-content: flex-end; padding: 32px;
        background: radial-gradient(70% 60% at 85% 10%, rgb(207 232 212 / 55%), transparent 70%), linear-gradient(var(--ang), var(--g1), var(--g2) 55%, #4a9468); }
.b-dl h3 { color: #fff; margin: 0 0 8px; font-size: 26px; }
.b-dl p { color: rgb(255 255 255 / 86%); margin: 0 0 24px; }
.b-dl .btn { align-self: flex-start; }
.b-dl-mark { position: absolute; top: 32px; right: 32px; width: 120px; height: 120px; border-radius: 32px; display: grid; place-items: center;
             background: rgb(255 255 255 / 14%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 30%); backdrop-filter: blur(4px); }
.b-dl-mark svg { width: 60px; height: 60px; color: #fff; }
.b-dl-copy { display: flex; flex-direction: column; }
.feat4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.f-card { padding: 24px; box-shadow: var(--shadow); }
.f-card img { width: 88px; height: 88px; margin: -6px 0 12px -8px; }
.f-card h3 { font-size: 18px; margin-bottom: 6px; }
.f-card p { font-size: 15px; line-height: 22px; color: var(--muted); margin: 0; }

/* ---------- statement: words fill from grey to ink as it scrolls ---------- */
.statement { padding: 72px 0 24px; }
.fill { max-width: 1120px; margin: 0 auto; text-align: center; font-size: clamp(28px, 3.5vw, 50px); line-height: 1.3; font-weight: 500;
        letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; }
.ipill { display: inline-grid; place-items: center; vertical-align: middle; width: 2em; height: 1.1em; border-radius: 999px; margin: 0 .06em;
         background: var(--grad-soft); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 60%), 0 8px 20px -10px rgb(29 84 51 / 50%); overflow: hidden; }
.ipill img { width: 1em; height: 1em; mix-blend-mode: multiply; }

/* ---------- set up alone: three steps, pinned on a big screen ---------- */
.setup { position: relative; }
.setup-stick { padding: 96px 0; }
.setup-head { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 24px 64px; align-items: end; margin-bottom: 40px; }
.setup-head h2 { margin: 0; }
.setup-aside p { color: var(--muted); font-size: 16px; line-height: 24px; }
.setup-bars { display: none; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.setup-bars span { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.setup-bars i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.setup-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.setup-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 16px; background: #fff; border: 1px solid var(--line);
              border-radius: var(--r-lg); box-shadow: var(--shadow); }
.setup-vis { display: grid; place-items: center; min-height: 380px; padding: 28px; border-radius: 22px; overflow: hidden;
             background: radial-gradient(80% 80% at 30% 20%, #fff, transparent 70%), linear-gradient(160deg, var(--tint), var(--g4)); }
.setup-vis img { max-height: 340px; width: auto; mix-blend-mode: multiply; }
.setup-vis-phone img { mix-blend-mode: normal; height: 330px; border-radius: 22px; border: 6px solid var(--ink); background: #fff; box-shadow: var(--shadow-lg); }
.setup-text { display: flex; flex-direction: column; padding: 24px 32px; }
.setup-n { font-size: 20px; font-weight: 600; color: var(--ink); margin: 0 0 auto; }
.setup-text h3 { font-size: clamp(24px, 2.2vw, 30px); margin: 40px 0 12px; }
.setup-text p:last-child { color: var(--muted); font-size: 16px; line-height: 24px; max-width: 26em; margin-bottom: auto; }

/* pinned: the section is three screens tall, the inside sticks, and the steps take turns */
.setup.pin { height: 330vh; }
.setup.pin .setup-stick { position: sticky; top: 0; min-height: 100vh; padding: calc(var(--nav-h) + 8px) 0 32px; display: flex; align-items: center; }
.setup.pin .setup-head { margin-bottom: 28px; }
.setup.pin .setup-bars { display: grid; }
.setup.pin .setup-steps { display: grid; }
.setup.pin .setup-step { grid-area: 1 / 1; opacity: 0; transform: translateY(24px) scale(.985); visibility: hidden;
                         transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1), visibility 0s .6s; }
.setup.pin .setup-step.on { opacity: 1; transform: none; visibility: visible; transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1), visibility 0s; }
.setup.pin .setup-vis { min-height: min(46vh, 400px); }
.setup.pin .setup-vis img { max-height: min(40vh, 340px); }
.setup.pin .setup-vis-phone img { height: min(40vh, 330px); }

/* ---------- how it works: four steps on a curve that draws itself ---------- */
.curve { position: relative; height: 1040px; }
.curve-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
             -webkit-mask-image: linear-gradient(transparent, #000 8%, #000 90%, transparent); mask-image: linear-gradient(transparent, #000 8%, #000 90%, transparent); }
.curve-base, .curve-line { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.curve-base { stroke: var(--line-strong); stroke-width: 2; stroke-dasharray: 2 8; }
.curve-line { stroke-width: 3; }
.curve-steps { list-style: none; margin: 0; padding: 0; }
.cstep { position: absolute; width: min(460px, calc(38% - 44px)); translate: 0 -50%; }
.cstep:nth-child(1) { top: 12.5%; right: calc(62% + 44px); }
.cstep:nth-child(2) { top: 37.5%; left: calc(62% + 44px); }
.cstep:nth-child(3) { top: 62.5%; right: calc(62% + 44px); }
.cstep:nth-child(4) { top: 87.5%; left: calc(62% + 44px); }
.dot { position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 5px var(--green), 0 0 0 6px rgb(38 106 65 / 14%); }
.cstep:nth-child(odd) .dot { right: -53px; }
.cstep:nth-child(even) .dot { left: -53px; }
.cstep-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 22px; align-items: center; padding: 14px 22px 14px 14px;
              background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.cstep-shot { height: 184px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--bg); }
.cstep-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cstep-n { font-size: 15px; font-weight: 600; margin: 0 0 6px; color: var(--green); letter-spacing: .02em; }
.cstep h3 { font-size: 19px; margin: 0 0 6px; }
.cstep p:last-child { font-size: 15px; line-height: 22px; color: var(--muted); margin: 0; }

/* ---------- money ---------- */
.money-card { background: #fff; border: 1px solid var(--line); border-radius: 40px; padding: clamp(28px, 5vw, 64px); box-shadow: var(--shadow); }
.money .head { margin-bottom: 40px; }
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 16px; margin: 0 0 28px; }
.flow .node { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 22px; text-align: center; font-weight: 600; color: var(--ink); }
.flow .node small { display: block; font-size: 15px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.flow .node.you { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 16px 32px -16px rgb(29 84 51 / 60%); }
.flow .node.you small { color: rgb(255 255 255 / 88%); }
.flow .arrow { color: var(--soft); display: grid; place-items: center; }
.flow .arrow svg { width: 28px; height: 28px; }
.apps { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.apps .pill, .apps .upi { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; background: #fff; color: var(--ink); border-radius: 999px;
                          border: 1px solid var(--line); padding: 6px 18px 6px 6px; font-weight: 500; font-size: 15px; }
.apps .pill img { width: 38px; height: 38px; border-radius: 50%; object-fit: contain; }
.apps .upi { padding: 6px 20px; }
.apps .upi img { height: 22px; width: auto; }
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.promises > div { border-radius: 20px; padding: 24px; background: var(--bg); }
.promises strong { display: block; font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.promises > div > span { color: var(--muted); font-size: 15px; line-height: 22px; }

/* ---------- plans ---------- */
.bill { display: none; margin: 8px 0 0; padding: 4px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); gap: 2px; }
.bill label { position: relative; display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-size: 16px; font-weight: 500; cursor: pointer; color: var(--muted); }
.bill input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.py { display: none; }
@supports selector(:has(*)) {
  .bill { display: inline-flex; }
  .bill label:has(input:checked) { background: var(--ink); color: #fff; }
  .bill label:has(input:focus-visible) { outline: 3px solid var(--green); outline-offset: 2px; }
  .pricing:has(.bill input[value="y"]:checked) .pm { display: none; }
  .pricing:has(.bill input[value="y"]:checked) .py { display: revert; }
}
.plans-banner { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 0 auto 28px; width: fit-content; max-width: 100%;
                padding: 10px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 500; font-size: 16px; box-shadow: var(--shadow); }
.plans-banner svg { width: 20px; height: 20px; flex: none; color: var(--green); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.plan::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--line); }
.plan.featured { box-shadow: inset 0 0 0 1.5px var(--green), var(--shadow-lg); border-color: transparent; }
.plan.featured::before { background: var(--grad); height: 5px; }
.plan h3 { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 20px; margin: 0 0 16px; }
.tag { font-size: 13px; font-weight: 500; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: #fff; letter-spacing: 0; }
.price { font-size: 52px; font-weight: 600; letter-spacing: -0.035em; line-height: 1; margin: 0 0 10px; color: var(--ink); }
.price small { font-size: 16px; font-weight: 400; color: var(--muted); letter-spacing: -0.01em; }
.plan .note { color: var(--muted); font-size: 15px; line-height: 22px; min-height: 44px; margin-bottom: 16px; }
.plan .pages { font-size: 17px; font-weight: 600; color: var(--ink); background: var(--bg); border-radius: 14px; padding: 12px 16px; margin: 0 0 20px; }
.plan .btn { width: 100%; justify-content: space-between; margin-bottom: 24px; }
.plan ul { list-style: none; padding: 20px 0 0; margin: 0; display: grid; gap: 12px; font-size: 16px; line-height: 24px; border-top: 1px solid var(--line); }
.plan li { display: flex; gap: 10px; }
.plan li svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 2px; }
.plan li.later svg { color: var(--soft); }
.fine { text-align: center; color: var(--muted); font-size: 15px; line-height: 22px; margin: 24px auto 0; max-width: 760px; }
.fine.soon-note { margin-top: 10px; font-size: 14px; }
.soon { display: inline-block; vertical-align: 2px; margin-left: 4px; padding: 1px 9px; border-radius: 999px; border: 1px solid var(--warn);
        color: var(--warn); background: #fff; font-size: 12px; font-weight: 600; line-height: 18px; letter-spacing: .01em; white-space: nowrap; }

/* ---------- FAQ: numbered, + turns to × ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.faq-side h2 { font-size: clamp(34px, 3.4vw, 48px); }
.faq-side p { color: var(--muted); font-size: 16px; line-height: 24px; }
.faq-more { padding: 24px; margin-top: 32px; box-shadow: var(--shadow); }
.faq-more h3 { margin-bottom: 6px; }
div.faq { display: grid; gap: 12px; counter-reset: q; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 0 24px; transition: box-shadow .3s ease, border-color .3s ease; }
.faq details[open] { border-color: color-mix(in oklch, var(--green) 45%, white); box-shadow: 0 0 0 4px rgb(38 106 65 / 8%), var(--shadow); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 16px; min-height: 68px; padding: 12px 0;
               font-size: 17px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { counter-increment: q; content: counter(q) "."; color: var(--soft); font-variant-numeric: tabular-nums; min-width: 1.2em; }
.faq summary::after { content: ""; margin-left: auto; flex: none; width: 32px; height: 32px; border-radius: 50%;
                      background: linear-gradient(currentColor, currentColor) center / 12px 1.8px no-repeat, linear-gradient(currentColor, currentColor) center / 1.8px 12px no-repeat, var(--bg);
                      transition: transform .3s cubic-bezier(.2,.7,.2,1), background-color .3s; }
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--g4); }
.faq details p { color: var(--muted); font-size: 16px; line-height: 24px; margin: 0; padding: 0 0 20px calc(1.2em + 16px); }
@supports selector(::details-content) {
  .faq details::details-content { block-size: 0; overflow-y: clip; transition: block-size .35s cubic-bezier(.2,.7,.2,1), content-visibility .35s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}

/* ---------- final call to action ---------- */
.final { padding-top: 40px; }
.cta-panel { position: relative; overflow: hidden; text-align: center; color: #fff; border-radius: 40px; padding: clamp(40px, 6vw, 80px) 24px;
             background: radial-gradient(45% 60% at 12% 110%, rgb(207 232 212 / 45%), transparent 70%), radial-gradient(40% 50% at 92% -10%, rgb(124 196 154 / 50%), transparent 70%),
                         linear-gradient(var(--ang), var(--g1), var(--g2) 50%, #3f8a5c); }
.cta-panel h2 { color: #fff; max-width: 14em; margin: 0 auto 12px; }
.cta-panel p { color: rgb(255 255 255 / 88%); font-size: 18px; max-width: 34em; margin: 0 auto 32px; }
.cta-panel .cta-row { justify-content: center; }
.cta-printer { margin: 0 auto 32px; width: min(300px, 100%); padding: 22px 20px 14px; border-radius: 28px; background: #fff; box-shadow: 0 30px 60px -30px rgb(0 7 4 / 45%); }
.cta-printer figcaption { font-size: 13px; line-height: 18px; color: var(--muted); margin-top: 8px; }

/* The printer, live: the founder's drawing, as on the student page and in the shop app. Two seconds a
   loop; only the two sheets move, by transform and opacity. Reduced motion: it stands still. */
.printer { width: 100%; height: auto; overflow: visible; }
.printer polygon { stroke: var(--ink); stroke-width: 3.84; stroke-linejoin: round; }
.printer .pb, .printer .pp { fill: #fff; }
.printer .pa { fill: var(--green); }
.printer .pt { fill: var(--line); }
.printer .ps { stroke: var(--ink); stroke-width: 3.84; stroke-linecap: round; }
@keyframes sheet-out {
  0%, 12% { transform: translate(-46.8px, -27.0px); opacity: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  62%, 66% { transform: none; opacity: 1; animation-timing-function: cubic-bezier(0.5, 0, 1, 1); }
  82% { opacity: 1; }
  100% { transform: translate(82.3px, 102.5px); opacity: 0; }
}
@keyframes sheet-in {
  0% { transform: none; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  62% { transform: translate(27.9px, 57.0px); animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  100% { transform: none; }
}

/* ---------- inner pages ---------- */
.page-hero { position: relative; padding-bottom: 40px;
             background: radial-gradient(50% 70% at 85% 30%, color-mix(in oklch, var(--g4) 60%, transparent), transparent 70%), url("/site/img/gen/hero-rays.webp") center top / cover no-repeat, var(--bg); }
.page-hero h1 { max-width: 16em; }
.page-hero .lede { font-size: 19px; line-height: 30px; color: var(--muted); max-width: 40em; margin: 0; }
.page-hero .lede + .badge { margin-top: 20px; }
.doc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 5vw, 56px); box-shadow: var(--shadow); }
.prose { max-width: 800px; }
.doc.prose { max-width: 920px; }
.prose h2 { font-size: 28px; margin-top: 48px; letter-spacing: -0.02em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin-top: 28px; }
.prose p, .prose li { font-size: 17px; line-height: 27px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15.5px; line-height: 23px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px; border-top: 1px solid var(--line); }
.prose th { font-size: 13px; color: var(--muted); border-top: 0; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.prose td:first-child { font-weight: 600; width: 40%; }
dl.faq { margin: 0 0 8px; }
dl.faq dt { font-weight: 600; color: var(--ink); font-size: 18px; margin-top: 24px; }
dl.faq dd { margin: 6px 0 0; color: var(--muted); font-size: 17px; line-height: 27px; }
.placeholder { background: #fff; color: var(--warn); border: 1px dashed var(--warn); border-radius: 8px; padding: 0 6px; font-weight: 500; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; line-height: 22px;
         border: 1px solid var(--line-strong); background: #fff; color: var(--muted); }
.badge[data-tone="ok"] { border-color: var(--ok); color: var(--ok); }
.badge[data-tone="warn"] { border-color: var(--warn); color: var(--warn); }
.badge[data-tone="bad"] { border-color: var(--bad); color: var(--bad); }
.badge[data-tone="blue"] { border-color: var(--green); color: var(--green); }
.icon { width: 24px; height: 24px; }
.icon-lg { width: 40px; height: 40px; }

/* numbered steps (how-it-works page) */
.nsteps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.nsteps li { padding: 28px; }
.nsteps .step-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 600; margin-bottom: 18px; }
.nsteps h3 { font-size: 22px; }
.nsteps p { color: var(--muted); font-size: 16px; line-height: 24px; margin: 0; }
.checklist { list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.checklist .icon { flex: none; color: var(--green); margin-top: 2px; }

.two-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.doc-card { padding: 32px; box-shadow: var(--shadow); }
.doc-card h2 { font-size: 26px; }
.doc-card p, .doc-card li { color: var(--muted); font-size: 16px; line-height: 24px; }
.center-cta { text-align: center; margin: 48px 0 0; }
.bill-row { display: flex; justify-content: center; margin-bottom: 24px; }
.faq-narrow { max-width: 860px; margin: 0 auto; }
.page-hero .split-head { align-items: end; }
.page-hero .split-head h1 { margin: 0; }

/* download */
.download-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); margin-bottom: 20px; box-shadow: var(--shadow); }
.download-panel h2 { font-size: 32px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin: 16px 0 24px; font-size: 16px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; color: var(--ink); }
.checksum { display: block; padding: 14px 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); font: 13px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; word-break: break-all; }
.copy-btn { margin-top: 12px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink); font: 500 15px var(--font); padding: 0 18px; border-radius: 999px; cursor: pointer; min-height: 48px; }
.copy-btn:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.dl-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px; align-items: start; }
.dl-side { padding: 28px; }
.dl-side h2 { font-size: 22px; margin-bottom: 12px; }
.dl-side ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 16px; line-height: 24px; }
.dl-side li { margin-bottom: 10px; }
.dl-btn { width: 100%; }
.download-panel h3 { font-size: 18px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); }
.contact-item > .icon { flex: none; color: var(--green); margin-top: 4px; }
.contact-item h3 { margin: 0 0 6px; }
.contact-item p { margin: 0; font-size: 16px; line-height: 24px; }
.contact-item.contact-wa { grid-column: 1 / -1; box-shadow: inset 0 0 0 1.5px var(--green), var(--shadow-lg); border-color: transparent; }
.contact-wa .wa-big { margin: 8px 0 16px; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.contact-wa .wa-big a { color: var(--ink); text-decoration: none; }

/* ---------- account (ids and classes are account.js's hooks — keep them) ---------- */
.account { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.account-single { max-width: 500px; margin: 0 auto; }
.account > * { min-width: 0; }
.account .card:has(.invoices) { overflow-x: auto; }
.account .card, .account-single .card { padding: 28px; margin-bottom: 20px; box-shadow: var(--shadow); }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-weight: 500; font-size: 15px; color: var(--ink); }
.field .hint { font-size: 14px; line-height: 20px; color: var(--muted); }
.input, .select { width: 100%; min-height: 52px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line-strong); background: #fff; font: 400 17px var(--font); color: var(--ink); }
.input:focus, .select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgb(38 106 65 / 16%); }
.input.code { letter-spacing: .4em; font-size: 22px; font-weight: 600; text-align: center; }
.phone-row { display: grid; grid-template-columns: 76px 1fr; gap: 10px; }
.phone-row .cc { display: grid; place-items: center; border-radius: 14px; background: var(--bg); border: 1px solid var(--line-strong); font-weight: 500; }
.notice { border-radius: 14px; padding: 14px 16px; font-size: 15px; line-height: 22px; margin-bottom: 16px; }
.notice.bad { background: var(--bad); color: #fff; }
.notice.ok { background: #fff; color: var(--ok); box-shadow: inset 0 0 0 1px var(--ok); }
.notice.info { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), inset 4px 0 0 var(--ink); }
/* The plan-status card's colours (active/trial vs grace/free) are a separate UX decision from this
   marketing-site restyle — intentionally left untouched here (2026-09-26). */
.status-card { border-radius: var(--r); padding: 28px; color: #fff; background: linear-gradient(135deg, #0b63f6, #0843b8); box-shadow: 0 20px 40px -20px rgb(8 67 184 / 45%); margin-bottom: 20px; }
.status-card .shop { font-size: 15px; opacity: .85; margin-bottom: 4px; }
.status-card .state { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 6px; line-height: 1.2; }
.status-card .when { font-size: 16px; opacity: .9; margin: 0; }
.status-card.lapsed { background: linear-gradient(135deg, #a15c07, #7a4304); }
.status-card .usage { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgb(255 255 255 / 25%); }
.status-card .usage .pages { font-size: 18px; font-weight: 600; margin: 0 0 8px; }
.status-card .meter { height: 10px; border-radius: 999px; background: rgb(255 255 255 / 25%); overflow: hidden; }
.status-card .meter span { display: block; height: 100%; border-radius: inherit; background: #fff; }
.status-card .meter.near span { background: #f6c945; }
.status-card .notice-line { margin: 10px 0 0; font-weight: 600; }
.choose { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.choose label { position: relative; display: block; border-radius: 18px; border: 1px solid var(--line-strong); padding: 16px; cursor: pointer; background: #fff; }
.choose input { position: absolute; opacity: 0; }
.choose label:has(input:checked) { border-color: var(--green); box-shadow: 0 0 0 4px rgb(38 106 65 / 14%); }
.choose label:has(input:focus-visible) { outline: 3px solid var(--green); outline-offset: 2px; }
.choose .name, .choose .amount, .choose .save { display: block; }
.choose .name { font-weight: 500; color: var(--muted); font-size: 14px; }
.choose .amount { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); line-height: 1.3; }
.choose .save { font-size: 13px; font-weight: 500; color: var(--ok); }
.choose-legend { font-weight: 500; font-size: 15px; margin-bottom: 8px; padding: 0; color: var(--ink); }
.invoices { width: 100%; border-collapse: collapse; font-size: 15px; }
.invoices td, .invoices th { text-align: left; padding: 12px 8px; border-top: 1px solid var(--line); }
.invoices th { color: var(--muted); font-size: 13px; font-weight: 500; border-top: 0; }
.invoices td.num { text-align: right; font-variant-numeric: tabular-nums; }
.linklike { background: none; border: 0; padding: 0; min-height: 48px; color: var(--green); font: 500 15px var(--font); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- footer ---------- */
.foot { background: #fff; border-top: 1px solid var(--line); padding: 72px 0 28px; margin-top: 112px; border-radius: 40px 40px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot h2 { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--ink); margin: 12px 0 8px; }
.foot a:not(.brand) { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-height: 44px; color: var(--muted); text-decoration: none; font-size: 16px; }
.foot a:not(.brand):hover { color: var(--ink); }
.foot-brand p { margin-top: 16px; max-width: 30em; font-size: 16px; line-height: 24px; color: var(--muted); }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--soft); }
body.plain .foot, main:has(> .final:last-child) + .foot { margin-top: 0; }
.final { padding-bottom: 72px; }

/* ================= motion (only with .motion, which site.js adds when motion is allowed) ================= */
@media (prefers-reduced-motion: no-preference) {
  .printer .sheet-out { animation: sheet-out 2s linear infinite; }
  .printer .sheet-in { animation: sheet-in 2s infinite; }
  .marquee-track { animation: marquee 38s linear infinite; }
  .band, .cta-panel, .b-dl { animation: turn 14s ease-in-out infinite alternate; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes turn { to { --ang: 165deg; } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes word-up { from { transform: translateY(110%); } to { transform: none; } }
@keyframes fill-word { from { opacity: .16; } to { opacity: 1; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* arriving sections: IntersectionObserver adds .in (fallback) */
.motion [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.motion [data-reveal].in { opacity: 1; transform: none; }
.motion .cstep[data-reveal] { transform: translateY(28px); }
.motion .cstep[data-reveal].in { transform: none; }

/* hero heading: each word rises into place once, on load */
.motion [data-words] .w { display: inline-block; overflow: clip; overflow-clip-margin: .12em; vertical-align: top; }
.motion [data-words] .w > span { display: inline-block; transform: translateY(110%); animation: word-up .9s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i) * 55ms + 80ms); }
.motion [data-words] .pw { animation: appear .8s ease both; animation-delay: .5s; }

/* the statement: words go from pale to ink as it passes (fallback: .on from the scroll handler) */
.motion [data-fill] .w { opacity: .16; transition: opacity .35s ease; }
.motion [data-fill] .w.on { opacity: 1; }

/* the curve draws itself (fallback: stroke-dashoffset from the scroll handler) */
.motion .curve-line { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.motion .curve-area { opacity: var(--p, 0); }

/* where the browser can tie animation to scroll, CSS does all of the above by itself */
@supports (animation-timeline: view()) {
  .motion.sda [data-reveal], .motion.sda [data-reveal].in { transition: none; animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
  .motion.sda .setup.pin [data-reveal] { animation: none; opacity: 1; transform: none; }
  .fill { view-timeline: --fill block; }
  .motion.sda [data-fill] .w { transition: none; animation: fill-word linear both; animation-timeline: --fill;
                               animation-range: cover calc(20% + var(--f) * 34%) cover calc(26% + var(--f) * 34%); }
  .curve { view-timeline: --curve block; }
  .motion.sda .curve-line { animation: draw linear both; animation-timeline: --curve; animation-range: cover 12% cover 72%; }
  .motion.sda .curve-area { opacity: 0; animation: appear linear both; animation-timeline: --curve; animation-range: cover 20% cover 70%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { width: auto; justify-content: center; padding: 0 24px; }
  .marquee-list { flex-wrap: wrap; justify-content: center; gap: 4px 0; }
  .marquee-list[aria-hidden] { display: none; }
  .marquee-list li { font-size: clamp(22px, 4vw, 56px); white-space: normal; text-align: center; }
  .marquee-list li:last-child::after { display: none; }
  .btn, .arr, .faq summary::after, .top-row { transition: none; }
  .faq details::details-content { transition: none; }
  @view-transition { navigation: none; }
}

/* ================= responsive ================= */
@media (max-width: 1100px) {
  :root { --nav-h: 80px; }
  .menu { display: grid; place-items: center; }
  .top-row { background: rgb(255 255 255 / 78%); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
             box-shadow: inset 0 0 0 1px var(--line), var(--shadow); padding: 0 8px 0 16px; min-height: 64px; position: relative; }
  .top.scrolled .top-row { padding: 0 8px 0 16px; }
  .nav { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 8px;
         background: #fff; padding: 12px; border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  .nav.open { display: flex; }
  .nav-links { flex-direction: column; margin: 0; padding: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-links a { min-height: 52px; font-size: 17px; }
  .nav-end { flex-wrap: wrap; gap: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
  .nav-end .lang { width: 100%; justify-content: space-between; }
  .nav-end .lang button { flex: 1; min-height: 44px; }
  .nav-end .login, .nav-end .btn { flex: 1; justify-content: center; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-dl { grid-column: 1 / -1; min-height: 300px; }
  .feat4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .scan { width: min(100%, 460px); margin-top: 24px; }
  .split-head, .setup-head, .faq-grid, .dl-grid { grid-template-columns: 1fr; gap: 16px; }
  .split-head { gap: 8px; }
  .setup-step { grid-template-columns: 1fr; }
  .setup-vis { min-height: 0; padding: 24px; }
  .setup-vis img { max-height: 260px; }
  .setup-vis-phone img { height: 280px; }
  .setup-text { padding: 8px 12px 16px; }
  .setup-text h3 { margin-top: 12px; }
  /* the curve becomes a vertical line with the four steps beside it */
  .curve { height: auto; }
  .curve-svg { display: none; }
  .curve-steps { position: relative; display: grid; gap: 16px; padding-left: 40px; }
  .curve-steps::before, .curve-steps::after { content: ""; position: absolute; left: 12px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--line-strong); }
  .curve-steps::after { background: linear-gradient(var(--g1), var(--g3)); transform-origin: top; }
  .motion .curve-steps::after { transform: scaleY(var(--p, 0)); }
  .cstep { position: relative; width: auto; inset: auto !important; translate: none; }
  .cstep .dot { left: -37px !important; right: auto !important; top: 36px; }
  .cstep-card { grid-template-columns: 84px minmax(0, 1fr); gap: 16px; }
  .cstep-shot { height: 140px; }
  .flow { grid-template-columns: 1fr; }
  .flow .arrow { transform: rotate(90deg); }
  .promises { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .nsteps, .two-cards { grid-template-columns: 1fr; }
  .account { grid-template-columns: 1fr; }
}
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .motion.sda .curve-steps::after { animation: grow linear both; animation-timeline: --curve; animation-range: cover 10% cover 60%; }
  }
}
@media (max-width: 640px) {
  :root { --nav-h: 76px; }
  .top { padding: 8px 0; }
  body { font-size: 17px; line-height: 26px; }
  h1 { font-size: clamp(36px, 10vw, 44px); }
  h2 { font-size: clamp(30px, 8.4vw, 38px); }
  main > :first-child { padding-top: calc(var(--nav-h) + 24px); }
  .section { padding: 64px 0; }
  .head { margin-bottom: 36px; }
  .hero .lede { font-size: 17px; line-height: 26px; }
  .hero .cta-row .btn { width: 100%; justify-content: space-between; }
  .band { margin-top: -64px; padding: 32px 0 80px; border-radius: 28px 28px 0 0; }
  .sheet { border-radius: 28px 28px 0 0; margin-top: -40px; }
  .bento, .feat4 { grid-template-columns: 1fr; }
  .b-card { min-height: 0; }
  .b-dl { min-height: 320px; }
  .b-dl-mark { width: 88px; height: 88px; top: 24px; right: 24px; border-radius: 24px; }
  .b-dl-mark svg { width: 44px; height: 44px; }
  .f-card { display: grid; grid-template-columns: 72px 1fr; gap: 0 14px; padding: 18px; }
  .f-card img { width: 72px; height: 72px; margin: 0; grid-row: span 2; }
  .statement { padding: 56px 0 72px; }
  .fill { font-size: clamp(26px, 7.2vw, 32px); }
  .setup-stick { padding: 64px 0; }
  .setup-step { padding: 12px; border-radius: 26px; }
  .cstep-card { grid-template-columns: 1fr; padding: 14px; }
  .cstep-shot { height: 170px; }
  .money-card { border-radius: 28px; padding: 24px 18px; }
  .plan { padding: 22px; }
  .price { font-size: 44px; }
  .faq details { padding: 0 16px; }
  .faq details p { padding-left: 0; }
  .cta-panel { border-radius: 28px; padding: 36px 18px; }
  .cta-panel .cta-row .btn { width: 100%; justify-content: space-between; }
  .cta-printer { width: 220px; }
  .foot { border-radius: 28px 28px 0 0; padding-top: 48px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .choose { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 10px; }
  .invoices { font-size: 14px; }
  .invoices td, .invoices th { padding: 10px 4px; }
}
.section.tight > .wrap > h2 { font-size: clamp(26px, 2.6vw, 34px); margin-top: 48px; }
