/* ==========================================================================
   Nwestra Digital Marketing Design System
   ========================================================================== */

:root {
  /* ------------------------------------------------------------------
     BRAND COLOR TOKENS — strict two-color system (black + gold) + neutrals.
     Every component below references these; no hex is hardcoded elsewhere.
     ------------------------------------------------------------------ */
  --color-black: #1C1C1C;       /* primary brand color: headers, footer, dark sections, body text */
  --color-gold: #D4AF37;        /* accent: CTAs, links/labels on dark bg, bold 14px+ labels, icon fills on tint */
  --color-gold-tint: #F5EBCB;   /* light gold background for icon chips, badges, subtle highlights */
  --color-gold-dark: #8A6D00;   /* gold icon/text on light backgrounds — passes AA contrast on white */
  --color-white: #FFFFFF;       /* page background, card backgrounds */
  --color-gray-light: #E8E4DA;  /* card borders, dividers, subtle section tints */
  --color-gray-mid: #6B6B6B;    /* secondary/body text on white */
  --color-gray-dark: #B8B8B8;   /* muted text on dark (black) backgrounds */

  /* Derived state colors (kept token-based via color-mix, never new hardcoded hex) */
  --color-gold-hover: color-mix(in srgb, var(--color-gold) 85%, black);
  --color-black-hover: color-mix(in srgb, var(--color-black) 85%, white);
  --color-bg-tint: color-mix(in srgb, var(--color-gray-light) 35%, white);

  /* Semantic (status) colors — desaturated, kept out of the brand accent system per rule 6 */
  --success: #2F6B3A;
  --success-bg: #EAF3EA;
  --warning: var(--color-gold-dark);
  --error: #A3312A;
  --error-bg: #FBEAE9;

  /* Color: Tokens (semantic aliases used throughout components) */
  --color-bg: var(--color-white);
  --color-bg-alt: var(--color-bg-tint);
  --color-text: var(--color-black);
  --color-text-muted: var(--color-gray-mid);
  --color-border: var(--color-gray-light);
  --color-link: var(--color-gold-dark);
  --color-focus: var(--color-gold-dark);

  /* Legacy aliases so any rule not yet migrated still resolves to on-brand colors */
  --primary-950: var(--color-black);
  --primary-900: var(--color-black);
  --primary-800: var(--color-black);
  --primary-700: var(--color-gold-dark);
  --primary-600: var(--color-gold);
  --primary-500: var(--color-gold);
  --primary-400: var(--color-gold);
  --primary-300: var(--color-gold-tint);
  --primary-100: var(--color-gold-tint);
  --primary-50:  var(--color-bg-tint);
  --accent-700: var(--color-gold-dark);
  --accent-600: var(--color-gold);
  --accent-500: var(--color-gold);
  --accent-100: var(--color-gold-tint);
  --gray-900: var(--color-black);
  --gray-800: var(--color-black);
  --gray-700: var(--color-gray-mid);
  --gray-600: var(--color-gray-mid);
  --gray-500: var(--color-gray-mid);
  --gray-400: var(--color-gray-dark);
  --gray-300: var(--color-gray-light);
  --gray-200: var(--color-gray-light);
  --gray-100: var(--color-bg-tint);
  --gray-50:  var(--color-bg-tint);
  --white: var(--color-white);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --fs-xs: 0.8125rem;   /* 13px */
  --fs-sm: 0.9375rem;   /* 15px */
  --fs-base: 1rem;      /* 16px */
  --fs-md: 1.125rem;    /* 18px */
  --fs-lg: 1.375rem;    /* 22px */
  --fs-xl: 1.75rem;     /* 28px */
  --fs-2xl: 2.25rem;    /* 36px */
  --fs-3xl: 2.75rem;    /* 44px */
  --fs-4xl: 3.5rem;     /* 56px */

  /* Spacing (4px base) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(28, 28, 28, 0.06);
  --shadow-md: 0 4px 16px rgba(28, 28, 28, 0.08);
  --shadow-lg: 0 12px 32px rgba(28, 28, 28, 0.12);
  --shadow-focus: 0 0 0 3px rgba(212, 175, 55, 0.45);

  /* Layout */
  --container-max: 1200px;
  --header-height: 76px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 150ms;
  --dur-base: 220ms;
}

/* ==========================================================================
   Reset
   ========================================================================== */

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

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

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--color-link); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { padding-left: 1.25em; }

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

:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-black);
  text-wrap: balance;
}

h1 { font-size: var(--fs-3xl); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-2xl); letter-spacing: -0.01em; }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-md); }

@media (min-width: 768px) {
  h1 { font-size: var(--fs-4xl); }
  h2 { font-size: var(--fs-3xl); }
  h3 { font-size: var(--fs-xl); }
}

p { color: var(--color-text-muted); max-width: 68ch; }
p.lead { font-size: var(--fs-md); color: var(--color-gray-mid); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  background: var(--color-gold-tint);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-full);
}

.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0; padding: 0;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--sp-8); }
}

.section { padding-block: var(--sp-16); }
.section-tight { padding-block: var(--sp-10); }
.section-alt { background: var(--color-bg-alt); }

.section-head {
  max-width: 680px;
  margin-bottom: var(--sp-10);
}
.section-head.center { margin-inline: auto; text-align: center; }

.grid { display: grid; gap: var(--sp-6); }
.grid-2 { grid-template-columns: repeat(1, 1fr); }
.grid-3 { grid-template-columns: repeat(1, 1fr); }
.grid-4 { grid-template-columns: repeat(2, 1fr); }

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

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--fs-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out),
              background-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
  touch-action: manipulation;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--color-gold);
  color: var(--color-black);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--color-gold-hover); box-shadow: var(--shadow-md); }

.btn-accent {
  background: var(--color-black);
  color: var(--color-gold);
}
.btn-accent:hover { background: var(--color-black-hover); }

.btn-outline {
  background: transparent;
  color: var(--color-black);
  border-color: var(--color-gray-light);
}
.btn-outline:hover { border-color: var(--color-gold); background: var(--color-gold-tint); }

.btn-ghost {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--color-gold); }

.btn-lg { min-height: 54px; padding: var(--sp-4) var(--sp-8); font-size: var(--fs-md); }
.btn-block { width: 100%; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-md);
  color: var(--color-black);
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-block;
  width: 53px;
  height: 40px;
  flex-shrink: 0;
  background-image: url(/assets/images/nwestra-logo.png);
  background-size: 115px 115px;
  background-position: -19px -17px;
  background-repeat: no-repeat;
}
.brand svg { width: 34px; height: 34px; }

.nav-primary {
  display: none;
}

.nav-list {
  display: flex;
  align-items: stretch;
  list-style: none;
  padding: 0;
  gap: var(--sp-1);
  height: 100%;
}

.nav-item { position: relative; display: flex; align-items: center; }

.nav-link {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  height: 100%;
  padding: 0 var(--sp-4);
  color: var(--color-gray-mid);
  font-weight: 600;
  font-size: var(--fs-sm);
  border-bottom: 2px solid transparent;
}
.nav-link:hover, .nav-link:focus-visible, .nav-link[aria-current="page"] {
  color: var(--color-gold-dark);
  text-decoration: none;
  border-bottom-color: var(--color-gold);
}
.nav-link .chevron { width: 14px; height: 14px; transition: transform var(--dur-base) var(--ease-out); }
.nav-item:hover .chevron,
.nav-item:focus-within .chevron { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 340px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), visibility var(--dur-base);
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 4px);
}

.dropdown-list { list-style: none; padding: 0; display: grid; gap: var(--sp-1); }
.dropdown-link {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-3);
  border-radius: var(--radius-md);
  color: var(--color-black);
}
.dropdown-link:hover, .dropdown-link:focus-visible {
  background: var(--color-bg-tint);
  text-decoration: none;
}
.dropdown-link .icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--color-gold-tint);
  color: var(--color-gold-dark);
}
.dropdown-link .icon svg { width: 18px; height: 18px; }
.dropdown-link strong { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--color-black); }
.dropdown-link span { display: block; font-size: var(--fs-xs); color: var(--color-gray-mid); margin-top: 2px; }

.dropdown.mega { min-width: 620px; max-height: 76vh; overflow-y: auto; }
.dropdown.mega .dropdown-list { grid-template-columns: repeat(2, 1fr); gap: var(--sp-1) var(--sp-2); }
.dropdown.mega .dropdown-link { padding: var(--sp-2) var(--sp-3); }
.dropdown.mega .dropdown-link .icon { width: 32px; height: 32px; }
.dropdown.mega .dropdown-link .icon svg { width: 16px; height: 16px; }

.dropdown-footer {
  margin-top: var(--sp-2);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--color-border);
}

.nav-actions { display: none; align-items: center; gap: var(--sp-3); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (min-width: 1024px) {
  .nav-primary { display: block; }
  .nav-actions { display: flex; }
  .nav-toggle { display: none; }
}

/* Mobile nav panel */
.mobile-nav {
  position: fixed;
  inset: var(--header-height) 0 0 0;
  background: var(--color-white);
  z-index: 90;
  overflow-y: auto;
  padding: var(--sp-6) var(--sp-5) var(--sp-10);
  transform: translateX(100%);
  transition: transform var(--dur-base) var(--ease-out);
}
.mobile-nav.is-open { transform: translateX(0); }

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

.mobile-nav-list { list-style: none; padding: 0; display: grid; gap: var(--sp-1); }
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) var(--sp-2);
  font-weight: 600;
  font-size: var(--fs-md);
  color: var(--color-black);
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav-link:hover { text-decoration: none; }

.mobile-submenu { list-style: none; padding: 0 0 var(--sp-2) var(--sp-2); display: none; }
.mobile-submenu.is-open { display: grid; gap: var(--sp-1); }
.mobile-submenu a {
  display: block;
  padding: var(--sp-3) var(--sp-3);
  color: var(--color-gray-mid);
  font-size: var(--fs-sm);
  font-weight: 500;
  border-radius: var(--radius-sm);
}
.mobile-submenu a:hover { background: var(--color-bg-tint); text-decoration: none; }

.mobile-nav-actions { margin-top: var(--sp-6); display: grid; gap: var(--sp-3); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background: linear-gradient(180deg, var(--color-black) 0%, color-mix(in srgb, var(--color-black) 92%, white) 100%);
  color: var(--color-white);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px circle at 85% 10%, rgba(212,175,55,0.22), transparent 60%),
    radial-gradient(500px circle at 10% 90%, rgba(212,175,55,0.10), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  padding-block: var(--sp-20) var(--sp-16);
  display: grid;
  gap: var(--sp-8);
}
.hero h1 { color: var(--color-white); }
.hero p.lead { color: rgba(255,255,255,0.82); max-width: 56ch; }
.hero .eyebrow { background: rgba(212,175,55,0.16); color: var(--color-gold); }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }

@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; align-items: center; padding-block: var(--sp-24); }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-10);
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stats dt { font-family: var(--font-heading); font-size: var(--fs-lg); font-weight: 800; color: var(--color-white); }
.hero-stats dd { font-size: var(--fs-xs); color: rgba(255,255,255,0.7); margin-top: var(--sp-1); }

.hero-visual { position: relative; }

.hero-founder-badge {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
  padding: var(--sp-3) var(--sp-5) var(--sp-3) var(--sp-3);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-full);
  width: fit-content;
}
.hero-founder-badge img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.5);
  flex-shrink: 0;
}
.hero-founder-badge strong { display: block; color: var(--color-white); font-family: var(--font-heading); font-size: var(--fs-sm); font-weight: 700; }
.hero-founder-badge span { display: block; color: rgba(255,255,255,0.68); font-size: var(--fs-xs); margin-top: 1px; }

@media (min-width: 1024px) {
  .hero-founder-badge {
    position: absolute;
    left: var(--sp-6);
    bottom: calc(-1 * var(--sp-8));
    margin-top: 0;
    background: rgba(28, 28, 28, 0.82);
    box-shadow: var(--shadow-lg);
  }
}

/* ==========================================================================
   Page header (interior pages)
   ========================================================================== */

.page-header {
  background: var(--color-black);
  color: var(--color-white);
  padding-block: var(--sp-12) var(--sp-10);
}
.page-header h1 { color: var(--color-white); margin-top: var(--sp-3); }
.page-header p.lead { color: rgba(255,255,255,0.82); }

.page-header-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--sp-5);
}
.page-header-icon svg { width: 28px; height: 28px; color: var(--color-white); }

/* ==========================================================================
   Checklist (What's Included)
   ========================================================================== */

.check-list { list-style: none; padding: 0; display: grid; gap: var(--sp-3); }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--color-gray-mid);
  padding: var(--sp-3) var(--sp-4);
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
}
.check-list li svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.check-list li svg { color: var(--color-gold-dark); }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  list-style: none;
  padding: 0;
  color: rgba(255,255,255,0.65);
}
.breadcrumbs a { color: rgba(255,255,255,0.85); }
.breadcrumbs li::after { content: "/"; margin-left: var(--sp-2); color: rgba(255,255,255,0.4); }
.breadcrumbs li:last-child::after { content: ""; }

/* Light variant for legal/simple pages */
.page-header.light {
  background: var(--color-bg-alt);
  color: var(--color-black);
  border-bottom: 1px solid var(--color-border);
}
.page-header.light h1 { color: var(--color-black); }
.page-header.light p.lead { color: var(--color-gray-mid); }
.page-header.light .breadcrumbs { color: var(--color-gray-mid); }
.page-header.light .breadcrumbs a { color: var(--color-gray-mid); }

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.card-link { display: block; height: 100%; color: inherit; }
.card-link:hover { text-decoration: none; }
a.card:hover, .card-link:hover .card {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--primary-200, var(--color-gold-tint));
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-gold-tint);
  color: var(--color-gold-dark);
  margin-bottom: var(--sp-4);
}
.card-icon svg { width: 24px; height: 24px; }

.card h3 { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.card p { font-size: var(--fs-sm); margin-bottom: 0; }
.card .card-meta {
  margin-top: var(--sp-4);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--color-gold-dark);
}

/* ==========================================================================
   Trust bar / badges
   ========================================================================== */

.trust-bar {
  padding-block: var(--sp-8);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}
.trust-bar-inner {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
}
@media (min-width: 900px) {
  .trust-bar-inner { grid-template-columns: auto 1fr; }
}
.trust-bar p {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--color-gray-mid);
  margin: 0;
}
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--color-gray-mid);
}
.trust-badge svg { width: 16px; height: 16px; color: var(--color-gold); flex-shrink: 0; }

/* ==========================================================================
   Process steps
   ========================================================================== */

.steps { list-style: none; padding: 0; display: grid; gap: var(--sp-6); counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step { position: relative; padding-top: var(--sp-2); }
.step-number {
  counter-increment: step;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  background: var(--color-gold-tint);
  color: var(--color-gold-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-4);
}
.step-number::before { content: counter(step); }
.step-number.c-teal, .step-number.c-amber, .step-number.c-cyan, .step-number.c-blue {
  background: var(--color-gold-tint); color: var(--color-gold-dark);
}
.step-number.c-indigo, .step-number.c-rose, .step-number.c-violet {
  background: var(--color-black); color: var(--color-gold);
}
.step-number.style-b {
  background: var(--color-black); color: var(--color-gold);
}

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

.who-for-card {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-6);
  margin-top: var(--sp-4);
}
.who-for-card .icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.who-for-card .icon svg { width: 20px; height: 20px; }
.who-for-card p { margin: 0; font-size: var(--fs-sm); color: var(--color-gray-mid); }
.who-for-card.c-teal .icon, .who-for-card.c-amber .icon, .who-for-card.c-cyan .icon, .who-for-card.c-blue .icon {
  background: var(--color-gold-tint); color: var(--color-gold-dark);
}
.who-for-card.c-indigo .icon, .who-for-card.c-rose .icon, .who-for-card.c-violet .icon {
  background: var(--color-black); color: var(--color-gold);
}

/* ==========================================================================
   FAQ (accordion)
   ========================================================================== */

.faq-list { display: grid; gap: var(--sp-3); max-width: 780px; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: none;
  border: none;
  text-align: left;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--color-black);
  cursor: pointer;
  min-height: 44px;
}
.faq-question .plus {
  flex-shrink: 0;
  width: 22px; height: 22px;
  position: relative;
}
.faq-question .plus::before, .faq-question .plus::after {
  content: "";
  position: absolute;
  background: var(--color-gold);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out);
}
.faq-question .plus::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-question .plus::after { left: 50%; top: 0; height: 100%; width: 2px; transform: translateX(-50%); }
.faq-item.is-open .plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-base) var(--ease-out);
}
.faq-answer-inner { padding: 0 var(--sp-5) var(--sp-5); }
.faq-answer p { font-size: var(--fs-sm); margin-bottom: 0; }

/* ==========================================================================
   CTA banner
   ========================================================================== */

.cta-banner {
  background: var(--color-black);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-10) var(--sp-6);
  text-align: center;
  display: grid;
  gap: var(--sp-5);
  justify-items: center;
}
.cta-banner h2 { color: var(--color-white); max-width: 32ch; }
.cta-banner p { color: rgba(255,255,255,0.82); }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }

@media (min-width: 768px) {
  .cta-banner { padding: var(--sp-16); }
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-field { display: grid; gap: var(--sp-2); margin-bottom: var(--sp-5); }
.form-field label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-black);
}
.form-field .required { color: var(--error); margin-left: 2px; }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 48px;
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--color-gray-light);
  border-radius: var(--radius-md);
  background: var(--color-white);
  font-size: var(--fs-base);
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus-visible,
.form-field textarea:focus-visible,
.form-field select:focus-visible {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-focus);
}
.form-field .helper { font-size: var(--fs-xs); color: var(--color-gray-mid); }
.form-field .error-msg {
  display: none;
  font-size: var(--fs-xs);
  color: var(--error);
  font-weight: 600;
}
.form-field.has-error input,
.form-field.has-error textarea,
.form-field.has-error select { border-color: var(--error); }
.form-field.has-error .error-msg { display: block; }

.form-status {
  display: none;
  padding: var(--sp-4);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--sp-5);
}
.form-status.success { display: block; background: var(--success-bg); color: var(--success); }
.form-status.error { display: block; background: var(--error-bg); color: var(--error); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--color-black);
  color: rgba(255,255,255,0.7);
  padding-block: var(--sp-16) var(--sp-8);
}
.footer-grid {
  display: grid;
  gap: var(--sp-10);
  margin-bottom: var(--sp-10);
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer-brand { display: flex; align-items: center; gap: var(--sp-2); color: var(--color-white); font-family: var(--font-heading); font-weight: 800; font-size: var(--fs-md); }
.footer-brand svg { width: 30px; height: 30px; }
.footer-col h4 { color: var(--color-white); font-size: var(--fs-sm); margin-bottom: var(--sp-4); }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: var(--sp-3); }
.footer-col a { color: rgba(255,255,255,0.68); font-size: var(--fs-sm); }
.footer-col a:hover { color: var(--color-white); }
.footer-desc { font-size: var(--fs-sm); color: rgba(255,255,255,0.65); margin-top: var(--sp-4); max-width: 34ch; }
.footer-bottom {
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.5);
}
.footer-legal { display: flex; gap: var(--sp-4); list-style: none; padding: 0; }
.footer-legal a { color: rgba(255,255,255,0.5); }
.footer-legal a:hover { color: var(--color-white); }

.social-links { display: flex; gap: var(--sp-3); margin-top: var(--sp-4); }
.social-links a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  color: var(--color-white);
}
.social-links a:hover { background: var(--color-gold); text-decoration: none; }
.social-links svg { width: 18px; height: 18px; }

/* ==========================================================================
   Misc utility components
   ========================================================================== */

.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -60px;
  background: var(--color-gold-dark);
  color: var(--color-white);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius-md);
  z-index: 200;
  font-weight: 600;
  transition: top var(--dur-base) var(--ease-out);
}
.skip-link:focus { top: var(--sp-4); }

.tag-list { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; padding: 0; }
.tag {
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
  background: var(--color-gold-tint);
  color: var(--color-gold-dark);
}

.toc {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-6);
}
.toc h2 { font-size: var(--fs-md); margin-bottom: var(--sp-3); }
.toc ol { padding-left: 1.1em; display: grid; gap: var(--sp-2); }
.toc a { font-size: var(--fs-sm); font-weight: 600; }

.callout {
  border-left: 4px solid var(--color-gold);
  background: var(--color-gold-tint);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--sp-4) var(--sp-5);
  margin-block: var(--sp-6);
}
.callout strong { color: var(--color-gold-dark); display: block; margin-bottom: var(--sp-1); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.04em; }
.callout p { margin: 0; color: var(--color-black); font-size: var(--fs-sm); }
.callout { border-left-color: var(--color-gold); background: var(--color-gold-tint); }
.callout strong { color: var(--color-gold-dark); }

.prose { max-width: 720px; }
.prose h2 { margin-top: var(--sp-10); margin-bottom: var(--sp-4); }
.prose h3 { margin-top: var(--sp-8); margin-bottom: var(--sp-3); }
.prose p { margin-bottom: var(--sp-4); max-width: none; }
.prose ul, .prose ol { margin-bottom: var(--sp-4); color: var(--color-gray-mid); }
.prose li { margin-bottom: var(--sp-2); }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: var(--sp-6); font-size: var(--fs-sm); }
.prose th, .prose td { text-align: left; padding: var(--sp-3) var(--sp-4); border: 1px solid var(--color-border); }
.prose th { background: var(--color-bg-alt); font-family: var(--font-heading); }

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

.two-col {
  display: grid;
  gap: var(--sp-10);
}
@media (min-width: 1024px) {
  .two-col { grid-template-columns: 2fr 1fr; align-items: start; }
}
.sidebar { display: grid; gap: var(--sp-6); position: sticky; top: calc(var(--header-height) + var(--sp-6)); }

.sidebar-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
}
.sidebar-card h3 { font-size: var(--fs-sm); margin-bottom: var(--sp-3); }
.sidebar-card ul { list-style: none; padding: 0; display: grid; gap: var(--sp-2); }
.sidebar-card a { font-size: var(--fs-sm); font-weight: 600; }

/* ==========================================================================
   Stat cards / Case studies
   ========================================================================== */

.stat-grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-4);
  text-align: center;
}
.stat-card .num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-xl);
  color: var(--color-gold-dark);
  line-height: 1.1;
}
.stat-card .label { font-size: var(--fs-xs); color: var(--color-gray-mid); margin-top: var(--sp-2); }

.case-study {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--sp-16);
  scroll-margin-top: calc(var(--header-height) + var(--sp-4));
}
.case-study-head {
  background: var(--color-black);
  color: var(--color-white);
  padding: var(--sp-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  justify-content: space-between;
  align-items: flex-end;
}
.case-study-head h2 { color: var(--color-white); margin: 0; }
.case-study-meta { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-3); }
.case-study-meta .tag { background: rgba(255,255,255,0.14); color: var(--color-white); }
.case-study-body { padding: var(--sp-8); }
.case-study-body h3 { margin-top: var(--sp-8); margin-bottom: var(--sp-3); }
.case-study-body h3:first-child { margin-top: 0; }
.case-study-source {
  font-size: var(--fs-xs);
  color: var(--color-gray-mid);
  margin-top: var(--sp-2);
}
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--color-gold-dark);
  background: var(--color-gold-tint);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
}
.verified-badge svg { width: 14px; height: 14px; }

/* ==========================================================================
   Founder / bio card
   ========================================================================== */

.founder-card {
  display: flex;
  gap: var(--sp-6);
  align-items: flex-start;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  flex-wrap: wrap;
}
.founder-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-white);
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}
.founder-avatar-placeholder {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-xl);
  border: 3px solid var(--color-white);
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}
.founder-info { flex: 1; min-width: 240px; }
.founder-info h3 { margin-bottom: 2px; }
.founder-title { font-size: var(--fs-sm); color: var(--color-gold-dark); font-weight: 600; margin-bottom: var(--sp-3); }
.founder-credentials { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }
.founders-grid { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .founders-grid { grid-template-columns: 1fr 1fr; }
  .founders-grid .founder-card { height: 100%; flex-direction: column; align-items: flex-start; }
  .founders-grid .founder-card .founder-avatar,
  .founders-grid .founder-card .founder-avatar-placeholder { margin-bottom: var(--sp-4); }
}

/* ==========================================================================
   Logo carousel (client wordmarks)
   ========================================================================== */

.logo-carousel {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}
.logo-carousel-track {
  display: flex;
  align-items: center;
  gap: var(--sp-10);
  width: max-content;
  animation: logo-scroll 26s linear infinite;
}
.logo-carousel:hover .logo-carousel-track { animation-play-state: paused; }

@keyframes logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-carousel-track { animation: none; flex-wrap: wrap; }
  .logo-carousel { mask-image: none; -webkit-mask-image: none; }
}

.logo-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-8);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-white);
  color: var(--color-gray-mid);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.logo-chip:hover, .logo-chip:focus-visible {
  border-color: var(--primary-300, var(--color-gold));
  text-decoration: none;
  transform: scale(1.04);
  box-shadow: var(--shadow-md);
}
.logo-chip .mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-chip .mark img { width: 44px; height: 44px; display: block; }
.logo-chip .name { font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-lg); color: var(--color-black); }

/* ==========================================================================
   Google rating card
   ========================================================================== */

.rating-card {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  flex-wrap: wrap;
}
.rating-card .g-mark {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rating-card .g-mark svg { width: 22px; height: 22px; color: var(--color-gray-mid); }
.rating-stars { display: flex; gap: 2px; }
.rating-stars svg { width: 16px; height: 16px; color: var(--color-gray-light); }
.rating-stars.is-live svg { color: var(--color-gold); }
.rating-card .rating-label { font-size: var(--fs-xs); font-weight: 700; color: var(--color-gray-mid); text-transform: uppercase; letter-spacing: 0.04em; }
.rating-card .rating-note { font-size: var(--fs-sm); color: var(--color-gray-mid); margin-top: 2px; }

/* ==========================================================================
   Proof cards (case study preview cards)
   ========================================================================== */

.proof-card .proof-stat {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-2xl);
  color: var(--color-gold-dark);
  line-height: 1;
  margin-bottom: var(--sp-1);
}
.proof-card .proof-stat-label {
  font-size: var(--fs-xs);
  color: var(--color-gray-mid);
  margin-bottom: var(--sp-5);
}
.rating-badge-pending {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--color-gold-dark);
  background: var(--color-gold-tint);
  padding: 2px var(--sp-2);
  border-radius: var(--radius-full);
  margin-left: var(--sp-2);
}

/* ==========================================================================
   Sticky scroll CTA bar
   ========================================================================== */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  background: var(--color-black);
  border-top: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 -8px 24px rgba(28, 28, 28, 0.3);
  transform: translateY(100%);
  transition: transform var(--dur-base) var(--ease-out);
}
.sticky-cta.is-visible { transform: translateY(0); }

.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: var(--sp-3);
}
.sticky-cta-text { display: none; color: var(--color-white); }
.sticky-cta-text strong { display: block; font-family: var(--font-heading); font-size: var(--fs-sm); font-weight: 700; }
.sticky-cta-text span { display: block; font-size: var(--fs-xs); color: rgba(255,255,255,0.65); margin-top: 2px; }

@media (min-width: 640px) {
  .sticky-cta-text { display: block; }
}

.sticky-cta-actions { display: flex; align-items: center; gap: var(--sp-3); margin-left: auto; }

.sticky-cta-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.sticky-cta-close:hover { background: rgba(255,255,255,0.16); color: var(--color-white); }
.sticky-cta-close svg { width: 16px; height: 16px; }

/* ==========================================================================
   Service card color accents
   ========================================================================== */

.card-icon.c-teal, .card-icon.c-amber, .card-icon.c-cyan, .card-icon.c-blue {
  background: var(--color-gold-tint); color: var(--color-gold-dark);
}
.card-icon.c-indigo, .card-icon.c-rose, .card-icon.c-violet {
  background: var(--color-black); color: var(--color-gold);
}

/* ==========================================================================
   Dark section variant (Why Nwestra, etc.)
   ========================================================================== */

.section-dark {
  background: var(--color-black);
}
.section-dark .eyebrow { background: rgba(212,175,55,0.16); color: var(--color-gold); }
.section-dark h2 { color: var(--color-white); }
.section-dark p.lead { color: rgba(255,255,255,0.72); }
.section-dark .card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
}
.section-dark .card h3 { color: var(--color-white); }
.section-dark .card p { color: rgba(255,255,255,0.68); }
.section-dark .card-icon.c-teal, .section-dark .card-icon.c-indigo, .section-dark .card-icon.c-amber,
.section-dark .card-icon.c-rose, .section-dark .card-icon.c-cyan, .section-dark .card-icon.c-violet,
.section-dark .card-icon.c-blue {
  background: rgba(212, 175, 55, 0.16); color: var(--color-gold);
}
