/*
Theme Name: UDS Seller
Theme URI: https://uds-system.ru/
Author: Roman Bessonov
Description: Semantic landing page for UDS Seller implementation.
Version: 2.0.0
Text Domain: uds-seller
*/

:root {
    --navy-950: #03112b;
    --navy-900: #071a3c;
    --navy-800: #0b2858;
    --navy-700: #123c78;
    --blue-500: #246bde;
    --blue-100: #e9f1ff;
    --orange-600: #c2410c;
    --orange-500: #ff741f;
    --orange-100: #fff0e6;
    --ink: #10213e;
    --muted: #5b6980;
    --line: #dce4ef;
    --surface: #ffffff;
    --surface-soft: #f5f8fc;
    --success: #087d55;
    --error: #b42318;
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 32px;
    --shadow: 0 18px 50px rgba(7, 26, 60, .12);
    --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #ff9b5e; outline-offset: 3px; }
[id] { scroll-margin-top: 94px; }

.skip-link {
    position: fixed;
    z-index: 999;
    top: 12px;
    left: 12px;
    padding: 12px 18px;
    border-radius: 8px;
    color: #fff;
    background: var(--navy-950);
    transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { max-width: 900px; }
.section { position: relative; padding: 104px 0; }
.section-light { background: var(--surface-soft); }
.section-dark { color: #fff; background: var(--navy-950); }
.section-dark .eyebrow, .pricing .eyebrow, .contact-section .eyebrow { color: #ff9b5e; }
.eyebrow {
    margin: 0 0 14px;
    color: var(--orange-600);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .13em;
    line-height: 1.3;
    text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; color: var(--navy-950); line-height: 1.12; letter-spacing: -.035em; }
h1 { margin-bottom: 24px; font-size: clamp(2.45rem, 5.3vw, 4.9rem); max-width: 900px; }
h2 { margin-bottom: 20px; font-size: clamp(2rem, 3.8vw, 3.45rem); }
h3 { font-size: 1.28rem; }
p { margin-top: 0; }
.lead { color: var(--muted); font-size: clamp(1.06rem, 1.6vw, 1.25rem); }
.section-heading { max-width: 780px; margin-bottom: 48px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.08rem; }
.section-heading-light h2 { color: #fff; }
.section-heading-light > p:last-child { color: #b8c7dc; }

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    border-bottom: 1px solid rgba(220, 228, 239, .85);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(16px);
}
.header-inner { display: flex; min-height: 82px; align-items: center; gap: 28px; }
.brand { display: inline-flex; min-width: 230px; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(145deg, var(--orange-500), var(--orange-600));
    box-shadow: 0 8px 18px rgba(232, 91, 17, .25);
    font-weight: 900;
}
.brand-copy { display: grid; line-height: 1.25; }
.brand-copy strong { color: var(--navy-950); font-size: .98rem; }
.brand-copy small { margin-top: 3px; color: var(--muted); font-size: .69rem; }
.primary-nav { display: flex; flex: 1; align-items: center; justify-content: center; gap: 20px; }
.primary-nav a { padding: 12px 0; color: #33445e; font-size: .84rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.primary-nav a:hover { color: var(--orange-600); }
.menu-toggle { display: none; min-height: 48px; border: 0; color: var(--navy-950); background: transparent; cursor: pointer; font-weight: 800; }
.menu-toggle-lines { display: grid; width: 24px; gap: 4px; }
.menu-toggle-lines i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border: 2px solid var(--orange-600);
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    box-shadow: 0 10px 24px rgba(232, 91, 17, .2);
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(232, 91, 17, .28); }
.button-secondary { border-color: #b9c8dc; color: var(--navy-900); background: #fff; box-shadow: none; }
.button-secondary:hover { border-color: var(--navy-700); box-shadow: none; }
.button-small { min-height: 48px; padding: 10px 18px; font-size: .88rem; white-space: nowrap; }

.hero {
    min-height: 760px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 82% 20%, rgba(36, 107, 222, .32), transparent 32%),
        radial-gradient(circle at 15% 90%, rgba(255, 116, 31, .13), transparent 28%),
        linear-gradient(135deg, var(--navy-950), var(--navy-800));
}
.hero::after {
    position: absolute;
    right: -180px;
    bottom: -220px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
    content: "";
}
.hero-grid { position: relative; z-index: 1; display: grid; align-items: center; gap: 70px; grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr); }
.hero h1 { color: #fff; }
.hero-lead { max-width: 790px; margin-bottom: 30px; color: #d9e4f5; font-size: clamp(1.08rem, 1.8vw, 1.3rem); }
.benefit-list { display: grid; margin: 0 0 34px; padding: 0; gap: 12px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; }
.benefit-list li { position: relative; padding-left: 27px; color: #eef4ff; font-size: .98rem; }
.benefit-list li::before { position: absolute; top: .42em; left: 0; width: 14px; height: 8px; border-bottom: 2px solid var(--orange-500); border-left: 2px solid var(--orange-500); content: ""; transform: rotate(-45deg); }
.hero-actions, .inline-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .button-secondary { border-color: rgba(255,255,255,.38); color: #fff; background: rgba(255,255,255,.08); }
.text-link { display: inline-block; margin-top: 22px; color: #ffae7b; font-weight: 800; text-underline-offset: 4px; }
.offer-note { max-width: 790px; margin: 28px 0 0; padding: 16px 18px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-sm); color: #c8d5e9; background: rgba(255,255,255,.05); font-size: .86rem; }
.hero-panel { padding: 28px; border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-lg); background: rgba(255,255,255,.08); box-shadow: 0 28px 70px rgba(0,0,0,.25); backdrop-filter: blur(12px); }
.flow-card { display: flex; min-width: 0; align-items: center; gap: 14px; padding: 18px; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); background: rgba(3,17,43,.55); }
.flow-card-main { padding: 23px; }
.flow-card strong, .flow-card small { display: block; }
.flow-card strong { color: #fff; line-height: 1.3; }
.flow-card small { margin-top: 3px; color: #aebdd4; font-size: .78rem; line-height: 1.4; }
.flow-icon { display: grid; width: 46px; height: 46px; flex: 0 0 46px; place-items: center; border-radius: 14px; color: #fff; background: var(--orange-600); font-size: .75rem; font-weight: 900; }
.flow-connector { width: 2px; height: 36px; margin: 0 auto; background: linear-gradient(var(--orange-500), rgba(255,255,255,.25)); }
.flow-columns { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.hero-panel-caption { margin-top: 24px; color: #aebdd4; font-size: .74rem; line-height: 1.45; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #f5b041; }

.scenario-grid { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
.scenario-card { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: 0 12px 35px rgba(7,26,60,.06); }
.scenario-card-accent { border-top: 4px solid var(--orange-500); }
.scenario-head { display: flex; align-items: center; gap: 15px; }
.scenario-head > span { display: grid; width: 46px; height: 46px; flex: 0 0 46px; place-items: center; border-radius: 50%; color: #fff; background: var(--navy-800); font-weight: 900; }
.scenario-card-accent .scenario-head > span { background: var(--orange-600); }
.scenario-head h3 { margin: 0; }
.steps-list { display: grid; margin: 28px 0 0; padding: 0; gap: 0; list-style: none; counter-reset: none; }
.steps-list li { position: relative; display: flex; min-height: 56px; align-items: flex-start; gap: 13px; padding: 10px 0 14px; color: #35465f; border-bottom: 1px solid #edf1f6; }
.steps-list li:last-child { border-bottom: 0; }
.steps-list li span { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; border-radius: 50%; color: var(--navy-800); background: var(--blue-100); font-size: .75rem; font-weight: 900; }
.notice { margin: 28px 0 0; padding: 17px 20px; border-left: 4px solid var(--orange-500); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: #394b65; background: var(--orange-100); }

.channel-grid { display: grid; gap: 20px; grid-template-columns: repeat(12, 1fr); }
.channel-card { display: flex; min-width: 0; min-height: 270px; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 30px rgba(7,26,60,.06); grid-column: span 3; }
.channel-card:first-child { color: #fff; border-color: var(--navy-800); background: linear-gradient(145deg, var(--navy-900), var(--navy-700)); grid-column: span 6; }
.channel-card:first-child h3, .channel-card:first-child .card-link { color: #fff; }
.channel-card:first-child p { color: #c7d4e7; }
.channel-card h3 { margin: 20px 0 12px; }
.channel-card p { color: var(--muted); font-size: .94rem; }
.card-number { color: var(--orange-600); font-size: .76rem; font-weight: 900; letter-spacing: .12em; }
.card-link { margin-top: auto; color: var(--navy-700); font-weight: 800; text-decoration: none; }
.card-link span { color: var(--orange-600); }
.card-status { align-self: flex-start; margin-top: auto; padding: 7px 10px; border-radius: 99px; color: var(--muted); background: #edf1f6; font-size: .76rem; font-weight: 800; }
.channel-card-info { background: #fffaf6; }
.channel-card-muted { min-height: 220px; border-style: dashed; background: var(--surface-soft); grid-column: span 6; }

.comparison-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.comparison-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.comparison-table th, .comparison-table td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison-table thead th { color: #fff; background: var(--navy-900); font-size: .88rem; }
.comparison-table thead th:last-child { background: var(--orange-600); }
.comparison-table tbody th { width: 27%; color: var(--navy-900); font-size: .9rem; }
.comparison-table tbody td { color: #53637a; font-size: .88rem; }
.comparison-table tr:last-child > * { border-bottom: 0; }
.conclusion { margin: 28px 0 0; padding: 24px 26px; border-radius: var(--radius); color: #fff; background: var(--navy-800); font-size: 1.04rem; font-weight: 700; }

.feature-grid { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-card { min-width: 0; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s ease, transform .2s ease; }
.feature-card:hover { border-color: #9ab9e7; transform: translateY(-3px); }
.feature-card > span { color: var(--orange-600); font-size: .72rem; font-weight: 900; letter-spacing: .1em; }
.feature-card h3 { margin: 22px 0 10px; }
.feature-card p { margin-bottom: 0; color: var(--muted); font-size: .9rem; }

.fit-grid { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
.fit-card { padding: 38px; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius-lg); background: rgba(255,255,255,.06); }
.fit-card h3 { color: #fff; font-size: 1.5rem; }
.fit-card-positive { border-color: rgba(255,116,31,.5); }
.check-list, .minus-list { display: grid; margin: 0; padding: 0; gap: 12px; list-style: none; }
.check-list li, .minus-list li { position: relative; padding-left: 27px; }
.fit-card .check-list li, .fit-card .minus-list li { color: #d8e3f3; }
.check-list li::before { position: absolute; top: .35em; left: 0; color: var(--orange-500); content: "✓"; font-weight: 900; }
.minus-list li::before { position: absolute; top: .35em; left: 0; color: #8ba2c4; content: "—"; font-weight: 900; }

.about-grid { display: grid; align-items: center; gap: 70px; grid-template-columns: minmax(300px, .75fr) minmax(0, 1.25fr); }
.about-visual { display: grid; min-height: 480px; place-content: center; padding: 40px; border: 1px solid #aec2df; border-radius: var(--radius-lg); background: radial-gradient(circle at 50% 30%, #e8f1ff, #d8e5f7); text-align: center; }
.about-monogram { display: grid; width: 160px; height: 160px; margin: 0 auto 28px; place-items: center; border: 3px solid #fff; border-radius: 50%; color: #fff; background: var(--navy-800); box-shadow: 0 20px 45px rgba(7,26,60,.18); font-size: 2.7rem; font-weight: 900; }
.about-visual p { max-width: 360px; margin: 0; color: var(--muted); font-size: .85rem; }
.about-content .check-list { margin: 24px 0 32px; grid-template-columns: 1fr 1fr; }
.about-content h3 { margin-top: 30px; }

.todo-block { padding: 30px; border: 1px dashed #e39b6f; border-radius: var(--radius); color: #5e4a3f; background: #fffaf6; }
.todo-block strong { color: var(--orange-600); }
.todo-block p { margin: 8px 0 0; }

.pricing { color: #fff; background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); }
.price-grid { display: grid; align-items: center; gap: 70px; grid-template-columns: minmax(0, 1.15fr) minmax(330px, .65fr); }
.pricing h2 { color: #fff; }
.pricing .lead { color: #c8d6ea; }
.pricing .notice { color: #d8e3f3; border-color: var(--orange-500); background: rgba(255,255,255,.08); }
.price-card { padding: 38px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-lg); color: var(--ink); background: #fff; box-shadow: 0 24px 55px rgba(0,0,0,.24); }
.price-card > span { color: var(--orange-600); font-size: .78rem; font-weight: 900; text-transform: uppercase; }
.price-card > strong { display: block; margin: 12px 0 22px; color: var(--navy-950); font-size: 1.9rem; line-height: 1.15; }
.price-card ul { margin: 0 0 28px; padding-left: 22px; color: var(--muted); }
.price-card .button { width: 100%; }

.case-placeholder { display: flex; align-items: flex-start; gap: 24px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.case-placeholder > span { display: grid; width: 52px; height: 52px; flex: 0 0 52px; place-items: center; border-radius: 15px; color: #fff; background: var(--orange-600); font-size: 1.4rem; }
.case-placeholder h3 { margin-bottom: 10px; }
.case-placeholder p { margin-bottom: 0; color: var(--muted); }

.case-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.case-card { display: flex; min-width: 0; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 30px rgba(7,26,60,.06); }
.case-platform { align-self: flex-start; padding: 6px 12px; border-radius: 99px; color: var(--navy-800); background: var(--blue-100); font-size: .74rem; font-weight: 800; }
.case-card h3 { margin: 16px 0 4px; }
.case-industry { margin-bottom: 14px; color: var(--muted); font-size: .88rem; }
.case-result { margin-bottom: 20px; color: #33445e; font-weight: 700; }
.case-stats { display: grid; margin-bottom: 18px; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); }
.case-stats > div { padding: 12px 10px; border-radius: var(--radius-sm); background: var(--surface-soft); text-align: center; }
.case-stats strong { display: block; color: var(--orange-600); font-size: 1.15rem; }
.case-stats span { display: block; margin-top: 2px; color: var(--muted); font-size: .72rem; }
.case-timeline { margin-bottom: 18px; color: var(--muted); font-size: .84rem; }
.case-card .card-link { margin-top: auto; }

.metrics-grid { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.metric-card { padding: 30px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-align: center; box-shadow: 0 10px 30px rgba(7,26,60,.06); }
.metric-card strong { display: block; color: var(--orange-600); font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 900; line-height: 1.1; }
.metric-card span { display: block; margin-top: 8px; color: var(--muted); font-size: .86rem; }

.calc-card { padding: 38px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.calc-inputs { display: grid; gap: 18px; margin-bottom: 28px; grid-template-columns: repeat(3, 1fr); }
.calc-inputs input { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #b9c5d6; border-radius: 10px; color: var(--ink); background: #fff; font-size: 16px; }
.calc-inputs input:focus { border-color: var(--blue-500); outline: 3px solid rgba(36,107,222,.15); }
.calc-outputs { display: grid; gap: 14px; margin-bottom: 22px; grid-template-columns: repeat(4, 1fr); }
.calc-output { padding: 18px 14px; border-radius: var(--radius-sm); background: var(--surface-soft); text-align: center; }
.calc-output span { display: block; color: var(--muted); font-size: .76rem; }
.calc-output strong { display: block; margin-top: 8px; color: var(--navy-950); font-size: 1.3rem; }
.calc-output-accent { color: #fff; background: var(--navy-900); }
.calc-output-accent span { color: #b8c7dc; }
.calc-output-accent strong { color: #ffae7b; }
.calc-note { margin-bottom: 22px; color: var(--muted); font-size: .8rem; }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: grid; min-height: 72px; align-items: center; padding: 16px 0; color: var(--navy-900); cursor: pointer; font-weight: 800; grid-template-columns: 42px 1fr 30px; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { color: var(--orange-600); font-size: .75rem; letter-spacing: .08em; }
.faq-list summary i { position: relative; width: 22px; height: 22px; }
.faq-list summary i::before, .faq-list summary i::after { position: absolute; top: 10px; left: 3px; width: 16px; height: 2px; border-radius: 2px; background: var(--navy-800); content: ""; transition: transform .2s ease; }
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i::after { transform: rotate(0); }
.faq-answer { padding: 0 40px 20px 42px; color: var(--muted); }

.contact-section { color: #fff; background: var(--navy-950); }
.contact-grid { display: grid; align-items: start; gap: 70px; grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr); }
.contact-copy h2 { color: #fff; }
.contact-copy .lead { color: #c4d2e6; }
.contact-direct { display: grid; margin-top: 32px; gap: 12px; }
.contact-direct > a { display: flex; min-height: 68px; align-items: center; gap: 14px; padding: 12px 15px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-sm); text-decoration: none; }
.contact-direct > a > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; color: #fff; background: var(--orange-600); font-size: .76rem; font-weight: 900; }
.contact-direct small, .contact-direct strong { display: block; }
.contact-direct small { color: #91a6c5; }
.contact-direct strong { color: #fff; }
.mail-warning { margin-top: 24px; color: #91a6c5; font-size: .8rem; }
.form-card { padding: 38px; border-radius: var(--radius-lg); color: var(--ink); background: #fff; box-shadow: 0 28px 70px rgba(0,0,0,.28); }
.lead-form { display: grid; gap: 18px; }
.lead-form input { font-size: 16px; }
.field { display: grid; min-width: 0; margin: 0; padding: 0; border: 0; gap: 7px; }
.field label, .field legend { color: #263b59; font-size: .87rem; font-weight: 800; }
.field label small { color: var(--muted); font-weight: 500; }
.field input[type="text"], .field input[type="url"] { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #b9c5d6; border-radius: 10px; color: var(--ink); background: #fff; font-size: 16px; }
.field input:focus { border-color: var(--blue-500); outline: 3px solid rgba(36,107,222,.15); }
.radio-row { display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); }
.radio-row label { position: relative; }
.radio-row input { position: absolute; opacity: 0; }
.radio-row span { display: flex; min-height: 48px; align-items: center; justify-content: center; padding: 8px; border: 1px solid #c4cfdd; border-radius: 10px; cursor: pointer; font-size: .84rem; text-align: center; }
.radio-row input:checked + span { color: var(--navy-800); border-color: var(--blue-500); background: var(--blue-100); }
.radio-row input:focus-visible + span { outline: 3px solid #ff9b5e; outline-offset: 2px; }
.consent-field { display: grid; align-items: start; gap: 10px; color: var(--muted); font-size: .78rem; grid-template-columns: 22px 1fr; }
.consent-field input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--orange-600); }
.consent-field a { color: var(--navy-700); }
.form-submit { width: 100%; }
.form-footnote { margin: -4px 0 0; color: #5d6b80; font-size: .72rem; text-align: center; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-message { margin-bottom: 20px; padding: 14px 16px; border-radius: 10px; font-size: .87rem; font-weight: 700; }
.form-message-success { color: #075d41; border: 1px solid #8bd4b9; background: #eaf9f3; }
.form-message-error { color: #8c221a; border: 1px solid #edaaa5; background: #fff0ef; }

.site-footer { padding: 64px 0 22px; color: #b9c7dc; background: #020c20; }
.footer-grid { display: grid; gap: 50px; grid-template-columns: 2fr 1fr 1fr; }
.brand-footer .brand-copy strong { color: #fff; }
.brand-footer .brand-copy small { color: #91a6c5; }
.footer-grid > div:first-child > p { max-width: 480px; margin-top: 20px; font-size: .84rem; }
.footer-grid h2 { margin-bottom: 14px; color: #fff; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 9px; }
.footer-grid a:not(.brand) { color: #c8d4e5; font-size: .88rem; text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; margin-top: 45px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); justify-content: space-between; gap: 24px; color: #778ba9; font-size: .7rem; }

.simple-page, .not-found-page { min-height: 70vh; padding: 90px 0; background: var(--surface-soft); }
.simple-page-card, .not-found-card { max-width: 900px; padding: clamp(28px, 5vw, 58px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.simple-page-card h1, .not-found-card h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
.simple-page-card h2 { margin-top: 38px; font-size: 1.7rem; }
.simple-page-card p, .simple-page-card li { color: #465873; }

@media (max-width: 1120px) {
    .header-inner { gap: 16px; }
    .primary-nav { gap: 13px; }
    .primary-nav a { font-size: .76rem; }
    .hero-grid { gap: 40px; grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr); }
    .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .channel-card { grid-column: span 4; }
    .channel-card:first-child, .channel-card-muted { grid-column: span 6; }
    .case-grid { grid-template-columns: 1fr 1fr; }
    .metrics-grid { grid-template-columns: 1fr 1fr; }
    .calc-inputs, .calc-outputs { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
    html { scroll-padding-top: 76px; }
    [id] { scroll-margin-top: 76px; }
    .header-inner { min-height: 72px; }
    .header-cta { display: none; }
    .menu-toggle { display: inline-flex; margin-left: auto; align-items: center; gap: 10px; }
    .primary-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; align-items: stretch; padding: 16px 20px 22px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 18px 32px rgba(7,26,60,.12); flex-direction: column; gap: 0; }
    .primary-nav.is-open { display: flex; }
    .primary-nav a { min-height: 48px; padding: 13px 10px; border-bottom: 1px solid #edf1f6; font-size: .92rem; }
    .menu-toggle[aria-expanded="true"] .menu-toggle-lines i:first-child { transform: translateY(6px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] .menu-toggle-lines i:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] .menu-toggle-lines i:last-child { transform: translateY(-6px) rotate(-45deg); }
    .section { padding: 82px 0; }
    .hero { min-height: auto; }
    .hero-grid, .about-grid, .price-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero-panel { max-width: 620px; }
    .scenario-grid, .fit-grid { grid-template-columns: 1fr; }
    .about-visual { min-height: 350px; }
    .about-content .check-list { grid-template-columns: 1fr; }
    .contact-grid { gap: 45px; }
}

@media (max-width: 700px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    body { font-size: 16px; }
    .section { padding: 68px 0; }
    .section-heading { margin-bottom: 34px; }
    h1 { font-size: clamp(2.15rem, 11vw, 3.2rem); }
    h2 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
    .brand { min-width: 0; }
    .brand-copy small { display: none; }
    .brand-copy strong { font-size: .87rem; }
    .menu-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .benefit-list { grid-template-columns: 1fr; }
    .hero-actions, .inline-actions { flex-direction: column; }
    .hero-actions .button, .inline-actions .button { width: 100%; }
    .hero-panel { padding: 20px; }
    .flow-columns { grid-template-columns: 1fr; }
    .flow-connector { height: 22px; }
    .scenario-card, .fit-card, .form-card, .price-card { padding: 26px 20px; border-radius: var(--radius); }
    .channel-grid { grid-template-columns: 1fr; }
    .channel-card, .channel-card:first-child, .channel-card-muted { min-height: auto; grid-column: auto; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .comparison-wrap { overflow: visible; border: 0; background: transparent; box-shadow: none; }
    .comparison-table, .comparison-table tbody { display: block; }
    .comparison-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .comparison-table tr { display: grid; margin-bottom: 16px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
    .comparison-table tbody th { width: auto; padding: 15px 16px; color: #fff; border-bottom: 0; background: var(--navy-900); font-size: .94rem; }
    .comparison-table tbody td { display: grid; padding: 13px 16px; border-bottom: 1px solid var(--line); gap: 4px; }
    .comparison-table tbody td::before { color: var(--orange-600); content: attr(data-label); font-size: .7rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
    .comparison-table tbody td:last-child { border-bottom: 0; }
    .about-grid { gap: 38px; }
    .about-visual { min-height: 300px; padding: 28px 20px; }
    .about-monogram { width: 120px; height: 120px; font-size: 2rem; }
    .case-placeholder { padding: 26px 20px; flex-direction: column; }
    .case-grid, .metrics-grid { grid-template-columns: 1fr; }
    .case-card { padding: 24px 20px; }
    .calc-card { padding: 24px 18px; }
    .calc-inputs, .calc-outputs { grid-template-columns: 1fr; }
    .faq-list summary { min-height: 68px; grid-template-columns: 34px 1fr 26px; }
    .faq-answer { padding: 0 26px 18px 34px; }
    .radio-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; }
}

@media (max-width: 430px) {
    .container { width: min(calc(100% - 24px), var(--container)); }
    .hero { padding-top: 58px; }
    .brand-mark { width: 38px; height: 38px; flex-basis: 38px; }
    .benefit-list { gap: 9px; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-card { padding: 23px 20px; }
    .flow-card { padding: 15px; }
    .flow-icon { width: 40px; height: 40px; flex-basis: 40px; }
    .contact-direct strong { font-size: .92rem; }
}

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