:root {
  /* Neutrals — reading layer */
  --ink: #1e293b;
  --ink-soft: #64748b;
  --canvas: #f8fafc;
  --surface: #ffffff;
  --line: #e2e8f0;

  /* Brand — van palette, used sparingly */
  --brand: #004a99;
  --brand-dark: #003875;
  --brand-bright: #00aeef;

  /* Semantic aliases */
  --bg: var(--canvas);
  --text: var(--ink);
  --text-muted: var(--ink-soft);
  --border: var(--line);
  --accent: var(--brand);
  --accent-hover: var(--brand-dark);
  --trust: var(--brand-bright);

  --shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 8px 24px rgba(15, 23, 42, 0.08);
  --radius: 8px;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --container: 1140px;
  --header-h: 72px;
  --sticky-h: 68px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

img,
svg,
picture {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-color: rgba(0, 74, 153, 0.35);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--accent-hover);
  text-decoration-color: rgba(0, 56, 117, 0.5);
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.hero-home .eyebrow {
  color: var(--brand);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--bg);
  border-color: var(--ink-soft);
  color: var(--text);
}

.btn-sm {
  min-height: 40px;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
}

.btn-block {
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.75rem 1rem;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.625rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  grid-column: 1;
  line-height: 1.15;
}

.logo-mark {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.logo-title {
  font-size: 1.125rem;
  white-space: nowrap;
  color: var(--brand);
}

.logo-tagline {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
  grid-column: 2;
  justify-self: center;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
}

.nav-dropdown-trigger::-webkit-details-marker {
  display: none;
}

.nav-dropdown-trigger::after {
  content: " ▾";
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav-dropdown[open] .nav-dropdown-trigger {
  background: var(--bg);
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  z-index: 10;
}

.nav-dropdown-panel-rich {
  min-width: min(360px, calc(100vw - 2rem));
  padding: 0.75rem;
}

.nav-dropdown-heading {
  margin: 0 0 0.5rem;
  padding: 0 0.5rem;
  color: var(--text-muted);
}

.nav-dropdown-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.625rem;
  color: var(--text);
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.15s;
}

.nav-dropdown-item:hover {
  background: var(--bg);
  color: var(--text);
}

.nav-dropdown-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.nav-dropdown-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.nav-dropdown-title {
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.3;
}

.nav-dropdown-desc {
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--text-muted);
}

.nav-dropdown-item:hover .nav-dropdown-title {
  color: var(--text);
}

.site-nav .nav-dropdown:nth-child(2) .nav-dropdown-panel {
  left: auto;
  right: 0;
}

.site-nav .nav-dropdown:nth-child(3) .nav-dropdown-panel {
  left: auto;
  right: 0;
}

.nav-dropdown-panel a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 4px;
}

.nav-dropdown-panel-rich a {
  display: grid;
  padding: 0.625rem;
  font-weight: inherit;
}

.nav-dropdown-panel a:hover {
  background: var(--bg);
  color: var(--text);
}

.nav-link-contact {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.5rem 0.75rem;
}

.header-cta {
  display: none;
  align-items: center;
  gap: 0.75rem;
  grid-column: 3;
}

.header-email {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  white-space: nowrap;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  grid-column: 3;
  justify-self: end;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
}

.mobile-nav {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 1rem 0 1.25rem;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav-inner {
  display: grid;
  gap: 0.35rem;
}

.mobile-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 0.35rem 0;
}

.mobile-nav-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.5rem 0;
}

.mobile-nav-thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.mobile-nav-item-contact {
  grid-template-columns: 1fr;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.mobile-nav .nav-label {
  margin-top: 0.75rem;
  margin-bottom: 0.15rem;
  color: var(--text-muted);
}

@media (min-width: 1024px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .logo {
    grid-column: auto;
  }

  .site-nav {
    display: flex;
  }

  .header-cta {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }
}

/* Hero — landing pages */
.hero-split {
  padding: 2rem 0 2.5rem;
  background:
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-areas:
    "copy"
    "form"
    "visual";
}

.hero-copy {
  grid-area: copy;
}

.hero-aside {
  grid-area: form;
}

.hero-visual {
  grid-area: visual;
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 220px;
  border: none;
}

.hero-visual picture {
  width: 100%;
  height: 100%;
  min-height: 220px;
}

.hero-visual-photo {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.hero-visual-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem 1rem 0.875rem;
  background: linear-gradient(180deg, transparent 0%, rgba(26, 54, 104, 0.78) 100%);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.875rem;
  max-width: 18ch;
}

.hero-intro {
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  max-width: 52ch;
}

.hero-local {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
}

.hero-form {
  padding: 1.25rem;
}

@media (min-width: 1024px) {
  .hero-split {
    padding: 3rem 0 4rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 400px);
    grid-template-areas:
      "copy form"
      "visual form";
    gap: 2rem 2.5rem;
    align-items: start;
  }

  .hero-aside {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
  }

  .hero-visual {
    min-height: 280px;
  }

  .hero-visual picture,
  .hero-visual-photo {
    min-height: 280px;
  }
}

/* Hero — home */
.hero-home {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 4rem;
}

.hero-home-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-home-bg picture {
  width: 100%;
  height: 100%;
}

.hero-home-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-home-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(248, 250, 252, 0.96) 0%,
    rgba(248, 250, 252, 0.84) 42%,
    rgba(248, 250, 252, 0.4) 100%
  );
}

.hero-home-inner {
  position: relative;
  z-index: 1;
}

.hero-home h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 1rem;
  max-width: 16ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-trust li::before {
  content: "✓ ";
  color: var(--trust);
  font-weight: 600;
}

/* Topology */
.topology-svg {
  width: 100%;
  max-width: 360px;
}

.topology-line {
  stroke: var(--border);
  stroke-width: 2;
}

.topology-node {
  fill: var(--surface);
  stroke: var(--border);
  stroke-width: 2;
}

.topology-node-accent {
  fill: var(--trust);
  stroke: var(--trust);
}

.topology-label {
  font-family: var(--font-mono);
  font-size: 10px;
  fill: var(--text-muted);
  text-anchor: middle;
}

/* Form */
.lead-form .form-title {
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 0 0 1rem;
}

.form-field {
  margin-bottom: 0.75rem;
}

.form-row {
  display: grid;
  gap: 0.75rem;
}

.hero-form .form-row,
.contact-form-card .form-row {
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .contact-form-card .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 0.7rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  background-color: var(--surface);
  color: var(--text);
}

.lead-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
}

.form-input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 2px solid var(--trust);
  outline-offset: 1px;
  border-color: var(--trust);
}

.form-errors,
.errorlist {
  color: #b91c1c;
  font-size: 0.875rem;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
}

.trust-strip {
  display: grid;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (min-width: 480px) {
  .trust-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
}

.trust-strip span:not(.trust-dot)::before {
  content: "✓ ";
  color: var(--trust);
  font-weight: 600;
}

.trust-dot {
  display: none;
}

.form-privacy {
  margin: 0.875rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted);
}

@keyframes lead-form-flash {
  0%,
  100% {
    outline-color: transparent;
    box-shadow: var(--shadow);
  }
  50% {
    outline-color: rgba(0, 174, 239, 0.55);
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.14);
  }
}

.lead-form-flash {
  outline: 2px solid transparent;
  outline-offset: 2px;
  animation: lead-form-flash 0.5s ease-in-out 2;
}

/* Sections */
.section {
  padding: 2.5rem 0;
}

.section-alt,
.section-checklist,
.section-process {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1.25rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .checklist {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}

.checklist li {
  padding-left: 1.5rem;
  position: relative;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--trust);
  font-weight: 700;
}

.process-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.process-step-label {
  display: block;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.process-steps p {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* SEO content blocks */
.section-seo {
  /* padding-top: 0; */
}

.seo-content {
  max-width: 720px;
}

.seo-block + .seo-block {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.seo-block-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  line-height: 1.3;
}

.seo-block p {
  margin: 0 0 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.seo-block p:last-child {
  margin-bottom: 0;
}

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

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 1rem 0;
}

.faq-item p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

/* Service grid */
.service-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  height: 100%;
  overflow: hidden;
}

.service-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.service-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg);
}

.service-card-media picture {
  width: 100%;
  height: 100%;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-card-media img {
  transform: scale(1.03);
}

.service-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.5rem 1.5rem;
}

.service-card h3 {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.125rem;
}

.service-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  flex: 1;
}

.service-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.15s;
}

.service-card:hover .service-link {
  color: var(--accent);
}

/* Contact */
.contact-grid,
.contact-page-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.contact-form-card {
  padding: 1.25rem;
}

.contact-email {
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
}

@media (min-width: 768px) {
  .contact-grid,
  .contact-page-layout {
    grid-template-columns: 1fr minmax(320px, 420px);
    gap: 3rem;
  }
}

.contact-page-section {
  padding-top: 2rem;
}

/* CTA bottom */
.section-cta-bottom {
  background: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
}

.cta-bottom-inner {
  max-width: 520px;
  margin-inline: auto;
}

.cta-bottom-inner p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.cta-bottom-inner .section-title {
  margin-bottom: 0.75rem;
}

/* Thank you */
.page-thank_you {
  padding-bottom: 0;
}

.thank-you-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.thank-you-inner {
  text-align: center;
  max-width: 480px;
  margin-inline: auto;
}

.thank-you-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: rgba(0, 174, 239, 0.12);
  color: var(--trust);
  font-size: 2rem;
  line-height: 64px;
  font-weight: 700;
}

.thank-you-email a {
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: 1rem;
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
}

.footer-brand strong {
  color: var(--brand);
}

.footer-brand p {
  margin: 0.5rem 0 0;
  color: var(--text-muted);
}

.footer-legal a {
  display: block;
  color: var(--text);
  text-decoration: none;
}

.footer-legal-nav {
  display: flex;
  gap: 1rem;
}

.footer-legal-nav a {
  margin-bottom: 0.25rem;
}

.footer-email {
  margin-top: 0.25rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr;
  }
}

/* Sticky bar */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) {
  .sticky-bar {
    display: none;
  }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: calc(var(--sticky-h) + 0.5rem);
  left: 1rem;
  right: 1rem;
  z-index: 98;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: 0.9375rem;
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 12rem;
  line-height: 1.45;
}

.cookie-banner .btn {
  flex-shrink: 0;
}

.cookie-banner[hidden] {
  display: none !important;
}

@media (max-width: 767px) {
  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: calc(var(--sticky-h) + 0.25rem);
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.5rem;
    font-size: 0.75rem;
    line-height: 1.2;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
  }

  .cookie-banner p {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .cookie-banner .btn {
    min-height: 28px;
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
  }
}

@media (min-width: 768px) {
  .cookie-banner {
    bottom: 1rem;
    left: auto;
    right: 1rem;
    max-width: 400px;
  }
}

/* Legal */
.prose h1 {
  margin-top: 0;
}

.prose h2 {
  font-size: 1.125rem;
  margin-top: 2rem;
}

.prose ul {
  padding-left: 1.25rem;
}

/* Messages */
.messages {
  padding-top: 1rem;
}

.message {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: #fef2f2;
  color: #991b1b;
}

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

  .lead-form-flash {
    animation: none;
    outline-color: rgba(0, 174, 239, 0.45);
    transition: outline-color 0.4s ease;
  }
}
