/* CoAtch go site — UI Overhaul */

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

/* ── Design Tokens ── */
:root {
  --accent: #FF3D33;
  --accent-glow: rgba(255, 61, 51, 0.35);
  --bg: #0f172a;
  --bg-alt: #131c31;
  --surface-1: #1e293b;
  --surface-2: #334155;
  --border: #475569;
  --border-subtle: rgba(71, 85, 105, 0.5);
  --txt: #f1f5f9;
  --txt-muted: #94a3b8;
  --txt-faint: #64748b;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--txt);
  min-height: 100vh;
  margin: 0;
}

/* ── Typography ── */
.font-display {
  font-family: 'Bebas Neue', sans-serif;
}
.brand-name {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 700;
}
.brand-name .cap {
  font-size: 1.15em;
}

/* ── Utility Classes ── */
.text-center { text-align: center; }
.text-muted { color: var(--txt-muted); }
.text-faint { color: var(--txt-faint); }
.text-accent { color: var(--accent); }

/* ── Section Layout ── */
.section {
  padding: var(--space-3xl) var(--space-lg);
  max-width: 48rem;
  margin: 0 auto;
}
.section-narrow {
  padding: var(--space-2xl) var(--space-lg);
  max-width: 38rem;
  margin: 0 auto;
}
.section-wide {
  padding: var(--space-3xl) var(--space-lg);
  max-width: 64rem;
  margin: 0 auto;
}
.section-alt {
  background-color: var(--bg-alt);
}
.section-heading {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-lg);
}
.section-subheading {
  color: var(--txt-muted);
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 36rem;
  margin: 0 auto var(--space-lg);
}

/* ── Section Divider ── */
.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  border: none;
  margin: 0;
}

/* ── Scroll Reveal Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Buttons ── */
.btn-accent {
  background-color: var(--accent);
  color: white;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: inline-block;
  text-decoration: none;
}
.btn-accent:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--accent-glow);
}
.btn-accent:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn-accent-lg {
  padding: 1rem 3rem;
  font-size: 1.25rem;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-ghost {
  background-color: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  padding: 0.75rem 2.5rem;
  border-radius: 0.5rem;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  transition: all 0.25s ease;
  cursor: pointer;
  font-size: 1rem;
  display: inline-block;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.75);
  background-color: rgba(255, 255, 255, 0.07);
  color: white;
  transform: translateY(-1px);
}
.btn-secondary {
  background-color: var(--surface-2);
  color: var(--txt-muted);
  font-weight: 500;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  transition: all 0.2s;
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 1rem;
}
.btn-secondary:hover {
  background-color: var(--surface-1);
  color: var(--txt);
}

/* Pulsing CTA glow */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 4px 20px var(--accent-glow); }
  50% { box-shadow: 0 4px 32px rgba(255, 61, 51, 0.5); }
}
.btn-pulse {
  animation: pulseGlow 3s ease-in-out infinite;
}

/* ── Card ── */
.card {
  background-color: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

/* ── Form Input ── */
.form-input {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background-color: var(--bg);
  color: var(--txt);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 61, 51, 0.1);
}
.form-input::placeholder {
  color: var(--txt-faint);
}

/* ── Google Button ── */
.btn-google {
  width: 100%;
  height: 2.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background-color: var(--bg);
  color: var(--txt);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
  font-size: 1rem;
}
.btn-google:hover {
  background-color: var(--surface-2);
  border-color: var(--txt-faint);
}

/* ── Badge ── */
.badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--txt-muted);
  white-space: nowrap;
}

/* ── Divider ── */
.divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--border);
}
.divider span {
  color: var(--txt-faint);
  font-size: 0.75rem;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════
   NAV — Glassmorphism + Scroll Effect
   ══════════════════════════════════════════ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(15, 23, 42, 0.8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
  transition: background-color 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.site-nav.nav-scrolled {
  background-color: rgba(15, 23, 42, 0.95);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  border-bottom-color: transparent;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  position: relative;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.nav-link {
  color: var(--txt-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
}
.nav-link:hover,
.nav-link.active {
  color: var(--txt);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
  border-radius: 1px;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-btn {
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
  text-decoration: none;
}
.nav-trial-link {
  color: var(--txt-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.nav-trial-link:hover {
  color: var(--txt);
}

/* Hamburger button — hidden on desktop */
.hamburger-btn {
  display: none;
  align-items: center;
  gap: 0.75rem;
}
.hamburger-btn button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--txt);
  -webkit-tap-highlight-color: transparent;
}
.hamburger-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
}

/* Mobile slide-down menu */
.mobile-menu {
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: rgba(15, 23, 42, 0.95);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 49;
  transition: max-height 0.25s ease, opacity 0.2s ease, padding 0.25s ease, visibility 0s 0.25s;
}
.mobile-menu--open {
  visibility: visible;
  max-height: 25rem;
  opacity: 1;
  padding: 0.75rem 1.5rem 1rem;
  transition: max-height 0.25s ease, opacity 0.2s ease, padding 0.25s ease, visibility 0s;
}
.mobile-menu a {
  color: var(--txt);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
  display: block;
  text-align: right;
  transition: color 0.2s;
}
.mobile-menu a:last-child {
  border-bottom: none;
}
.mobile-menu a:hover,
.mobile-menu a:focus {
  color: var(--accent);
}

/* Responsive nav */
@media (max-width: 640px) {
  .nav-inner {
    padding: 0.75rem 1rem;
  }
  .nav-inner .brand-name {
    font-size: 1.5rem !important;
  }
  .nav-links {
    display: none !important;
  }
  .hamburger-btn {
    display: flex;
  }
}

/* ══════════════════════════════════════════
   HERO — Story Hero with Gradient Glow
   ══════════════════════════════════════════ */
.story-hero {
  position: relative;
  background: url('/screenshots/hero.jpg') center 40% / cover no-repeat;
  overflow: hidden;
}
.story-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.5) 0%,
    rgba(15, 23, 42, 0.72) 50%,
    rgba(15, 23, 42, 0.95) 100%
  );
}
.story-hero-content {
  position: relative;
  z-index: 1;
}
.hero-inner {
  max-width: 40rem;
  margin: 0 auto;
  padding: var(--space-4xl) var(--space-lg) 5rem;
}
.hero-heading {
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.05;
  text-align: center;
  margin-bottom: var(--space-lg);
}
.hero-subtitle {
  color: var(--txt-muted);
  font-size: 1.125rem;
  line-height: 1.7;
  text-align: center;
  max-width: 36rem;
  margin: 0 auto var(--space-lg);
  overflow-wrap: break-word;
}
.hero-cta {
  text-align: center;
}

/* Animated glow behind hero */
.story-hero::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40rem;
  height: 20rem;
  background: radial-gradient(ellipse, rgba(255, 61, 51, 0.08) 0%, transparent 70%);
  z-index: 0;
  animation: heroGlow 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes heroGlow {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

/* Legacy hero class */
.hero {
  position: relative;
  width: 100%;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('/screenshots/hero.jpg') center 40% / cover no-repeat;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.45) 0%,
    rgba(15, 23, 42, 0.7) 60%,
    rgba(15, 23, 42, 0.95) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 1.5rem 3rem;
  max-width: 48rem;
}

@media (max-width: 640px) {
  .hero {
    min-height: 60vh;
  }
  .hero-content {
    padding: 3rem 1rem 2rem;
  }
  .hero-inner {
    padding: var(--space-3xl) var(--space-md) var(--space-2xl);
  }
}

/* ══════════════════════════════════════════
   WEEK FLOW SECTION — Timeline Visual
   ══════════════════════════════════════════ */
.week-flow-section {
  padding: var(--space-3xl) var(--space-lg) var(--space-xl);
  max-width: 44rem;
  margin: 0 auto;
}
.week-flow-heading {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: var(--space-lg);
}
.flow-toggle-row {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-xl);
}
.flow-toggle {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: 2rem;
  background: transparent;
  color: var(--txt-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.flow-toggle--active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.week-flow-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 2rem;
}
/* Timeline line */
.week-flow-grid::before {
  content: '';
  position: absolute;
  left: 0.4375rem;
  top: 1.25rem;
  bottom: 1.25rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--border));
  border-radius: 1px;
}
.week-flow-day {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}
/* Timeline dot */
.week-flow-day::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 1.2rem;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  z-index: 1;
  margin-left: 0.125rem;
}
.week-flow-day:last-child {
  border-bottom: none;
}
.week-flow-label {
  flex-shrink: 0;
  width: 11rem;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--txt);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.week-flow-label--accent {
  color: var(--accent);
}
.week-flow-day p {
  color: var(--txt-muted);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}
.flow-disclaimer {
  color: var(--txt-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  text-align: center;
  margin-top: var(--space-xl);
  font-style: italic;
}
@media (max-width: 640px) {
  .week-flow-day {
    flex-direction: column;
    gap: 0.25rem;
  }
  .week-flow-label {
    width: auto;
  }
}

/* alt bg for week flow on features page */
.section-alt .week-flow-day::before {
  border-color: var(--bg-alt);
}

/* ══════════════════════════════════════════
   TAP IN SECTION
   ══════════════════════════════════════════ */
/* ── Coaching Memory Bridge ── */
.memory-bridge-section {
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
}
.memory-bridge-body {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  line-height: 1.7;
  color: var(--txt-muted);
  margin: 0 0 var(--space-xl);
}
.memory-bridge-statement {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--txt);
  margin: 0 0 var(--space-2xl);
}
.bridge-screenshot-wrap {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
  padding-bottom: 3rem;
  padding-right: 2rem;
}
.bridge-calendar-img {
  width: 100%;
  display: block;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}
.bridge-phone-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 14%;
  min-width: 80px;
  background: var(--surface-1);
  border-radius: 1.25rem;
  border: 2px solid var(--border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  aspect-ratio: 9 / 19;
}
.bridge-phone-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.tapin-section {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg) var(--space-3xl);
}
.tapin-eyebrow {
  margin-bottom: var(--space-md);
}
.tapin-heading {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}
.tapin-subtitle {
  color: var(--txt-muted);
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 36rem;
  margin: 0 auto var(--space-md);
}
.tapin-kicker {
  color: var(--txt-base);
  font-size: 1rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.01em;
  max-width: 32rem;
  margin: 0 auto var(--space-xl);
}
.tapin-badge {
  display: inline;
  background: #48D1CC;
  color: #0f1b2d;
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.15em 0.5em;
  border-radius: 0.3rem;
  white-space: nowrap;
}
.tapin-video-wrapper {
  position: relative;
  max-width: 20rem;
  margin: 0 auto;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-subtle);
  background: var(--surface-1);
  aspect-ratio: 9 / 16;
}
.tapin-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tapin-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
  z-index: 2;
}
.tapin-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
}
.tapin-footnote {
  color: var(--txt-faint);
  font-size: 0.75rem;
  margin-top: var(--space-sm);
}

@media (max-width: 640px) {
  .tapin-section {
    padding-bottom: var(--space-xl);
  }
  .tapin-video-wrapper {
    max-width: min(18rem, 85%);
  }
}

/* ══════════════════════════════════════════
   FEATURE CARDS — 3×2 Grid with Polish
   ══════════════════════════════════════════ */
.features-grid-section {
  padding: var(--space-2xl) var(--space-lg) var(--space-3xl);
  max-width: 60rem;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  position: relative;
}
.feature-card:hover {
  border-color: var(--txt-faint);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 61, 51, 0.1);
  transform: translateY(-4px);
}
.feature-card-img-wrap {
  overflow: hidden;
  position: relative;
}
.feature-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.feature-card:hover .feature-card-img {
  transform: scale(1.04);
}
/* Subtle gradient overlay at bottom of image for text contrast */
.feature-card-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3rem;
  background: linear-gradient(to top, var(--surface-1), transparent);
  pointer-events: none;
}
.feature-card-body {
  padding: 1.25rem;
}
.feature-card-body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.feature-card-body p {
  color: var(--txt-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════
   PRICING SECTION
   ══════════════════════════════════════════ */
.pricing-section {
  padding: var(--space-xl) var(--space-lg) var(--space-2xl);
}
.pricing-section > * {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}
.pricing-heading {
  text-align: center;
  font-size: clamp(2rem, 5vw, 2.5rem);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}
.pricing-subtitle {
  text-align: center;
  color: var(--txt-muted);
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}
.pricing-subtitle-sm {
  text-align: center;
  color: var(--txt-muted);
  font-size: 0.875rem;
  margin-bottom: var(--space-xl);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1.25rem;
}
.pricing-card {
  background-color: var(--surface-1);
  border: 2px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.pricing-card:hover {
  border-color: var(--txt-faint);
  background-color: #253248;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transform: translateY(-4px);
}
.pricing-card.selected {
  border-color: var(--accent);
  background-color: #253248;
  box-shadow: 0 4px 24px var(--accent-glow);
}
.tier-toggle {
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: transparent;
  color: var(--txt-muted);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tier-toggle:hover {
  border-color: var(--txt-faint);
  color: var(--txt);
}
.tier-toggle.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.pricing-badge {
  position: absolute;
  top: -0.625rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
  max-width: calc(100% - 2rem);
  overflow: hidden;
  text-overflow: ellipsis;
}
.pricing-plan-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
}
.pricing-amount {
  font-size: 3rem;
  font-weight: 700;
}
.pricing-period {
  color: var(--txt-muted);
  font-size: 1rem;
}
.pricing-monthly-equiv {
  color: var(--txt-muted);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.pricing-savings {
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.pricing-options {
  border-top: 1px solid var(--border);
  padding-top: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.pricing-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.pricing-option-label {
  color: var(--txt-muted);
  min-width: 3.5rem;
}
.pricing-option-price {
  color: var(--txt-base);
  font-weight: 500;
  flex: 1;
}
.pricing-option-save {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.pricing-note {
  text-align: center;
  color: var(--txt-muted);
  font-size: 0.8rem;
  margin-top: var(--space-lg);
}
.pricing-cta {
  text-align: center;
  margin-top: var(--space-xl);
}

/* ══════════════════════════════════════════
   PRIVACY / TRUST SECTION
   ══════════════════════════════════════════ */
.trust-section {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg) var(--space-xl);
  max-width: 44rem;
  margin: 0 auto;
}
.trust-heading {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}
.trust-body {
  color: var(--txt-muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 36rem;
  margin: 0 auto var(--space-lg);
}
.trust-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  color: var(--txt-faint);
  font-size: 0.875rem;
}
.trust-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}
.trust-icon:hover {
  color: var(--txt-muted);
}

/* ══════════════════════════════════════════
   DEVICES SECTION — Floating + Depth
   ══════════════════════════════════════════ */
.devices-section {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
}
.devices-heading {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}
.devices-body {
  color: var(--txt-muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 36rem;
  margin: 0 auto var(--space-xl);
}
.devices-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 0 auto;
  max-width: 64rem;
  overflow: visible;
  padding: 2.5rem 1rem 0.5rem;
}
.devices-footnote {
  color: var(--txt-faint);
  font-size: 0.8125rem;
  margin-top: var(--space-lg);
  font-style: italic;
}

/* Base device styles */
.device-laptop,
.device-tablet,
.device-phone {
  flex: 0 0 auto;
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
              opacity 0.25s ease;
}

/* Realistic proportions: iPad ~82% as wide as MacBook, iPhone ~27% */
.device-laptop {
  width: 46%;
  z-index: 1;
  transform-origin: center bottom;
}
.device-tablet {
  width: 38%;
  z-index: 2;
  transform-origin: center bottom;
}
.device-phone {
  width: 13%;
  z-index: 3;
  transform-origin: center bottom;
}

/* Hover: each device springs forward to a comfortable reading size */
.device-laptop:hover { transform: scale(1.15) translateY(-3%); z-index: 10; }
.device-tablet:hover { transform: scale(1.2)  translateY(-3%); z-index: 10; }
.device-phone:hover  { transform: scale(2.2)  translateY(-3%); z-index: 10; }

/* Dim siblings when one is hovered */
.devices-row:has(.device-laptop:hover) .device-tablet,
.devices-row:has(.device-laptop:hover) .device-phone,
.devices-row:has(.device-tablet:hover) .device-laptop,
.devices-row:has(.device-tablet:hover) .device-phone,
.devices-row:has(.device-phone:hover)  .device-laptop,
.devices-row:has(.device-phone:hover)  .device-tablet {
  opacity: 0.4;
  transform: scale(0.97);
}

@media (prefers-reduced-motion: reduce) {
  .device-laptop,
  .device-tablet,
  .device-phone {
    transition: none;
  }
}

/* Laptop */
.device-laptop-screen {
  background: #1a1a2e;
  border: 3px solid #555;
  border-radius: 0.5rem 0.5rem 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.device-laptop-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.device-laptop-base {
  height: 0.75rem;
  background: linear-gradient(to bottom, #666, #444);
  border-radius: 0 0 0.5rem 0.5rem;
  margin: 0 -0.5rem;
}

/* Tablet — landscape (1948×1540, ~5:4) */
.device-tablet-screen {
  background: #1a1a2e;
  border: 4px solid #555;
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.device-tablet-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* Phone — portrait iPhone Pro Max (430×932) */
.device-phone-screen {
  background: #1a1a2e;
  border: 4px solid #555;
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 9 / 19;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.device-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.device-label {
  display: block;
  color: var(--txt-faint);
  font-size: 0.8125rem;
  margin-top: 0.75rem;
  font-style: italic;
}

@media (max-width: 640px) {
  /* Hidden on mobile — section becomes redundant once App Store links are live */
  .devices-section { display: none; }
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.site-footer {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  border-top: 1px solid transparent;
  border-image: linear-gradient(to right, transparent, var(--border), transparent) 1;
  color: var(--txt-faint);
  font-size: 0.875rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}
.footer-link {
  color: var(--txt-faint);
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color 0.2s;
}
.footer-link:hover {
  color: var(--txt-muted);
}
.footer-tagline {
  font-style: italic;
  margin-bottom: var(--space-xs);
}
.footer-copyright {
  margin-bottom: 0;
}
.footer-definition {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-subtle);
}
.footer-definition .def-word {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--txt-faint);
  margin-bottom: 0.125rem;
}
.footer-definition .def-pronunciation {
  font-style: italic;
  color: var(--txt-faint);
  font-size: 0.75rem;
  margin-bottom: 0.375rem;
}
.footer-definition ol {
  list-style: decimal;
  padding-left: 1.25rem;
  text-align: left;
  display: inline-block;
  color: var(--txt-faint);
  font-size: 0.75rem;
  line-height: 1.6;
  margin: 0;
}

/* ══════════════════════════════════════════
   BRAND DEFINITION STYLES
   ══════════════════════════════════════════ */
.brand-definition {
  text-align: center;
  padding: 0 1rem 1rem;
}
.brand-definition .def-pronunciation {
  font-style: italic;
  color: var(--txt-muted);
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
}
.brand-definition ol {
  list-style: decimal;
  padding-left: 1.25rem;
  text-align: left;
  display: inline-block;
  color: var(--txt-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0;
}
.brand-definition-hero {
  display: inline-block;
  text-align: left;
}
.brand-definition-hero .def-word {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--txt);
  margin-bottom: 0.25rem;
}
.brand-definition-hero .def-pronunciation {
  font-style: italic;
  color: var(--txt-muted);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.brand-definition-hero ol {
  list-style: decimal;
  padding-left: 1.25rem;
  color: var(--txt-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}

/* ══════════════════════════════════════════
   STORY / COACHES CORNER
   ══════════════════════════════════════════ */
.story-section {
  max-width: 38rem;
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
}
.story-title {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  text-align: center;
}
.story-byline {
  text-align: center;
  margin-bottom: 2rem;
}
.story-avatar {
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 30%;
  border: 2px solid var(--border);
}
.story-definition {
  text-align: left;
  color: var(--txt-faint);
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.story-definition .def-pronunciation {
  font-style: italic;
  display: block;
  margin-bottom: 0.25rem;
}
.story-definition .def-entry {
  display: block;
  padding-left: 1.25rem;
}
.story-prose p {
  color: var(--txt);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  overflow-wrap: break-word;
}
.story-prose .story-closing {
  color: var(--txt);
  font-weight: 600;
  font-style: italic;
  margin-top: 2rem;
}
.story-highlight {
  font-weight: 600;
  color: var(--txt);
  margin-top: 2rem;
}

/* Signature + Author bio */
.author-signature-img {
  display: block;
  height: 6rem;
  width: auto;
  margin-top: 2rem;
}
.author-bio {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.author-bio-photo-wrap {
  position: relative;
  flex-shrink: 0;
}
.author-bio-photo {
  width: 4rem;
  height: 4rem;
  border-radius: 0.5rem;
  object-fit: cover;
  object-position: center 10%;
  display: block;
}
.author-bio-circa {
  display: block;
  text-align: center;
  font-size: 0.625rem;
  font-style: italic;
  color: var(--txt-faint);
  margin-top: 0.2rem;
  letter-spacing: 0.02em;
}
.author-bio-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.author-bio-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--txt);
}
.author-bio-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.875rem;
  color: var(--txt-muted);
  letter-spacing: 0.05em;
}

/* ══════════════════════════════════════════
   FEATURES PAGE — Accordion Items
   ══════════════════════════════════════════ */
.features-page-hero {
  max-width: 48rem;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg) var(--space-md);
}
.features-page-label {
  color: var(--txt-muted);
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}
.features-page-heading {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}
.features-page-body {
  color: var(--txt-muted);
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 36rem;
}
.features-page-body-sm {
  color: var(--txt-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 36rem;
  margin-top: var(--space-md);
  font-style: italic;
}
.features-page-cta {
  margin-top: 1.25rem;
}
.features-content {
  max-width: 48rem;
  margin: 0 auto;
  padding: var(--space-md) var(--space-lg) var(--space-xl);
}

.feature-group {
  margin-bottom: var(--space-2xl);
}
.feature-group-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 1.25rem;
}
.feature-group-label--plan { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.feature-group-label--play { background: rgba(255, 61, 51, 0.15); color: var(--accent); }
.feature-group-label--reflect { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.feature-group-label--plus { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
.feature-group-label--core { background: rgba(148, 163, 184, 0.15); color: var(--txt-muted); }

.feature-item {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feature-item:hover {
  border-color: var(--txt-faint);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
.feature-item-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.feature-item-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--txt-muted);
  background: rgba(148, 163, 184, 0.08);
  border-radius: 0.5rem;
  transition: background 0.2s;
}
.feature-item:hover .feature-item-icon {
  background: rgba(148, 163, 184, 0.15);
}
.feature-item-title {
  flex: 1;
}
.feature-item-title h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
  overflow-wrap: break-word;
  word-break: break-word;
}
.feature-item-title p {
  color: var(--txt-muted);
  font-size: 0.85rem;
  line-height: 1.4;
}
.feature-item-chevron {
  flex-shrink: 0;
  color: var(--txt-faint);
  transition: transform 0.25s;
  will-change: transform;
}
.feature-item.open .feature-item-chevron {
  transform: rotate(180deg);
}
.feature-item-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.25rem;
}
.feature-item.open .feature-item-details {
  max-height: 40rem;
  padding: 0 1.25rem 1.25rem;
}
.feature-item-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-item-details li {
  color: var(--txt-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  padding: 0.25rem 0 0.25rem 1.25rem;
  position: relative;
}
.feature-item-details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--txt-faint);
}

/* Roadmap */
.roadmap-section {
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}
.roadmap-heading {
  font-size: 2rem;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-lg);
}
.roadmap-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
}
.roadmap-dot {
  flex-shrink: 0;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  margin-top: 0.25rem;
}
.roadmap-dot--soon { background: var(--accent); }
.roadmap-dot--later { background: var(--border); }
.roadmap-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.roadmap-item p {
  color: var(--txt-muted);
  font-size: 0.875rem;
}

/* Features page CTA */
.features-cta {
  text-align: center;
  padding: var(--space-xl) var(--space-lg) var(--space-2xl);
}

/* ══════════════════════════════════════════
   CAROUSEL (kept for compatibility)
   ══════════════════════════════════════════ */
.carousel {
  position: relative;
  max-width: 52rem;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 2.5rem;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 1rem 1.5rem;
}
.carousel-slide--text-only {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}
.carousel-slide--text-only .carousel-text {
  max-width: 28rem;
}
.carousel-phase {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}
.carousel-phase--plan { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.carousel-phase--play { background: rgba(255, 61, 51, 0.15); color: var(--accent); }
.carousel-phase--reflect { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.carousel-phase--tapin { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
.carousel-text h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; }
.carousel-text p { color: var(--txt-muted); font-size: 1rem; line-height: 1.6; }
.carousel-img {
  width: 100%;
  max-height: 22rem;
  object-fit: contain;
  border-radius: 0.75rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  cursor: zoom-in;
}
.carousel-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }
.carousel-dot {
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: var(--border); border: none; padding: 0;
  cursor: pointer; transition: all 0.3s;
}
.carousel-dot--active { background: var(--accent); transform: scale(1.3); }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: var(--surface-1); border: 1px solid var(--border);
  color: var(--txt); width: 2.5rem; height: 2.5rem;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 2; transition: all 0.2s; opacity: 0.7;
}
.carousel-arrow:hover { opacity: 1; background: var(--surface-2); }
.carousel-arrow--prev { left: 0; }
.carousel-arrow--next { right: 0; }
.carousel-progress { width: 100%; max-width: 12rem; height: 2px; background: var(--border); border-radius: 1px; margin: 0.75rem auto 0; overflow: hidden; }
.carousel-progress-bar { height: 100%; background: var(--accent); width: 0%; transition: width 0.3s linear; }
@media (max-width: 640px) {
  .carousel-slide { grid-template-columns: 1fr; gap: 1rem; padding: 0.5rem 0.25rem; }
  .carousel-slide .carousel-img { order: -1; max-height: 14rem; }
  .carousel-arrow { width: 2rem; height: 2rem; }
  .carousel-arrow svg { width: 14px; height: 14px; }
}

/* ══════════════════════════════════════════
   LIGHTBOX
   ══════════════════════════════════════════ */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0, 0, 0, 0.88);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s 0.25s;
  cursor: zoom-out;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.lightbox-overlay.lightbox--open {
  opacity: 1; visibility: visible;
  transition: opacity 0.25s ease, visibility 0s;
}
.lightbox-content {
  max-width: 90vw; max-height: 85vh;
  border-radius: 0.75rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  object-fit: contain;
  transform: scale(0.92);
  transition: transform 0.25s ease;
}
.lightbox--open .lightbox-content { transform: scale(1); }
.lightbox-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  border: none; background: rgba(255, 255, 255, 0.12);
  color: #fff; font-size: 1.25rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.25); }

/* ══════════════════════════════════════════
   SUBSCRIBE PAGE
   ══════════════════════════════════════════ */
.subscribe-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.subscribe-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}
.subscribe-card {
  max-width: 24rem;
  width: 100%;
}
.subscribe-logo {
  text-align: center;
  margin-bottom: var(--space-sm);
}
.subscribe-logo .brand-name {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent);
}

/* ══════════════════════════════════════════
   COACHES CORNER PAGE
   ══════════════════════════════════════════ */
.corner-header {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg) var(--space-md);
}
.corner-heading {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}
.corner-subtitle {
  color: var(--txt-muted);
  font-size: 1.125rem;
  font-style: italic;
}

/* ══════════════════════════════════════════
   BLOG INDEX
   ══════════════════════════════════════════ */
.blog-grid {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.blog-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.75rem;
  text-decoration: none;
  display: block;
  transition: border-color 0.2s;
  color: inherit;
}
.blog-card:hover {
  border-color: var(--accent);
}
.blog-card-coming-soon {
  opacity: 0.45;
  pointer-events: none;
  cursor: default;
}
.blog-card-series {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.blog-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.625rem;
  letter-spacing: 0.05em;
  color: var(--txt);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.blog-card-excerpt {
  color: var(--txt-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--txt-faint);
}
.blog-card-read-more {
  color: var(--accent);
  font-weight: 600;
}
/* Blog Post Page */
.post-breadcrumb {
  max-width: 38rem;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
}
.post-breadcrumb a {
  font-size: 0.875rem;
  color: var(--txt-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.post-breadcrumb a:hover {
  color: var(--accent);
}
.post-series-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.post-title {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  text-align: center;
}
.post-meta {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--txt-faint);
  margin-bottom: 2.5rem;
}

/* ══════════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════════ */
.hidden { display: none !important; }
.error-msg { color: #f87171; font-size: 0.875rem; overflow-wrap: break-word; max-width: 100%; }
.spinner {
  width: 1.25rem; height: 1.25rem;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in { animation: fadeIn 0.4s ease-out; }

/* ── Cookie Consent Banner ── */
#cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  max-width: 22rem;
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
#cookie-banner.cb-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cb-inner {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.cb-text {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--txt-muted);
  margin: 0 0 1rem 0;
}
.cb-actions {
  display: flex;
  gap: 0.5rem;
}
.cb-btn {
  flex: 1;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}
.cb-btn-primary {
  background: var(--accent);
  color: #fff;
}
.cb-btn-primary:hover {
  filter: brightness(1.1);
}
.cb-btn-secondary {
  background: var(--surface-2);
  color: var(--txt-muted);
  border: 1px solid var(--border);
}
.cb-btn-secondary:hover {
  background: var(--bg-alt);
  color: var(--txt);
}
/* ── FAQ Section ── */
.faq-section {
  padding: var(--space-4xl) var(--space-lg);
  max-width: 48rem;
  margin: 0 auto;
}
.faq-heading {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2xl);
  text-align: center;
}
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-subtle);
}
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--txt);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 1.25rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  line-height: 1.4;
  min-height: 44px;
}
.faq-question:hover { color: var(--accent); }
.faq-question:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}
.faq-chevron {
  flex-shrink: 0;
  color: var(--txt-faint);
  transition: transform 0.25s ease;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  display: none;
  font-size: 0.9375rem;
  color: var(--txt-muted);
  line-height: 1.75;
  padding-bottom: 1.25rem;
}
.faq-item.open .faq-answer { display: block; }
.faq-answer a { color: var(--accent); text-decoration: none; }
.faq-answer a:hover { text-decoration: underline; }

/* ── Testimonials Section ── */
.testimonials-section {
  padding: var(--space-4xl) var(--space-lg);
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}
.testimonials-heading {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.testimonials-subhead {
  color: var(--txt-muted);
  font-size: 0.9375rem;
  margin-bottom: var(--space-2xl);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  text-align: left;
}
@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}
.testimonial-card {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.testimonial-mark {
  color: var(--accent);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: -0.5rem;
}
.testimonial-quote {
  color: var(--txt);
  font-size: 0.9375rem;
  line-height: 1.7;
  flex: 1;
}
.testimonial-attribution {
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.75rem;
}
.testimonial-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--txt);
}
.testimonial-role {
  font-size: 0.8125rem;
  color: var(--txt-muted);
  margin-top: 0.1rem;
}

/* ── Founder Excerpt ── */
.founder-excerpt-section {
  padding: var(--space-3xl) var(--space-lg);
  text-align: center;
}
.founder-excerpt-inner {
  max-width: 42rem;
  margin: 0 auto;
}
.founder-excerpt-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--txt-faint);
  margin-bottom: 1.25rem;
}
.founder-excerpt-quote {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  line-height: 1.6;
  color: var(--txt);
  font-style: italic;
  margin-bottom: 0.75rem;
}
.founder-excerpt-attr {
  font-size: 0.875rem;
  color: var(--txt-muted);
  margin-bottom: 1.5rem;
}
.founder-excerpt-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}
.founder-excerpt-link:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .author-bio {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  #cookie-banner {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
  }
}
