/* ==========================================================================
   HIRANI KODEX — design system
   Brand palette: dark navy #0b1533, blue→cyan gradient #6366f1→#22d3ee, pink #f472b6.
   Shared by every generated page (see _src/build.py).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
    --bg: #f7f8fb;
    --bg-2: #eef1f7;
    --surface: #ffffff;
    --surface-2: #f9fafb;
    --ink: #0b1533;
    --ink-2: #33405e;
    --muted: #5f6b85;
    --line: rgba(11, 21, 51, .09);
    --line-2: rgba(11, 21, 51, .17);
    --navy: #0b1533;
    --accent: #4f46e5;
    --accent-2: #0891b2;
    --pink: #e0549e;
    --accent-hover: #4338ca;
    --accent-ink: #ffffff;
    --accent-soft: rgba(79, 70, 229, .08);
    --pink-soft: rgba(244, 114, 182, .12);
    --ok: #12985a;
    --err: #d23c3c;
    --grad: linear-gradient(100deg, #6366f1 0%, #3b9bf0 55%, #22d3ee 100%);
    --grad-text: linear-gradient(100deg, #4f46e5 0%, #2563eb 50%, #0891b2 100%);
    --grad-btn: linear-gradient(100deg, #5b5ef2 0%, #2f7fe9 100%);
    --grad-brand: linear-gradient(100deg, #6366f1 0%, #22d3ee 60%, #f472b6 100%);
    --shadow-sm: 0 1px 2px rgba(11, 13, 18, .05), 0 2px 8px -2px rgba(11, 13, 18, .06);
    --shadow: 0 1px 2px rgba(11, 13, 18, .05), 0 18px 48px -18px rgba(11, 13, 18, .22);
    --shadow-lg: 0 2px 4px rgba(11, 13, 18, .04), 0 40px 80px -28px rgba(20, 30, 90, .32);
    --glow: rgba(56, 152, 240, .16);
    --glow-pink: rgba(244, 114, 182, .13);
    --code-bg: #0b1533;

    --f-body: "Geist", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --f-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
    --f-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    --wrap: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --section: clamp(80px, 10vw, 136px);
    --r-lg: 22px;
    --r: 16px;
    --r-sm: 10px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --hdr-h: 72px;
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #050a1a;
        --bg-2: #08102a;
        --surface: #0d1631;
        --surface-2: #0a1229;
        --ink: #eef2fb;
        --ink-2: #b7c0d6;
        --muted: #8792ac;
        --line: rgba(255, 255, 255, .075);
        --line-2: rgba(255, 255, 255, .15);
        --navy: #ffffff;
        --accent: #7c83ff;
        --accent-2: #22d3ee;
        --pink: #f472b6;
        --accent-hover: #9aa0ff;
        --accent-ink: #ffffff;
        --accent-soft: rgba(99, 102, 241, .16);
        --pink-soft: rgba(244, 114, 182, .14);
        --ok: #3ccf8e;
        --err: #ff7676;
        --grad: linear-gradient(100deg, #6366f1 0%, #3b9bf0 55%, #22d3ee 100%);
        --grad-text: linear-gradient(100deg, #818cf8 0%, #38bdf8 55%, #22d3ee 100%);
        --grad-btn: linear-gradient(100deg, #5b5ef2 0%, #2f7fe9 100%);
        --grad-brand: linear-gradient(100deg, #6366f1 0%, #22d3ee 60%, #f472b6 100%);
        --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
        --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 24px 56px -24px rgba(0, 0, 0, .8);
        --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 48px 96px -32px rgba(0, 0, 0, .9);
        --glow: rgba(56, 152, 240, .2);
        --glow-pink: rgba(244, 114, 182, .14);
        color-scheme: dark;
    }
}

:root[data-theme="dark"] {
    --bg: #050a1a;
    --bg-2: #08102a;
    --surface: #0d1631;
    --surface-2: #0a1229;
    --ink: #eef2fb;
    --ink-2: #b7c0d6;
    --muted: #8792ac;
    --line: rgba(255, 255, 255, .075);
    --line-2: rgba(255, 255, 255, .15);
    --navy: #ffffff;
    --accent: #7c83ff;
    --accent-2: #22d3ee;
    --pink: #f472b6;
    --accent-hover: #9aa0ff;
    --accent-ink: #ffffff;
    --accent-soft: rgba(99, 102, 241, .16);
    --pink-soft: rgba(244, 114, 182, .14);
    --ok: #3ccf8e;
    --err: #ff7676;
    --grad: linear-gradient(100deg, #6366f1 0%, #3b9bf0 55%, #22d3ee 100%);
    --grad-text: linear-gradient(100deg, #818cf8 0%, #38bdf8 55%, #22d3ee 100%);
    --grad-btn: linear-gradient(100deg, #5b5ef2 0%, #2f7fe9 100%);
    --grad-brand: linear-gradient(100deg, #6366f1 0%, #22d3ee 60%, #f472b6 100%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 24px 56px -24px rgba(0, 0, 0, .8);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 48px 96px -32px rgba(0, 0, 0, .9);
    --glow: rgba(56, 152, 240, .2);
        --glow-pink: rgba(244, 114, 182, .14);
    color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 16.5px/1.6 var(--f-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
::selection { background: #f472b6; color: #0b1533; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
html[lang="hi"] body { line-height: 1.75; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; 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: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }

/* ---------- Type ---------- */
.display, .h1, .h2, .h3 { font-weight: 600; letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.display { font-size: clamp(2.5rem, 6vw, 4.9rem); line-height: 1.02; letter-spacing: -.045em; }
.h1 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); line-height: 1.05; letter-spacing: -.04em; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.08; }
.h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.25; letter-spacing: -.025em; }
.display em, .h1 em, .h2 em {
    font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em;
    background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
    padding-right: .06em;
}
html[lang="hi"] .display em, html[lang="hi"] .h1 em, html[lang="hi"] .h2 em { font-family: var(--f-body); font-style: normal; font-weight: 600; }
html[lang="hi"] .display, html[lang="hi"] .h1, html[lang="hi"] .h2 { letter-spacing: -.01em; line-height: 1.3; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.65; color: var(--ink-2); max-width: 62ch; text-wrap: pretty; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font: 500 .74rem/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.sec-head .eyebrow, .page-hero .eyebrow:first-child, .intro .eyebrow, .split .eyebrow, .mission .eyebrow, .owner .eyebrow, .faq__head .eyebrow { color: var(--accent); margin-bottom: 18px; }
.sec-head .eyebrow::before, .page-hero .wrap > .eyebrow::before, .split .eyebrow::before, .intro .eyebrow::before, .mission .eyebrow::before, .owner .eyebrow::before, .faq__head .eyebrow::before {
    content: ""; width: 18px; height: 2px; background: var(--grad-brand); border-radius: 2px;
}
.link {
    display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--ink);
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
    transition: background-size .35s var(--ease), color .2s;
}
.link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link:hover { background-size: 100% 1.5px; color: var(--accent); }
.link:hover svg { transform: translate(2px, -2px); }

/* ---------- Buttons ---------- */
.btn {
    --b-bg: var(--ink); --b-fg: var(--bg); --b-bd: transparent;
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--b-bd);
    background: var(--b-bg); color: var(--b-fg); font-weight: 500; font-size: .95rem; white-space: nowrap;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s, color .2s;
    isolation: isolate; overflow: hidden;
}
.btn svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn:active { transform: translateY(0); }
.btn--accent { --b-bg: var(--grad-btn); --b-fg: #fff; box-shadow: 0 10px 26px -12px #2f7fe9; }
.btn--accent::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-100%); transition: transform .7s var(--ease); }
.btn--accent:hover::after { transform: translateX(100%); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line-2); }
.btn--ghost:hover { --b-bd: var(--ink); box-shadow: none; }
.btn--sm { min-height: 38px; padding: 0 15px; font-size: .88rem; }
.btn--lg { min-height: 52px; padding: 0 26px; font-size: 1rem; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.pill {
    display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px;
    border: 1px solid var(--line-2); border-radius: 999px; background: color-mix(in srgb, var(--surface) 70%, transparent);
    font: 500 .78rem/1.3 var(--f-mono); letter-spacing: .04em; color: var(--ink-2); backdrop-filter: blur(8px);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.mark { width: 38px; height: 38px; flex: none; color: var(--navy); transition: transform .5s var(--ease); }
.mark svg { width: 100%; height: 100%; overflow: visible; }
.brand:hover .mark { transform: rotate(-4deg) scale(1.05); }
.brand__text { display: grid; gap: 1px; }
.brand__word { font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.1; color: var(--ink); }
.bw-h, .bw-k { font-weight: 700; }
.bw-h { background: linear-gradient(100deg, #6366f1, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bw-k { color: #f472b6; }
.brand__tag { font: 500 .62rem/1.3 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ftr__brand .mark { width: 46px; height: 46px; }
.ftr__brand .brand__word { font-size: 1.45rem; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; height: var(--hdr-h); transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.hdr.is-scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom-color: var(--line); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 24px; }
.nav { margin-inline: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--surface) 60%, transparent); }
.nav a { display: block; padding: 7px 16px; border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--ink-2); transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); background: var(--bg-2); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--surface); box-shadow: var(--shadow-sm); }
.hdr__tools { display: flex; align-items: center; gap: 10px; }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.seg button { border: 0; background: none; padding: 4px 10px; border-radius: 999px; font: 500 .74rem/1.4 var(--f-mono); color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--ink-2); transition: border-color .2s, color .2s, transform .4s var(--ease); }
.icon-btn:hover { color: var(--ink); border-color: var(--line-2); transform: rotate(20deg); }
.icon-btn svg { width: 17px; height: 17px; }
.i-moon { display: none; }
:root[data-theme="dark"] .i-sun { display: none; }
:root[data-theme="dark"] .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .i-sun { display: none; }
    :root:not([data-theme="light"]) .i-moon { display: block; }
}
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: none; place-items: center; }
.menu-btn__lines { display: grid; gap: 5px; width: 16px; }
.menu-btn__lines span { height: 1.6px; background: var(--ink); border-radius: 2px; }
.menu-btn__lines span:last-child { width: 10px; justify-self: end; }

.sheet { position: fixed; inset: 0; z-index: 80; background: var(--bg); display: flex; flex-direction: column; overflow-y: auto; }
.sheet.is-open { animation: sheetIn .35s var(--ease); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(-8px); } }
.sheet__top { height: var(--hdr-h); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.sheet__links { list-style: none; margin: 0; padding-top: 24px; padding-bottom: 24px; }
.sheet__links a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 600; letter-spacing: -.035em; }
.sheet__links a[aria-current="page"] { color: var(--accent); }
.sheet__n { font: 500 .75rem var(--f-mono); color: var(--muted); letter-spacing: .1em; }
.sheet__foot { margin-top: auto; padding-bottom: 32px; display: grid; gap: 18px; }
.sheet__foot .row { display: flex; align-items: center; gap: 12px; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-top: clamp(32px, 5vw, 64px); }
.section--alt { background: var(--bg-2); }
.section--line { border-top: 1px solid var(--line); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head > div:first-child { max-width: 760px; }
.sec-head .lead { margin-top: 18px; }
.sec-head--center { justify-content: center; text-align: center; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(72px, 9vw, 128px); overflow: hidden; margin-top: calc(var(--hdr-h) * -1); padding-top: calc(var(--hdr-h) + clamp(40px, 7vw, 96px)); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px; background-position: center top;
    mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%);
}
.hero__glow { position: absolute; width: 900px; height: 700px; right: -200px; top: -200px; background: radial-gradient(closest-side, var(--glow), transparent), radial-gradient(closest-side at 30% 80%, var(--glow-pink), transparent); filter: blur(20px); animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-120px, 80px) scale(1.1); } }
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy .pill { margin-bottom: 28px; }
.hero__lead { margin-top: 26px; font-size: clamp(1.1rem, 1.5vw, 1.28rem); }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 36px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.trust li { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--ink-2); font-weight: 500; }
.trust svg { width: 17px; height: 17px; color: var(--accent); }

.hero__visual { position: relative; }
.console {
    position: relative; border-radius: var(--r-lg); background: var(--code-bg); color: #c8cfe0;
    border: 1px solid rgba(255, 255, 255, .08); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(11, 13, 18, .04);
    overflow: hidden; transform: perspective(1400px) rotateY(-7deg) rotateX(3deg); transition: transform .8s var(--ease);
}
.hero__visual:hover .console { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.console::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 200px at 20% -10%, rgba(59, 155, 240, .24), transparent), radial-gradient(400px 200px at 110% 110%, rgba(244, 114, 182, .16), transparent); pointer-events: none; }
.console__bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.console__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.console__bar i:first-child { background: #ff5f57; } .console__bar i:nth-child(2) { background: #febc2e; } .console__bar i:nth-child(3) { background: #28c840; }
.console__bar span { margin-left: 10px; font: 400 .76rem var(--f-mono); color: #7d869c; }
.console__code { margin: 0; padding: 22px 22px 18px; font: 400 clamp(.72rem, 1vw, .84rem)/1.75 var(--f-mono); overflow-x: auto; white-space: pre; }
.c-k { color: #f472b6; } .c-v { color: #7fd4ff; } .c-s { color: #9ce6a8; } .c-p { color: #7d869c; } .c-ok { color: #3ccf8e; }
.console__term { padding: 16px 22px 22px; border-top: 1px dashed rgba(255, 255, 255, .09); font: 400 clamp(.72rem, 1vw, .84rem)/1.9 var(--f-mono); color: #e6e9f2; }
.console__term .t { opacity: 0; animation: lineIn .5s var(--ease) forwards; }
.t1 { animation-delay: 1.1s !important; } .t2 { animation-delay: 1.7s !important; } .t3 { animation-delay: 2.3s !important; }
@keyframes lineIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.caret { display: inline-block; width: 8px; height: 1.05em; margin-left: 6px; vertical-align: -2px; background: #7fd4ff; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.chip {
    position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px;
    background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--line); box-shadow: var(--shadow);
    font-size: .82rem; font-weight: 500; color: var(--ink); backdrop-filter: blur(12px); animation: float 6s ease-in-out infinite;
}
.chip svg { width: 17px; height: 17px; color: var(--accent); }
.chip--a { left: -28px; bottom: -22px; }
.chip--b { right: -14px; top: -20px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Intro + stats ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro__text { display: grid; gap: 20px; justify-items: start; color: var(--ink-2); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(48px, 6vw, 80px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.stat { padding: clamp(22px, 3vw, 34px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat__n { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.stat__n sup { font-size: .5em; color: var(--pink); vertical-align: top; margin-left: 2px; }
.stat__l { display: block; margin-top: 12px; font-size: .9rem; color: var(--muted); line-height: 1.45; }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.svc-card {
    position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px 24px 24px; min-height: 290px;
    border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; overflow: hidden;
}
.svc-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 220px at var(--mx, 50%) var(--my, 0%), var(--accent-soft), transparent 70%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.svc-card:hover::before { opacity: 1; }
.svc-card__icon, .why__icon, .svc-detail__icon, .channels__icon {
    width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; flex: none;
    background: var(--accent-soft); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
}
.svc-card__icon svg, .why__icon svg, .channels__icon svg { width: 24px; height: 24px; }
.svc-card__n { position: absolute; top: 26px; right: 24px; font: 500 .74rem var(--f-mono); color: var(--muted); }
.svc-card__title { margin-top: 14px; font-size: 1.14rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.svc-card__text { font-size: .93rem; color: var(--muted); line-height: 1.6; }
.svc-card__go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 500; color: var(--accent); }
.svc-card__go svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.svc-card:hover .svc-card__go svg { transform: translateX(4px); }

/* ---------- Features / frames ---------- */
.feature-list { display: grid; gap: clamp(56px, 7vw, 96px); }
.feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature:nth-child(even) .feature__media { order: 2; }
.feature__media { display: block; }
.feature__body { display: grid; gap: 16px; justify-items: start; }
.feature__idx { font: 500 .74rem var(--f-mono); color: var(--accent); letter-spacing: .1em; }
.feature__title a:hover { color: var(--accent); }
.feature__meta { display: flex; gap: 16px; flex-wrap: wrap; }
.feature__text { color: var(--ink-2); }
.feature__links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 4px; }
.frame { border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
a:hover > .frame, .feature__media:hover .frame { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.frame__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.frame__url { margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: var(--bg-2); font: 400 .72rem var(--f-mono); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frame__view { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.frame__view img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
a:hover .frame__view img { transform: scale(1.025); }
.frame__view--logo { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, var(--surface), var(--bg-2)); }
.frame__view--logo img { width: auto; height: auto; max-width: 46%; max-height: 52%; object-fit: contain; border-radius: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: 400 .74rem/1.6 var(--f-mono); color: var(--ink-2); }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.why__item { padding: clamp(26px, 3vw, 38px); background: var(--surface); display: grid; gap: 12px; align-content: start; transition: background .3s; }
.why__item:hover { background: var(--surface-2); }
.why__title { margin-top: 10px; font-size: 1.12rem; font-weight: 600; letter-spacing: -.02em; }
.why__text { color: var(--muted); font-size: .95rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.step { position: relative; padding: 28px 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.step::after { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; background: var(--grad-brand); border-radius: 0 0 2px 2px; transform: scaleX(.18); transform-origin: left; transition: transform .6s var(--ease); }
.step:hover::after { transform: scaleX(1); }
.step__n { font: 500 .78rem var(--f-mono); color: var(--accent); }
.step__title { margin-top: 22px; font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; }
.step__text { margin-top: 10px; color: var(--muted); font-size: .94rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--hdr-h) + 32px); }
.faq__head .lead { margin-top: 18px; }
.faq__ask { margin-top: 28px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; font-weight: 500; font-size: 1.06rem; letter-spacing: -.01em; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq__icon { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .3s var(--ease), background .2s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.faq details[open] .faq__icon { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.faq details[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { padding: 0 52px 26px 0; color: var(--ink-2); }

/* ---------- CTA band + footer ---------- */
.cta-band { padding-block: clamp(32px, 5vw, 64px) 0; }
.cta-band__card {
    position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; align-items: end; gap: 32px;
    padding: clamp(32px, 5vw, 64px); border-radius: calc(var(--r-lg) + 6px); overflow: hidden; isolation: isolate;
    background: var(--code-bg); color: #eef0f6; box-shadow: var(--shadow-lg);
}
.cta-band__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 360px at 90% 0%, rgba(59, 155, 240, .38), transparent 70%), radial-gradient(520px 300px at 0% 115%, rgba(244, 114, 182, .3), transparent 70%); }
.cta-band__card::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); }
.cta-band .h2 { color: #fff; margin-top: 20px; }
.cta-band .lead { color: #b9bfcd; margin-top: 16px; }
.cta-band .pill { color: #cfd5e3; border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn--ghost { --b-fg: #fff; --b-bd: rgba(255, 255, 255, .24); }
.cta-band .btn--ghost:hover { --b-bd: #fff; }

.ftr { padding-top: clamp(64px, 8vw, 104px); color: var(--ink-2); }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.ftr__brand { display: grid; gap: 18px; align-content: start; max-width: 380px; }
.ftr__tag { color: var(--ink-2); font-size: .95rem; }
.ftr__id { font-size: .85rem; color: var(--muted); padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.ftr__h { font: 500 .74rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.ftr__h--gap { margin-top: 28px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .93rem; }
.ftr ul a { transition: color .2s; overflow-wrap: anywhere; }
.ftr ul a:hover { color: var(--accent); }
.ftr__word { margin-top: clamp(48px, 7vw, 88px); font-weight: 700; font-size: clamp(3rem, 12.4vw, 11rem); letter-spacing: -.055em; line-height: .8; text-align: center; white-space: nowrap; background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 13%, transparent), transparent 92%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.ftr__word .fw-h, .ftr__word .fw-k { -webkit-background-clip: text; background-clip: text; color: transparent; padding-inline: .08em; margin-inline: -.08em; }
.ftr__word .fw-h { background-image: linear-gradient(180deg, rgba(99, 102, 241, .72) 0%, rgba(59, 155, 240, .45) 50%, rgba(34, 211, 238, 0) 95%); }
.ftr__word .fw-k { background-image: linear-gradient(180deg, rgba(244, 114, 182, .75) 0%, rgba(244, 114, 182, .38) 50%, rgba(244, 114, 182, 0) 95%); }
.ftr__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-block: 24px 32px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
.ftr__meta { font-family: var(--f-mono); font-size: .76rem; }
.ftr__top { display: inline-flex; align-items: center; gap: 6px; }
.ftr__top svg { width: 15px; height: 15px; transform: rotate(-45deg); }
.ftr__top:hover { color: var(--ink); }

/* ---------- Page hero ---------- */
.page-hero { position: relative; padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(40px, 5vw, 72px); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 90% at 80% 0%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 70% 90% at 80% 0%, #000 10%, transparent 70%); }
.page-hero__bg::after { content: ""; position: absolute; width: 700px; height: 500px; right: -160px; top: -240px; background: radial-gradient(closest-side, var(--glow), transparent); }
.page-hero .wrap { position: relative; }
.page-hero .h1 { margin-top: 4px; max-width: 18ch; }
.page-hero .lead { margin-top: 24px; }
.page-hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.page-hero--case .h1 { margin-top: 18px; }
.crumb { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 32px; font-size: .9rem; color: var(--muted); transition: color .2s; }
.crumb svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.crumb:hover { color: var(--ink); }
.crumb:hover svg { transform: translateX(-3px); }

/* ---------- Services page ---------- */
.svc-index ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.svc-index a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .88rem; font-weight: 500; color: var(--ink-2); transition: border-color .2s, color .2s, transform .3s var(--ease); }
.svc-index a svg { width: 18px; height: 18px; color: var(--accent); }
.svc-index a:hover { border-color: var(--accent); color: var(--ink); transform: translateY(-2px); }
.svc-details { display: grid; gap: 20px; }
.svc-detail {
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px);
    padding: clamp(28px, 4.5vw, 56px); border-radius: calc(var(--r-lg) + 4px); background: var(--surface); border: 1px solid var(--line);
    scroll-margin-top: calc(var(--hdr-h) + 20px); transition: border-color .4s, box-shadow .4s;
}
.svc-detail:target { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.svc-detail__head { display: grid; gap: 18px; align-content: start; justify-items: start; }
.svc-detail__icon { width: 56px; height: 56px; border-radius: 16px; }
.svc-detail__icon svg { width: 28px; height: 28px; }
.svc-detail__n { font: 500 .74rem var(--f-mono); color: var(--muted); letter-spacing: .1em; }
.svc-detail__title { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.svc-detail__body { display: grid; gap: 24px; align-content: start; justify-items: start; }
.svc-detail__box { width: 100%; padding: 24px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); }
.checks { display: grid; gap: 12px; margin-top: 16px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: .97rem; }
.checks svg { width: 20px; height: 20px; flex: none; margin-top: 2px; padding: 3px; border-radius: 50%; background: var(--grad-btn); color: #fff; stroke-width: 2.6; }
.svc-detail__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; width: 100%; }
.svc-detail__meta dd { margin-top: 8px; color: var(--ink-2); font-size: .95rem; }

/* ---------- Work ---------- */
.filters { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-top: 32px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.filters button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.filters button sup { margin-left: 4px; font: 500 .68rem var(--f-mono); color: var(--muted); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.filters button[aria-pressed="true"] sup { color: inherit; opacity: .7; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px) 28px; }
.work-card a { display: grid; gap: 22px; }
.work-card__body { display: flex; justify-content: space-between; gap: 20px; }
.work-card__title { font-size: 1.35rem; font-weight: 600; letter-spacing: -.025em; margin-bottom: 8px; transition: color .2s; }
.work-card a:hover .work-card__title { color: var(--accent); }
.work-card__text { margin-top: 10px; color: var(--muted); font-size: .95rem; }
.work-card__year { font: 500 .76rem var(--f-mono); color: var(--muted); }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.quote { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 30px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.quote blockquote { color: var(--ink-2); font-size: .98rem; line-height: 1.7; }
.quote blockquote::before { content: "“"; display: block; font: 400 3rem/0.6 var(--f-serif); color: var(--pink); margin-bottom: 14px; height: 22px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote__avatar { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--grad-btn); color: #fff; font: 500 .78rem var(--f-mono); }
.quote__who { display: block; font-weight: 600; font-size: .95rem; }
.quote__role { display: block; font-size: .84rem; color: var(--muted); }

/* ---------- Case study ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.fact { padding: 20px 20px 0 0; }
.fact dt { font: 500 .72rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fact dd { margin-top: 8px; font-weight: 500; }
.fact dd a { display: inline-block; margin-right: 12px; color: var(--accent); }
.fact dd a:hover { text-decoration: underline; }
.case-shot { padding-bottom: clamp(32px, 5vw, 64px); }
.case-results .eyebrow { color: var(--accent); }
.case-results .stats { margin-top: 20px; }
.case-body { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr); gap: 40px; }
.case-body .eyebrow, .section--line > .wrap > .eyebrow { color: var(--accent); }
.prose { display: grid; gap: 18px; color: var(--ink-2); font-size: 1.05rem; line-height: 1.75; max-width: 70ch; }
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.feat { padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.feat__n { font: 500 .74rem var(--f-mono); color: var(--accent); }
.feat__title { margin-top: 14px; font-size: 1.1rem; font-weight: 600; letter-spacing: -.02em; }
.feat__text { margin-top: 8px; color: var(--muted); font-size: .95rem; }
.case-quote { max-width: 900px; margin-inline: auto; text-align: center; }
.case-quote blockquote { font-family: var(--f-serif); font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.3; letter-spacing: -.01em; }
.case-quote figcaption { margin-top: 24px; justify-content: center; }
.next { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.next__title { display: block; margin-top: 10px; font-size: clamp(1.6rem, 4vw, 3rem); font-weight: 600; letter-spacing: -.04em; transition: color .2s; }
.next:hover .next__title { color: var(--accent); }
.next__arrow { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; transition: background .3s, color .3s, transform .4s var(--ease); }
.next__arrow svg { width: 22px; height: 22px; }
.next:hover .next__arrow { background: var(--ink); color: var(--bg); transform: translateX(6px); }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.facts-note { margin-top: 20px; font-size: .92rem; max-width: 40ch; }
.kv { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.kv__row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; padding: 16px 24px; border-top: 1px solid var(--line); }
.kv__row:first-child { border-top: 0; }
.kv dt { color: var(--muted); font-size: .92rem; }
.kv dd { font-weight: 500; overflow-wrap: anywhere; }
.kv dd a { color: var(--accent); }
.kv dd strong { font-weight: 600; letter-spacing: .06em; }
.mission { max-width: 880px; }
.mission__text { margin-top: 24px; font-family: var(--f-serif); font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.35; color: var(--ink); letter-spacing: -.01em; }
html[lang="hi"] .mission__text { font-family: var(--f-body); }
.approach { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.approach__item { padding-top: 22px; border-top: 2px solid var(--ink); }
.approach__n { font: 500 .74rem var(--f-mono); color: var(--accent); }
.approach__title { margin-top: 14px; font-size: 1.1rem; font-weight: 600; letter-spacing: -.02em; }
.approach__text { margin-top: 8px; color: var(--muted); font-size: .95rem; }
.caps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cap { padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 18px; align-content: start; }
.cap__title { font-size: 1.05rem; font-weight: 600; letter-spacing: -.02em; }
.owner { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.portrait { position: relative; border-radius: calc(var(--r-lg) + 4px); overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow-lg); }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.portrait figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; display: grid; gap: 2px; padding: 14px 16px; border-radius: var(--r); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.portrait figcaption strong { color: var(--ink); font-size: 1rem; }
.owner__text .h2 { margin-bottom: 24px; }
.owner__links { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 32px; }
.owner__links .btn svg { transform: none; }
.miles { display: grid; }
.mile { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.mile:last-child { border-bottom: 1px solid var(--line); }
.mile__date { font: 500 .8rem var(--f-mono); color: var(--muted); padding-top: 4px; }
.mile__title { font-size: 1.12rem; font-weight: 600; letter-spacing: -.02em; transition: color .2s; }
.mile a:hover .mile__title { color: var(--accent); }
.mile__text { margin-top: 4px; color: var(--muted); font-size: .95rem; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.channels { display: grid; gap: 12px; position: sticky; top: calc(var(--hdr-h) + 24px); }
.channels li { display: flex; gap: 16px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.channels li > div { display: grid; gap: 4px; min-width: 0; }
.channels .v { font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em; overflow-wrap: anywhere; }
.channels a.v:hover { color: var(--accent); }
.channels .sub { font-size: .88rem; color: var(--muted); }
.channels .link.sub { color: var(--accent); margin-top: 6px; }
.form { padding: clamp(24px, 4vw, 44px); border-radius: calc(var(--r-lg) + 4px); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form__lead { margin-top: 8px; font-size: .92rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 500; color: var(--ink-2); }
.field input, .field textarea, .field select {
    width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg);
    font-size: 1rem; transition: border-color .2s, box-shadow .2s, background .2s; appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .75; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); background: var(--surface); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--err); }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { padding-right: 42px; cursor: pointer; }
.select select:invalid { color: var(--muted); }
.form__honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 26px; flex-wrap: wrap; }
.form__privacy { font-size: .86rem; color: var(--muted); max-width: 40ch; }
.form__privacy a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.form__status { margin-top: 20px; padding: 14px 16px; border-radius: 12px; font-size: .95rem; font-weight: 500; }
.form__status--ok { background: color-mix(in srgb, var(--ok) 12%, transparent); color: var(--ok); border: 1px solid color-mix(in srgb, var(--ok) 30%, transparent); }
.form__status--err { background: color-mix(in srgb, var(--err) 10%, transparent); color: var(--err); border: 1px solid color-mix(in srgb, var(--err) 30%, transparent); }

/* ---------- Legal ---------- */
.legal__date { margin-top: 18px; font: 500 .8rem var(--f-mono); color: var(--muted); }
.legal { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.legal nav { position: sticky; top: calc(var(--hdr-h) + 24px); }
.legal__toc { display: grid; gap: 2px; padding: 10px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.legal__toc a { display: block; padding: 8px 12px; border-radius: 10px; font-size: .9rem; color: var(--ink-2); transition: background .2s, color .2s; }
.legal__toc a:hover { background: var(--bg-2); color: var(--ink); }
.legal__body { display: grid; gap: 40px; max-width: 74ch; }
.legal__body h2 { display: flex; align-items: baseline; gap: 14px; font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; margin-bottom: 14px; scroll-margin-top: calc(var(--hdr-h) + 24px); }
.legal__body h2 span { font: 500 .78rem var(--f-mono); color: var(--accent); }
.legal__body p, .legal__body li { color: var(--ink-2); line-height: 1.75; }
.legal__body p + p, .legal__body ul + p, .legal__body p + ul { margin-top: 12px; }
.legal__body ul { padding-left: 22px; display: grid; gap: 6px; }
.legal__body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 404 ---------- */
.lost { min-height: 62vh; display: grid; align-content: center; justify-items: start; gap: 20px; padding-block: 80px; }
.lost__code { font-weight: 700; font-size: clamp(6rem, 20vw, 14rem); line-height: .85; letter-spacing: -.06em; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Motion ---------- */
.rise { animation: rise .9s var(--ease) both; }
.rise-2 { animation-delay: .08s; } .rise-3 { animation-delay: .16s; } .rise-4 { animation-delay: .24s; } .rise-5 { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
    .console { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
    .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .svc-card { min-height: 0; }
    .caps, .approach { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ftr__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ftr__brand { grid-column: 1 / -1; max-width: 560px; }
}
@media (max-width: 1024px) {
    .nav, .hdr__cta, .hdr__tools > .seg, .hdr__tools > .icon-btn { display: none; }
    .menu-btn { display: grid; }
    .hdr__tools { margin-left: auto; }
    .hero__in { grid-template-columns: 1fr; }
    .hero__visual { max-width: 620px; margin-top: 24px; }
    .console { transform: none; }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .svc-detail, .faq, .contact, .legal, .split, .intro, .owner, .case-body { grid-template-columns: 1fr; }
    .faq__head, .channels, .legal nav { position: static; }
    .owner .portrait { max-width: 420px; }
    .cta-band__card { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 760px) {
    body { font-size: 16px; }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat:nth-child(3) { border-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .feature { grid-template-columns: 1fr; gap: 24px; }
    .feature:nth-child(even) .feature__media { order: 0; }
    .work-grid, .feats, .quotes, .why, .steps, .svc-grid, .caps, .approach { grid-template-columns: 1fr; }
    .sec-head { flex-direction: column; align-items: flex-start; }
    .facts { grid-template-columns: 1fr 1fr; }
    .page-hero__row { flex-direction: column; align-items: flex-start; }
    .form__grid { grid-template-columns: 1fr; }
    .svc-detail__meta { grid-template-columns: 1fr; }
    .kv__row { grid-template-columns: 1fr; gap: 4px; padding: 14px 18px; }
    .mile { grid-template-columns: 1fr; gap: 6px; }
    .ftr__grid { grid-template-columns: 1fr 1fr; }
    .chip--a { display: none; }
    .chip--b { right: 8px; }
    .faq__a { padding-right: 0; }
    .brand__word { font-size: 1.1rem; }
    .trust { gap: 10px 16px; }
}
@media (max-width: 420px) {
    .ftr__grid { grid-template-columns: 1fr; }
    .hero__ctas .btn { width: 100%; }
    .cta-band__actions .btn { width: 100%; }
    .mark { width: 32px; height: 32px; }
    .brand { gap: 9px; }
}
