@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap");

:root {
  --navy: #17365f;
  --navy-strong: #0c294f;
  --navy-soft: #eaf0f8;
  --teal: #1cbab3;
  --teal-dark: #087e7b;
  --teal-soft: #e7f9f7;
  --sky: #f1f5fa;
  --surface: #ffffff;
  --ink: #102a46;
  --muted: #5f7186;
  --line: #dce5ef;
  --success: #19795f;
  --warning: #92601c;
  --danger: #9a3434;
  --shadow-sm: 0 10px 28px rgba(31, 58, 95, .08);
  --shadow-lg: 0 26px 80px rgba(31, 58, 95, .13);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(28, 186, 179, .35); outline-offset: 3px; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--navy);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--teal); }
h1, h2, h3 { margin-top: 0; color: var(--navy-strong); font-family: Manrope, sans-serif; letter-spacing: -.035em; }
h1 { font-size: clamp(38px, 5.7vw, 70px); line-height: 1.03; }
h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.12; }
h3 { line-height: 1.25; }
p { color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(220, 229, 239, .8);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; color: var(--navy-strong); text-decoration: none; }
.brand-mark { position: relative; width: 42px; height: 42px; border: 2px solid var(--teal); border-radius: 50%; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; border: 2px solid var(--teal); border-radius: 50%; }
.brand-mark::before { inset: 7px; }
.brand-mark::after { inset: 14px; background: var(--teal); }
.brand-mark i { position: absolute; right: -2px; bottom: 2px; width: 17px; height: 2px; background: var(--navy); transform: rotate(-42deg); transform-origin: right center; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font: 800 17px Manrope, sans-serif; }
.brand-copy small { margin-top: 4px; color: var(--teal-dark); font-size: 9px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.core-link { display: inline-flex; align-items: center; gap: 5px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--teal-dark); background: #fff; font-size: 11px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.core-link:hover { border-color: var(--teal); background: var(--teal-soft); }
.main-nav { display: flex; align-items: center; gap: 5px; margin-left: auto; }
.main-nav a { padding: 10px 12px; border-radius: 10px; color: #405875; font-size: 13px; font-weight: 700; text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--navy); background: var(--sky); }
.header-actions { display: flex; align-items: center; gap: 9px; }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; color: var(--navy); background: #fff; font-size: 21px; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s;
}
.button:hover { transform: translateY(-2px); }
.button--primary { color: #fff; background: var(--teal-dark); box-shadow: 0 12px 25px rgba(8, 126, 123, .23); }
.button--primary:hover { background: #066d6a; }
.button--secondary { color: var(--navy); border-color: #aebdd0; background: #fff; }
.button--ghost { color: var(--navy); background: var(--sky); }
.button--small { min-height: 42px; padding-inline: 15px; font-size: 13px; }
.button:disabled { opacity: .6; cursor: wait; transform: none; }

.hero {
  position: relative;
  min-height: 670px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(120deg, #fff 0%, #fff 43%, #f7faff 100%);
}
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; pointer-events: none; }
.hero-content { position: relative; z-index: 2; width: min(650px, 54%); padding: 85px 0 100px; }
.hero h1 { margin: 17px 0 24px; }
.hero h1 span { color: var(--teal-dark); }
.hero-lead { max-width: 590px; margin: 0 0 30px; font-size: 19px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 25px; color: #5b7188; font-size: 12px; font-weight: 600; }
.trust-row span::before { content: "✓"; margin-right: 7px; color: var(--teal-dark); font-weight: 900; }
.hero-stats {
  position: absolute;
  right: 4%;
  top: 78px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 12px;
}
.hero-stat { padding: 15px 18px; border: 1px solid rgba(220, 229, 239, .9); border-radius: 15px; background: rgba(255,255,255,.9); box-shadow: var(--shadow-sm); backdrop-filter: blur(12px); }
.hero-stat small, .hero-stat strong { display: block; }
.hero-stat small { color: var(--muted); font-size: 10px; }
.hero-stat strong { margin-top: 5px; font: 800 22px Manrope, sans-serif; }

.section { padding: 100px 0; }
.section--tinted { background: var(--sky); }
.section-heading { max-width: 730px; margin: 0 auto 45px; text-align: center; }
.section-heading h2 { margin: 12px 0 13px; }
.section-heading p { margin: 0; font-size: 17px; }
.section-heading .core-service-note { margin-top: 13px; font-size: 14px; font-weight: 700; }
.core-service-note a { color: var(--teal-dark); }
.section-heading--left { margin-left: 0; text-align: left; }

.demo-shell {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  overflow: hidden;
  border: 1px solid #cfdce9;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.demo-copy { padding: clamp(28px, 5vw, 62px); color: #fff; background: linear-gradient(145deg, var(--navy-strong), var(--navy)); }
.demo-copy h2, .demo-copy p { color: #fff; }
.demo-copy p { color: #d4dfec; }
.demo-badge { display: inline-flex; padding: 7px 10px; border-radius: 99px; color: #bff8f2; background: rgba(28,186,179,.16); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.demo-form-wrap { padding: clamp(28px, 5vw, 62px); }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { color: var(--navy); font-size: 13px; font-weight: 800; }
.field input, .field select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #cbd7e4;
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
}
.field input:focus, .field select:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(28,186,179,.12); outline: none; }
.field small { color: var(--muted); }
.demo-result { margin-top: 20px; padding: 19px; border: 1px solid var(--line); border-radius: 16px; background: var(--sky); }
.demo-result strong { color: var(--navy); }
.demo-result h3 { margin: 8px 0; }
.demo-result p { margin: 5px 0; }
.result-list { display: grid; gap: 8px; margin-top: 14px; }
.result-list a { padding: 11px 13px; border: 1px solid var(--line); border-radius: 11px; color: var(--navy); background: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.form-message { margin-top: 15px; padding: 13px 15px; border-radius: 12px; color: var(--navy); background: var(--teal-soft); }
.form-message.is-error { color: var(--danger); background: #fff0f0; }
.form-message a { font-weight: 800; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.step:not(:last-child)::after { content: "→"; position: absolute; right: -29px; top: 50%; z-index: 2; color: var(--teal); font-size: 30px; font-weight: 800; }
.step-number { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--teal-dark); background: var(--teal-soft); font: 800 13px Manrope, sans-serif; }
.step h3 { margin: 20px 0 8px; }
.step p { margin: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.feature-card img { width: 100%; aspect-ratio: 2.1/1; display: block; object-fit: cover; object-position: center; border-bottom: 1px solid var(--line); }
.feature-card__body { padding: 22px; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { margin: 0; }
.css-feature-art { height: 200px; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, #fff 0 25%, #eef8fa 26% 50%, #fff 51%); border-bottom: 1px solid var(--line); }
.css-feature-art span { width: 82px; height: 82px; display: grid; place-items: center; border: 2px solid var(--navy); border-radius: 24px; color: var(--teal-dark); background: #fff; box-shadow: 10px 12px 0 var(--teal-soft); font: 800 31px Manrope, sans-serif; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 31px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.price-card.is-featured { border: 2px solid var(--teal); box-shadow: 0 22px 60px rgba(28,186,179,.15); }
.popular { position: absolute; top: 0; left: 50%; padding: 6px 13px; border-radius: 0 0 11px 11px; color: #fff; background: var(--teal-dark); font-size: 10px; font-weight: 800; transform: translateX(-50%); text-transform: uppercase; }
.price-card h3 { margin: 8px 0 3px; font-size: 25px; }
.price { margin: 22px 0; font: 800 31px Manrope, sans-serif; color: var(--navy); }
.price small { display: block; margin-top: 5px; color: var(--muted); font: 500 12px "DM Sans"; }
.start-offer { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 18px; }
.old-price { position: relative; color: #7c8797; font-size: 16px; font-weight: 800; }
.old-price::after { content: ""; position: absolute; left: -3px; right: -3px; top: 50%; height: 2px; border-radius: 3px; background: var(--danger); transform: rotate(-8deg); }
.offer-badge { display: inline-flex; padding: 7px 10px; border-radius: 999px; color: #593700; background: #ffdc73; font-size: 11px; font-weight: 900; letter-spacing: .01em; text-transform: uppercase; }
.start-offer + .price { margin-top: 12px; }
.price-card ul { flex: 1; display: grid; gap: 10px; margin: 0 0 25px; padding: 0; list-style: none; }
.price-card li::before { content: "✓"; margin-right: 8px; color: var(--teal-dark); font-weight: 900; }

.cross-promo { padding: 58px 0; background: #fff; }
.cross-promo__inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 34px 38px; border: 1px solid #c9e8e6; border-radius: var(--radius-md); background: linear-gradient(120deg, #f0fbfa, #f8fbff); box-shadow: var(--shadow-sm); }
.cross-promo h2 { margin: 8px 0; font-size: clamp(27px, 3vw, 38px); }
.cross-promo p { max-width: 700px; margin: 0; }

.faq { max-width: 840px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 4px; color: var(--navy); font: 700 18px Manrope, sans-serif; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal-dark); font-size: 26px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: -6px 0 22px; }

.cta-band { padding: 65px 0; color: #fff; background: linear-gradient(120deg, var(--navy-strong), #0d4473); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band h2 { max-width: 700px; margin: 0 0 9px; color: #fff; }
.cta-band p { margin: 0; color: #d5e3ef; }

.site-footer { padding: 54px 0 25px; color: #d7e3ee; background: #0a274b; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 38px; }
.footer-grid h3 { color: #fff; font-size: 14px; }
.footer-grid p { max-width: 350px; color: #aebfd0; font-size: 13px; }
.footer-links { display: grid; align-content: start; gap: 9px; }
.footer-links a { color: #becddd; font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #90a5bb; font-size: 12px; }

.page-hero { padding: 75px 0 45px; background: linear-gradient(180deg, var(--sky), #fff); }
.page-hero h1 { max-width: 850px; margin: 13px 0 15px; font-size: clamp(38px, 5vw, 58px); }
.page-hero p { max-width: 750px; margin: 0; font-size: 18px; }
.data-bar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 25px 0; padding: 13px 16px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.data-bar small { color: var(--muted); }
.data-dot { width: 9px; height: 9px; display: inline-block; margin-right: 7px; border-radius: 50%; background: var(--teal); }
.data-dot.is-stale { background: #e5a93c; }

.catalog-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; padding: 45px 0 90px; }
.filters { align-self: start; position: sticky; top: 105px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.filters h2 { font-size: 20px; }
.toggle { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--navy); font-size: 13px; font-weight: 700; }
.toggle input { width: 18px; height: 18px; accent-color: var(--teal-dark); }
.results-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.results-head h2 { margin-bottom: 3px; font-size: 29px; }
.results-head p { margin: 0; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grant-card { display: flex; flex-direction: column; min-height: 360px; padding: 23px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.grant-card:hover { border-color: #adcad0; box-shadow: 0 18px 40px rgba(31,58,95,.12); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.badge { display: inline-flex; padding: 5px 9px; border-radius: 99px; color: #38506c; background: var(--sky); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.badge--open { color: #14684f; background: #e8f8f1; }
.badge--psf { color: #087e7b; background: var(--teal-soft); }
.grant-card h3 { margin: 15px 0 7px; font-size: 20px; }
.operator-name { margin: 0; color: #60758c; font-size: 13px; }
.grant-description { display: -webkit-box; overflow: hidden; margin: 15px 0; -webkit-line-clamp: 5; -webkit-box-orient: vertical; font-size: 14px; }
.card-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: auto; }
.card-fact { padding: 11px; border-radius: 11px; background: var(--sky); }
.card-fact small, .card-fact strong { display: block; }
.card-fact small { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.card-fact strong { margin-top: 4px; color: var(--navy); font-size: 12px; }
.card-link { margin-top: 17px; color: var(--teal-dark); font-size: 13px; font-weight: 800; text-decoration: none; }
.empty-state { grid-column: 1/-1; padding: 50px 25px; border: 1px dashed #b9c8d8; border-radius: var(--radius-md); text-align: center; }
.empty-state h3 { margin-bottom: 7px; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 27px; }
.pagination button { min-width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; color: var(--navy); background: #fff; cursor: pointer; }
.pagination button[aria-current="page"] { color: #fff; border-color: var(--teal-dark); background: var(--teal-dark); }

.region-block { margin-bottom: 28px; }
.region-block__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.region-block__head h2 { margin: 0; font-size: 28px; text-transform: capitalize; }
.operator-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.operator-card { padding: 20px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: var(--shadow-sm); }
.operator-card h3 { margin-bottom: 8px; font-size: 17px; letter-spacing: -.02em; }
.operator-card p { margin: 6px 0; font-size: 13px; }
.operator-card a { color: var(--teal-dark); font-size: 12px; font-weight: 800; }
.monitor-state { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 99px; color: #486078; background: var(--sky); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.monitor-state.is-on { color: var(--success); background: #eaf8f2; }
.program-list { margin: 12px 0 0; padding: 12px 0 0 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.program-list li + li { margin-top: 7px; }

.auth-main { min-height: calc(100vh - 78px); display: grid; place-items: center; padding: 60px 20px; background: radial-gradient(circle at 20% 10%, var(--teal-soft), transparent 32%), var(--sky); }
.auth-card { width: min(520px, 100%); padding: clamp(27px, 5vw, 46px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); }
.auth-card h1 { margin: 15px 0 9px; font-size: 38px; }
.auth-card > p { margin-top: 0; }
.auth-card .button { width: 100%; }
.legal-consents { display: grid; gap: 11px; margin: 18px 0; padding: 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--sky); }
.legal-consents label { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 9px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.legal-consents input { margin-top: 3px; }
.legal-consents a { color: var(--teal-dark); font-weight: 800; }
.auth-switch { margin: 20px 0 0; text-align: center; font-size: 13px; }
.auth-switch a { color: var(--teal-dark); font-weight: 800; }
.verification-title { margin-top: 0; }
.verification-code { text-align: center; letter-spacing: .35em; font: 800 24px Manrope, sans-serif; }

.panel-shell { min-height: calc(100vh - 78px); display: grid; grid-template-columns: 250px 1fr; background: var(--sky); }
.panel-nav { padding: 30px 18px; color: #fff; background: var(--navy-strong); }
.panel-nav h2 { padding: 0 10px; color: #fff; font-size: 16px; }
.panel-nav a { display: block; margin: 5px 0; padding: 12px 13px; border-radius: 10px; color: #c8d8e8; font-size: 13px; font-weight: 700; text-decoration: none; }
.panel-nav a.is-active { color: #fff; background: rgba(28,186,179,.18); }
.panel-content { padding: clamp(25px, 5vw, 60px); }
.panel-content h1 { font-size: 45px; }
.panel-placeholder { max-width: 820px; padding: 35px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.panel-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 24px; }
.panel-preview-grid div { min-height: 120px; padding: 18px; border-radius: 15px; background: var(--sky); }
.panel-preview-grid strong, .panel-preview-grid span { display: block; }
.panel-preview-grid span { margin-top: 8px; color: var(--muted); font-size: 12px; }

.legal { max-width: 780px; padding: 75px 0 110px; }
.legal h1 { font-size: 52px; }
.legal-box { margin-top: 30px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--sky); }
.markdown-content { color: var(--ink); line-height: 1.7; }
.markdown-content h2, .markdown-content h3, .markdown-content h4 { margin: 28px 0 10px; }
.markdown-content li + li { margin-top: 6px; }
.markdown-content a { color: var(--teal-dark); font-weight: 700; }
.legal-version { margin-bottom: 22px; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.legal-back { margin-top: 22px; }
.data-error { display: flex; align-items: flex-start; gap: 18px; padding: 26px; border: 1px solid #efc8c8; border-radius: var(--radius-md); background: #fff7f7; }
.data-error__icon { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--danger); font-weight: 900; }
.data-error p { margin: 5px 0 15px; }

@media (max-width: 1050px) {
  .main-nav { gap: 0; }
  .main-nav a { padding-inline: 8px; font-size: 12px; }
  .hero-content { width: 58%; }
  .hero-stats { display: none; }
  .operator-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .container { width: min(100% - 28px, var(--container)); }
  .header-inner { min-height: 70px; gap: 10px; }
  .core-link { margin-left: auto; }
  .menu-button { display: grid; place-items: center; margin-left: auto; }
  .main-nav {
    position: fixed;
    inset: 70px 0 auto 0;
    display: none;
    padding: 14px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.is-open { display: grid; }
  .main-nav a { min-height: 45px; display: flex; align-items: center; padding: 0 13px; font-size: 14px; }
  .header-actions .button--secondary { display: none; }
  .header-actions .button--primary { min-height: 42px; padding-inline: 12px; font-size: 12px; }
  .hero { min-height: auto; padding-bottom: 0; background: #fff; }
  .hero-art { position: relative; order: 2; height: auto; margin-top: -25px; object-fit: contain; object-position: 70% 50%; transform: scale(1.25); transform-origin: center; }
  .hero .container { display: contents; }
  .hero-content { width: auto; padding: 65px 20px 35px; }
  .hero h1 { font-size: clamp(39px, 10vw, 56px); }
  .hero-lead { font-size: 17px; }
  .section { padding: 75px 0; }
  .demo-shell { grid-template-columns: 1fr; }
  .steps, .feature-grid, .pricing-grid { grid-template-columns: 1fr; }
  .cross-promo__inner { align-items: flex-start; flex-direction: column; padding: 28px; }
  .step:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -34px; transform: translateX(50%); }
  .feature-card { display: grid; grid-template-columns: 150px 1fr; }
  .feature-card img, .css-feature-art { height: 100%; min-height: 170px; aspect-ratio: auto; border-right: 1px solid var(--line); border-bottom: 0; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .card-grid { grid-template-columns: 1fr; }
  .operator-grid { grid-template-columns: 1fr 1fr; }
  .panel-shell { grid-template-columns: 1fr; }
  .panel-nav { display: flex; overflow-x: auto; padding: 13px; }
  .panel-nav h2 { display: none; }
  .panel-nav a { flex: 0 0 auto; }
}

@media (max-width: 520px) {
  .brand-copy small { display: none; }
  .core-link { padding: 7px 8px; font-size: 10px; }
  .header-actions .button--primary { display: none; }
  .hero-content { padding-top: 48px; }
  .hero h1 { font-size: 41px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .trust-row { display: grid; gap: 8px; }
  .hero-art { margin: -10px 0 10px; transform: scale(1.65); transform-origin: 72% center; }
  .section-heading { margin-bottom: 30px; }
  .demo-copy, .demo-form-wrap { padding: 28px 20px; }
  .feature-card { grid-template-columns: 110px 1fr; }
  .feature-card img, .css-feature-art { min-height: 160px; }
  .feature-card__body { padding: 18px 15px; }
  .feature-card h3 { font-size: 17px; }
  .feature-card p { font-size: 13px; }
  .pricing-grid { gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero { padding-top: 48px; }
  .page-hero h1 { font-size: 40px; }
  .results-head, .region-block__head { align-items: flex-start; flex-direction: column; }
  .card-facts { grid-template-columns: 1fr; }
  .grant-card { min-height: 0; }
  .operator-grid { grid-template-columns: 1fr; }
  .data-bar { align-items: flex-start; flex-direction: column; }
  .panel-preview-grid { grid-template-columns: 1fr; }
}
