/* CurlSek DPDP - main stylesheet
   Cache-bust: ?v=20260927f - bump when shipping content/CSS changes */

:root {
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6.5rem;

  --container: 1120px;
  --header-h: 4rem;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.35s;

  color-scheme: light dark;
}

/* --- Light theme --- */
[data-theme="light"],
:root:not([data-theme="dark"]) {
  --bg: #f3f5f7;
  --bg-elevated: #ffffff;
  --bg-muted: #e8ecef;
  --bg-inverse: #0c1218;
  --surface: rgba(255, 255, 255, 0.72);
  --border: rgba(12, 18, 24, 0.1);
  --border-strong: rgba(12, 18, 24, 0.18);
  --text: #0c1218;
  --text-muted: #4a5560;
  --text-subtle: #6b7580;
  --accent: #0b7a6e;
  --accent-hover: #09665c;
  --accent-soft: rgba(11, 122, 110, 0.12);
  --accent-glow: rgba(11, 122, 110, 0.22);
  --warn: #b45309;
  --warn-soft: rgba(180, 83, 9, 0.12);
  --danger: #b42318;
  --danger-soft: rgba(180, 35, 24, 0.1);
  --hero-mesh: radial-gradient(ellipse 80% 60% at 70% 10%, rgba(11, 122, 110, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(15, 50, 80, 0.08), transparent 50%),
    linear-gradient(165deg, #f7f9fa 0%, #eef2f4 45%, #e4ebe9 100%);
  --shadow-sm: 0 1px 2px rgba(12, 18, 24, 0.06);
  --shadow-md: 0 8px 28px rgba(12, 18, 24, 0.08);
  --grid-line: rgba(12, 18, 24, 0.045);
  --nav-bg: rgba(243, 245, 247, 0.85);
  --focus-ring: 0 0 0 3px rgba(11, 122, 110, 0.35);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) {
    --bg: #080c10;
    --bg-elevated: #10161d;
    --bg-muted: #161e27;
    --bg-inverse: #eef2f4;
    --surface: rgba(16, 22, 29, 0.78);
    --border: rgba(232, 236, 239, 0.1);
    --border-strong: rgba(232, 236, 239, 0.18);
    --text: #eef2f4;
    --text-muted: #a8b2bc;
    --text-subtle: #7d8894;
    --accent: #2dd4bf;
    --accent-hover: #5eead4;
    --accent-soft: rgba(45, 212, 191, 0.12);
    --accent-glow: rgba(45, 212, 191, 0.2);
    --warn: #fbbf24;
    --warn-soft: rgba(251, 191, 36, 0.12);
    --danger: #f87171;
    --danger-soft: rgba(248, 113, 113, 0.12);
    --hero-mesh: radial-gradient(ellipse 80% 55% at 75% 0%, rgba(45, 212, 191, 0.16), transparent 50%),
      radial-gradient(ellipse 45% 40% at 5% 70%, rgba(30, 80, 120, 0.25), transparent 55%),
      linear-gradient(165deg, #080c10 0%, #0c1218 50%, #0a1416 100%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.45);
    --grid-line: rgba(232, 236, 239, 0.04);
    --nav-bg: rgba(8, 12, 16, 0.82);
    --focus-ring: 0 0 0 3px rgba(45, 212, 191, 0.4);
  }
}

[data-theme="dark"] {
  --bg: #080c10;
  --bg-elevated: #10161d;
  --bg-muted: #161e27;
  --bg-inverse: #eef2f4;
  --surface: rgba(16, 22, 29, 0.78);
  --border: rgba(232, 236, 239, 0.1);
  --border-strong: rgba(232, 236, 239, 0.18);
  --text: #eef2f4;
  --text-muted: #a8b2bc;
  --text-subtle: #7d8894;
  --accent: #2dd4bf;
  --accent-hover: #5eead4;
  --accent-soft: rgba(45, 212, 191, 0.12);
  --accent-glow: rgba(45, 212, 191, 0.2);
  --warn: #fbbf24;
  --warn-soft: rgba(251, 191, 36, 0.12);
  --danger: #f87171;
  --danger-soft: rgba(248, 113, 113, 0.12);
  --hero-mesh: radial-gradient(ellipse 80% 55% at 75% 0%, rgba(45, 212, 191, 0.16), transparent 50%),
    radial-gradient(ellipse 45% 40% at 5% 70%, rgba(30, 80, 120, 0.25), transparent 55%),
    linear-gradient(165deg, #080c10 0%, #0c1218 50%, #0a1416 100%);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.45);
  --grid-line: rgba(232, 236, 239, 0.04);
  --nav-bg: rgba(8, 12, 16, 0.82);
  --focus-ring: 0 0 0 3px rgba(45, 212, 191, 0.4);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, black 20%, transparent 75%);
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color var(--duration) var(--ease);
}

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

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-4);
}

h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

p {
  margin: 0 0 var(--space-4);
  color: var(--text-muted);
}

p:last-child { margin-bottom: 0; }

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

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

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--nav-bg);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: var(--space-4);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.brand:hover { color: var(--text); }

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0;
  background: transparent;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.brand-tag {
  font-size: 0.65rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  color: var(--text);
  cursor: pointer;
  padding: 0;
}

.nav-toggle svg { width: 1.15rem; height: 1.15rem; }

.nav-panel {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: var(--space-4) var(--space-4) var(--space-5);
  box-shadow: var(--shadow-md);
}

.nav-panel.is-open { display: block; }

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nav-list a {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: #041312;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid var(--accent);
  white-space: nowrap;
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: cta-pulse 2.8s var(--ease) infinite;
  transition: background var(--duration) var(--ease), transform 0.2s var(--ease),
    box-shadow var(--duration) var(--ease);
}

[data-theme="light"] .nav-cta,
:root:not([data-theme="dark"]) .nav-cta {
  color: #fff;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .nav-cta { color: #fff; }
}

.nav-cta:hover {
  background: var(--accent-hover);
  color: #041312;
  border-color: var(--accent-hover);
  text-decoration: none;
}

[data-theme="light"] .nav-cta:hover,
:root:not([data-theme="dark"]) .nav-cta:hover {
  color: #fff;
}

.nav-cta:active { transform: translateY(1px); }

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { box-shadow: 0 0 0 6px transparent; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-cta { animation: none; }
}

.theme-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-muted);
}

.theme-btn {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-subtle);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}

.theme-btn svg { width: 0.95rem; height: 0.95rem; }

.theme-btn[aria-pressed="true"] {
  background: var(--bg-elevated);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.theme-btn:hover { color: var(--text); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }

  .nav-panel {
    display: block;
    position: static;
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
  }

  .nav-list a {
    padding: 0.45rem 0.7rem;
    font-size: 0.875rem;
  }

  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .nav-panel { justify-self: center; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease),
    border-color var(--duration) var(--ease), transform 0.2s var(--ease);
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #041312;
  border-color: var(--accent);
}

[data-theme="light"] .btn-primary,
:root:not([data-theme="dark"]) .btn-primary {
  color: #fff;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .btn-primary { color: #fff; }
}

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

[data-theme="light"] .btn-primary:hover,
:root:not([data-theme="dark"]) .btn-primary:hover {
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  background: var(--bg-muted);
  color: var(--text);
  border-color: var(--text-subtle);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: var(--space-8) 0 var(--space-7);
  background: var(--hero-mesh);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--border);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-5);
  font-weight: 500;
}

.hero-kicker::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  animation: pulse-dot 2.4s var(--ease) infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px var(--accent-soft); }
  50% { box-shadow: 0 0 0 8px transparent; }
}

.hero h1 {
  max-width: 16ch;
  margin-bottom: var(--space-5);
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  max-width: 38rem;
  margin-bottom: var(--space-6);
  color: var(--text-muted);
}

.hero-visual {
  margin-top: var(--space-7);
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  overflow: hidden;
  min-height: 200px;
  box-shadow: var(--shadow-md);
  padding: var(--space-5);
}

.hero-visual-canvas {
  width: 100%;
  height: clamp(200px, 38vw, 320px);
  display: block;
}

/* Hero milestone journey */
.hero-journey {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  min-height: clamp(240px, 42vw, 340px);
}

.journey-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.journey-eyebrow strong {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.journey-status {
  font-size: 0.8rem;
  color: var(--text-subtle);
  font-family: var(--font-mono);
}

.journey-track-wrap {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.journey-rail {
  position: absolute;
  left: 1.05rem;
  top: 0.9rem;
  bottom: 0.9rem;
  width: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.journey-rail-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, var(--accent), color-mix(in srgb, var(--accent) 40%, var(--warn)));
  transition: height 0.7s var(--ease);
}

.journey-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
  position: relative;
  z-index: 1;
}

.journey-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4);
  align-items: start;
  opacity: 0.45;
  transform: translateX(-4px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.journey-step.is-done,
.journey-step.is-active {
  opacity: 1;
  transform: none;
}

.journey-node {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  background: var(--bg);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-subtle);
  position: relative;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.journey-step.is-done .journey-node {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.journey-step.is-active .journey-node {
  border-color: var(--accent);
  background: var(--accent);
  color: #041312;
  box-shadow: 0 0 0 6px var(--accent-soft);
}

.journey-body {
  padding-top: 0.15rem;
  min-height: 2.6rem;
}

.journey-date {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 0.2rem;
}

.journey-step.is-active .journey-date { color: var(--accent); }

.journey-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.journey-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s var(--ease), opacity 0.35s var(--ease), margin 0.35s var(--ease);
}

.journey-step.is-active .journey-desc {
  max-height: 4rem;
  opacity: 1;
  margin-top: 0.35rem;
}

.journey-caption {
  margin: 0;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.journey-caption a {
  font-weight: 600;
  text-decoration: none;
}

@media (min-width: 860px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-7);
    align-items: center;
  }

  .hero-visual { margin-top: 0; padding: var(--space-6); }

  .journey-rail {
    left: 0;
    right: 0;
    top: 1.05rem;
    bottom: auto;
    width: auto;
    height: 2px;
  }

  .journey-rail-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(to right, var(--accent), color-mix(in srgb, var(--accent) 40%, var(--warn)));
    transition: width 0.7s var(--ease);
  }

  .journey-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
    padding-top: 0;
  }

  .journey-step {
    grid-template-columns: 1fr;
    text-align: center;
    transform: translateY(6px);
  }

  .journey-step.is-done,
  .journey-step.is-active {
    transform: none;
  }

  .journey-node {
    margin-inline: auto;
  }

  .journey-body {
    padding-top: var(--space-3);
  }

  .journey-desc {
    font-size: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .journey-step,
  .journey-desc,
  .journey-rail-fill,
  .journey-node {
    transition: none;
  }
}

/* --- Sections --- */
.section {
  padding: var(--space-8) 0;
}

.section-alt {
  background: var(--bg-muted);
  border-block: 1px solid var(--border);
}

.section-header {
  max-width: 40rem;
  margin-bottom: var(--space-6);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
  font-weight: 500;
}

.section-header p {
  font-size: 1.05rem;
}

/* --- Flow steps --- */
.flow-rail {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 720px) {
  .flow-rail {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
  }
}

.flow-step {
  position: relative;
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.flow-step:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.flow-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: var(--space-3);
}

.flow-step h3 { margin-bottom: var(--space-2); }
.flow-step p { font-size: 0.95rem; }

.flow-step a {
  display: inline-flex;
  margin-top: var(--space-3);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

/* --- Feature / solution blocks --- */
.split {
  display: grid;
  gap: var(--space-6);
  align-items: start;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-7);
  }

  .split-reverse > :first-child { order: 2; }
}

.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  padding: var(--space-5);
}

.panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.panel-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  align-items: start;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.panel-list li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* --- Cards (interaction containers only) --- */
.solution-grid {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.solution-item {
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.solution-item:hover {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--border));
  box-shadow: var(--shadow-md);
}

.solution-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-4);
}

.solution-icon svg { width: 1.25rem; height: 1.25rem; }

.solution-item h3 { margin-bottom: var(--space-2); }
.solution-item p { font-size: 0.95rem; }

/* --- Timeline --- */
.timeline {
  position: relative;
  display: grid;
  gap: var(--space-5);
  padding-left: var(--space-5);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--border));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--space-5) - 0.2rem);
  top: 1.55rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: var(--space-2);
  font-weight: 500;
}

.timeline-status {
  display: inline-block;
  margin-left: var(--space-2);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  vertical-align: middle;
}

.timeline-status.live {
  background: var(--accent-soft);
  color: var(--accent);
}

.timeline-status.upcoming {
  background: var(--warn-soft);
  color: var(--warn);
}

/* --- Penalty / risk --- */
.penalty-grid {
  display: grid;
  gap: var(--space-4);
}

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

.penalty-item {
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.penalty-amount {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--danger);
  margin-bottom: var(--space-2);
}

.penalty-item h3 { font-size: 1.05rem; margin-bottom: var(--space-2); }
.penalty-item p { font-size: 0.92rem; }

.callout {
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--warn);
  background: var(--warn-soft);
  margin-top: var(--space-5);
}

.callout p { color: var(--text); margin: 0; font-size: 0.98rem; }

/* --- Stats strip --- */
.stat-row {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

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

.stat {
  padding: var(--space-4) 0;
  border-top: 1px solid var(--border);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-subtle);
  margin-top: var(--space-1);
}

/* --- FAQ --- */
.faq-list {
  display: grid;
  gap: var(--space-3);
  max-width: 44rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  overflow: hidden;
}

.faq-item summary {
  padding: var(--space-4) var(--space-5);
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 0.98rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  align-items: center;
}

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

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 1.2rem;
  line-height: 1;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item .faq-body {
  padding: 0 var(--space-5) var(--space-4);
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-7);
  }
}

.contact-channels {
  display: grid;
  gap: var(--space-4);
}

.contact-channel {
  display: block;
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--duration) var(--ease);
}

.contact-channel:hover {
  border-color: var(--accent);
  color: inherit;
}

.contact-channel-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: var(--space-2);
}

.contact-channel-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text);
}

.contact-form {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
}

.form-field {
  display: grid;
  gap: var(--space-2);
}

.form-field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
}

.form-field textarea { min-height: 8rem; resize: vertical; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--focus-ring);
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.form-success {
  display: none;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 500;
}

.form-success.is-visible { display: block; }

/* --- CTA band --- */
.cta-band {
  padding: var(--space-8) 0;
  background: var(--bg-inverse);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 90% 50%, rgba(45, 212, 191, 0.2), transparent 60%);
  pointer-events: none;
}

.cta-band .container { position: relative; }

.cta-band h2 { color: inherit; max-width: 18ch; }

.cta-band p {
  color: color-mix(in srgb, var(--bg) 72%, transparent);
  max-width: 36rem;
  margin-bottom: var(--space-5);
}

.cta-band .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #041312;
}

.cta-band .btn-ghost {
  color: var(--bg);
  border-color: color-mix(in srgb, var(--bg) 35%, transparent);
}

.cta-band .btn-ghost:hover {
  background: color-mix(in srgb, var(--bg) 10%, transparent);
  color: var(--bg);
}

/* --- Page intro (inner pages) --- */
.page-intro {
  padding: var(--space-7) 0 var(--space-6);
  background: var(--hero-mesh);
  border-bottom: 1px solid var(--border);
}

.page-intro h1 { max-width: 18ch; }
.page-intro .hero-lead { margin-bottom: 0; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-subtle);
  margin-bottom: var(--space-4);
}

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

.breadcrumb a:hover { color: var(--accent); }

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

/* --- Prose --- */
.prose {
  max-width: 42rem;
}

.prose h2 { margin-top: var(--space-7); }
.prose h3 { margin-top: var(--space-5); }

.prose ul,
.prose ol {
  color: var(--text-muted);
  padding-left: 1.25rem;
  margin: 0 0 var(--space-4);
}

.prose li { margin-bottom: var(--space-2); }

.table-wrap {
  overflow-x: auto;
  margin: var(--space-5) 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--bg-elevated);
}

th, td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-subtle);
  background: var(--bg-muted);
}

tr:last-child td { border-bottom: 0; }

/* --- Footer --- */
.site-footer {
  padding: var(--space-7) 0 var(--space-5);
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.footer-grid {
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 28rem;
}

.footer-col h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  margin-bottom: var(--space-3);
  font-family: var(--font-mono);
  font-weight: 500;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: 0.8rem;
  color: var(--text-subtle);
}

@media (min-width: 700px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

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

.footer-legal a:hover { color: var(--accent); }

/* --- Motion --- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }

  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  .flow-step:nth-child(1) { transition-delay: 0.05s; }
  .flow-step:nth-child(2) { transition-delay: 0.12s; }
  .flow-step:nth-child(3) { transition-delay: 0.18s; }
  .flow-step:nth-child(4) { transition-delay: 0.24s; }
}

/* --- Skip link --- */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100%;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: #041312;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
}

.skip-link:focus {
  top: var(--space-3);
}

/* --- Need assessor quiz --- */
.quiz-shell {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.quiz-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border);
  background: var(--bg-muted);
}

.quiz-progress-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-subtle);
  white-space: nowrap;
}

.quiz-progress-track {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: inherit;
  transition: width 0.4s var(--ease);
}

.quiz-body {
  padding: var(--space-5);
}

@media (min-width: 720px) {
  .quiz-body { padding: var(--space-6); }
}

.quiz-step[hidden] { display: none !important; }

.quiz-question {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-3);
  color: var(--text);
}

.quiz-hint {
  font-size: 0.92rem;
  color: var(--text-subtle);
  margin: 0 0 var(--space-5);
}

.quiz-options {
  display: grid;
  gap: var(--space-3);
}

.quiz-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  align-items: start;
  padding: var(--space-4);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--bg);
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: var(--text);
  transition: border-color var(--duration) var(--ease), background var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

.quiz-option:hover {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
}

.quiz-option.is-selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.quiz-option-mark {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  border-radius: 50%;
  border: 2px solid var(--text-subtle);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.quiz-option.is-selected .quiz-option-mark {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: inset 0 0 0 3px var(--bg-elevated);
}

.quiz-option-title {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.quiz-option-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.quiz-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
}

.quiz-nav .btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.quiz-results[hidden] { display: none !important; }

.quiz-score-hero {
  display: grid;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}

@media (min-width: 720px) {
  .quiz-score-hero {
    grid-template-columns: auto 1fr;
    align-items: center;
  }
}

.quiz-gauge {
  width: min(100%, 160px);
  aspect-ratio: 1;
  margin-inline: auto;
  position: relative;
}

.quiz-gauge svg { width: 100%; height: 100%; }

.quiz-gauge-value {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  pointer-events: none;
}

.quiz-gauge-value strong {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.quiz-gauge-value span {
  font-size: 0.75rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
}

.quiz-tier {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  margin-bottom: var(--space-3);
}

.quiz-tier.foundational { background: var(--accent-soft); color: var(--accent); }
.quiz-tier.structured { background: var(--warn-soft); color: var(--warn); }
.quiz-tier.advanced { background: var(--danger-soft); color: var(--danger); }

.quiz-priority-list {
  list-style: none;
  margin: 0 0 var(--space-5);
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.quiz-priority-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
}

.quiz-priority-rank {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  min-width: 1.5rem;
}

.quiz-bars {
  display: grid;
  gap: var(--space-4);
  margin: var(--space-5) 0;
}

.quiz-bar-row label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--text);
}

.quiz-bar-row label span:last-child {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--text-subtle);
}

.quiz-bar-track {
  height: 8px;
  border-radius: 999px;
  background: var(--bg-muted);
  overflow: hidden;
}

.quiz-bar-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--accent);
  transition: width 0.8s var(--ease);
}

.quiz-bar-fill.warn { background: var(--warn); }
.quiz-bar-fill.danger { background: var(--danger); }

.quiz-rec-grid {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-5) 0;
}

@media (min-width: 600px) {
  .quiz-rec-grid { grid-template-columns: repeat(2, 1fr); }
}

.quiz-rec {
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--duration) var(--ease);
}

.quiz-rec:hover {
  border-color: var(--accent);
  color: inherit;
}

.quiz-rec h4 {
  font-size: 0.98rem;
  margin-bottom: var(--space-2);
  color: var(--text);
}

.quiz-rec p {
  font-size: 0.88rem;
  margin: 0;
}

.related-links {
  display: grid;
  gap: var(--space-3);
}

@media (min-width: 640px) {
  .related-links { grid-template-columns: repeat(2, 1fr); }
}

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

.related-link {
  display: block;
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--duration) var(--ease);
}

.related-link:hover {
  border-color: var(--accent);
  color: inherit;
}

.related-link strong {
  display: block;
  font-family: var(--font-display);
  color: var(--text);
  margin-bottom: 0.35rem;
}

.related-link span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.seo-toc {
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  margin-bottom: var(--space-6);
}

.seo-toc h2 {
  font-size: 1rem;
  margin-bottom: var(--space-3);
}

.seo-toc ol {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.seo-toc li { margin-bottom: 0.4rem; }

.seo-toc a {
  text-decoration: none;
  font-weight: 500;
}

/* --- Print --- */
@media print {
  .site-header,
  .theme-switch,
  .nav-toggle,
  .cta-band,
  .quiz-shell { display: none !important; }

  body { background: white; color: black; }
  a { color: black; }
}


/* --- Cookie consent banner --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  padding: var(--space-4);
  pointer-events: none;
}

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

.cookie-banner-inner {
  pointer-events: auto;
  width: min(100%, 920px);
  margin: 0 auto;
  padding: var(--space-5);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 720px) {
  .cookie-banner-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.cookie-banner-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 var(--space-2);
  color: var(--text);
}

.cookie-banner-text {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: flex-start;
}

@media (min-width: 720px) {
  .cookie-banner-actions { justify-content: flex-end; }
}

.cookie-banner-actions .btn {
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
}

/* --- Contact modal (Get compliant CTA) --- */
body.modal-open {
  overflow: hidden;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: grid;
  place-items: end center;
  padding: var(--space-4);
}

@media (min-width: 640px) {
  .contact-modal {
    place-items: center;
    padding: var(--space-6);
  }
}

.contact-modal[hidden] {
  display: none !important;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 16, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 0;
  cursor: pointer;
}

.contact-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  max-height: min(92vh, 760px);
  overflow: auto;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-md);
  padding: var(--space-5);
}

.contact-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.contact-modal-header h2 {
  font-size: 1.25rem;
  margin: 0 0 var(--space-2);
}

.contact-modal-close {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.contact-modal-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-form-modal {
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.site-disclaimer {
  font-size: 0.78rem;
  color: var(--text-subtle);
  max-width: 48rem;
  line-height: 1.5;
}

.legal-callout {
  padding: var(--space-5);
  border: 1px solid var(--warn);
  border-radius: var(--radius-lg);
  background: var(--warn-soft);
  margin-bottom: var(--space-6);
}

.legal-callout h2 {
  font-size: 1.1rem;
  margin-bottom: var(--space-3);
  color: var(--text);
}

.legal-callout p { color: var(--text); margin-bottom: var(--space-3); }
.legal-callout p:last-child { margin-bottom: 0; }

/* --- DPDP Compliance Kit (commercial funnel) --- */
.kit-cta {
  margin: var(--space-7) 0 0;
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  max-width: 42rem;
}

.kit-cta-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin: 0 0 var(--space-2);
}

.kit-cta h2,
.kit-cta .kit-cta-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 var(--space-3);
}

.kit-cta p {
  margin: 0 0 var(--space-4);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.kit-cta p:last-of-type { margin-bottom: var(--space-4); }

.kit-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.kit-cta .btn {
  padding: 0.65rem 1.1rem;
  font-size: 0.875rem;
}

.kit-section {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--border);
}

.kit-section .section-header {
  max-width: 40rem;
}

.kit-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .kit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .kit-grid > :nth-child(4),
  .kit-grid > :nth-child(5) {
    grid-column: span 1;
  }
}

.kit-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s var(--ease), transform 0.25s var(--ease),
    box-shadow 0.3s var(--ease);
}

a.kit-card:hover,
a.kit-card:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: inherit;
  text-decoration: none;
}

.kit-card-type {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin: 0 0 var(--space-3);
  font-weight: 500;
}

.kit-card h3 {
  font-size: 1.05rem;
  margin: 0 0 var(--space-3);
  color: var(--text);
}

.kit-card p {
  flex: 1;
  margin: 0 0 var(--space-4);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.kit-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

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

.kit-footnote {
  margin-top: var(--space-5);
  font-size: 0.85rem;
  color: var(--text-subtle);
  max-width: 40rem;
}

@media (prefers-reduced-motion: reduce) {
  a.kit-card {
    transition: none;
  }

  a.kit-card:hover,
  a.kit-card:focus-visible {
    transform: none;
  }
}

/* --- Solutions page: content + sticky enquire --- */
.sol-layout {
  display: grid;
  gap: var(--space-7);
  align-items: start;
}

.sol-content {
  min-width: 0;
}

.sol-content .solution-item .kit-card-type {
  margin-bottom: var(--space-2);
}

.sol-content .solution-item .solution-icon {
  margin-bottom: var(--space-3);
}

.sol-enquire {
  min-width: 0;
}

.sol-enquire .contact-form {
  box-shadow: var(--shadow-sm);
}

.sol-enquire .form-field textarea {
  min-height: 5.5rem;
}

.sol-enquire .btn-primary {
  width: 100%;
  justify-content: center;
}

@media (min-width: 960px) {
  .sol-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
    gap: var(--space-6);
  }

  .sol-content .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sol-content .flow-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .sol-enquire {
    position: sticky;
    top: calc(var(--header-h) + var(--space-5));
  }
}

@media (max-width: 959px) {
  .sol-enquire {
    order: -1;
  }
}

.page-solutions .page-intro h1 {
  max-width: 22ch;
}



