/* MESH Data Solutions — design system.
   Tokens from brand blueprint; composition tuned for presence, not template clutter. */

/* --- Fonts (self-hosted, latin + latin-ext for š/č/ć/đ/ž) --- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-regular.da03732a27e1.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-regular-ext.0a6ff1a7c1e4.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-semibold.2ede57db1a3a.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-semibold-ext.65aed4e1ef63.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-bold.8ca0a5155296.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-bold-ext.aa4c26661f64.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-medium.b1c8a895f5fd.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-medium-ext.fa8d8838b94a.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --color-primary: #0B1F33;
  --color-primary-soft: #12314F;
  --color-action: #1D64F2;
  --color-action-hover: #1751C9;
  --color-accent: #168C82;
  --color-accent-soft: #E3F2F0;
  --color-bg: #F3F7FA;
  --color-text: #334155;
  --color-text-soft: #5B6B80;
  --color-border: #D8E2EA;
  --color-surface: #FFFFFF;
  --color-error: #B42318;

  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --text-max-width: 68ch;
  --radius: 10px;
  --radius-lg: 16px;
  --container-max: 72rem;

  --shadow-sm: 0 1px 2px rgb(11 31 51 / 0.06);
  --shadow-md: 0 10px 28px -12px rgb(11 31 51 / 0.16);

  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem;
  --s6: 1.5rem; --s8: 2rem; --s12: 3rem; --s16: 4rem; --s24: 6rem;
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-surface);
}
body.nav-open { overflow: hidden; }

h1, h2, h3 {
  color: var(--color-primary);
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.125rem, 4.2vw, 3.375rem); font-weight: 700; margin: 0 0 var(--s5, 1.25rem); }
h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); font-weight: 700; margin: 0 0 var(--s4); }
h3 { font-size: 1.1875rem; font-weight: 600; margin: 0 0 var(--s2); letter-spacing: -0.015em; }

a { color: var(--color-action); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--color-action-hover); }

p { margin: 0 0 var(--s4); }
img, svg { max-width: 100%; height: auto; }
::selection { background: rgba(29, 100, 242, 0.18); }

:focus-visible {
  outline: 3px solid var(--color-action);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: var(--s3) var(--s4);
  z-index: 100;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--s4);
}
@media (min-width: 768px) { .container { padding-inline: var(--s8); } }
.container--narrow { max-width: 48rem; }

.section { padding-block: clamp(3.5rem, 8vw, 5.5rem); }
.section--compact { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section--ice { background: var(--color-bg); }
.section--midnight {
  background:
    radial-gradient(70rem 36rem at 90% -10%, rgba(29, 100, 242, 0.28), transparent 55%),
    radial-gradient(50rem 28rem at 0% 110%, rgba(22, 140, 130, 0.18), transparent 50%),
    var(--color-primary);
}
.section--midnight h2 { color: #fff; }
.section--midnight .section-body { color: #B8CBDE; }

.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--row {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--s8);
}
.section-head--row > div { max-width: 42rem; }
.section-head--row .section-body { margin-bottom: 0; }
.text-link {
  flex: none;
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover { color: var(--color-action); }
.section-body { max-width: var(--text-max-width); color: var(--color-text); }
.muted { color: var(--color-text-soft); font-size: 0.875rem; }
.page-head-meta { color: #93A9BF; }
[id] { scroll-margin-top: 5.5rem; }

.eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.78125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin: 0 0 var(--s3);
}
.eyebrow--on-dark { color: #7FD8CE; }

.lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: var(--color-text);
  max-width: 38em;
}

.js .reveal.is-visible {
  animation: section-rise 0.65s ease both;
}
@keyframes section-rise {
  from { opacity: 0.01; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal.is-visible { animation: none; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  min-height: 48px;
  line-height: 1.3;
  transition: background-color 0.15s ease, border-color 0.15s ease,
    box-shadow 0.15s ease, transform 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--color-action);
  color: #fff;
  box-shadow: 0 1px 2px rgb(11 31 51 / 0.25), 0 8px 20px -10px rgb(29 100 242 / 0.7);
}
.btn-primary:hover {
  background: var(--color-action-hover);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgb(29 100 242 / 0.85);
}
.btn-secondary {
  background: var(--color-surface);
  border-color: var(--color-border);
  color: var(--color-primary);
}
.btn-secondary:hover { border-color: var(--color-action); color: var(--color-action); }
.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn-ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.section--midnight .btn-secondary,
.cta-band .btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn-block { display: flex; width: 100%; }
.btn-arrow::after {
  content: "\2192";
  font-weight: 400;
  transition: transform 0.15s ease;
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* --- Header --- */
.site-header {
  border-bottom: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}
.logo-mark { flex: none; display: block; }
.logo-mark .lm-line { stroke: var(--color-action); opacity: 0.55; }
.logo-mark .lm-node { fill: var(--color-primary); }
.logo-mark .lm-core { fill: var(--color-accent); }
.site-footer .logo-mark .lm-line { stroke: #7FA8F8; }
.site-footer .logo-mark .lm-node { fill: #fff; }
.site-footer .logo-mark .lm-core { fill: #7FD8CE; }
.logo-text {
  font-size: 1.125rem;
  color: var(--color-primary);
  white-space: nowrap;
}
.logo-text strong {
  font-weight: 750;
  letter-spacing: 0.07em;
}
.logo-text span { color: var(--color-text-soft); font-weight: 600; }
.site-footer .logo-text { color: #fff; }
.site-footer .logo-text span { color: #94A9BF; }

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.96875rem;
}
.main-nav a:hover { color: var(--color-action); }
.main-nav .nav-cta a { color: #fff; font-size: 0.9375rem; padding: 0.625rem 1.25rem; min-height: 40px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle-bar {
  width: 24px; height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 767px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    height: calc(100dvh - 68px);
    background: var(--color-surface);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s ease;
    padding: var(--s8) var(--s6);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 16px 32px rgb(11 31 51 / 0.12);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: var(--s6); }
  .main-nav a { font-size: 1.25rem; }
  .main-nav .nav-cta { margin-top: var(--s4); }
  .main-nav .nav-cta a { display: flex; font-size: 1.0625rem; min-height: 48px; }
}

/* --- Hero (full-bleed composition) --- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(46rem, calc(100svh - 68px));
  display: flex;
  align-items: center;
  padding-block: clamp(2.5rem, 7vw, 5rem);
  background: var(--color-primary);
  color: #D7E3EF;
  overflow: hidden;
}
.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 70% 40%, #000 20%, transparent 75%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.hero-glow--a {
  width: 42rem;
  height: 28rem;
  right: -8%;
  top: -18%;
  background: rgba(29, 100, 242, 0.35);
}
.hero-glow--b {
  width: 28rem;
  height: 22rem;
  left: -6%;
  bottom: -20%;
  background: rgba(22, 140, 130, 0.28);
}
.hero-flow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}
.flow-path {
  stroke-dasharray: 8 10;
  animation: flow-drift 28s linear infinite;
}
.flow-path--delay { animation-duration: 36s; animation-direction: reverse; opacity: 0.7; }
.flow-path--slow { animation-duration: 44s; opacity: 0.55; }
.flow-node { animation: node-pulse 3.6s ease-in-out infinite; }
.flow-node--delay { animation-delay: 1.1s; }
.flow-node--slow { animation-delay: 2s; }

@keyframes flow-drift {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -240; }
}
@keyframes node-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: minmax(0, 1.05fr) minmax(24rem, 0.8fr); }
}
.hero-copy { max-width: 42rem; }
.hero h1 {
  color: #fff;
  max-width: 12em;
  margin-bottom: var(--s4);
  font-size: clamp(2.35rem, 4.3vw, 4rem);
  letter-spacing: -0.045em;
}
.hero .lead {
  color: #B8CBDE;
  margin-bottom: 0;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin: var(--s6) 0 var(--s4);
}
.trust-line {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--color-text-soft);
  font-size: 0.9375rem;
  margin: 0;
}
.trust-line::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(22, 140, 130, 0.18);
}
.trust-line--on-dark { color: #93A9BF; }

.audit-preview {
  background: rgba(8, 25, 42, 0.82);
  border: 1px solid rgba(148, 178, 207, 0.24);
  border-radius: 18px;
  box-shadow: 0 26px 70px -28px rgb(0 0 0 / 0.7);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.audit-preview-head,
.score-row,
.finding-row {
  display: flex;
  align-items: center;
}
.audit-preview-head { justify-content: space-between; gap: var(--s4); }
.audit-preview-head h2 {
  color: #fff;
  font-size: 1.25rem;
  margin: 0;
  letter-spacing: -0.02em;
}
.audit-preview-kicker {
  margin: 0 0 0.15rem;
  color: #7FD8CE;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}
.status-pill {
  color: #B8CBDE;
  border: 1px solid rgba(184, 203, 222, 0.25);
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  white-space: nowrap;
}
.score-row {
  gap: var(--s4);
  margin: var(--s6) 0;
  padding: var(--s4) 0;
  border-block: 1px solid rgba(184, 203, 222, 0.14);
}
.score-value {
  color: #fff;
  font-size: 2.35rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}
.score-value span { color: #7890A9; font-size: 0.9rem; letter-spacing: 0; }
.score-row > div:last-child { flex: 1; }
.score-label { margin: 0 0 0.5rem; color: #B8CBDE; font-size: 0.78rem; }
.score-bar { height: 5px; background: rgba(255, 255, 255, 0.1); border-radius: 999px; overflow: hidden; }
.score-bar span { display: block; width: 71%; height: 100%; background: linear-gradient(90deg, #168C82, #7FD8CE); }
.finding-list { display: grid; }
.finding-row {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  gap: 0.7rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid rgba(184, 203, 222, 0.1);
  color: #C7D4E1;
  font-size: 0.78rem;
}
.finding-row strong { color: #fff; font-family: var(--font-mono); font-size: 0.76rem; }
.finding-severity {
  width: fit-content;
  border-radius: 4px;
  padding: 0.12rem 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
}
.finding-severity--high { color: #FFB4A9; background: rgba(180, 35, 24, 0.22); }
.finding-severity--med { color: #FCD59A; background: rgba(194, 65, 12, 0.2); }
.audit-preview-note { color: #8FA5BA; font-size: 0.72rem; line-height: 1.5; margin: var(--s4) 0 0; }

.scope-strip {
  background: #081A2C;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.scope-grid > div {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.scope-grid > div:nth-child(odd) { padding-right: var(--s4); }
.scope-grid > div:nth-child(even) { padding-left: var(--s4); border-left: 1px solid rgba(255, 255, 255, 0.1); }
.scope-grid span,
.scope-grid strong { display: block; }
.scope-grid span {
  color: #6F8BA5;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  margin-bottom: 0.25rem;
}
.scope-grid strong { font-size: 0.84rem; font-weight: 600; }
@media (min-width: 900px) {
  .scope-grid { grid-template-columns: repeat(4, 1fr); }
  .scope-grid > div { padding: 1.25rem var(--s6); border-bottom: 0; border-left: 1px solid rgba(255, 255, 255, 0.1); }
  .scope-grid > div:first-child { padding-left: 0; border-left: 0; }
}

/* --- Problem split --- */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr 0.95fr; }
}
.split-copy .section-body { margin-bottom: 0; }

.symptom-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-border);
}
.symptom-list li {
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-primary);
  font-weight: 500;
  font-size: 1.0625rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: baseline;
}
.symptom-list li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--color-error);
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.12);
  margin-top: 0.4rem;
}

/* --- Deliverables (no cards) --- */
.deliverables {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--color-border);
}
.deliverables > li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s6);
  padding: clamp(1.35rem, 3vw, 1.85rem) 0;
  border-bottom: 1px solid var(--color-border);
}
.deliverable-index {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  padding-top: 0.2rem;
}
.deliverables h3 { margin-bottom: 0.35rem; }
.deliverables p {
  margin: 0;
  color: var(--color-text-soft);
  max-width: 52ch;
  font-size: 0.9843rem;
}

/* --- Steps --- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--s8);
}
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: var(--s6); }
}
.step { position: relative; display: flex; gap: var(--s4); }
@media (min-width: 1024px) {
  .step { flex-direction: column; }
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 1.25rem;
    left: 3.25rem;
    right: -0.75rem;
    border-top: 1px dashed var(--color-border);
  }
}
.step-num {
  position: relative;
  z-index: 1;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9375rem;
}
.step h3 { margin-top: 0; }
.step p { margin-bottom: 0; color: var(--color-text-soft); font-size: 0.9843rem; }

/* --- Offer --- */
.offer-panel {
  display: grid;
  gap: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
@media (min-width: 900px) { .offer-panel { grid-template-columns: 1.2fr 0.8fr; } }
.offer-included { padding: clamp(1.5rem, 3vw, 2.5rem); }
.offer-included h3 { margin-bottom: var(--s5, 1.25rem); }
.offer-included .checklist { margin: 0; }
.offer-included .checklist li:last-child { margin-bottom: 0; }
.compact-deliverables {
  list-style: none;
  margin: var(--s6) 0 0;
  padding: 0;
  display: grid;
}
.compact-deliverables li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s4);
  padding: var(--s4) 0;
  border-top: 1px solid var(--color-border);
}
.compact-deliverables li > span {
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding-top: 0.18rem;
}
.compact-deliverables strong,
.compact-deliverables small { display: block; }
.compact-deliverables strong { color: var(--color-primary); font-size: 0.98rem; }
.compact-deliverables small { color: var(--color-text-soft); font-size: 0.82rem; line-height: 1.45; margin-top: 0.25rem; }
.offer-aside {
  background:
    radial-gradient(24rem 16rem at 100% 0%, rgba(29, 100, 242, 0.28), transparent 60%),
    var(--color-primary);
  color: #B8CBDE;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s3);
}
.offer-aside .price {
  color: #fff;
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
}
.offer-aside p { margin: 0; font-size: 0.9843rem; }
.offer-aside .btn { margin-top: var(--s4); align-self: flex-start; }

.process-line {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: var(--s8) 0 0;
  border-block: 1px solid var(--color-border);
}
.process-line li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: var(--s3);
  padding: var(--s4) 0;
}
.process-line li:nth-child(even) { padding-left: var(--s4); border-left: 1px solid var(--color-border); }
.process-line span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}
.process-line strong,
.process-line small { display: block; }
.process-line strong { color: var(--color-primary); font-size: 0.88rem; }
.process-line small { color: var(--color-text-soft); font-size: 0.72rem; }
@media (min-width: 900px) {
  .process-line { grid-template-columns: repeat(4, 1fr); }
  .process-line li { padding: var(--s6); border-left: 1px solid var(--color-border); }
  .process-line li:first-child { border-left: 0; padding-left: 0; }
}

.price { font-size: 1.75rem; font-weight: 700; color: var(--color-primary); }
.pricing-block .price { font-size: 2.25rem; letter-spacing: -0.02em; }
.boundary-block {
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius);
  padding: var(--s6);
  background: var(--color-surface);
}

/* --- Proof --- */
.proof-block {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 900px) {
  .proof-block { grid-template-columns: 1.35fr 0.85fr; }
}
.proof-links { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.proof-aside { display: grid; }
.proof-photo {
  margin: 0 0 var(--s4);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg);
}
.proof-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 40%;
}
.proof-photo figcaption,
.about-photo figcaption {
  padding: 0.7rem 0.85rem;
  color: var(--color-text-soft);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.45;
}
.proof-principles {
  display: grid;
  border-top: 1px solid var(--color-border);
}
@media (min-width: 680px) {
  .proof-principles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .proof-principles .proof-stat {
    padding-inline: var(--s6);
    border-left: 1px solid var(--color-border);
  }
  .proof-principles .proof-stat:first-child {
    padding-left: 0;
    border-left: 0;
  }
}
@media (min-width: 900px) {
  .proof-principles { grid-column: 1 / -1; }
}
.proof-stat {
  margin: 0;
  padding: var(--s4) 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-soft);
  font-size: 0.9843rem;
  line-height: 1.45;
}
.proof-stat span {
  display: block;
  color: var(--color-primary);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}

/* --- Lists --- */
.checklist { list-style: none; padding: 0; max-width: var(--text-max-width); }
.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: var(--s3);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: var(--color-accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5.5 10.5l3 3 6-7' stroke='%23168C82' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

/* --- Cards (lists / secondary surfaces only) --- */
.card-grid { display: grid; gap: var(--s4); }
.card-grid--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .card-grid { gap: var(--s6); }
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--s6);
}
.card h3 { margin: 0; }
.card--link { text-decoration: none; color: inherit; display: block; }
.card--link:hover { border-color: rgba(29, 100, 242, 0.4); }
.card-title { color: var(--color-primary); }
.card p { margin-bottom: 0; }
.card h3 + p { margin-top: var(--s2); font-size: 0.9375rem; color: var(--color-text-soft); }
.badge {
  display: inline-block;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: var(--s2);
}

.featured-work-grid {
  display: grid;
  gap: var(--s4);
}
@media (min-width: 760px) {
  .featured-work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6); }
}
.work-card {
  position: relative;
  min-height: 19rem;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.work-card::after {
  content: "";
  position: absolute;
  width: 13rem;
  height: 13rem;
  right: -7rem;
  bottom: -7rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 100, 242, 0.12), transparent 68%);
}
.work-card:hover {
  transform: translateY(-3px);
  border-color: rgba(29, 100, 242, 0.38);
  box-shadow: var(--shadow-md);
  color: inherit;
}
.work-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: var(--s4);
}
.work-card-arrow {
  color: var(--color-action);
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}
.work-card:hover .work-card-arrow { transform: translate(2px, -2px); }
.work-card h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  max-width: 18ch;
  margin: var(--s8) 0 var(--s4);
}
.work-card h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  max-width: 18ch;
  margin: var(--s8) 0 var(--s4);
}
.work-card p { max-width: 52ch; color: var(--color-text-soft); }
.work-card-link {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: auto;
  padding-top: var(--s6);
  color: var(--color-action);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.insight-grid {
  display: grid;
  border-top: 1px solid var(--color-border);
}
@media (min-width: 820px) {
  .insight-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.insight-card {
  display: flex;
  flex-direction: column;
  padding: var(--s6) 0;
  border-bottom: 1px solid var(--color-border);
}
@media (min-width: 820px) {
  .insight-card { padding: var(--s6); border-left: 1px solid var(--color-border); }
  .insight-card:first-child { border-left: 0; padding-left: 0; }
}
.insight-cover {
  display: block;
  margin-bottom: var(--s6);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-border);
}
.insight-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.insight-cover:hover img { transform: scale(1.015); }
.insight-meta {
  display: flex;
  justify-content: space-between;
  gap: var(--s4);
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.insight-card h3 { margin: var(--s4) 0 var(--s3); font-size: 1.25rem; }
.insight-card h3 a { color: var(--color-primary); text-decoration: none; }
.insight-card h3 a:hover { color: var(--color-action); }
.insight-card p { color: var(--color-text-soft); font-size: 0.92rem; }

.listing-intro {
  max-width: 54rem;
  padding: 0 0 var(--s8);
  color: var(--color-text-soft);
  font-size: 1.05rem;
}
.insight-listing {
  display: grid;
  border-top: 1px solid var(--color-border);
}
.insight-list-card {
  display: grid;
  gap: var(--s6);
  padding: clamp(1.5rem, 4vw, 2.5rem) 0;
  border-bottom: 1px solid var(--color-border);
}
@media (min-width: 760px) {
  .insight-list-card {
    grid-template-columns: minmax(14rem, 0.85fr) minmax(0, 1.5fr);
    align-items: center;
    column-gap: clamp(2rem, 5vw, 4rem);
  }
}
.insight-list-cover {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-bg);
}
.insight-list-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.insight-list-cover:hover img { transform: scale(1.015); }
.insight-list-content { min-width: 0; }
.insight-list-card h2 { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.85rem); }
.insight-list-card h2 a { color: var(--color-primary); text-decoration: none; }
.insight-list-card h2 a:hover { color: var(--color-action); }
.insight-list-content h2 { margin-top: var(--s4); }
.insight-list-content > p {
  margin: var(--s3) 0 0;
  color: var(--color-text-soft);
  font-size: 0.96rem;
}
.insight-list-content .work-card-link { padding-top: var(--s4); }
.medium-note {
  margin: var(--s8) 0 0;
  color: var(--color-text-soft);
  font-size: 0.92rem;
}
.article-inline-visual {
  margin: var(--s10) 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
}
.article-inline-visual img {
  display: block;
  width: 100%;
  height: auto;
}
.article-inline-visual figcaption,
.service-visual figcaption {
  padding: 0.8rem 1rem;
  color: var(--color-text-soft);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.5;
}
.empty-state {
  grid-column: 1 / -1;
  padding: var(--s12);
  background: var(--color-bg);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
}
.empty-state p { margin: 0; color: var(--color-text-soft); }

/* --- Testimonials --- */
.testimonials { display: grid; gap: var(--s6); }
@media (min-width: 768px) { .testimonials { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  margin: 0;
  border-top: 1px solid var(--color-border);
  padding-top: var(--s6);
}
.review-source {
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.testimonial blockquote {
  margin: 0 0 var(--s3);
  font-size: 1.1875rem;
  color: var(--color-primary);
  line-height: 1.45;
}
.testimonial blockquote p { margin: 0; }
.testimonial figcaption { color: var(--color-text-soft); font-size: 0.9375rem; }
.testimonial-more summary {
  display: grid;
  gap: var(--s3);
  list-style: none;
  cursor: pointer;
}
.testimonial-more summary::-webkit-details-marker { display: none; }
.testimonial-more summary::marker { display: none; }
.testimonial-more[open] .testimonial-excerpt,
.review-toggle--less { display: none; }
.testimonial-more[open] .review-toggle--more { display: none; }
.testimonial-more[open] .review-toggle--less { display: inline-block; }
.review-toggle {
  width: fit-content;
  color: var(--color-action);
  font-size: 0.875rem;
  font-weight: 600;
}
.review-toggle::after {
  content: "\2192";
  display: inline-block;
  margin-left: 0.35rem;
}
.testimonial-more[open] .review-toggle::after { transform: rotate(-90deg); }
.testimonial-full { margin-top: 0; }
.review-verification {
  margin: var(--s8) 0 0;
  padding-top: var(--s4);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-soft);
  font-size: 0.82rem;
}
.review-verification a {
  color: var(--color-text);
  font-weight: 600;
  text-decoration: none;
}
.review-verification a:hover { color: var(--color-action); }

/* --- FAQ --- */
.accordion {
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  margin-bottom: 0;
}
.accordion:first-of-type { border-top: 1px solid var(--color-border); }
.accordion summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s4);
  padding: 1.15rem 0;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "";
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 8l5 5 5-5' stroke='%231D64F2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.2s ease;
}
.accordion[open] summary::after { transform: rotate(180deg); }
.accordion-body { padding: 0 0 1.25rem; max-width: 65ch; }
.accordion-body p { margin-bottom: 0; color: var(--color-text-soft); }

/* --- CTA band / final --- */
.cta-band {
  background:
    radial-gradient(60rem 24rem at 90% -40%, rgba(29, 100, 242, 0.3), transparent 65%),
    var(--color-primary-soft);
}
.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s6);
  padding-block: var(--s12);
}
.cta-band h2 { color: #fff; margin: 0; font-size: clamp(1.375rem, 2.5vw, 1.875rem); max-width: 18em; }
.final-cta .section-body { margin-bottom: var(--s6); color: #B8CBDE; }
.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s12);
}
.final-cta-inner > div { max-width: 42rem; }
.final-cta-inner .btn { flex: none; }

/* --- Footer --- */
.site-footer { background: var(--color-primary); color: #A9BBCD; padding-block: var(--s16) var(--s8); }
.footer-grid { display: grid; gap: var(--s12); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: var(--s8); } }
.footer-tagline { max-width: 28ch; margin-top: var(--s4); color: #94A9BF; }
.footer-heading {
  color: #7C93AB;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 var(--s4);
}
.footer-nav ul { list-style: none; padding: 0; margin: 0 0 var(--s6); }
.footer-nav li { margin-bottom: var(--s3); }
.site-footer a { color: #C6D3E1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: var(--s12);
  padding-top: var(--s6);
  font-size: 0.875rem;
  color: #7C93AB;
}
.footer-legal p { margin-bottom: var(--s2); }
.language-switcher ul { list-style: none; padding: 0; margin: 0; display: flex; gap: var(--s4); }
.language-switcher [aria-current] { color: #fff; font-weight: 600; }

/* --- Prose / page heads --- */
.prose { max-width: var(--text-max-width); }
.prose h2 { margin-top: var(--s8); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose code {
  font-family: var(--font-mono);
  background: var(--color-bg);
  padding: 0.1em 0.3em;
  border-radius: 4px;
}
.prose pre {
  background: var(--color-bg);
  padding: var(--s4);
  border-radius: var(--radius);
  overflow-x: auto;
}
.article-body { font-size: 1.125rem; }
.article-cover-wrap {
  position: relative;
  z-index: 2;
  margin-top: clamp(-2.5rem, -4vw, -1.5rem);
}
.article-cover {
  display: block;
  width: 100%;
  max-height: 36rem;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.article-body > p:first-child {
  color: var(--color-primary);
  font-size: 1.3rem;
  line-height: 1.55;
}
.article-body h2 {
  margin-top: var(--s12);
  padding-top: var(--s8);
  border-top: 1px solid var(--color-border);
}
.article-body blockquote {
  margin: var(--s8) 0;
  padding: var(--s4) var(--s6);
  border-left: 4px solid var(--color-accent);
  background: var(--color-bg);
  color: var(--color-primary);
}
.author-note {
  display: grid;
  margin-top: var(--s12);
  padding: var(--s6);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.author-note strong { color: var(--color-primary); }
.author-note span {
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.author-note p {
  margin: var(--s3) 0 0;
  color: var(--color-text-soft);
  font-size: 0.96rem;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  color: #9EB2C6;
  font-family: var(--font-mono);
  font-size: 0.76rem;
}
.back-link {
  display: inline-block;
  color: #B8CBDE;
  text-decoration: none;
  font-size: 0.88rem;
  margin-bottom: var(--s8);
}
.back-link:hover { color: #fff; }
.page-head .badge {
  color: #C7D4E1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: var(--s4);
}
.article-cta {
  margin-top: var(--s12);
  padding: clamp(1.5rem, 5vw, 2.5rem);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.article-cta h2 { margin-top: 0; padding-top: 0; border-top: 0; }

.page-head {
  position: relative;
  padding-block: clamp(3.5rem, 9vw, 5.5rem);
  background:
    radial-gradient(50rem 24rem at 100% -30%, rgba(29, 100, 242, 0.18), transparent 55%),
    radial-gradient(36rem 20rem at 0% 120%, rgba(22, 140, 130, 0.12), transparent 50%),
    var(--color-primary);
  color: #B8CBDE;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(60% 80% at 80% 0%, #000, transparent 75%);
  mask-image: radial-gradient(60% 80% at 80% 0%, #000, transparent 75%);
  pointer-events: none;
}
.page-head .container { position: relative; }
.page-head h1 { color: #fff; max-width: 16em; }
.page-head .lead { color: #B8CBDE; }
.page-head .btn { margin-top: var(--s2); }

.about-meta {
  display: grid;
  gap: 0;
  margin: var(--s10, 2.5rem) 0;
  border-top: 1px solid var(--color-border);
  max-width: 36rem;
}
.about-layout {
  display: grid;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}
@media (min-width: 900px) {
  .about-layout { grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.8fr); }
}
.about-story > p:first-child {
  color: var(--color-primary);
  font-size: 1.3rem;
  line-height: 1.55;
}
.about-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s8); }
.about-panel {
  padding: clamp(1.5rem, 4vw, 2rem);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.about-side-stack { display: grid; gap: var(--s6); }
.about-photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-bg);
}
.about-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 28%;
}
.about-panel .about-meta { margin: 0; }
.visual-split {
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .visual-split { grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr); }
}
.service-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}
.service-visual img {
  display: block;
  width: 100%;
  height: auto;
}
.principles-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--color-border);
}
@media (min-width: 760px) {
  .principles-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.principles-grid article {
  padding: var(--s6) 0;
  border-bottom: 1px solid var(--color-border);
}
@media (min-width: 760px) {
  .principles-grid article { padding: var(--s6); border-left: 1px solid var(--color-border); }
  .principles-grid article:first-child { padding-left: 0; border-left: 0; }
}
.principles-grid span {
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
.principles-grid h3 { margin: var(--s6) 0 var(--s3); font-size: 1.25rem; }
.principles-grid p { margin: 0; color: var(--color-text-soft); font-size: 0.92rem; }
.about-meta dt {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: 1.25rem;
}
.about-meta dd {
  margin: 0.35rem 0 0;
  color: var(--color-primary);
  font-weight: 600;
}

/* --- Forms --- */
.audit-form fieldset {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  padding: var(--s6);
  margin: 0 0 var(--s6);
}
.audit-form legend {
  font-weight: 700;
  color: var(--color-primary);
  padding-inline: var(--s2);
  font-size: 1.0625rem;
}
.field { margin-bottom: var(--s4); }
.field:last-child { margin-bottom: 0; }
.field label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--s2);
  color: var(--color-primary);
  font-size: 0.9843rem;
}
.field .req { color: var(--color-error); font-weight: 400; font-size: 0.8125rem; }
.field-help { color: var(--color-text-soft); font-size: 0.875rem; margin: 0 0 var(--s2); }
.field input[type="text"],
.field input[type="email"],
.field input[type="url"],
.field textarea,
.field select {
  width: 100%;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font: inherit;
  color: var(--color-text);
  background: var(--color-surface);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #B9C9D6; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--color-action);
  outline: 3px solid rgba(29, 100, 242, 0.25);
  outline-offset: 0;
}
.field--error input, .field--error textarea, .field--error select { border-color: var(--color-error); }
.field-error { color: var(--color-error); font-size: 0.875rem; margin: var(--s2) 0 0; font-weight: 500; }
.field ul { list-style: none; padding: 0; margin: 0; }
.field ul li { margin-bottom: var(--s2); }
.field--checkbox { display: flex; gap: var(--s3); align-items: flex-start; }
.field--checkbox label { font-weight: 400; }
.field input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  accent-color: var(--color-action);
  margin-top: 0.2rem;
}
.char-counter {
  color: var(--color-text-soft);
  font-size: 0.8125rem;
  margin: var(--s2) 0 0;
  font-family: var(--font-mono);
}

.error-summary {
  border: 1.5px solid var(--color-error);
  background: #FEF2F2;
  border-radius: var(--radius);
  padding: var(--s4) var(--s6);
  margin-bottom: var(--s6);
}
.error-summary h2 { color: var(--color-error); font-size: 1.125rem; }

.hp-wrap, .hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notice { border-radius: var(--radius); padding: var(--s4) var(--s6); margin-block: var(--s4); }
.notice--status { background: var(--color-bg); border-left: 4px solid var(--color-accent); }
.notice--warn { background: #FFF7ED; border-left: 4px solid #C2410C; }

.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  background: var(--color-primary);
  color: #fff;
  z-index: 60;
  box-shadow: 0 -8px 24px rgb(11 31 51 / 0.25);
}
.cookie-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding-block: var(--s4);
}
.cookie-banner p { margin: 0; max-width: 60ch; font-size: 0.9375rem; }
.cookie-actions { display: flex; gap: var(--s3); }

@media (max-width: 959px) {
  .hero { min-height: auto; }
  .hero-copy { max-width: 44rem; }
  .audit-preview { max-width: 42rem; }
}

@media (max-width: 700px) {
  .section-head--row,
  .final-cta-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--s6);
  }
  .hero h1 { font-size: clamp(2.25rem, 11vw, 3.35rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .audit-preview { padding: var(--s4); }
  .audit-preview-head { align-items: flex-start; }
  .finding-row { grid-template-columns: 3.5rem 1fr auto; gap: var(--s2); }
  .final-cta-inner .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flow-path, .flow-node { animation: none !important; }
}
