/* ==========================================================================
   Rulebotic Inc. — Website styles
   Brand tokens are documented in /brand/brand-guidelines.html
   ========================================================================== */

:root {
  /* Brand colours */
  --navy-950: #06101f;
  --navy-900: #0b1d35;
  --navy-800: #11284a;
  --navy-700: #1a365f;
  --blue-400: #6b9bff;
  --blue-500: #3b7bff;
  --blue-600: #2459e0;
  --blue-700: #1b45b8;
  --teal-300: #6be6d1;
  --teal-400: #17d1b3;
  --teal-600: #0b8f7b;
  --gradient: linear-gradient(135deg, #3b7bff 0%, #17d1b3 100%);

  /* Neutrals */
  --ink: #0b1d35;
  --text: #3a4a63;
  --muted: #5e6e87;
  --line: #e2e8f1;
  --line-strong: #cfd8e5;
  --surface: #ffffff;
  --surface-2: #f5f8fc;
  --surface-3: #eef3fa;

  /* Feedback */
  --success: #0b8f5a;
  --success-bg: #e8f7f0;
  --danger: #c2333d;
  --danger-bg: #fdecee;

  /* Type */
  --font-display: 'Sora', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 72px;

  --shadow-sm: 0 1px 2px rgba(11, 29, 53, 0.06), 0 1px 1px rgba(11, 29, 53, 0.04);
  --shadow-md: 0 8px 24px -8px rgba(11, 29, 53, 0.14), 0 2px 6px rgba(11, 29, 53, 0.05);
  --shadow-lg: 0 30px 60px -20px rgba(6, 16, 31, 0.45), 0 10px 24px -12px rgba(6, 16, 31, 0.3);
}

/* ---------- Reset & base ---------- */

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--blue-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

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

h1 {
  font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: #fff;
  color: var(--ink);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(64px, 8vw, 112px);
}

.section--soft {
  background: var(--surface-2);
}

.section--tight {
  padding-block: clamp(48px, 6vw, 72px);
}

.section--dark {
  position: relative;
  background:
    radial-gradient(900px 480px at 0% 0%, rgba(59, 123, 255, 0.22), transparent 60%),
    radial-gradient(700px 420px at 100% 100%, rgba(23, 209, 179, 0.16), transparent 60%),
    var(--navy-900);
  color: #c9d5e8;
  overflow: hidden;
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

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

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

.section-head p {
  font-size: 1.125rem;
  color: var(--muted);
}

.section--dark .section-head p {
  color: #a9b8cf;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
}

.section--dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--teal-300);
}

.lead {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.65;
}

.grad-text {
  background: linear-gradient(100deg, #6b9bff 0%, #17d1b3 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.split--top {
  align-items: start;
}

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--blue-600);
  --btn-fg: #fff;
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 0.9875rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-1px);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary:hover {
  --btn-bg: var(--blue-700);
  box-shadow: 0 10px 24px -10px rgba(36, 89, 224, 0.7);
}

.btn--gradient {
  --btn-bg: var(--gradient);
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 12px 28px -12px rgba(59, 123, 255, 0.8);
}

.btn--gradient:hover {
  box-shadow: 0 16px 34px -12px rgba(23, 209, 179, 0.7);
}

.btn--ghost-light {
  --btn-bg: rgba(255, 255, 255, 0.04);
  --btn-fg: #fff;
  --btn-border: rgba(255, 255, 255, 0.24);
}

.btn--ghost-light:hover {
  --btn-bg: rgba(255, 255, 255, 0.1);
  --btn-border: rgba(255, 255, 255, 0.4);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-border: var(--line-strong);
}

.btn--outline:hover {
  --btn-border: var(--ink);
  --btn-fg: var(--ink);
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--navy-900);
}

.btn--light:hover {
  --btn-bg: #e9f0fb;
  --btn-fg: var(--navy-900);
}

.btn--sm {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 0.9rem;
}

.btn[disabled],
.btn[aria-disabled='true'] {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  color: var(--blue-600);
}

.text-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

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

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 16, 31, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(6, 16, 31, 0.95);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.6);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

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

.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a:not(.btn) {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 8px;
  color: #c9d5e8;
  font-weight: 500;
  font-size: 0.9625rem;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-nav a:not(.btn):hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.site-nav a[aria-current='page']:not(.btn) {
  color: #fff;
  box-shadow: inset 0 -2px 0 var(--teal-400);
  border-radius: 8px 8px 0 0;
}

.site-nav .nav-cta {
  margin-left: 10px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bars {
  position: relative;
  width: 20px;
  height: 14px;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6px; }
.nav-toggle-bars span:nth-child(3) { top: 12px; }

.nav-toggle[aria-expanded='true'] .nav-toggle-bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */

.hero,
.page-hero {
  position: relative;
  color: #c9d5e8;
  background:
    radial-gradient(1100px 600px at 8% -10%, rgba(59, 123, 255, 0.34), transparent 62%),
    radial-gradient(900px 520px at 105% 105%, rgba(23, 209, 179, 0.22), transparent 60%),
    var(--navy-950);
  overflow: hidden;
  isolation: isolate;
}

.hero::before,
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  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(ellipse 80% 70% at 50% 0%, #000 35%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 35%, transparent 80%);
}

.hero h1,
.page-hero h1 {
  color: #fff;
}

.hero {
  padding-block: clamp(64px, 9vw, 120px) clamp(120px, 12vw, 168px);
}

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

.hero .lead {
  color: #b7c5da;
  max-width: 600px;
  margin-bottom: 32px;
}

.hero-proof {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 32px;
  font-size: 0.9375rem;
  color: #a9b8cf;
}

.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-proof svg {
  width: 18px;
  height: 18px;
  color: var(--teal-400);
}

.page-hero {
  padding-block: clamp(56px, 7vw, 96px) clamp(56px, 7vw, 88px);
}

.page-hero .lead {
  color: #b7c5da;
  max-width: 720px;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.5rem);
  max-width: 900px;
}

.chip-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  list-style: none;
}

.chip-nav a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #dbe5f3;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.chip-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* Hero product visual (illustrative) */

.hero-visual {
  position: relative;
  min-height: 440px;
}

.hv-card {
  position: absolute;
  background: rgba(17, 40, 74, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #dbe5f3;
}

.hv-case {
  top: 0;
  left: 0;
  right: 72px;
  padding: 22px;
}

.hv-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8125rem;
  color: #a9b8cf;
  margin-bottom: 4px;
}

.hv-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 18px;
}

.hv-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(59, 123, 255, 0.16);
  color: #a9c4ff;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.hv-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.hv-stages {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 18px;
}

.hv-stages li {
  position: relative;
  padding-top: 14px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #7f91ad;
}

.hv-stages li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.hv-stages li.is-done {
  color: #dbe5f3;
}

.hv-stages li.is-done::before {
  background: var(--teal-400);
}

.hv-stages li.is-active {
  color: #fff;
}

.hv-stages li.is-active::before {
  background: linear-gradient(90deg, var(--blue-500) 60%, rgba(255, 255, 255, 0.1) 60%);
}

.hv-rule {
  border-radius: 12px;
  background: rgba(6, 16, 31, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.8;
  color: #a9b8cf;
}

.hv-rule-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7f91ad;
  margin-bottom: 6px;
}

.hv-rule .kw { color: #a9c4ff; }
.hv-rule .var { color: #fff; }
.hv-rule .ok { color: var(--teal-300); }
.hv-rule .alt { color: #ffcf8a; }

.hv-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 16px;
  font-size: 0.78rem;
  color: #a9b8cf;
}

.hv-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hv-meta svg {
  width: 14px;
  height: 14px;
  color: var(--teal-400);
}

.hv-phone {
  right: 0;
  bottom: -72px;
  width: 200px;
  padding: 10px;
  border-radius: 30px;
  background: rgba(6, 16, 31, 0.92);
  border-color: rgba(255, 255, 255, 0.14);
}

.hv-screen {
  border-radius: 22px;
  background: linear-gradient(180deg, #13305a 0%, #0c2140 100%);
  padding: 14px 14px 16px;
  min-height: 300px;
}

.hv-notch {
  width: 64px;
  height: 6px;
  border-radius: 6px;
  margin: 0 auto 16px;
  background: rgba(255, 255, 255, 0.16);
}

.hv-app-label {
  font-size: 0.7rem;
  color: #7f91ad;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.hv-app-title {
  font-family: var(--font-display);
  color: #fff;
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 14px;
}

.hv-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(23, 209, 179, 0.12);
  border: 1px solid rgba(23, 209, 179, 0.28);
  margin-bottom: 12px;
}

.hv-status-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--teal-400);
  color: var(--navy-950);
}

.hv-status-icon svg {
  width: 16px;
  height: 16px;
}

.hv-status strong {
  display: block;
  color: #fff;
  font-size: 0.85rem;
}

.hv-status span {
  font-size: 0.72rem;
  color: #a9b8cf;
}

.hv-line {
  height: 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 8px;
}

.hv-line.w-80 { width: 80%; }
.hv-line.w-60 { width: 60%; }
.hv-line.w-70 { width: 70%; }

.hv-app-btn {
  margin-top: 16px;
  padding: 10px;
  border-radius: 12px;
  background: var(--gradient);
  text-align: center;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}

.hv-chip {
  position: absolute;
  left: -18px;
  bottom: 36px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
}

.hv-chip-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--gradient);
  color: #fff;
}

.hv-chip-icon svg {
  width: 16px;
  height: 16px;
}

.hv-chip small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.74rem;
}

/* ---------- Stats strip ---------- */

.stats {
  position: relative;
  z-index: 2;
  margin-top: calc(clamp(64px, 8vw, 96px) * -1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.stat {
  padding: 28px 28px 26px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 0.95rem + 0.5vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}

.stat-value::after {
  content: '';
  display: block;
  width: 28px;
  height: 3px;
  margin-top: 12px;
  border-radius: 3px;
  background: var(--gradient);
}

.stat p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- Cards ---------- */

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

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

.card > :last-child {
  margin-bottom: 0;
}

.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.card--feature {
  padding: 36px;
}

.card--feature::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.card--feature:hover::before {
  opacity: 1;
}

.card .text-link {
  margin-top: auto;
  padding-top: 12px;
}

.card--dark {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.card--dark p {
  color: #a9b8cf;
}

.icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(59, 123, 255, 0.12), rgba(23, 209, 179, 0.12));
  color: var(--blue-600);
  flex: none;
}

.icon svg {
  width: 26px;
  height: 26px;
}

.icon--sm {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.icon--sm svg {
  width: 22px;
  height: 22px;
}

.icon--solid {
  background: var(--gradient);
  color: #fff;
}

.section--dark .icon,
.card--dark .icon {
  background: rgba(255, 255, 255, 0.06);
  color: var(--teal-300);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.mini-feature {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.mini-feature:hover {
  background: #fff;
  border-color: var(--line);
}

.mini-feature h3 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
}

.mini-feature p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* ---------- Lists ---------- */

.check-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  line-height: 1.55;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(23, 209, 179, 0.14)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b8f7b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}

.section--dark .check-list li {
  color: #dbe5f3;
}

.section--dark .check-list li::before {
  background-color: rgba(23, 209, 179, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317d1b3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
}

.check-list--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
}

.pill-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-list li {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}

/* ---------- Industries ---------- */

.industry-card {
  overflow: hidden;
}

.industry-card .tag-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 20px;
}

.industry-card .tag-row li {
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--surface-3);
  color: var(--navy-700);
}

/* ---------- Steps ---------- */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px 24px 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  background: var(--navy-900);
  position: relative;
}

.step-num::after {
  content: '';
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal-400);
  border: 3px solid #fff;
}

.step h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9375rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- Delivery model ---------- */

.delivery-map {
  position: relative;
  display: grid;
  gap: 18px;
}

.hub {
  position: relative;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hub-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.hub-head .icon {
  margin: 0;
  width: 44px;
  height: 44px;
}

.hub-head .icon svg {
  width: 22px;
  height: 22px;
}

.hub-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-300);
}

.hub h3 {
  margin: 0;
  font-size: 1.125rem;
}

.hub p {
  margin: 0;
  font-size: 0.9375rem;
  color: #a9b8cf;
}

.hub-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a9b8cf;
}

.hub-link::before,
.hub-link::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(23, 209, 179, 0.6), transparent);
}

.hub--outcome {
  background: linear-gradient(135deg, rgba(59, 123, 255, 0.18), rgba(23, 209, 179, 0.14));
  border-color: rgba(107, 155, 255, 0.35);
}

/* ---------- Services detail ---------- */

.service-block {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.service-block + .service-block {
  margin-top: clamp(64px, 8vw, 104px);
  padding-top: clamp(64px, 8vw, 104px);
  border-top: 1px solid var(--line);
}

.service-block .split > div:first-child p {
  font-size: 1.0625rem;
}

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

.capability-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.capability-card h3 {
  font-size: 0.8125rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.outcomes {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.outcomes h3 {
  font-size: 0.8125rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.engagement-card .best-for {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
}

.engagement-card .best-for strong {
  color: var(--ink);
}

/* ---------- Company ---------- */

.facts {
  list-style: none;
  display: grid;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.facts li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}

.facts li:last-child {
  border-bottom: 0;
}

.facts dt,
.facts .k {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 2px;
}

.facts .v {
  color: var(--ink);
  font-weight: 500;
}

.facts-head {
  padding: 22px 24px;
  background: var(--navy-900);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 14px;
}

.facts-head img {
  width: 40px;
  height: 40px;
}

.facts-head strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.0625rem;
}

.facts-head span {
  font-size: 0.875rem;
  color: #a9b8cf;
}

.mission-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
}

.mission-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1rem + 0.6vw, 1.45rem);
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  border-radius: 28px;
  padding: clamp(40px, 6vw, 72px);
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(59, 123, 255, 0.4), transparent 60%),
    radial-gradient(600px 300px at 100% 100%, rgba(23, 209, 179, 0.3), transparent 60%),
    var(--navy-900);
  color: #c9d5e8;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 12px;
}

.cta-band p {
  margin: 0;
  max-width: 620px;
  color: #b7c5da;
  font-size: 1.0625rem;
}

/* ---------- Enquiry section (home) ---------- */

.enquiry {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.enquiry-copy .check-list {
  margin-top: 28px;
}

/* ---------- Forms ---------- */

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-md);
}

.form-card h2,
.form-card h3 {
  margin-bottom: 6px;
}

.form-card .form-intro {
  color: var(--muted);
  margin-bottom: 28px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

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

.field label,
.field .label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.field .req {
  color: var(--blue-600);
}

.field .optional {
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 48px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.55;
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: #8d9bb1;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #b4c1d4;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(59, 123, 255, 0.16);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--danger);
}

.field.has-error input:focus,
.field.has-error textarea:focus {
  box-shadow: 0 0 0 4px rgba(194, 51, 61, 0.14);
}

.field-error {
  margin: 0;
  font-size: 0.85rem;
  color: var(--danger);
}

.field-hint {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.checkbox {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.checkbox input {
  flex: none;
  width: 20px;
  height: 20px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
  border-radius: 5px;
  accent-color: var(--blue-600);
  -webkit-appearance: checkbox;
  appearance: auto;
}

.checkbox label {
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}

.checkbox-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Honeypot: hidden from people, visible to naive bots */
.hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.captcha-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rb-captcha {
  min-height: 65px;
  display: flex;
  align-items: center;
}

.rb-captcha[data-state='loading']::before {
  content: 'Loading security check…';
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 304px;
  min-height: 65px;
  padding: 0 16px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--muted);
  background: var(--surface-2);
}

.rb-captcha[data-state='error']::before {
  content: attr(data-message);
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 65px;
  padding: 10px 16px;
  border: 1px solid #f2c4c8;
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--danger);
  background: var(--danger-bg);
}

.captcha-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.captcha-note svg {
  width: 15px;
  height: 15px;
  color: var(--teal-600);
  flex: none;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.form-status {
  margin: 0;
  font-size: 0.925rem;
}

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

.form-status.is-error {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--danger-bg);
  color: var(--danger);
}

.btn .spinner {
  display: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}

.btn.is-loading .spinner {
  display: inline-block;
}

.btn.is-loading .btn-arrow {
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-success {
  text-align: center;
  padding: clamp(24px, 4vw, 40px) 8px;
}

.form-success .success-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
}

.form-success .success-icon svg {
  width: 30px;
  height: 30px;
}

.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.form-success p {
  color: var(--muted);
  max-width: 420px;
  margin: 0 auto 24px;
}

.form-noscript {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff7e6;
  color: #7a4b00;
  font-size: 0.9rem;
}

.form-legal {
  margin: 18px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- Contact page ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.contact-aside {
  display: grid;
  gap: 24px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.aside-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.aside-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 16px;
}

.aside-card--dark {
  background: var(--navy-900);
  border-color: var(--navy-800);
  color: #b7c5da;
}

.aside-card--dark h3 {
  color: #fff;
}

.aside-card--dark p {
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.next-steps {
  list-style: none;
  display: grid;
  gap: 18px;
  counter-reset: next;
}

.next-steps li {
  position: relative;
  padding-left: 44px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.next-steps li::before {
  counter-increment: next;
  content: counter(next);
  position: absolute;
  left: 0;
  top: -2px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--navy-900);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
}

.next-steps strong {
  display: block;
  color: var(--ink);
}

.info-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.info-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
}

.info-list svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--blue-600);
}

.info-list strong {
  display: block;
  color: var(--ink);
}

/* ---------- Prose (privacy) ---------- */

.prose {
  max-width: 780px;
}

.prose h2 {
  font-size: 1.5rem;
  margin-top: 2.2em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul {
  padding-left: 1.3em;
  margin-bottom: 1em;
}

.prose li {
  margin-bottom: 0.4em;
}

.prose .updated {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-950);
  color: #a9b8cf;
  padding-top: clamp(56px, 7vw, 88px);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.4fr);
  gap: 40px;
  padding-bottom: 56px;
}

.footer-brand img {
  height: 36px;
  width: auto;
  margin-bottom: 20px;
}

.footer-brand p {
  max-width: 340px;
}

.footer-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dbe5f3;
  font-weight: 500;
}

.footer-location svg {
  width: 18px;
  height: 18px;
  color: var(--teal-400);
}

.footer-col h2 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: #a9b8cf;
  text-decoration: none;
}

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

.footer-cta p {
  margin-bottom: 18px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-block: 24px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  color: #7f91ad;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: #a9b8cf;
}

.footer-legal {
  max-width: 640px;
}

/* ---------- 404 ---------- */

.not-found {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.not-found .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
}

/* ---------- Motion ---------- */

.reveal-pending {
  opacity: 0;
  transform: translateY(18px);
}

.reveal-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

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

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

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

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

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

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

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--navy-950);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px var(--gutter) 24px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    display: none;
    box-shadow: 0 30px 40px -20px rgba(0, 0, 0, 0.6);
  }

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

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .site-nav a:not(.btn) {
    display: block;
    padding: 14px 12px;
    font-size: 1.0625rem;
  }

  .site-nav a[aria-current='page']:not(.btn) {
    box-shadow: inset 3px 0 0 var(--teal-400);
    border-radius: 0 8px 8px 0;
    background: rgba(255, 255, 255, 0.04);
  }

  .site-nav .nav-cta {
    margin: 12px 0 0;
  }

  .site-nav .nav-cta .btn {
    width: 100%;
  }

  .hero-grid,
  .split,
  .enquiry,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .service-block--reverse .split > div:first-child {
    order: 0;
  }

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

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

  .cta-band {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-4,
  .mini-features,
  .steps,
  .form-grid,
  .check-list--2 {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .footer-cta {
    grid-column: 1 / -1;
  }

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

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 22px 24px;
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .card,
  .card--feature {
    padding: 26px;
  }

  .hero-visual {
    min-height: 0;
    display: grid;
    gap: 16px;
  }

  .hv-card,
  .hv-chip {
    position: relative;
    inset: auto;
  }

  .hv-case {
    right: auto;
  }

  .hv-phone,
  .hv-chip {
    display: none;
  }

  .facts li {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .btn-row .btn {
    width: 100%;
  }

  .rb-captcha {
    overflow-x: auto;
  }
}

.not-found h1,
.not-found .lead {
  margin-inline: auto;
}

.not-found .btn-row {
  justify-content: center;
  margin-top: 28px;
}

.h3 {
  font-size: 1.5rem;
}

/* Eyebrow labels keep their style inside containers that restyle paragraphs */
.section-head .eyebrow,
.cta-band .eyebrow,
.service-block .eyebrow,
.mission-card .eyebrow {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--blue-600);
}

.section--dark .section-head .eyebrow,
.section--dark .eyebrow,
.cta-band .eyebrow {
  color: var(--teal-300);
}

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