/* MeeuseSolutions production stylesheet v24
   Clean responsive CSS, no legacy duplicate rules. */

:root {
  color-scheme: light;
  --bg: #f4f8fb;
  --surface: #ffffff;
  --surface-soft: #edf6fb;
  --surface-muted: #f7fbfe;
  --text: #0a2540;
  --muted: #52667a;
  --muted-strong: #385166;
  --line: rgba(10, 37, 64, .11);
  --line-strong: rgba(10, 37, 64, .18);
  --blue: #125e9e;
  --blue-2: #4facd2;
  --blue-3: #0d4f88;
  --focus: #0d6efd;
  --success: #0e8a67;
  --shadow: 0 24px 70px rgba(10, 37, 64, .12);
  --shadow-soft: 0 16px 48px rgba(10, 37, 64, .08);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --container: 1180px;
  --space-section: clamp(4rem, 7vw, 7rem);
  --space-section-sm: clamp(2.75rem, 5vw, 4.75rem);
  --header-h: 86px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #061522;
  --surface: #0b1e2f;
  --surface-soft: #102a41;
  --surface-muted: #071827;
  --text: #eef7ff;
  --muted: #b0c2d2;
  --muted-strong: #d0dfeb;
  --line: rgba(218, 237, 255, .14);
  --line-strong: rgba(218, 237, 255, .24);
  --blue: #72c7ee;
  --blue-2: #4facd2;
  --blue-3: #a7ddf6;
  --focus: #91d9ff;
  --shadow: 0 24px 70px rgba(0, 0, 0, .38);
  --shadow-soft: 0 18px 42px rgba(0, 0, 0, .24);
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 12% -10%, rgba(79, 172, 210, .22), transparent 30rem),
    radial-gradient(circle at 88% 0%, rgba(18, 94, 158, .12), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1rem, .95rem + .2vw, 1.08rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
  object-fit: contain;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus), transparent 20%);
  outline-offset: 4px;
  border-radius: 10px;
}

::selection {
  background: color-mix(in srgb, var(--blue-2), transparent 55%);
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  transform: translateY(-160%);
  padding: .75rem 1rem;
  border-radius: 999px;
  background: var(--text);
  color: var(--surface);
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Progress and first-visit loader */

.ms-progress {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
  pointer-events: none;
}

.ms-loader {
  position: fixed;
  inset: 0;
  z-index: 998;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 50% 35%, rgba(79, 172, 210, .18), transparent 28rem),
    color-mix(in srgb, var(--bg), var(--surface) 40%);
  transition: opacity .22s ease, visibility .22s ease;
}

.ms-loader.is-hidden,
.ms-loader-skip .ms-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ms-loader-panel {
  width: min(100%, 360px);
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: color-mix(in srgb, var(--surface), transparent 5%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.ms-loader-logo {
  width: 76px;
  aspect-ratio: 1;
  margin: 0 0 1rem;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(18, 94, 158, .18));
}

.ms-loader-copy span {
  display: block;
  margin-bottom: .15rem;
  color: var(--blue);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ms-loader-copy strong {
  display: block;
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  line-height: 1.15;
}

.ms-loader-track {
  height: 8px;
  margin: 1.2rem 0 .75rem;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--blue), transparent 88%);
}

.ms-loader-track span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(var(--loader-progress, .06));
  transform-origin: left;
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
  transition: transform .12s linear;
}

.ms-loader.is-complete .ms-loader-panel {
  transform: translateY(-2px);
}

.ms-loader-state {
  font-weight: 800;
  color: var(--blue-3);
}

.ms-loader-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: .9rem;
}

/* Header and navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg), transparent 12%);
  backdrop-filter: saturate(150%) blur(18px);
}

.navbar {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 2rem);
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: clamp(220px, 24vw, 360px);
  max-width: 52vw;
  aspect-ratio: 512 / 200;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.nav-links > a,
.settings-toggle {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .65rem .85rem;
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: .96rem;
  font-weight: 750;
  line-height: 1;
  transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.nav-links > a:hover,
.nav-links > a:focus-visible,
.settings-toggle:hover,
.site-settings.is-open .settings-toggle {
  background: color-mix(in srgb, var(--blue-2), transparent 88%);
  color: var(--text);
}

.nav-links > a[aria-current="page"] {
  color: var(--blue-3);
  background: color-mix(in srgb, var(--blue-2), transparent 86%);
}

.nav-links > .nav-cta {
  margin-left: .2rem;
  padding-inline: 1.05rem;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  box-shadow: 0 10px 24px rgba(18, 94, 158, .18);
}

.nav-links > .nav-cta:hover,
.nav-links > .nav-cta:focus-visible,
.nav-links > .nav-cta:active,
.nav-links > .nav-cta[aria-current="page"] {
  color: #fff;
  background: linear-gradient(135deg, #0a4f88, #278fbd);
  box-shadow: 0 12px 28px rgba(18, 94, 158, .28);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform .18s ease, opacity .18s ease;
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

body.nav-open .nav-toggle span {
  background: transparent;
}

body.nav-open .nav-toggle span::before {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* Settings menu */

.site-settings {
  position: relative;
}

.settings-toggle {
  width: 46px;
  max-width: 46px;
  min-height: 44px;
  justify-content: flex-start;
  overflow: hidden;
  border: 0;
  background: transparent;
  white-space: nowrap;
  transition:
    width .22s var(--ease),
    max-width .22s var(--ease),
    background .18s ease,
    color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.settings-toggle:hover,
.settings-toggle:focus-visible,
.site-settings.is-open .settings-toggle {
  width: 148px;
  max-width: 148px;
  background: color-mix(in srgb, var(--blue-2), transparent 88%);
  color: var(--text);
}

.settings-toggle-main {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-width: max-content;
}

.settings-icon {
  width: 1.1rem;
  display: inline-grid;
  place-items: center;
  flex: 0 0 1.1rem;
  line-height: 1;
}

.settings-label {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-.25rem);
  transition:
    max-width .22s var(--ease),
    opacity .16s ease,
    transform .22s var(--ease);
}

.settings-toggle:hover .settings-label,
.settings-toggle:focus-visible .settings-label,
.site-settings.is-open .settings-label {
  max-width: 7.5rem;
  opacity: 1;
  transform: translateX(0);
}

.settings-panel {
  position: absolute;
  top: calc(100% + .75rem);
  right: 0;
  width: min(90vw, 330px);
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.site-settings.is-open .settings-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.settings-group + .settings-group {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.settings-group-label {
  display: block;
  margin-bottom: .55rem;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.theme-switcher,
.language-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.theme-switcher-option,
.language-switcher-option {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .55rem .75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-soft), transparent 35%);
  color: var(--muted-strong);
  font-size: .9rem;
  font-weight: 750;
}

.theme-switcher-option.is-active,
.language-switcher-option.is-active {
  border-color: color-mix(in srgb, var(--blue), transparent 60%);
  background: color-mix(in srgb, var(--blue-2), transparent 82%);
  color: var(--text);
}

.settings-hint {
  display: block;
  margin-top: .5rem;
  color: var(--muted);
  font-size: .86rem;
}

/* Typography */

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.08;
  letter-spacing: -.035em;
}

h1 {
  max-width: 14ch;
  margin-bottom: 1.15rem;
  font-size: clamp(2.25rem, 5.4vw, 4.35rem);
  letter-spacing: -.045em;
}

h2 {
  margin-bottom: .85rem;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
}

h3 {
  margin-bottom: .6rem;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
}

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

.lead {
  max-width: 68ch;
  color: var(--muted-strong);
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .95rem;
  color: var(--blue);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
}

/* Layout sections */

.hero {
  padding: clamp(4rem, 7vw, 7rem) 0 var(--space-section);
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, .96fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.page-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3.5rem);
}

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

.page-section {
  padding: var(--space-section-sm) 0;
}

.band {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-soft), transparent 45%), transparent),
    color-mix(in srgb, var(--surface-muted), transparent 12%);
  border-block: 1px solid var(--line);
}

.section-header {
  max-width: 760px;
  margin-bottom: clamp(1.6rem, 4vw, 2.5rem);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.4rem);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.4rem);
}

.card,
.panel,
.cta-panel,
.metric,
.badge-card,
.timeline-step {
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface), transparent 2%);
  box-shadow: var(--shadow-soft);
}

.card,
.panel,
.cta-panel {
  border-radius: var(--radius-lg);
}

.card {
  min-width: 0;
  padding: clamp(1.25rem, 2.5vw, 1.65rem);
}

.card p:last-child,
.panel p:last-child,
.cta-panel p:last-child {
  margin-bottom: 0;
}

.card-icon {
  width: fit-content;
  min-width: 2.75rem;
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  padding: .45rem .65rem;
  border-radius: 14px;
  background: color-mix(in srgb, var(--blue-2), transparent 82%);
  color: var(--blue-3);
  font-size: .82rem;
  font-weight: 900;
}

.card-link {
  margin-top: 1rem;
  font-weight: 800;
}

.card-link a {
  color: var(--blue-3);
}

.card ul,
.list-clean {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.card li,
.list-clean li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted);
}

.card li + li,
.list-clean li + li {
  margin-top: .5rem;
}

.card li::before,
.list-clean li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 0;
  width: .45rem;
  height: .45rem;
  border-radius: 999px;
  background: var(--blue-2);
}

.panel {
  padding: clamp(1.35rem, 2.8vw, 2rem);
}

.cta-panel {
  padding: clamp(1.6rem, 4vw, 2.6rem);
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--blue-2), transparent 72%), transparent 18rem),
    var(--surface);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .85rem;
  margin-top: 1.6rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .82rem 1.15rem;
  border-radius: 999px;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  box-shadow: 0 16px 36px rgba(18, 94, 158, .22);
}

.button-primary:hover,
.button-primary:focus-visible,
.button-primary:active {
  color: #fff;
  background: linear-gradient(135deg, #0a4f88, #278fbd);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--surface), transparent 4%);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible,
.button-secondary:active {
  border-color: color-mix(in srgb, var(--blue), transparent 55%);
  background: color-mix(in srgb, var(--blue-2), transparent 86%);
  color: var(--text);
}

/* Home hero */

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  margin-top: 2rem;
}

.metric {
  padding: .9rem;
  border-radius: 18px;
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  margin-bottom: .15rem;
  color: var(--text);
  font-size: .95rem;
  line-height: 1.2;
}

.metric span {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}

.hero-card {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 1.35rem;
  padding: clamp(1.35rem, 4vw, 2rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 24%, color-mix(in srgb, var(--blue-2), transparent 72%), transparent 16rem),
    linear-gradient(160deg, color-mix(in srgb, var(--surface), transparent 4%), color-mix(in srgb, var(--surface-soft), transparent 10%));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-logo {
  width: clamp(180px, 72%, 320px);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(18, 94, 158, .16));
}

.hero-badges {
  width: 100%;
  display: grid;
  gap: .8rem;
}

.badge-card {
  padding: 1rem;
  border-radius: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.badge-title {
  display: block;
  margin-bottom: .2rem;
  color: var(--text);
  font-weight: 850;
}

/* Breadcrumbs and timeline */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  margin: 0 0 1rem;
  padding: 0;
  color: var(--muted);
  font-size: .92rem;
  list-style: none;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: .45rem;
  color: color-mix(in srgb, var(--muted), transparent 35%);
}

.breadcrumbs a {
  color: var(--muted-strong);
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding: 1.15rem;
  border-radius: 22px;
}

.step-number {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  font-weight: 900;
}

/* Forms */

.contact-layout {
  align-items: start;
}

.contact-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

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

label {
  color: var(--text);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  padding: .85rem .95rem;
}

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

input::placeholder,
textarea::placeholder {
  color: color-mix(in srgb, var(--muted), transparent 25%);
}

input:focus,
textarea:focus {
  border-color: color-mix(in srgb, var(--blue), transparent 30%);
  outline: 3px solid color-mix(in srgb, var(--blue-2), transparent 70%);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note,
.form-fallback,
.muted-inline {
  color: var(--muted);
  font-size: .92rem;
}

.form-note a,
.form-fallback a {
  color: var(--blue-3);
  font-weight: 800;
}

/* Legal */

.legal-content {
  max-width: 880px;
}

/* Footer */

.site-footer {
  padding: clamp(2.75rem, 5vw, 4.5rem) 0 2rem;
  border-top: 1px solid var(--line);
  background: var(--surface-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(4, minmax(150px, .7fr));
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: start;
}

.footer-brand img {
  width: min(100%, 260px);
  aspect-ratio: 512 / 200;
  object-fit: contain;
  margin-bottom: 1rem;
}

.footer-brand p {
  max-width: 42ch;
}

.footer-trust {
  color: var(--blue-3);
  font-weight: 850;
}

.footer-title {
  margin-bottom: .85rem;
  color: var(--text);
  font-weight: 900;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list li + li {
  margin-top: .58rem;
}

.footer-list a {
  color: var(--muted-strong);
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--blue-3);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .92rem;
}

/* Light reveal effect */

.reveal-lite {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s ease, transform .45s var(--ease);
}

.reveal-lite.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.is-language-switching main {
  opacity: .98;
}

/* Responsive */

@media (max-width: 1120px) {
  .brand img {
    width: clamp(190px, 23vw, 280px);
  }

  .nav-links > a,
  .settings-toggle {
    padding-inline: .7rem;
    font-size: .92rem;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.2fr repeat(2, minmax(160px, 1fr));
  }
}

@media (max-width: 920px) {
  :root {
    --header-h: 74px;
  }

  .container {
    width: min(100% - 1.5rem, var(--container));
  }

  .brand img {
    width: clamp(180px, 42vw, 250px);
    max-width: 62vw;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    inset: var(--header-h) .75rem auto .75rem;
    display: grid;
    gap: .45rem;
    max-height: calc(100dvh - var(--header-h) - 1.5rem);
    overflow: auto;
    padding: .85rem;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
  }

  body.nav-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links > a,
  .settings-toggle {
    justify-content: flex-start;
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
    padding: .8rem .95rem;
  }

  .nav-links > .nav-cta {
    margin-left: 0;
  }

  .site-settings,
  .settings-panel {
    width: 100%;
  }

  .settings-toggle,
  .settings-toggle:hover,
  .settings-toggle:focus-visible,
  .site-settings.is-open .settings-toggle {
    width: 100%;
    max-width: 100%;
  }

  .settings-label,
  .settings-toggle:hover .settings-label,
  .settings-toggle:focus-visible .settings-label,
  .site-settings.is-open .settings-label {
    max-width: 9rem;
    opacity: 1;
    transform: none;
  }

  .settings-panel {
    position: static;
    display: none;
    margin-top: .5rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
  }

  .site-settings.is-open .settings-panel {
    display: block;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: clamp(3rem, 7vw, 4.5rem);
  }

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

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

  .hero-card {
    max-width: 560px;
    margin-inline: auto;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 1rem;
  }

  h1,
  .page-hero h1 {
    max-width: 100%;
    font-size: clamp(2.05rem, 10vw, 3rem);
  }

  h2 {
    font-size: clamp(1.75rem, 8vw, 2.45rem);
  }

  .lead {
    font-size: 1.05rem;
  }

  .cards-grid,
  .grid-2,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    justify-content: center;
  }

  .hero-logo {
    width: clamp(170px, 68vw, 270px);
  }

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

  .footer-brand img {
    width: min(100%, 230px);
  }

  .footer-bottom {
    display: grid;
  }
}

@media (max-width: 380px) {
  .container {
    width: min(100% - 1rem, var(--container));
  }

  .brand img {
    width: 168px;
    max-width: 58vw;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .card,
  .panel,
  .cta-panel,
  .hero-card {
    border-radius: 20px;
    padding: 1rem;
  }
}

@media (min-width: 1600px) {
  :root {
    --container: 1280px;
  }

  .brand img {
    width: 380px;
  }

  .hero-logo {
    width: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal-lite {
    opacity: 1;
    transform: none;
  }
}

