/* NewsFlow standalone public site — independent media operations identity */
:root {
    --ink: #101820;
    --ink-soft: #27343d;
    --navy: #102536;
    --navy-deep: #091824;
    --paper: #f3f0e8;
    --paper-deep: #e9e3d6;
    --white: #fffdf8;
    --line: #d8d2c6;
    --line-dark: rgba(255, 255, 255, .16);
    --muted: #6c7478;
    --signal: #c94624;
    --signal-dark: #a93418;
    --teal: #42b9b2;
    --max: 1200px;
    --shadow: 0 24px 70px rgba(7, 20, 30, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Pretendard", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
.sr-only, .skip-link:not(:focus) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.skip-link:focus {
    position: fixed;
    z-index: 1000;
    left: 16px;
    top: 12px;
    padding: 12px 16px;
    background: var(--white);
    color: var(--ink);
    border: 2px solid var(--signal);
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid rgba(16, 24, 32, .12);
    background: rgba(243, 240, 232, .94);
    backdrop-filter: blur(14px);
}
.header-inner, .footer-inner, .section-inner, .hero-grid {
    width: min(calc(100% - 48px), var(--max));
    margin-inline: auto;
}
.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-height: 46px;
}
.wordmark-symbol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 42px;
    height: 42px;
    overflow: hidden;
    border-radius: 4px;
    background: var(--navy);
}
.wordmark-symbol i {
    display: grid;
    place-items: center;
    color: var(--white);
    font: 800 15px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
    font-style: normal;
}
.wordmark-symbol i:first-child { background: var(--signal); }
.wordmark > span:last-child { display: flex; flex-direction: column; line-height: 1.05; }
.wordmark strong { font-size: 19px; letter-spacing: -.04em; }
.wordmark small { margin-top: 5px; color: #5b6568; font: 700 8px/1 ui-monospace, monospace; letter-spacing: .18em; }
.site-nav { display: flex; align-items: center; gap: 29px; }
.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 14px;
    font-weight: 650;
}
.site-nav a:not(.nav-cta):hover { color: var(--signal-dark); }
.site-nav .nav-cta {
    padding: 0 19px;
    border-radius: 3px;
    background: var(--navy);
    color: var(--white);
}
.site-nav .nav-cta:hover { background: var(--signal-dark); }
.menu-toggle { display: none; }

.hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, transparent 49.9%, rgba(16, 37, 54, .065) 50%, transparent 50.1%),
        repeating-linear-gradient(0deg, transparent 0 47px, rgba(16, 37, 54, .035) 48px),
        var(--paper);
}
.hero::before {
    content: "NEWSFLOW";
    position: absolute;
    right: -28px;
    top: 6%;
    color: rgba(16, 37, 54, .035);
    font: 800 clamp(90px, 15vw, 220px)/1 ui-monospace, monospace;
    letter-spacing: -.08em;
    writing-mode: vertical-rl;
    pointer-events: none;
}
.hero-grid {
    position: relative;
    min-height: 760px;
    padding-block: 86px 92px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
    align-items: center;
    gap: clamp(48px, 7vw, 92px);
}
.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 23px;
    color: var(--signal-dark);
    font: 750 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: .18em;
}
.eyebrow span { width: 26px; height: 2px; background: currentColor; }
.eyebrow.light { color: #f6a58c; }
.eyebrow.dark { color: var(--signal-dark); }
.hero h1 {
    max-width: 760px;
    margin-bottom: 28px;
    font-size: clamp(46px, 5.15vw, 74px);
    font-weight: 670;
    line-height: 1.09;
    letter-spacing: -.065em;
    word-break: keep-all;
}
.hero h1 em { color: var(--signal-dark); font-style: normal; }
.hero-lead {
    max-width: 650px;
    margin-bottom: 34px;
    color: #4c585f;
    font-size: 17px;
    line-height: 1.85;
    word-break: keep-all;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button {
    min-height: 50px;
    padding: 0 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border: 1px solid transparent;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 750;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--signal); color: var(--white); }
.button-primary:hover { background: var(--signal-dark); }
.button-secondary { border-color: rgba(16, 24, 32, .28); background: rgba(255,255,255,.35); }
.button-secondary:hover { border-color: var(--ink); }
.proof-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin: 33px 0 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
}
.proof-strip li { display: flex; align-items: center; gap: 8px; }
.proof-strip span { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

.operations-panel {
    background: var(--navy-deep);
    color: var(--white);
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: var(--shadow);
}
.panel-head {
    min-height: 88px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--line-dark);
}
.panel-head > div { display: flex; flex-direction: column; }
.panel-kicker { margin-bottom: 5px; color: #7f919e; font: 700 10px/1.2 ui-monospace, monospace; letter-spacing: .16em; }
.panel-head strong { font-size: 15px; }
.live-badge { color: #f6a58c; font: 700 10px/1 ui-monospace, monospace; letter-spacing: .08em; white-space: nowrap; }
.live-badge i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 5px rgba(240, 100, 59, .1); }
.run-list { margin: 0; padding: 0; list-style: none; }
.run-list li {
    min-height: 73px;
    padding: 13px 20px;
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--line-dark);
}
.run-no { color: #8da0aa; font: 600 11px/1 ui-monospace, monospace; }
.run-list li > span:nth-child(2) { display: flex; flex-direction: column; }
.run-list strong { font-size: 14px; }
.run-list small { margin-top: 4px; color: #8095a1; font: 650 9px/1 ui-monospace, monospace; letter-spacing: .1em; }
.run-list b { color: #73c9c3; font: 650 10px/1 ui-monospace, monospace; }
.panel-foot {
    padding: 18px 20px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 7px 15px;
    background: #0d1e2b;
    font-size: 11px;
}
.panel-foot span { color: #8095a1; }
.panel-foot strong { color: #b8c5cd; font-weight: 600; }

.media-band { background: var(--signal); color: var(--white); }
.band-grid {
    min-height: 270px;
    padding-block: 57px;
    display: grid;
    grid-template-columns: .45fr 1.2fr .75fr;
    align-items: center;
    gap: 48px;
}
.band-grid > p:first-child { font: 800 12px/1.3 ui-monospace, monospace; letter-spacing: .16em; }
.band-grid h2 { margin: 0; font-size: clamp(30px, 3.3vw, 47px); font-weight: 500; line-height: 1.25; letter-spacing: -.045em; word-break: keep-all; }
.band-grid h2 strong { font-weight: 800; }
.band-grid > p:last-child { margin: 0; color: var(--white); font-size: 14px; line-height: 1.8; word-break: keep-all; }

.section { padding-block: clamp(90px, 10vw, 145px); }
.product-section, .evidence-section, .proof-section { background: var(--white); }
.section-heading { margin-bottom: 58px; }
.section-heading h2, .pricing-intro h2, .proof-layout h2, .faq-layout h2, .closing-inner h2 {
    margin-bottom: 0;
    font-size: clamp(38px, 4.7vw, 64px);
    font-weight: 630;
    line-height: 1.16;
    letter-spacing: -.06em;
    word-break: keep-all;
}
.split-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: end; }
.split-heading > p { margin-bottom: 3px; color: var(--muted); font-size: 15px; line-height: 1.8; word-break: keep-all; }
.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.module-card {
    position: relative;
    min-height: 440px;
    padding: 32px 27px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--white);
    transition: background .2s ease, transform .2s ease;
}
.module-card:hover { z-index: 1; background: #f8f5ee; transform: translateY(-4px); }
.module-no { color: var(--signal-dark); font: 700 10px/1 ui-monospace, monospace; letter-spacing: .12em; }
.module-icon {
    width: 58px;
    height: 58px;
    margin: 58px 0 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font: 700 18px/1 ui-monospace, monospace;
}
.module-card h3 { margin-bottom: 15px; font-size: 20px; letter-spacing: -.025em; }
.module-card > p { min-height: 110px; color: #5c656a; font-size: 14px; line-height: 1.78; word-break: keep-all; }
.module-card ul { margin: 22px 0 0; padding: 19px 0 0; border-top: 1px solid var(--line); list-style: none; }
.module-card li { margin-top: 6px; color: var(--ink-soft); font-size: 12px; }
.module-card li::before { content: "—"; margin-right: 7px; color: var(--signal); }

.workflow-section { overflow: hidden; background: var(--navy); color: var(--white); }
.workflow-section .section-heading h2 { max-width: 850px; }
.architecture {
    display: grid;
    grid-template-columns: 1fr 70px 1.6fr 70px 1fr;
    align-items: center;
    margin-top: 70px;
}
.architecture-node {
    min-height: 180px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--line-dark);
    background: rgba(255,255,255,.035);
}
.architecture-node span { margin-bottom: 16px; color: #7e96a6; font: 700 10px/1 ui-monospace, monospace; letter-spacing: .15em; }
.architecture-node strong { font-size: 20px; }
.architecture-node small { margin-top: 9px; color: #8da0ad; font-size: 12px; }
.architecture-arrow { color: var(--signal); text-align: center; font: 300 33px/1 ui-monospace, monospace; }
.engine-node { min-height: 278px; padding: 28px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.engine-brand { display: flex; align-items: center; gap: 16px; }
.engine-brand i { width: 56px; height: 56px; display: grid; place-items: center; background: var(--signal); color: var(--white); font: 800 16px/1 ui-monospace, monospace; font-style: normal; }
.engine-brand span { display: flex; flex-direction: column; }
.engine-brand strong { font-size: 23px; }
.engine-brand small { margin-top: 4px; color: #5b6568; font: 700 9px/1 ui-monospace, monospace; letter-spacing: .14em; }
.engine-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 33px; background: var(--line); border: 1px solid var(--line); }
.engine-grid span { min-height: 61px; padding: 20px; background: var(--white); font: 700 11px/1.3 ui-monospace, monospace; letter-spacing: .1em; }
.boundary-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 70px; border-left: 1px solid var(--line-dark); border-top: 1px solid var(--line-dark); }
.boundary-grid article { min-height: 220px; padding: 27px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.boundary-grid article.accent { background: rgba(240,100,59,.11); }
.boundary-grid span { color: #8da0ad; font: 700 10px/1 ui-monospace, monospace; letter-spacing: .13em; }
.boundary-grid h3 { margin: 38px 0 15px; font-size: 18px; }
.boundary-grid p { margin: 0; color: #8da0ad; font-size: 13px; line-height: 1.75; word-break: keep-all; }

.evidence-heading { margin-bottom: 35px; }
.snapshot-status { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.snapshot-status i { width: 8px; height: 8px; border-radius: 50%; background: #809096; }
.snapshot-status.is-live i { background: var(--teal); box-shadow: 0 0 0 5px rgba(66,185,178,.12); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.metric-grid > div { min-height: 210px; padding: 31px 25px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric-grid dd[data-metric] { order: -1; margin: 0 0 21px; font: 500 clamp(40px, 4vw, 58px)/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.07em; }
.metric-grid dt { color: var(--signal-dark); font: 750 10px/1.2 ui-monospace, monospace; letter-spacing: .13em; }
.metric-grid .metric-caption { margin: 12px 0 0; color: #5b6568; font-size: 12px; }
.evidence-note { max-width: 920px; margin: 25px 0 0; color: var(--muted); font-size: 12px; }

.pricing-section { background: var(--paper-deep); }
.pricing-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(60px, 9vw, 125px); align-items: start; }
.pricing-intro { position: sticky; top: 130px; }
.pricing-intro > p:not(.eyebrow) { margin: 28px 0 25px; color: #58605e; font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 750; }
.price-board { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); }
.price-card { padding: 30px 30px 40px; border-right: 1px solid #c8bfaf; border-bottom: 1px solid #c8bfaf; }
.price-card:nth-child(2) { border-right: 0; }
.price-card > span, .price-total > span { color: #7a4d3e; font: 750 10px/1.2 ui-monospace, monospace; letter-spacing: .13em; }
.price-card > strong { display: block; margin: 22px 0 8px; font: 500 clamp(38px, 4vw, 53px)/1 ui-monospace, monospace; letter-spacing: -.07em; white-space: nowrap; }
.price-card > strong small { font-size: .5em; font-weight: 650; }
.price-card > p { color: #7a4d3e; font-size: 12px; }
.price-card h3 { margin: 36px 0 15px; font-size: 16px; }
.price-card ul { margin: 0; padding: 0; list-style: none; }
.price-card li { margin-top: 8px; color: #4f5553; font-size: 12px; word-break: keep-all; }
.price-card li::before { content: "—"; margin-right: 7px; }
.price-total { grid-column: 1 / -1; padding: 25px 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #c8bfaf; }
.price-total strong { font-size: 23px; letter-spacing: -.04em; }

.proof-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(65px, 10vw, 130px); align-items: start; }
.proof-layout > div > p:last-child { max-width: 580px; margin-top: 28px; color: var(--muted); font-size: 14px; line-height: 1.9; word-break: keep-all; }
.proof-list { margin: 0; border-top: 2px solid var(--ink); }
.proof-list > div { min-height: 74px; padding: 18px 0; display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 22px; border-bottom: 1px solid var(--line); }
.proof-list dt { color: var(--muted); font-size: 12px; }
.proof-list dd { margin: 0; font-size: 14px; font-weight: 650; }
.proof-list a { display: inline-flex; gap: 12px; border-bottom: 1px solid var(--ink); }

.faq-section { background: var(--navy-deep); color: var(--white); }
.faq-layout { display: grid; grid-template-columns: .58fr 1.42fr; gap: 90px; }
.faq-list { border-top: 1px solid var(--line-dark); }
.faq-list details { border-bottom: 1px solid var(--line-dark); }
.faq-list summary { min-height: 78px; padding: 24px 45px 24px 0; display: flex; align-items: center; position: relative; cursor: pointer; font-size: 16px; font-weight: 650; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; color: var(--signal); font: 300 28px/1 ui-monospace, monospace; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 720px; margin: -4px 0 24px; color: #91a3af; font-size: 14px; line-height: 1.85; word-break: keep-all; }

.closing-section { padding-block: 100px; background: var(--signal); color: var(--white); }
.closing-inner { display: grid; grid-template-columns: .45fr 1.2fr .65fr; gap: 45px; align-items: center; }
.closing-inner > p { font: 750 10px/1.4 ui-monospace, monospace; letter-spacing: .14em; }
.closing-inner h2 { font-size: clamp(37px, 4vw, 55px); }
.closing-inner > div { display: flex; flex-direction: column; gap: 8px; }
.button-light { background: var(--white); color: var(--ink); }
.button-outline { border-color: rgba(255,255,255,.65); color: var(--white); }
.button-light:hover { background: var(--navy); color: var(--white); }

.site-footer { padding: 64px 0 44px; background: var(--paper); }
.footer-inner { display: grid; grid-template-columns: minmax(260px, 1fr) auto; gap: 38px 70px; align-items: start; }
.footer-brand { max-width: 490px; }
.wordmark-footer { align-self: start; }
.footer-brand > p { margin: 18px 0 0; color: #5b6568; font-size: 13px; }
.footer-nav { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px 24px; font-size: 13px; font-weight: 650; }
.footer-nav a { min-height: 30px; display: inline-flex; align-items: center; }
.footer-nav a:hover, .footer-nav a[aria-current="page"] { color: var(--signal-dark); }
.company-disclosure { grid-column: 1 / -1; padding: 30px 0 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.company-disclosure h2 { margin: 0 0 15px; color: var(--ink); font-size: 12px; letter-spacing: -.01em; }
.company-disclosure dl { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.company-disclosure dl > div { display: flex; align-items: baseline; }
.company-disclosure dl > div:not(:last-child)::after { content: ""; width: 1px; height: 10px; margin: 0 14px; background: #c8c1b5; }
.company-disclosure dt { margin-right: 6px; color: #626a69; }
.company-disclosure dd { margin: 0; color: #4f585b; }
.company-disclosure a { border-bottom: 1px solid #a9aaa5; }
.footer-inner > small { grid-column: 1 / -1; color: #626a69; font-size: 10px; }

/* Shared legal pages */
.legal-header .legal-back { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; }
.legal-header .legal-back:hover { color: var(--signal-dark); }
.legal-title { padding: 92px 0 84px; background: var(--navy-deep); color: var(--white); }
.legal-title h1 { margin: 22px 0 26px; font-size: clamp(48px, 6vw, 78px); line-height: 1.02; letter-spacing: -.065em; }
.legal-title .section-inner > p:not(.eyebrow) { max-width: 760px; margin-bottom: 32px; color: #b8c4ca; font-size: 16px; line-height: 1.85; word-break: keep-all; }
.legal-meta { margin: 0; display: flex; flex-wrap: wrap; gap: 20px 34px; }
.legal-meta > div { display: flex; gap: 10px; font-size: 11px; }
.legal-meta dt { color: #81949f; }
.legal-meta dd { margin: 0; font-weight: 700; }
.legal-layout { padding-block: 88px 120px; display: grid; grid-template-columns: 260px minmax(0, 820px); justify-content: space-between; gap: clamp(60px, 9vw, 130px); align-items: start; }
.legal-summary { position: sticky; top: 118px; padding: 26px 24px; border-top: 3px solid var(--signal); background: var(--paper-deep); }
.legal-summary strong { display: block; margin-bottom: 13px; font-size: 14px; }
.legal-summary p { margin-bottom: 20px; color: #586164; font-size: 12px; line-height: 1.8; word-break: keep-all; }
.legal-summary a { display: inline-flex; min-height: 36px; align-items: center; border-bottom: 1px solid var(--ink); font-size: 12px; font-weight: 750; }
.legal-content { min-width: 0; }
.legal-content > section { padding: 0 0 54px; margin-bottom: 54px; border-bottom: 1px solid var(--line); }
.legal-content > section:last-child { margin-bottom: 0; }
.legal-content h2 { margin: 0 0 22px; font-size: clamp(23px, 2.4vw, 31px); line-height: 1.35; letter-spacing: -.045em; }
.legal-content p, .legal-content li { color: #4f595d; font-size: 14px; line-height: 1.95; word-break: keep-all; }
.legal-content ul, .legal-content ol { margin: 0; padding-left: 22px; }
.legal-content li + li { margin-top: 9px; }
.legal-note { margin-top: 22px; padding: 18px 20px; border-left: 3px solid var(--teal); background: var(--white); }
.legal-table-wrap { max-width: 100%; overflow-x: auto; border-top: 2px solid var(--ink); }
.legal-content table { width: 100%; min-width: 690px; border-collapse: collapse; text-align: left; }
.legal-content th, .legal-content td { padding: 16px 15px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 12px; line-height: 1.7; }
.legal-content th { color: var(--ink); background: var(--paper-deep); }
.legal-content td { color: #566064; }
.legal-content th:first-child, .legal-content td:first-child { width: 18%; font-weight: 700; color: var(--ink); }
.legal-contact { margin: 0 0 22px; border-top: 2px solid var(--ink); }
.legal-contact > div { min-height: 54px; padding: 13px 0; display: grid; grid-template-columns: 170px 1fr; gap: 20px; align-items: center; border-bottom: 1px solid var(--line); font-size: 13px; }
.legal-contact dt { color: var(--muted); }
.legal-contact dd { margin: 0; font-weight: 650; }
.legal-contact a { border-bottom: 1px solid var(--ink); }
.legal-footer { background: var(--white); }

a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }

@media (max-width: 1023px) {
    .hero-grid { min-height: 0; grid-template-columns: 1fr; padding-block: 70px 84px; }
    .hero-copy { max-width: 780px; }
    .operations-panel { width: min(100%, 720px); }
    .band-grid { grid-template-columns: .45fr 1.2fr; }
    .band-grid > p:last-child { grid-column: 2; }
    .module-grid { grid-template-columns: 1fr 1fr; }
    .module-card { min-height: 390px; }
    .architecture { grid-template-columns: 1fr 44px 1.3fr 44px 1fr; }
    .metric-grid { grid-template-columns: 1fr 1fr; }
    .pricing-layout { grid-template-columns: 1fr; }
    .pricing-intro { position: static; max-width: 720px; }
    .closing-inner { grid-template-columns: 1fr 1.5fr; }
    .closing-inner > div { grid-column: 2; }
    .legal-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 60px; }
}

@media (max-width: 767px) {
    html { scroll-padding-top: 70px; }
    .header-inner, .footer-inner, .section-inner, .hero-grid { width: min(calc(100% - 36px), var(--max)); }
    .header-inner { min-height: 68px; }
    .menu-toggle {
        width: 46px;
        height: 46px;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border: 0;
        background: transparent;
        cursor: pointer;
    }
    .menu-toggle > span:not(.sr-only) { width: 22px; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
    .menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] > span:nth-child(3) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] > span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
    .site-nav {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        padding: 14px 18px 22px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 1px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 40px rgba(16,24,32,.12);
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { min-height: 50px; padding: 0 12px; }
    .site-nav .nav-cta { justify-content: center; margin-top: 8px; }
    .wordmark-symbol { width: 38px; height: 38px; }
    .wordmark strong { font-size: 17px; }
    .hero::before { display: none; }
    .hero-grid { padding-block: 57px 70px; gap: 50px; }
    .hero h1 { font-size: clamp(42px, 12vw, 56px); line-height: 1.08; }
    .hero-lead { font-size: 16px; }
    .hero-actions .button { flex: 1 1 155px; }
    .proof-strip { display: grid; grid-template-columns: 1fr; }
    .operations-panel { width: 100%; }
    .panel-head { align-items: flex-start; }
    .panel-foot { grid-template-columns: 1fr; }
    .panel-foot strong { margin-bottom: 5px; }
    .band-grid { min-height: 0; padding-block: 53px; grid-template-columns: 1fr; gap: 24px; }
    .band-grid > p:last-child { grid-column: 1; }
    .section { padding-block: 86px; }
    .split-heading, .proof-layout, .faq-layout, .closing-inner, .footer-inner { grid-template-columns: 1fr; gap: 34px; }
    .split-heading > p { max-width: 620px; }
    .section-heading { margin-bottom: 42px; }
    .section-heading h2, .pricing-intro h2, .proof-layout h2, .faq-layout h2, .closing-inner h2 { font-size: clamp(37px, 10.5vw, 49px); }
    .module-grid { grid-template-columns: 1fr; }
    .module-card { min-height: 0; padding: 28px 25px 34px; }
    .module-icon { margin: 38px 0 22px; }
    .module-card > p { min-height: 0; }
    .architecture { grid-template-columns: 1fr; gap: 13px; }
    .architecture-arrow { transform: rotate(90deg); }
    .engine-node { min-height: 250px; }
    .boundary-grid { grid-template-columns: 1fr; }
    .boundary-grid article { min-height: 190px; }
    .metric-grid { grid-template-columns: 1fr 1fr; }
    .metric-grid > div { min-height: 175px; padding: 24px 18px; }
    .metric-grid dd[data-metric] { font-size: clamp(32px, 9.5vw, 43px); }
    .evidence-heading { gap: 28px; }
    .price-board { grid-template-columns: 1fr; }
    .price-card { border-right: 0; }
    .price-total { align-items: flex-start; flex-direction: column; }
    .proof-list > div { grid-template-columns: 90px 1fr; }
    .faq-layout { gap: 46px; }
    .closing-inner > div { grid-column: 1; }
    .footer-nav { justify-content: flex-start; }
    .company-disclosure { grid-column: 1; }
    .company-disclosure dl { display: grid; gap: 9px; }
    .company-disclosure dl > div { display: grid; grid-template-columns: 104px 1fr; gap: 8px; }
    .company-disclosure dl > div:not(:last-child)::after { display: none; }
    .footer-inner > small { grid-column: 1; }
    .legal-title { padding: 68px 0 64px; }
    .legal-title h1 { margin-top: 18px; }
    .legal-layout { padding-block: 64px 90px; grid-template-columns: 1fr; gap: 54px; }
    .legal-summary { position: static; }
    .legal-content > section { padding-bottom: 42px; margin-bottom: 42px; }
    .legal-contact > div { grid-template-columns: 130px 1fr; }
}

@media (max-width: 390px) {
    .metric-grid { grid-template-columns: 1fr; }
    .metric-grid > div { min-height: 150px; }
    .price-card { padding-inline: 22px; }
    .legal-header .legal-back { font-size: 0; }
    .legal-header .legal-back span { font-size: 18px; }
    .legal-contact > div { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
