:root {
  --ink: #08111f;
  --ink-soft: #243044;
  --muted: #4a596e;
  --blue: #0b57d0;
  --blue-deep: #08358f;
  --blue-bright: #2f80ff;
  --orange: #ff8a1e;
  --navy: #071428;
  --paper: #f4f7fb;
  --line: #e3e9f2;
  --white: #ffffff;
  --danger: #9f1239;
  --header: 86px;
  --max: 1140px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Sora", "Segoe UI", sans-serif;
  --shadow: 0 24px 60px rgba(8, 28, 69, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 1.0625rem;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

p {
  margin: 0;
}

h1,
h2,
h3,
.index-no,
.range-index {
  font-family: var(--display);
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0;
}

a {
  color: var(--blue);
}

button,
input,
textarea,
select {
  font: inherit;
}

::selection {
  background: #cfe0ff;
  color: var(--navy);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--navy);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 80;
}

.skip:focus {
  top: 12px;
}

main:focus {
  outline: none;
}

[id] {
  scroll-margin-top: calc(var(--header) + 18px);
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 84px 0;
}

.band {
  background: var(--paper);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pixels {
  width: 16px;
  height: 16px;
  background:
    linear-gradient(#1b7cff, #1b7cff) 0 0 / 4px 4px no-repeat,
    linear-gradient(#1b7cff, #1b7cff) 6px 0 / 4px 4px no-repeat,
    linear-gradient(#7eb6ff, #7eb6ff) 12px 0 / 4px 4px no-repeat,
    linear-gradient(#1b7cff, #1b7cff) 0 6px / 4px 4px no-repeat,
    linear-gradient(#1b7cff, #1b7cff) 6px 6px / 4px 4px no-repeat,
    linear-gradient(#b9d7ff, #b9d7ff) 0 12px / 4px 4px no-repeat;
  flex: none;
}

.lede {
  margin-top: 16px;
  max-width: 46rem;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.muted {
  color: var(--muted);
}

.fine {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #0b57d0, #2f80ff 42%, #ff8a1e);
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(8, 20, 40, 0.05);
}

.nav-wrap {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  flex: none;
  text-decoration: none;
}

.brand img {
  height: 64px;
  width: auto;
  max-width: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.site-nav a {
  color: var(--ink-soft);
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--blue);
}

.site-nav a[aria-current="page"] {
  color: var(--blue);
  box-shadow: inset 0 -2px 0 var(--blue);
}

.site-nav a.btn-orange,
.site-nav a.btn-orange:hover {
  color: #1c1004;
  box-shadow: none;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quote-launcher,
.nav-toggle,
.icon-x,
.text-btn {
  cursor: pointer;
}

.quote-launcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  font-weight: 800;
}

.quote-launcher:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.quote-launcher span {
  min-width: 1.35rem;
  height: 1.35rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  font-size: 0.75rem;
}

.quote-launcher span[hidden] {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
}

.burger,
.burger::before,
.burger::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger::before {
  top: -6px;
}

.burger::after {
  top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  line-height: 1;
}

.btn-sm {
  min-height: 42px;
  padding: 0.55rem 0.9rem;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--blue);
  color: white;
}

.btn-primary:hover {
  background: var(--blue-deep);
  color: white;
}

.btn-orange {
  background: var(--orange);
  color: #1c1004;
}

.btn-orange:hover {
  background: #ff9d42;
  color: #1c1004;
}

.btn-ghost {
  background: white;
  color: var(--ink);
  border-color: #c9d4e4;
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

button[aria-pressed="true"] {
  background: #e8f1ff;
  border-color: var(--blue);
  color: var(--blue-deep);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(820px 420px at 92% 0%, rgba(47, 128, 255, 0.18), transparent 60%),
    radial-gradient(520px 320px at 0% 100%, rgba(255, 138, 30, 0.16), transparent 62%),
    linear-gradient(180deg, #f3f7fd 0%, #ffffff 78%);
}

.hero-orbit {
  position: absolute;
  width: min(540px, 48vw);
  left: -60px;
  top: 70px;
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 42px 0 78px;
}

.hero h1 {
  font-size: clamp(2.7rem, 5.4vw, 4.7rem);
  max-width: 11ch;
}

.hero h1 em {
  font-style: normal;
  background-image: linear-gradient(var(--orange), var(--orange));
  background-repeat: no-repeat;
  background-size: 100% 0.1em;
  background-position: 0 96%;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-frame {
  position: relative;
  margin-bottom: 16px;
  padding: 10px;
  border-radius: 28px;
  background: white;
  border: 1px solid rgba(11, 40, 90, 0.08);
  box-shadow: var(--shadow);
}

.hero-frame img {
  display: block;
  width: 100%;
  border-radius: 20px;
}

.float-chip {
  position: absolute;
  left: 22px;
  bottom: -12px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: white;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(8, 28, 69, 0.14);
}

.fact-wrap {
  position: relative;
  z-index: 3;
  margin-top: -36px;
  padding-bottom: 10px;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(10, 30, 70, 0.06);
}

.fact-grid article {
  padding: 22px 24px;
}

.fact-grid article + article {
  border-left: 1px solid var(--line);
}

.fact-grid h2 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 28px;
}

.section-head h2,
.panel h2,
.page-hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: #b9cef5;
  box-shadow: 0 16px 40px rgba(11, 60, 140, 0.08);
  transform: translateY(-2px);
}

.index-no {
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 700;
}

.card h3 {
  font-size: 1.45rem;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  padding-top: 8px;
}

.text-link {
  color: var(--blue);
  font-weight: 800;
  text-underline-offset: 3px;
}

.more-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--paper);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split article {
  padding: 48px 40px 48px 0;
}

.split article + article {
  padding: 48px 0 48px 40px;
  border-left: 1px solid var(--line);
}

.split h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin: 8px 0 12px;
}

.panel {
  padding: 36px;
  border-radius: 32px;
  color: white;
  background:
    radial-gradient(520px 220px at 100% 0%, rgba(255, 138, 30, 0.28), transparent 55%),
    radial-gradient(420px 220px at 0% 100%, rgba(47, 128, 255, 0.35), transparent 55%),
    var(--navy);
}

.panel .eyebrow,
.panel h2 {
  color: white;
}

.panel .lede,
.panel p {
  color: #d5e0f0;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}

.step-num {
  display: block;
  margin-bottom: 8px;
  color: var(--orange);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.panel h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  padding: 0 0 18px;
  max-width: 68ch;
  color: var(--ink-soft);
}

.plus {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-family: var(--display);
}

.plus::before {
  content: "+";
}

details[open] .plus {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

details[open] .plus::before {
  content: "–";
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-top: 36px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(11, 87, 208, 0.08), rgba(255, 138, 30, 0.14)),
    white;
}

.cta-inner h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-top: 6px;
}

.site-footer {
  background: var(--navy);
  color: #c9d4e6;
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr 1.15fr;
  gap: 32px;
}

.footer-brand {
  background: white;
  border-radius: 16px;
  padding: 6px 8px;
  margin-bottom: 14px;
}

.site-footer h2 {
  margin-bottom: 12px;
  color: white;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.site-footer a {
  color: white;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
}

.site-footer a:hover {
  color: var(--orange);
}

.site-footer .brand {
  text-decoration: none;
}

.site-footer address {
  font-style: normal;
}

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 18px;
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(255, 138, 30, 0.16), transparent 60%),
    linear-gradient(180deg, #f6f9fd, #ffffff 80%);
}

.page-hero h1 {
  max-width: 16ch;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--blue);
  text-decoration: none;
}

.updated {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.notice {
  margin: 8px 0 20px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #fed7aa;
  background: #fff7ed;
  color: #7c2d12;
}

.chips {
  position: sticky;
  top: var(--header);
  z-index: 25;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  scrollbar-width: none;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chips a {
  flex: none;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.chips a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.range-block {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.range-index {
  color: var(--blue);
  font-size: 2.4rem;
  font-weight: 700;
}

.range-block h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 8px;
}

.ticks {
  list-style: none;
  margin: 14px 0;
  padding: 0;
}

.ticks li {
  position: relative;
  margin: 0.4rem 0;
  padding-left: 1.3rem;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(180deg, #2f80ff, #0b57d0);
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.contact-grid {
  grid-template-columns: 0.82fr 1.18fr;
}

.address-card {
  padding: 24px;
  border-radius: 24px;
  background: var(--navy);
  color: white;
}

.address-card .eyebrow,
.address-card h2,
.address-card a {
  color: white;
}

.address-card .eyebrow {
  color: var(--orange);
}

.address-card p + p,
.address-card address + p {
  margin-top: 12px;
}

.address-card address {
  font-style: normal;
  font-size: 1.05rem;
}

.banner-figure {
  margin: 42px 0;
}

.banner-figure img {
  display: block;
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--line);
}

.banner-figure figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.three article {
  padding: 20px;
  border-radius: 20px;
  background: var(--paper);
}

.three h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.stack {
  display: grid;
  gap: 12px;
}

.form-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  box-shadow: 0 20px 50px rgba(10, 30, 70, 0.05);
}

.form-card h2 {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.field {
  display: grid;
  gap: 6px;
  align-content: start;
}

.field-full {
  grid-column: 1 / -1;
}

label,
legend {
  font-weight: 800;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  margin-bottom: 8px;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d5deea;
  border-radius: 12px;
  background: white;
  color: var(--ink);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"],
fieldset[aria-invalid="true"] .segmented label {
  border-color: var(--danger);
}

.error {
  color: var(--danger);
  font-size: 0.88rem;
  font-weight: 700;
}

.error:empty {
  display: none;
}

.form-alert {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff1f2;
  color: var(--danger);
  font-weight: 700;
}

.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.segmented label {
  position: relative;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.segmented input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.segmented label:has(input:checked) {
  background: #eaf2ff;
  border-color: var(--blue);
  color: var(--blue-deep);
}

.segmented label:has(input:focus-visible) {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.result {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.result h2 {
  font-size: 1.4rem;
}

.result textarea {
  min-height: 180px;
}

.map-frame {
  overflow: hidden;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 42px;
  padding-bottom: 80px;
}

.toc {
  position: sticky;
  top: calc(var(--header) + 16px);
  align-self: start;
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
}

.toc-label {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.toc a {
  color: var(--ink-soft);
  font-weight: 700;
  text-decoration: none;
}

.toc a:hover {
  color: var(--blue);
}

.prose h2 {
  margin-top: 2.1rem;
  font-size: 1.55rem;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose p {
  margin: 0.8rem 0;
}

.prose ul,
.prose ol {
  margin: 0.4rem 0 1rem;
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.prose a {
  text-underline-offset: 3px;
}

dialog {
  width: min(460px, calc(100vw - 28px));
  padding: 0;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

dialog::backdrop {
  background: rgba(7, 17, 34, 0.62);
}

.quote-sheet {
  padding: 22px;
}

.quote-head,
.quote-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.quote-head h2 {
  font-size: 1.4rem;
}

.quote-empty {
  margin: 16px 0;
}

.quote-list {
  list-style: none;
  margin: 12px 0 18px;
  padding: 0;
}

.quote-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.icon-x {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: white;
  font-size: 1.4rem;
  line-height: 1;
}

.text-btn {
  padding: 4px;
  border: 0;
  background: none;
  color: var(--blue);
  font-weight: 800;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 70;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--navy);
  color: white;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-orbit {
    animation: drift 16s ease-in-out infinite;
  }
}

@keyframes drift {
  50% {
    transform: translateY(12px) rotate(-3deg);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .about-grid,
  .contact-grid,
  .legal-layout,
  .three {
    grid-template-columns: 1fr;
  }

  .hero-orbit {
    display: none;
  }

  .split article,
  .split article + article {
    padding: 28px 0;
    border-left: 0;
  }

  .split article + article {
    border-top: 1px solid var(--line);
  }

  .toc {
    position: static;
    padding-bottom: 8px;
  }

  .page-hero h1 {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: grid;
    gap: 4px;
    margin-left: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: white;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .site-nav a {
    padding: 12px 10px;
    border-radius: 12px;
  }

  .site-nav a.btn {
    margin-top: 4px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 800px) {
  .step-grid,
  .fact-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .fact-grid article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 700px) {
  .section {
    padding: 56px 0;
  }

  .container {
    width: min(var(--max), calc(100% - 32px));
  }

  .brand img {
    height: 54px;
  }

  .form-grid,
  .range-block {
    grid-template-columns: 1fr;
  }

  .field-full {
    grid-column: auto;
  }

  .cta-inner,
  .footer-base,
  .more-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .panel {
    padding: 24px;
  }

  .hero-grid {
    gap: 28px;
    padding-top: 28px;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quote-launcher {
    padding-inline: 10px;
  }
}

@media print {
  .site-header,
  .site-footer,
  .nav-tools,
  .cta-inner,
  .chips,
  dialog,
  .toast,
  .hero-actions,
  .card-actions {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  a {
    color: black;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
