/* ==========================================================================
   Carvex – shared design system
   Sections: tokens · base · buttons · header · hero · sections · components
             forms · footer · sub-pages · consent + mobile bar · motion
   ========================================================================== */

/* Self-hosted fonts (Archivo + Inter, SIL Open Font License) */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("/fonts/archivo-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("/fonts/archivo-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ink-950: #05070b;
  --ink-900: #080b10;
  --ink-850: #0c1118;
  --ink-800: #111823;
  --ink-700: #1a2331;
  --ink-600: #2a3547;
  --paper: #f3f5f8;
  --paper-2: #e9edf2;
  --white: #ffffff;
  --text: #0c1118;
  --muted: #566273;
  --on-dark: #f2f5f9;
  --on-dark-muted: #a3afbf;
  --line: rgba(12, 17, 24, 0.1);
  --line-strong: rgba(12, 17, 24, 0.16);
  --line-dark: rgba(255, 255, 255, 0.1);
  --line-dark-strong: rgba(255, 255, 255, 0.18);

  --m-sky: #4fb8f0;
  --m-blue: #1c69d4;
  --m-navy: #16588e;
  --m-red: #e7222e;
  --blue-ink: #1456b3;
  --ok: #17a36b;
  --ok-ink: #0d7a4e;
  --warn: #e39a12;
  --warn-ink: #9a6400;
  --stop: #e7222e;
  --stop-ink: #b4141e;

  --m-gradient: linear-gradient(90deg, var(--m-sky) 0 33.33%, var(--m-blue) 33.33% 66.66%, var(--m-red) 66.66% 100%);
  --m-sweep: linear-gradient(90deg, var(--m-sky), var(--m-blue) 55%, var(--m-red));

  --font-display: "Archivo", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(12, 17, 24, 0.06), 0 6px 18px rgba(12, 17, 24, 0.06);
  --shadow: 0 2px 4px rgba(12, 17, 24, 0.04), 0 18px 48px rgba(12, 17, 24, 0.1);
  --shadow-lg: 0 30px 80px rgba(5, 7, 11, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(18px, 4.4vw, 40px);
  --header-h: 72px;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

img {
  height: auto;
}

picture {
  display: block;
}

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

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

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul[class],
ol[class] {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}

h3 {
  font-stretch: 104%;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid var(--m-sky);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--m-blue);
  color: #fff;
}

.wrap {
  width: min(1200px, 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.wrap--narrow {
  width: min(860px, 100% - var(--gutter) * 2);
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-weight: 700;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.nowrap {
  white-space: nowrap;
}

.line {
  display: block;
}

/* ---------- M stripe motif ---------- */
.mstripe {
  display: inline-flex;
  gap: 4px;
  vertical-align: middle;
}

.mstripe i {
  width: 18px;
  height: 4px;
  border-radius: 1px;
  background: var(--m-sky);
  transform: skewX(-24deg);
}

.mstripe i:nth-child(2) {
  background: var(--m-blue);
}

.mstripe i:nth-child(3) {
  background: var(--m-red);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--blue-ink);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-stretch: 112%;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.on-dark .kicker,
.kicker.on-dark {
  color: var(--m-sky);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--white);
  --btn-fg: var(--text);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: 1rem;
  font-stretch: 104%;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.25s, border-color 0.25s, color 0.25s;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.985);
}

.btn:hover .icon-arrow {
  transform: translateX(4px);
}

.btn-primary {
  --btn-bg: var(--m-blue);
  --btn-fg: #fff;
  background: linear-gradient(180deg, #2a78e4 0%, var(--m-blue) 55%, #1557b6 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 10px 28px rgba(28, 105, 212, 0.38);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.34) 48%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
}

.btn-primary:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 16px 40px rgba(28, 105, 212, 0.5);
}

.btn-primary:hover::before {
  transform: translateX(120%);
}

.btn-primary::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--m-gradient);
  opacity: 0.95;
}

.btn-ghost {
  --btn-bg: rgba(255, 255, 255, 0.06);
  --btn-fg: #fff;
  border-color: var(--line-dark-strong);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.btn-outline {
  --btn-bg: #fff;
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--m-blue);
  color: var(--blue-ink);
}

.btn-lg {
  min-height: 58px;
  padding: 0 28px;
  font-size: 1.06rem;
}

.btn-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-ink);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(28, 105, 212, 0.35);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
  transition: text-decoration-color 0.2s, color 0.2s;
}

.text-link:hover {
  text-decoration-color: currentColor;
}

.text-link svg,
.mobile-menu a:not(.btn) svg {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s var(--ease);
}

.text-link:hover svg {
  transform: translateX(4px);
}

.on-dark .text-link,
.home-hero .text-link,
.page-hero .text-link {
  color: #cfe6ff;
  text-decoration-color: rgba(207, 230, 255, 0.4);
}

/* ---------- Header ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1200;
  height: 3px;
  background: var(--m-sweep);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  pointer-events: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1100;
  color: #fff;
  transition: background-color 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--line-dark);
  opacity: 0;
  transition: opacity 0.35s;
}

.site-header.is-scrolled,
.site-header.is-open,
.site-header.is-solid {
  background: rgba(8, 11, 16, 0.82);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.22);
}

.site-header.is-scrolled::after,
.site-header.is-open::after,
.site-header.is-solid::after {
  opacity: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  color: #fff;
}

.brand picture,
.brand img {
  display: block;
}

.brand img {
  width: 176px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.94rem;
  font-weight: 550;
}

.nav-links a {
  position: relative;
  padding: 10px 13px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s, background-color 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current="true"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.nav-phone:hover {
  background: rgba(255, 255, 255, 0.07);
}

.nav-phone svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--m-sky);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-nav .btn {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.94rem;
  border-radius: 12px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-dark-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.2s;
}

.site-header.is-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: grid;
  gap: 4px;
  padding: 8px 0 22px;
}

.mobile-menu a:not(.btn) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 0 4px;
  border-bottom: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 650;
}

.mobile-menu .btn {
  margin-top: 14px;
}

/* ---------- Home hero ---------- */
.home-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(28px, 4vw, 56px)) 0 0;
  background: var(--ink-900);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 78% 30%, rgba(28, 105, 212, 0.34), transparent 70%),
    radial-gradient(40% 40% at 8% 0%, rgba(79, 184, 240, 0.16), transparent 70%),
    radial-gradient(50% 50% at 100% 100%, rgba(231, 34, 46, 0.1), transparent 70%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 20%, transparent 78%);
}

.hero-stripes {
  position: absolute;
  top: -20%;
  right: -6%;
  width: 46%;
  height: 150%;
  display: flex;
  gap: 18px;
  transform: skewX(-24deg);
  opacity: 0.5;
}

.hero-stripes i {
  flex: 1;
  background: linear-gradient(180deg, transparent, rgba(79, 184, 240, 0.12) 30%, rgba(79, 184, 240, 0.02));
  transform-origin: top;
  animation: stripe-in 1.4s var(--ease) both;
}

.hero-stripes i:nth-child(2) {
  background: linear-gradient(180deg, transparent, rgba(28, 105, 212, 0.16) 30%, rgba(28, 105, 212, 0.02));
  animation-delay: 0.12s;
}

.hero-stripes i:nth-child(3) {
  background: linear-gradient(180deg, transparent, rgba(231, 34, 46, 0.12) 30%, rgba(231, 34, 46, 0.02));
  animation-delay: 0.24s;
}

@keyframes stripe-in {
  from {
    transform: scaleY(0);
    opacity: 0;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 8px 14px 8px 12px;
  border: 1px solid var(--line-dark-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #dbe7f5;
  font-size: 0.86rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--m-sky);
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid var(--m-sky);
  animation: ping 2.2s var(--ease) infinite;
}

@keyframes ping {
  from {
    transform: scale(0.5);
    opacity: 0.9;
  }
  to {
    transform: scale(1.7);
    opacity: 0;
  }
}

.home-hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.9rem);
  font-stretch: 112%;
  font-weight: 850;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.h1-kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--m-sky);
  font-size: clamp(0.78rem, 1.05vw, 0.88rem);
  font-stretch: 112%;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.h1-line {
  display: block;
}

.accent-text {
  background: linear-gradient(92deg, #8fd4ff 0%, var(--m-sky) 30%, #5a9bff 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  max-width: 34em;
  margin-top: 20px;
  color: #c3cedc;
  font-size: clamp(1.08rem, 1.5vw, 1.24rem);
  line-height: 1.6;
}

.hero-lede strong {
  color: #fff;
  font-weight: 650;
}

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

.hero-sub-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
}

.hero-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 16px;
  color: var(--on-dark-muted);
  font-size: 0.94rem;
}

.hero-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
}

.hero-person img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 24%;
  box-shadow: 0 0 0 2px var(--ink-900), 0 0 0 4px rgba(79, 184, 240, 0.55);
}

.hero-person strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
}

.hero-person span {
  color: var(--on-dark-muted);
  font-size: 0.94rem;
}

.hero-visual {
  position: relative;
  padding: 0 0 42px 0;
}

.hero-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-dark-strong);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.9;
  background: var(--ink-800);
}

.hero-photo picture {
  position: absolute;
  inset: 0;
  display: block;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 32% 50%;
  transform: scale(1.1);
  will-change: transform;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 11, 16, 0) 45%, rgba(8, 11, 16, 0.72) 100%);
}

.scanline {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 2;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(79, 184, 240, 0.16) 85%, rgba(79, 184, 240, 0.85) 100%);
  mix-blend-mode: screen;
  animation: scan 5.5s cubic-bezier(0.6, 0, 0.4, 1) infinite;
  pointer-events: none;
}

@keyframes scan {
  0% {
    transform: translateY(-110%);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  85%,
  100% {
    transform: translateY(360%);
    opacity: 0;
  }
}

.float-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(12, 17, 24, 0.72);
  color: #fff;
  font-size: 0.86rem;
  line-height: 1.25;
  background: rgba(12, 17, 24, 0.9);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  animation: floaty 7s ease-in-out infinite;
}

.float-chip b {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.float-chip small {
  color: var(--on-dark-muted);
  font-size: 0.78rem;
}

.float-chip .dot {
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(23, 163, 107, 0.22);
}

.float-chip .dot.warn {
  background: var(--warn);
  box-shadow: 0 0 0 4px rgba(227, 154, 18, 0.22);
}

.chip-a {
  top: 7%;
  right: -14px;
}

.chip-b {
  top: 34%;
  left: -22px;
  animation-delay: -3s;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

.verdict-card {
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  z-index: 4;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(12, 17, 24, 0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.verdict-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.verdict-card-top strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
}

.verdict-rows {
  display: grid;
  gap: 8px;
}

.verdict-rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #c3cedc;
  font-size: 0.9rem;
}

.verdict-rows li b {
  color: #fff;
  font-weight: 600;
  text-align: right;
}

.verdict-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.9rem;
  color: #c3cedc;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.pill-warn {
  background: rgba(227, 154, 18, 0.16);
  color: #ffc04a;
}

.pill-ok {
  background: rgba(23, 163, 107, 0.16);
  color: #4fdca0;
}

.pill-stop {
  background: rgba(231, 34, 46, 0.16);
  color: #ff7a82;
}

.on-light .pill-warn,
.pill-warn.on-light {
  background: #fdf1d8;
  color: var(--warn-ink);
}

.on-light .pill-ok,
.pill-ok.on-light {
  background: #dff5ea;
  color: var(--ok-ink);
}

.on-light .pill-stop,
.pill-stop.on-light {
  background: #fde3e5;
  color: var(--stop-ink);
}

/* Trust row inside hero */
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(44px, 6vw, 76px);
  border-top: 1px solid var(--line-dark);
}

.trust-row > div {
  padding: 26px 22px 30px 0;
}

.trust-row > div + div {
  padding-left: 22px;
  border-left: 1px solid var(--line-dark);
}

.trust-row strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-stretch: 110%;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.trust-row > div > span {
  display: block;
  margin-top: 6px;
  color: var(--on-dark-muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

/* Ticker */
.ticker {
  position: relative;
  overflow: hidden;
  padding: 16px 0;
  background: var(--ink-950);
  border-block: 1px solid var(--line-dark);
  color: #cbd6e4;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 46s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker ul {
  display: flex;
  flex: none;
  margin: 0;
}

.ticker li {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-stretch: 112%;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker li::after {
  content: "";
  width: 14px;
  height: 3px;
  background: var(--m-gradient);
  transform: skewX(-24deg);
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sections ---------- */
.sec {
  position: relative;
  padding: clamp(56px, 7vw, 104px) 0;
}

.sec--tint {
  background: var(--paper);
}

.sec--dark {
  background: var(--ink-900);
  color: var(--on-dark);
}

.sec--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(28, 105, 212, 0.22), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(79, 184, 240, 0.1), transparent 70%);
  pointer-events: none;
}

.sec--dark > * {
  position: relative;
}

.sec-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.sec-head--center {
  margin-inline: auto;
  text-align: center;
}

.sec-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px 56px;
  align-items: end;
  max-width: none;
}

.sec-head h2,
.h2 {
  font-size: clamp(1.95rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
}

.sec-head p:not(.kicker),
.lede {
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  line-height: 1.65;
}

.sec-head--split p:not(.kicker) {
  margin-top: 0;
}

.sec--dark .sec-head p:not(.kicker),
.sec--dark .lede,
.on-dark .lede {
  color: var(--on-dark-muted);
}

/* ---------- Risk cards ---------- */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.risk-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}

.risk-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--m-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.risk-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow);
}

.risk-card:hover::before {
  transform: scaleX(1);
}

.risk-quote {
  color: var(--muted);
  font-size: 0.92rem;
  font-style: italic;
}

.risk-quote s {
  text-decoration-color: var(--m-red);
  text-decoration-thickness: 2px;
}

.risk-card h3 {
  font-size: 1.28rem;
}

.risk-card p:not(.risk-quote) {
  color: var(--muted);
  font-size: 0.99rem;
}

.risk-card--wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  background: var(--ink-900);
  color: var(--on-dark);
  border-color: transparent;
}

.risk-card--wide p:not(.risk-quote) {
  color: var(--on-dark-muted);
}

.risk-card--wide h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}

.risk-card--wide .btn {
  flex: none;
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 13px;
  background: #e9f2fd;
  color: var(--m-blue);
}

.icon-badge svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sec--dark .icon-badge,
.on-dark .icon-badge {
  background: rgba(79, 184, 240, 0.12);
  color: var(--m-sky);
}

/* ---------- Bento: what gets inspected ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.bento-card {
  grid-column: span 4;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  transition: transform 0.45s var(--ease), border-color 0.3s, background-color 0.3s;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(79, 184, 240, 0.45);
}

.bento-card h3 {
  font-size: 1.18rem;
  color: #fff;
}

.bento-card p,
.bento-card li {
  color: var(--on-dark-muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.bento-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bento-card li {
  position: relative;
  padding-left: 18px;
}

.bento-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 2px;
  background: var(--m-sky);
}

.bento-card--photo {
  grid-column: span 8;
  grid-row: span 2;
  min-height: 420px;
  padding: 0;
  overflow: hidden;
  justify-content: flex-end;
}

.bento-card--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.bento-card--photo:hover img {
  transform: scale(1.04);
}

.bento-card--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 11, 16, 0.1) 30%, rgba(8, 11, 16, 0.92) 100%);
}

.bento-photo-body {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  padding: 30px;
  max-width: 560px;
}

.bento-photo-body h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
}

.bento-photo-body p {
  color: #c9d4e2;
}

.hotspot {
  position: absolute;
  z-index: 3;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(79, 184, 240, 0.5);
}

.hotspot::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  animation: ping 2.4s var(--ease) infinite;
}

.hotspot span {
  position: absolute;
  left: 24px;
  top: 50%;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(8, 11, 16, 0.78);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
}

.bento-note {
  margin-top: 26px;
  color: var(--on-dark-muted);
  font-size: 0.94rem;
}

.bento-card--q {
  grid-column: span 3;
}

/* ---------- Resource banner ---------- */
.resource {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px 22px;
  align-items: center;
  margin-top: clamp(36px, 5vw, 56px);
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(100deg, #f1f7ff, #fff 60%);
  transition: border-color 0.25s, box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.resource:hover {
  transform: translateY(-3px);
  border-color: var(--m-blue);
  box-shadow: var(--shadow-sm);
}

.resource strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
}

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

.resource .text-link {
  white-space: nowrap;
}

/* ---------- Verdict explorer ---------- */
.verdict-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.check-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.check-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
}

.check-list strong {
  color: var(--text);
  font-weight: 650;
}

.sec--dark .check-list li,
.on-dark .check-list li {
  color: var(--on-dark-muted);
}

.sec--dark .check-list strong,
.on-dark .check-list strong {
  color: #fff;
}

.tick {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  background: #e2f0ff;
  color: var(--m-blue);
}

.tick svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sec--dark .tick,
.on-dark .tick {
  background: rgba(79, 184, 240, 0.16);
  color: var(--m-sky);
}

.report {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.report-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 8px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.report-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s;
}

.report-tab::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dot, var(--muted));
}

.report-tab[data-tone="ok"] {
  --dot: var(--ok);
}

.report-tab[data-tone="warn"] {
  --dot: var(--warn);
}

.report-tab[data-tone="stop"] {
  --dot: var(--stop);
}

.report-tab[aria-selected="true"] {
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.report-panel {
  padding: clamp(20px, 3vw, 30px);
  animation: panel-in 0.5s var(--ease);
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.report-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.report-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.16rem;
}

.report-meta span {
  color: var(--muted);
  font-size: 0.9rem;
}

.report-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.report-metrics div {
  padding: 14px;
  border-radius: 14px;
  background: var(--paper);
}

.report-metrics b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.report-metrics span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.3;
}

.report-findings {
  display: grid;
  gap: 8px;
}

.report-findings li {
  position: relative;
  padding: 12px 14px 12px 34px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.report-findings li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 1.15em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--tone, var(--m-blue));
}

.report-findings li[data-tone="ok"] {
  --tone: var(--ok);
}

.report-findings li[data-tone="warn"] {
  --tone: var(--warn);
}

.report-findings li[data-tone="stop"] {
  --tone: var(--stop);
}

.report-verdict {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--ink-900);
  color: #fff;
}

.report-verdict small {
  color: var(--on-dark-muted);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.report-verdict strong {
  font-family: var(--font-display);
  font-size: 1.04rem;
  line-height: 1.35;
}

.report-foot {
  padding: 12px clamp(20px, 3vw, 30px) 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

/* ---------- Process ---------- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  counter-reset: step;
}

.steps-line {
  position: absolute;
  top: 27px;
  left: 28px;
  right: 28px;
  height: 2px;
  background: var(--line-dark);
}

.steps-line i {
  display: block;
  height: 100%;
  background: var(--m-sweep);
  transform: scaleX(var(--line-progress, 0));
  transform-origin: left;
  transition: transform 0.2s linear;
}

.step {
  position: relative;
  counter-increment: step;
}

.step-num {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border: 1px solid var(--line-dark-strong);
  border-radius: 50%;
  background: var(--ink-800);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.step-num::before {
  content: "0" counter(step);
}

.step h3 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.2rem;
}

.step p {
  color: var(--on-dark-muted);
  font-size: 0.98rem;
}

.step-time {
  display: inline-block;
  margin-top: 12px;
  color: var(--m-sky);
  font-size: 0.84rem;
  font-weight: 600;
}

/* ---------- Pricing ---------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.tier:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.tier--featured {
  border-color: transparent;
  background: var(--ink-900);
  color: var(--on-dark);
  box-shadow: 0 30px 70px rgba(12, 17, 24, 0.28);
}

.tier--featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(140deg, var(--m-sky), var(--m-blue) 45%, var(--m-red));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

.tier--featured {
  isolation: isolate;
}

.tier--featured:hover {
  box-shadow: 0 40px 90px rgba(12, 17, 24, 0.38);
}

.tier-badge {
  position: absolute;
  top: -13px;
  left: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--m-blue);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tier-for {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tier--featured .tier-for {
  color: var(--m-sky);
}

.tier h3 {
  margin-top: 8px;
  font-size: 1.5rem;
}

.tier-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-stretch: 108%;
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.tier-price small {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 550;
  letter-spacing: 0;
}

.tier--featured .tier-price small {
  color: var(--on-dark-muted);
}

.tier-summary {
  margin-top: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.99rem;
}

.tier--featured .tier-summary {
  border-color: var(--line-dark);
  color: var(--on-dark-muted);
}

.tier .check-list {
  gap: 11px;
  margin: 22px 0 28px;
  font-size: 0.97rem;
}

.tier--featured .check-list li {
  color: #c9d4e2;
}

.tier--featured .check-list strong {
  color: #fff;
}

.tier--featured .tick {
  background: rgba(79, 184, 240, 0.16);
  color: var(--m-sky);
}

.tier .btn {
  width: 100%;
  margin-top: auto;
}

.pricing-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  max-width: 900px;
  margin: 34px auto 0;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  font-size: 0.95rem;
}

.pricing-note strong {
  color: var(--text);
}

/* ---------- Split feature (BMW / about) ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}

.split--photo-left > .split-media {
  order: -1;
}

.split-media {
  position: relative;
}

.frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.frame:hover img {
  transform: scale(1.04);
}

.frame--portrait {
  aspect-ratio: 4 / 4.9;
}

.frame--portrait img {
  object-position: 50% 22%;
}

.frame--landscape {
  aspect-ratio: 4 / 3;
}

.media-accent {
  position: absolute;
  z-index: -1;
  right: -18px;
  bottom: -18px;
  width: 62%;
  height: 62%;
  border-radius: var(--radius-lg);
  background: var(--m-sweep);
  opacity: 0.9;
}

.name-card {
  position: absolute;
  left: 18px;
  bottom: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(12, 17, 24, 0.76);
  color: #fff;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.name-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.name-card span {
  color: var(--on-dark-muted);
  font-size: 0.88rem;
}

.split-body h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  letter-spacing: -0.03em;
}

.split-body > p {
  margin-top: 18px;
  color: var(--muted);
}

.split-body > p.lede {
  color: var(--text);
  font-weight: 500;
}

.sec--dark .split-body > p {
  color: var(--on-dark-muted);
}

.sec--dark .split-body > p.lede {
  color: #e5ecf5;
}

.pull-quote {
  margin-top: 26px;
  padding: 20px 22px;
  border-left: 3px solid var(--m-red);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 650;
  line-height: 1.45;
}

.sec--dark .pull-quote {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.fact-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.fact-row div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.sec--dark .fact-row div {
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, 0.03);
}

.fact-row b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.fact-row span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.sec--dark .fact-row span {
  color: var(--on-dark-muted);
}

.split-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 30px;
}

/* ---------- Case cards ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.case-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.case-card figure {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.case-card:hover img {
  transform: scale(1.06);
}

.case-card .pill {
  position: absolute;
  left: 14px;
  top: 14px;
  background: rgba(12, 17, 24, 0.82);
  backdrop-filter: blur(10px);
}

.case-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px 24px;
}

.case-meta {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-body h3 {
  font-size: 1.18rem;
}

.case-body p {
  color: var(--muted);
  font-size: 0.96rem;
}

.case-metric {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.case-metric strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-variant-numeric: tabular-nums;
}

.sec-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Coverage ---------- */
.coverage {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.coverage-map {
  position: relative;
  padding: clamp(18px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 60% at 20% 45%, rgba(28, 105, 212, 0.1), transparent 70%),
    #fff;
}

.coverage-map svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.map-land {
  fill: #e6edf6;
  stroke: #b8c7da;
  stroke-width: 0.16;
  stroke-linejoin: round;
}

.map-region {
  fill: rgba(28, 105, 212, 0.16);
  stroke: var(--m-blue);
  stroke-width: 0.12;
  stroke-dasharray: 0.5 0.4;
}

.map-ring {
  fill: none;
  stroke: var(--m-blue);
  stroke-width: 0.1;
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
  animation: ring 3.6s ease-out infinite;
}

.map-ring:nth-of-type(2) {
  animation-delay: 1.2s;
}

.map-ring:nth-of-type(3) {
  animation-delay: 2.4s;
}

@keyframes ring {
  0% {
    transform: scale(0.2);
    opacity: 0.9;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.map-dot {
  fill: var(--m-blue);
  stroke: #fff;
  stroke-width: 0.16;
}

.map-dot--home {
  fill: var(--m-red);
}

.map-dot--far {
  fill: #7d8da3;
}

.map-label {
  fill: var(--text);
  font-family: var(--font-display);
  font-size: 0.86px;
  font-weight: 700;
}

.map-label--muted {
  fill: #6c7a8e;
  font-weight: 600;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.86rem;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.map-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--m-blue);
}

.map-legend i.home {
  background: var(--m-red);
}

.map-legend i.far {
  background: #7d8da3;
}

.area-links {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.area-link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  align-items: center;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.25s, transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.area-link:hover {
  transform: translateX(6px);
  border-color: var(--m-blue);
  box-shadow: var(--shadow-sm);
}

.area-link strong {
  font-family: var(--font-display);
  font-size: 1.06rem;
}

.area-link span {
  grid-column: 1;
  color: var(--muted);
  font-size: 0.9rem;
}

.area-link svg {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--m-blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.faq-aside {
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

.faq-aside .contact-card {
  margin-top: 28px;
}

.contact-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.contact-card p {
  color: var(--muted);
  font-size: 0.96rem;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.25s, box-shadow 0.35s;
}

.faq-item[open] {
  border-color: rgba(28, 105, 212, 0.4);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "";
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background:
    linear-gradient(var(--m-blue), var(--m-blue)) center / 12px 2px no-repeat,
    linear-gradient(var(--m-blue), var(--m-blue)) center / 2px 12px no-repeat,
    #e9f2fd;
  transition: transform 0.4s var(--ease), background-size 0.3s;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
  background-size: 12px 2px, 2px 0, auto;
}

.faq-item .faq-answer {
  padding: 0 22px 22px;
  color: var(--muted);
  max-width: 62ch;
}

.faq-item::details-content {
  opacity: 0;
  block-size: 0;
  overflow: clip;
  transition: block-size 0.45s var(--ease), opacity 0.35s, content-visibility 0.45s allow-discrete;
}

.faq-item[open]::details-content {
  opacity: 1;
  block-size: auto;
}

@supports (interpolate-size: allow-keywords) {
  :root {
    interpolate-size: allow-keywords;
  }
}

/* ---------- Lead form ---------- */
.lead-sec {
  background: var(--ink-900);
  color: var(--on-dark);
  overflow: hidden;
}

.lead-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.lead-copy h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
}

.lead-copy > p {
  margin-top: 18px;
  color: var(--on-dark-muted);
  font-size: 1.1rem;
}

.next-steps {
  display: grid;
  gap: 16px;
  margin-top: 30px;
  counter-reset: next;
}

.next-steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  color: var(--on-dark-muted);
  counter-increment: next;
}

.next-steps li::before {
  content: counter(next);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-dark-strong);
  border-radius: 50%;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
}

.next-steps strong {
  display: block;
  color: #fff;
  font-weight: 650;
}

.direct-contact {
  display: grid;
  gap: 10px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}

.direct-contact a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.direct-contact a.email {
  font-size: 1.04rem;
  font-weight: 600;
  color: #cfe6ff;
}

.direct-contact svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--m-sky);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.direct-contact small {
  color: var(--on-dark-muted);
  font-size: 0.86rem;
}

.lead-form-card {
  position: relative;
  padding: clamp(22px, 3.4vw, 36px);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-lg);
}

.lead-form-card::before {
  content: "";
  position: absolute;
  inset: 0 28px auto 28px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--m-gradient);
}

.lead-form {
  display: grid;
  gap: 18px;
}

.lead-request-type {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0;
  padding: 6px;
  border: 0;
  border-radius: 14px;
  background: var(--paper);
  min-width: 0;
}

.lead-request-type legend {
  float: left;
  grid-column: 1 / -1;
  width: 100%;
  margin-bottom: 8px;
  padding: 4px 6px 0;
  font-family: var(--font-display);
  font-weight: 700;
}

.lead-request-type label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 10px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 650;
  font-size: 0.97rem;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s;
}

.lead-request-type input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lead-request-type label:has(input:checked) {
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.lead-package-field[hidden] {
  display: none;
}

@media (max-width: 520px) {
  .lead-request-type {
    grid-template-columns: 1fr;
  }
}

.lead-request-type label:has(input:focus-visible) {
  outline: 3px solid var(--m-sky);
  outline-offset: 2px;
}

.lead-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

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

.form-field label {
  font-size: 0.9rem;
  font-weight: 650;
}

.form-field label small {
  color: var(--muted);
  font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  font-size: 1rem;
  line-height: 1.35;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field select {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c69d4' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 14px center;
  background-size: 18px;
  background-repeat: no-repeat;
}

.form-field textarea {
  min-height: 118px;
  resize: vertical;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: #9fb0c6;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--m-blue);
  box-shadow: 0 0 0 4px rgba(28, 105, 212, 0.16);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #93a0b2;
}

.lead-optional-details {
  border-top: 1px solid var(--line);
  padding-top: 6px;
}

.lead-optional-details summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  color: var(--blue-ink);
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

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

.lead-optional-details summary::before {
  content: "+";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e9f2fd;
  font-weight: 700;
  line-height: 1;
}

.lead-optional-details[open] summary::before {
  content: "–";
}

.lead-optional-details[open] summary {
  margin-bottom: 10px;
}

.form-help {
  color: var(--muted);
  font-size: 0.88rem;
}

.form-status {
  min-height: 1.3em;
  font-size: 0.95rem;
  font-weight: 600;
}

.form-status:empty {
  display: none;
}

.form-status.is-success {
  color: var(--ok-ink);
}

.form-status.is-error {
  padding: 12px 14px;
  border-radius: 12px;
  background: #fde3e5;
  color: var(--stop-ink);
}

.form-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 0.84rem;
}

.form-assurance > span {
  display: inline-flex;
  align-items: flex-start;
  gap: 7px;
}

.form-assurance svg {
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 0.22em;
  fill: none;
  stroke: var(--ok);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-assurance a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- CTA band (sub-pages) ---------- */
.cta-band {
  position: relative;
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--ink-900);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 80% at 85% 50%, rgba(28, 105, 212, 0.32), transparent 70%),
    radial-gradient(40% 60% at 0% 100%, rgba(231, 34, 46, 0.1), transparent 70%);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px 48px;
  align-items: center;
}

.cta-inner h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  letter-spacing: -0.03em;
}

.cta-inner p {
  margin-top: 12px;
  max-width: 44em;
  color: var(--on-dark-muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 64px 0 30px;
  background: var(--ink-950);
  color: var(--on-dark-muted);
  font-size: 0.95rem;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 36px 40px;
  padding-bottom: 44px;
}

.footer-brand .brand img {
  width: 180px;
}

.footer-brand .footer-slogan {
  margin-top: 16px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}

.footer-brand .footer-slogan + p {
  margin-top: 8px;
}

.footer-brand p {
  max-width: 32ch;
  margin-top: 18px;
}

.footer-col h2 {
  margin-bottom: 14px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-stretch: 112%;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.footer-col a {
  transition: color 0.2s;
}

.footer-col a:hover,
.footer-links a:hover {
  color: #fff;
}

.footer-phone {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  color: #cbd6e4;
  transition: transform 0.35s var(--ease), border-color 0.25s, color 0.25s;
}

.social-link:hover {
  transform: translateY(-3px);
  border-color: var(--m-sky);
  color: #fff;
}

.social-link svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.social-link svg [fill="none"] {
  fill: none;
  stroke: currentColor;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.analytics-consent-settings {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: color 0.2s;
}

.analytics-consent-settings:hover,
.analytics-consent-settings:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Sub-page hero ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(56px, 7vw, 96px);
  background: var(--ink-900);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  font-stretch: 110%;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.page-hero .hero-lede {
  max-width: 36em;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.page-hero--simple .wrap {
  max-width: 900px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--on-dark-muted);
  font-size: 0.88rem;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb span[aria-hidden] {
  opacity: 0.5;
}

.signal-panel {
  padding: 26px;
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.signal-head {
  display: grid;
  gap: 4px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-dark);
}

.signal-head strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.16rem;
}

.signal-head span {
  color: var(--on-dark-muted);
  font-size: 0.92rem;
}

.signal-panel .check-list {
  margin-top: 0;
}

.signal-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
  color: var(--on-dark-muted);
  font-size: 0.92rem;
}

.signal-price b {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-variant-numeric: tabular-nums;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

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

.card p {
  color: var(--muted);
  font-size: 0.99rem;
}

.card-num {
  color: var(--m-blue);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.prose h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  letter-spacing: -0.025em;
}

.prose p {
  margin-top: 16px;
  color: var(--muted);
}

/* ---------- Case study page ---------- */
.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 40px;
}

.proof-item {
  padding: 20px 22px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.proof-item .pill {
  margin-bottom: 10px;
}

.proof-item span:not(.pill) {
  display: block;
  color: var(--on-dark-muted);
  font-size: 0.94rem;
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(36px, 5vw, 64px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.story:first-child {
  border-top: 0;
  padding-top: 0;
}

.story-visual {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3.4;
  box-shadow: var(--shadow);
}

.story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-number {
  position: absolute;
  left: 16px;
  bottom: 12px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-stretch: 112%;
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.story-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.chip {
  padding: 4px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.chip.sample {
  border-color: transparent;
  background: #e9f2fd;
  color: var(--blue-ink);
}

.story h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  letter-spacing: -0.025em;
}

.story-lead {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.08rem;
}

.story-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
}

.fact {
  padding: 14px;
  border-radius: 14px;
  background: var(--paper);
}

.fact span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fact strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.25;
}

.story-flow {
  display: grid;
  gap: 20px;
}

.flow-label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-weight: 700;
}

.flow-row p,
.finding-list li {
  color: var(--muted);
}

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

.finding-list li {
  position: relative;
  padding-left: 20px;
}

.finding-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 9px;
  height: 2px;
  background: var(--m-blue);
}

.outcome {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 26px;
  padding: 20px;
  border-radius: var(--radius);
  background: #dff5ea;
  color: #0a3d28;
}

.outcome.warn {
  background: #fdf1d8;
  color: #4d3300;
}

.outcome.stop {
  background: #fde3e5;
  color: #5c0a10;
}

.outcome-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
}

.outcome.warn .outcome-icon {
  background: var(--warn);
}

.outcome.stop .outcome-icon {
  background: var(--stop);
}

.outcome small {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
}

.outcome strong {
  display: block;
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 1.04rem;
  line-height: 1.4;
}

/* ---------- Legal + thank-you ---------- */
.legal-shell {
  padding: calc(var(--header-h) + clamp(28px, 5vw, 56px)) 0 clamp(64px, 8vw, 110px);
  background: var(--paper);
}

.legal-card {
  width: min(880px, 100% - var(--gutter) * 2);
  margin-inline: auto;
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.legal-card h2 {
  margin: 40px 0 14px;
  font-size: 1.4rem;
  letter-spacing: -0.015em;
}

.legal-card h3 {
  margin: 26px 0 10px;
  font-size: 1.12rem;
}

.legal-card p,
.legal-card li {
  color: #364152;
}

.legal-card p + p,
.legal-card ul + p,
.legal-card p + ul,
.legal-card table + p {
  margin-top: 14px;
}

.legal-card ul,
.legal-card ol {
  padding-left: 22px;
}

.legal-card li + li {
  margin-top: 6px;
}

.legal-card a {
  color: var(--blue-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.table-scroll {
  overflow-x: auto;
}

.legal-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
}

.legal-card th,
.legal-card td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-card th {
  background: var(--paper);
  font-weight: 650;
}

.thanks {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: calc(var(--header-h) + 40px) 0 80px;
  background: var(--ink-900);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.thanks-card {
  width: min(680px, 100% - var(--gutter) * 2);
}

.thanks-icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: rgba(23, 163, 107, 0.16);
  color: #4fdca0;
}

.thanks-icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: draw 0.8s 0.35s var(--ease) forwards;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.thanks h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  letter-spacing: -0.03em;
}

.thanks .hero-lede {
  margin-inline: auto;
}

.thanks .next-steps {
  max-width: 480px;
  margin: 34px auto 0;
  text-align: left;
}

.thanks .hero-actions {
  justify-content: center;
}

/* ---------- Consent banner + mobile contact bar ---------- */
.analytics-consent {
  position: fixed;
  inset: auto 18px 18px auto;
  z-index: 1300;
  width: min(440px, calc(100% - 36px));
  padding: 20px;
  border: 1px solid var(--line-dark-strong);
  border-radius: 18px;
  background: rgba(12, 17, 24, 0.94);
  color: #dbe5f1;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-family: var(--font-body);
  line-height: 1.5;
  animation: consent-in 0.6s var(--ease) both;
}

@keyframes consent-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

.analytics-consent p {
  margin: 0 0 16px;
  font-size: 0.9rem;
}

.analytics-consent a {
  color: #fff;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.analytics-consent__actions {
  display: flex;
  gap: 10px;
}

.analytics-consent button {
  flex: 1 1 0;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line-dark-strong);
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.analytics-consent__accept {
  border-color: transparent !important;
  background: var(--m-blue);
  color: #fff;
}

.analytics-consent__accept:hover {
  background: #2a78e4;
}

.analytics-consent__decline {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.analytics-consent__decline:hover {
  background: rgba(255, 255, 255, 0.14);
}

.mobile-contact-bar {
  display: none;
}

/* ---------- Motion ---------- */
/* Hidden until the observer marks it in view, then it plays a one-off entrance.
   The animation only fills backwards, so once it ends the element's own
   transform, hover and press states take over again without any delay. */
.js .reveal:not(.in-view) {
  opacity: 0;
  transform: var(--reveal-from, translateY(30px));
}

.js .reveal.reveal--scale {
  --reveal-from: scale(0.94);
}

.js .reveal.in-view {
  animation: reveal-in 0.95s var(--ease-out-expo) backwards;
  animation-delay: calc(var(--i, 0) * 80ms);
}

@keyframes reveal-in {
  from {
    opacity: 0;
    transform: var(--reveal-from, translateY(30px));
  }
}

.js .hero-in {
  opacity: 0;
  transform: translateY(16px);
  animation: hero-in 0.8s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 80ms + 60ms);
}

@keyframes hero-in {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Headline and intro are the first thing (and the LCP element) on every page:
   keep them visible from the first frame and only slide them in. */
.js h1.hero-in,
.js .hero-lede.hero-in {
  opacity: 1;
  animation-name: hero-rise;
}

@keyframes hero-rise {
  to {
    transform: none;
  }
}

.js .verdict-rows li,
.js .verdict-result {
  opacity: 0;
  transform: translateX(-10px);
  animation: hero-in 0.7s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 120ms + 700ms);
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }

  .js .reveal,
  .js .hero-in,
  .js .verdict-rows li,
  .js .verdict-result {
    opacity: 1;
    transform: none;
  }

  .scanline,
  .map-ring {
    display: none;
  }

  .ticker-track {
    animation: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .bento-card,
  .bento-card--q {
    grid-column: span 6;
  }

  .bento-card--photo {
    grid-column: span 12;
    grid-row: auto;
    min-height: 380px;
  }

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

@media (min-width: 1081px) {
  .mobile-menu {
    display: none !important;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 64px;
  }

  .has-mobile-contact {
    --mobile-contact-height: calc(72px + env(safe-area-inset-bottom, 0px));
    padding-bottom: var(--mobile-contact-height);
  }

  .has-mobile-contact .mobile-contact-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 1150;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 10px;
    height: var(--mobile-contact-height);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line-dark-strong);
    background: rgba(8, 11, 16, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.5s var(--ease);
  }

  .js .has-mobile-contact .mobile-contact-bar {
    transform: translateY(110%);
  }

  .js .has-mobile-contact .mobile-contact-bar.is-visible {
    transform: none;
  }

  .mobile-contact-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    min-height: 52px;
    padding: 0 10px;
    border: 1px solid var(--line-dark-strong);
    border-radius: 14px;
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 700;
    text-align: center;
  }

  .mobile-contact-bar svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-contact-lead {
    border-color: transparent !important;
    background: linear-gradient(180deg, #2a78e4, var(--m-blue));
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18);
  }

  .has-mobile-contact .analytics-consent {
    inset: auto 10px calc(var(--mobile-contact-height) + 10px) 10px;
    width: auto;
    max-height: calc(100dvh - var(--mobile-contact-height) - 20px);
    overflow-y: auto;
    padding: 14px;
  }

  .has-mobile-contact .analytics-consent p {
    margin-bottom: 12px;
    font-size: 0.82rem;
  }

  .nav-phone span {
    display: none;
  }

  .nav-phone {
    width: 44px;
    padding: 0;
    justify-content: center;
    border: 1px solid var(--line-dark-strong);
    background: rgba(255, 255, 255, 0.05);
  }

  .site-nav > .nav-actions > .btn {
    display: none;
  }

  .hero-grid,
  .page-hero-grid,
  .verdict-layout,
  .split,
  .coverage,
  .faq-layout,
  .lead-layout,
  .two-col,
  .story,
  .sec-head--split {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }

  .hero-photo {
    aspect-ratio: 4 / 3.6;
  }

  .chip-a {
    right: 10px;
  }

  .chip-b {
    left: 10px;
  }

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

  .trust-row > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .trust-row > div:nth-child(n + 3) {
    border-top: 1px solid var(--line-dark);
  }

  .risk-grid,
  .tiers,
  .case-grid,
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tiers {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    margin-inline: auto;
  }

  .tier--featured {
    order: -1;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 22px;
  }

  .steps-line {
    display: none;
  }

  .split--photo-left > .split-media {
    order: 0;
  }

  .split-media {
    max-width: 520px;
  }

  .faq-aside,
  .story-visual {
    position: static;
  }

  .cta-inner {
    grid-template-columns: 1fr;
  }
}

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

  .brand img {
    width: 150px;
  }

  .home-hero h1 {
    font-size: clamp(2.15rem, 10.4vw, 3rem);
    font-stretch: 104%;
  }

  .hero-actions .btn,
  .cta-actions .btn,
  .split-actions .btn {
    width: 100%;
  }

  .cta-actions {
    width: 100%;
  }

  .float-chip {
    padding: 8px 11px;
    font-size: 0.78rem;
  }

  .float-chip b {
    font-size: 0.9rem;
  }

  .verdict-card {
    left: 10px;
    right: 10px;
    padding: 14px 16px;
  }

  .trust-row > div {
    padding: 20px 14px 22px 0;
  }

  .trust-row > div + div {
    padding-left: 14px;
  }

  .trust-row > div:nth-child(3) {
    padding-left: 0;
  }

  .risk-grid,
  .case-grid,
  .card-grid,
  .card-grid--2,
  .proof-strip,
  .lead-form-grid,
  .report-metrics,
  .fact-row,
  .story-facts,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .risk-card--wide {
    grid-column: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .bento-card,
  .bento-card--q,
  .bento-card--photo {
    grid-column: span 12;
  }

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

  /* Legal tables: stack rows instead of side-scrolling on phones. */
  .legal-card table,
  .legal-card tbody,
  .legal-card tr,
  .legal-card th,
  .legal-card td {
    display: block;
    width: auto;
  }

  .legal-card thead {
    display: none;
  }

  .legal-card tr {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
  }

  .legal-card tr + tr {
    margin-top: 10px;
  }

  .legal-card th,
  .legal-card td {
    border: 0;
    padding: 10px 14px;
  }

  .legal-card td + td {
    border-top: 1px solid var(--line);
  }

  .legal-card td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.02em;
  }

  .bento-card--photo {
    min-height: 440px;
  }

  .hotspot,
  .float-chip.chip-b {
    display: none;
  }

  .report-tab {
    font-size: 0.82rem;
    gap: 6px;
    padding: 0 4px;
  }

  .report-metrics {
    gap: 8px;
  }

  .step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 4px 18px;
  }

  .step-num {
    grid-row: span 3;
    margin-bottom: 0;
  }

  .pricing-note {
    grid-template-columns: 1fr;
  }

  .media-accent {
    right: -10px;
    bottom: -10px;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .analytics-consent__actions {
    flex-wrap: nowrap;
  }

  .analytics-consent button {
    min-height: 44px;
    padding: 0 8px;
    font-size: 0.86rem;
  }
}

@media print {
  .site-header,
  .scroll-progress,
  .mobile-contact-bar,
  .analytics-consent,
  .site-footer {
    display: none !important;
  }
}

/* ---------- Free first-opinion offer ---------- */
.offer-tag {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(79, 220, 160, 0.14);
  border: 1px solid rgba(79, 220, 160, 0.4);
  color: #4fdca0;
  font-family: var(--font-body, inherit);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  vertical-align: middle;
}

h3 .offer-tag {
  margin-left: 8px;
  transform: translateY(-2px);
}

.risk-card--wide .offer-tag {
  margin-bottom: 12px;
}

.hero-offer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 560px;
  margin: 22px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(79, 220, 160, 0.28);
  background: rgba(79, 220, 160, 0.06);
  color: #d5deea;
  font-size: 1rem;
  line-height: 1.5;
}

.hero-offer + .hero-actions {
  margin-top: 18px;
}

.hero-offer .offer-tag {
  margin-top: 2px;
}

.hero-offer strong {
  color: #fff;
}

.bento-card > p {
  color: var(--on-dark-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 680px) {
  .coverage-map {
    display: none;
  }

  .hero-offer {
    flex-direction: column;
    gap: 8px;
  }
}

/* Compact cards and a faster route to the form on phones */
@media (max-width: 680px) {
  .bento-card:not(.bento-card--photo),
  .risk-card:not(.risk-card--wide) {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    row-gap: 4px;
    align-items: start;
    padding: 18px;
    min-height: 0;
  }

  .bento-card:not(.bento-card--photo) > .icon-badge,
  .risk-card:not(.risk-card--wide) > .icon-badge {
    grid-row: 1 / span 3;
    margin: 0;
  }

  .bento-card:not(.bento-card--photo) > :not(.icon-badge),
  .risk-card:not(.risk-card--wide) > :not(.icon-badge) {
    grid-column: 2;
    margin: 0;
  }

  .bento-card--photo {
    min-height: 300px;
  }

  .lead-copy .next-steps {
    display: none;
  }
}

/* ---------- Process steps on light sections, lit as you scroll ---------- */
.sec:not(.sec--dark) .steps-line {
  background: var(--line, #dfe5ee);
}

.sec:not(.sec--dark) .step h3 {
  color: var(--ink-900);
}

.sec:not(.sec--dark) .step p {
  color: var(--muted, #5b6676);
}

.step-num {
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.js .step:not(.is-on) .step-num {
  background: #fff;
  border-color: #d5dce8;
  color: #8a94a5;
}

.sec--dark .step:not(.is-on) .step-num {
  background: var(--ink-800);
  border-color: var(--line-dark-strong);
  color: #8a94a5;
}

.step.is-on .step-num {
  background: var(--m-blue, #1c69d4);
  border-color: var(--m-blue, #1c69d4);
  color: #fff;
  box-shadow: 0 8px 22px rgba(28, 105, 212, 0.32);
}

/* Cards respond to the pointer without jumping */
@media (hover: hover) {
  .risk-card:not(.risk-card--wide),
  .tier,
  .area-link {
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.25s;
  }

  .risk-card:not(.risk-card--wide):hover,
  .tier:not(.tier--featured):hover,
  .area-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(16, 21, 29, 0.08);
  }
}

.sec:not(.sec--dark) .step .offer-tag {
  background: rgba(23, 163, 107, 0.1);
  border-color: rgba(23, 163, 107, 0.4);
  color: #0e7448;
}

/* ---------- Form: validation feedback ---------- */

.lead-form-grid + .form-help {
  margin-top: -6px;
}

.form-field input:user-invalid,
.form-field textarea:user-invalid {
  border-color: #d92d3a;
  box-shadow: 0 0 0 4px rgba(217, 45, 58, 0.12);
}

@media (max-width: 680px) {
  /* The header phone button stays in reach, so the form comes up sooner. */
  .lead-copy .direct-contact {
    display: none;
  }
}

.form-help {
  max-width: none;
  text-wrap: pretty;
}

@media (max-width: 680px) {
  .lead-form .btn-lg {
    font-size: 1rem;
    white-space: nowrap;
  }
}

/* ---------- Performance ---------- */

/* Case-study photos are wrapped in <picture> for WebP. */
.story-visual picture {
  display: block;
  height: 100%;
}

/* The map rings are SVG animations (painted on the main thread):
   run them only while the map is on screen. */
.map-ring {
  animation-play-state: paused;
}

.coverage-map.is-live .map-ring {
  animation-play-state: running;
}

/* Comfortable tap areas on touch screens (no visual change). */
.brand {
  min-height: 44px;
}

@media (pointer: coarse) {
  .footer-col ul {
    gap: 2px;
  }

  .footer-col a,
  .footer-links a,
  .footer-links button {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }
}

/* ==========================================================================
   Motion v2 – entrances, touch feedback, page transitions, package carousel.
   Everything moves with transform/opacity only, and reduced motion turns it off.
   ========================================================================== */

/* Page-to-page fade instead of a hard white flash (Chrome, Edge, Safari 18.2+). */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }

  ::view-transition-old(root) {
    animation: vt-out 0.22s var(--ease) both;
  }

  ::view-transition-new(root) {
    animation: vt-in 0.42s var(--ease-out-expo) both;
  }

  .site-header {
    view-transition-name: site-header;
  }

  ::view-transition-group(site-header) {
    animation-duration: 0s;
  }
}

@keyframes vt-out {
  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@keyframes vt-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* Section headings: kicker, title and intro arrive one after another. */
.js .sec-head.reveal.in-view {
  animation: none;
}

.js .sec-head.reveal.in-view > * {
  animation: reveal-in 0.9s var(--ease-out-expo) backwards;
}

.js .sec-head.reveal.in-view > :nth-child(2) {
  animation-delay: 90ms;
}

.js .sec-head.reveal.in-view > :nth-child(n + 3) {
  animation-delay: 180ms;
}

/* The three M stripes draw in from the left. */
.js .reveal.in-view .mstripe i {
  transform-origin: left center;
  animation: stripe-draw 0.7s var(--ease-spring) backwards;
  animation-delay: 220ms;
}

.js .reveal.in-view .mstripe i:nth-child(2) {
  animation-delay: 300ms;
}

.js .reveal.in-view .mstripe i:nth-child(3) {
  animation-delay: 380ms;
}

@keyframes stripe-draw {
  from {
    transform: skewX(-24deg) scaleX(0);
  }
}

/* Icons pop in with a little spring. */
.js .reveal.in-view .icon-badge {
  animation: badge-pop 0.8s var(--ease-spring) backwards;
  animation-delay: calc(var(--i, 0) * 80ms + 200ms);
}

@keyframes badge-pop {
  from {
    opacity: 0;
    transform: scale(0.4) rotate(-14deg);
  }
}

/* Hero: the background glow drifts slowly. */
.hero-bg::before {
  inset: -12%;
  animation: aurora 18s ease-in-out infinite alternate;
}

@keyframes aurora {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(-4%, 3%, 0) scale(1.08);
  }

  100% {
    transform: translate3d(3%, -2%, 0) scale(1.02);
  }
}

/* Main calls to action: a light sheen sweeps across every few seconds. */
.hero-actions .btn-primary::before,
.lead-form .btn-primary::before,
.mobile-contact-lead::before {
  animation: cta-sheen 5s var(--ease) 1.6s infinite;
}

.hero-actions .btn-primary:hover::before,
.lead-form .btn-primary:hover::before {
  animation: none;
}

@keyframes cta-sheen {
  0% {
    transform: translateX(-120%);
  }

  28%,
  100% {
    transform: translateX(120%);
  }
}

.mobile-contact-lead {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.mobile-contact-lead::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.32) 48%, transparent 62%);
  transform: translateX(-120%);
}

/* Mobile contact bar: the two buttons pop up just after the bar slides in. */
.js .mobile-contact-bar.is-visible a {
  animation: bar-pop 0.6s var(--ease-spring) 0.12s backwards;
}

.js .mobile-contact-bar.is-visible a + a {
  animation-delay: 0.2s;
}

@keyframes bar-pop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.92);
  }
}

/* Touch: cards and buttons give way slightly under the finger. */
a,
button,
summary,
label {
  -webkit-tap-highlight-color: transparent;
}

@media (hover: none) {
  .btn,
  a.card,
  .area-link,
  a.resource,
  .faq-item,
  .mobile-contact-bar a,
  .tier-dots button {
    transition-property: transform, scale, box-shadow, background-color, border-color, color, opacity;
    transition-duration: 0.45s;
    transition-timing-function: var(--ease-spring);
  }

  .btn:active,
  .mobile-contact-bar a:active {
    scale: 0.96;
    transition-duration: 0.1s;
  }

  a.card:active,
  .area-link:active,
  a.resource:active,
  .faq-item:has(summary:active) {
    scale: 0.975;
    transition-duration: 0.12s;
  }
}

/* FAQ: springier toggle and the answer slides into place. */
.faq-item summary::after {
  transition: transform 0.55s var(--ease-spring), background-size 0.3s;
}

.faq-item[open] .faq-answer {
  animation: faq-answer 0.5s var(--ease-out-expo) 0.05s backwards;
}

@keyframes faq-answer {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

/* Featured package: the gradient border slowly travels round the card. */
@property --tier-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 140deg;
}

@supports (background: conic-gradient(from 0deg, red, blue)) {
  .tier--featured::before {
    padding: 2px;
    background: conic-gradient(from var(--tier-angle), var(--m-sky), var(--m-blue) 30%, var(--m-red) 50%, var(--m-blue) 70%, var(--m-sky));
  }

  .tier--featured.is-live::before {
    animation: tier-orbit 7s linear infinite;
  }
}

@keyframes tier-orbit {
  to {
    --tier-angle: 500deg;
  }
}

.tier-badge {
  overflow: hidden;
  isolation: isolate;
}

.tier-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
}

.tier--featured.is-live .tier-badge::after {
  animation: cta-sheen 4s var(--ease) 1s infinite;
}

/* Packages on phones: one card per swipe, the next one peeking in. */
.tiers {
  position: relative;
}

.tier-dots {
  display: none;
}

@media (max-width: 680px) {
  .tiers {
    display: flex;
    gap: 14px;
    max-width: none;
    margin-inline: calc(var(--gutter) * -1);
    padding: 22px var(--gutter) 30px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

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

  .tier {
    flex: 0 0 min(86%, 360px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    --reveal-from: translateY(24px) scale(0.95);
  }

  .tier:hover {
    transform: none;
  }

  .js .tiers .tier:not(.is-active) {
    scale: 0.94;
    opacity: 0.78;
  }

  .js .tiers .tier {
    transition: scale 0.5s var(--ease-out-expo), opacity 0.5s var(--ease-out-expo), box-shadow 0.45s var(--ease);
  }

  .tiers.is-hinting .tier {
    animation: tier-nudge 1.1s var(--ease-out-expo);
  }

  .tier-dots {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: -10px 0 8px;
  }

  .tier-dots button {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }

  .tier-dots button::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(12, 17, 24, 0.2);
    transition: width 0.45s var(--ease-spring), background-color 0.3s;
  }

  .tier-dots button[aria-current="true"]::before {
    width: 26px;
    background: var(--m-blue);
  }
}

@keyframes tier-nudge {
  0%,
  100% {
    translate: 0 0;
  }

  40% {
    translate: -46px 0;
  }

  70% {
    translate: 6px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg::before,
  .tier--featured::before,
  .tier-badge::after,
  .mobile-contact-lead::before {
    animation: none !important;
  }

  .js .reveal:not(.in-view) {
    opacity: 1;
    transform: none;
  }
}
