:root {
    --ink: #101219;
    --ink-2: #181b24;
    --paper: #f4efe7;
    --paper-2: #e8e0d5;
    --muted: #a7a3a0;
    --coral: #ff6d5f;
    --gold: #e6b35c;
    --line-dark: rgba(255, 255, 255, .14);
    --line-light: rgba(16, 18, 25, .16);
    --max: 1840px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: #fff; background: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; color: var(--ink); background: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { position: relative; z-index: 5; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; width: 100%; max-width: var(--max); min-width: 0; margin: auto; padding: 12px 28px; border-bottom: 1px solid var(--line-dark); }
.site-header > *, .site-header nav { min-width: 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo-frame { position: relative; display: block; flex: 0 0 auto; width: 132px; height: 79px; overflow: hidden; }
.brand-logo { position: absolute; top: -23px; left: -38px; width: 210px; max-width: none; height: auto; mix-blend-mode: screen; }
.site-header nav ul { display: flex; gap: 30px; margin: 0; padding: 0; list-style: none; }
.site-header nav a { padding: 10px 0; color: #bbbcc2; border-bottom: 1px solid transparent; text-decoration: none; font-size: 14px; }
.site-header nav a:hover, .site-header nav a:focus-visible, .site-header nav a.is-active { color: #fff; border-color: var(--coral); }
.site-header > .button { justify-self: end; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; color: #fff; background: var(--coral); border: 1px solid var(--coral); border-radius: 2px; text-decoration: none; white-space: nowrap; font-size: 14px; font-weight: 800; }
.button:hover, .button:focus-visible { color: var(--ink); background: #fff; border-color: #fff; }
.button-small { min-height: 42px; padding-inline: 18px; }
.button-light { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.eyebrow { margin: 0 0 18px; color: var(--coral); font-size: 12px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.035em; line-height: .98; }
h1 em, h2 em { color: var(--coral); font-weight: 400; }
.hero { max-width: var(--max); min-height: 690px; margin: auto; padding: 130px 28px 100px; background: radial-gradient(circle at 85% 15%, rgba(255,109,95,.16), transparent 31%), radial-gradient(circle at 65% 80%, rgba(230,179,92,.08), transparent 28%); }
.hero h1 { max-width: 1040px; margin-bottom: 34px; font-size: clamp(54px, 8.4vw, 116px); }
.hero-copy { max-width: 720px; color: #c5c5ca; font-size: clamp(18px, 2vw, 23px); }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 44px; }
.text-link { display: inline-flex; gap: 10px; color: inherit; text-underline-offset: 5px; font-weight: 800; }
.text-link span { color: var(--coral); }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); max-width: var(--max); margin: auto; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.metrics div { padding: 42px 28px; border-right: 1px solid var(--line-dark); }
.metrics div:last-child { border: 0; }
.metrics strong { display: block; margin-bottom: 10px; font-family: Georgia, serif; font-size: clamp(32px, 4vw, 54px); font-weight: 400; }
.metrics span { color: var(--muted); font-size: 14px; }
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; max-width: var(--max); margin: auto; padding: 130px 28px; }
.split-section h2 { max-width: 620px; font-size: clamp(42px, 5vw, 70px); }
.split-section > div:last-child { align-self: end; max-width: 560px; color: #bcbcc1; font-size: 18px; }
.split-section .text-link { margin-top: 18px; color: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); max-width: var(--max); margin: 0 auto 130px; border: 1px solid var(--line-dark); }
.feature-grid article { min-height: 300px; padding: 34px; border-right: 1px solid var(--line-dark); }
.feature-grid article:last-child { border: 0; }
.feature-grid h3 { margin-top: 80px; font-size: 24px; }
.feature-grid p { color: var(--muted); }
.feature-number { color: var(--coral); font-size: 12px; font-weight: 900; letter-spacing: .15em; }
.cta-panel { display: flex; align-items: end; justify-content: space-between; gap: 40px; max-width: calc(var(--max) - 56px); margin: 0 auto 110px; padding: 58px; color: #fff; background: var(--coral); }
.cta-panel .eyebrow { color: var(--ink); }
.cta-panel h2 { max-width: 780px; margin: 0; font-size: clamp(40px, 5vw, 64px); }
.page-intro { max-width: var(--max); margin: auto; padding: 100px 28px 0; }
.page-intro-inner { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .65fr); gap: 70px; align-items: end; padding-bottom: 100px; }
.page-intro-inner h1 { margin: 0; font-size: clamp(58px, 8vw, 108px); }
.page-intro-inner p { margin: 0 0 8px; color: #bdbdc2; font-size: 18px; }
.catalogue-section { max-width: var(--max); margin: 0 auto; padding: 90px 28px; color: var(--ink); background: var(--paper); }
.planned-section { background: var(--paper-2); }
.tools-section { color: #fff; background: var(--ink-2); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: end; margin: 0 auto 44px; }
.section-heading h2 { margin: 0; font-size: clamp(42px, 5vw, 66px); }
.section-heading > p { max-width: 580px; margin: 0; color: #625e5a; }
.tools-section .section-heading > p { color: var(--muted); }
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.brand-card { position: relative; display: flex; min-width: 0; min-height: 190px; overflow: hidden; color: var(--ink); background: rgba(255,255,255,.55); border: 1px solid var(--line-light); text-decoration: none; transition: transform .18s ease, background .18s ease; }
.brand-card:hover, .brand-card:focus-visible { z-index: 2; background: #fff; transform: translateY(-3px); }
.brand-art { display: grid; flex: 0 0 42%; min-width: 0; padding: 12px; place-items: center; background: #0e1016; }
.brand-art img { width: 100%; max-height: 150px; object-fit: contain; }
.brand-copy { padding: 23px 20px; }
.brand-copy h3 { margin: 10px 0 8px; font-size: 19px; line-height: 1.15; }
.brand-copy p { color: #6c6864; font-size: 13px; line-height: 1.4; }
.platform-functions { margin: 14px 0 0; padding: 0; list-style: none; }
.platform-functions li { position: relative; padding: 4px 0 4px 18px; color: #4a4642; font-size: 12px; line-height: 1.45; }
.platform-functions li::before { content: ''; position: absolute; left: 0; top: 11px; width: 8px; height: 1px; background: var(--coral); }
.status { color: #9b4a42; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.card-arrow { position: absolute; right: 14px; bottom: 10px; color: var(--coral); font-size: 20px; }
.tools-section .brand-card { color: #fff; background: rgba(255,255,255,.05); border-color: var(--line-dark); }
.process-section { max-width: var(--max); margin: auto; padding: 20px 28px 110px; }
.process-list { margin: 0; padding: 0; border-top: 1px solid var(--line-dark); list-style: none; }
.process-list li { display: grid; grid-template-columns: 100px 1fr; gap: 40px; padding: 48px 0; border-bottom: 1px solid var(--line-dark); }
.process-list > li > span { color: var(--coral); font-size: 12px; font-weight: 900; letter-spacing: .15em; }
.process-list h2 { margin-bottom: 12px; font-size: clamp(34px, 4vw, 54px); }
.process-list p { max-width: 700px; margin: 0; color: var(--muted); font-size: 17px; }
.principles-grid { display: grid; grid-template-columns: repeat(2, 1fr); max-width: var(--max); margin: 0 auto 110px; padding: 0 28px; }
.principles-grid article { min-height: 250px; padding: 38px; border: 1px solid var(--line-dark); margin: -1px 0 0 -1px; }
.principles-grid h2 { font-size: 36px; }
.principles-grid p { max-width: 520px; color: var(--muted); }
.evidence-section, .qualification { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; max-width: var(--max); margin: 0 auto 110px; padding: 80px 28px; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.evidence-section h2, .qualification h2 { font-size: clamp(42px, 5vw, 66px); }
.check-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.check-list li { padding: 17px 0; color: #d1d1d4; border-bottom: 1px solid var(--line-dark); }
.check-list li::before { content: "✓"; margin-right: 12px; color: var(--coral); }
.partner-grid, .contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); max-width: var(--max); margin: 0 auto 110px; padding: 0 28px; }
.partner-grid article, .contact-grid article { min-height: 330px; padding: 40px; border: 1px solid var(--line-dark); margin: -1px 0 0 -1px; }
.partner-grid article > span { color: var(--coral); font-size: 12px; font-weight: 900; }
.partner-grid h2, .contact-grid h2 { margin-top: 50px; font-size: 36px; }
.partner-grid p, .contact-grid p, .partner-grid li { color: var(--muted); }
.partner-grid ul { padding-left: 18px; }
.contact-form-section { display: grid; grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr); gap: 70px; max-width: var(--max); margin: 0 auto 110px; padding: 70px 28px; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.contact-form-section > div > h2 { max-width: 500px; font-size: clamp(42px, 5vw, 66px); }
.contact-form-section > div > p:last-child { max-width: 480px; color: var(--muted); }
.contact-form { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; align-content: start; padding: 34px; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 3px; box-shadow: 0 24px 60px rgba(0,0,0,.18); }
.form-row { display: grid; gap: 8px; }
.form-row-wide, .form-submit, .form-success, .form-errors { grid-column: 1 / -1; }
.form-row label { display: flex; justify-content: space-between; gap: 12px; color: #e5e5e7; font-size: 13px; font-weight: 800; }
.form-row label span { color: var(--muted); font-weight: 400; }
.form-row input, .form-row select, .form-row textarea { width: 100%; min-width: 0; min-height: 52px; padding: 14px 15px; color: #fff; background: #11131a; border: 1px solid rgba(255,255,255,.24); border-radius: 2px; font: inherit; transition: border-color .18s ease, background .18s ease; }
.form-row select { color-scheme: dark; }
.form-row textarea { min-height: 190px; resize: vertical; }
.form-row input:hover, .form-row select:hover, .form-row textarea:hover { border-color: rgba(255,255,255,.42); }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 2px solid var(--gold); outline-offset: 2px; border-color: var(--gold); }
.form-submit { display: flex; align-items: center; gap: 24px; padding-top: 4px; }
.form-submit .button { flex: 0 0 auto; cursor: pointer; font: inherit; }
.form-submit p { margin: 0; color: var(--muted); font-size: 13px; }
.form-success, .form-errors { margin: 0; padding: 16px 18px; color: var(--ink); background: #b8e6ca; border-left: 4px solid #4a9e69; }
.form-errors { background: #ffd5d0; border-color: var(--coral); }
.form-errors ul { margin-bottom: 0; }
.form-trap { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.qualification > div:last-child { align-self: end; color: var(--muted); }
.qualification .button { margin-top: 20px; }
.notice { max-width: calc(var(--max) - 56px); margin: 0 auto 60px; padding: 24px 28px; color: #241b10; background: var(--gold); border-left: 5px solid #fff; }
.notice strong { font-size: 18px; }
.notice p { margin: 5px 0 0; }
.legal-intro { padding-bottom: 60px; }
.legal-copy { max-width: 860px; margin: 0 auto 110px; padding: 0 28px; }
.legal-copy h2 { margin: 50px 0 16px; font-size: 38px; }
.legal-copy p { color: #c6c6ca; font-size: 17px; }
.legal-copy h3 { margin: 28px 0 9px; color: #fff; font-size: 17px; }
.legal-copy li { margin: 8px 0; color: #c6c6ca; font-size: 16px; }
.legal-copy a { text-underline-offset: 4px; }
.legal-meta { margin-bottom: 24px; color: var(--coral) !important; font-size: 13px !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.legal-summary { margin-bottom: 62px; color: #fff !important; font-family: Georgia, "Times New Roman", serif; font-size: clamp(25px, 3vw, 34px) !important; line-height: 1.25; }
.legal-callout, .cookie-status { margin: 28px 0; padding: 22px 24px; color: #fff !important; background: var(--ink-2); border-left: 4px solid var(--coral); }
.cookie-status { display: grid; gap: 7px; }
.cookie-status span { color: var(--muted); }
.site-footer { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 50px; max-width: var(--max); margin: auto; padding: 75px 28px 32px; border-top: 1px solid var(--line-dark); }
.site-footer h2 { margin-bottom: 18px; font-family: inherit; font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.site-footer > div > a:not(.brand) { display: block; margin: 9px 0; color: var(--muted); text-decoration: none; font-size: 14px; }
.site-footer > div > a:hover { color: #fff; }
.footer-brand { align-items: flex-start; flex-direction: column; gap: 16px; }
.footer-brand .brand-logo-frame { width: 158px; height: 94px; }
.footer-brand .brand-logo { top: -28px; left: -46px; width: 252px; }
.footer-brand small { display: block; }
.footer-brand small { max-width: 260px; margin-top: 7px; color: var(--muted); font-size: 13px; }
.footer-base { display: flex; justify-content: space-between; grid-column: 1 / -1; margin: 40px 0 0; padding-top: 24px; color: #777980; border-top: 1px solid var(--line-dark); font-size: 12px; }
.footer-identity { max-width: 680px; text-align: right; }

@media (max-width: 980px) {
    .site-header { grid-template-columns: 1fr auto; }
    .site-header nav { grid-column: 1 / -1; grid-row: 2; }
    .site-header nav ul { justify-content: space-between; }
    .brand-grid { grid-template-columns: repeat(2, 1fr); }
    .site-footer { grid-template-columns: repeat(3, 1fr); }
    .site-footer > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
    .site-header { padding: 18px 20px; }
    .site-brand .brand-logo-frame { width: 104px; height: 62px; }
    .site-brand .brand-logo { top: -18px; left: -30px; width: 165px; }
    .site-header nav { width: 100%; overflow: visible; }
    .site-header nav ul { flex-wrap: wrap; justify-content: flex-start; gap: 4px 18px; min-width: 0; }
    .site-header > .button { padding: 0 13px; font-size: 12px; }
    .hero { min-height: auto; padding: 90px 22px 70px; }
    .hero h1 { max-width: 100%; overflow-wrap: break-word; font-size: 48px; }
    .hero-actions { align-items: flex-start; flex-direction: column; }
    .metrics, .split-section, .page-intro-inner, .section-heading, .evidence-section, .qualification, .contact-form-section { grid-template-columns: 1fr; }
    .metrics div { border-right: 0; border-bottom: 1px solid var(--line-dark); }
    .split-section { gap: 30px; padding: 85px 22px; }
    .feature-grid, .brand-grid, .principles-grid, .partner-grid, .contact-grid { grid-template-columns: 1fr; }
    .feature-grid { margin-inline: 22px; }
    .feature-grid article { border-right: 0; border-bottom: 1px solid var(--line-dark); }
    .cta-panel { align-items: flex-start; flex-direction: column; margin-inline: 22px; padding: 34px; }
    .page-intro { padding: 70px 22px 0; }
    .page-intro-inner { gap: 30px; padding-bottom: 70px; }
    .page-intro-inner h1 { font-size: 52px; }
    .catalogue-section { padding: 70px 22px; }
    .brand-card { min-height: 170px; }
    .process-list li { grid-template-columns: 48px 1fr; gap: 16px; }
    .principles-grid, .partner-grid, .contact-grid { padding-inline: 22px; }
    .principles-grid article, .partner-grid article, .contact-grid article { min-height: auto; padding: 30px; }
    .contact-form-section { gap: 35px; margin-bottom: 80px; padding: 60px 22px; }
    .contact-form { grid-template-columns: 1fr; padding: 24px; }
    .form-row-wide, .form-submit, .form-success, .form-errors { grid-column: auto; }
    .form-submit { align-items: flex-start; flex-direction: column; }
    .site-footer { grid-template-columns: 1fr 1fr; padding-inline: 22px; }
    .site-footer > div:first-child { grid-column: 1 / -1; }
    .footer-base { align-items: flex-start; flex-direction: column; gap: 8px; }
    .footer-identity { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* ─── Unified site header (corp + manage + auth) ─── */
.site-header { position: relative; z-index: 5; display: flex; align-items: center; gap: 24px; width: 100%; max-width: var(--max); min-width: 0; margin: auto; padding: 12px 28px; border-bottom: 1px solid var(--line-dark); }
.site-header > .site-brand { flex: 0 0 auto; }
.site-header > nav { flex: 0 0 auto; display: flex; min-width: 0; margin-left: auto; }
.site-header nav ul { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; align-items: center; flex-wrap: nowrap; }
.site-header nav li.nav-divider { width: 1px; height: 22px; background: var(--line-dark); padding: 0; margin: 0 4px; flex: 0 0 auto; }
.site-header nav a { padding: 10px 0; color: #bbbcc2; border-bottom: 1px solid transparent; text-decoration: none; font-size: 14px; white-space: nowrap; }
.site-header nav a:hover, .site-header nav a:focus-visible, .site-header nav a.is-active { color: #fff; border-color: var(--coral); }
.site-header-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; }
.site-header-actions > * { flex: 0 0 auto; }
.site-header-actions .nav-user { color: #cbd5e1; font-size: 12px; padding: 0; border: 0; background: transparent; white-space: nowrap; opacity: .7; }
.site-header-actions .nav-logout-form { margin: 0; display: inline-flex; flex: 0 0 auto; }
.site-header-actions .button-small { min-height: 38px; padding-inline: 14px; }
.button-ghost { background: transparent !important; border-color: var(--line-dark) !important; color: #fff !important; }
.button-ghost:hover, .button-ghost:focus-visible { background: #fff !important; color: var(--ink) !important; border-color: #fff !important; }

/* ─── Auth pages (login / register / password reset / verify / confirm) ─── */
main .auth-card { max-width: 460px; margin: 80px auto; padding: 32px; background: #181b24; border: 1px solid var(--line-dark); border-radius: 2px; }
.auth-card-head h1 { margin: 6px 0 4px; font-size: 32px; }
.auth-card-head .eyebrow { color: var(--coral); margin: 0; }
.auth-card-sub { color: #bdbdc2; margin: 0 0 18px; font-size: 14px; }
.auth-status { padding: 10px 14px; margin-bottom: 16px; background: rgba(102,187,106,.12); border: 1px solid rgba(102,187,106,.4); color: #c8e6c9; font-size: 13px; border-radius: 2px; }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-field > span { font-size: 13px; color: #bdbdc2; }
.auth-field input { padding: 10px 12px; background: var(--ink); border: 1px solid var(--line-dark); border-radius: 2px; color: #fff; font-size: 15px; font-family: inherit; }
.auth-field input:focus { outline: none; border-color: var(--coral); }
.auth-err { color: #ff8a80; font-size: 12px; }
.auth-check { display: inline-flex; align-items: center; gap: 8px; color: #bdbdc2; font-size: 13px; }
.auth-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.auth-actions .auth-link { color: #bdbdc2; font-size: 13px; text-decoration: underline; text-underline-offset: 2px; }
.auth-actions .auth-link:hover { color: #fff; }

/* ─── Flash notifications (errors + success, floating top-right) ─── */
.flash-stack {
    position: fixed;
    top: 88px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: min(440px, calc(100vw - 48px));
    pointer-events: none;
}
.flash-card {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    color: #fff;
    border-radius: 4px;
    box-shadow: 0 12px 36px rgba(0,0,0,.42), 0 2px 6px rgba(0,0,0,.3);
    font-size: 14px;
    line-height: 1.4;
    animation: flash-in .22s ease-out both;
}
.flash-card.flash-error   { background: #b91c1c; border: 1px solid #ef4444; }
.flash-card.flash-success { background: #166534; border: 1px solid #22c55e; }
.flash-tag {
    display: inline-block;
    padding: 2px 8px;
    margin-right: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0,0,0,.32);
    border-radius: 2px;
    flex: 0 0 auto;
    line-height: 1.6;
}
.flash-body { flex: 1 1 auto; min-width: 0; }
.flash-line + .flash-line { margin-top: 4px; }
.flash-close {
    flex: 0 0 auto;
    appearance: none;
    background: transparent;
    border: 0;
    color: rgba(255,255,255,.85);
    font-size: 22px;
    line-height: 1;
    padding: 0 4px;
    cursor: pointer;
    border-radius: 2px;
}
.flash-close:hover, .flash-close:focus-visible { color: #fff; background: rgba(0,0,0,.32); outline: none; }
.flash-card.is-leaving { animation: flash-out .18s ease-in both; }
@keyframes flash-in  { from { transform: translateY(-12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes flash-out { from { transform: translateY(0);     opacity: 1; } to { transform: translateY(-12px); opacity: 0; } }
@media (max-width: 700px) {
    .flash-stack { top: 110px; right: 12px; left: 12px; max-width: none; }
}

/* ─── Manage page content (when using corp layout) ─── */
main .manage-page-header { max-width: var(--max); margin: 0 auto 24px; padding: 0 28px; }
main .manage-page-header h1 { margin: 24px 0 4px; font-size: 28px; }
main .manage-page-header .eyebrow { color: var(--coral); margin: 0; font-size: 13px; }

@media (max-width: 1100px) {
    .site-header { flex-wrap: wrap; row-gap: 10px; padding: 12px 20px; }
    .site-header > nav { order: 3; flex-basis: 100%; justify-content: flex-start; }
    .site-header nav ul { flex-wrap: wrap; gap: 12px 18px; }
    .site-header-actions { justify-content: flex-end; }
}
@media (max-width: 700px) {
    .site-header > nav ul { gap: 8px 14px; }
    .site-header-actions { gap: 8px; }
    .site-header-actions .button-small { min-height: 36px; padding-inline: 12px; font-size: 13px; }
    main .auth-card { margin: 32px 16px; padding: 22px; }
}

/* --- Platform applications: editorial blocks, not brand cards --- */
.platforms-section .section-heading { margin-bottom: 60px; }
.platform-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--line-light, #d9d4cb);
}
.platform-block {
    padding: 36px 38px 44px;
    border-bottom: 1px solid var(--line-light, #d9d4cb);
    border-right: 1px solid var(--line-light, #d9d4cb);
    color: var(--ink, #211f1c);
    background: transparent;
}
.platform-block:last-child { border-right: 0; }
.platform-kind {
    margin: 0 0 14px;
    color: var(--coral, #f25b3a);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.platform-block h3 {
    margin: 0 0 12px;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.platform-block h3 a { color: inherit; text-decoration: none; }
.platform-block h3 a:hover,
.platform-block h3 a:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.platform-blurb { margin: 0 0 22px; max-width: 52ch; color: #4a4642; font-size: 15px; line-height: 1.55; }
.platform-functions {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 28px;
}
.platform-functions li {
    position: relative;
    padding: 4px 0 4px 18px;
    color: #4a4642;
    font-size: 13px;
    line-height: 1.4;
}
.platform-functions li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 1px;
    background: var(--coral, #f25b3a);
}
@media (max-width: 900px) {
    .platform-grid { grid-template-columns: 1fr; }
    .platform-block { border-right: 0; padding: 30px 8px; }
    .platform-functions { grid-template-columns: 1fr; }
}
