/* Bluecurl: shared styles for every page. D15 "Bold navy" + D16 "pop pass".
   Color roles (design-tokens.json): background #ffffff, structure #0f1a35 (navy), accent #1a5cff.
   The accent is used ONLY as a button fill (white text) or as link text on white/near-white.
   On navy, links are white and underlined. Decorative colors (teal, coral, lavender, pale tints,
   deep-blue glow) are never the accent and never on buttons or links. Hover darkens. Nothing animates on
   its own; D25 hover/focus micro-interactions (<= 200 ms) exist only under prefers-reduced-motion: no-preference.
   Swap the warm pop color (coral -> amber) by changing --pop only. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/source-serif-4-latin-600-normal.woff2") format("woff2");
}

:root {
  --bg: #ffffff;
  --soft: #f4f6fb;
  --navy: #0f1a35;
  --navy-2: #172650;
  --navy-deep: #0a1228;
  --ink: #0f1a35;
  --ink-soft: #445069;
  --on-navy: #ffffff;
  --on-navy-soft: #c5cde0;
  --line: #e3e6ee;
  --line-navy: rgba(255, 255, 255, 0.14);
  --teal: #5eead4;
  --teal-dark: #0f766e;
  --lavender: #c4b5fd;
  --pop: #ff7a5c;
  --pop-ink: color-mix(in srgb, var(--pop) 72%, #000000);
  /* D25 fix: darker coral for SMALL text on light bands (5.2:1 on --soft, 5.7:1 on white); --pop-ink stays for large headings */
  --pop-ink-sm: color-mix(in srgb, var(--pop) 64%, #000000);
  --tint-indigo: #eceffd;
  --tint-teal: #e2f5f1;
  --tint-lavender: #f1ecfd;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(150, 236, 222, 0.26);
  --shadow-card: 0 1px 2px rgba(15, 26, 53, 0.06), 0 22px 44px -22px rgba(15, 26, 53, 0.3);
  --shadow-navy: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 28px 60px -28px rgba(0, 0, 0, 0.7);
  --accent: #1a5cff;
  --accent-dark: #1144c4;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --wrap: 74rem;
  --gutter: 1.25rem;
  /* static constellation texture (white + teal, low opacity) */
  --net: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'%3E%3Cg stroke='white' stroke-opacity='.055' stroke-width='1' fill='none'%3E%3Cpath d='M40 60 180 30 320 110 470 50 560 170M40 60 90 220 250 260 320 110M250 260 400 230 560 170M400 230 520 330 460 470 560 540M90 220 150 380 300 420 250 260M300 420 460 470 380 560 220 560 300 420M150 380 60 520 220 560'/%3E%3C/g%3E%3Cg fill='white' fill-opacity='.2'%3E%3Ccircle cx='40' cy='60' r='1.6'/%3E%3Ccircle cx='180' cy='30' r='1.6'/%3E%3Ccircle cx='470' cy='50' r='1.6'/%3E%3Ccircle cx='560' cy='170' r='1.6'/%3E%3Ccircle cx='90' cy='220' r='1.6'/%3E%3Ccircle cx='520' cy='330' r='1.6'/%3E%3Ccircle cx='150' cy='380' r='1.6'/%3E%3Ccircle cx='60' cy='520' r='1.6'/%3E%3Ccircle cx='380' cy='560' r='1.6'/%3E%3Ccircle cx='560' cy='540' r='1.6'/%3E%3C/g%3E%3Cg fill='%235eead4' fill-opacity='.45'%3E%3Ccircle cx='320' cy='110' r='2.2'/%3E%3Ccircle cx='250' cy='260' r='2.2'/%3E%3Ccircle cx='400' cy='230' r='2.2'/%3E%3Ccircle cx='300' cy='420' r='2.2'/%3E%3Ccircle cx='460' cy='470' r='2.2'/%3E%3Ccircle cx='220' cy='560' r='2.2'/%3E%3C/g%3E%3C/svg%3E");
  /* D25: faint static grain for navy surfaces (white specks, very low alpha; never the accent) */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 -.2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)' opacity='.42'/%3E%3C/svg%3E");
  /* D25 fix: a lighter grain for the inner-page heroes, so the small coral eyebrow stays >= 4.5:1 on every pixel */
  --grain-soft: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 -.2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)' opacity='.15'/%3E%3C/svg%3E");
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

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

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  line-height: 1.12;
}

h1,
h2 {
  font-family: var(--sans);
  font-weight: 750;
  letter-spacing: -0.03em;
}

/* D25: lighter, tighter h1 (sleek, not heavy) */
h1 {
  font-size: clamp(2.6rem, 1.55rem + 4.4vw, 5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2.125rem, 1.35rem + 2.9vw, 3.75rem);
  line-height: 1.04;
  text-wrap: balance;
}

h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1rem;
}

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

a:hover {
  color: var(--accent-dark);
  text-decoration-thickness: 2px;
}

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

@media (min-width: 48rem) {
  :root {
    --gutter: 2rem;
  }
}

/* one highlighted word per section heading: coral text, no underline or bar, so it can't read as a
   link. Darker coral on light backgrounds (AA for large text), bright coral on navy. */
.hl-word {
  color: var(--pop-ink);
}

.band-navy .hl-word,
.article-cta .hl-word {
  color: var(--pop);
}

/* ---------- bands ---------- */
.band-white {
  background: var(--bg);
}

.band-soft {
  background: var(--soft);
}

/* navy band: deep-blue + teal glow and a faint static constellation (never the accent) */
.band-navy {
  background-color: var(--navy);
  background-image:
    var(--grain),
    var(--net),
    radial-gradient(ellipse 60% 70% at 92% 0%, rgba(30, 64, 175, 0.55), rgba(30, 64, 175, 0) 72%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(20, 184, 166, 0.2), rgba(20, 184, 166, 0) 72%);
  background-size: 180px 180px, 600px 600px, auto, auto;
  color: var(--on-navy);
}

/* links and focus on navy surfaces */
.band-navy a:not(.btn),
.site-header a:not(.btn),
.site-footer a,
.article-cta a:not(.btn) {
  color: var(--on-navy);
}

.band-navy a:not(.btn):hover,
.site-header a:not(.btn):hover,
.site-footer a:hover {
  color: var(--on-navy);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.band-navy :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible,
.article-cta :focus-visible {
  outline-color: var(--on-navy);
}

/* ---------- buttons: pill + arrow-in-circle ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 0.55rem 0.6rem 0.55rem 1.4rem;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 12px 26px -12px rgba(15, 26, 53, 0.55);
}

.btn:hover {
  background: var(--accent-dark);
  color: #ffffff;
}

.btn:focus-visible {
  outline-offset: 4px;
  border-radius: 999px;
}

.btn-icon {
  flex: none;
  width: 2rem;
  height: 2rem;
  stroke: #ffffff;
  stroke-width: 1.75;
}

.btn-icon circle {
  fill: rgba(255, 255, 255, 0.16);
  stroke: rgba(255, 255, 255, 0.55);
}

/* soft white ring + teal glow so the blue button lifts off navy */
.band-navy .btn,
.site-header .btn,
.article-cta .btn {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12), 0 14px 36px -10px rgba(94, 234, 212, 0.5);
}

.btn-lg {
  min-height: 3.75rem;
  padding: 0.6rem 0.65rem 0.6rem 1.75rem;
  font-size: 1.0625rem;
}

.btn-lg .btn-icon {
  width: 2.375rem;
  height: 2.375rem;
}

.btn-sm {
  min-height: 2.75rem;
  padding: 0.4rem 0.45rem 0.4rem 1.1rem;
  font-size: 0.9375rem;
  gap: 0.6rem;
}

.btn-sm .btn-icon {
  width: 1.75rem;
  height: 1.75rem;
}

.cta-note {
  margin: 0.85rem 0 0;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.band-navy .cta-note,
.article-cta .cta-note {
  color: var(--on-navy-soft);
}

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--bg);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 0.375rem;
  font-weight: 600;
}

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

/* ---------- header / nav (navy on every page) ---------- */
.site-header {
  background: var(--navy);
  border-bottom: 1px solid var(--line-navy);
  color: var(--on-navy);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 4.5rem;
}

/* logo lockup (D20 "curl b"): the mark + "Bluecurl" as live text; teal + coral, never the accent */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  text-decoration: none;
}

.logo-mark {
  flex: none;
  width: 32px;
  height: 32px;
}

.logo-mark path {
  stroke: var(--teal);
}

.logo-mark circle {
  fill: var(--pop);
}

.site-header .wordmark,
.site-footer .wordmark {
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 0.625rem 0.375rem;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-cta {
  display: none;
}

@media (max-width: 35rem) {
  .nav-how {
    display: none;
  }
}

@media (min-width: 48rem) {
  .nav-links {
    gap: 0.75rem;
  }
}

/* D26: below ~352px the unchanged header markup overflowed (nav links ended at 350px; pre-existing on master).
   CSS only, header HTML untouched: a slightly smaller wordmark and tighter nav links on very narrow screens. */
@media (max-width: 24rem) {
  .nav {
    gap: 0.5rem;
  }

  .wordmark {
    gap: 7px;
    font-size: 1.3125rem;
  }

  .logo-mark {
    width: 28px;
    height: 28px;
  }

  .nav-links a, .nav-menu > summary {
    padding: 0.625rem 0.25rem;
    font-size: 0.875rem;
  }
}

/* D28: the Services menu, a flat native <details> (works with JS off). The narrow-screen sizes come from the D26 rule
   above (now up to 24rem); nothing here moves or animates. The panel sits above the hero (z <= 2) and below the float CTA
   (z 30); .site-header/.nav get no z-index, so no new stacking context. Never the accent. */
.nav {
  position: relative;
}

@media (max-width: 22rem) {
  .nav-links {
    gap: 0;
  }
}

.nav-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.1875rem;
  color: inherit;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}

/* zero specificity, so the D26 narrow-screen rule above still wins for padding/size */
:where(.nav-menu > summary) {
  padding: 0.625rem 0.375rem;
  font-size: 0.9375rem;
}

.nav-menu > summary::-webkit-details-marker {
  display: none;
}

.nav-chev {
  flex: none;
  width: 9px;
  height: 9px;
}

.nav-menu[open] .nav-chev {
  transform: rotate(180deg);
}

/* explicit: Chromium hides a closed <details> via content-visibility, not display */
.nav-menu:not([open]) > .nav-panel {
  display: none;
}

.nav-panel {
  position: absolute;
  z-index: 20;
  top: 100%;
  right: 0;
  left: 0;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  background: var(--navy);
  border: 1px solid var(--line-navy);
  border-width: 0 0 1px;
}

.nav-panel a {
  padding: 0.625rem 0.75rem;
  font-size: 0.9375rem;
}

.nav-panel a:focus-visible {
  outline-offset: -3px;
}

@media (min-width: 48rem) {
  .nav-menu {
    position: relative;
  }

  .nav-panel {
    right: auto;
    width: 18rem;
    border-width: 1px;
    border-radius: 0.75rem;
  }
}

@media (min-width: 68rem) {
  .nav-cta {
    display: inline-flex;
    margin-left: 1.25rem;
  }
}

/* ---------- hero (D18: h1 -> subhead -> CTA, illustration beside; generous whitespace) ---------- */
.hero {
  position: relative;
  padding: 3.5rem 0 8rem;
  background-image:
    var(--grain),
    var(--net),
    radial-gradient(ellipse 55% 65% at 80% 45%, rgba(20, 184, 166, 0.24), rgba(20, 184, 166, 0) 70%),
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(30, 64, 175, 0.7), rgba(30, 64, 175, 0) 72%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(196, 181, 253, 0.12), rgba(196, 181, 253, 0) 72%);
  background-size: 180px 180px, 600px 600px, auto, auto, auto;
}

.hero-grid {
  display: grid;
  gap: 0;
}

.hero h1 {
  font-size: clamp(2.5rem, 1.4rem + 4.2vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.h1-line {
  display: block;
}

/* two-tone h1: "growing your business." on a solid teal block with navy text. An inline-block
   is its own box, so it never paints over the line above and can wrap inside on narrow screens. */
.hero h1 .hl {
  display: inline-block;
  margin-top: 0.12em;
  padding: 0.02em 0.14em 0.08em;
  background: var(--teal);
  border-radius: 0.14em;
  color: var(--navy);
  line-height: 1.02;
  box-shadow: 0 0 48px rgba(94, 234, 212, 0.3);
}

.lede {
  max-width: 44ch;
  margin: 2rem 0 2.5rem;
  color: var(--on-navy-soft);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.hero-art-wrap {
  margin-top: 3.5rem;
}

.hero-art {
  width: 100%;
  max-width: 22rem;
  height: auto;
  margin: 0 auto;
}

.art-rings { stroke: rgba(255, 255, 255, 0.09); }
.art-dots { fill: rgba(255, 255, 255, 0.45); }
.art-white { stroke: rgba(255, 255, 255, 0.92); }
.art-soft { stroke: rgba(255, 255, 255, 0.5); }
.art-faint { stroke: rgba(255, 255, 255, 0.28); }
.art-teal { stroke: var(--teal); }
.art-teal-fill { fill: var(--teal); }
.art-lav { stroke: var(--lavender); }

@media (min-width: 64rem) {
  .hero {
    padding: 5rem 0 10rem;
  }

  /* h1 spans the full width; subhead + CTA left; a smaller illustration offset to the right */
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    column-gap: 5rem;
    align-items: start;
  }

  .hero-copy {
    display: contents;
  }

  .hero h1 {
    grid-column: 1 / -1;
  }

  .lede,
  .cta-block {
    grid-column: 1;
  }

  .lede {
    margin: 2.75rem 0 3rem;
    font-size: 1.1875rem;
  }

  .hero-art-wrap {
    grid-column: 2;
    grid-row: 2 / span 2;
    align-self: center;
    justify-self: end;
    width: 100%;
    max-width: 26rem;
    margin-top: 1.5rem;
  }

  .hero-art {
    max-width: 26rem;
  }
}

/* ---------- what you get back: a navy glass card overhanging the hero's bottom edge ---------- */
.getback {
  position: relative;
  z-index: 2;
  margin-top: -3.5rem;
}

.getback-card {
  display: grid;
  gap: 1.25rem;
  padding: 1.75rem 1.5rem;
  background: linear-gradient(140deg, var(--navy-2) 0%, var(--navy) 70%);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 30px 60px -24px rgba(10, 18, 40, 0.55);
  color: var(--on-navy);
}

.getback-title {
  margin: 0;
  color: var(--pop);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.getback-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.getback-list li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--on-navy);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
}

/* icon chips: glass square, teal or coral line icon (decorative; never the accent) */
.chip {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 0.9rem;
}

.chip .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.chip-teal .icon {
  color: var(--teal);
}

.chip-coral {
  border-color: rgba(255, 122, 92, 0.4);
  box-shadow: 0 0 18px -4px rgba(255, 122, 92, 0.45);
}

.chip-coral .icon {
  color: var(--pop);
}

@media (min-width: 40rem) {
  .getback-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
  }
}

@media (min-width: 64rem) {
  .getback {
    margin-top: -5rem;
  }

  .getback-card {
    row-gap: 1.4rem;
    padding: 2rem 2.5rem 2.25rem;
  }

  .getback-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 2.25rem;
  }
}

/* ---------- sections ---------- */
.section {
  padding: 4.5rem 0;
}

.section-tight {
  padding: 3.5rem 0;
}

@media (min-width: 64rem) {
  .section {
    padding: 7rem 0;
  }

  .section-tight {
    padding: 5rem 0;
  }
}

.section-head {
  max-width: 48rem;
  margin-bottom: 3.25rem;
}

.section-head p,
.section-intro {
  margin: 1.25rem 0 0;
  color: var(--ink-soft);
  font-size: 1.1875rem;
}

.band-navy .section-intro {
  color: var(--on-navy-soft);
}

.section-intro {
  max-width: 40rem;
}

.h-small {
  font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.75rem);
}

/* ---------- from busywork to big picture ---------- */
.flow3 {
  display: grid;
  gap: 3.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 60rem) {
  .flow3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3.5rem;
    align-items: stretch;
  }
}

.flow3-col {
  position: relative;
  padding: 2.5rem 2rem 2.75rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-card);
}

.flow3-col h3 {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.flow3-col ul {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow3-col li {
  position: relative;
  padding-left: 1.6rem;
}

/* column 1: the busywork (muted, dashed) */
.flow3-busy {
  background: var(--soft);
  border: 1px dashed #b9c0d0;
  box-shadow: none;
}

.flow3-busy li {
  color: var(--ink-soft);
}

.flow3-busy li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.8em;
  width: 0.75rem;
  height: 2px;
  background: #9aa3b8;
}

/* column 2: AI takes it on (navy glass) */
.flow3-ai {
  background-color: var(--navy);
  background-image:
    var(--grain),
    var(--net),
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(30, 64, 175, 0.6), rgba(30, 64, 175, 0) 72%);
  background-size: 180px 180px, 600px 600px, auto;
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 60px -28px rgba(10, 18, 40, 0.6);
  color: var(--on-navy);
}

.flow3-ai li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.5em;
  width: 0.8rem;
  height: 0.42rem;
  border-left: 2.5px solid var(--teal);
  border-bottom: 2.5px solid var(--teal);
  transform: rotate(-45deg);
}

/* column 3: what you get back to (bright, bold) */
.flow3-you {
  background: var(--bg);
  border: 1px solid var(--line);
  border-top: 4px solid var(--pop);
}

.flow3-you li {
  color: var(--ink);
  font-size: 1.1875rem;
  font-weight: 700;
}

.flow3-you li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.55em;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--pop);
  border-radius: 50%;
}

/* arrows between the columns (static decoration): down on mobile, right on desktop */
.flow3-busy::after,
.flow3-ai::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: -3rem;
  width: 2.75rem;
  height: 2.75rem;
  margin-left: -1.375rem;
  background-color: var(--pop);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1a35' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M6 13l6 6 6-6'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 1.4rem 1.4rem;
  border-radius: 50%;
  box-shadow: 0 8px 22px -6px rgba(255, 122, 92, 0.6);
}

@media (min-width: 60rem) {
  .flow3-busy::after,
  .flow3-ai::after {
    top: 50%;
    right: -3.125rem;
    bottom: auto;
    left: auto;
    margin: -1.375rem 0 0;
    transform: rotate(-90deg);
  }
}

.flow3-note {
  max-width: 44rem;
  margin: 4.5rem auto 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2.125rem);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

/* ---------- icons ---------- */
.icon {
  width: 2rem;
  height: 2rem;
  color: var(--navy);
}

/* ---------- what we build: bento cards ---------- */
.pillars {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 56rem) {
  .pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.pillar {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem 2.25rem;
  background: var(--tint-indigo);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-card);
}

.pillar:nth-child(2) {
  background: var(--tint-teal);
}

.pillar:nth-child(3) {
  background: var(--tint-lavender);
}

/* icon chip with a warm glow */
.pillar .icon {
  width: 3.75rem;
  height: 3.75rem;
  padding: 0.8rem;
  margin-bottom: 1.5rem;
  background: var(--bg);
  border-radius: 1.1rem;
  box-shadow: 0 10px 24px -8px rgba(255, 122, 92, 0.55), 0 0 0 1px rgba(255, 122, 92, 0.25);
}

.pillar h3 {
  margin-bottom: 0.6rem;
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.pill {
  align-self: flex-start;
  margin: 0 0 0.9rem;
  padding: 0.3rem 0.75rem;
  background: var(--navy);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.5;
}

.pillar > p {
  color: var(--ink-soft);
}

.pillar > .pill {
  color: var(--on-navy);
}

.pillar .eg-label {
  margin: 0.5rem 0 0.5rem;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 700;
}

.eg {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  font-size: 0.9875rem;
}

.eg li + li {
  margin-top: 0.5rem;
}

/* ---------- safe by design (navy) ---------- */
.safe-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 64rem) {
  .safe-grid {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: start;
  }
}

.safe-list {
  display: grid;
  gap: 1.25rem;
  margin: 2.75rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: commit;
}

@media (min-width: 40rem) {
  .safe-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* glassy cards with thin luminous borders */
.safe-list li {
  padding: 1.75rem 1.6rem 1.85rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-navy);
  counter-increment: commit;
}

.safe-list li::before {
  content: counter(commit);
  display: block;
  margin-bottom: 0.85rem;
  color: var(--pop);
  font-family: var(--serif);
  font-size: 4.75rem;
  font-weight: 600;
  line-height: 0.9;
}

.safe-list .icon {
  display: none;
}

.safe-list h3 {
  margin-bottom: 0.5rem;
  font-size: 1.375rem;
}

.safe-list p {
  margin: 0;
  color: var(--on-navy-soft);
}

.flow {
  margin: 0;
  padding: 2rem 1.5rem 1.5rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-navy);
}

@media (min-width: 64rem) {
  .flow {
    margin-top: 7.5rem;
  }
}

.flow-svg {
  width: 100%;
  max-width: 20rem;
  height: auto;
  margin: 0 auto;
}

.flow-line {
  stroke: rgba(255, 255, 255, 0.55);
}

.flow-node {
  fill: var(--navy);
  stroke: var(--teal);
}

.flow-num {
  fill: var(--teal);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
}

.flow-label {
  fill: var(--on-navy);
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 800;
}

.flow-sub {
  fill: var(--on-navy-soft);
  font-family: var(--sans);
  font-size: 14.5px;
}

.flow figcaption {
  margin-top: 1rem;
  color: var(--on-navy-soft);
  font-size: 0.9375rem;
  text-align: center;
}

.own-business {
  max-width: 48rem;
  margin-top: 4rem;
  padding-top: 2.75rem;
  border-top: 1px solid var(--line-navy);
}

.own-business h3 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.own-business p {
  color: var(--on-navy-soft);
}

.own-business p:last-child {
  margin-bottom: 0;
  font-weight: 600;
}

.own-business a {
  text-decoration: underline;
}

/* ---------- mid CTA: contrasting card ---------- */
.cta-band {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  padding: 2.5rem 1.75rem;
  background: linear-gradient(120deg, var(--tint-teal) 0%, var(--tint-lavender) 100%);
  border-radius: 1.75rem;
  box-shadow: var(--shadow-card);
}

.cta-band h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.875rem, 1.4rem + 1.7vw, 2.75rem);
}

.cta-band p {
  max-width: 36rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

.cta-band .cta-note {
  margin-top: 0.85rem;
  font-size: 0.9375rem;
}

@media (min-width: 56rem) {
  .cta-band {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3rem;
    padding: 3.5rem;
  }
}

/* ---------- how we work: the steps are the D25 timeline (see below) ---------- */
#how {
  --tl-ring: var(--soft);
}

.engagements {
  display: grid;
  gap: 1.25rem;
  margin-top: 4rem;
}

@media (min-width: 48rem) {
  .engagements {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.eng-card {
  padding: 2.25rem 2rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-card);
}

.eng-card + .eng-card {
  border-top-color: var(--pop);
}

.eng-card h3 {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.eng-card p {
  margin: 0.6rem 0 0;
  color: var(--ink-soft);
}

.note {
  margin: 2rem 0 0;
  color: var(--ink);
  font-weight: 600;
}

/* ---------- who you'll work with ---------- */
.narrow {
  max-width: 48rem;
}

.person {
  margin: 1.5rem 0 1rem;
  font-size: 1.1875rem;
}

#about p:not(.person):not(.accountability) {
  color: var(--ink-soft);
  font-size: 1.125rem;
}

.accountability {
  margin: 2rem 0 0;
  padding: 0.25rem 0 0.25rem 1.5rem;
  border-left: 6px solid var(--pop);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2.25rem);
  font-weight: 600;
  line-height: 1.28;
}

@media (min-width: 64rem) {
  #about .narrow {
    display: grid;
    max-width: var(--wrap);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    column-gap: 5rem;
    align-items: start;
  }

  #about h2 {
    grid-column: 1;
    grid-row: 1;
  }

  #about .person {
    grid-column: 1;
    grid-row: 2;
  }

  #about p:not(.person):not(.accountability) {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0.5rem;
  }

  #about .accountability {
    grid-column: 2;
    grid-row: 2;
    margin-top: 1rem;
  }
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 1rem;
}

@media (min-width: 56rem) {
  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.faq-item {
  padding: 1.75rem 1.75rem 1.85rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-card);
}

.faq-item h3 {
  margin-bottom: 0.65rem;
  font-size: 1.1875rem;
}

.faq-item p {
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- final CTA (navy) ---------- */
#contact {
  background-image:
    var(--grain),
    var(--net),
    radial-gradient(ellipse 55% 75% at 50% 110%, rgba(20, 184, 166, 0.3), rgba(20, 184, 166, 0) 72%),
    radial-gradient(ellipse 60% 70% at 50% -10%, rgba(30, 64, 175, 0.6), rgba(30, 64, 175, 0) 72%);
  background-size: 180px 180px, 600px 600px, auto, auto;
}

.final-cta {
  max-width: 54rem;
  margin: 0 auto;
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(2.5rem, 1.4rem + 4.4vw, 5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.final-cta p {
  max-width: 38rem;
  margin: 1.5rem auto 2.25rem;
  color: var(--on-navy-soft);
  font-size: 1.1875rem;
}

.final-cta .cta-note {
  margin: 0.85rem auto 0;
  font-size: 0.9375rem;
}

/* ---------- resources ---------- */
.resources {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 56rem) {
  .resources {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }

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

.resources a {
  display: block;
  height: 100%;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--line);
  border-top: 3px solid var(--pop);
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
  color: var(--ink);
  text-decoration: none;
}

.resources li:nth-child(2) a {
  border-top-color: var(--teal);
}

.resources li:nth-child(3) a {
  border-top-color: var(--lavender);
}

.resources a:hover {
  border-color: var(--navy);
}

.res-title {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--accent);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
}

.resources a:hover .res-title {
  color: var(--accent-dark);
  text-decoration: underline;
}

.res-desc {
  display: block;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

/* ---------- footer (navy) ---------- */
.site-footer {
  padding: 4rem 0 2rem;
  background-color: var(--navy-deep);
  background-image: var(--grain), var(--net);
  background-size: 180px 180px, 600px 600px;
  color: var(--on-navy);
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 56rem) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr) minmax(0, 1.2fr);
    gap: 3rem;
  }
}

.footer-brand p {
  margin: 0.85rem 0 0;
  color: var(--on-navy-soft);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li a {
  display: inline-block;
  padding: 0.3rem 0;
  text-decoration: none;
}

.footer-label {
  margin: 0 0 0.25rem;
  font-weight: 700;
}

.footer-contact p:last-child {
  margin: 0;
  color: var(--on-navy-soft);
}

.footer-legal {
  margin: 2.75rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-navy);
  color: var(--on-navy-soft);
}

/* ---------- articles ---------- */
.article-hero {
  --grain: var(--grain-soft);
  padding: 2.5rem 0 3.75rem;
}

.article-hero .wrap,
.article-main {
  max-width: 48rem;
}

.back-link {
  margin: 0 0 2rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.back-link a {
  text-decoration: underline;
}

/* D25 fix: the small coral eyebrow sits on a near-solid navy pill, so no grain speck or constellation dot can
   sit right behind its letters (every glyph pixel >= 4.5:1) */
.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.3rem 0.8rem;
  background: rgba(10, 18, 40, 0.9);
  border: 1px solid var(--line-navy);
  border-radius: 999px;
  color: var(--pop);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article h1 {
  font-size: clamp(2.375rem, 1.5rem + 3.4vw, 3.875rem);
  line-height: 1.02;
}

.byline {
  margin: 1.5rem 0 0;
  color: var(--on-navy-soft);
  font-size: 0.9375rem;
}

.article-main {
  padding-top: 3rem;
  padding-bottom: 4.5rem;
}

.article-body .lead {
  font-size: 1.25rem;
  line-height: 1.6;
}

.article-body h2 {
  margin: 3rem 0 1rem;
  font-size: clamp(1.625rem, 1.35rem + 1vw, 2.125rem);
}

.article-body h3 {
  margin: 2rem 0 0.5rem;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.article-body li + li {
  margin-top: 0.5rem;
}

.callout {
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--tint-teal);
  border-left: 5px solid var(--teal-dark);
  border-radius: 0 1rem 1rem 0;
}

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

.article-cta {
  margin-top: 3.5rem;
  padding: 2.75rem 1.75rem;
  background-color: var(--navy);
  background-image:
    var(--grain),
    var(--net),
    radial-gradient(ellipse 70% 90% at 100% 0%, rgba(30, 64, 175, 0.6), rgba(30, 64, 175, 0) 72%),
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(20, 184, 166, 0.22), rgba(20, 184, 166, 0) 72%);
  background-size: 180px 180px, 600px 600px, auto, auto;
  border: 1px solid var(--glass-border);
  border-radius: 1.75rem;
  box-shadow: 0 30px 60px -30px rgba(10, 18, 40, 0.6);
  color: var(--on-navy);
  text-align: center;
}

.article-cta h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.3vw, 2.375rem);
}

.article-cta p {
  max-width: 32rem;
  margin: 0.85rem auto 1.75rem;
  color: var(--on-navy-soft);
}

.article-cta .cta-note {
  margin: 0.85rem auto 0;
}

.related {
  margin-top: 3.5rem;
}

/* ---------- service pages (D22) ---------- */
.service-lede {
  max-width: 40rem;
  margin: 1.5rem 0 2rem;
  color: var(--on-navy-soft);
  font-size: 1.1875rem;
  line-height: 1.6;
}

.article.service .article-hero {
  padding-bottom: 4rem;
}

.article-body .snippet {
  margin: 0 0 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--tint-teal);
  border-left: 5px solid var(--teal-dark);
  border-radius: 0 1rem 1rem 0;
  font-size: 1.125rem;
  line-height: 1.6;
}

.service-faq {
  margin-top: 4rem;
}

.service-faq h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.75rem, 1.4rem + 1.3vw, 2.375rem);
}

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

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

.pillar-link {
  margin: 1.25rem 0 0;
  font-weight: 700;
}

.pillar-link + .pillar-link {
  margin-top: 0.5rem;
}

/* =====================================================================================
   D25 sleek pass. Components are static; every hover/focus movement lives in the
   prefers-reduced-motion: no-preference block at the end (<= 200 ms, hover/focus only).
   Decorative colours only (navy, teal, coral, tints); the accent stays on buttons/links.
   ===================================================================================== */

/* ---------- buttons: brighter on hover/focus (glow + lit icon ring; the fill still darkens) ---------- */
.btn:hover,
.btn:focus-visible {
  box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.22), 0 16px 34px -12px rgba(15, 26, 53, 0.6);
}

.band-navy .btn:hover,
.band-navy .btn:focus-visible,
.site-header .btn:hover,
.site-header .btn:focus-visible,
.article-cta .btn:hover,
.article-cta .btn:focus-visible {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2), 0 16px 42px -8px rgba(94, 234, 212, 0.75);
}

.btn:hover .btn-icon circle,
.btn:focus-visible .btn-icon circle {
  fill: rgba(255, 255, 255, 0.3);
  stroke: #ffffff;
}

/* ---------- the free call as a deliverable (homepage hero + final CTA) ---------- */
.cta-deliver {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  max-width: 30rem;
  margin: 0.75rem 0 0;
  color: var(--on-navy);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
}

.cta-deliver .icon {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.05rem;
  color: var(--teal);
}

.final-cta .cta-deliver {
  width: fit-content;
  max-width: 40rem;
  margin: 0.85rem auto 0;
  color: var(--on-navy);
  font-size: 0.9375rem;
  text-align: left;
}

/* ---------- tools strip (text names only; grey on white; static) ---------- */
.tools {
  padding: 3.5rem 0 0;
}

.tools .wrap {
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.tools-title {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.tools-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 2rem;
  max-width: 62rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.tools-list li {
  color: #5d6780;
  font-size: 1.1875rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.tools-note {
  max-width: 40rem;
  margin: 1.5rem auto 0;
  color: var(--ink-soft);
  font-size: 0.8125rem;
}

@media (min-width: 64rem) {
  .tools {
    padding-top: 4.5rem;
  }

  .tools-list {
    gap: 0.9rem 2.75rem;
  }

  .tools-list li {
    font-size: 1.375rem;
  }
}

/* D25a: monochrome logos (simple-icons marks drawn in currentColor = the slate above) + a small name each;
   OpenAI has no clean mark, so it is a text chip. Brand colour only on hover, and only without reduced motion. */
.tools-logos {
  gap: 1.1rem 1.9rem;
}

.tools-logos li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.tool-logo {
  flex: none;
  width: 22px;
  height: 22px;
}

.tool-chip {
  padding: 0.15rem 0.7rem;
  border: 1px solid #c9cfdb;
  border-radius: 999px;
  font-weight: 700;
}

@media (min-width: 64rem) {
  .tools-logos {
    gap: 1.25rem 2.5rem;
  }

  .tools-logos li {
    gap: 0.6rem;
    font-size: 1.0625rem;
  }

  .tool-logo {
    width: 28px;
    height: 28px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .tool-logo {
    transition: color 160ms ease-out;
  }

  .tools-logos li:hover .tool-logo {
    color: var(--brand, var(--ink));
  }
}

/* ---------- timeline: "How we work" (homepage + service pages) ---------- */
.timeline {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: tl;
}

.tl-step {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  align-content: start;
  column-gap: 1.25rem;
  padding-bottom: 2rem;
  counter-increment: tl;
}

.tl-step:last-child {
  padding-bottom: 0;
}

/* the connector: a 1px line from one chip to the next */
.tl-step::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 3.6rem;
  bottom: 0.6rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.6), rgba(15, 26, 53, 0.14));
}

.tl-step:last-child::before {
  display: none;
}

.tl-chip {
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: var(--navy);
  border-radius: 0.95rem;
  box-shadow: 0 0 0 5px var(--tl-ring, var(--bg)), 0 12px 24px -12px rgba(15, 26, 53, 0.6);
}

.tl-chip .icon {
  width: 1.4rem;
  height: 1.4rem;
  color: var(--teal);
}

.timeline h3 {
  grid-column: 2;
  margin: 0;
  font-size: 1.1875rem;
}

.timeline h3::before {
  content: "Step " counter(tl);
  display: block;
  margin-bottom: 0.25rem;
  color: var(--pop-ink-sm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.timeline p {
  grid-column: 2;
  margin: 0.4rem 0 0;
  color: var(--ink-soft);
}

/* homepage, desktop: 3 x 2 with a horizontal connector between the chips of a row */
.tl-grid h3 {
  font-size: 1.3125rem;
}

@media (min-width: 64rem) {
  .tl-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 2.75rem;
    row-gap: 3.25rem;
  }

  .tl-grid .tl-step {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 0;
  }

  .tl-grid .tl-chip {
    grid-row: auto;
    margin-bottom: 1.25rem;
  }

  .tl-grid h3,
  .tl-grid p {
    grid-column: 1;
  }

  .tl-grid .tl-step::before {
    top: 1.5rem;
    right: -1.75rem;
    bottom: auto;
    left: 4rem;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, rgba(15, 118, 110, 0.6), rgba(15, 26, 53, 0.14));
  }

  .tl-grid .tl-step:nth-child(3n)::before {
    display: none;
  }
}

/* ---------- inner pages: wide layout with a sticky table of contents (desktop) ---------- */
.toc {
  display: none;
}

.toc-title {
  margin: 0 0 0.75rem;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc a {
  display: block;
  padding: 0.35rem 0;
  color: var(--ink-soft);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}

.toc a:hover {
  color: var(--ink);
  text-decoration: underline;
}

@media (min-width: 64rem) {
  .article-hero .wrap {
    max-width: var(--wrap);
  }

  .article h1 {
    max-width: 15em;
  }

  .article-main {
    display: grid;
    grid-template-columns: 14rem minmax(0, 1fr);
    column-gap: 4.5rem;
    align-items: start;
    max-width: var(--wrap);
  }

  .toc {
    display: block;
    position: sticky;
    top: 2rem;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    margin-top: 0.5rem;
    padding-left: 1.1rem;
    border-left: 1px solid var(--line);
  }

  /* prose keeps a comfortable measure; components use the full column */
  .article-body > :not(.wide) {
    max-width: 46rem;
  }

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

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

/* ---------- icon-card grid ---------- */
.icon-cards {
  display: grid;
  gap: 1rem;
  margin: 1.75rem 0 2.25rem;
}

@media (min-width: 40rem) {
  .icon-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .icon-cards.last-wide > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

.icon-card {
  padding: 1.6rem 1.5rem 1.5rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-card);
}

.article-body .icon-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1875rem;
}

.icon-card p {
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
}

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

.article-body .icon-card ul {
  margin: 0.25rem 0 0.75rem;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.975rem;
}

.article-body .icon-card ul:last-child {
  margin-bottom: 0;
}

.card-chip {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  background: var(--tint-teal);
  border-radius: 0.85rem;
}

.card-chip .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--teal-dark);
}

.icon-card:nth-child(3n + 2) .card-chip,
.card-list li:nth-child(3n + 2) .card-chip {
  background: var(--tint-indigo);
}

.icon-card:nth-child(3n + 2) .card-chip .icon,
.card-list li:nth-child(3n + 2) .card-chip .icon {
  color: var(--navy);
}

.icon-card:nth-child(3n) .card-chip,
.card-list li:nth-child(3n) .card-chip {
  background: var(--tint-lavender);
}

.icon-card:nth-child(3n) .card-chip .icon,
.card-list li:nth-child(3n) .card-chip .icon {
  color: #4c3a99;
}

/* ---------- lists as cards: check / ask / num / point ---------- */
.article-body .card-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 2.25rem;
  padding: 0;
  list-style: none;
  counter-reset: card;
}

@media (min-width: 40rem) {
  .article-body .card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

.article-body .card-list li {
  position: relative;
  margin: 0;
  padding: 1.15rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(15, 26, 53, 0.05), 0 12px 28px -18px rgba(15, 26, 53, 0.32);
  counter-increment: card;
}

.card-list p {
  margin: 0;
}

.article-body .check-cards li,
.article-body .ask-cards li,
.article-body .num-cards li {
  padding-left: 3.6rem;
}

.check-cards li::before,
.ask-cards li::before,
.num-cards li::before {
  content: "";
  position: absolute;
  top: 1.05rem;
  left: 1.1rem;
  width: 1.75rem;
  height: 1.75rem;
  background-color: var(--tint-teal);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 1.05rem 1.05rem;
  border-radius: 50%;
}

.check-cards li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='2.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

.ask-cards li::before {
  background-color: var(--tint-lavender);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1a35' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.6 8.6a3.5 3.5 0 1 1 4.9 3.2c-.9.4-1.5 1.2-1.5 2.2v.6'/%3E%3Cpath d='M12 18.6v.1'/%3E%3C/svg%3E");
}

.num-cards li::before {
  content: counter(card);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--navy);
  color: var(--teal);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
}

.article-body .point-cards li {
  border-top: 3px solid var(--pop);
}

.article-body .point-cards li:nth-child(3n + 2) {
  border-top-color: var(--teal);
}

.article-body .point-cards li:nth-child(3n) {
  border-top-color: var(--lavender);
}

.point-cards .card-chip {
  margin-bottom: 0.85rem;
}

/* D26: red-flag cards (a coral "x" chip; decorative, never the accent) */
.article-body .flag-cards li {
  padding-left: 3.6rem;
}

.flag-cards li::before {
  content: "";
  position: absolute;
  top: 1.05rem;
  left: 1.1rem;
  width: 1.75rem;
  height: 1.75rem;
  background-color: #fde9e4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a34e3b' stroke-width='2.75' stroke-linecap='round'%3E%3Cpath d='M7.5 7.5l9 9M16.5 7.5l-9 9'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 1rem 1rem;
  border-radius: 50%;
}

/* ---------- side-by-side comparison (stacks on mobile) ---------- */
.compare {
  display: grid;
  margin: 1.75rem 0 2rem;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-card);
}

.cmp-col {
  padding: 1.6rem 1.5rem 1.7rem;
}

.cmp-ots {
  background: var(--soft);
}

.cmp-dfy {
  border-top: 1px solid var(--line);
  box-shadow: inset 0 3px 0 var(--teal);
}

@media (min-width: 40rem) {
  .compare {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cmp-dfy {
    border-top: 0;
    border-left: 1px solid var(--line);
  }
}

.article-body .cmp-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.75rem;
  font-size: 1.3125rem;
}

.cmp-head::before {
  content: "";
  flex: none;
  width: 0.65rem;
  height: 0.65rem;
  background: #9aa3b8;
  border-radius: 50%;
}

.cmp-dfy .cmp-head::before {
  background: var(--teal-dark);
}

.cmp-col p {
  color: var(--ink-soft);
}

.article-body .cmp-col ul {
  margin: 0;
  padding-left: 1.1rem;
}

/* ---------- navy band inside the reading column (full-bleed on mobile) ---------- */
.article-body .navy-band {
  margin: 2.75rem calc(-1 * var(--gutter));
  padding: 2.5rem var(--gutter) 2.6rem;
  color: var(--on-navy);
}

@media (min-width: 40rem) {
  .article-body .navy-band {
    margin: 3rem 0;
    padding: 2.6rem 2.4rem 2.7rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.75rem;
    box-shadow: 0 30px 60px -30px rgba(10, 18, 40, 0.6);
  }
}

.article-body .navy-band h2 {
  margin-top: 0;
}

.navy-band p {
  color: var(--on-navy-soft);
}

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

.navy-band a {
  text-decoration: underline;
}

.article-body .commit-grid {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 40rem) {
  .article-body .commit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.article-body .commit-grid li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0;
  padding: 0.85rem 1rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  color: var(--on-navy);
  font-weight: 700;
  line-height: 1.35;
}

.commit-grid .chip {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.8rem;
}

.commit-grid .chip .icon {
  width: 1.35rem;
  height: 1.35rem;
}

.navy-callout p {
  color: var(--on-navy);
  font-size: 1.1875rem;
  line-height: 1.55;
}

.navy-callout strong {
  color: var(--teal);
}

/* ---------- timeline inside the reading column ---------- */
.article-body .timeline {
  margin: 1.75rem 0 2rem;
  padding: 0;
}

.article-body .tl-step {
  margin: 0;
}

.article-body .timeline h3 {
  margin: 0;
}

/* ---------- floating booking CTA (shown by the script only between other CTAs; JS off = hidden) ---------- */
.float-cta {
  display: none;
  position: fixed;
  z-index: 30;
  right: 1.5rem;
  bottom: 1.5rem;
}

.float-cta.is-on {
  display: block;
}

.float-cta .btn {
  min-height: 3rem;
  padding: 0.5rem 0.55rem 0.5rem 1.35rem;
  font-size: 1rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 18px 40px -12px rgba(10, 18, 40, 0.65);
}

.float-cta .btn-icon {
  width: 2rem;
  height: 2rem;
}

@media (max-width: 47.99rem) {
  .float-cta {
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0.55rem var(--gutter) calc(0.55rem + env(safe-area-inset-bottom, 0px));
    background: rgba(10, 18, 40, 0.96);
    border-top: 1px solid var(--line-navy);
  }

  .float-cta .btn {
    display: flex;
    width: 100%;
    min-height: 2.75rem;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    box-shadow: none;
  }

  .float-cta .btn-icon {
    width: 1.75rem;
    height: 1.75rem;
  }
}

/* ---------- hairlines: one 1px rule colour for every divider ---------- */
.band-soft {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ---------- hover: glow (+ lift below) ONLY on clickable cards; non-link cards get a subtle border tint ---------- */
.resources a:hover,
.resources a:focus-visible {
  box-shadow: 0 0 0 1px rgba(15, 118, 110, 0.16), 0 24px 46px -20px rgba(15, 26, 53, 0.36), 0 0 30px -8px rgba(94, 234, 212, 0.38);
}

.faq-item:hover,
.icon-card:hover,
.check-cards li:hover,
.ask-cards li:hover,
.num-cards li:hover {
  border-color: rgba(15, 118, 110, 0.3);
}

.safe-list li:hover {
  border-color: rgba(150, 236, 222, 0.45);
}

/* ---------- micro-interactions: ONLY when the visitor hasn't asked for reduced motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .btn {
    transition: background-color 160ms ease-out, box-shadow 160ms ease-out;
  }

  .btn-icon path {
    transition: transform 160ms ease-out;
  }

  .btn-icon circle {
    transition: fill 160ms ease-out, stroke 160ms ease-out;
  }

  .btn:hover .btn-icon path,
  .btn:focus-visible .btn-icon path {
    transform: translateX(2.5px);
  }

  .resources a {
    transition: transform 180ms ease-out, box-shadow 180ms ease-out, border-color 180ms ease-out;
  }

  .resources a:hover,
  .resources a:focus-visible {
    transform: translateY(-2px);
  }
}

/* ---------- motion: nothing moves on its own, and reduced motion guarantees it ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
