/* Kutter — public site (kutter.helloworld-solution.com), light theme.
   Colours and type follow the owner's Kutter brand guideline sheet (assets/brand/kutter-brand-guide.webp in the repo):
   Brand Blue #3B5BFF · Sky Blue #00C6FF · Orange #FF9A00 · Magenta #FF3CC7 · Navy #0E1B4D · Light BG #F7F9FF,
   "modern, friendly, rounded sans". Fonts are self-hosted (SIL OFL 1.1, see fonts/OFL.txt):
   Nunito (Latin) + Mitr (Thai headings) + IBM Plex Sans Thai Looped (Thai body).
   Contrast: body text is Navy / #4A5578 on white or Light BG; Orange, Sky and Magenta fills carry Navy text, never white. */

/* ---------- Fonts ---------- */
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url(fonts/nunito-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url(fonts/nunito-latin-700-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 800 900; font-display: swap;
  src: url(fonts/nunito-latin-800-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Thai: one Mitr weight for every heading weight (no faux bold), Plex Thai Looped for reading text */
@font-face { font-family: 'Kutter Thai Head'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(fonts/mitr-thai-500-normal.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Kutter Thai'; font-style: normal; font-weight: 300 500; font-display: swap; size-adjust: 106%;
  src: url(fonts/ibm-plex-sans-thai-looped-thai-400-normal.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Kutter Thai'; font-style: normal; font-weight: 600 900; font-display: swap; size-adjust: 106%;
  src: url(fonts/ibm-plex-sans-thai-looped-thai-600-normal.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }

/* ---------- Tokens ---------- */
:root {
  --blue: #3B5BFF; --sky: #00C6FF; --orange: #FF9A00; --magenta: #FF3CC7; --navy: #0E1B4D; --bg: #F7F9FF;
  --blue-ink: #2F4BE0;            /* links / small blue text (5.9:1 on white) */
  --magenta-ink: #C21F98;          /* magenta used as text (5.5:1 on white) */
  --text-1: #0E1B4D; --text-2: #3D4870; --text-3: #5B6588;   /* all ≥ 5:1 on #F7F9FF */
  --surface: #FFFFFF; --surface-2: #F1F4FF; --surface-3: #E9EEFF;
  --line: #E1E7FA; --line-2: #CFD8F6;
  --tint-blue: #EAF0FF; --tint-sky: #E3F8FF; --tint-orange: #FFF2DE; --tint-magenta: #FFE8F7; --tint-green: #E3F8EE;
  --green: #12B76A; --red: #F04461;
  --grad-brand: linear-gradient(120deg, #00C6FF 0%, #3B5BFF 34%, #B43CF0 66%, #FF3CC7 82%, #FF9A00 100%);
  --grad-blue: linear-gradient(135deg, #00C6FF, #3B5BFF);
  --grad-warm: linear-gradient(135deg, #FF3CC7, #FF9A00);
  --grad-text: linear-gradient(100deg, #3B5BFF 0%, #8B3CF6 55%, #C21F98 100%);   /* ≥ 5:1 on white along the whole run */
  --shadow-sm: 0 2px 8px rgba(14,27,77,.06);
  --shadow: 0 12px 32px rgba(59,91,255,.10), 0 2px 6px rgba(14,27,77,.05);
  --shadow-lg: 0 24px 60px rgba(59,91,255,.16), 0 4px 12px rgba(14,27,77,.06);
  --radius: 20px; --radius-lg: 28px; --radius-xl: 36px;
  --font-body: 'Nunito', 'Kutter Thai', 'Leelawadee UI', 'Thonburi', system-ui, sans-serif;
  --font-display: 'Nunito', 'Kutter Thai Head', 'Leelawadee UI', 'Thonburi', system-ui, sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --nav-height: 68px;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text-1); font: 400 17px/1.7 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; overflow-x: clip; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--blue-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); margin: 0 0 12px; line-height: 1.22; letter-spacing: -0.01em; font-weight: 800; }
h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.14; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.6vw, 42px); }
h3 { font-size: 20px; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin: 4px 0; }
strong, b { font-weight: 700; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 560px) { .container { padding: 0 16px; } body { font-size: 16px; } }
.nw { white-space: nowrap; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; }
.skip:focus { top: 12px; }
.muted { color: var(--text-2); }
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.7; color: var(--text-2); }
.grad-text, .k-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* icons (stroke icons drawn inline) */
.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i-sm { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(207,216,246,.7); }
.bar { display: flex; align-items: center; gap: 20px; height: var(--nav-height); }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 800 25px/1 'Nunito', var(--font-display); letter-spacing: -0.01em; color: var(--navy); white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; flex: none; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a:not(.btn) { padding: 8px 14px; border-radius: 999px; font: 700 15px/1 var(--font-body); color: var(--text-1); }
.nav a:not(.btn):hover { background: var(--tint-blue); text-decoration: none; }
.nav .btn { margin-left: 8px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); flex: none; }
.lang a { padding: 5px 10px; border-radius: 999px; font: 800 12px/1 'Nunito', sans-serif; letter-spacing: .04em; color: var(--text-3); }
.lang a:hover { text-decoration: none; color: var(--navy); }
.lang a[aria-current] { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; cursor: pointer; color: var(--navy); background: var(--surface-2); border: 1px solid var(--line); }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: 54px; width: min(260px, calc(100vw - 32px)); display: grid; gap: 2px; padding: 10px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.menu-panel a { padding: 11px 14px; border-radius: 14px; font-weight: 700; color: var(--navy); }
.menu-panel a:hover, .menu-panel a[aria-current] { background: var(--tint-blue); text-decoration: none; }
@media (max-width: 920px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .menu { display: block; }
}
@media (max-width: 380px) { .bar { gap: 10px; } .brand { font-size: 22px; } .brand img { width: 30px; height: 30px; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 0; font: 800 16px/1.2 var(--font-body); text-align: center; cursor: pointer; transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background-color .2s; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--orange); color: var(--navy); box-shadow: 0 10px 24px rgba(255,154,0,.32), inset 0 -3px 0 rgba(14,27,77,.10); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(255,154,0,.42), inset 0 -3px 0 rgba(14,27,77,.10); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(59,91,255,.30), inset 0 -3px 0 rgba(14,27,77,.14); }
.btn-secondary { background: #fff; color: var(--navy); border: 1.5px solid var(--line-2); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: var(--blue); }
.btn-sm { min-height: 40px; padding: 9px 18px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 15px 30px; font-size: 17px; }
.btn .arrow { transition: transform .2s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 420px) { .btn-row .btn-lg { width: 100%; } }

/* ---------- Chips, badges, eyebrow ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 6px 14px 6px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font: 800 13px/1.2 var(--font-body); letter-spacing: .04em; color: var(--blue-ink); }
.eyebrow::before { content: ""; width: 14px; height: 14px; flex: none; background: var(--grad-warm); -webkit-mask: var(--spark) center / contain no-repeat; mask: var(--spark) center / contain no-repeat; }
:root { --spark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.9 6.6 4.4 10.6 12 12-7.6 1.4-11.1 5.4-12 12-.9-6.6-4.4-10.6-12-12C7.6 10.6 11.1 6.6 12 0z'/%3E%3C/svg%3E"); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font: 800 13px/1.2 var(--font-body); color: var(--navy); background: var(--tint-blue); white-space: nowrap; }
.badge.cyan { background: var(--tint-sky); }
.badge.warn { background: var(--tint-orange); }
.badge.pink { background: var(--tint-magenta); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips-ces { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.chips-ces span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px 6px 7px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font: 800 14px/1 'Nunito', sans-serif; color: var(--navy); }
.chips-ces span i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 9px; color: #fff; background: var(--grad-blue); }
.chips-ces span:nth-child(2) i { background: linear-gradient(135deg, #8B3CF6, #FF3CC7); }
.chips-ces span:nth-child(3) i { background: var(--grad-warm); }
.chips-ces .i { width: 14px; height: 14px; stroke-width: 2.6; }

/* icon tiles */
.icon-chip { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 18px; color: #fff; background: var(--grad-blue); box-shadow: 0 8px 20px rgba(59,91,255,.25); margin-bottom: 16px; flex: none; }
.icon-chip.alt { background: var(--grad-warm); box-shadow: 0 8px 20px rgba(255,60,199,.22); }
.icon-chip.violet { background: linear-gradient(135deg, #8B3CF6, #FF3CC7); box-shadow: 0 8px 20px rgba(139,60,246,.22); }
.icon-chip.plain { background: var(--navy); box-shadow: 0 8px 20px rgba(14,27,77,.18); }

/* ---------- Sections ---------- */
.section { position: relative; padding: 68px 0; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 12px; }
.section-head .lead { margin: 0; }
@media (max-width: 760px) { .section { padding: 52px 0; } .section-head { margin-bottom: 28px; } }
.section.tint { background: #fff; }
.hero { position: relative; padding: 64px 0 48px; }
.hero h1 { margin-bottom: 0; }

/* soft brand blobs (decoration only) */
.blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent); mask-image: linear-gradient(180deg, #000 50%, transparent); }
.blobs i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.blobs i:nth-child(1) { width: 460px; height: 460px; left: -140px; top: -120px; background: #9FD8FF; }
.blobs i:nth-child(2) { width: 420px; height: 420px; right: -120px; top: 40px; background: #C9B8FF; }
.blobs i:nth-child(3) { width: 360px; height: 360px; right: 18%; bottom: -200px; background: #FFC9EC; }
.blobs i:nth-child(4) { width: 300px; height: 300px; left: 24%; bottom: -160px; background: #FFE0A8; }
@media (max-width: 760px) { .blobs i { filter: blur(44px); opacity: .45; } .blobs i:nth-child(1) { width: 300px; height: 300px; } .blobs i:nth-child(2) { width: 280px; height: 280px; } }

/* sparkles ✦ (decoration only) */
.spark { position: absolute; width: 22px; height: 22px; background: linear-gradient(135deg, #FFD54A, #FF9A00); -webkit-mask: var(--spark) center / contain no-repeat; mask: var(--spark) center / contain no-repeat; pointer-events: none; }
.spark.b { background: linear-gradient(135deg, #00C6FF, #3B5BFF); }
.spark.m { background: linear-gradient(135deg, #FF7AD9, #FF3CC7); }
@media (prefers-reduced-motion: no-preference) {
  .spark { animation: twinkle 3.2s ease-in-out infinite; }
  .spark:nth-of-type(2n) { animation-delay: -1.1s; }
  .spark:nth-of-type(3n) { animation-delay: -2.2s; }
}
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.6) rotate(20deg); opacity: .55; } }

/* film-strip ribbon (decoration only) */
.film { position: relative; height: 46px; margin: 0 -40px; transform: rotate(-1.6deg); background: var(--grad-brand); box-shadow: 0 14px 30px rgba(59,91,255,.18); overflow: hidden; }
.film::before, .film::after { content: ""; position: absolute; left: 0; right: 0; height: 7px; background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.9) 0 2.6px, transparent 3px) 0 0 / 18px 7px repeat-x; }
.film::before { top: 4px; } .film::after { bottom: 4px; }
.film span { position: absolute; inset: 11px 0; display: flex; align-items: center; gap: 28px; white-space: nowrap; font: 800 14px/1 'Nunito', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 2px rgba(14,27,77,.35); padding-left: 20px; }
.film span b { font-weight: 800; opacity: .95; }
.film span i { font-style: normal; color: #FFE27A; }

/* ---------- Cards ---------- */
.card { position: relative; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card-highlight { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad-brand) border-box; box-shadow: var(--shadow-lg); }
.spot { transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.spot:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .card { padding: 22px; border-radius: 24px; } }
.checks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.checks li { margin: 0; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; color: var(--text-2); font-size: 16px; line-height: 1.6; }
.checks li svg { width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%; color: #fff; background: var(--green); stroke-width: 3.2; }
.note { margin-top: 12px; font-size: 14px; color: var(--text-3); }

/* callout */
.callout { display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; border-radius: var(--radius); background: var(--tint-sky); border: 1px solid #BDEBFA; color: var(--text-1); }
.callout .i { color: var(--blue-ink); margin-top: 3px; }
.callout p { margin: 0; font-size: 15.5px; line-height: 1.65; }

/* numbered steps (download page) */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: st; }
.steps > li { counter-increment: st; margin: 0; }
.steps .num { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 16px; background: var(--grad-blue); color: #fff; font: 800 20px/1 'Nunito', sans-serif; box-shadow: 0 8px 20px rgba(59,91,255,.25); }
.steps > li:nth-child(2) .num { background: linear-gradient(135deg, #8B3CF6, #FF3CC7); }
.steps > li:nth-child(3) .num { background: var(--grad-warm); color: var(--navy); }
.steps .num::before { content: counter(st); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow .2s, border-color .2s; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; font: 700 17px/1.45 var(--font-display); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--tint-blue); color: var(--blue-ink); stroke-width: 2.6; transition: transform .25s var(--ease-out), background-color .2s; }
.faq details[open] summary .i { transform: rotate(45deg); background: var(--tint-orange); color: var(--navy); }
.faq .answer { padding: 0 22px 20px; color: var(--text-2); font-size: 16px; line-height: 1.7; }
.faq .answer p, .faq .answer ul { margin: 0; }
.faq .answer li { margin: 6px 0; }

/* ---------- CTA band (promo banner, like the guideline's usage preview) ---------- */
.cta-band { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 44px 48px; border-radius: var(--radius-xl); color: #fff; background:
  radial-gradient(60% 90% at 100% 100%, rgba(255,60,199,.42), transparent 70%),
  radial-gradient(40% 60% at 92% 0%, rgba(255,154,0,.30), transparent 70%),
  linear-gradient(120deg, #2F4BE0 0%, #3B5BFF 40%, #6A3CF5 75%, #8B3CF6 100%);
  box-shadow: 0 30px 70px rgba(59,91,255,.30); }
.cta-band h2 { color: #fff; margin: 0 0 10px; }
.cta-band .lead { color: #fff; margin: 0; }
.cta-band .note, .cta-band .note a { color: #fff; }
.cta-band .note a { text-decoration: underline; text-underline-offset: 3px; }
.cta-band a:not(.btn) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cta-band .mascot { width: 230px; height: auto; filter: drop-shadow(0 18px 30px rgba(14,27,77,.35)); }
.cta-band .chips-ces { margin-bottom: 16px; }
.cta-band .chips-ces span { background: rgba(14,27,77,.24); border-color: rgba(255,255,255,.28); color: #fff; box-shadow: none; }
.cta-band .spark { opacity: .9; }
@media (max-width: 760px) {
  .cta-band { grid-template-columns: minmax(0, 1fr); padding: 32px 22px 0; text-align: center; justify-items: center; }
  .cta-band .btn-row, .cta-band .chips-ces { justify-content: center; }
  .cta-band .mascot { width: 190px; margin-top: 4px; }
}
.cta-band.small { grid-template-columns: auto minmax(0, 1fr); padding: 28px 32px; }
.cta-band.small .mascot { width: 120px; }
@media (max-width: 760px) { .cta-band.small { grid-template-columns: minmax(0, 1fr); padding: 28px 22px; } .cta-band.small .mascot { width: 110px; order: -1; } }

/* ---------- Download page ---------- */
.platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.platform { display: flex; flex-direction: column; gap: 18px; }
.platform .btn { margin-top: auto; align-self: flex-start; }
.os { display: flex; align-items: center; gap: 16px; }
.os .icon-chip { margin: 0; }
.os h3 { margin: 0; font-size: 24px; }
.os-sub { margin: 2px 0 0; color: var(--text-3); font-size: 15px; }
.fine { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fine li { margin: 0; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; color: var(--text-2); font-size: 15.5px; line-height: 1.6; }
.fine li svg { width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%; color: #fff; background: var(--green); stroke-width: 3.2; }
@media (max-width: 760px) { .platforms { grid-template-columns: minmax(0, 1fr); } .platform .btn { align-self: stretch; } }
.firstrun { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.firstrun h3 { font-size: 18px; }
.firstrun ol { margin: 0; padding-left: 22px; color: var(--text-2); }
.firstrun li { margin: 6px 0; }
.firstrun strong { color: var(--navy); }
@media (max-width: 760px) { .firstrun { grid-template-columns: minmax(0, 1fr); } }
.reqs { border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.reqs dl { margin: 0; }
.reqs dl > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; padding: 18px 26px; border-top: 1px solid var(--line); }
.reqs dl > div:first-child { border-top: 0; }
.reqs dt { font: 700 16px/1.5 var(--font-display); color: var(--navy); }
.reqs dd { margin: 0; color: var(--text-2); font-size: 16px; line-height: 1.65; }
@media (max-width: 700px) { .reqs dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 16px 20px; } }

/* ---------- Document pages (terms, 404) ---------- */
.doc { max-width: 800px; }
.doc h1 { font-size: clamp(32px, 4.4vw, 46px); }
.doc h2 { font-size: 22px; margin: 40px 0 12px; padding-top: 4px; }
.doc p, .doc li { color: var(--text-2); font-size: 16.5px; line-height: 1.8; }
.doc strong { color: var(--navy); }
.doc-meta { display: inline-block; margin: 14px 0 26px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px !important; color: var(--text-3) !important; }
.doc-card { padding: 40px 44px; border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (max-width: 560px) { .doc-card { padding: 26px 20px; border-radius: 26px; } }
.doc-404 { text-align: center; margin: 0 auto; }
.doc-404 .mascot { width: 220px; height: auto; display: block; margin: 0 auto 8px; filter: drop-shadow(0 16px 30px rgba(59,91,255,.25)); }
.doc-404 .btn-row { justify-content: center; }
.doc-404 .code { display: block; font: 800 clamp(64px, 12vw, 120px)/1 'Nunito', sans-serif; letter-spacing: -0.04em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 4px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 24px; padding: 56px 0 28px; background: #fff; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .7fr) minmax(0, .9fr); gap: 32px; }
.footer-brand p { margin: 0 0 8px; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.footer-brand .tagline { margin: 14px 0 18px; font-size: 16px; color: var(--text-2); }
.footer-by { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; color: var(--text-3); font-size: 14px; }
.footer-logo { width: 150px; height: auto; }
.site-footer h2 { font: 800 13px/1.2 'Nunito', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin: 6px 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer ul a { color: var(--text-1); font-weight: 600; font-size: 15.5px; }
.legal-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 14px; }
.legal-line .ces { font: 800 14px/1 'Nunito', sans-serif; color: var(--text-2); letter-spacing: .03em; }
.legal-line .ces i { font-style: normal; color: var(--magenta-ink); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Reveal on scroll (site.js adds .reveal only for things below the fold) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
  .reveal.in { opacity: 1; transform: none; }
}
