/* Accentflow website 2026 — shared styles.
   Tokens are copied verbatim from 05_Design/AfDesignSystem2026/tokens/*.css
   (the source of truth). The 3D Accent axis colors follow the Sync Cycle logo:
   X Timing = blue, Y Intonation = green, Z Pronunciation = orange, Sync = gold. */

:root {
  /* brand */
  --af-navy: #00243F; --af-navy-700: #001A36; --af-navy-900: #000B28; --af-ink: #001A36;
  --af-blue: #014FA2; --af-blue-600: #0C2C87; --af-blue-400: #00ADEF; --af-blue-300: #8CD4F4;
  --af-blue-100: #DAF0FB; --af-blue-50: #EEF8FD;
  --af-green: #00CC99; --af-green-600: #00BFA6;
  --af-gold: #C8AA25; --af-gold-200: #EADD99; --af-gold-50: #FBF6DC;
  /* neutrals */
  --af-white: #FFFFFF; --af-paper: #F4F7FA; --af-gray-50: #EDF1F6; --af-gray-100: #E0E6EE;
  --af-gray-200: #C9D2DD; --af-gray-300: #A7B2C1; --af-gray-400: #818EA0; --af-gray-500: #616E80; --af-gray-700: #3E4A5A;
  --af-danger: #E0604B;
  /* 3D Accent axes: light surfaces (tda trio) and navy surfaces (logo's dark-background set) */
  --tda-blue: #1B2FD9; --tda-blue-100: #E3E7FC;
  --tda-green: #0A9955; --tda-green-100: #DCF3E7;
  --tda-orange: #E4661F; --tda-orange-100: #FBE7DA;
  --tda-blue-dk: #6AA8FF; --tda-green-dk: #3DDC84; --tda-orange-dk: #FF9A3D;
  --sync-gold: #C8AA25; --sync-gold-hi: #DCC24A;
  /* semantic */
  --text-strong: var(--af-ink); --text-body: var(--af-gray-700); --text-muted: var(--af-gray-500);
  --border-subtle: var(--af-gray-100); --border-default: var(--af-gray-200);
  --grad-flow: linear-gradient(100deg, var(--af-blue-300) 0%, var(--af-blue-400) 55%, var(--af-blue) 100%);
  /* theme roles: everything below reads these, so the dark theme only has to restate them */
  --surface-page: #FFFFFF; --surface-alt: var(--af-paper); --surface-tint: var(--af-blue-50); --surface-card: #FFFFFF;
  --band: var(--af-navy); --footer-bg: var(--af-navy); --header-bg: rgba(255, 255, 255, 0.88);
  --text-faint: var(--af-gray-400);
  --accent-text: var(--af-blue); --link: var(--af-blue-600);
  --border-accent: var(--af-blue-100); --rule-strong: var(--af-navy);
  --btn-bg: var(--af-blue); --btn-bg-hover: var(--af-blue-600); --ghost-hover-bg: var(--af-blue-50);
  --ax-x: var(--tda-blue); --ax-y: var(--tda-green); --ax-z: var(--tda-orange);
  --line-stroke: #DAF0FB;
  --gold-surface: var(--af-gold-50); --gold-border: var(--af-gold-200); --gold-text: #8A7410; --gold-text-strong: #6F5D0C;
  --disc-opacity: 0.55;
  /* type */
  --font-display: 'Lora', 'Hoefler Text', Georgia, serif;
  --font-body: 'Newsreader', 'Charter', Georgia, serif;
  --font-ui: 'Mulish', system-ui, -apple-system, sans-serif;
  --ls-eyebrow: 0.14em;
  /* spacing, radius */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px; --sp-10: 128px;
  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-xl: 28px; --r-pill: 999px;
  --container: 1180px; --container-narrow: 760px;
  /* effects */
  --shadow-xs: 0 1px 2px rgba(0, 36, 63, 0.06);
  --shadow-sm: 0 2px 8px rgba(0, 36, 63, 0.08);
  --shadow-md: 0 10px 28px rgba(0, 36, 63, 0.10);
  --shadow-lg: 0 24px 56px rgba(0, 36, 63, 0.14);
  --shadow-cyan: 0 12px 30px rgba(1, 79, 162, 0.28);
  --ease-flow: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 140ms; --dur-base: 240ms; --dur-slow: 420ms;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--surface-page); color: var(--text-body);
  font-family: var(--font-body); font-size: 1.1875rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-text); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong, b { color: var(--text-strong); font-weight: 600; }
::selection { background: var(--af-blue-300); color: var(--text-strong); }
:focus-visible { outline: 3px solid var(--af-blue-400); outline-offset: 3px; border-radius: 4px; }
[class*="iconoir-"] { display: inline-block; line-height: 1; }

h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 500; color: var(--text-strong);
  letter-spacing: -0.012em; line-height: 1.14; margin: 0; text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.25rem); line-height: 1.06; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.25; }
h4 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--accent-text); }

.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-6); }
.narrow { max-width: var(--container-narrow); }
.center { text-align: center; }
.lead { font-size: 1.35rem; line-height: 1.5; color: var(--text-body); }
.muted { color: var(--text-muted); }
.ui { font-family: var(--font-ui); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ui); font-weight: 700; font-size: 0.78rem; line-height: 1.3;
  letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--accent-text);
  margin: 0 0 var(--sp-4);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--grad-flow); }
.center .eyebrow::after, .eyebrow.both::after { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--grad-flow); transform: scaleX(-1); }

/* the wave underline, from the logo's swoosh */
.uwave {
  white-space: nowrap; padding-bottom: 0.12em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='10' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M1 6 Q 15 1 30 6 T 60 6 T 90 6 T 119 6' fill='none' stroke='%2300ADEF' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center bottom / 100% 0.16em no-repeat;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-ui); font-weight: 700; font-size: 1rem; line-height: 1.2;
  padding: 15px 28px; border-radius: var(--r-pill); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-flow), box-shadow var(--dur-base) var(--ease-flow), background var(--dur-base) var(--ease-flow), border-color var(--dur-base), color var(--dur-base);
}
.btn [class*="iconoir-"] { font-size: 1.15em; transition: transform var(--dur-base) var(--ease-flow); }
.btn:hover [class*="iconoir-arrow"] { transform: translateX(3px); }
.btn:active { transform: scale(0.98); box-shadow: none; }
.btn-primary { background: var(--btn-bg); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--btn-bg-hover); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-cyan); }
.btn-ghost { background: transparent; color: var(--text-strong); border-color: var(--border-default); }
.btn-ghost:hover { background: var(--ghost-hover-bg); border-color: var(--accent-text); color: var(--accent-text); }
.btn-light { background: #fff; color: var(--af-navy); }
.btn-light:hover { background: var(--af-blue-100); color: var(--af-navy); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff; }
.btn-lg { font-size: 1.08rem; padding: 18px 34px; }
.btn-sm { font-size: 0.92rem; padding: 11px 20px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.center .btn-row { justify-content: center; }
.textlink {
  font-family: var(--font-ui); font-weight: 700; font-size: 0.98rem; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px; color: var(--accent-text);
}
.textlink:hover { color: var(--link); }
.textlink:hover [class*="iconoir-"] { transform: translateX(3px); }
.textlink [class*="iconoir-"] { transition: transform var(--dur-base) var(--ease-flow); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--header-bg); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}
.site-header .wrap { display: flex; align-items: center; gap: var(--sp-4); height: 92px; }
.brand { display: block; flex: none; margin-right: auto; }
.brand img { height: 68px; width: auto; }
.nav { display: flex; align-items: center; gap: var(--sp-6); font-family: var(--font-ui); font-weight: 600; font-size: 0.97rem; }
.nav a:not(.btn) { color: var(--text-body); text-decoration: none; padding: 8px 0; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--grad-flow); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease-flow);
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--text-strong); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; color: var(--text-strong); font-size: 1.7rem; cursor: pointer; }

/* ---------- sections ---------- */
.section { padding: var(--sp-9) 0; position: relative; }
.section.tight { padding: var(--sp-8) 0; }
.bg-paper { background: var(--surface-alt); }
.bg-tint { background: var(--surface-tint); }
.bg-navy { --line-stroke: rgba(140, 212, 244, 0.14); background: var(--band); color: rgba(255, 255, 255, 0.8); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4, .bg-navy strong, .bg-navy b { color: #fff; }
.bg-navy h1 em, .bg-navy h2 em, .bg-navy h3 em { color: var(--af-blue-300); }
.bg-navy .eyebrow { color: var(--af-blue-300); }
.bg-navy .lead { color: rgba(255, 255, 255, 0.82); }
.bg-navy a:not(.btn) { color: var(--af-blue-300); }
.shead { max-width: 46rem; margin: 0 auto var(--sp-8); text-align: center; }
.shead.left { margin-left: 0; text-align: left; }
.shead p { margin-top: var(--sp-4); }
.shead .lead { font-size: 1.25rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: center; }
.split.wide-left { grid-template-columns: 1.15fr 0.85fr; }
.split.wide-right { grid-template-columns: 0.85fr 1.15fr; }
.split.top { align-items: start; }

/* ribbon divider: the logo's two-layer swoosh flowing into the next band */
.ribbon { display: block; width: 100%; height: clamp(44px, 6vw, 84px); margin-bottom: -1px; }
.ribbon-wrap { line-height: 0; position: relative; z-index: 1; }

/* ---------- hero ---------- */
.hero { position: relative; padding: var(--sp-8) 0 var(--sp-7); background: linear-gradient(180deg, var(--surface-page) 0%, var(--surface-tint) 100%); overflow: hidden; }
.lines path { stroke: var(--line-stroke); }
.lines { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; pointer-events: none; }
.section > .wrap, .page-hero > .wrap { position: relative; }
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--sp-8); align-items: center; }
.hero h1 { margin-bottom: var(--sp-5); font-size: clamp(2.5rem, 4.5vw, 3.7rem); text-wrap: wrap; }
.hero .lead { max-width: 33ch; margin-bottom: var(--sp-5); }
.checks { list-style: none; margin: 0 0 var(--sp-6); padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-family: var(--font-ui); font-weight: 600; font-size: 1.04rem; line-height: 1.45; color: var(--text-strong); }
.checks li i { color: var(--accent-text); font-size: 1.35rem; flex: none; margin-top: 1px; }
.bg-navy .checks li { color: #fff; }
.bg-navy .checks li i { color: var(--af-blue-300); }
.checks.body li { font-family: var(--font-body); font-weight: 400; font-size: 1.15rem; color: var(--text-body); }
.bg-navy .checks.body li { color: rgba(255, 255, 255, 0.86); }

.photo { position: relative; isolation: isolate; }
.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.photo.hero-photo { aspect-ratio: 1 / 1.02; }
.photo.hero-photo img { object-position: 62% 30%; }
.photo.portrait { aspect-ratio: 4 / 5; }
.photo.square { aspect-ratio: 1 / 1; }
.photo.landscape { aspect-ratio: 5 / 4; }
.photo::before {
  /* soft cyan disc behind the photo, a nod to the Flow direction */
  content: ""; position: absolute; z-index: -1; width: 62%; aspect-ratio: 1; border-radius: 50%;
  right: -9%; top: -8%; background: radial-gradient(circle at 40% 35%, var(--af-blue-300), var(--af-blue-400) 85%); opacity: var(--disc-opacity);
}
.photo.left-disc::before { right: auto; left: -9%; top: auto; bottom: -8%; }
.photo.no-disc::before { display: none; }
/* a photo that lives on the live site and could not load: show a calm placeholder */
.photo.missing { background: var(--surface-tint); border-radius: var(--r-xl); display: grid; place-items: center; }
.photo.missing img { display: none; }
.photo.missing::after { content: "Photo"; font-family: var(--font-ui); font-weight: 700; font-size: 0.8rem; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--accent-text); }
.chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface-card); border-radius: var(--r-md); padding: 12px 16px; box-shadow: var(--shadow-md);
  font-family: var(--font-ui); font-weight: 700; font-size: 0.9rem; color: var(--text-strong); white-space: nowrap;
}
.chip i { color: var(--af-blue); font-size: 1.25rem; }
.caption { position: relative; font-family: var(--font-ui); font-size: 0.86rem; line-height: 1.45; color: var(--text-muted); margin-top: var(--sp-7); }

/* page hero (inner pages) */
.page-hero { position: relative; padding: var(--sp-9) 0 var(--sp-8); background: linear-gradient(180deg, var(--surface-page) 0%, var(--surface-tint) 100%); overflow: hidden; text-align: center; }
.page-hero h1 { max-width: 18ch; margin: 0 auto; }
.page-hero .lead { max-width: 40ch; margin: var(--sp-5) auto 0; }

/* brokerage strip */
.brokers { background: var(--band); }
.brokers .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6); flex-wrap: wrap; padding-top: 6px; padding-bottom: var(--sp-6); }
.brokers .cap { font-family: var(--font-ui); font-weight: 700; font-size: 0.76rem; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--af-blue-300); white-space: nowrap; }
.brokers ul { list-style: none; margin: 0; padding: 0; display: flex; flex: 1; flex-wrap: wrap; align-items: center; justify-content: space-around; gap: 14px var(--sp-7); }
.brokers li { font-family: var(--font-display); font-style: italic; font-size: 1.22rem; color: rgba(255, 255, 255, 0.88); white-space: nowrap; }

/* ---------- editorial feature (hairline + italic numeral) ---------- */
.features { display: grid; gap: var(--sp-7) var(--sp-6); grid-template-columns: repeat(4, 1fr); }
.features.cols-3 { grid-template-columns: repeat(3, 1fr); }
.features.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feature { border-top: 1px solid var(--rule-strong); padding-top: var(--sp-5); }
.feature .num { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 2.6rem; line-height: 1; color: var(--accent-text); margin-bottom: var(--sp-4); display: block; }
.feature h3 { font-size: 1.35rem; margin-bottom: var(--sp-3); }
.feature p { font-size: 1.1rem; }
.bg-navy .feature { border-top-color: rgba(255, 255, 255, 0.3); }
.bg-navy .feature .num { color: var(--af-blue-300); }

/* pain list */
.pains { list-style: none; margin: var(--sp-5) 0 var(--sp-6); padding: 0; border-top: 1px solid var(--border-default); }
.pains li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--border-default); font-size: 1.2rem; color: var(--text-strong); }
.pains li i { color: var(--text-faint); font-size: 1.1rem; flex: none; transform: translateY(2px); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 31px; height: 2px; background: var(--grad-flow); opacity: 0.55; }
.step { position: relative; text-align: center; padding: 0 var(--sp-4); }
.step .dot {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto var(--sp-5); display: grid; place-items: center;
  background: var(--surface-page); border: 2px solid var(--af-blue-400); color: var(--accent-text);
  font-family: var(--font-display); font-style: italic; font-size: 1.7rem; position: relative; box-shadow: 0 0 0 8px var(--surface-page);
}
.bg-paper .step .dot { box-shadow: 0 0 0 8px var(--surface-alt); }
.step .kicker { font-family: var(--font-ui); font-weight: 800; font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 8px; }
.step h3 { margin-bottom: var(--sp-3); }
.step p { font-size: 1.1rem; }

/* ---------- 3D Accent ---------- */
.tda-band { position: relative; overflow: hidden; }
.tda-band .lockup { height: 62px; width: auto; margin-bottom: var(--sp-5); }
.tda-band .tagline { font-family: var(--font-ui); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.7); margin: -8px 0 var(--sp-6); }
.axes { display: grid; gap: var(--sp-5); grid-template-columns: repeat(3, 1fr); }
.axes.stack { grid-template-columns: 1fr; gap: 0; }
.axis { --ax: var(--ax-x); --ax-tint: var(--tda-blue-100); position: relative; }
.axis.y { --ax: var(--ax-y); --ax-tint: var(--tda-green-100); }
.axis.z { --ax: var(--ax-z); --ax-tint: var(--tda-orange-100); }
.bg-navy .axis { --ax: var(--tda-blue-dk); }
.bg-navy .axis.y { --ax: var(--tda-green-dk); }
.bg-navy .axis.z { --ax: var(--tda-orange-dk); }
.axis .tag { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-ui); font-weight: 800; font-size: 0.78rem; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--ax); }
.axis .tag b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--ax); color: var(--ax); font-weight: 800; font-size: 0.86rem; letter-spacing: 0; }
.axis h3 { margin: var(--sp-3) 0 6px; font-size: 1.6rem; }
.axis .shift { font-family: var(--font-ui); font-weight: 600; font-size: 0.92rem; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin-bottom: var(--sp-3); }
.axis .shift b { color: var(--ax); font-weight: 700; }
.axis .shift i { font-size: 1rem; color: var(--ax); }
.bg-navy .axis .shift { color: rgba(255, 255, 255, 0.6); }
.axis p { font-size: 1.08rem; }
/* card form, navy band */
.axes.cards .axis { border-top: 3px solid var(--ax); background: rgba(255, 255, 255, 0.05); border-radius: 0 0 var(--r-lg) var(--r-lg); padding: var(--sp-5) var(--sp-5) var(--sp-6); }
/* row form, light surface */
.axes.rows { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--border-default); }
.axes.rows .axis { display: grid; grid-template-columns: 5px 1.1fr 1.4fr; gap: 0 var(--sp-6); align-items: start; padding: var(--sp-6) 0; border-bottom: 1px solid var(--border-default); }
.axes.rows .axis::before { content: ""; grid-row: 1 / span 2; align-self: stretch; border-radius: 3px; background: var(--ax); }
.axes.rows .axis h3 { font-size: 1.9rem; }
.axes.rows .axis .focus { font-family: var(--font-ui); font-weight: 700; font-size: 0.86rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.formula {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; margin-top: var(--sp-7);
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 500; color: var(--text-strong);
}
.formula .x { color: var(--ax-x); } .formula .y { color: var(--ax-y); } .formula .z { color: var(--ax-z); }
.formula .op { color: var(--text-faint); font-family: var(--font-ui); font-weight: 400; }
.formula .flow { font-style: italic; color: var(--accent-text); display: inline-flex; align-items: center; gap: 12px; }
.formula .sync { width: 0.72em; height: 0.72em; border-radius: 50%; background: radial-gradient(circle at 38% 34%, #F6EDB8 0 14%, var(--sync-gold-hi) 15% 62%, var(--sync-gold) 63%); flex: none; }
.tda-strip { display: flex; align-items: center; gap: var(--sp-6); padding: var(--sp-5) var(--sp-6); border: 1px solid var(--border-default); border-radius: var(--r-lg); background: var(--surface-card); }
.tda-strip img { height: 46px; width: auto; flex: none; }
.tda-strip p { font-size: 1.05rem; margin: 0; flex: 1; }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-7) var(--sp-8); }
.quote { position: relative; padding-top: var(--sp-6); border-top: 1px solid var(--border-default); display: flex; flex-direction: column; }
.quote::before { content: "\201C"; position: absolute; top: 18px; left: -4px; font-family: var(--font-display); font-size: 5rem; line-height: 1; color: var(--af-gold); }
.quote h3 { font-size: 1.3rem; margin: var(--sp-6) 0 var(--sp-3); padding-left: 0; }
.quote blockquote { margin: 0 0 var(--sp-5); font-family: var(--font-body); font-style: italic; font-size: 1.22rem; line-height: 1.5; color: var(--text-strong); flex: 1; }
.quote .by { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4); font-family: var(--font-ui); font-size: 0.92rem; }
.quote .by b { font-weight: 700; color: var(--text-strong); }
.quote .by span { color: var(--text-muted); text-align: right; }
.pull { max-width: 54rem; margin: 0 auto; text-align: center; position: relative; }
.pull::before { content: "\201C"; display: block; font-family: var(--font-display); font-size: 7rem; line-height: 0.6; color: var(--af-gold); margin-bottom: var(--sp-4); height: 0.45em; }
.pull blockquote { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 2.8vw, 2.15rem); line-height: 1.35; color: var(--text-strong); text-wrap: balance; }
.pull blockquote + blockquote { margin-top: 0.7em; }
.pull .by { margin-top: var(--sp-5); font-family: var(--font-ui); font-weight: 700; font-size: 0.95rem; color: var(--text-strong); }
.pull .by span { display: block; font-weight: 500; color: var(--text-muted); margin-top: 2px; }
.bg-navy .pull blockquote { color: #fff; }
.bg-navy .pull .by { color: #fff; }
.bg-navy .pull .by span { color: rgba(255, 255, 255, 0.65); }

/* ---------- prose ---------- */
.prose { font-size: 1.22rem; line-height: 1.65; }
.prose p { margin-bottom: 1.1em; }
.prose .big { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 1.95rem); line-height: 1.35; color: var(--text-strong); font-weight: 500; }
.prose .big em { color: var(--accent-text); }
.signoff { margin-top: var(--sp-5); font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--text-strong); }
.signoff img { height: 44px; width: auto; margin-top: 10px; opacity: 0.9; }

/* numbered belief list */
.beliefs { list-style: none; margin: 0; padding: 0; counter-reset: b; }
.beliefs li { counter-increment: b; display: grid; grid-template-columns: 3.4rem 1fr; gap: 0 var(--sp-4); padding: var(--sp-5) 0; border-top: 1px solid var(--border-default); }
.beliefs li:last-child { border-bottom: 1px solid var(--border-default); }
.beliefs li::before { content: counter(b, decimal-leading-zero); font-family: var(--font-display); font-style: italic; font-size: 1.9rem; line-height: 1.1; color: var(--accent-text); }
.beliefs h3 { font-size: 1.4rem; margin-bottom: 4px; }
.beliefs p { font-size: 1.12rem; }

/* cards */
.card { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: var(--sp-6); }
.card.flat { box-shadow: var(--shadow-sm); }
.notice { display: flex; gap: var(--sp-4); align-items: flex-start; background: var(--surface-card); border: 1px solid var(--border-accent); border-radius: var(--r-lg); padding: var(--sp-5); box-shadow: var(--shadow-sm); text-align: left; }
.notice i { font-size: 1.5rem; color: var(--accent-text); flex: none; margin-top: 2px; }
.notice .k { font-family: var(--font-ui); font-weight: 800; font-size: 0.76rem; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--accent-text); }
.notice p { font-size: 1.08rem; margin: 2px 0 0; color: var(--text-strong); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border-default); margin-top: var(--sp-7); }
.facts div { padding: var(--sp-5) var(--sp-4) 0; text-align: center; border-left: 1px solid var(--border-default); }
.facts div:first-child { border-left: 0; }
.facts b { display: block; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 2.6rem; line-height: 1; color: var(--accent-text); }
.facts span { font-family: var(--font-ui); font-weight: 600; font-size: 0.9rem; color: var(--text-muted); }

/* before / after pair */
.shift-pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--sp-6); align-items: stretch; }
.shift-pair .side { padding: var(--sp-7) var(--sp-6); border-radius: var(--r-xl); }
.shift-pair .before { background: var(--surface-alt); border: 1px solid var(--border-subtle); }
.shift-pair .after { background: var(--band); color: rgba(255, 255, 255, 0.84); }
.shift-pair .after h2 { color: #fff; } .shift-pair .after h2 em { color: var(--af-blue-300); }
.shift-pair .after strong { color: #fff; }
.shift-pair h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); margin-bottom: var(--sp-5); }
.shift-pair p { font-size: 1.15rem; }
.shift-pair .arrow { align-self: center; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-card); border: 1px solid var(--border-default); color: var(--accent-text); font-size: 1.5rem; box-shadow: var(--shadow-sm); }

/* timeline */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 54rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 31px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(180deg, var(--af-blue-300), var(--af-blue-400) 50%, var(--af-blue)); }
.timeline li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: var(--sp-6); padding-bottom: var(--sp-7); }
.timeline li:last-child { padding-bottom: 0; }
.timeline .dot { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-card); border: 2px solid var(--af-blue-400); font-family: var(--font-display); font-style: italic; font-size: 1.7rem; color: var(--accent-text); position: relative; z-index: 1; }
.timeline .dot i { font-size: 1.5rem; font-style: normal; }
.timeline .when { font-family: var(--font-ui); font-weight: 800; font-size: 0.78rem; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--accent-text); }
.timeline .when span { color: var(--text-muted); font-weight: 600; letter-spacing: 0.04em; text-transform: none; margin-left: 8px; }
.timeline h3 { font-size: 1.7rem; font-weight: 500; margin: 4px 0 var(--sp-3); }
.timeline p { font-size: 1.14rem; }

/* pricing */
.pricing { display: grid; grid-template-columns: 1fr 0.9fr; gap: var(--sp-8); align-items: start; }
.price-card { background: var(--band); color: rgba(255, 255, 255, 0.84); border-radius: var(--r-xl); padding: var(--sp-7) var(--sp-6); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.price-card .k { font-family: var(--font-ui); font-weight: 800; font-size: 0.78rem; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--af-gold-200); }
.price-card .was { font-family: var(--font-display); font-size: 1.5rem; color: rgba(255, 255, 255, 0.5); text-decoration: line-through; margin-top: var(--sp-4); }
.price-card .now { font-family: var(--font-display); font-weight: 500; font-size: 4.4rem; line-height: 1; color: #fff; letter-spacing: -0.02em; }
.price-card .note { font-family: var(--font-ui); font-size: 0.92rem; color: rgba(255, 255, 255, 0.65); margin: 8px 0 var(--sp-5); }
.price-card .checks { margin-bottom: var(--sp-5); padding-top: var(--sp-5); border-top: 1px solid rgba(255, 255, 255, 0.18); }
.price-card .checks li { color: #fff; font-weight: 500; font-size: 1rem; }
.price-card .checks li i { color: var(--af-blue-300); }
.price-card .foot { font-family: var(--font-ui); font-weight: 600; font-size: 0.95rem; color: var(--af-blue-300); margin: 0; }
.guarantee { display: flex; gap: var(--sp-4); align-items: flex-start; padding: var(--sp-5); background: var(--gold-surface); border: 1px solid var(--gold-border); border-radius: var(--r-lg); margin: var(--sp-5) 0 var(--sp-6); }
.guarantee i { font-size: 1.7rem; color: var(--gold-text); flex: none; }
.guarantee p { font-size: 1.08rem; margin: 0; color: var(--text-strong); }
.guarantee .k { display: block; font-family: var(--font-ui); font-weight: 800; font-size: 0.76rem; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--gold-text-strong); margin-bottom: 4px; }

/* forms */
.field { display: grid; gap: 6px; margin-bottom: var(--sp-4); }
.field label { font-family: var(--font-ui); font-weight: 700; font-size: 0.88rem; color: var(--text-strong); }
.input {
  width: 100%; font-family: var(--font-ui); font-size: 1rem; color: var(--text-strong);
  background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--r-md); padding: 14px 16px;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.input::placeholder { color: var(--text-faint); }
.input:focus { outline: none; border-color: var(--af-blue-400); box-shadow: 0 0 0 4px rgba(0, 173, 239, 0.18); }
textarea.input { min-height: 150px; resize: vertical; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form .input { flex: 1; min-width: 220px; border-radius: var(--r-pill); padding-left: 22px; }

/* contact */
.contact-list { list-style: none; margin: var(--sp-6) 0 0; padding: 0; border-top: 1px solid var(--border-default); }
.contact-list li { display: grid; grid-template-columns: 28px 1fr; gap: 0 var(--sp-4); align-items: start; padding: var(--sp-5) 0; border-bottom: 1px solid var(--border-default); }
.contact-list i { font-size: 1.4rem; color: var(--accent-text); margin-top: 3px; }
.contact-list .k { font-family: var(--font-ui); font-weight: 700; font-size: 0.78rem; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--text-muted); }
.contact-list a, .contact-list .v { font-family: var(--font-display); font-size: 1.45rem; color: var(--text-strong); text-decoration: none; display: block; }
.contact-list a:hover { color: var(--accent-text); }

/* FAQ */
.faq { max-width: 52rem; margin: 0 auto; border-top: 1px solid var(--border-default); }
.faq details { border-bottom: 1px solid var(--border-default); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); padding: var(--sp-5) 0; font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; line-height: 1.3; color: var(--text-strong); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-text); }
.faq summary i { flex: none; font-size: 1.4rem; color: var(--accent-text); transition: transform var(--dur-base) var(--ease-flow); }
.faq details[open] summary i { transform: rotate(45deg); }
.faq .a { padding: 0 var(--sp-7) var(--sp-6) 0; font-size: 1.14rem; }
.faq .a ul { margin: 0 0 1em; padding-left: 1.2em; }
.faq .a li { margin-bottom: 0.5em; }
.faq .a .k { font-family: var(--font-ui); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); }

/* outcome list on navy */
.outcomes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--sp-8); list-style: none; margin: 0; padding: 0; }
.outcomes li { display: grid; grid-template-columns: 34px 1fr; gap: var(--sp-4); padding: var(--sp-5) 0; border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 1.2rem; }
.outcomes i { font-size: 1.7rem; color: var(--af-blue-300); }
.outcomes b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; color: #fff; line-height: 1.3; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; }
.cta-band .lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.9; }

/* ---------- footer ---------- */
.site-footer { background: var(--footer-bg); color: rgba(255, 255, 255, 0.72); font-family: var(--font-ui); font-size: 0.95rem; }
.site-footer .top { display: grid; grid-template-columns: 1.3fr 0.7fr 0.7fr 1.1fr; gap: var(--sp-7); padding: var(--sp-7) 0 var(--sp-8); }
.site-footer .logo { height: 78px; width: auto; margin: -6px 0 var(--sp-3) -4px; }
.site-footer .tag { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: #fff; margin: 0; }
.site-footer h3 { font-family: var(--font-ui); font-weight: 800; font-size: 0.76rem; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--af-blue-300); margin: 6px 0 var(--sp-4); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .tda img { height: 40px; width: auto; margin-bottom: 10px; }
.site-footer .tda p { font-size: 0.88rem; line-height: 1.45; margin: 0; color: rgba(255, 255, 255, 0.6); }
.site-footer .bottom { display: flex; justify-content: space-between; gap: var(--sp-5); flex-wrap: wrap; padding: var(--sp-5) 0 var(--sp-6); border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.86rem; color: rgba(255, 255, 255, 0.55); }
.site-footer .bottom nav { display: flex; gap: var(--sp-5); }

/* ---------- theme toggle ---------- */
.theme-toggle {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: transparent; border: 1.5px solid var(--border-default); color: var(--text-strong); font-size: 1.25rem;
  transition: background var(--dur-base) var(--ease-flow), border-color var(--dur-base), color var(--dur-base), transform var(--dur-fast) var(--ease-flow);
}
.theme-toggle:hover { background: var(--ghost-hover-bg); border-color: var(--accent-text); color: var(--accent-text); }
.theme-toggle:active { transform: scale(0.94); }
.theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: inline-block; }
[data-theme="dark"] .theme-toggle .moon { display: none; }

/* artwork that has a light-surface and a dark-surface version */
.only-dark { display: none !important; }
[data-theme="dark"] .only-light { display: none !important; }
[data-theme="dark"] .only-dark { display: block !important; }

/* ---------- dark theme ----------
   Same structure, restated roles. The page goes to a deep navy, the emphasis bands sit one step lighter than the page,
   Sky takes over from Flow Blue for text accents (Flow Blue is too dark to read here), and the three Axes use the
   logo's dark-background colors. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --surface-page: #000F1D; --surface-alt: #00172A; --surface-tint: #001F38; --surface-card: #012540;
  --band: #00304F; --footer-bg: #000913; --header-bg: rgba(0, 15, 29, 0.86);
  --text-strong: #F3F8FC; --text-body: #B9C6D4; --text-muted: #8C9BAE; --text-faint: #6F8096;
  --accent-text: var(--af-blue-300); --link: var(--af-blue-300);
  --border-subtle: rgba(255, 255, 255, 0.09); --border-default: rgba(255, 255, 255, 0.17);
  --border-accent: rgba(140, 212, 244, 0.28); --rule-strong: rgba(255, 255, 255, 0.4);
  --btn-bg: #0B62C4; --btn-bg-hover: #1877E0; --ghost-hover-bg: rgba(140, 212, 244, 0.1);
  --ax-x: var(--tda-blue-dk); --ax-y: var(--tda-green-dk); --ax-z: var(--tda-orange-dk);
  --line-stroke: rgba(140, 212, 244, 0.1);
  --gold-surface: rgba(200, 170, 37, 0.1); --gold-border: rgba(200, 170, 37, 0.42); --gold-text: #DCC24A; --gold-text-strong: #DCC24A;
  --disc-opacity: 0.32;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.32);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.38);
  --shadow-lg: 0 24px 56px rgba(0, 0, 0, 0.5);
  --shadow-cyan: 0 12px 30px rgba(11, 98, 196, 0.45);
}
[data-theme="dark"] ::selection { background: var(--af-blue); color: #fff; }
[data-theme="dark"] .signoff img { filter: invert(1) brightness(1.15); }
[data-theme="dark"] .price-card, [data-theme="dark"] .shift-pair .after { border: 1px solid var(--border-default); }
[data-theme="dark"] .photo img { box-shadow: 0 24px 56px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06); }
[data-theme="dark"] .input:focus { box-shadow: 0 0 0 4px rgba(0, 173, 239, 0.28); }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease-flow), transform var(--dur-slow) var(--ease-flow); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .btn [class*="iconoir-"] { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .site-footer .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  body { font-size: 1.125rem; }
  .section { padding: var(--sp-8) 0; }
  .hero-grid, .split, .split.wide-left, .split.wide-right, .pricing { grid-template-columns: 1fr; gap: var(--sp-7); }
  .hero .photo { order: -1; max-width: 520px; }
  .split .photo { max-width: 480px; }
  .features.cols-3, .axes { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: var(--sp-7); }
  .steps::before { display: none; }
  .quotes { grid-template-columns: 1fr; }
  .shift-pair { grid-template-columns: 1fr; }
  .shift-pair .arrow { justify-self: center; transform: rotate(90deg); }
  .outcomes { grid-template-columns: 1fr; }
  .axes.rows .axis { grid-template-columns: 5px 1fr; }
  .axes.rows .axis > div + div { grid-column: 2; margin-top: var(--sp-3); }
  .tda-strip { flex-direction: column; align-items: flex-start; gap: var(--sp-4); }

  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface-card); border-bottom: 1px solid var(--border-subtle); box-shadow: var(--shadow-md);
    padding: var(--sp-3) var(--sp-5) var(--sp-5); display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--border-subtle); font-size: 1.05rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: var(--sp-4); }
}
@media (max-width: 600px) {
  .wrap { padding: 0 var(--sp-5); }
  .site-header .wrap { height: 72px; }
  .brand img { height: 48px; }
  .features, .features.cols-2 { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts div { border-left: 0; border-top: 1px solid var(--border-default); padding: var(--sp-4) 0; }
  .facts div:first-child { border-top: 0; }
  .site-footer .top { grid-template-columns: 1fr; gap: var(--sp-6); }
  .timeline li { grid-template-columns: 48px 1fr; gap: var(--sp-4); }
  .timeline .dot { width: 48px; height: 48px; font-size: 1.3rem; }
  .timeline::before { left: 23px; }
  .chip { display: none; }
  .btn { white-space: normal; text-align: center; }
  .faq summary { font-size: 1.2rem; }
  .faq .a { padding-right: 0; }
  .shift-pair .side { padding: var(--sp-6) var(--sp-5); }
  .beliefs li { grid-template-columns: 2.6rem 1fr; }
  .brokers ul { justify-content: flex-start; gap: 8px var(--sp-5); }
  .brokers li { font-size: 1.05rem; }
}
