/* ═══════════════════════════════════════════════════════════
   BUILDWISE MEDIA — DESIGN SYSTEM
   Light-first • Forged Earth palette • 8pt grid
   ═══════════════════════════════════════════════════════════ */

/* ── LIGHT MODE (default) ── */
:root {
  /* Color tokens — Homepage */
  --bg: #F5F0EB;
  --bg-surface: #FFFFFF;
  --bg-elevated: #F0EAE3;
  --text-primary: #2D2420;
  --text-muted: #6B5D52;
  --accent: #C4704B;
  --accent-hover: #A85A38;
  --border: rgba(196,112,75,0.12);

  /* Shared tokens */
  --charcoal: #1C1714;
  --charcoal-raised: #2A231F;
  --charcoal-border: #3A322C;
  --cream: #FDFCFA;
  --warmstone: #F5F0EB;
  --ash: #6B6560;
  --overlay: rgba(28, 23, 20, 0.85);

  /* Spacing (8pt grid) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 5rem;
  --space-16: 6rem;
  --space-20: 8rem;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  --font-serif: 'DM Sans', ui-serif, Georgia, serif;
  --font-mono: 'DM Sans', ui-monospace, monospace;

  /* Radii */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-2xl: 2.5rem;
  --radius-3xl: 3rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-card-hover: 0 4px 12px rgba(0,0,0,0.06), 0 8px 32px rgba(0,0,0,0.08);
  --shadow-elevated: 0 8px 24px rgba(0,0,0,0.08), 0 16px 48px rgba(0,0,0,0.06);
  --shadow-sticky: 0 4px 24px rgba(0,0,0,0.25);
  --shadow-terracotta: 0 4px 20px rgba(196,112,75,0.25);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;

  /* Success (confirmation page) */
  --success: #5B8C5A;
}

/* ── DARK MODE — System preference ── */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1C1714;
    --bg-surface: #272220;
    --bg-elevated: #332C27;
    --text-primary: #F5F0EB;
    --text-muted: #C4BAB0;
    --accent: #D4805B;
    --accent-hover: #E0906B;
    --border: rgba(196,112,75,0.18);
    --success: #6EA06D;
  }
}

/* ── DARK MODE — Manual toggle (highest priority) ── */
[data-theme="dark"] {
  --bg: #1C1714;
  --bg-surface: #272220;
  --bg-elevated: #332C27;
  --text-primary: #F5F0EB;
  --text-muted: #C4BAB0;
  --accent: #D4805B;
  --accent-hover: #E0906B;
  --border: rgba(196,112,75,0.18);
  --success: #6EA06D;
}

/* ── LIGHT MODE — Manual toggle override ── */
[data-theme="light"] {
  --bg: #F5F0EB;
  --bg-surface: #FFFFFF;
  --bg-elevated: #F0EAE3;
  --text-primary: #2D2420;
  --text-muted: #6B5D52;
  --accent: #C4704B;
  --accent-hover: #A85A38;
  --border: rgba(196,112,75,0.12);
  --success: #5B8C5A;
}

/* Qualify + Confirmation page overrides (slightly different surface tokens) */
.page-qualify, .page-confirmation {
  --bg: #FAF6F1;
  --bg-surface: #F0EBE4;
  --bg-elevated: #FFFFFF;
  --text-primary: #1C1714;
  --text-muted: #6B5E53;
  --accent-hover: #B5603B;
}

@media (prefers-color-scheme: dark) {
  .page-qualify, .page-confirmation {
    --bg: #1C1714;
    --bg-surface: #272220;
    --bg-elevated: #332C27;
    --text-primary: #F5F0EB;
    --text-muted: #C4BAB0;
    --accent-hover: #E0906B;
  }
}

[data-theme="dark"] .page-qualify,
[data-theme="dark"] .page-confirmation {
  --bg: #1C1714;
  --bg-surface: #272220;
  --bg-elevated: #332C27;
  --text-primary: #F5F0EB;
  --text-muted: #C4BAB0;
  --accent-hover: #E0906B;
}

[data-theme="light"] .page-qualify,
[data-theme="light"] .page-confirmation {
  --bg: #FAF6F1;
  --bg-surface: #F0EBE4;
  --bg-elevated: #FFFFFF;
  --text-primary: #1C1714;
  --text-muted: #6B5E53;
  --accent-hover: #B5603B;
}


/* ═══════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════ */

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--duration-normal) var(--ease-out),
              color var(--duration-normal) var(--ease-out);
}

::selection {
  background-color: var(--accent);
  color: white;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* Focus */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}


/* ═══════════════════════════════════════════════════════════
   FILM GRAIN OVERLAY
   ═══════════════════════════════════════════════════════════ */

.film-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}


/* ═══════════════════════════════════════════════════════════
   RADIAL GLOW ORBS
   ═══════════════════════════════════════════════════════════ */

.glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.15;
}

.glow-orb--accent {
  background: var(--accent);
}

.glow-orb--warm {
  background: var(--warmstone);
  opacity: 0.08;
}


/* ═══════════════════════════════════════════════════════════
   SCROLL-TRIGGERED ANIMATIONS
   ═══════════════════════════════════════════════════════════ */

.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════════════════════════
   THEME TOGGLE
   ═══════════════════════════════════════════════════════════ */

.theme-toggle {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.theme-toggle:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

/* Show/hide sun/moon based on effective theme */
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

@media (prefers-color-scheme: dark) {
  .theme-toggle .icon-sun { display: block; }
  .theme-toggle .icon-moon { display: none; }
}

[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }


/* ═══════════════════════════════════════════════════════════
   NAVIGATION (HOMEPAGE)
   ═══════════════════════════════════════════════════════════ */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--duration-normal) var(--ease-out);
  background: transparent;
}

.site-nav.is-scrolled {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 0.75rem 1.5rem;
}

/* Dark sections need light nav text */
.nav-logo {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.nav-logo span { color: var(--accent); }

.nav-cta {
  display: none;
  padding: 0.625rem 1.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: white;
  background: var(--accent);
  border-radius: var(--radius-full);
  border: none;
  transition: all var(--duration-fast) var(--ease-out);
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: scale(1.03);
}

.site-nav.is-scrolled .nav-cta { display: inline-flex; }


/* ═══════════════════════════════════════════════════════════
   STICKY CTA (MOBILE BOTTOM BAR + DESKTOP PILL)
   ═══════════════════════════════════════════════════════════ */

.sticky-cta {
  position: fixed;
  z-index: 50;
  transition: all 500ms var(--ease-out);
  opacity: 0;
  pointer-events: none;
}

.sticky-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile: bottom bar */
.sticky-cta--mobile {
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: rgba(28, 23, 20, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sticky);
  transform: translateY(100%);
}

.sticky-cta--mobile.is-visible { transform: translateY(0); }

.sticky-cta--mobile .btn-cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Desktop: pill */
.sticky-cta--desktop {
  top: 1.5rem;
  right: 1.5rem;
  transform: translateY(-80px);
}

.sticky-cta--desktop.is-visible { transform: translateY(0); }

@media (min-width: 768px) {
  .sticky-cta--mobile { display: none; }
}
@media (max-width: 767px) {
  .sticky-cta--desktop { display: none; }
}


/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
  color: white;
  background: var(--accent);
  border: none;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-terracotta);
  transition: all var(--duration-fast) var(--ease-out);
}

.btn-cta:hover {
  background: var(--accent-hover);
  transform: scale(1.03);
}

.btn-cta--secondary {
  background: var(--charcoal);
  color: var(--cream);
  box-shadow: none;
}

.btn-cta--secondary:hover {
  background: #000;
}

.btn-cta--lg {
  padding: 1.25rem 3rem;
  font-size: 1.25rem;
}

.btn-cta--sm {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
}

/* Glass button variant */
.btn-glass {
  background: rgba(196, 112, 75, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sticky);
}


/* ═══════════════════════════════════════════════════════════
   HOMEPAGE SECTIONS
   ═══════════════════════════════════════════════════════════ */

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 1.5rem;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--cream);
}

.hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--overlay), rgba(28, 23, 20, 0.95));
}

.hero__content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.hero__title {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--cream);
}

.hero__subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 300;
  line-height: 1.6;
  max-width: 40rem;
  margin: 2rem auto 0;
  color: var(--warmstone);
}

.hero__trust {
  margin-top: 1rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  color: var(--ash);
}

/* Section containers */
.section { padding: 6rem 1.5rem; }
.section--dark { background: var(--charcoal); color: var(--cream); }
.section--light { background: var(--bg); color: var(--text-primary); }
.section--surface { background: var(--cream); color: var(--text-primary); }

.section--rounded-top { border-radius: var(--radius-3xl) var(--radius-3xl) 0 0; }
.section--rounded { border-radius: var(--radius-3xl); }

.section__container { max-width: 72rem; margin: 0 auto; }
.section__container--narrow { max-width: 56rem; margin: 0 auto; }
.section__container--tight { max-width: 48rem; margin: 0 auto; }

.section__title {
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-align: center;
  margin-bottom: 4rem;
}

/* Problem cards */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.problem-card {
  padding: 2.5rem;
  background: var(--bg-surface);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--duration-normal) var(--ease-out);
}

.problem-card:hover { box-shadow: var(--shadow-card-hover); }

.problem-card__icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.problem-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.problem-card__body {
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.6;
}

/* Solution bridge */
.solution-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.875rem, 4vw, 3rem);
  line-height: 1.4;
  color: var(--cream);
}

.solution-bullets {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  font-size: 1.125rem;
  color: var(--ash);
}

@media (min-width: 768px) {
  .solution-bullets { flex-direction: row; justify-content: center; gap: 3rem; }
}

.solution-bullet {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.solution-bullet svg { color: var(--accent); flex-shrink: 0; }

/* How It Works */
.steps { position: relative; }

.steps__line {
  position: absolute;
  left: 1.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--bg);
}

@media (min-width: 768px) { .steps__line { left: 3rem; } }

.step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding-left: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) { .step { gap: 3rem; padding-left: 6rem; } }

.step__number {
  position: absolute;
  left: 0;
  top: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .step__number { width: 6rem; height: 6rem; font-size: 1.875rem; }
}

.step__title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.step__desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Tiers */
.tiers-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .tiers-grid { flex-direction: row; justify-content: center; }
}

.tier-card {
  padding: 2.5rem;
  border-radius: var(--radius-2xl);
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 32rem;
}

@media (min-width: 768px) { .tier-card { padding: 3rem; } }

.tier-card--lite {
  background: var(--bg-surface);
  box-shadow: var(--shadow-card);
}

.tier-card--ascend {
  background: var(--charcoal);
  box-shadow: var(--shadow-elevated);
  position: relative;
}

@media (min-width: 1024px) {
  .tier-card--ascend { transform: scale(1.05); z-index: 10; }
}

.tier-badge {
  position: absolute;
  top: 0;
  right: 2rem;
  transform: translateY(-50%);
  background: var(--accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
}

.tier-card__title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tier-card--ascend .tier-card__title { color: var(--cream); }

.tier-card__subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.tier-card--ascend .tier-card__subtitle { color: var(--warmstone); opacity: 0.8; }

.tier-list {
  flex-grow: 1;
  margin-bottom: 3rem;
}

.tier-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.tier-card--ascend .tier-list li { color: var(--cream); }

.tier-list svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.tier-card--ascend .btn-cta { width: 100%; justify-content: center; }
.tier-card--lite .btn-cta { width: 100%; justify-content: center; }

/* Social proof */
.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 768px) { .proof-grid { grid-template-columns: 1fr 1fr; } }

.metric-card {
  padding: 2rem;
  background: rgba(42, 35, 31, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--charcoal-border);
  box-shadow: var(--shadow-card);
  margin-bottom: 2rem;
}

.metric-card__value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.metric-card__label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--warmstone);
}

.testimonial-quote {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--cream);
  margin-bottom: 2rem;
}

.testimonial-author {
  font-weight: 500;
  color: var(--ash);
}

.industries {
  text-align: center;
  margin-top: 5rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ash);
}

/* FAQ */
.faq-item {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  margin-bottom: 1rem;
  transition: box-shadow var(--duration-normal) var(--ease-out);
  overflow: hidden;
}

.faq-item.is-open { box-shadow: var(--shadow-card-hover); }

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-trigger svg {
  flex-shrink: 0;
  color: var(--accent);
  transition: transform var(--duration-normal) var(--ease-out);
}

.faq-item.is-open .faq-trigger svg { transform: rotate(180deg); }

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows var(--duration-normal) var(--ease-out),
              opacity var(--duration-normal) var(--ease-out);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-panel__inner {
  overflow: hidden;
}

.faq-panel__inner p {
  padding: 0 2rem 1.5rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Final CTA */
.final-cta__title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--cream);
  margin-bottom: 3rem;
}

.final-cta__trust {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ash);
  margin-top: 1.5rem;
}

/* Footer */
.site-footer {
  padding: 3rem 1.5rem;
  background: var(--charcoal);
  border-top: 1px solid var(--charcoal-raised);
}

.site-footer__inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .site-footer__inner { flex-direction: row; justify-content: space-between; }
}

.footer-logo {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  color: var(--cream);
}

.footer-logo span { color: var(--accent); }

.footer-tagline {
  font-size: 0.875rem;
  color: var(--ash);
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  font-size: 0.75rem;
  color: var(--ash);
  transition: color var(--duration-fast);
}

.footer-links a:hover { color: var(--cream); }

.footer-copy {
  font-size: 0.75rem;
  color: var(--ash);
}


/* ═══════════════════════════════════════════════════════════
   QUALIFY PAGE
   ═══════════════════════════════════════════════════════════ */

.qualify-hero {
  text-align: center;
  padding: 8rem 1.5rem 4rem;
}

.qualify-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.qualify-hero__subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.6;
}

.cal-container {
  max-width: 56rem;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
}

.cal-wrapper {
  background: var(--bg-elevated);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-elevated);
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

/* Cal.com loading spinner */
.cal-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 1;
}

.cal-spinner__ring {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.cal-spinner__text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

#cal-embed {
  position: relative;
  z-index: 2;
}

.qualify-trust {
  text-align: center;
  padding: 0 1.5rem 4rem;
}

.qualify-trust__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 40rem;
  margin: 0 auto;
}

.qualify-trust__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.qualify-trust__item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════════
   CONFIRMATION PAGE
   ═══════════════════════════════════════════════════════════ */

.confirmation {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
}

.confirmation__card {
  background: var(--bg-elevated);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-elevated);
  padding: 3rem;
  max-width: 36rem;
  width: 100%;
  text-align: center;
}

@media (min-width: 768px) {
  .confirmation__card { padding: 4rem; }
}

/* Checkmark animation */
.checkmark-circle {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  position: relative;
}

.checkmark-circle svg {
  width: 80px;
  height: 80px;
}

.checkmark-circle__bg {
  fill: none;
  stroke: var(--success);
  stroke-width: 2;
  opacity: 0.2;
}

.checkmark-circle__ring {
  fill: none;
  stroke: var(--success);
  stroke-width: 2;
  stroke-dasharray: 226;
  stroke-dashoffset: 226;
  stroke-linecap: round;
  animation: checkmark-ring 0.6s ease-out 0.2s forwards;
}

.checkmark-circle__check {
  fill: none;
  stroke: var(--success);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: checkmark-draw 0.4s ease-out 0.7s forwards;
}

@keyframes checkmark-ring {
  to { stroke-dashoffset: 0; }
}

@keyframes checkmark-draw {
  to { stroke-dashoffset: 0; }
}

.confirmation__title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.confirmation__subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.confirmation__details {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
}

.confirmation__detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}

.confirmation__detail:last-child { border-bottom: none; }

.confirmation__detail svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.confirmation__detail strong {
  color: var(--text-primary);
}

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

.confirmation__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.confirmation__reschedule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) var(--ease-out);
}

.confirmation__reschedule:hover {
  color: var(--accent);
  border-color: var(--accent);
}


/* ═══════════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════════ */

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

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
