/* ==========================================================================
   Double Tap Marketing: sitewide stylesheet
   Static site, no framework. Locked spec: docs/2026-06-11-dtm-website-spec.md
   Fonts: Sora (600/700 headings), Figtree (400/500/600 body). Self-hosted.

   COMPONENT INDEX
   01 Tokens                  :root custom properties
   02 Font faces              @font-face x5
   03 Base / reset            element defaults, selection, focus, skip link
   04 Typography              .heading-xl/lg/md/sm, .eyebrow, .lede, .section-head
   05 Buttons                 .btn, --primary, --secondary, --ghost, --lg, --nav, --block
   06 Layout                  .container, .section (+ --tint --white --navy --tight),
                              .grid-2, .grid-3, .text-center
   07 Header / nav            .site-header, .site-brand, .nav-toggle, .site-nav,
                              .nav-phone
   08 Hero                    .hero (navy, home) and .page-hero (light, inner pages)
   09 Split sections          .split (60/40), .split--flip (40/60, media left)
   10 Service cards           .services, .service-card (+ --navy --tint --raised),
                              .card-link
   11 Flow steps              .flow, .flow__step/__num/__title/__text ("one engine,
                              three gears" and any numbered process)
   12 Quote / stat bands      .quote-band (navy), .pull-quote, .stat, .stat-row
   13 Contrast pair           .contrast-pair (+ __item, __item--highlight, __label)
   14 Pricing                 .pricing-grid, .pricing-card (+ --featured, __badge,
                              __tier, __price, __period, __features, __cta),
                              .table-scroll, .compare-table, .is-featured
   15 Free stack list         .stack-list, .stack-item (+ __title, __text)
   16 Prose                   .prose (65ch, privacy/long copy)
   17 Term blocks             .term-grid (+ --2col), .term-block (+ __term, __name,
                              __analogy, __text) for email page definitions
   18 Diagram                 .diagram, .diagram__caption (inline SVG container)
   19 Info / detail           .info-card, .detail-list (contact page)
   20 CTA band                .cta-band (navy-800, reused sitewide)
   21 Footer                  .site-footer (+ __grid, __brand, __tagline, __heading,
                              __links, __legal)
   22 404                     .error-section, .error-code, .error-actions
   23 Reveal utilities        .reveal (+ .is-visible, .reveal-delay-1..4)
   24 Reduced motion          prefers-reduced-motion overrides

   DARK SURFACE RULE: any dark component (.hero, .section--navy, .quote-band,
   .cta-band, .site-footer, .service-card--navy, .pricing-card--featured,
   .contrast-pair__item--highlight) re-points the local custom properties
   (--text, --text-muted, --heading-c, --link, --eyebrow-c) so child text and
   links pass WCAG AA automatically. Page agents never set colours manually.
   ========================================================================== */

/* --------------------------------------------------------------------------
   01 TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette (locked, extracted from DTM 300.png) */
  --navy-950: #131c25;
  --navy-900: #1a242e;
  --navy-800: #232f3a;
  --slate-700: #45535e;
  --slate-500: #64737f;
  --slate-300: #aebac3;
  --grey-100: #eef1f3;
  --bg: #f8fafb;
  --white: #ffffff;
  --orange: #f87620;
  --orange-hover: #e0640f;
  --orange-text: #c2540a;
  /* Added: AA-safe orange for small text/links on --bg and --grey-100.
     #c2540a measures 4.39:1 on #f8fafb, so the deep variant is the default
     link colour. --orange-text remains valid on pure white. */
  --orange-text-deep: #a8480a;

  /* Contextual colour slots (dark components override these locally) */
  --text: var(--slate-700);
  --text-muted: var(--slate-500);
  --heading-c: var(--navy-950);
  --link: var(--orange-text-deep);
  --eyebrow-c: var(--orange-text-deep);
  --on-dark-body: #e8edf1;

  /* Type */
  --font-head: "Sora", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", Arial, sans-serif;
  --fs-body: clamp(1rem, 2.2vw, 1.125rem);
  --fs-hero: clamp(2.4rem, 5.5vw, 4.2rem);
  --fs-h2: clamp(1.7rem, 3.2vw, 2.6rem);

  /* Shape and depth */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 16px;
  --shadow-card: 0 2px 6px rgba(19, 28, 37, 0.05), 0 12px 32px -16px rgba(19, 28, 37, 0.18);
  --shadow-lift: 0 4px 10px rgba(19, 28, 37, 0.07), 0 20px 44px -18px rgba(19, 28, 37, 0.26);
  --hairline: rgba(69, 83, 94, 0.16);

  /* Layout */
  --container: 1200px;
  --header-h: 4.25rem;
}

/* --------------------------------------------------------------------------
   02 FONT FACES
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   03 BASE / RESET
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

p {
  margin: 0 0 1em;
}

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

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

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

address {
  font-style: normal;
}

blockquote, figure {
  margin: 0;
}

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

a:hover {
  text-decoration-thickness: 2px;
}

button {
  font: inherit;
  cursor: pointer;
}

::selection {
  background: var(--orange);
  color: var(--navy-950);
}

:focus-visible {
  outline: 3px solid var(--orange-hover);
  outline-offset: 2px;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 50;
  padding: 0.75rem 1.25rem;
  background: var(--navy-950);
  color: var(--white);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 0.75rem;
}

/* --------------------------------------------------------------------------
   04 TYPOGRAPHY
   -------------------------------------------------------------------------- */
.heading-xl {
  font-size: var(--fs-hero);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.heading-lg {
  font-size: var(--fs-h2);
  font-weight: 600;
}

.heading-md {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}

.heading-sm {
  font-size: 1.125rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--eyebrow-c);
}

/* Two-dot brand motif: the "double tap" */
.eyebrow--dots::before {
  content: "";
  display: inline-block;
  width: 17px;
  height: 7px;
  margin-right: 0.65rem;
  background:
    radial-gradient(circle at 3.5px 3.5px, var(--orange) 0 3px, transparent 3.4px),
    radial-gradient(circle at 13.5px 3.5px, var(--orange) 0 3px, transparent 3.4px);
}

.lede {
  font-size: clamp(1.0625rem, 2.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 46ch;
}

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

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

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

.section-head .heading-lg {
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   05 BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease-out, border-color 0.15s ease-out,
    color 0.15s ease-out, transform 0.15s ease-out;
}

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

/* Primary: orange surface, navy text. Never white text on orange. */
.btn--primary {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy-950);
}

.btn--primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  color: var(--navy-950);
}

/* Secondary: navy outline on light surfaces */
.btn--secondary {
  background: transparent;
  border-color: var(--navy-800);
  color: var(--navy-900);
}

.btn--secondary:hover {
  background: var(--navy-950);
  border-color: var(--navy-950);
  color: var(--white);
}

/* Ghost: for dark surfaces (hero, CTA band) */
.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--white);
  color: var(--white);
}

.btn--lg {
  min-height: 54px;
  padding: 0.9rem 2rem;
  font-size: 1.0625rem;
}

.btn--nav {
  min-height: 44px;
  padding: 0.5rem 1.15rem;
  font-size: 0.95rem;
}

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

/* --------------------------------------------------------------------------
   06 LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.section--tight {
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.section--tint {
  background: var(--grey-100);
  /* slate-500 fails AA on this tint; promote muted text */
  --text-muted: var(--slate-700);
}

.section--white {
  background: var(--white);
}

.section--navy {
  background: var(--navy-900);
  --text: var(--on-dark-body);
  --text-muted: var(--slate-300);
  --heading-c: var(--white);
  --link: var(--white);
  --eyebrow-c: var(--slate-300);
}

.grid-2 {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.grid-3 {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2rem);
}

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

.text-center {
  text-align: center;
}

/* Spacing utilities (pages may not edit this file, so margins live here) */
.mt-md {
  margin-top: 1.5rem;
}

.mt-lg {
  margin-top: 2.5rem;
}

/* --------------------------------------------------------------------------
   07 HEADER / NAV
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(19, 28, 37, 0.07), 0 2px 14px rgba(19, 28, 37, 0.05);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

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

.site-brand img {
  height: 34px;
  width: auto;
}

/* Hamburger (mobile only) */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: var(--radius-sm);
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-950);
  border-radius: 1px;
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}

.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);
}

/* Mobile panel */
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--hairline);
  box-shadow: 0 18px 32px -18px rgba(19, 28, 37, 0.3);
  padding: 0.75rem 1.25rem 1.5rem;
}

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

.site-nav__list {
  list-style: none;
}

.site-nav__link {
  display: block;
  padding: 0.85rem 0.25rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--slate-700);
  text-decoration: none;
  border-bottom: 1px solid var(--grey-100);
}

.site-nav__link:hover {
  color: var(--navy-950);
}

.site-nav__link[aria-current="page"] {
  color: var(--navy-950);
  font-weight: 600;
}

.site-nav__actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 1.25rem;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy-950);
  text-decoration: none;
  white-space: nowrap;
}

.nav-phone:hover {
  color: var(--orange-text-deep);
}

@media (min-width: 1024px) {
  .site-brand img {
    height: 40px;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav,
  .site-nav.is-open {
    display: flex;
    position: static;
    align-items: center;
    gap: 1.75rem;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .site-nav__list {
    display: flex;
    align-items: center;
    gap: 1.4rem;
  }

  .site-nav__link {
    position: relative;
    padding: 0.5rem 0.1rem;
    font-size: 0.95rem;
    border-bottom: 0;
  }

  .site-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease-out;
  }

  .site-nav__link:hover::after,
  .site-nav__link[aria-current="page"]::after {
    transform: scaleX(1);
  }

  .site-nav__actions {
    flex-direction: row;
    align-items: center;
    gap: 1.4rem;
    padding-top: 0;
  }

  .nav-phone {
    display: none; /* shown again from 1280px where there is room */
  }
}

@media (min-width: 1280px) {
  .nav-phone {
    display: inline-flex;
  }
}

/* --------------------------------------------------------------------------
   08 HERO (home, navy) and PAGE-HERO (inner pages, light)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(35, 47, 58, 0.95), transparent 60%),
    radial-gradient(720px 460px at -12% 112%, rgba(248, 118, 32, 0.08), transparent 55%),
    var(--navy-950);
  --text: var(--on-dark-body);
  --text-muted: var(--slate-300);
  --heading-c: var(--white);
  --link: var(--white);
  --eyebrow-c: var(--slate-300);
}

.hero__inner {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
  padding-block: clamp(3.5rem, 9vw, 7rem);
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  max-width: 18ch;
}

.hero__lede {
  font-size: clamp(1.0625rem, 2.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--on-dark-body);
  max-width: 46ch;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--slate-300);
}

.hero__media {
  position: relative;
}

.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--navy-900); /* reserved space while image loads */
  box-shadow: 0 28px 56px -28px rgba(0, 0, 0, 0.55);
}

/* Orange corner bracket: quiet brand signature on the hero image */
.hero__media::after {
  content: "";
  position: absolute;
  right: -12px;
  bottom: -12px;
  width: 96px;
  height: 96px;
  border-right: 3px solid var(--orange);
  border-bottom: 3px solid var(--orange);
  border-radius: 0 0 calc(var(--radius) + 4px) 0;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 7fr 5fr;
  }
}

/* Light page hero for inner pages */
.page-hero {
  background: linear-gradient(180deg, var(--grey-100) 0%, var(--bg) 100%);
  border-bottom: 1px solid rgba(69, 83, 94, 0.1);
  padding-block: clamp(3rem, 7vw, 5rem) clamp(2.5rem, 6vw, 4rem);
  --text-muted: var(--slate-700); /* AA on the tinted gradient */
}

.page-hero__title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 22ch;
  margin-bottom: 1rem;
}

.page-hero__lede {
  font-size: clamp(1.0625rem, 2.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 56ch;
}

/* --------------------------------------------------------------------------
   09 SPLIT SECTIONS (asymmetric 60/40)
   Children: .split__content and .split__media in any DOM order.
   Default: content left (60), media right (40). --flip: media left (40).
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--grey-100);
  box-shadow: var(--shadow-card);
}

.split__content .heading-lg {
  margin-bottom: 1rem;
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: 3fr 2fr;
  }

  .split__content {
    grid-column: 1;
    grid-row: 1;
  }

  .split__media {
    grid-column: 2;
    grid-row: 1;
  }

  .split--flip {
    grid-template-columns: 2fr 3fr;
  }

  .split--flip .split__content {
    grid-column: 2;
  }

  .split--flip .split__media {
    grid-column: 1;
  }
}

/* --------------------------------------------------------------------------
   10 SERVICE CARDS (varied, never three identical clones)
   Use surface modifiers to vary the row: --navy (dark), --tint (grey),
   default (white). --raised offsets a card downward on desktop.
   -------------------------------------------------------------------------- */
.services {
  display: grid;
  gap: 1.5rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

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

.service-card__kicker {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--eyebrow-c);
}

.service-card__title {
  font-size: 1.35rem;
}

.service-card__text {
  color: var(--text-muted);
  flex-grow: 1;
}

.service-card--navy {
  background: linear-gradient(165deg, var(--navy-900), var(--navy-950));
  border-color: transparent;
  --text: var(--on-dark-body);
  --text-muted: var(--slate-300);
  --heading-c: var(--white);
  --link: var(--white);
  --eyebrow-c: var(--slate-300);
}

.service-card--tint {
  background: var(--grey-100);
  border-color: transparent;
  --text-muted: var(--slate-700);
}

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

@media (min-width: 1024px) {
  .service-card--raised {
    margin-top: 2.5rem;
  }
}

/* Arrow link used at the foot of cards and teasers */
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  font-weight: 600;
  color: var(--link);
  text-decoration: none;
}

.card-link::after {
  content: "\2192";
  transition: transform 0.15s ease-out;
}

.card-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.card-link:hover::after {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   11 FLOW STEPS ("one engine, three gears" / any numbered process)
   Markup: <ol class="flow"><li class="flow__step"><span class="flow__num">…
   -------------------------------------------------------------------------- */
.flow {
  list-style: none;
  display: grid;
  gap: 2.5rem;
}

.flow__step {
  position: relative;
  padding-top: 1.4rem;
}

.flow__step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--orange);
}

.flow__num {
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--orange-hover); /* 3:1+ as large text on bg, white and tint */
}

.flow__title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.flow__text {
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .flow {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* --------------------------------------------------------------------------
   12 QUOTE / STAT BANDS
   .quote-band: full-bleed navy statement band.
   .pull-quote: inline highlighted statement on light pages.
   .stat / .stat-row: large figure with label (sourced numbers only).
   -------------------------------------------------------------------------- */
.quote-band {
  background:
    radial-gradient(700px 420px at 100% 0%, rgba(35, 47, 58, 0.9), transparent 60%),
    var(--navy-950);
  padding-block: clamp(3.5rem, 8vw, 6rem);
  --text: var(--on-dark-body);
  --text-muted: var(--slate-300);
  --heading-c: var(--white);
  --link: var(--white);
  --eyebrow-c: var(--slate-300);
}

.quote-band__text {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 30ch;
}

.quote-band__attr {
  margin-top: 1.25rem;
  color: var(--slate-300);
}

.pull-quote {
  border-left: 4px solid var(--orange);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin-block: 2rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--navy-900);
  max-width: 36ch;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.stat__value {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--heading-c);
}

.stat__label {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   13 CONTRAST PAIR (e.g. months of inference vs one honest conversation)
   -------------------------------------------------------------------------- */
.contrast-pair {
  display: grid;
  gap: 1.5rem;
}

.contrast-pair__item {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--grey-100);
  border-radius: var(--radius-lg);
  --text-muted: var(--slate-700);
}

.contrast-pair__item--highlight {
  background: linear-gradient(165deg, var(--navy-900), var(--navy-950));
  --text: var(--on-dark-body);
  --text-muted: var(--slate-300);
  --heading-c: var(--white);
  --link: var(--white);
  --eyebrow-c: var(--slate-300);
}

.contrast-pair__label {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--eyebrow-c);
}

.contrast-pair__title {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

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

/* --------------------------------------------------------------------------
   14 PRICING (three cards, middle highlighted) + comparison rows
   -------------------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.pricing-card__badge {
  align-self: flex-start;
  padding: 0.3rem 0.75rem;
  background: var(--orange);
  color: var(--navy-950);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-card__tier {
  font-size: 1.3rem;
}

.pricing-card__price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.2rem, 3.5vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--heading-c);
}

.pricing-card__period {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-muted);
}

.pricing-card__tagline {
  color: var(--text-muted);
}

.pricing-card__features {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  flex-grow: 1;
}

.pricing-card__features li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.pricing-card__features li::before {
  content: "";
  flex: none;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.15em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0640f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.pricing-card__cta {
  margin-top: auto;
}

.pricing-card--featured {
  background: linear-gradient(170deg, var(--navy-900), var(--navy-950));
  border-color: transparent;
  box-shadow: var(--shadow-lift);
  --text: var(--on-dark-body);
  --text-muted: var(--slate-300);
  --heading-c: var(--white);
  --link: var(--white);
  --eyebrow-c: var(--slate-300);
}

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

  .pricing-card--featured {
    transform: scale(1.03);
  }
}

/* Comparison rows: wrap the table in .table-scroll for small screens */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--white);
}

.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.975rem;
}

.compare-table th,
.compare-table td {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid rgba(69, 83, 94, 0.12);
  text-align: center;
}

.compare-table thead th {
  background: var(--navy-950);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.compare-table th[scope="row"],
.compare-table thead th:first-child {
  text-align: left;
}

.compare-table th[scope="row"] {
  font-weight: 600;
  color: var(--navy-900);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table .is-featured {
  background: rgba(248, 118, 32, 0.07);
}

.compare-table thead .is-featured {
  background: var(--navy-800);
}

/* --------------------------------------------------------------------------
   15 FREE STACK LIST (orange check bullets)
   -------------------------------------------------------------------------- */
.stack-list {
  list-style: none;
  display: grid;
  gap: 1.5rem;
}

.stack-item {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
}

.stack-item::before {
  content: "";
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.1em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0640f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.stack-item__title {
  display: block;
  font-weight: 600;
  color: var(--heading-c);
  margin-bottom: 0.2rem;
}

.stack-item__text {
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .stack-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 2.5rem;
  }
}

/* --------------------------------------------------------------------------
   16 PROSE (privacy policy, long-form copy)
   -------------------------------------------------------------------------- */
.prose {
  max-width: 65ch;
}

.prose h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.7rem);
  margin-top: 2.2em;
  margin-bottom: 0.6em;
}

.prose h3 {
  font-size: 1.2rem;
  margin-top: 1.8em;
  margin-bottom: 0.5em;
}

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

.prose p {
  margin-bottom: 1.1em;
}

.prose ul,
.prose ol {
  padding-left: 1.3rem;
  margin-bottom: 1.1em;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li + li {
  margin-top: 0.45em;
}

.prose strong {
  font-weight: 600;
  color: var(--navy-900);
}

/* --------------------------------------------------------------------------
   17 TERM BLOCKS (email page: jargon + plain-English explanation)
   -------------------------------------------------------------------------- */
.term-grid {
  display: grid;
  gap: 1.5rem;
}

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

.term-block {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--white);
  border: 1px solid var(--hairline);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-sm) var(--radius) var(--radius) var(--radius-sm);
  box-shadow: var(--shadow-card);
}

.term-block__term {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--heading-c);
}

.term-block__name {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.term-block__analogy {
  display: block;
  margin: 0.9rem 0 0.6rem;
  font-weight: 500;
  font-style: italic;
  color: var(--navy-800);
}

.term-block__text {
  color: var(--text);
}

/* --------------------------------------------------------------------------
   18 DIAGRAM (inline SVG container, email journey etc.)
   -------------------------------------------------------------------------- */
.diagram {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.diagram svg {
  display: block;
  width: 100%;
  height: auto;
}

.diagram__caption {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   19 INFO CARD / DETAIL LIST (contact page)
   -------------------------------------------------------------------------- */
.info-card {
  padding: clamp(1.75rem, 3vw, 2.25rem);
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.info-card .heading-sm,
.info-card h3 {
  margin-bottom: 0.6rem;
}

.detail-list dt {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.detail-list dd {
  margin: 0.3rem 0 1.4rem;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
}

.detail-list dd:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   20 CTA BAND (navy-800, reused on every page)
   -------------------------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(640px 380px at 12% 120%, rgba(248, 118, 32, 0.1), transparent 55%),
    var(--navy-800);
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  --text: var(--on-dark-body);
  --text-muted: var(--slate-300);
  --heading-c: var(--white);
  --link: var(--white);
  --eyebrow-c: var(--slate-300);
}

.cta-band__inner {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.cta-band__title {
  font-size: var(--fs-h2);
  margin-bottom: 0.9rem;
}

.cta-band__text {
  color: var(--on-dark-body);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   21 FOOTER (navy-950)
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-950);
  color: var(--slate-300);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  --text: var(--on-dark-body);
  --text-muted: var(--slate-300);
  --heading-c: var(--white);
  --link: var(--white);
}

.site-footer__grid {
  display: grid;
  gap: 2.5rem;
}

.site-footer__brand img {
  height: 38px;
  width: auto;
}

.site-footer__tagline {
  margin-top: 1rem;
  max-width: 32ch;
  color: var(--slate-300);
}

.site-footer__heading {
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

.site-footer__links {
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.site-footer__links a {
  display: inline-block;
  padding: 0.3rem 0;
  color: var(--slate-300);
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer address {
  line-height: 1.7;
}

.site-footer__legal {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.875rem;
  color: var(--slate-300);
}

.site-footer__legal p {
  margin-bottom: 0.4em;
}

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

@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1.2fr 1fr;
    gap: 3rem;
  }
}

/* --------------------------------------------------------------------------
   22 404
   -------------------------------------------------------------------------- */
.error-section {
  padding-block: clamp(4rem, 12vw, 8rem);
  text-align: center;
}

.error-code {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(5rem, 16vw, 8.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--grey-100);
  text-shadow: 0 1px 0 rgba(69, 83, 94, 0.25);
  user-select: none;
}

.error-section .heading-lg {
  margin-top: -0.5em;
  margin-bottom: 0.75rem;
}

.error-section p {
  max-width: 46ch;
  margin-inline: auto;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   23 REVEAL UTILITIES (activated by js/main.js; html.js gate means content
   is never hidden when JavaScript is unavailable)
   -------------------------------------------------------------------------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

html.js .reveal-delay-1 { transition-delay: 0.1s; }
html.js .reveal-delay-2 { transition-delay: 0.2s; }
html.js .reveal-delay-3 { transition-delay: 0.3s; }
html.js .reveal-delay-4 { transition-delay: 0.4s; }

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

  html.js .reveal {
    opacity: 1;
    transform: none;
  }

  .service-card:hover,
  .pricing-card--featured {
    transform: none;
  }
}
