/* ==========================================================================
   Precious D. Stephens — Operational Growth Audit
   styles.css

   Contents
   1.  Design tokens (light + dark)
   2.  Base & reset
   3.  Utilities (container, buttons, eyebrow, reveal animations)
   4.  Navigation & theme-aware logo
   5.  Hero
   6.  Industries served
   7.  Sections & cards (shared)
   8.  Problem
   9.  Revenue leak flow
   10. Process timeline
   11. Benefits
   12. Before vs after
   13. Founder's note
   14. FAQ
   15. Final CTA
   16. Footer
   17. Motion preferences
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --navy: #0A224B;         /* sampled directly from the wordmark */
  --navy-deep: #071733;
  --accent: #D3AC3D;
  --accent-strong: #B8922E;
  --accent-ink: #8A6C1E;   /* gold deep enough for AA text on white */
  --accent-soft: rgba(211, 172, 61, 0.10);

  /* Surfaces & text */
  --bg: #FFFFFF;
  --bg-alt: #F8F9FB;
  --text: #1B1B1B;
  --text-2: #5E6472;
  --heading: var(--navy);
  --btn-bg: var(--navy);
  --btn-fg: #FFFFFF;
  --success: #0F9D58;
  --success-soft: rgba(15, 157, 88, 0.10);
  --border: #ECECEC;
  --card: #FFFFFF;
  --danger: #C0392B;
  --danger-soft: rgba(192, 57, 43, 0.08);

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(27, 27, 27, 0.05);
  --shadow-md: 0 6px 24px -8px rgba(27, 27, 27, 0.10);
  --shadow-lg: 0 24px 60px -16px rgba(27, 27, 27, 0.16);
  --shadow-gold: 0 10px 32px -10px rgba(211, 172, 61, 0.45);

  /* Type */
  --font-heading: "Manrope", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Shape & rhythm */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --container: 1180px;
  --nav-height: 72px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --speed: 0.5s;
}

[data-theme="dark"] {
  --bg: #0E0F12;
  --bg-alt: #15161B;
  --accent-ink: #E2C766;
  --accent-soft: rgba(211, 172, 61, 0.12);
  --text: #F4F4F6;
  --text-2: #A3A8B4;
  --heading: #F4F4F6;
  --btn-bg: #F4F4F6;
  --btn-fg: #0A224B;
  --border: #24262C;
  --card: #17181D;
  --danger-soft: rgba(192, 57, 43, 0.14);
  --success-soft: rgba(15, 157, 88, 0.14);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 6px 24px -8px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 60px -16px rgba(0, 0, 0, 0.65);
  --shadow-gold: 0 10px 32px -10px rgba(211, 172, 61, 0.25);
}

/* --------------------------------------------------------------------------
   2. Base & reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.35s ease, color 0.35s ease;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--heading);
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; }

p { color: var(--text-2); }

a { color: inherit; text-decoration: none; }

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

ul, ol { list-style: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

::selection {
  background: var(--accent);
  color: #0A224B;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--navy);
  color: #FFFFFF;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

/* --------------------------------------------------------------------------
   3. Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 32px);
}

.container-narrow { max-width: 860px; }

.section { padding-block: clamp(72px, 9vw, 128px); }

.section-head {
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(44px, 6vw, 72px);
  text-align: center;
}

.section-sub {
  margin-top: 18px;
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.accent-underline {
  font-style: normal;
  background-image: linear-gradient(transparent 66%, var(--accent-soft) 66%, var(--accent-soft) 94%, transparent 94%);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.9688rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
              background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn:focus-visible,
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.btn svg { transition: transform 0.25s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

.btn-lg { padding: 16px 32px; font-size: 1.0313rem; }

.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-fg);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.btn-gold {
  background: linear-gradient(135deg, #E4C567, var(--accent) 55%, var(--accent-strong));
  color: #1B1B1B;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px -10px rgba(211, 172, 61, 0.55);
}

/* Scroll reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--speed) var(--ease-out), transform var(--speed) var(--ease-out);
}
.js .reveal.in-view {
  opacity: 1;
  transform: none;
}
.js .delay-1 { transition-delay: 0.08s; }
.js .delay-2 { transition-delay: 0.16s; }
.js .delay-3 { transition-delay: 0.24s; }
.js .delay-4 { transition-delay: 0.32s; }

/* --------------------------------------------------------------------------
   4. Navigation & theme-aware logo
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.35s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

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

/* Theme-aware logo swap.
   .logo-on-light = navy lockup (light mode), .logo-on-dark = white lockup.
   The <html data-theme> attribute drives the swap; the prefers-color-scheme
   block is a no-JS fallback that follows the system setting. */
.brand-logo {
  height: 44px;
  width: auto;
}
.brand-logo-footer { height: 36px; }

.logo-on-dark { display: none; }
[data-theme="dark"] .logo-on-light { display: none; }
[data-theme="dark"] .logo-on-dark { display: block; }

@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .logo-on-light { display: none; }
  html:not([data-theme]) .logo-on-dark { display: block; }
}

@media (max-width: 480px) {
  .brand-logo { height: 36px; }
  .brand-logo-footer { height: 32px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
}
.nav-links a:not(.btn) {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s ease;
}
.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active { color: var(--text); }
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-2);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.25s var(--ease-out);
}
.theme-toggle:hover {
  color: var(--text);
  border-color: var(--accent);
  transform: rotate(12deg);
}
.icon-moon { display: none; }
[data-theme="dark"] .icon-moon { display: block; }
[data-theme="dark"] .icon-sun { display: none; }

.nav-cta { padding: 11px 22px; font-size: 0.9063rem; }
.nav-cta-mobile { display: none; }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.nav-burger span {
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-cta { display: none; }
  .nav-burger { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 28px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease-out), opacity 0.3s ease, visibility 0.3s;
  }
  .nav-links.open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a:not(.btn) {
    display: block;
    padding: 16px 4px;
    font-size: 1.0625rem;
  }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-cta-mobile { display: block; padding-top: 18px; }
  .nav-cta-mobile .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-height) + clamp(56px, 9vw, 110px));
  padding-bottom: clamp(72px, 9vw, 120px);
}

.hero-glow {
  position: absolute;
  top: -240px;
  right: -160px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 62%);
  pointer-events: none;
}

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

.hero-copy .lead {
  margin-top: 22px;
  max-width: 34rem;
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  line-height: 1.72;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-note {
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--text-2);
}

/* Dashboard illustration */
.hero-visual { position: relative; }

.dashboard-frame {
  position: relative;
  filter: drop-shadow(0 40px 80px rgba(27, 27, 27, 0.14));
}
[data-theme="dark"] .dashboard-frame {
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.55));
}

.dashboard-svg { width: 100%; height: auto; }

.dash-window { fill: var(--card); stroke: var(--border); }
.dash-line { stroke: var(--border); }
.dash-card { fill: var(--bg-alt); stroke: var(--border); }
.dash-chip { fill: var(--bg-alt); }
.dash-item { fill: var(--border); }
.dash-item-active { fill: var(--accent-soft); stroke: var(--accent); stroke-opacity: 0.45; }
.dash-pill-green { fill: var(--success-soft); }
.dash-pill-gold { fill: var(--accent-soft); }

.dash-kpi,
.dash-kpi-green {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  fill: var(--text);
}
.dash-kpi-green { fill: var(--success); }
.dash-sub {
  font-family: var(--font-body);
  font-size: 10.5px;
  fill: var(--text-2);
}

/* Floating glass cards */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--card) 72%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  animation: floaty 6s ease-in-out infinite;
}
.float-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8438rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.float-card small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-2);
  line-height: 1.4;
}
.float-card-1 { top: 41%; left: -8%; }
.float-card-2 { bottom: 7%; right: -5%; animation-delay: -3s; }

.float-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
}
.float-icon-green { background: var(--success-soft); color: var(--success); }
.float-icon-gold { background: var(--accent-soft); color: var(--accent-ink); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .hero-visual {
    max-width: 560px;
    margin-inline: auto;
    padding-inline: 24px;
  }
  .float-card-1 { left: 0; }
  .float-card-2 { right: 0; }
}

@media (max-width: 640px) {
  .hero-copy .eyebrow-dot { display: none; }
}

@media (max-width: 480px) {
  .hero-ctas .btn { width: 100%; }
  .float-card { padding: 10px 14px; }
  .float-card-2 { bottom: 2%; }
}

/* --------------------------------------------------------------------------
   6. Industries served
   -------------------------------------------------------------------------- */
.trusted {
  padding-block: clamp(36px, 5vw, 56px);
  border-block: 1px solid var(--border);
  background: var(--bg-alt);
}

.trusted-label {
  margin-bottom: 26px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-2);
}

.industry-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  max-width: 880px;
  margin-inline: auto;
}
.industry-chips li {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-2);
  cursor: default;
  transition: color 0.25s ease, border-color 0.25s ease,
              transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}
.industry-chips li:hover {
  color: var(--heading);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------------------
   7. Cards (shared)
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 26px);
}
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1020px) {
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .card-grid.three { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .card-grid.three,
  .card-grid.four { grid-template-columns: 1fr; }
}

.card {
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
}

.card h3 { margin-bottom: 9px; }
.card p { font-size: 0.9375rem; line-height: 1.65; }
.card p em { font-style: italic; }

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.card-icon svg { width: 22px; height: 22px; }

.card-compact { padding: clamp(22px, 2.6vw, 28px); }
.card-compact h3 { font-size: 1.0313rem; }
.card-compact p { font-size: 0.9063rem; }

.card-featured {
  background: linear-gradient(160deg, var(--accent-soft), transparent 55%), var(--card);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}

/* --------------------------------------------------------------------------
   8. Problem
   -------------------------------------------------------------------------- */
.problem { background: var(--bg); }

.problem-kicker {
  margin-top: clamp(40px, 5vw, 56px);
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 600;
  color: var(--text-2);
}
.problem-kicker strong { color: var(--text); font-weight: 800; }

/* --------------------------------------------------------------------------
   9. Revenue leak flow
   -------------------------------------------------------------------------- */
.leak { background: var(--bg-alt); }

.leak-flow {
  max-width: 620px;
  margin-inline: auto;
  counter-reset: leak;
}

.leak-step { position: relative; }

.leak-node {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: clamp(22px, 3vw, 28px);
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.leak-node:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.leak-node h3 { margin-bottom: 6px; }
.leak-node p { font-size: 0.9375rem; }

.leak-node-last {
  border-color: color-mix(in srgb, var(--danger) 34%, var(--border));
  background: linear-gradient(160deg, var(--danger-soft), transparent 60%), var(--card);
}

.leak-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.leak-icon svg { width: 21px; height: 21px; }
.leak-node-last .leak-icon { background: var(--danger-soft); color: var(--danger); }

.leak-arrow {
  display: flex;
  justify-content: center;
  padding-block: 6px;
}
.leak-arrow::before {
  content: "";
  width: 2px;
  height: 34px;
  background: linear-gradient(to bottom, var(--border), var(--accent));
  border-radius: 2px;
}
.leak-arrow::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
}

.leak-close {
  max-width: 620px;
  margin: clamp(40px, 5vw, 56px) auto 0;
  text-align: center;
}
.leak-close p {
  margin-bottom: 26px;
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 2vw, 1.3125rem);
  font-weight: 600;
  color: var(--text);
}
.leak-close em { color: var(--accent-ink); font-style: normal; }

/* --------------------------------------------------------------------------
   10. Process timeline
   -------------------------------------------------------------------------- */
.process { background: var(--bg-alt); }

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(18px, 2vw, 24px);
  position: relative;
}

.timeline-step {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s ease;
}
.timeline-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
}

.timeline-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -22px;
  width: 22px;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--border));
}
.timeline-step:last-child::after { display: none; }

.timeline-num {
  display: inline-block;
  margin-bottom: 16px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-ink);
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
}

.timeline-step h3 { margin-bottom: 8px; font-size: 1.0625rem; }
.timeline-step p { font-size: 0.875rem; line-height: 1.6; }

@media (max-width: 1020px) {
  .timeline { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .timeline-step::after {
    top: auto;
    right: auto;
    bottom: -20px;
    left: 40px;
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, var(--accent), var(--border));
  }
}

/* --------------------------------------------------------------------------
   11. Benefits
   -------------------------------------------------------------------------- */
.benefit-card { text-align: left; }

/* --------------------------------------------------------------------------
   12. Before vs after
   -------------------------------------------------------------------------- */
.compare { background: var(--bg-alt); }

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.4vw, 26px);
  max-width: 960px;
  margin-inline: auto;
}
@media (max-width: 780px) {
  .compare-grid { grid-template-columns: 1fr; }
}

.compare-col {
  padding: clamp(26px, 3.4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.compare-after {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--border));
  box-shadow: var(--shadow-md);
  background: linear-gradient(170deg, var(--accent-soft), transparent 45%), var(--card);
}

.compare-col h3 { margin-bottom: 22px; }

.compare-badge {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--bg-alt);
  color: var(--text-2);
  border: 1px solid var(--border);
}
.compare-badge-gold {
  background: var(--accent-soft);
  color: var(--accent-ink);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
}

.compare-col li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding-block: 12px;
  font-size: 0.9688rem;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}
.compare-col li:last-child { border-bottom: none; }
.compare-after li { color: var(--text); font-weight: 500; }

.mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  font-size: 0.6875rem;
  font-weight: 700;
}
.mark-x { background: var(--danger-soft); color: var(--danger); }
.mark-check { background: var(--success-soft); color: var(--success); }

/* --------------------------------------------------------------------------
   13. Founder's note
   -------------------------------------------------------------------------- */
.founder { background: var(--bg); }

.founder-card {
  position: relative;
  text-align: center;
  padding: clamp(36px, 6vw, 64px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(560px 300px at 50% 0%, var(--accent-soft), transparent 70%),
    var(--card);
  box-shadow: var(--shadow-md);
}

.founder-mark {
  width: clamp(52px, 7vw, 66px);
  height: auto;
  margin: 0 auto 22px;
}

.founder-heading {
  margin-bottom: 22px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

/* Body paragraphs: left-aligned for readability inside the centered card */
.founder-card > p:not([class]) {
  max-width: 38rem;
  margin: 0 auto 18px;
  font-size: 1.0313rem;
  line-height: 1.75;
  text-align: left;
}

.founder-sign {
  display: grid;
  gap: 5px;
  margin-top: 30px;
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 800;
  color: var(--heading);
}
.founder-sign span {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

/* --------------------------------------------------------------------------
   14. FAQ
   -------------------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.faq-item:hover { border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.faq-item[open] {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-size: 1.0313rem;
  font-weight: 700;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-chevron {
  position: relative;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  transition: transform 0.3s var(--ease-out);
}
.faq-chevron::before,
.faq-chevron::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-ink);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease-out);
}
.faq-chevron::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-chevron::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}
.faq-item[open] .faq-answer {
  max-height: 520px;
  padding-bottom: 22px;
}
.faq-answer p {
  font-size: 0.9688rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   15. Final CTA
   -------------------------------------------------------------------------- */
.final-cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(88px, 11vw, 150px);
  background: linear-gradient(170deg, var(--navy-deep) 0%, var(--navy) 100%);
  text-align: center;
}
[data-theme="dark"] .final-cta {
  background: linear-gradient(170deg, #050D1C 0%, var(--navy-deep) 100%);
  border-top: 1px solid var(--border);
}

.cta-monogram {
  width: clamp(56px, 8vw, 74px);
  height: auto;
  margin: 0 auto 26px;
}

.final-cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(211, 172, 61, 0.13) 0%, transparent 60%);
  pointer-events: none;
}

.final-cta-inner { position: relative; }

.final-cta h2 {
  color: #FFFFFF;
  margin-bottom: 22px;
}
.final-cta p {
  max-width: 34rem;
  margin-inline: auto;
  color: #B9BDC7;
  font-size: 1.0625rem;
  line-height: 1.72;
}
.final-cta .hero-ctas {
  justify-content: center;
  margin-top: 36px;
}

.eyebrow-light { color: var(--accent); }

.final-cta-note {
  margin-top: 26px;
  font-size: 0.875rem !important;
  color: #8B909C !important;
}
.final-cta-note a {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.final-cta-note a:hover { border-bottom-color: var(--accent); }

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-top: clamp(48px, 6vw, 72px);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  padding-bottom: clamp(36px, 5vw, 56px);
}
@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

.footer-brand p {
  margin-top: 16px;
  max-width: 22rem;
  font-size: 0.9375rem;
}

.footer-links ul {
  display: grid;
  gap: 12px;
}
.footer-links a {
  font-size: 0.9375rem;
  color: var(--text-2);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--text); }

.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-2);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.25s var(--ease-out), background-color 0.2s ease;
}
.footer-social a:hover {
  color: var(--accent-ink);
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 24px;
  border-top: 1px solid var(--border);
}
.footer-bottom p { font-size: 0.8438rem; }

.footer-legal {
  display: flex;
  gap: 22px;
}
.footer-legal a {
  font-size: 0.8438rem;
  color: var(--text-2);
  transition: color 0.2s ease;
}
.footer-legal a:hover { color: var(--text); }

/* --------------------------------------------------------------------------
   17. Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

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

/* --------------------------------------------------------------------------
   18. WordPress additions
   Everything below was added for the WordPress conversion. No rules above
   this line were changed from the original static site.
   -------------------------------------------------------------------------- */

/* Founder's note: two-column layout with portrait (image left, note right).
   Falls back to a stacked layout — image above text — on small screens. */
.founder-card-split {
  max-width: 1060px;
  margin-inline: auto;
  text-align: left;
}

.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: stretch;
}

.founder-media {
  margin: 0;
  min-height: 100%;
}
.founder-media img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.founder-body {
  align-self: center;
}
.founder-body > p:not([class]) {
  max-width: 38rem;
  margin: 0 0 18px;
  font-size: 1.0313rem;
  line-height: 1.75;
}
.founder-card-split .founder-sign {
  justify-items: start;
  text-align: left;
}

@media (max-width: 860px) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder-media img {
    min-height: 0;
    max-height: 440px;
  }
  .founder-body { padding-top: 4px; }
}

/* Logged-in admin bar: keep the fixed header below it */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

/* WordPress core helper (used by widgets, pagination, etc.) */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  word-wrap: normal !important;
}

/* Basic content styling for WordPress-managed pages (Privacy, Terms, posts) */
.entry-content > * + * { margin-top: 1em; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content a { color: var(--accent-ink); text-decoration: underline; }
.entry-content img { border-radius: var(--radius-md); }

/* Fluent Forms: inherit the theme's typography if a form is enabled */
.fluentform .ff-el-form-control { font-family: var(--font-body); }
