:root {
    color-scheme: light;
    --bg: #f5f3ec;
    --surface: #fffdf8;
    --surface-strong: #ffffff;
    --ink: #18342d;
    --muted: #62716c;
    --line: #d9ded8;
    --accent: #126b54;
    --accent-strong: #0a4939;
    --accent-soft: #dcebe5;
    --warm: #e3a96d;
    --danger: #9d3c34;
    --shadow: 0 24px 70px rgba(26, 55, 46, .12);
    --radius: 22px;
    --radius-small: 13px;
    --shell: 1180px;
    --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --serif: Georgia, "Times New Roman", serif;
}

:root[data-theme="midnight"] {
    --bg: #edf1f8; --surface: #f8faff; --surface-strong: #fff; --ink: #152441; --muted: #66728a;
    --line: #d7deec; --accent: #315fda; --accent-strong: #193c9b; --accent-soft: #dce5ff; --warm: #e6a84b;
    --shadow: 0 24px 70px rgba(24, 47, 98, .13);
}

:root[data-theme="clay"] {
    --bg: #f8f0e9; --surface: #fffaf5; --surface-strong: #fff; --ink: #452c25; --muted: #7b6860;
    --line: #ead9ce; --accent: #a84c37; --accent-strong: #743124; --accent-soft: #f4ded6; --warm: #d89b3f;
    --shadow: 0 24px 70px rgba(92, 47, 34, .12);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.62; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; background: radial-gradient(circle at 86% 8%, var(--accent-soft), transparent 29%), radial-gradient(circle at 9% 35%, rgba(227,169,109,.18), transparent 24%); }
a { color: inherit; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: white; border-radius: 8px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent), white 20%); outline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid color-mix(in srgb, var(--line), transparent 25%); background: color-mix(in srgb, var(--bg), transparent 8%); backdrop-filter: blur(18px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; line-height: 1; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px 7px 14px 7px; background: var(--ink); color: var(--surface); font: 700 13px/1 var(--font); letter-spacing: .08em; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 17px; letter-spacing: -.02em; }
.brand small { color: var(--muted); font-size: 11px; margin-top: 5px; letter-spacing: .14em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav > a { text-decoration: none; font-size: 14px; font-weight: 650; }
.main-nav > a:not(.button) { padding-block: 8px; border-bottom: 2px solid transparent; }
.main-nav > a.active { color: var(--accent); border-color: var(--accent); }
.muted-link { color: var(--muted); }
.menu-button { display: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; background: var(--surface); color: var(--ink); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border: 1px solid var(--accent); border-radius: 999px; background: var(--accent); color: white; font-weight: 760; text-decoration: none; cursor: pointer; box-shadow: 0 10px 28px color-mix(in srgb, var(--accent), transparent 77%); transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); background: var(--accent-strong); }
.button-small { min-height: 40px; padding: 9px 16px; }
.button-secondary { background: transparent; color: var(--accent); box-shadow: none; }
.button-secondary:hover { color: white; }
.button-quiet { border-color: var(--line); background: var(--surface); color: var(--ink); box-shadow: none; }
.button-quiet:hover { background: var(--ink); color: white; }

.hero { padding: 88px 0 74px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 70px; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 12px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.hero h1, .page-hero h1 { max-width: 780px; margin: 0; font: 500 clamp(44px, 6vw, 77px)/.99 var(--serif); letter-spacing: -.05em; }
.hero h1 em { color: var(--accent); font-style: italic; }
.hero-copy > p:not(.eyebrow) { max-width: 650px; color: var(--muted); font-size: clamp(17px, 2vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 18px 28px; padding: 0; margin: 32px 0 0; list-style: none; color: var(--muted); font-size: 13px; }
.hero-proof li::before { content: "✓"; margin-right: 8px; color: var(--accent); font-weight: 900; }

.marketing-graphic { margin: 0; }
.marketing-graphic-frame { position: relative; overflow: hidden; border: 1px solid color-mix(in srgb, var(--accent), transparent 68%); border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); transform: rotate(1deg); }
.marketing-graphic-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: color-mix(in srgb, var(--accent), transparent 91%); mix-blend-mode: color; }
.marketing-graphic img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: filter .25s ease; }
.marketing-graphic.phone .marketing-graphic-frame { width: min(360px, 100%); margin-inline: auto; border-radius: 38px; transform: rotate(-2deg); }
.marketing-graphic.phone img { aspect-ratio: 2 / 3; object-position: center; }
.marketing-graphic figcaption { margin-top: 14px; color: var(--muted); font-size: 13px; text-align: center; }
:root[data-theme="midnight"] .marketing-graphic.theme-tint img { filter: hue-rotate(72deg) saturate(1.08); }
:root[data-theme="clay"] .marketing-graphic.theme-tint img { filter: hue-rotate(-48deg) saturate(.9); }

.trust-strip { padding: 22px 0; border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust-item { display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 13px; }
.trust-item strong { display: block; color: var(--ink); font-size: 14px; }
.number-mark { flex: 0 0 38px; display: grid; place-items: center; height: 38px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 850; }

.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: color-mix(in srgb, var(--surface), transparent 35%); border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 42px; }
.section-head h2, .content-block h2 { max-width: 760px; margin: 0; font: 500 clamp(34px, 4vw, 52px)/1.05 var(--serif); letter-spacing: -.035em; }
.section-head > p { max-width: 470px; margin: 0; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { position: relative; min-height: 245px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--surface), transparent 8%); }
.feature-card .card-number { color: var(--accent); font: italic 24px/1 var(--serif); }
.feature-card h3 { margin: 46px 0 10px; font-size: 20px; letter-spacing: -.02em; }
.feature-card p { color: var(--muted); margin: 0; }
.feature-card.highlight { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.feature-card.highlight p { color: color-mix(in srgb, var(--surface), transparent 28%); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.content-block > p { color: var(--muted); font-size: 18px; }
.check-list { padding: 0; margin: 24px 0; list-style: none; }
.check-list li { position: relative; padding: 8px 0 8px 28px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }
.steps { display: grid; gap: 12px; counter-reset: step; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--surface); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 850; }
.step h3 { margin: 2px 0 4px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

.pricing-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.pricing-grid .price-card { padding: 24px; }
.price-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 30px; border: 2px solid var(--accent); border-radius: 26px; background: var(--surface-strong); box-shadow: 0 16px 44px rgba(28,48,42,.06); }
.price-card.featured { border: 2px solid var(--accent); }
.price-card h3 { margin: 0; font: 500 30px/1.1 var(--serif); overflow-wrap: anywhere; }
.price-card > p:not(.eyebrow):not(.price) { color: var(--muted); }
.price-card .check-list { flex: 1; }
.price { margin: 24px 0 16px; }
.price strong, .price span { display: block; }
.price strong { font-size: 32px; letter-spacing: -.04em; }
.price span { color: var(--muted); font-size: 13px; }
.popular { position: static; align-self: flex-start; max-width: 100%; margin: -4px 0 10px; padding: 5px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 10px; font-weight: 850; line-height: 1.2; text-transform: uppercase; letter-spacing: .06em; white-space: normal; }
.popular-placeholder { visibility: hidden; }
.plan-button { min-height: 78px; flex-direction: column; gap: 3px; line-height: 1.15; text-align: center; }
.plan-button span { display: block; }
.map-addon { display: grid; grid-template-columns: 1fr auto; gap: 30px; margin-top: 26px; padding: 30px; border-radius: var(--radius); background: var(--ink); color: var(--surface); }
.map-addon h3 { margin: 0 0 6px; font-size: 23px; }
.map-addon p { margin: 0; color: color-mix(in srgb, var(--surface), transparent 25%); }
.map-addon strong { align-self: center; font-size: 28px; }
.enterprise-cta { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, .8fr) auto; gap: 34px; align-items: center; margin-top: 30px; padding: 36px; border: 1px solid color-mix(in srgb, var(--accent), transparent 55%); border-radius: 28px; background: linear-gradient(135deg, var(--accent-soft), var(--surface-strong)); box-shadow: var(--shadow); }
.enterprise-cta h2 { margin: 0 0 10px; font: 500 38px/1.05 var(--serif); }
.enterprise-cta p { margin-bottom: 0; color: var(--muted); }
.enterprise-cta .check-list { margin: 0; }
.enterprise-cta .button { white-space: nowrap; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.article-card { display: flex; flex-direction: column; min-height: 285px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.article-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.article-card time, .article-meta { color: var(--muted); font-size: 12px; }
.article-card h3 { margin: auto 0 10px; font: 500 25px/1.12 var(--serif); }
.article-card p { color: var(--muted); margin: 0; }
.text-link { color: var(--accent); font-weight: 800; text-decoration: none; }

.cta-panel { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 46px; border-radius: 30px; background: var(--accent); color: white; box-shadow: var(--shadow); }
.cta-panel h2 { max-width: 730px; margin: 0; font: 500 clamp(34px, 4vw, 51px)/1.03 var(--serif); }
.cta-panel p { margin-bottom: 0; color: rgba(255,255,255,.78); }
.cta-panel .button { border-color: white; background: white; color: var(--accent-strong); }

.page-hero { padding: 80px 0 58px; }
.page-hero p:not(.eyebrow) { max-width: 720px; color: var(--muted); font-size: 20px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.stat { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.stat strong { display: block; font: 500 32px/1 var(--serif); color: var(--accent); }
.stat span { color: var(--muted); font-size: 13px; }
.comparison-table { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.comparison-table th, .comparison-table td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.comparison-table th { background: var(--ink); color: white; font-size: 13px; }
.comparison-table td:not(:first-child), .comparison-table th:not(:first-child) { text-align: center; }

.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 50px; align-items: start; }
.legal-nav { position: sticky; top: 100px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--surface); }
.legal-nav strong, .legal-nav a { display: block; }
.legal-nav a { padding: 6px 0; color: var(--muted); font-size: 13px; }
.legal-content { padding: 38px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.legal-content h1 { margin-top: 0; font: 500 clamp(38px, 5vw, 58px)/1 var(--serif); }
.legal-content h2 { margin-top: 40px; font: 500 28px/1.15 var(--serif); }
.legal-content h3 { margin-top: 28px; }
.legal-content p, .legal-content li { color: #4e5d58; }
.legal-content a { color: var(--accent); }
.draft-notice { padding: 16px 18px; border: 1px solid #e0b56d; border-radius: 12px; background: #fff6dd; color: #684a18; }

.registration-section { min-height: 680px; background: linear-gradient(135deg, var(--bg), var(--accent-soft)); }
.registration-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 34px; align-items: start; }
.registration-steps { position: sticky; top: 100px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.step-indicator { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: center; padding: 11px 0; color: var(--muted); }
.step-indicator::before { content: attr(data-number); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); font-size: 12px; font-weight: 800; }
.step-indicator.active { color: var(--ink); font-weight: 750; }
.step-indicator.active::before, .step-indicator.done::before { background: var(--accent); color: white; border-color: var(--accent); }
.registration-card { padding: 36px; border: 1px solid var(--line); border-radius: 28px; background: var(--surface-strong); box-shadow: var(--shadow); }
.registration-card h1, .registration-card h2 { margin-top: 0; font: 500 38px/1.05 var(--serif); }
.registration-step[hidden] { display: none !important; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.field { display: grid; gap: 7px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label, .field > span { font-size: 13px; font-weight: 750; }
.field input, .field select, .field textarea, .theme-control select { width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 12px 13px; background: var(--surface); color: var(--ink); }
.field textarea { min-height: 220px; resize: vertical; }
.field small, .form-note { color: var(--muted); }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.billing-cycle { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; padding: 0; border: 0; }
.billing-cycle legend { grid-column: 1 / -1; margin-bottom: 8px; font-weight: 800; }
.final-order-summary { margin-bottom: 22px; }
.plan-choice { position: relative; display: block; }
.plan-choice input { position: absolute; opacity: 0; }
.plan-choice span { display: flex; min-height: 170px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); cursor: pointer; flex-direction: column; }
.plan-choice strong, .plan-choice b, .plan-choice small { display: block; }
.plan-choice strong { margin-bottom: 8px; }
.plan-choice b { margin-bottom: 8px; font-size: 18px; line-height: 1.3; }
.plan-choice small { margin-top: auto; color: var(--muted); }
.plan-choice input:checked + span { border: 2px solid var(--accent); background: var(--accent-soft); }
.check-field { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin: 16px 0; }
.check-field input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--accent); }
.form-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.honeypot { position: absolute !important; left: -10000px !important; }
.recaptcha-placeholder { padding: 18px; border: 1px dashed var(--line); border-radius: 12px; background: var(--bg); }
.discount-status{min-height:24px;margin:-6px 0 14px;color:var(--muted);font-size:13px;font-weight:750}.discount-status.valid{color:var(--accent)}.discount-status.invalid{color:#9d3c34}
.contact-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);gap:48px;align-items:start}.contact-details{display:grid;gap:26px}.contact-form{padding:36px;border:1px solid var(--line);border-radius:28px;background:var(--surface-strong);box-shadow:var(--shadow)}.contact-form h2{margin-bottom:24px}.contact-form textarea{width:100%;resize:vertical}.contact-form>.button{margin-top:22px}.form-success{margin-bottom:20px;padding:14px 16px;border:1px solid color-mix(in srgb,var(--accent),transparent 70%);border-radius:12px;background:var(--accent-soft);color:var(--accent-strong);font-weight:700}
.enterprise-hero .button { margin-top: 14px; }
.enterprise-features .content-block { height: 100%; }
.enterprise-features h2 { font-size: 27px; }
.enterprise-process { align-items: start; }
.process-list { display: grid; gap: 18px; padding: 0; list-style: none; counter-reset: enterprise-step; }
.process-list li { position: relative; display: grid; gap: 4px; padding-left: 54px; counter-increment: enterprise-step; }
.process-list li::before { content: counter(enterprise-step); position: absolute; top: 0; left: 0; display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: var(--accent); color: var(--surface); font-weight: 800; }
.process-list span { color: var(--muted); }
.integration-field { display: flex; flex-wrap: wrap; gap: 12px 20px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; }
.integration-field legend { padding: 0 6px; font-weight: 750; }
.integration-field label { display: inline-flex; gap: 8px; align-items: center; }
.integration-field input { width: auto; }
.recaptcha-placeholder strong, .recaptcha-placeholder small { display: block; }
.recaptcha-placeholder small { color: var(--muted); }
.error-list { padding: 14px 18px 14px 36px; border-radius: 12px; background: #fff0ed; color: var(--danger); }
.cart-summary { display: grid; gap: 10px; margin-bottom: 22px; padding: 24px; border-radius: 18px; background: var(--ink); color: white; }
.cart-summary span { color: rgba(255,255,255,.62); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.cart-summary strong { font: 500 31px/1.1 var(--serif); }
.cart-summary b { margin-top: 8px; color: color-mix(in srgb, var(--accent-soft), white 20%); }
.limit-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: end; margin-bottom: 20px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.limit-fields small { display: block; color: var(--muted); }
.discount-field { margin-top: 18px; }
.discount-input { display: grid; grid-template-columns: 1fr auto; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.discount-input input { border: 0; }
.discount-input b { padding: 0 13px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }

.article-hero { padding: 78px 0 40px; }
.article-hero .narrow { text-align: center; }
.article-hero h1 { margin: 10px auto 18px; font: 500 clamp(40px, 6vw, 68px)/1.02 var(--serif); letter-spacing: -.04em; }
.article-hero p { color: var(--muted); font-size: 19px; }
.article-body { padding-bottom: 90px; }
.prose { font-size: 18px; }
.prose h2 { margin-top: 48px; font: 500 34px/1.12 var(--serif); }
.prose h3 { margin-top: 34px; }
.prose p, .prose li { color: #4d5b56; }
.prose blockquote { margin: 30px 0; padding: 22px 26px; border-left: 4px solid var(--accent); background: var(--accent-soft); font: italic 21px/1.5 var(--serif); }
.article-template-guide .article-hero { background: var(--accent-soft); }
.article-template-release .article-hero { background: var(--ink); color: white; }
.article-template-release .article-hero p, .article-template-release .article-meta { color: rgba(255,255,255,.7); }

.admin-shell { width: min(calc(100% - 40px), 1050px); margin: 50px auto; }
.admin-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.admin-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); }
.admin-table th, .admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.admin-form { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.flash { margin-bottom: 18px; padding: 12px 16px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-strong); }
.pagination { margin-top: 28px; }

.site-footer { margin-top: 80px; padding: 70px 0 26px; background: var(--ink); color: color-mix(in srgb, var(--surface), transparent 8%); }
.footer-grid { display: grid; grid-template-columns: 1.8fr repeat(3, 1fr); gap: 50px; }
.site-footer h2 { margin: 0 0 14px; color: white; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
.site-footer p { max-width: 350px; color: color-mix(in srgb, var(--surface), transparent 42%); }
.site-footer a, .link-button { display: block; width: fit-content; padding: 5px 0; color: color-mix(in srgb, var(--surface), transparent 28%); text-decoration: none; font-size: 13px; }
.site-footer a:hover, .link-button:hover { color: white; }
.footer-brand .brand-mark { background: var(--surface); color: var(--ink); }
.footer-brand small { color: rgba(255,255,255,.55); }
.theme-control { display: grid; gap: 6px; width: 180px; margin-top: 24px; color: rgba(255,255,255,.65); font-size: 12px; }
.theme-control select { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: white; }
.theme-control option { color: #111; }
.link-button { border: 0; background: none; cursor: pointer; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 45px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.45); font-size: 11px; }

.privacy-dialog { width: min(560px, calc(100% - 30px)); border: 1px solid var(--line); border-radius: 22px; padding: 0; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.privacy-dialog::backdrop { background: rgba(14,31,27,.58); backdrop-filter: blur(4px); }
.privacy-dialog form { padding: 26px; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.dialog-head h2 { margin: 0; font: 500 29px/1 var(--serif); }
.dialog-close { border: 0; background: transparent; color: var(--muted); font-size: 28px; cursor: pointer; }
.privacy-row { display: flex; justify-content: space-between; gap: 20px; margin: 12px 0; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.privacy-row strong, .privacy-row small { display: block; }
.privacy-row small { color: var(--muted); }
.status-pill { align-self: center; white-space: nowrap; padding: 5px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 10px; font-weight: 850; }
.status-pill.off { background: #eceeed; color: #68706d; }
.privacy-banner { position: fixed; z-index: 80; right: 24px; bottom: 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; width: min(820px, calc(100% - 48px)); padding: 22px 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface-strong); color: var(--ink); box-shadow: 0 24px 70px rgba(14,31,27,.24); }
.privacy-banner[hidden] { display: none; }
.privacy-banner strong { display: block; margin-bottom: 4px; font: 500 22px/1.15 var(--serif); }
.privacy-banner p { margin: 0; color: var(--muted); font-size: 14px; }
.privacy-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.privacy-actions .button { min-height: 44px; padding: 10px 16px; }
.payment-choice-grid { margin: 22px 0; }
.disabled-choice { opacity: .62; cursor: not-allowed; }
.recaptcha-field { display: grid; gap: 9px; width: fit-content; max-width: 100%; margin: 24px 0 8px; }
.recaptcha-field small { max-width: 470px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.recaptcha-field .field-error { margin: 0; color: #9a2f2f; font-weight: 700; }
.payment-card { display: grid; gap: 22px; margin-top: 28px; }
.payment-details { display: grid; gap: 0; margin: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.payment-details div { display: grid; grid-template-columns: minmax(140px, .7fr) 1.3fr; gap: 18px; padding: 14px 18px; background: var(--surface-strong); border-bottom: 1px solid var(--line); }
.payment-details div:last-child { border-bottom: 0; }
.payment-details dt { color: var(--muted); font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.payment-details dd { margin: 0; overflow-wrap: anywhere; }

@media (min-width: 961px) and (max-width: 1180px) {
    .pricing-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .pricing-grid .price-card { grid-column: span 2; }
    .pricing-grid .price-card:nth-child(4) { grid-column: 2 / span 2; }
    .pricing-grid .price-card:nth-child(5) { grid-column: 4 / span 2; }
}

@media (min-width: 961px) {
    .price-card > .eyebrow { min-height: 16px; }
    .price-card > h3 { min-height: 34px; }
    .price-card > .price { min-height: 69px; }
    .price-card > p:not(.eyebrow):not(.price) { min-height: 190px; margin-bottom: 0; }
    .price-card > .check-list { margin-top: 26px; }
}

@media (max-width: 960px) {
    .menu-button { display: block; }
    .main-nav { position: absolute; left: 20px; right: 20px; top: 68px; display: none; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-strong); box-shadow: var(--shadow); }
    .main-nav.open { display: grid; }
    .main-nav .button { width: 100%; }
    .hero-grid, .split, .contact-layout { grid-template-columns: 1fr; }
    .hero-grid { gap: 45px; }
    .trust-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .pricing-grid .price-card { grid-column: span 2; }
    .pricing-grid .price-card:nth-child(5) { grid-column: 2 / span 2; }
    .article-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-grid > :last-child { grid-column: 2; }
    .legal-layout, .registration-shell { grid-template-columns: 1fr; }
    .legal-nav, .registration-steps { position: static; }
}

@media (max-width: 640px) {
    .shell, .narrow { width: min(calc(100% - 28px), var(--shell)); }
    .hero { padding-top: 58px; }
    .hero h1, .page-hero h1 { font-size: 43px; }
    .marketing-graphic-frame { border-radius: 20px; }
    .trust-grid, .feature-grid, .article-grid, .stat-row { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-grid .price-card,
    .pricing-grid .price-card:nth-child(4),
    .pricing-grid .price-card:nth-child(5) { grid-column: auto; }
    .section { padding: 72px 0; }
    .section-head { display: block; }
    .section-head > p { margin-top: 16px; }
    .map-addon, .cta-panel, .enterprise-cta { grid-template-columns: 1fr; padding: 28px; }
    .legal-content, .registration-card { padding: 24px 20px; }
    .form-grid, .choice-grid, .limit-fields, .billing-cycle { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
    .footer-grid > :last-child { grid-column: auto; }
    .footer-bottom { display: grid; }
    .form-actions { flex-direction: column-reverse; }
    .form-actions .button { width: 100%; }
    .payment-details div { grid-template-columns: 1fr; gap: 5px; }
    .privacy-banner { right: 14px; bottom: 14px; grid-template-columns: 1fr; width: calc(100% - 28px); padding: 20px; }
    .privacy-actions { justify-content: stretch; }
    .privacy-actions .button { flex: 1 1 180px; }
}

@media (max-width: 380px) {
    .recaptcha-field .g-recaptcha { transform: scale(.88); transform-origin: left top; margin-bottom: -9px; }
}

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