/* ============================================================================
   HOW TO WIN A/S — Design system v2  "MERIDIAN"
   Swiss editorial grid · near-monochrome ink on bone · single electric-indigo
   accent · hairline rules, index numbers, no card chrome.
   Display: Space Grotesk · Body: Inter · Labels: Space Mono
   ========================================================================== */

/* ---- Tokens ------------------------------------------------------------- */
:root {
    --bg:          #f3f1ea;
    --bg-2:        #eceadf;
    --panel:       #fbfaf6;
    --ink:         #14141a;
    --ink-2:       #56565f;
    --ink-3:       #8b8b95;
    --line:        rgba(20, 20, 26, 0.13);
    --line-2:      rgba(20, 20, 26, 0.24);
    --line-strong: rgba(20, 20, 26, 0.85);
    --accent:      #4b3bff;
    --accent-press:#3628e0;
    --accent-ink:  #ffffff;
    --accent-soft: rgba(75, 59, 255, 0.10);
    --good:        #12996b;
    --danger:      #d5443f;

    --shadow:      0 20px 50px -30px rgba(20, 20, 26, 0.5);

    --container: 1220px;
    --sect: clamp(3.75rem, 8vw, 7rem);
    --head-h: 72px;

    --f-display: "Space Grotesk", "Inter", system-ui, sans-serif;
    --f-body: "Inter", system-ui, -apple-system, sans-serif;
    --f-mono: "Space Mono", "IBM Plex Mono", ui-monospace, monospace;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    color-scheme: light;
}

[data-theme="dark"] {
    --bg:          #0c0c11;
    --bg-2:        #131319;
    --panel:       #15151c;
    --ink:         #f1f0ea;
    --ink-2:       #a2a2ac;
    --ink-3:       #70707a;
    --line:        rgba(241, 240, 234, 0.14);
    --line-2:      rgba(241, 240, 234, 0.22);
    --line-strong: rgba(241, 240, 234, 0.82);
    --accent:      #8072ff;
    --accent-press:#9a90ff;
    --accent-ink:  #0c0c11;
    --accent-soft: rgba(128, 114, 255, 0.15);
    --good:        #33b587;
    --danger:      #f2645f;
    --shadow:      0 24px 55px -30px rgba(0, 0, 0, 0.75);
    color-scheme: dark;
}

/* ---- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    font-family: var(--f-body);
    background: var(--bg);
    color: var(--ink);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }

::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 1000;
    background: var(--ink); color: var(--bg);
    padding: 0.75rem 1.25rem; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

/* ---- Layout ------------------------------------------------------------- */
.container {
    width: 100%; max-width: var(--container);
    margin-inline: auto; padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}
.section { padding-block: var(--sect); }
.section--alt { background: var(--bg-2); }
.band-line { border-top: 1px solid var(--line); }

/* ---- Typography --------------------------------------------------------- */
.overline {
    display: inline-flex; align-items: center; gap: 0.65rem;
    font-family: var(--f-mono); font-size: 0.72rem;
    text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-3);
}
.overline .tick { width: 1.7rem; height: 2px; background: var(--accent); display: inline-block; flex: 0 0 auto; }

h1, h2, h3, h4, h5 { font-family: var(--f-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; }

.display {
    font-family: var(--f-display); font-weight: 600;
    font-size: clamp(2.7rem, 6.4vw, 5.4rem); line-height: 1.0; letter-spacing: -0.035em;
}
.display em, .page-title em, .foot-cta-title em, .brand-word em { color: var(--accent); font-style: normal; }
.h2 { font-size: clamp(1.9rem, 4.2vw, 3.3rem); letter-spacing: -0.028em; }
.h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.lead--ink { color: var(--ink); }
.muted { color: var(--ink-2); }

.sec-head { max-width: 60ch; margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem); }
.sec-head .h2 { margin-top: 0.9rem; }
.sec-head .lead { margin-top: 1rem; }
.sec-head--center { max-width: 62ch; margin-inline: auto; text-align: center; }
.sec-head--center .overline { justify-content: center; }
.sec-head--center .lead { margin-inline: auto; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
    font-family: var(--f-body); font-weight: 600; font-size: 0.98rem;
    padding: 0.85rem 1.35rem; border-radius: 9px;
    border: 1px solid transparent; background: transparent; color: var(--ink);
    transition: transform 0.22s var(--ease), background 0.22s var(--ease),
                color 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
    line-height: 1; cursor: pointer;
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-press); border-color: var(--accent-press); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--solid { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn--solid:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--line { border-color: var(--line-strong); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); transform: translateY(-2px); }
.btn--lg { padding: 1.05rem 1.7rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ============================================================================
   HEADER
   ========================================================================== */
.site-head {
    position: sticky; top: 0; z-index: 100;
    background: color-mix(in srgb, var(--bg) 84%, transparent);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.3s, background 0.3s;
}
.head-inner { display: flex; align-items: center; gap: 1rem; height: var(--head-h); }

.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--ink); flex: 0 0 auto; }
.brand-mark { width: 25px; height: 25px; flex: 0 0 auto; }
.brand-word { font-family: var(--f-display); font-weight: 700; font-size: 1.06rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand-tag {
    font-family: var(--f-mono); font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.16em;
    color: var(--ink-3); padding-left: 0.6rem; margin-left: 0.15rem; border-left: 1px solid var(--line-2);
}

.main-nav { display: flex; align-items: center; gap: 0.2rem; margin-inline: auto; }
.main-nav > a {
    display: inline-flex; align-items: baseline; gap: 0.35rem;
    font-weight: 500; font-size: 0.95rem; color: var(--ink-2);
    padding: 0.5rem 0.7rem; border-radius: 7px; position: relative;
    transition: color 0.2s, background 0.2s;
}
.main-nav > a .nav-i { font-family: var(--f-mono); font-size: 0.6rem; color: var(--ink-3); }
.main-nav > a:hover { color: var(--ink); }
.main-nav > a.active { color: var(--ink); }
.main-nav > a.active .nav-i { color: var(--accent); }
.main-nav > a.active::after {
    content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 0.2rem;
    height: 2px; background: var(--accent); border-radius: 2px;
}

.head-actions { display: flex; align-items: center; gap: 0.55rem; flex: 0 0 auto; }
.lang-switch { display: inline-flex; align-items: center; gap: 0.35rem; font-family: var(--f-mono); font-size: 0.74rem; }
.lang-switch a { color: var(--ink-3); transition: color 0.2s; }
.lang-switch a.active { color: var(--ink); font-weight: 700; }
.lang-switch .lang-div { color: var(--line-strong); }

.icon-btn {
    width: 38px; height: 38px; display: grid; place-items: center;
    border: 1px solid var(--line); border-radius: 8px; color: var(--ink-2);
    transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.icon-btn:hover { color: var(--ink); border-color: var(--line-strong); transform: translateY(-1px); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav-cta { padding: 0.6rem 1.05rem; font-size: 0.9rem; }
.nav-cta-m { display: none; }
.burger { display: none; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 8px; grid-template-rows: repeat(2, auto); gap: 5px; place-content: center; }
.burger span { display: block; width: 19px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ============================================================================
   HERO
   ========================================================================== */
.hero { padding-top: clamp(2.75rem, 6vw, 5rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.hero-grid { display: grid; grid-template-columns: 1.55fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-main .overline { margin-bottom: 1.4rem; }
.hero-main .display { margin-bottom: 1.6rem; }
.hero-main .lead { max-width: 50ch; margin-bottom: 2rem; }

.hero-meta { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); padding: clamp(1.4rem, 2.5vw, 1.9rem); }
.meta-plot { width: clamp(96px, 10vw, 124px); height: auto; margin-bottom: 1.3rem; }
.meta-list { display: grid; }
.meta-row { display: grid; gap: 0.15rem; padding-block: 0.85rem; border-top: 1px solid var(--line); }
.meta-row:first-child { border-top: none; padding-top: 0; }
.meta-row dt { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; }
.meta-row dd { font-family: var(--f-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); }
.meta-reg { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); display: grid; gap: 0.45rem; font-family: var(--f-mono); font-size: 0.74rem; color: var(--ink-2); }
.meta-reg a { color: var(--accent); width: fit-content; }

/* ---- Credentials strip -------------------------------------------------- */
.creds { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.creds-inner { display: flex; flex-wrap: wrap; gap: 0.65rem 1.6rem; padding-block: 1rem; }
.cred { display: inline-flex; align-items: center; font-family: var(--f-mono); font-size: 0.73rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-2); }
.cred::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-right: 0.6rem; opacity: 0.55; }

/* ============================================================================
   SPLIT / POSITIONING
   ========================================================================== */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split--wide { grid-template-columns: 1fr 1fr; }
.split-l .h2 { margin-top: 0.85rem; }

.points { display: grid; margin-top: 2rem; }
.point { display: grid; grid-template-columns: auto 1fr; gap: 1.3rem; padding-block: 1.4rem; border-top: 1px solid var(--line); align-items: start; }
.point:last-child { border-bottom: 1px solid var(--line); }
.point-n { font-family: var(--f-mono); font-size: 0.85rem; color: var(--accent); padding-top: 0.3rem; }
.point h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.point p { color: var(--ink-2); font-size: 1rem; }

/* ============================================================================
   CAPABILITIES LIST
   ========================================================================== */
.cap-list { border-top: 1px solid var(--line); }
.cap {
    display: grid; grid-template-columns: auto 1fr auto auto; gap: 1.6rem;
    align-items: center; padding: 1.6rem 0; border-bottom: 1px solid var(--line);
    color: var(--ink); transition: padding 0.3s var(--ease), background 0.3s var(--ease);
}
.cap-i { font-family: var(--f-mono); font-size: 0.85rem; color: var(--ink-3); align-self: start; padding-top: 0.35rem; }
.cap-t { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.cap-d { color: var(--ink-2); font-size: 0.98rem; margin-top: 0.4rem; max-width: 62ch; }
.cap-tag { font-family: var(--f-mono); font-size: 0.73rem; color: var(--ink-3); text-align: right; white-space: nowrap; }
.cap-arw { color: var(--ink-3); transition: color 0.25s, transform 0.25s var(--ease); }
.cap-arw svg { width: 22px; height: 22px; }
a.cap:hover { padding-inline: 1.1rem; background: var(--accent-soft); }
a.cap:hover .cap-i { color: var(--accent); }
a.cap:hover .cap-arw { color: var(--accent); transform: translate(3px, -3px); }

/* ============================================================================
   APPROACH / STEPS
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
.step { position: relative; border-top: 2px solid var(--line-strong); padding-top: 1.5rem; }
.step::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); }
.step-n { font-family: var(--f-mono); font-size: 0.8rem; color: var(--ink-3); }
.step h3 { font-size: 1.25rem; margin: 0.5rem 0 0.5rem; }
.step p { color: var(--ink-2); font-size: 0.97rem; }

/* ============================================================================
   ENGAGEMENTS / CASES
   ========================================================================== */
.disclaimer {
    display: flex; gap: 0.7rem; align-items: flex-start;
    font-family: var(--f-mono); font-size: 0.82rem; line-height: 1.6; color: var(--ink-2);
    border: 1px dashed var(--line-2); border-radius: 8px; padding: 0.9rem 1.1rem; margin-bottom: 2.5rem;
}
.disclaimer svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--accent); margin-top: 1px; }

.cases { border-top: 1px solid var(--line); }
.case {
    display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1.2rem, 3vw, 2.5rem);
    padding: clamp(1.6rem, 3vw, 2.2rem) 0; border-bottom: 1px solid var(--line); align-items: start;
    transition: background 0.3s;
}
.case-i { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1; color: var(--ink-3); opacity: 0.55; transition: color 0.3s, opacity 0.3s; }
.case-body .overline--alt { margin-bottom: 0.7rem; }
.case-body h3 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); margin-bottom: 0.5rem; }
.case-body p { color: var(--ink-2); max-width: 62ch; }
.case-scope { font-family: var(--f-mono); font-size: 0.76rem; color: var(--ink-3); text-align: right; white-space: nowrap; align-self: start; padding-top: 0.4rem; }
.case:hover .case-i { color: var(--accent); opacity: 1; }

/* ============================================================================
   WHY
   ========================================================================== */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; }
.why { padding: clamp(1.6rem, 3vw, 2.3rem); border-top: 1px solid var(--line); }
.why:nth-child(even) { border-left: 1px solid var(--line); }
.why-mk { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--accent); color: #fff; }
.why:nth-child(even) .why-mk { background: var(--ink); color: var(--bg); }
.why-mk svg { width: 18px; height: 18px; }
.why h3 { font-size: 1.2rem; margin: 0.9rem 0 0.4rem; }
.why p { color: var(--ink-2); font-size: 0.98rem; }

/* ============================================================================
   METRICS BAND
   ========================================================================== */
.metrics { background: var(--ink); color: var(--bg); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric { padding: clamp(2rem, 4vw, 3.2rem) 1.5rem; border-left: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.metric:first-child { border-left: none; }
.metric-n { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -0.025em; }
.metric:nth-child(2) .metric-n, .metric:nth-child(3) .metric-n { color: var(--accent); }
.metric-l { font-family: var(--f-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.65rem; opacity: 0.72; }

/* ============================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 840px; margin-inline: auto; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.4rem 0; text-align: left; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.05rem, 2vw, 1.35rem); letter-spacing: -0.01em; }
.faq-ic { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.faq-ic svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.faq-item[data-open="true"] .faq-ic { background: var(--accent); border-color: var(--accent); color: #fff; }
.faq-item[data-open="true"] .faq-ic svg { transform: rotate(45deg); }
.faq-a { overflow: hidden; height: 0; transition: height 0.35s var(--ease); }
.faq-a-in { padding-bottom: 1.4rem; color: var(--ink-2); max-width: 66ch; }

/* ============================================================================
   CALLOUT
   ========================================================================== */
.callout {
    display: flex; align-items: center; justify-content: space-between; gap: 2rem;
    border: 1px solid var(--line); border-radius: 16px; background: var(--panel);
    padding: clamp(1.6rem, 3vw, 2.4rem);
}
.callout p { margin-top: 0.5rem; max-width: 52ch; }

/* ============================================================================
   PAGE HERO
   ========================================================================== */
.page-hero { padding-top: clamp(2.75rem, 6vw, 4.5rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.page-title { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.02; letter-spacing: -0.035em; margin-top: 0.9rem; max-width: 20ch; }
.page-hero .lead { margin-top: 1.2rem; }
.page-hero--center { text-align: center; }
.page-hero--center .overline { justify-content: center; }
.page-hero--center .lead { margin-inline: auto; }
.page-hero--center .btn-row { justify-content: center; }
.error-hero { min-height: 46vh; display: grid; align-content: center; }

/* ============================================================================
   ABOUT
   ========================================================================== */
.story { display: grid; gap: 1.2rem; max-width: 60ch; }
.story p { color: var(--ink-2); font-size: 1.08rem; line-height: 1.72; }
.story p:first-child::first-letter { font-family: var(--f-display); font-weight: 700; font-size: 3.2rem; float: left; line-height: 0.82; padding: 0.28rem 0.55rem 0 0; color: var(--accent); }

.about-lead { max-width: 46ch; margin: 0.85rem 0 1.5rem; }
.values { display: grid; grid-template-columns: 1fr 1fr; }
.value { padding: clamp(1.5rem, 3vw, 2.1rem); border-top: 1px solid var(--line); }
.value:nth-child(even) { border-left: 1px solid var(--line); }
.value-n { font-family: var(--f-mono); font-size: 0.85rem; color: var(--accent); }
.value h3 { font-size: 1.22rem; margin: 0.5rem 0 0.45rem; }
.value p { color: var(--ink-2); }

.team { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 0.5rem; }
.team-card { display: flex; align-items: center; gap: 1rem; border: 1px solid var(--line); border-radius: 12px; padding: 1.25rem; background: var(--panel); }
.team-ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.team-ic svg { width: 24px; height: 24px; }
.team-card h3 { font-size: 1.08rem; }
.team-role { font-family: var(--f-mono); font-size: 0.77rem; color: var(--ink-2); margin-top: 0.2rem; }
.team-note { font-family: var(--f-mono); font-size: 0.82rem; color: var(--ink-3); margin-top: 1.1rem; line-height: 1.6; }

.factsheet { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--panel); }
.fact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 1rem; padding: 0.95rem 1.4rem; border-top: 1px solid var(--line); }
.fact:first-child { border-top: none; }
.fact dt { font-family: var(--f-mono); font-size: 0.8rem; color: var(--ink-2); }
.fact dd { font-weight: 600; }
.fact dd a { color: var(--accent); border-bottom: 1px solid currentColor; }

/* ============================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1.3fr 0.85fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.form-wrap { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); padding: clamp(1.6rem, 3vw, 2.4rem); }
.form-wrap h3 { margin-bottom: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: 0.4rem; margin-bottom: 1rem; }
.field label { font-weight: 600; font-size: 0.9rem; }
.req { color: var(--ink-3); font-family: var(--f-mono); font-size: 0.78rem; font-weight: 400; }
.field input, .field select, .field textarea {
    background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
    padding: 0.8rem 0.9rem; width: 100%; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input.invalid, .field textarea.invalid { border-color: var(--danger); }
.field-err { color: var(--danger); font-family: var(--f-mono); font-size: 0.8rem; display: none; }
.field.has-error .field-err { display: block; }

.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 1rem; font-size: 0.88rem; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); }
.form-privacy { font-size: 0.86rem; color: var(--ink-2); margin-bottom: 1.2rem; }
.form-privacy a { color: var(--accent); border-bottom: 1px solid currentColor; }
.form-note { font-family: var(--f-mono); font-size: 0.76rem; color: var(--ink-3); margin-top: 1rem; line-height: 1.55; }
.form-success { display: none; background: color-mix(in srgb, var(--good) 12%, var(--bg)); border: 1px solid var(--good); color: var(--ink); border-radius: 8px; padding: 1rem 1.2rem; margin-bottom: 1.2rem; font-size: 0.94rem; }
.form-success.show { display: block; }

.contact-aside { display: grid; gap: 1rem; }
.info { border: 1px solid var(--line); border-radius: 13px; padding: 1.3rem 1.4rem; background: var(--panel); }
.info h4 { font-family: var(--f-mono); font-weight: 400; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); margin-bottom: 0.6rem; }
.info-gap { margin-top: 1.1rem; }
.info address { font-style: normal; line-height: 1.65; }
.info .lnk { color: var(--accent); border-bottom: 1px solid currentColor; display: inline-block; margin-top: 0.6rem; }
.info-meta { color: var(--ink-2); font-size: 0.94rem; line-height: 1.7; }
.verify { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.8rem; font-family: var(--f-mono); font-size: 0.8rem; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 0.4rem 0.8rem; transition: background 0.2s, color 0.2s; }
.verify:hover { background: var(--accent); color: #fff; }
.verify svg { width: 14px; height: 14px; }

/* ============================================================================
   LEGAL
   ========================================================================== */
.legal-updated { font-family: var(--f-mono); font-size: 0.82rem; color: var(--accent); letter-spacing: 0.04em; margin-top: 1.1rem; }
.legal { max-width: 780px; }
.legal-intro { font-size: 1.12rem; color: var(--ink); line-height: 1.62; padding-bottom: 1.8rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.legal-sec { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; padding-block: 1.5rem; border-top: 1px solid var(--line); }
.legal-sec:first-of-type { border-top: none; }
.legal-n { font-family: var(--f-mono); font-size: 0.9rem; color: var(--accent); padding-top: 0.2rem; }
.legal-sec h3 { font-size: 1.22rem; margin-bottom: 0.5rem; }
.legal-sec p { color: var(--ink-2); line-height: 1.72; }

/* ============================================================================
   FOOTER
   ========================================================================== */
.site-foot { border-top: 1px solid var(--line); background: var(--bg-2); }
.foot-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.foot-cta-title { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.6rem, 3.6vw, 2.7rem); letter-spacing: -0.025em; line-height: 1.05; max-width: 22ch; margin-top: 0.6rem; }

.foot-grid { display: grid; grid-template-columns: 1.9fr 1fr 1fr 1fr; gap: 2.5rem; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.brand--foot { margin-bottom: 1rem; }
.foot-tagline { color: var(--ink-2); max-width: 34ch; margin-bottom: 1.2rem; font-size: 0.96rem; }
.foot-id { font-family: var(--f-mono); font-size: 0.8rem; color: var(--ink-2); line-height: 1.95; font-style: normal; }
.foot-id a { color: var(--accent); }
.foot-col h5 { font-family: var(--f-mono); font-weight: 400; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); margin-bottom: 1rem; }
.foot-col { display: flex; flex-direction: column; gap: 0.6rem; }
.foot-col a { color: var(--ink-2); font-size: 0.96rem; width: fit-content; transition: color 0.2s; }
.foot-col a:hover { color: var(--accent); }

.foot-compliance { border-top: 1px solid var(--line); padding-block: 1.6rem; display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.foot-badge { font-family: var(--f-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--good); border: 1px solid var(--good); border-radius: 999px; padding: 0.35rem 0.75rem; white-space: nowrap; display: inline-flex; gap: 0.4rem; align-items: center; }
.foot-badge svg { width: 13px; height: 13px; }
.foot-compliance p { color: var(--ink-2); font-size: 0.86rem; line-height: 1.6; max-width: 94ch; }
.foot-bottom { border-top: 1px solid var(--line); padding-block: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-family: var(--f-mono); font-size: 0.78rem; color: var(--ink-2); }
.foot-bottom a { color: var(--accent); }

/* ============================================================================
   COOKIE
   ========================================================================== */
.cookie {
    position: fixed; left: 50%; bottom: 1.25rem; transform: translateX(-50%) translateY(190%);
    z-index: 200; width: min(580px, calc(100% - 2rem));
    background: var(--panel); border: 1px solid var(--line-strong); border-radius: 13px;
    box-shadow: var(--shadow); padding: 1.05rem 1.2rem;
    display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center;
    transition: transform 0.5s var(--ease);
}
.cookie.show { transform: translateX(-50%) translateY(0); }
.cookie-body strong { font-family: var(--f-display); font-size: 1rem; display: block; margin-bottom: 0.2rem; }
.cookie-body p { font-size: 0.85rem; color: var(--ink-2); line-height: 1.5; }
.cookie-body a { color: var(--accent); border-bottom: 1px solid currentColor; }
.cookie .btn { white-space: nowrap; padding: 0.7rem 1.2rem; }

/* ============================================================================
   REVEAL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.07s; }
.reveal[data-d="2"] { transition-delay: 0.14s; }
.reveal[data-d="3"] { transition-delay: 0.21s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; transition: none; } }

/* ============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1040px) {
    .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    .main-nav {
        position: fixed; inset: var(--head-h) 0 auto 0; flex-direction: column; align-items: stretch;
        gap: 0; margin: 0; background: var(--bg); border-bottom: 1px solid var(--line);
        padding: 0.5rem clamp(1.15rem, 4vw, 2.5rem) 1.5rem;
        transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform 0.25s var(--ease), opacity 0.25s;
        max-height: calc(100dvh - var(--head-h)); overflow-y: auto;
    }
    .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
    .main-nav > a { padding: 1rem 0.2rem; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
    .main-nav > a.active::after { display: none; }
    .nav-cta { display: none; }
    .nav-cta-m { display: inline-flex; margin-top: 1.1rem; }
    .burger { display: grid; }
    .hero-grid { grid-template-columns: 1fr; gap: 2.25rem; }
    .hero-meta { max-width: 440px; }
    .split, .split--wide { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .callout { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
    .cap { grid-template-columns: auto 1fr; gap: 0.4rem 1.2rem; }
    .cap-tag { grid-column: 2; text-align: left; padding-top: 0.6rem; }
    .cap-arw { display: none; }
    a.cap:hover { padding-inline: 0; background: none; }
    .case { grid-template-columns: auto 1fr; }
    .case-scope { grid-column: 2; text-align: left; padding-top: 0.8rem; }
    .why-grid, .values { grid-template-columns: 1fr; }
    .why:nth-child(even), .value:nth-child(even) { border-left: none; }
    .team { grid-template-columns: 1fr; }
    .metrics-grid { grid-template-columns: 1fr 1fr; }
    .metric:nth-child(3) { border-left: none; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .foot-compliance { grid-template-columns: 1fr; }
    .foot-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
    .brand-tag { display: none; }
    .steps { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .metrics-grid { grid-template-columns: 1fr; }
    .metric { border-left: none; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
    .metric:first-child { border-top: none; }
    .fact { grid-template-columns: 1fr; gap: 0.25rem; }
    .foot-grid { grid-template-columns: 1fr; }
    .cookie { grid-template-columns: 1fr; }
    .cookie .btn { width: 100%; }
}
