/* ==========================================================================
   VisiFlux — shared stylesheet
   Light, clinical, precise. Tokens derived from the VisiFlux logo.
   ========================================================================== */

:root {
  /* Palette */
  --ink: #101314;
  --deep-teal: #1B3C44;
  --slate-teal: #3E7585;
  --sky: #5BC0E2;
  --seafoam: #2E7C7C;
  --mist: #E9F3F2;
  --paper: #FFFFFF;
  /* Booking-action accent. Ink text required: white on this green is ~3.2:1.
     Hover darkened only to #2B9663 — the spec'd #268A59 drops ink text below 4.5:1. */
  --cta-green: #2FA36B;
  --cta-green-hover: #2B9663;

  /* Derived */
  --ink-soft: #3a4448;
  --line: rgba(27, 60, 68, 0.14);
  --sky-soft: rgba(91, 192, 226, 0.16);
  --shadow-card: 0 1px 2px rgba(16, 19, 20, 0.04), 0 8px 24px rgba(27, 60, 68, 0.08);
  --shadow-lift: 0 2px 4px rgba(16, 19, 20, 0.05), 0 14px 34px rgba(27, 60, 68, 0.13);

  /* Type */
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Scale */
  --content-max: 1100px;
  --radius: 16px;
  --radius-sm: 10px;
}

/* ---------- Reset / base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  /* NOTE: no CSS scroll-behavior:smooth — it conflicts with GSAP ScrollTrigger.
     Smooth in-page anchor scrolling is handled in main.js instead. */
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--slate-teal); }
a:hover { color: var(--deep-teal); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--deep-teal);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
  color: #fff;
}

.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

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

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--seafoam);
  margin-bottom: 1rem;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}
.section-head.center { margin-inline: auto; text-align: center; }

.lead {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--ink-soft);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

/* Primary = booking actions only ("Book Your Free Strategy Call", nav Book button). */
.btn-primary {
  background: var(--cta-green);
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(47, 163, 107, 0.35);
}
.btn-primary:hover {
  background: var(--cta-green-hover);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(47, 163, 107, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--deep-teal);
  border-color: var(--deep-teal);
}
.btn-secondary:hover {
  background: var(--deep-teal);
  color: #fff;
  transform: translateY(-2px);
}

/* Light outline button for non-booking actions on dark bands */
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover { transition: none; transform: none; }
}

.text-link {
  font-weight: 600;
  color: var(--slate-teal);
  text-decoration: none;
  border-bottom: 2px solid var(--sky);
  padding-bottom: 2px;
}
.text-link:hover { color: var(--deep-teal); border-bottom-color: var(--deep-teal); }

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(27, 60, 68, 0.96); /* --deep-teal */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 10px 18px;
  box-shadow: 0 2px 10px rgba(16, 19, 20, 0.18);
}
.brand img { height: 36px; width: auto; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle .bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 500;
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.site-nav a:not(.btn):hover,
.site-nav a:not(.btn)[aria-current="page"] {
  color: #FFFFFF;
  border-bottom-color: var(--sky);
}

.site-nav .btn { min-height: 44px; padding: 0.6rem 1.4rem; }

@media (max-width: 800px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--deep-teal);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-card);
  }
  .site-nav.open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem clamp(1.25rem, 4vw, 2rem) 1.25rem;
  }
  .site-nav li { width: 100%; }
  .site-nav a:not(.btn) {
    width: 100%;
    min-height: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .site-nav li:last-child { margin-top: 0.85rem; }
  .site-nav .btn { width: 100%; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--paper) 0%, var(--mist) 100%);
  padding-block: clamp(4rem, 10vw, 7.5rem);
}

.hero-flux {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.hero h1 { margin-bottom: 0.4em; }

.hero .subhead {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

/* Split-line reveal: lines hidden until GSAP runs (js only) */
.js-loading .split-reveal { visibility: hidden; }

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
@media (prefers-reduced-motion: reduce) {
  .card, .card:hover { transition: none; transform: none; }
}

.card .card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--sky-soft);
  color: var(--deep-teal);
  margin-bottom: 1.1rem;
}
.card .card-icon svg { width: 24px; height: 24px; }

.card h3 { margin-bottom: 0.4em; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.99rem; }

/* ---------- Section tints ---------- */

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

.section-dark {
  background: linear-gradient(135deg, var(--deep-teal) 0%, #1f4a52 55%, var(--seafoam) 130%);
  color: #fff;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255, 255, 255, 0.85); }
.section-dark .eyebrow { color: var(--sky); }

/* ---------- With / Without comparison ---------- */

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
}
@media (max-width: 760px) {
  .compare-grid { grid-template-columns: 1fr; }
}

.compare-col {
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.compare-col h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.compare-col ul { list-style: none; margin: 0; padding: 0; }
.compare-col li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding-block: 0.7rem;
  font-size: 1rem;
}
.compare-col li + li { border-top: 1px solid var(--line); }
.compare-col li .mark {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin-top: 2px;
  font-size: 0.8rem;
}

.compare-without {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.compare-without h3 { color: var(--ink-soft); }
.compare-without li { color: var(--ink-soft); }
.compare-without .mark { background: rgba(16, 19, 20, 0.07); color: var(--ink-soft); }

.compare-with {
  background: var(--deep-teal);
  color: #fff;
  box-shadow: var(--shadow-lift);
}
.compare-with h3 { color: var(--sky); }
.compare-with li { color: rgba(255, 255, 255, 0.94); position: relative; }
.compare-with li + li { border-top-color: rgba(255, 255, 255, 0.14); }
.compare-with .mark { background: var(--sky); color: var(--deep-teal); }
.compare-with .mark svg { width: 13px; height: 13px; }

/* Flux particle trail dots spawned behind "With" items as they slide in */
.flux-trail-dot {
  position: absolute;
  left: 12px;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 50%;
  background: var(--sky);
  pointer-events: none;
  opacity: 0;
}

/* ---------- How it works / Flux line ---------- */

.flux-section { position: relative; }

.flux-stage {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
}

.flux-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 2; /* desktop: line arcs through whitespace above the cards */
}
@media (max-width: 760px) {
  .flux-svg { z-index: 0; } /* mobile: line runs behind cards, visible in the gaps */
}

.flux-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: flux;
}

@media (max-width: 760px) {
  .flux-steps { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
}

.flux-step {
  position: relative;
  z-index: 1;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-card);
  text-align: left;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.flux-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
@media (prefers-reduced-motion: reduce) {
  .flux-step, .flux-step:hover { transition: none; transform: none; }
}

.flux-step .step-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--deep-teal);
  color: var(--sky);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  box-shadow: 0 0 0 6px var(--sky-soft);
}

.flux-step h3 { margin-bottom: 0.4em; }
.flux-step p { margin: 0; color: var(--ink-soft); font-size: 0.99rem; }
.flux-step .step-detail {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--line);
  font-size: 0.93rem;
}

/* ---------- Stats band ---------- */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(2rem, 5vw, 3rem);
}
@media (max-width: 860px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .stats-grid { grid-template-columns: 1fr; } }

.stat { text-align: center; }

.stat .stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.stat .stat-underline {
  display: block;
  width: 64px;
  height: 3px;
  margin: 0.7rem auto;
  background: var(--sky);
  border-radius: 2px;
  transform-origin: left center;
}

.stat .stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
}

.stats-footnote {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

/* ---------- Founder ---------- */

.founder-grid {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 760px) {
  .founder-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}

.founder-photo-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, var(--seafoam) 0%, #8fc6c2 78%, var(--mist) 100%);
  box-shadow: var(--shadow-lift);
}
.founder-photo-card img { width: 100%; }

/* ---------- FAQ accordion ---------- */

.faq-list {
  max-width: 760px;
  margin-inline: auto;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 56px;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
}
.faq-question:hover { color: var(--deep-teal); }

.faq-question .faq-chevron {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--slate-teal);
  transition: transform 0.25s ease;
}
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) {
  .faq-question .faq-chevron { transition: none; }
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer > div { overflow: hidden; }
.faq-answer p {
  margin: 0;
  padding: 0 1.25rem 1.15rem;
  color: var(--ink-soft);
  font-size: 0.99rem;
}
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
@media (prefers-reduced-motion: reduce) {
  .faq-answer { transition: none; }
}

/* ---------- Final CTA band ---------- */

.cta-band {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band .container { position: relative; }

/* Sparse particle drift flowing toward the CTA button (JS-driven) */
.cta-flux,
.ty-flux {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.cta-band h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.cta-band p {
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* ---------- Checklist / inclusion lists (offer page) ---------- */

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0.9rem 2rem;
  max-width: 860px;
}
.check-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 1.02rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.check-list li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}
@media (prefers-reduced-motion: reduce) {
  .check-list li, .check-list li:hover { transition: none; transform: none; }
}
.check-list .mark {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--deep-teal);
  margin-top: 2px;
}
.check-list .mark svg { width: 14px; height: 14px; }

/* ---------- Fit / not-fit split ---------- */

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
}
@media (max-width: 760px) { .fit-grid { grid-template-columns: 1fr; } }

.fit-col {
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-card);
}
.fit-col.is-for { border-top: 4px solid var(--sky); }
.fit-col.not-for { border-top: 4px solid var(--slate-teal); }
.fit-col ul { list-style: none; margin: 0; padding: 0; }
.fit-col li {
  padding-block: 0.6rem;
  padding-left: 1.6rem;
  position: relative;
  color: var(--ink-soft);
}
.fit-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sky);
}
.fit-col.not-for li::before { background: var(--slate-teal); }

/* ---------- Booking page ---------- */

.booking-hero {
  background: linear-gradient(180deg, var(--paper) 0%, var(--mist) 100%);
  padding-block: clamp(1.5rem, 3vw, 2.25rem) clamp(1rem, 2vw, 1.5rem);
  text-align: center;
}
.booking-hero h1 {
  max-width: 880px;
  margin-inline: auto;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin-bottom: 0.35em;
}
.booking-hero .lead {
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 0;
  font-size: clamp(1rem, 1.8vw, 1.1rem);
}

.calendar-section { padding-block: clamp(1rem, 2vw, 1.5rem) clamp(1.5rem, 3vw, 2rem); }

.reassure-section { padding-block: clamp(1rem, 2vw, 1.5rem) clamp(2.5rem, 5vw, 4rem); }

.reassure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
  text-align: left;
}

.reassure-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.35rem;
  box-shadow: var(--shadow-card);
}
.reassure-card h3 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--seafoam);
  margin-bottom: 0.5rem;
}
.reassure-card p { margin: 0; font-size: 0.97rem; color: var(--ink-soft); }

.calendar-wrap {
  max-width: 900px;
  margin-inline: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: clamp(0.5rem, 2vw, 1.5rem);
}
.calendar-wrap iframe {
  display: block;
  width: 100%;
  min-height: 720px;
  border: none;
}
@media (max-width: 600px) {
  .calendar-wrap { padding: 0.25rem; border-radius: var(--radius-sm); }
  .calendar-wrap iframe { min-height: 640px; }
}

.fallback-line {
  text-align: center;
  margin-top: 2rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ---------- Thank-you page ---------- */

.steps-list {
  list-style: none;
  counter-reset: ty-steps;
  margin: 0;
  padding: 0;
  max-width: 640px;
}
.steps-list li {
  counter-increment: ty-steps;
  position: relative;
  padding: 1.1rem 0 1.1rem 4rem;
}
.steps-list li + li { border-top: 1px solid var(--line); }
.steps-list li::before {
  content: counter(ty-steps);
  position: absolute;
  left: 0;
  top: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--deep-teal);
  color: var(--sky);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}
.steps-list h3 { margin-bottom: 0.25em; font-size: 1.1rem; }
.steps-list p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Page hero (interior pages) ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--paper) 0%, var(--mist) 100%);
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.page-hero h1 { max-width: 800px; }
.page-hero .lead { max-width: 640px; }

/* Compact band that tightly wraps a lone H1 (about.html) */
.page-hero--compact { padding-block: clamp(2.25rem, 5vw, 3.25rem); }
.page-hero--compact h1 { margin-bottom: 0; }

/* Top-align photo + bio so the photo edge and the name heading start together */
.founder-grid--top { align-items: start; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--deep-teal);
  color: rgba(255, 255, 255, 0.82);
  padding-block: clamp(2.5rem, 5vw, 4rem) 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand img {
  height: 36px;
  width: auto;
  background: #fff;
  border-radius: 8px;
  padding: 5px 10px;
}
.footer-brand p { margin-top: 1rem; margin-bottom: 0; }

.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--sky); }

.footer-contact a { color: var(--sky); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-contact p { margin-bottom: 0.4rem; }

.footer-contact a.footer-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: -12px; /* center the 20px glyph in a 44px tap target while keeping it flush with the text above */
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}
.footer-contact a.footer-instagram:hover { color: var(--sky); text-decoration: none; }
.footer-instagram svg { width: 20px; height: 20px; display: block; }

.footer-bottom {
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal { margin-bottom: 0.25rem; }
.footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}
.footer-legal a:hover { color: var(--sky); text-decoration: underline; }
.footer-legal .sep { margin-inline: 0.6rem; }

/* ---------- Legal pages (privacy policy, terms) ---------- */

.legal-body { max-width: 70ch; }
.legal-body h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  margin-top: 2.4em;
  margin-bottom: 0.6em;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body ul,
.legal-body ol {
  margin: 0 0 1.25em;
  padding-left: 1.4em;
}
.legal-body li { margin-bottom: 0.6em; }
.legal-body li:last-child { margin-bottom: 0; }

.legal-meta {
  margin-top: 1.25rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.legal-meta p { margin-bottom: 0.25em; }

/* ---------- Reveal animation base ---------- */
/* Elements start visible; GSAP sets initial state at runtime (no-JS safe, no CLS). */

/* ---------- Reduced motion: hide flux canvases ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-flux, .cta-flux, .ty-flux { display: none; }
}

/* ---------- Utility ---------- */

.mt-2 { margin-top: 2rem; }
.center { text-align: center; }
