:root {
  --navy: #0e1b36;
  --navy-2: #142443;
  --blue: #2565d9;
  --blue-dark: #1d55be;
  --blue-soft: #eaf2ff;
  --ice: #f4f8fe;
  --ice-2: #edf4ff;
  --white: #ffffff;
  --text: #3d4e73;
  --muted: #6d7b99;
  --line: #dbe5f4;
  --green: #168657;
  --green-soft: #e8f8f1;
  --yellow: #c17a00;
  --yellow-soft: #fff4d9;
  --red: #c94242;
  --red-soft: #ffebeb;
  --shadow: 0 22px 55px rgba(37, 101, 217, .13);
  --serif: "PT Serif", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--white); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
body.modal-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); font-family: var(--serif); line-height: 1.14; }
h1 { max-width: 780px; margin-bottom: 24px; font-size: clamp(2.55rem, 5vw, 4.45rem); letter-spacing: -.035em; }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 3.4vw, 3.1rem); letter-spacing: -.025em; }
h3 { font-size: min(30px, 1.45rem); }

.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; padding: 10px 14px; background: var(--navy); color: var(--white); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.eyebrow { margin-bottom: 15px; color: var(--blue); font-size: .78rem; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow-light { color: #dce9ff; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); border-bottom: 1px solid rgba(219, 229, 244, .8); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; min-height: 76px; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; color: var(--navy); }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 14px; background: var(--blue); color: var(--white); font-family: var(--serif); font-size: .92rem; font-weight: 700; box-shadow: 0 8px 18px rgba(37, 101, 217, .24); }
.brand-name { font-family: var(--serif); font-size: 1.08rem; font-weight: 700; }
.desktop-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.desktop-nav a { color: #41506e; font-size: .9rem; font-weight: 500; }
.desktop-nav a:hover { color: var(--blue); }
.header-cta { margin-left: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; padding: 10px; border: 0; border-radius: 12px; background: var(--ice); }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--navy); border-radius: 2px; }
.header-phone-button { display: none; width: 42px; height: 42px; padding: 0; border: 1px solid #cbd9ef; border-radius: 13px; background: var(--white); color: var(--blue); cursor: pointer; font-size: 1.16rem; }
.mobile-nav { padding: 0 20px 20px; background: var(--white); border-top: 1px solid var(--line); }
.mobile-nav a { display: block; padding: 12px 0; font-weight: 600; }
.mobile-nav .button { width: 100%; margin-top: 8px; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 24px; border: 1px solid transparent; border-radius: 18px; cursor: pointer; font-weight: 700; line-height: 1.2; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .icon-button:focus-visible, .text-button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, .choice-card:focus-within { outline: 3px solid rgba(37, 101, 217, .25); outline-offset: 2px; }
.button-primary { background: var(--blue); color: var(--white); box-shadow: 0 13px 28px rgba(37, 101, 217, .24); }
.button-primary:hover { background: var(--blue-dark); }
.button-dark { min-height: 46px; padding: 11px 21px; background: var(--navy); color: var(--white); border-radius: 16px; }
.button-secondary { background: var(--white); color: var(--blue); border-color: #cbd9ef; }
.button-white { background: var(--white); color: var(--blue-dark); box-shadow: 0 13px 28px rgba(6, 31, 82, .18); }
.button-outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .45); }
.button-outline-light:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .75); }
.button-danger { background: var(--red); color: var(--white); }

.hero { overflow: hidden; padding: 88px 0 86px; background: radial-gradient(circle at 73% 35%, rgba(94, 163, 255, .19), transparent 30%), linear-gradient(135deg, #f7faff 0%, #eaf3ff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 64px; }
.hero-lead { max-width: 680px; margin-bottom: 30px; color: #485978; font-size: 1.13rem; line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 24px; color: #5e6c88; font-size: .88rem; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(22, 134, 87, .1); }
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: -18px 28px 36px -18px; border: 1px solid rgba(37, 101, 217, .18); border-radius: 34px; }
.hero-visual img { position: relative; min-height: 420px; object-fit: cover; border-radius: 34px 34px 34px 10px; box-shadow: var(--shadow); }
.hero-label { position: absolute; left: -26px; bottom: -24px; display: grid; gap: 4px; padding: 20px 24px; background: rgba(255, 255, 255, .94); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.hero-label strong { color: var(--blue-dark); font-family: var(--serif); font-size: 1.45rem; }
.hero-label span { color: var(--muted); font-size: .8rem; }

.metrics { background: var(--white); border-bottom: 1px solid var(--line); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 34px 0; }
.metrics-grid div { padding: 0 28px; border-right: 1px solid var(--line); }
.metrics-grid div:first-child { padding-left: 0; }
.metrics-grid div:last-child { border-right: 0; }
.metrics-grid strong { display: block; margin-bottom: 3px; color: var(--blue); font-family: var(--serif); font-size: 1.55rem; }
.metrics-grid span { color: #5c6a85; font-size: .83rem; }

.section { padding: 104px 0; }
.section-tint { background: var(--ice); }
.section-heading { margin-bottom: 48px; }
.section-heading > p:last-child, .section-intro { max-width: 700px; color: #5a6984; font-size: 1.02rem; }
.split-heading { display: grid; grid-template-columns: 1fr .72fr; align-items: end; gap: 80px; }

.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.service-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 13px 40px rgba(22, 56, 112, .07); }
.service-card.featured { border-color: #b9cff5; box-shadow: 0 18px 46px rgba(37, 101, 217, .12); }
.service-image { display: block; height: 235px; overflow: hidden; }
.service-image img { height: 100%; object-fit: cover; transition: transform .45s ease; }
.service-card:hover .service-image img { transform: scale(1.035); }
.service-body { padding: 32px; }
.service-tag { display: inline-flex; margin-bottom: 17px; padding: 7px 11px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-dark); font-size: .72rem; font-weight: 700; }
.service-body h3 { margin-bottom: 15px; font-size: min(30px, 1.75rem); }
.service-body > p { min-height: 78px; color: #5d6b85; }
.check-list { display: grid; gap: 9px; margin: 22px 0 28px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 18px; height: 18px; border: 1px solid #81a7ea; border-radius: 50%; color: var(--blue); font-size: .66rem; font-weight: 700; }
.service-button { width: 100%; }

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.steps-grid li { min-height: 245px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; }
.steps-grid span { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 36px; border-radius: 18px; background: var(--blue); color: var(--white); font-weight: 700; box-shadow: 0 10px 20px rgba(37, 101, 217, .18); }
.steps-grid h3 { margin-bottom: 12px; font-family: var(--sans); font-size: min(30px, 1.05rem); }
.steps-grid p { margin: 0; color: #65738d; font-size: .88rem; }

.diagnostic-section { background: linear-gradient(180deg, var(--white), var(--ice)); }
.diagnostic-panel { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; padding: 64px; background: linear-gradient(135deg, #2565d9, #1e56bd); border-radius: 34px; box-shadow: 0 28px 60px rgba(30, 86, 189, .2); }
.diagnostic-copy h2, .diagnostic-copy p { color: var(--white); }
.diagnostic-copy > p:not(.eyebrow) { color: #dfe9fb; }
.diagnostic-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.text-button { padding: 8px 0; border: 0; background: transparent; color: var(--white); cursor: pointer; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.diagnostic-preview { padding: 30px; background: rgba(255, 255, 255, .97); border-radius: 24px; box-shadow: 0 18px 45px rgba(0, 31, 91, .22); transform: rotate(1.5deg); }
.preview-top { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.preview-top span { color: var(--muted); font-size: .82rem; }
.preview-top strong { color: var(--navy); font-family: var(--serif); font-size: 2rem; }
.preview-bar { height: 11px; margin: 18px 0 26px; overflow: hidden; background: #e4ebf6; border-radius: 99px; }
.preview-bar i { display: block; width: 72%; height: 100%; background: var(--blue); border-radius: inherit; }
.preview-status { display: flex; align-items: flex-start; gap: 14px; }
.preview-dot { flex: 0 0 auto; width: 13px; height: 13px; margin-top: 4px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px var(--green-soft); }
.preview-status strong { display: block; margin-bottom: 5px; color: var(--navy); font-size: .92rem; }
.preview-status small { display: block; color: var(--muted); line-height: 1.5; }

.final-cta { padding: 0 0 100px; background: var(--ice); }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; padding: 48px 56px; background: var(--navy); border-radius: 28px; }
.final-cta h2 { max-width: 670px; margin: 0; color: var(--white); font-size: clamp(1.8rem, 3vw, 2.6rem); }

.site-footer { padding: 68px 0 24px; background: #0c1a33; color: #aab6cc; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .72fr .92fr .7fr; gap: 52px; }
.brand-footer { margin-bottom: 22px; color: var(--white); }
.brand-mark-light { background: var(--white); color: var(--blue); }
.footer-grid p { max-width: 500px; font-size: .88rem; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 9px; font-size: .88rem; }
.footer-grid strong { margin-bottom: 8px; color: var(--white); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom { margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .75rem; }

.legal-page-main { min-height: 68vh; background: linear-gradient(135deg, #f7faff 0%, #edf4ff 100%); }
.legal-page-section { padding: 76px 0 96px; }
.legal-page-container { max-width: 920px; }
.legal-page-container h1 { max-width: 850px; font-size: clamp(2.5rem, 5vw, 4rem); }
.legal-placeholder-card { margin-top: 42px; padding: 42px; background: var(--white); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.legal-placeholder-card > span { display: inline-flex; margin-bottom: 20px; padding: 7px 12px; background: var(--blue-soft); border-radius: 999px; color: var(--blue-dark); font-size: .76rem; font-weight: 700; }
.legal-placeholder-card h2 { max-width: 720px; font-size: clamp(1.65rem, 3vw, 2.25rem); }
.legal-placeholder-card p { max-width: 760px; color: #5e6d88; }
.legal-placeholder-card p:last-child { margin-bottom: 0; }
.legal-placeholder-card a { color: var(--blue); font-weight: 700; }

.cookie-banner { position: fixed; right: 20px; bottom: 20px; left: 20px; z-index: 120; transition: opacity .2s ease, transform .2s ease; }
.cookie-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; width: min(1100px, 100%); margin: 0 auto; padding: 20px 22px; background: rgba(14, 27, 54, .97); border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; box-shadow: 0 22px 60px rgba(5, 15, 34, .28); color: #dce5f4; backdrop-filter: blur(14px); }
.cookie-copy strong { display: block; margin-bottom: 3px; color: var(--white); font-family: var(--serif); font-size: 1.08rem; }
.cookie-copy p { max-width: 790px; margin: 0; font-size: .84rem; line-height: 1.55; }
.cookie-copy a { color: #9fc0ff; text-decoration: underline; text-underline-offset: 3px; }
.cookie-accept { flex: 0 0 auto; min-height: 46px; padding: 11px 22px; border-radius: 15px; }
.cookie-banner-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }

.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 18px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 19, 41, .72); backdrop-filter: blur(6px); }
.modal-panel { position: relative; display: flex; flex-direction: column; width: min(920px, 100%); max-height: calc(100vh - 36px); overflow: hidden; background: var(--white); border-radius: 28px; box-shadow: 0 30px 100px rgba(3, 18, 48, .34); }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 26px; border-bottom: 1px solid var(--line); }
.icon-button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--white); color: var(--navy); cursor: pointer; font-size: 1.7rem; line-height: 1; }
.wizard-progress { display: flex; align-items: center; gap: 8px; min-height: 50px; padding: 10px 28px; background: var(--ice); border-bottom: 1px solid var(--line); }
.progress-step { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .75rem; font-weight: 700; }
.progress-step::before { content: attr(data-step); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #dfe8f6; color: #536683; font-size: .7rem; }
.progress-step.active { color: var(--blue-dark); }
.progress-step.active::before, .progress-step.done::before { background: var(--blue); color: var(--white); }
.progress-line { flex: 1; height: 1px; min-width: 20px; background: #cfdaeb; }
.modal-content { overflow-y: auto; overscroll-behavior: contain; padding: 34px 38px 42px; }
.wizard-kicker { margin-bottom: 10px; color: var(--blue); font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.wizard-title { margin-bottom: 14px; font-size: clamp(1.75rem, 4vw, 2.5rem); }
.wizard-lead { max-width: 720px; margin-bottom: 28px; color: #63718b; }
.type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.type-card { padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); cursor: pointer; text-align: left; transition: border-color .2s, transform .2s, box-shadow .2s; }
.type-card:hover { transform: translateY(-2px); border-color: #8bb0ee; box-shadow: 0 14px 35px rgba(37, 101, 217, .09); }
.type-icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 24px; border-radius: 17px; background: var(--blue-soft); color: var(--blue); font-size: 1.3rem; font-weight: 700; }
.type-card h3 { margin-bottom: 7px; font-family: var(--sans); font-size: min(30px, 1.08rem); }
.type-card p { margin: 0; color: var(--muted); font-size: .86rem; }
.wizard-assurance { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; padding: 18px 20px; background: var(--ice); border-radius: 16px; color: #5d6c87; font-size: .78rem; }

.form-section { margin-top: 34px; }
.form-section-title { margin-bottom: 17px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-family: var(--sans); font-size: 1.05rem; }
.fields-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field label { color: var(--navy); font-size: .79rem; font-weight: 700; }
.field input, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid #cad7ea; border-radius: 13px; background: var(--white); color: var(--navy); }
.field textarea { min-height: 95px; resize: vertical; }
.question-list { display: grid; gap: 18px; }
.question-card { padding: 22px; background: var(--ice); border: 1px solid var(--line); border-radius: 18px; }
.question-card legend { width: 100%; margin-bottom: 14px; color: var(--navy); font-weight: 700; line-height: 1.45; }
.question-number { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 8px; border-radius: 10px; background: var(--blue); color: var(--white); font-size: .75rem; }
.choices { display: grid; gap: 9px; }
.choice-card { position: relative; display: flex; align-items: flex-start; gap: 11px; padding: 12px 13px; border: 1px solid #d2dcec; border-radius: 12px; background: var(--white); cursor: pointer; }
.choice-card:has(input:checked) { border-color: var(--blue); background: #f5f9ff; box-shadow: 0 0 0 2px rgba(37, 101, 217, .08); }
.choice-card input { margin-top: 4px; accent-color: var(--blue); }
.choice-card span { color: #4d5d79; font-size: .88rem; line-height: 1.45; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; color: #66748c; font-size: .78rem; }
.consent input { margin-top: 4px; accent-color: var(--blue); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.form-actions .button-primary { margin-left: auto; }
.button-plain { padding: 12px 0; border: 0; background: none; color: var(--blue); cursor: pointer; font-weight: 700; }
.form-error { display: none; margin-top: 16px; padding: 12px 14px; background: var(--red-soft); border-radius: 12px; color: var(--red); font-size: .83rem; }
.form-error.visible { display: block; }

.result-card { padding: 28px; border-radius: 24px; border: 1px solid; }
.result-card.green { background: var(--green-soft); border-color: #b9e5d1; }
.result-card.yellow { background: var(--yellow-soft); border-color: #eed398; }
.result-card.red { background: var(--red-soft); border-color: #f0bcbc; }
.result-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .8); font-size: .74rem; font-weight: 800; text-transform: uppercase; }
.result-card.green .result-badge { color: var(--green); }
.result-card.yellow .result-badge { color: var(--yellow); }
.result-card.red .result-badge { color: var(--red); }
.result-card h2 { margin-bottom: 14px; font-size: 2rem; }
.result-card p { color: #53627c; }
.reasons { margin: 20px 0 0; padding: 18px 20px 18px 39px; background: rgba(255, 255, 255, .68); border-radius: 16px; }
.reasons li { margin: 7px 0; color: #485874; font-size: .86rem; }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.score-hero { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; margin-bottom: 24px; padding: 24px; background: var(--navy); border-radius: 22px; color: var(--white); }
.score-number { display: grid; place-items: center; width: 122px; height: 122px; border: 8px solid rgba(255, 255, 255, .16); border-top-color: #73a5ff; border-radius: 50%; font-family: var(--serif); font-size: 2rem; font-weight: 700; }
.score-copy h2 { margin-bottom: 8px; color: var(--white); font-size: 1.85rem; }
.score-copy p { margin: 0; color: #ced9ed; font-size: .86rem; }
.cap-note { margin-top: 10px !important; color: #f2c875 !important; }
.block-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.block-card { padding: 17px; border: 1px solid var(--line); border-radius: 16px; background: var(--ice); }
.block-card-top { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 9px; }
.block-card strong { color: var(--navy); font-size: .84rem; }
.block-card span { color: var(--blue); font-weight: 800; font-size: .82rem; }
.mini-bar { height: 7px; overflow: hidden; background: #dfe7f2; border-radius: 999px; }
.mini-bar i { display: block; height: 100%; background: var(--blue); border-radius: inherit; }
.insight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.insight-card { padding: 20px; border: 1px solid var(--line); border-radius: 18px; }
.insight-card h3 { margin-bottom: 12px; font-family: var(--sans); font-size: min(30px, .95rem); }
.insight-card ul { margin: 0; padding-left: 20px; }
.insight-card li { margin: 7px 0; color: #5a6984; font-size: .82rem; }
.disclaimer { margin-top: 20px; padding: 14px 16px; background: var(--ice); border-radius: 13px; color: var(--muted); font-size: .76rem; }
.skolkovo-status { margin-top: 18px; padding: 16px; background: var(--blue-soft); border-radius: 14px; color: #3f5e91; font-size: .84rem; }

@media (max-width: 980px) {
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .hero { padding-top: 64px; }
  .hero-grid, .split-heading, .diagnostic-panel { grid-template-columns: 1fr; }
  .hero-grid { gap: 54px; }
  .hero-visual { max-width: 720px; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .metrics-grid div { padding: 20px; border-bottom: 1px solid var(--line); }
  .metrics-grid div:nth-child(2) { border-right: 0; }
  .metrics-grid div:nth-child(3), .metrics-grid div:nth-child(4) { border-bottom: 0; }
  .metrics-grid div:first-child { padding-left: 20px; }
  .split-heading { gap: 15px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .diagnostic-panel { gap: 42px; }
  .diagnostic-preview { transform: none; }
  .footer-grid { grid-template-columns: 1.2fr 1fr; gap: 42px 70px; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 28px, 1160px); }
  .header-inner { min-height: 68px; }
  .hero { padding: 50px 0 65px; }
  .hero-actions, .hero-actions .button { width: 100%; }
  .hero-visual img { min-height: 270px; border-radius: 24px; }
  .hero-label { left: 12px; right: 12px; bottom: -25px; }
  .metrics-grid { padding: 14px 0; }
  .metrics-grid strong { font-size: 1.22rem; }
  .section { padding: 74px 0; }
  .service-grid, .steps-grid, .fields-grid, .type-grid, .block-grid, .insight-grid { grid-template-columns: 1fr; }
  .service-image { height: 200px; }
  .service-body { padding: 25px; }
  .service-body > p { min-height: auto; }
  .steps-grid li { min-height: 0; }
  .diagnostic-panel { padding: 34px 24px; border-radius: 25px; }
  .diagnostic-actions, .diagnostic-actions .button { width: 100%; }
  .final-cta-inner { align-items: flex-start; flex-direction: column; padding: 36px 25px; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .legal-page-section { padding: 50px 0 72px; }
  .legal-placeholder-card { margin-top: 30px; padding: 28px 22px; border-radius: 22px; }
  .cookie-banner { right: 12px; bottom: 12px; left: 12px; }
  .cookie-banner-inner { align-items: stretch; flex-direction: column; gap: 16px; padding: 18px; border-radius: 17px; }
  .cookie-accept { width: 100%; }
  .modal { padding: 0; }
  .modal-panel { width: 100%; height: 100vh; max-height: 100vh; border-radius: 0; }
  .modal-header { padding: 13px 16px; }
  .modal-brand .brand-name { display: none; }
  .wizard-progress { padding: 10px 16px; overflow: hidden; }
  .progress-step span { display: none; }
  .modal-content { padding: 26px 17px 38px; }
  .question-card { padding: 16px; }
  .form-actions .button-primary, .form-actions .button { width: 100%; margin-left: 0; }
  .button-plain { width: 100%; }
  .score-hero { grid-template-columns: 1fr; text-align: center; }
  .score-number { margin: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Multi-page commercial site */
.desktop-nav a.active { color: var(--blue); font-weight: 700; }
.commercial-hero h1 { font-size: clamp(2.7rem, 5vw, 4.25rem); }
.process-section { background: var(--ice); }
.process-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; align-items: start; gap: 54px; }
.process-timeline { position: relative; display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.process-timeline::before { content: ""; position: absolute; top: 28px; bottom: 28px; left: 50%; width: 2px; background: #c9daf4; transform: translateX(-50%); }
.process-step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 62px minmax(0, 1fr); align-items: center; min-height: 142px; }
.process-step article { position: relative; z-index: 1; padding: 25px 27px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 12px 34px rgba(22, 56, 112, .06); }
.process-step-left article { margin-right: 16px; }
.process-step-right article { margin-left: 16px; }
.process-step h3 { margin-bottom: 9px; font-size: min(30px, 1.25rem); }
.process-step p { margin: 0; color: #61708b; font-size: .9rem; }
.process-number { position: relative; z-index: 2; display: grid; grid-column: 2; place-items: center; width: 48px; height: 48px; margin: auto; background: var(--blue); border: 7px solid var(--ice); border-radius: 50%; color: var(--white); font-family: var(--serif); font-size: 1rem; font-weight: 700; box-shadow: 0 8px 20px rgba(37, 101, 217, .22); }
.process-facts { position: sticky; top: 108px; display: grid; gap: 16px; }
.process-facts div { padding: 26px; background: var(--navy); border-radius: 22px; box-shadow: 0 16px 36px rgba(14, 27, 54, .14); }
.process-facts div + div { background: var(--blue); }
.process-facts strong { display: block; margin-bottom: 8px; color: var(--white); font-family: var(--serif); font-size: 1.2rem; line-height: 1.3; }
.process-facts span { display: block; color: #ced9eb; font-size: .82rem; line-height: 1.55; }
.process-facts div + div span { color: #e0eaff; }
.problem-section { background: var(--white); }
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pain-card { min-height: 270px; padding: 26px; background: var(--ice); border: 1px solid var(--line); border-radius: 22px; }
.pain-card > span { display: inline-flex; margin-bottom: 46px; color: var(--blue); font-family: var(--serif); font-size: 1.2rem; font-weight: 700; }
.pain-card h3 { margin-bottom: 12px; font-family: var(--serif); font-size: min(30px, 1.16rem); }
.pain-card p { margin-bottom: 0; color: #65738d; font-size: .86rem; }
.problem-conclusion { display: flex; align-items: center; gap: 28px; margin-top: 20px; padding: 24px 28px; background: var(--navy); border-radius: 20px; color: #cfd9ea; }
.problem-conclusion strong { flex: 0 0 52%; color: var(--white); font-family: var(--serif); font-size: 1.16rem; }
.problem-conclusion span { font-size: .9rem; }

.route-service-body { display: flex; flex-direction: column; min-height: 330px; }
.service-body .route-service-title { font-size: 1.45rem; line-height: 1.25; }
.route-service-body > p { min-height: auto; margin-bottom: 28px; }
.route-service-body .service-button { margin-top: auto; }

.work-path { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.work-path li { display: grid; grid-template-columns: 70px 1fr minmax(230px, .7fr); align-items: center; gap: 28px; padding: 28px 6px; border-bottom: 1px solid var(--line); }
.work-path > li > span { color: var(--blue); font-family: var(--serif); font-size: 1.35rem; font-weight: 700; }
.work-path h3 { margin-bottom: 5px; font-family: var(--sans); font-size: min(30px, 1.05rem); }
.work-path p { margin: 0; color: #64728c; font-size: .88rem; }
.work-path strong { color: #3e5276; font-size: .8rem; line-height: 1.5; }

.home-result-section { background: linear-gradient(135deg, #edf4ff, #f8fbff); border-top: 1px solid var(--line); }
.home-result-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 78px; }
.home-result-grid > div:first-child > p:last-child { color: #60708c; }
.home-result-section .section-heading h2 { max-width: 900px; }
.result-cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.result-summary-card { padding: 34px; background: var(--white); border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 15px 42px rgba(23, 56, 111, .07); }
.result-summary-card h3 { margin-bottom: 24px; font-size: min(30px, 1.55rem); }
.result-summary-card ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.result-summary-card li { position: relative; padding-left: 31px; color: #52627d; }
.result-summary-card li::before { content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 20px; height: 20px; background: var(--blue-soft); border-radius: 50%; color: var(--blue); font-size: .68rem; font-weight: 700; }
.deliverables-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.deliverables-grid span { position: relative; padding: 18px 18px 18px 48px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; color: var(--navy); font-size: .83rem; font-weight: 700; }
.deliverables-grid span::before { content: "✓"; position: absolute; left: 18px; top: 18px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: .66rem; }
.audience-section { background: var(--white); }
.audience-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; padding: 0; list-style: none; }
.audience-list li { position: relative; min-height: 92px; padding: 25px 26px 25px 62px; background: var(--ice); border: 1px solid var(--line); border-radius: 20px; color: var(--navy); font-weight: 600; }
.audience-list li::before { content: ""; position: absolute; left: 27px; top: 31px; width: 12px; height: 12px; background: var(--blue); border: 5px solid var(--blue-soft); border-radius: 50%; }
.audience-list li:last-child { grid-column: 1 / -1; }
.faq-section { background: var(--ice); border-top: 1px solid var(--line); }
.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; align-items: start; gap: 80px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.faq-list summary { position: relative; padding: 21px 58px 21px 23px; color: var(--navy); cursor: pointer; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 22px; top: 50%; display: grid; place-items: center; width: 26px; height: 26px; background: var(--blue-soft); border-radius: 50%; color: var(--blue); font-size: 1.1rem; transform: translateY(-50%); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 23px 22px; color: #61708a; }
.home-final-cta { padding-top: 100px; }
.final-cta-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.final-cta-inner > div > p:not(.eyebrow) { max-width: 680px; margin: 12px 0 0; color: #c9d5e8; }

.back-link { display: inline-flex; margin-bottom: 25px; color: var(--blue); font-size: .82rem; font-weight: 700; }
.service-hero { padding: 74px 0 92px; background: linear-gradient(135deg, #f7faff 0%, #eaf3ff 100%); }
.service-hero-grid { display: grid; grid-template-columns: 1fr .88fr; align-items: center; gap: 72px; }
.service-hero h1 { max-width: 720px; font-size: clamp(2.7rem, 5vw, 4.15rem); }
.service-hero-image { position: relative; }
.service-hero-image img { height: 485px; object-fit: cover; border-radius: 30px; box-shadow: var(--shadow); }
.service-hero-image > div { position: absolute; left: -28px; right: 34px; bottom: -30px; padding: 20px 24px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.service-hero-image strong { display: block; margin-bottom: 4px; color: var(--blue); font-family: var(--serif); font-size: 1.15rem; }
.service-hero-image span { color: var(--muted); font-size: .78rem; }
.price-note { display: inline-flex; align-items: center; gap: 18px; margin-top: 26px; padding: 13px 17px; background: rgba(255,255,255,.72); border: 1px solid #d4e1f3; border-radius: 14px; }
.price-note span { color: var(--muted); font-size: .76rem; }
.price-note strong { color: var(--blue); font-family: var(--serif); }

.challenge-strip { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 20px; }
.challenge-strip span { position: relative; padding: 24px 20px 24px 46px; background: var(--ice); border-right: 1px solid var(--line); color: var(--navy); font-size: .82rem; font-weight: 700; }
.challenge-strip span:last-child { border-right: 0; }
.challenge-strip span::before { content: "!"; position: absolute; left: 18px; top: 23px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--yellow-soft); color: var(--yellow); font-size: .7rem; }

.scope-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.scope-grid article { min-height: 245px; padding: 27px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; }
.scope-grid article > span { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 32px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); font-weight: 800; }
.scope-grid h3 { margin-bottom: 10px; font-family: var(--sans); font-size: min(30px, 1rem); }
.scope-grid p { margin: 0; color: #65738c; font-size: .84rem; }

.route-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.route-card { padding: 34px; background: var(--white); border: 1px solid var(--line); border-radius: 25px; box-shadow: 0 15px 42px rgba(23, 56, 111, .07); }
.route-card h3 { margin-bottom: 13px; font-size: min(30px, 1.6rem); }
.route-card > p { color: #64728c; }

.outcome-section { background: var(--ice); }
.outcome-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 80px; }
.outcome-grid > div > p:last-child { color: #60708b; }
.outcome-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.outcome-list li { position: relative; padding: 18px 20px 18px 52px; background: var(--white); border: 1px solid var(--line); border-radius: 15px; color: var(--navy); font-size: .86rem; font-weight: 700; }
.outcome-list li::before { content: "✓"; position: absolute; left: 20px; top: 18px; color: var(--blue); }

.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.program-card { display: flex; flex-direction: column; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; }
.program-card.featured-program { border-color: #a9c4f4; box-shadow: 0 18px 42px rgba(37, 101, 217, .1); }
.program-card h3 { margin-bottom: 12px; font-size: min(30px, 1.55rem); }
.program-card > p { min-height: 105px; color: #62708a; font-size: .9rem; }
.program-card .button { margin-top: auto; }
.grant-scope article { background: var(--ice); }
.microgrant-section { background: var(--navy); }
.microgrant-section h2 { color: var(--white); }
.microgrant-section .eyebrow { color: #9dc0ff; }
.microgrant-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.microgrant-grid span { position: relative; padding: 17px 18px 17px 47px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 15px; color: #e1e9f7; font-size: .84rem; }
.microgrant-grid span::before { content: "✓"; position: absolute; left: 18px; color: #73a5ff; }
.section-footnote { margin: 22px 0 0; color: #9cabc3; font-size: .78rem; }
.compact-steps li { min-height: 210px; }

/* Grants page */
.grant-hero-actions { max-width: 760px; }
.grant-explainer { padding-top: 88px; background: var(--white); }
.grant-explainer-heading { display: grid; grid-template-columns: .78fr 1.22fr; column-gap: 70px; align-items: start; }
.grant-explainer-heading .eyebrow { grid-column: 1 / -1; }
.grant-explainer-heading h2 { max-width: 500px; }
.grant-explainer-heading .section-intro { max-width: none; margin-top: 7px; }
.grant-principles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grant-principles-grid article { min-height: 245px; padding: 27px; background: var(--ice); border: 1px solid var(--line); border-radius: 22px; }
.grant-principles-grid article > span { display: inline-flex; margin-bottom: 36px; color: var(--blue); font-family: var(--serif); font-size: 1.1rem; font-weight: 700; }
.grant-principles-grid h3 { margin-bottom: 12px; font-size: min(30px, 1.18rem); }
.grant-principles-grid p { margin: 0; color: #65738d; font-size: .86rem; }

.grant-program-grid .program-card { min-height: 600px; }
.grant-program-grid .service-tag { align-self: flex-start; }
.grant-program-grid .program-card > p.program-name { min-height: auto; margin: -2px 0 22px; color: var(--blue); font-family: var(--serif); font-size: 1.15rem; font-weight: 700; }
.program-detail { margin-bottom: 20px; }
.program-detail strong { display: block; margin-bottom: 6px; color: var(--navy); font-size: .75rem; letter-spacing: .11em; text-transform: uppercase; }
.program-detail p { margin: 0; color: #62708a; font-size: .84rem; line-height: 1.62; }
.grant-program-grid .program-card small { display: block; min-height: 42px; margin-top: 12px; color: #76849c; font-size: .7rem; line-height: 1.5; text-align: center; }
.grant-program-grid .button { width: 100%; padding-inline: 18px; text-align: center; }

.grant-scope { grid-template-columns: repeat(4, 1fr); }
.grant-scope article { min-height: 270px; }
.readiness-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 24px; padding: 26px 30px; background: var(--blue-soft); border: 1px solid #cbdcf6; border-radius: 22px; }
.readiness-cta div { display: grid; gap: 3px; }
.readiness-cta span { color: #64728d; font-size: .78rem; }
.readiness-cta strong { color: var(--navy); font-family: var(--serif); font-size: 1.2rem; }

.grant-order-section { background: linear-gradient(135deg, #f4f8fe 0%, #eaf2ff 100%); }
.grant-subheading { margin: 0 0 18px; color: var(--navy); font-family: var(--serif); font-size: 1.28rem; font-weight: 700; }
.diagnostic-outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.diagnostic-outcomes article { position: relative; min-height: 175px; padding: 26px 25px 24px 58px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 12px 34px rgba(22, 56, 112, .05); }
.diagnostic-outcomes article > span { position: absolute; left: 25px; top: 31px; width: 14px; height: 14px; border: 5px solid; border-radius: 50%; }
.diagnostic-outcomes .outcome-ready > span { background: var(--green); border-color: var(--green-soft); }
.diagnostic-outcomes .outcome-work > span { background: var(--yellow); border-color: var(--yellow-soft); }
.diagnostic-outcomes .outcome-stop > span { background: var(--red); border-color: var(--red-soft); }
.diagnostic-outcomes h3 { margin-bottom: 9px; font-size: min(30px, 1.16rem); }
.diagnostic-outcomes p { margin: 0; color: #65738d; font-size: .86rem; }
.workflow-heading { margin-top: 54px; }
.grant-workflow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.grant-workflow li { position: relative; min-height: 150px; padding: 23px 20px; background: var(--navy); border-radius: 20px; }
.grant-workflow li:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; right: -13px; top: 50%; display: grid; place-items: center; width: 26px; height: 26px; background: var(--white); border: 1px solid var(--line); border-radius: 50%; color: var(--blue); font-size: .8rem; transform: translateY(-50%); }
.grant-workflow span { display: block; margin-bottom: 30px; color: #8fb5fb; font-size: .75rem; font-weight: 700; }
.grant-workflow strong { display: block; color: var(--white); font-size: .86rem; line-height: 1.45; }

.grant-assurance-section { background: var(--white); }
.grant-assurance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grant-info-card { min-height: 390px; padding: 44px; background: var(--ice); border: 1px solid var(--line); border-radius: 28px; }
.grant-info-card h2 { max-width: 500px; font-size: clamp(1.8rem, 3vw, 2.55rem); }
.grant-info-card > p:last-child { max-width: 560px; margin: 25px 0 0; color: #5f6f89; }
.grant-info-card-dark { background: var(--navy); border-color: var(--navy); }
.grant-info-card-dark h2 { color: var(--white); }
.grant-info-card-dark > p:last-child { color: #c5d1e4; }

.grant-final-cta { padding-bottom: 100px; }
.grant-final-inner { align-items: stretch; }
.grant-final-inner > div:first-child { display: flex; flex: 1 1 auto; flex-direction: column; justify-content: center; }
.grant-final-actions { display: grid; flex: 0 0 330px; grid-template-columns: 1fr; gap: 10px; }
.grant-final-actions .button { width: 100%; }
.grant-final-actions > span { margin-top: 5px; color: #aebdd3; font-size: .75rem; text-align: center; }
.account-delivery-pending { margin-bottom: 0; }
.account-delivery-icon { display: grid; place-items: center; width: 82px; height: 82px; border: 7px solid rgba(255, 255, 255, .16); border-radius: 50%; color: var(--white); font-size: 1.7rem; font-weight: 700; }

/* Standalone diagnostic */
.diagnostic-page-body { min-height: 100vh; background: var(--ice); }
.diagnostic-page-main { padding: 54px 0 86px; }
.diagnostic-page-grid { display: grid; grid-template-columns: minmax(280px, .6fr) minmax(0, 1.4fr); align-items: start; gap: 34px; }
.diagnostic-page-intro { position: sticky; top: 110px; padding: 15px 14px 20px 0; }
.diagnostic-page-intro h1 { margin-bottom: 20px; font-size: clamp(2.25rem, 4vw, 3.45rem); }
.diagnostic-page-intro > p:not(.eyebrow):not(.diagnostic-warning) { color: #60708b; }
.diagnostic-benefits { display: grid; gap: 11px; margin: 28px 0; padding: 0; list-style: none; }
.diagnostic-benefits li { display: grid; gap: 2px; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.diagnostic-benefits strong { color: var(--blue); font-size: .78rem; }
.diagnostic-benefits span { color: #5e6d88; font-size: .78rem; }
.diagnostic-warning { padding: 15px 17px; background: #fff8e9; border: 1px solid #efddaf; border-radius: 14px; color: #806321; font-size: .75rem; }
.diagnostic-shell { overflow: hidden; scroll-margin-top: 92px; background: var(--white); border: 1px solid var(--line); border-radius: 27px; box-shadow: 0 20px 55px rgba(30, 70, 130, .1); }
.diagnostic-shell .wizard-progress { position: sticky; top: 76px; z-index: 4; }
.diagnostic-wizard-content { padding: 34px 38px 42px; }
.diagnostic-wizard-content .type-card { min-height: 210px; }
.diagnostic-footer { padding: 25px 0; background: var(--navy); color: #aebbd0; font-size: .78rem; }
.diagnostic-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.diagnostic-footer a:hover { color: var(--white); }

@media (max-width: 1050px) {
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .process-layout { grid-template-columns: 1fr; }
  .process-facts { position: static; grid-template-columns: 1fr 1fr; }
  .work-path li { grid-template-columns: 55px 1fr; }
  .work-path strong { grid-column: 2; }
  .service-hero-grid { grid-template-columns: 1fr; }
  .service-hero-image { max-width: 780px; }
  .scope-grid { grid-template-columns: 1fr 1fr; }
  .program-grid { grid-template-columns: 1fr; }
  .program-card > p { min-height: auto; }
  .diagnostic-page-grid { grid-template-columns: 1fr; }
  .diagnostic-page-intro { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
  .diagnostic-page-intro .back-link, .diagnostic-page-intro .eyebrow, .diagnostic-page-intro h1 { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .header-phone-button { display: grid; place-items: center; margin-left: auto; }
  .header-phone-button + .menu-toggle { margin-left: 8px; }
  .pain-grid, .scope-grid, .route-grid, .outcome-grid, .home-result-grid, .deliverables-grid, .microgrant-grid, .result-cards-grid, .audience-list, .faq-layout, .process-facts { grid-template-columns: 1fr; }
  .process-timeline { gap: 14px; }
  .process-timeline::before { left: 24px; }
  .process-step { grid-template-columns: 48px minmax(0, 1fr); min-height: 0; }
  .process-step article, .process-step-left article, .process-step-right article { grid-column: 2; grid-row: 1; margin: 0; padding: 22px; }
  .process-step .process-number { grid-column: 1; grid-row: 1; width: 44px; height: 44px; }
  .process-step > span[aria-hidden="true"] { display: none; }
  .pain-card { min-height: 0; }
  .pain-card > span { margin-bottom: 28px; }
  .problem-conclusion { align-items: flex-start; flex-direction: column; gap: 8px; }
  .problem-conclusion strong { flex: auto; }
  .route-service-body { min-height: 0; }
  .audience-list li:last-child { grid-column: auto; }
  .faq-layout { gap: 30px; }
  .final-cta-actions, .final-cta-actions .button { width: 100%; }
  .work-path li { grid-template-columns: 42px 1fr; gap: 14px; }
  .home-result-grid, .outcome-grid { gap: 36px; }
  .service-hero { padding: 45px 0 76px; }
  .service-hero-grid { gap: 48px; }
  .service-hero-image img { height: 310px; border-radius: 22px; }
  .service-hero-image > div { left: 12px; right: 12px; bottom: -35px; }
  .price-note { align-items: flex-start; flex-direction: column; gap: 3px; }
  .challenge-strip { grid-template-columns: 1fr; }
  .challenge-strip span { border-right: 0; border-bottom: 1px solid var(--line); }
  .challenge-strip span:last-child { border-bottom: 0; }
  .diagnostic-page-main { padding-top: 32px; }
  .diagnostic-page-intro { display: block; }
  .diagnostic-page-intro .diagnostic-benefits { display: none; }
  .diagnostic-wizard-content { padding: 26px 17px 38px; }
  .diagnostic-shell { border-radius: 20px; }
  .diagnostic-shell .wizard-progress { top: 68px; }
  .diagnostic-footer .container { flex-direction: column; gap: 6px; }
}

@media (max-width: 1050px) {
  .grant-explainer-heading { grid-template-columns: 1fr; gap: 0; }
  .grant-principles-grid { grid-template-columns: 1fr 1fr; }
  .grant-program-grid .program-card { min-height: 0; }
  .grant-scope { grid-template-columns: 1fr 1fr; }
  .grant-workflow { grid-template-columns: repeat(3, 1fr); }
  .grant-workflow li:nth-child(3)::after { display: none; }
  .grant-assurance-grid { grid-template-columns: 1fr; }
  .grant-info-card { min-height: 0; }
}

@media (max-width: 700px) {
  .grant-hero-actions, .grant-hero-actions .button { width: 100%; }
  .grant-principles-grid, .grant-scope, .diagnostic-outcomes, .grant-workflow { grid-template-columns: 1fr; }
  .grant-principles-grid article { min-height: 0; }
  .grant-principles-grid article > span { margin-bottom: 25px; }
  .readiness-cta { align-items: stretch; flex-direction: column; padding: 23px; }
  .readiness-cta .button { width: 100%; }
  .grant-workflow li { min-height: 0; }
  .grant-workflow li:not(:last-child)::after { display: none; }
  .grant-info-card { padding: 30px 24px; border-radius: 23px; }
  .grant-final-inner { align-items: flex-start; }
  .grant-final-actions { flex-basis: auto; width: 100%; }
  .account-delivery-icon { margin: auto; }
}

/* Home direction overview */
.home-directions-section { padding-top: 88px; background: var(--white); }
.home-directions-heading h2 { max-width: 920px; }
.home-direction-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.home-direction-card { display: flex; min-width: 0; min-height: 370px; flex-direction: column; padding: 36px; background: var(--ice); border: 1px solid var(--line); border-radius: 27px; overflow-wrap: anywhere; }
.home-direction-card:nth-child(2) { background: var(--white); border-color: #bcd0f1; box-shadow: 0 18px 45px rgba(37, 101, 217, .08); }
.direction-number { margin-bottom: 54px; color: var(--blue); font-family: var(--serif); font-size: 1rem; font-weight: 700; }
.home-direction-card h3 { margin-bottom: 16px; font-size: min(30px, 1.75rem); }
.home-direction-card p { margin-bottom: 28px; color: #5e6d87; }
.home-direction-card .button { align-self: flex-start; margin-top: auto; }
.direction-question { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; padding: 20px 24px; background: var(--navy); border-radius: 19px; color: #cbd7e9; }
.direction-question a { color: var(--white); font-weight: 700; }
.direction-question a:hover { color: #a9c8ff; }

/* Diagnostic route landing */
.diagnostic-landing-hero { padding: 70px 0 78px; background: radial-gradient(circle at 78% 22%, rgba(87, 151, 255, .2), transparent 27%), linear-gradient(135deg, #f7faff, #eaf3ff); }
.diagnostic-landing-hero-inner { max-width: 980px; }
.diagnostic-landing-hero h1 { max-width: 900px; }
.diagnostic-landing-hero .hero-lead { margin-bottom: 20px; }
.diagnostic-landing-note { max-width: 760px; margin: 0; padding: 17px 20px; background: rgba(255, 255, 255, .75); border: 1px solid var(--line); border-radius: 16px; color: #586985; font-size: .9rem; }
.diagnostic-routes-section { background: var(--white); }
.diagnostic-route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.diagnostic-route-card { display: flex; min-height: 610px; flex-direction: column; padding: 31px; background: var(--white); border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 14px 40px rgba(24, 58, 114, .06); }
.diagnostic-route-card.featured-route { border-color: #9cbcf1; box-shadow: 0 20px 48px rgba(37, 101, 217, .12); }
.route-index { display: block; margin-bottom: 39px; color: #7d96be; font-family: var(--serif); font-size: 1rem; font-weight: 700; }
.diagnostic-route-card h3 { min-height: 62px; margin-bottom: 15px; font-size: min(30px, 1.65rem); }
.diagnostic-route-card > p:not(.wizard-kicker) { color: #5e6e89; font-size: .9rem; }
.diagnostic-route-card ul { display: grid; gap: 9px; margin: 15px 0 28px; padding: 0; list-style: none; }
.diagnostic-route-card li { position: relative; padding-left: 25px; color: #53637e; font-size: .82rem; }
.diagnostic-route-card li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.diagnostic-route-card .button { width: 100%; margin-top: auto; padding-inline: 16px; text-align: center; }
.common-diagnostic-section { border-top: 1px solid var(--line); }
.diagnostic-choice-cta { padding-bottom: 100px; }

/* Skolkovo service page */
.skolkovo-benefits-section { background: var(--white); }
.skolkovo-benefit-grid article, .skolkovo-criteria-grid article { min-height: 285px; }
.skolkovo-fit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.skolkovo-fit-grid article { display: grid; min-height: 180px; align-content: space-between; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: 21px; }
.skolkovo-fit-grid span { color: var(--blue); font-family: var(--serif); font-weight: 700; }
.skolkovo-fit-grid strong { color: var(--navy); font-size: .9rem; line-height: 1.5; }
.skolkovo-disclaimer { margin: 20px 0 0; color: #71809a; font-size: .78rem; }
.skolkovo-stage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.skolkovo-stage-card { display: flex; min-height: 500px; flex-direction: column; padding: 36px; background: var(--ice); border: 1px solid var(--line); border-radius: 27px; }
.skolkovo-stage-card-accent { background: var(--navy); border-color: var(--navy); }
.stage-card-head span { display: inline-flex; margin-bottom: 20px; padding: 7px 11px; background: var(--blue-soft); border-radius: 999px; color: var(--blue); font-size: .72rem; font-weight: 700; }
.stage-card-head h3 { font-size: min(30px, 1.7rem); }
.skolkovo-stage-card > p { color: #65738d; font-size: .82rem; font-weight: 700; text-transform: uppercase; }
.skolkovo-stage-card ul { display: grid; gap: 10px; margin: 0 0 30px; padding-left: 21px; color: #53637e; }
.skolkovo-stage-card li { font-size: .88rem; }
.skolkovo-stage-card-accent h3, .skolkovo-stage-card-accent .stage-result { color: var(--white); }
.skolkovo-stage-card-accent > p, .skolkovo-stage-card-accent ul { color: #c7d3e7; }
.stage-result { display: block; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); color: var(--navy); font-size: .86rem; }
.skolkovo-stage-card-accent .stage-result { border-top-color: rgba(255,255,255,.14); }
.centered-action { display: flex; justify-content: center; margin-top: 26px; }
.skolkovo-work-path { max-width: 1030px; }
.skolkovo-client-section { background: linear-gradient(135deg, #edf4ff, #f9fbff); }
.skolkovo-client-section .grant-info-card > .button { margin-top: 28px; }
.outcome-list-dark { margin-top: 24px; }
.outcome-list-dark li { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); color: #e2e9f5; }
.outcome-list-dark li::before { color: #82adff; }

/* Diagnostic form refinements */
.field select { width: 100%; padding: 13px 14px; border: 1px solid #cad7ea; border-radius: 13px; background: var(--white); color: var(--navy); }
.question-hint { margin: -5px 0 14px; padding-left: 39px; color: #77859d; font-size: .75rem; }
.consent a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.nti-flag-card { margin-top: 18px; }

@media (max-width: 1050px) {
  .diagnostic-route-grid { grid-template-columns: 1fr; }
  .diagnostic-route-card { min-height: 0; }
  .diagnostic-route-card h3 { min-height: 0; }
  .skolkovo-fit-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .home-direction-grid, .skolkovo-stage-grid, .skolkovo-fit-grid { grid-template-columns: 1fr; }
  .home-direction-card { min-height: 0; padding: 27px 23px; }
  .direction-number { margin-bottom: 32px; }
  .home-direction-card .button { align-self: stretch; width: 100%; }
  .direction-question { align-items: flex-start; flex-direction: column; }
  .diagnostic-landing-hero { padding: 46px 0 58px; }
  .diagnostic-route-card { padding: 25px 22px; }
  .route-index { margin-bottom: 28px; }
  .skolkovo-stage-card { min-height: 0; padding: 27px 23px; }
  .skolkovo-benefit-grid article, .skolkovo-criteria-grid article { min-height: 0; }
  .centered-action .button { width: 100%; }
}

.legal-document { color: #485978; line-height: 1.75; }
.legal-document h2 { margin: 36px 0 18px; font-size: 24px !important; }
.legal-document p { white-space: pre-line; overflow-wrap: anywhere; }
.legal-table-wrap { max-width: 100%; overflow-x: auto; margin: 24px 0; }
.legal-document table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal-document th, .legal-document td { min-width: 160px; padding: 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-document th { background: var(--ice); color: var(--navy); }
.legal-form-note { margin: 16px 0 0; color: #66748c; font-size: .78rem; line-height: 1.6; }
.legal-form-note a { color: var(--blue); text-decoration: underline; }

/* Public lead capture */
.lead-modal-panel { width: min(700px, 100%); }
.lead-modal .modal-content { padding-top: 30px; }
.lead-form-note { margin: 14px 0 0; color: #75829a; font-size: .74rem; line-height: 1.55; }
.lead-form-status { color: #5d6e89; font-size: .82rem; }
.lead-success { display: grid; justify-items: start; gap: 13px; min-height: 280px; align-content: center; }
.lead-success > span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 1.7rem; font-weight: 800; }
.lead-success h3 { margin: 0; font-size: 1.55rem; }
.lead-success p { max-width: 500px; margin: 0; color: #5d6b85; }
.noscript-contact { padding: 46px 0; background: var(--ice); color: var(--navy); }
.noscript-contact h2 { margin-bottom: 10px; }
.noscript-contact p { margin: 0; color: #5d6d87; }
.noscript-contact a { color: var(--blue); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* Home conversion paths */
.direction-question { transition: transform .2s ease, background-color .2s ease; }
.direction-question:hover { background: #15284a; color: var(--white); transform: translateY(-2px); }
.direction-question strong { color: var(--white); font-size: .93rem; }
.process-fact-cta { display: grid; gap: 5px; padding: 24px 25px; background: var(--navy); border: 1px solid var(--navy); border-radius: 18px; color: var(--white); transition: transform .2s ease, background .2s ease; }
.process-fact-cta:hover { background: var(--blue-dark); transform: translateY(-2px); }
.process-fact-cta span { color: #b6caec; font-size: .76rem; }
.process-fact-cta strong { color: var(--white); font-family: var(--serif); font-size: 1.02rem; line-height: 1.35; }
.problem-conclusion { flex-wrap: wrap; }
.problem-conclusion a { flex-basis: 100%; color: #a9c8ff; font-weight: 800; text-decoration: underline; text-decoration-color: rgba(169, 200, 255, .35); text-underline-offset: 4px; }
.problem-conclusion a:hover { color: var(--white); }

/* Skolkovo page: typography and linked opportunity cards */
.skolkovo-benefit-link { display: flex; min-height: 285px; flex-direction: column; padding: 27px; background: var(--ice); border: 1px solid var(--line); border-radius: 22px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.skolkovo-benefit-link:hover { border-color: #92b4ed; box-shadow: 0 15px 35px rgba(37, 101, 217, .1); transform: translateY(-3px); }
.skolkovo-benefit-link > span { display: inline-flex; margin-bottom: 36px; color: var(--blue); font-family: var(--serif); font-size: 1.1rem; font-weight: 700; }
.skolkovo-benefit-link h3 { margin-bottom: 12px; font-size: min(30px, 1.18rem); }
.skolkovo-benefit-link p { margin: 0; color: #65738d; font-size: .86rem; }
.skolkovo-benefit-link strong { margin-top: auto; padding-top: 19px; color: var(--blue); font-size: .82rem; }
.skolkovo-fit-grid strong { font-family: var(--sans); font-size: .96rem; font-weight: 700; letter-spacing: 0; }
.skolkovo-stage-card .stage-card-head h3 { font-family: var(--sans); font-size: 1.22rem !important; font-weight: 700; letter-spacing: 0; }
.skolkovo-stage-card > p { font-family: var(--sans); font-size: .75rem; font-weight: 800; letter-spacing: .08em; }
.skolkovo-stage-card li, .stage-result { font-family: var(--sans); font-size: .9rem; line-height: 1.55; }

/* Blog and long-form articles */
.blog-hero { padding: 72px 0 64px; background: linear-gradient(135deg, #f7faff, #eaf3ff); }
.blog-hero .section-intro { max-width: 720px; }
.blog-search { position: relative; max-width: 620px; margin-top: 31px; }
.blog-search input { width: 100%; min-height: 54px; padding: 14px 48px 14px 18px; border: 1px solid #cad8ed; border-radius: 17px; color: var(--navy); background: var(--white); box-shadow: 0 10px 25px rgba(37, 101, 217, .06); }
.blog-search::after { content: "⌕"; position: absolute; right: 18px; top: 10px; color: var(--blue); font-size: 1.65rem; line-height: 1; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 21px; }
.blog-card { display: flex; min-height: 340px; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 13px 35px rgba(22, 56, 112, .06); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.blog-card:hover { border-color: #a8c3ef; box-shadow: 0 20px 44px rgba(37, 101, 217, .12); transform: translateY(-3px); }
.blog-card-banner { position: relative; display: flex; align-items: flex-end; min-height: 126px; padding: 23px; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, #2565d9, #1a3d7a); color: var(--white); }
.blog-card:nth-child(2n) .blog-card-banner { background: linear-gradient(135deg, #275c69, #0e1b36); }
.blog-card:nth-child(3n) .blog-card-banner { background: linear-gradient(135deg, #6b4aa7, #243f7b); }
.blog-card-image { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-card-banner::after { position: absolute; z-index: 1; inset: 0; background: linear-gradient(135deg, rgba(7, 24, 54, .2), rgba(7, 24, 54, .76)); content: ""; }
.blog-card-banner span { position: relative; z-index: 2; display: inline-flex; padding: 6px 10px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; background: rgba(7, 24, 54, .22); color: #f4f8ff; font-size: .69rem; font-weight: 800; letter-spacing: .06em; text-shadow: 0 1px 8px rgba(0,0,0,.35); text-transform: uppercase; }
.blog-card-body { display: flex; flex: 1; flex-direction: column; padding: 23px; }
.blog-card time { display: block; margin-bottom: 13px; color: #7b8aa4; font-size: .76rem; font-weight: 700; }
.blog-card h2 { margin-bottom: 12px; font-size: 1.23rem !important; }
.blog-card p { margin: 0; color: #61708b; font-size: .85rem; }
.blog-card strong { margin-top: auto; padding-top: 17px; color: var(--blue); font-size: .82rem; }
.blog-empty { grid-column: 1 / -1; padding: 38px; border: 1px dashed #b9cbe7; border-radius: 22px; color: #63718b; text-align: center; }
.article-main { background: var(--ice); }
.article-shell { max-width: 920px; padding-top: 48px; padding-bottom: 86px; }
.article-back { display: inline-flex; margin-bottom: 25px; color: var(--blue); font-size: .86rem; font-weight: 800; }
.article-card { padding: clamp(26px, 5vw, 62px); background: var(--white); border: 1px solid var(--line); border-radius: 30px; box-shadow: 0 20px 52px rgba(37, 101, 217, .09); }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 20px; color: #74819a; font-size: .8rem; font-weight: 700; }
.article-tag { padding: 5px 10px; background: var(--blue-soft); border-radius: 999px; color: var(--blue-dark); }
.article-card h1 { max-width: none; margin-bottom: 22px; }
.article-lead { max-width: 760px; color: #52627e; font-size: 1.1rem; line-height: 1.72; }
.article-card h2 { margin-top: 46px; font-size: 1.7rem !important; }
.article-card h3 { margin-top: 26px; font-family: var(--sans); font-size: 1.1rem; }
.article-card p, .article-card li { color: #566682; }
.article-card ul, .article-card ol { display: grid; gap: 10px; padding-left: 22px; }
.article-callout { margin: 31px 0; padding: 24px 26px; border-left: 4px solid var(--blue); border-radius: 0 18px 18px 0; background: var(--ice); }
.article-callout strong { display: block; margin-bottom: 5px; color: var(--navy); }
.article-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.article-grid > div { padding: 21px; background: var(--ice); border: 1px solid var(--line); border-radius: 17px; }
.article-grid strong { display: block; margin-bottom: 8px; color: var(--navy); font-family: var(--sans); font-size: .96rem; }
.article-grid p { margin: 0; font-size: .88rem; }
.article-sources { margin-top: 42px; padding-top: 25px; border-top: 1px solid var(--line); color: #71809a; font-size: .78rem; }
.article-sources a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.article-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 42px; padding: 27px; background: var(--navy); border-radius: 22px; }
.article-cta h2 { margin: 0; color: var(--white); font-size: 1.42rem !important; }
.article-cta p { margin: 7px 0 0; color: #cfdaeb; font-size: .86rem; }
.article-cta .button { flex: 0 0 auto; }
.roadmap-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; margin: 29px 0 16px; }
.roadmap-tabs button { min-height: 96px; padding: 14px; border: 1px solid var(--line); border-radius: 15px; background: var(--ice); color: #5e6e89; cursor: pointer; font-size: .77rem; font-weight: 800; text-align: left; }
.roadmap-tabs button[aria-selected="true"] { border-color: var(--blue); background: var(--blue); color: var(--white); box-shadow: 0 10px 24px rgba(37,101,217,.18); }
.roadmap-detail { min-height: 100px; padding: 22px; border: 1px solid #c6d8f1; border-radius: 18px; background: #f7faff; color: #51627f; }
.roadmap-detail strong { display: block; margin-bottom: 7px; color: var(--navy); }
.benefit-calculator { display: grid; gap: 15px; margin: 28px 0; padding: 27px; background: var(--ice); border: 1px solid var(--line); border-radius: 22px; }
.benefit-calculator label { display: grid; gap: 7px; color: var(--navy); font-size: .85rem; font-weight: 800; }
.benefit-calculator input { width: 100%; padding: 12px 13px; border: 1px solid #c9d7eb; border-radius: 12px; color: var(--navy); }
.benefit-scenario-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.benefit-scenario-fields label:last-child { grid-column: 1 / -1; }
.benefit-result { padding: 17px; background: var(--white); border-radius: 14px; color: #586884; font-size: .9rem; }
.benefit-result strong { color: var(--navy); }
.benefit-disclaimer { margin: 0; color: #78859b; font-size: .73rem; line-height: 1.55; }

@media (max-width: 1050px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .roadmap-tabs { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
  .lead-modal-panel { height: auto; max-height: 100vh; }
  .lead-modal .modal-content { padding: 25px 17px 35px; }
  .process-fact-cta { min-height: 120px; }
  .skolkovo-benefit-link { min-height: 0; }
  .blog-hero { padding: 48px 0; }
  .blog-grid, .article-grid { grid-template-columns: 1fr; }
  .benefit-scenario-fields { grid-template-columns: 1fr; }
  .benefit-scenario-fields label:last-child { grid-column: auto; }
  .article-shell { width: min(100% - 26px, 920px); padding-top: 30px; padding-bottom: 50px; }
  .article-card { border-radius: 22px; }
  .article-cta { align-items: stretch; flex-direction: column; }
  .article-cta .button { width: 100%; }
  .roadmap-tabs { grid-template-columns: 1fr 1fr; }
  .roadmap-tabs button { min-height: 74px; }
}

/* Preliminary route selector */
.diagnostic-filter-section { padding: 0 0 80px; background: linear-gradient(135deg, #f7faff, #edf4ff); }
.diagnostic-filter-shell { padding: clamp(24px, 4vw, 46px); background: var(--white); border: 1px solid #cbdcf2; border-radius: 30px; box-shadow: 0 20px 50px rgba(37, 101, 217, .1); }
.diagnostic-filter-copy { max-width: 760px; margin-bottom: 27px; }
.diagnostic-filter-copy h2 { margin-bottom: 13px; }
.diagnostic-filter-copy p:last-child { margin-bottom: 0; color: #5e6e89; }
.route-filter { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; align-items: end; }
.route-filter .button { justify-self: start; }
.route-filter-result { margin-top: 29px; }
.route-match-heading { display: grid; gap: 4px; margin-bottom: 15px; }
.route-match-heading strong { color: var(--navy); font-family: var(--serif); font-size: 1.28rem; }
.route-match-heading span, .route-filter-note { color: #70809a; font-size: .78rem; }
.route-match-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.route-match-card { display: flex; min-height: 260px; flex-direction: column; padding: 23px; border: 1px solid var(--line); border-radius: 20px; background: var(--ice); }
.route-match-card h3 { margin-bottom: 10px; font-family: var(--sans); font-size: 1.05rem; }
.route-match-card p { margin: 0; color: #5c6c87; font-size: .84rem; }
.route-match-card .button { width: 100%; margin-top: auto; padding-top: 11px; padding-bottom: 11px; }
.route-match-attention { margin-top: 13px !important; padding: 10px 11px; border-radius: 11px; background: #fff7e3; color: #7a5d17 !important; font-size: .76rem !important; }
.route-filter-note { margin: 20px 0 0; }

@media (max-width: 700px) {
  .diagnostic-filter-section { padding-bottom: 54px; }
  .diagnostic-filter-shell { border-radius: 22px; }
  .route-filter, .route-match-grid { grid-template-columns: 1fr; }
  .route-filter .button { width: 100%; }
}

/* Legal-document navigation */
.legal-document-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 23px 0 29px; }
.legal-document-nav span { flex-basis: 100%; margin-bottom: 3px; color: #6c7c97; font-size: .76rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.legal-document-nav a { display: inline-flex; align-items: center; min-height: 35px; padding: 7px 11px; border: 1px solid #c9d8ee; border-radius: 999px; color: var(--blue-dark); background: rgba(255, 255, 255, .72); font-size: .78rem; font-weight: 700; line-height: 1.35; }
.legal-document-nav a:hover, .legal-document-nav a:focus-visible { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }

@media (max-width: 700px) {
  .legal-document-nav { margin-top: 18px; }
  .legal-document-nav a { width: 100%; justify-content: flex-start; border-radius: 13px; }
}

/* Standalone surveys: keep long headings inside the intro and question panel. */
.diagnostic-page-grid > *, .diagnostic-page-intro, .diagnostic-wizard-content { min-width: 0; }
.diagnostic-page-intro h1 { font-size: clamp(28px, 2.6vw, 43px); overflow-wrap: anywhere; hyphens: auto; }
.diagnostic-wizard-content .wizard-title { max-width: 100%; overflow-wrap: anywhere; hyphens: auto; line-height: 1.2; }

.principle-read-more{display:inline-block;margin-top:16px;color:var(--blue);font-weight:700;text-decoration:underline;text-underline-offset:4px}
