/* ==========================================================================
   ClubEngine Component Library — components.css
   Every UI component. Self-contained. Theme-aware. AI-assembly ready.
   Each [data-component] block is independent and can be moved or removed.
   ========================================================================== */


/* ========================================================================
   COMPONENT: nav
   ======================================================================== */

[data-component="nav"] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  background: rgba(250, 249, 246, 0.88);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t);
}

[data-component="nav"].scrolled {
  border-bottom-color: var(--border);
  background: rgba(250, 249, 246, 0.96);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding-inline: var(--section-x);
  max-width: var(--max-w);
  margin-inline: auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  display: block;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* Legacy mark kept for any fallback usage */
.nav-logo-mark {
  width: 28px;
  height: 28px;
  background: var(--brand);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-mark svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
}

.nav-logo-text {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-semi);
  letter-spacing: -0.01em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  list-style: none;
}

.nav-links a {
  display: block;
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--ink-3);
  border-radius: var(--r);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--surface);
}

.nav-links a.active {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink-3);
  border-radius: 2px;
  transition: var(--t);
}

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

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--paper);
  z-index: calc(var(--z-nav) - 1);
  padding: var(--sp-6) var(--section-x);
  overflow-y: auto;
}

.nav-mobile.open {
  display: block;
}

.nav-mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.nav-mobile-links a {
  display: block;
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--text-xl);
  font-weight: var(--weight-medium);
  color: var(--ink-3);
  border-radius: var(--r-lg);
  transition: var(--t-fast);
}

.nav-mobile-links a:hover {
  background: var(--surface);
  color: var(--ink);
}

.nav-mobile-actions {
  margin-top: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}


/* ========================================================================
   BUTTONS
   ======================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.625rem 1.25rem;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: -0.01em;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast),
              box-shadow var(--t-fast), transform 100ms var(--ease);
  user-select: none;
}

.btn:active {
  transform: scale(0.98);
}

/* Primary — brand filled */
.btn-primary {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}

.btn-primary:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  box-shadow: 0 4px 16px rgba(27,72,204,0.28);
}

/* Ghost — outline */
.btn-ghost {
  background: transparent;
  color: var(--ink-3);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-2);
}

/* White — for dark backgrounds */
.btn-white {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--surface);
}

/* Ghost white — for dark backgrounds */
.btn-ghost-white {
  background: transparent;
  color: rgba(255,255,255,0.80);
  border-color: rgba(255,255,255,0.20);
}

.btn-ghost-white:hover {
  background: rgba(255,255,255,0.08);
  color: white;
  border-color: rgba(255,255,255,0.35);
}

/* Sizes */
.btn-sm {
  padding: 0.375rem 0.875rem;
  font-size: var(--text-xs);
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: var(--text-base);
}

.btn-xl {
  padding: 1rem 2rem;
  font-size: var(--text-lg);
}

/* Arrow icon for CTA buttons */
.btn-arrow::after {
  content: '→';
  transition: transform var(--t-fast);
}
.btn-arrow:hover::after {
  transform: translateX(3px);
}

/* Full width */
.btn-full { width: 100%; }


/* ========================================================================
   COMPONENT: hero
   ======================================================================== */

[data-component="hero"] {
  position: relative;
  padding-top: calc(64px + clamp(4rem, 8vw, 8rem));
  padding-bottom: clamp(4rem, 8vw, 8rem);
  overflow: hidden;
}

[data-component="hero"] .hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--section-x);
}

[data-component="hero"].hero--center .hero-inner {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: var(--content-w);
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-1) var(--sp-3);
  background: var(--brand-light);
  color: var(--brand);
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: var(--sp-6);
}

.hero-label-dot {
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 50%;
}

[data-component="hero"] h1 {
  margin-bottom: var(--sp-6);
}

[data-component="hero"] .lead {
  margin-bottom: var(--sp-8);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
}

.hero--center .hero-actions {
  justify-content: center;
}

.hero-social-proof {
  margin-top: var(--sp-10);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.hero-social-proof p {
  font-size: var(--text-sm);
  color: var(--muted);
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--muted);
}

.hero-stars {
  display: flex;
  gap: 2px;
  color: var(--amber-2);
  font-size: 12px;
}

/* Hero visual — CSS mock UI */
.hero-visual {
  position: relative;
}

/* Background decoration */
[data-component="hero"]::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse at center,
    rgba(27,72,204,0.06) 0%,
    rgba(27,72,204,0.02) 50%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 900px) {
  [data-component="hero"] .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-12);
  }

  .hero-visual { order: -1; }
  [data-component="hero"] .lead { max-width: 100%; }
}


/* ========================================================================
   COMPONENT: logos (trust bar)
   ======================================================================== */

[data-component="logos"] {
  padding-block: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.logos-label {
  text-align: center;
  margin-bottom: var(--sp-8);
}

.logos-track {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
  overflow: hidden;
}

.logos-list {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
  flex-shrink: 0;
  animation: marquee 28s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

.logos-track:hover .logos-list {
  animation-play-state: paused;
}

.logo-item {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  color: var(--muted-2);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--t-fast);
}

.logo-item:hover {
  color: var(--muted);
}


/* ========================================================================
   COMPONENT: problem
   ======================================================================== */

[data-component="problem"] {
  background: var(--dark-bg);
  color: var(--dark-text-2);
  padding-block: var(--section-y);
}

[data-component="problem"] h2 {
  color: var(--dark-text);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-12), 6vw, var(--sp-24));
  align-items: start;
  margin-top: var(--sp-16);
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.problem-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: var(--dark-s1);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-lg);
  transition: border-color var(--t);
}

.problem-item:hover {
  border-color: var(--dark-s3);
}

.problem-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(201,106,0,0.12);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-2);
  font-size: 16px;
}

.problem-item h5 {
  color: var(--dark-text);
  margin-bottom: var(--sp-1);
  font-size: var(--text-sm);
}

.problem-item p {
  font-size: var(--text-sm);
  color: var(--dark-muted);
  line-height: var(--leading-relaxed);
}

.problem-callout {
  padding: var(--sp-8);
  background: linear-gradient(135deg, var(--dark-s1), var(--dark-s2));
  border: 1px solid var(--dark-border);
  border-radius: var(--r-2xl);
}

.problem-callout blockquote {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: var(--weight-light);
  line-height: var(--leading-snug);
  color: var(--dark-text);
  margin-bottom: var(--sp-6);
}

.problem-callout cite {
  font-style: normal;
  font-size: var(--text-sm);
  color: var(--dark-muted);
}

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


/* ========================================================================
   COMPONENT: philosophy
   ======================================================================== */

[data-component="philosophy"] {
  background: var(--paper);
  padding-block: var(--section-y);
  text-align: center;
}

.philosophy-headline {
  max-width: var(--narrow-w);
  margin-inline: auto;
}

.philosophy-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: var(--sp-20);
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  overflow: hidden;
}

.philosophy-pillar {
  background: var(--paper);
  padding: var(--sp-10) var(--sp-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-4);
  transition: background var(--t);
}

.philosophy-pillar:hover {
  background: var(--surface);
}

.pillar-number {
  font-family: var(--font-display);
  font-size: var(--text-7xl);
  font-weight: var(--weight-light);
  color: var(--muted-3);
  line-height: 1;
  letter-spacing: var(--tracking-tight);
}

.pillar-label {
  font-size: var(--text-xl);
  font-weight: var(--weight-semi);
  color: var(--ink);
  letter-spacing: var(--tracking-snug);
}

.pillar-sub {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: var(--leading-relaxed);
}

@media (max-width: 900px) {
  .philosophy-pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .philosophy-pillars {
    grid-template-columns: 1fr;
  }
}


/* ========================================================================
   COMPONENT: feature-grid
   ======================================================================== */

[data-component="feature-grid"] {
  padding-block: var(--section-y);
}

.feature-grid-header {
  max-width: var(--narrow-w);
  margin-bottom: var(--sp-16);
}

.feature-grid-header.centered {
  margin-inline: auto;
  text-align: center;
}

.feature-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.feature-card {
  padding: var(--sp-8) var(--sp-6);
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: border-color var(--t), box-shadow var(--t), transform var(--t-slow);
}

.feature-card:hover {
  border-color: var(--border-2);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-card-icon {
  width: 44px;
  height: 44px;
  background: var(--brand-light);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
  color: var(--brand);
  font-size: 20px;
  flex-shrink: 0;
}

.feature-card h4 {
  margin-bottom: var(--sp-2);
  font-size: var(--text-lg);
}

.feature-card p {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: var(--leading-relaxed);
}

.feature-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  margin-top: var(--sp-4);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--brand);
  transition: gap var(--t-fast);
}

.feature-card-link:hover {
  gap: var(--sp-2);
}

@media (max-width: 900px) {
  .feature-grid-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .feature-grid-cards { grid-template-columns: 1fr; }
}


/* ========================================================================
   COMPONENT: feature-detail (alternating image + text)
   ======================================================================== */

[data-component="feature-detail"] {
  padding-block: var(--section-y);
}

.feature-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-10), 6vw, var(--sp-24));
  align-items: center;
  padding-block: var(--sp-20);
  border-bottom: 1px solid var(--border);
}

.feature-detail-row:last-child {
  border-bottom: none;
}

.feature-detail-row:nth-child(even) .feature-detail-text {
  order: 2;
}

.feature-detail-row:nth-child(even) .feature-detail-visual {
  order: 1;
}

.feature-detail-text .label {
  display: block;
  margin-bottom: var(--sp-4);
}

.feature-detail-text h2 {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-6xl));
  margin-bottom: var(--sp-5);
}

.feature-detail-text p {
  color: var(--ink-3);
  margin-bottom: var(--sp-8);
  max-width: 48ch;
}

.feature-detail-bullets {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}

.feature-detail-bullet {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--ink-3);
}

.feature-detail-bullet::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: var(--brand-light);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 9l3 3 5-5' stroke='%231B48CC' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 1px;
}

@media (max-width: 768px) {
  .feature-detail-row {
    grid-template-columns: 1fr;
  }
  .feature-detail-row:nth-child(even) .feature-detail-text,
  .feature-detail-row:nth-child(even) .feature-detail-visual {
    order: unset;
  }
}


/* ========================================================================
   COMPONENT: ui-preview (CSS-rendered platform mockup)
   ======================================================================== */

.ui-preview {
  background: #0D1020;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.06);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
}

.ui-preview-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 10px 14px;
  background: #0A0D1A;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}

.ui-preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ui-preview-dot:nth-child(1) { background: #FF5F57; }
.ui-preview-dot:nth-child(2) { background: #FFBD2E; }
.ui-preview-dot:nth-child(3) { background: #28C840; }

.ui-preview-title {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-sans);
}

.ui-preview-body {
  flex: 1;
  display: grid;
  grid-template-columns: 200px 1fr;
  overflow: hidden;
}

.ui-preview-sidebar {
  background: #0A0D1A;
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.ui-nav-item {
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-family: var(--font-sans);
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ui-nav-item.active {
  background: rgba(27,72,204,0.2);
  color: rgba(139,170,255,0.9);
}

.ui-nav-icon {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: currentColor;
  opacity: 0.5;
  flex-shrink: 0;
}

.ui-nav-item.active .ui-nav-icon {
  opacity: 1;
  background: rgba(139,170,255,0.9);
}

.ui-preview-main {
  padding: var(--sp-5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.ui-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ui-preview-header-title {
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-sans);
  color: rgba(255,255,255,0.85);
}

.ui-preview-header-action {
  padding: 4px 10px;
  background: rgba(27,72,204,0.7);
  color: rgba(255,255,255,0.9);
  border-radius: 20px;
  font-size: 10px;
  font-family: var(--font-sans);
}

.ui-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.ui-stat-card {
  padding: 10px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
}

.ui-stat-label {
  font-size: 9px;
  font-family: var(--font-sans);
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.ui-stat-value {
  font-size: 18px;
  font-weight: 600;
  font-family: var(--font-sans);
  color: rgba(255,255,255,0.85);
  letter-spacing: -0.02em;
}

.ui-stat-change {
  font-size: 9px;
  font-family: var(--font-sans);
  color: #34D399;
  margin-top: 2px;
}

.ui-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  overflow: hidden;
}

.ui-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
}

.ui-list-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3B6EF5, #7C3AED);
  flex-shrink: 0;
}

.ui-list-avatar:nth-child(1) { background: linear-gradient(135deg, #3B6EF5, #7C3AED); }

.ui-list-info {
  flex: 1;
  min-width: 0;
}

.ui-list-name {
  font-size: 11px;
  font-family: var(--font-sans);
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  margin-bottom: 1px;
}

.ui-list-sub {
  font-size: 9px;
  font-family: var(--font-sans);
  color: rgba(255,255,255,0.3);
}

.ui-list-badge {
  padding: 2px 7px;
  border-radius: 20px;
  font-size: 9px;
  font-family: var(--font-sans);
  font-weight: 600;
  flex-shrink: 0;
}

.ui-list-badge.confirmed {
  background: rgba(52,211,153,0.12);
  color: #34D399;
}

.ui-list-badge.pending {
  background: rgba(251,191,36,0.12);
  color: #FBBF24;
}

.ui-list-badge.waitlist {
  background: rgba(167,139,250,0.12);
  color: #A78BFA;
}


/* ========================================================================
   COMPONENT: industry-cards
   ======================================================================== */

[data-component="industry-cards"] {
  padding-block: var(--section-y);
  background: var(--surface);
}

.industry-cards-header {
  text-align: center;
  margin-bottom: var(--sp-16);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.industry-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: border-color var(--t), box-shadow var(--t), transform var(--t-slow);
  text-decoration: none;
}

.industry-card:hover {
  border-color: var(--brand-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.industry-card-emoji {
  font-size: 2rem;
  line-height: 1;
}

.industry-card h4 {
  font-size: var(--text-xl);
  color: var(--ink);
}

.industry-card p {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: var(--leading-relaxed);
  flex: 1;
}

.industry-card-arrow {
  font-size: var(--text-sm);
  color: var(--brand);
  font-weight: var(--weight-medium);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  transition: gap var(--t-fast);
}

.industry-card:hover .industry-card-arrow {
  gap: var(--sp-2);
}

@media (max-width: 900px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
}

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


/* ========================================================================
   COMPONENT: testimonials
   ======================================================================== */

[data-component="testimonials"] {
  padding-block: var(--section-y);
  background: var(--dark-bg);
}

.testimonials-header {
  text-align: center;
  margin-bottom: var(--sp-16);
}

[data-component="testimonials"] h2 {
  color: var(--dark-text);
}

[data-component="testimonials"] .label {
  color: var(--dark-muted);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.testimonial-card {
  background: var(--dark-s1);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  transition: border-color var(--t);
}

.testimonial-card:hover {
  border-color: var(--dark-s3);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  color: var(--amber-2);
  font-size: 13px;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(var(--text-xl), 2vw, var(--text-2xl));
  font-weight: var(--weight-light);
  line-height: var(--leading-snug);
  color: var(--dark-text);
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark-s3);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  color: var(--dark-text-2);
}

.testimonial-name {
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  color: var(--dark-text);
}

.testimonial-role {
  font-size: var(--text-xs);
  color: var(--dark-muted);
  margin-top: 1px;
}

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


/* ========================================================================
   COMPONENT: stats
   ======================================================================== */

[data-component="stats"] {
  padding-block: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.stat-item {
  background: var(--paper);
  padding: var(--sp-8) var(--sp-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-2);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(var(--text-5xl), 5vw, var(--text-7xl));
  font-weight: var(--weight-light);
  letter-spacing: var(--tracking-tight);
  color: var(--ink);
  line-height: 1;
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--muted);
  max-width: 16ch;
  text-align: center;
  line-height: var(--leading-relaxed);
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ========================================================================
   COMPONENT: comparison
   ======================================================================== */

[data-component="comparison"] {
  padding-block: var(--section-y);
}

.comparison-header {
  text-align: center;
  margin-bottom: var(--sp-16);
}

.comparison-table {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.comparison-thead {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  background: var(--dark-bg);
  padding: var(--sp-5) var(--sp-8);
  gap: var(--sp-4);
}

.comparison-thead-cell {
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  color: rgba(255,255,255,0.6);
  text-align: center;
}

.comparison-thead-cell:first-child {
  text-align: left;
  color: rgba(255,255,255,0.3);
}

.comparison-thead-cell.highlight {
  color: rgba(139,170,255,0.9);
}

.comparison-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-8);
  border-top: 1px solid var(--border);
  align-items: center;
}

.comparison-row:nth-child(even) {
  background: var(--surface);
}

.comparison-feature {
  font-size: var(--text-sm);
  color: var(--ink-3);
}

.comparison-cell {
  text-align: center;
}

.check-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--brand-light);
  border-radius: 50%;
  color: var(--brand);
  font-size: 12px;
}

.check-no {
  display: inline-block;
  width: 16px;
  height: 1.5px;
  background: var(--muted-3);
  border-radius: 2px;
}

.check-partial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--amber-light);
  border-radius: 50%;
  color: var(--amber);
  font-size: 10px;
}


/* ========================================================================
   COMPONENT: faq
   ======================================================================== */

[data-component="faq"] {
  padding-block: var(--section-y);
}

.faq-header {
  text-align: center;
  margin-bottom: var(--sp-16);
}

.faq-list {
  max-width: var(--narrow-w);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  text-align: left;
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--ink);
  cursor: pointer;
  transition: background var(--t-fast);
}

.faq-question:hover {
  background: var(--surface);
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  transition: transform var(--t), border-color var(--t), color var(--t);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--brand-mid);
  color: var(--brand);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-slow);
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
  padding: 0 var(--sp-6) 0;
  transition: padding var(--t-slow);
}

.faq-item.open .faq-answer-inner {
  padding: 0 var(--sp-6) var(--sp-5);
}

.faq-answer-inner p {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: var(--leading-relaxed);
}


/* ========================================================================
   COMPONENT: pricing
   ======================================================================== */

[data-component="pricing"] {
  padding-block: var(--section-y);
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--sp-16);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  align-items: start;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8) var(--sp-6);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  transition: box-shadow var(--t), transform var(--t-slow);
}

.pricing-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pricing-card.featured {
  border-color: var(--brand);
  background: var(--dark-bg);
  color: var(--dark-text-2);
  position: relative;
  overflow: hidden;
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand);
}

.pricing-card.featured h3,
.pricing-card.featured h4 {
  color: var(--dark-text);
}

.pricing-badge {
  display: inline-block;
  padding: 2px 10px;
  background: var(--brand);
  color: white;
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  border-radius: var(--r-full);
  margin-bottom: var(--sp-2);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.pricing-name {
  font-size: var(--text-xl);
  font-weight: var(--weight-semi);
  color: var(--ink);
}

.pricing-card.featured .pricing-name {
  color: var(--dark-text);
}

.pricing-price {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: var(--weight-light);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  color: var(--ink);
}

.pricing-card.featured .pricing-price {
  color: var(--dark-text);
}

.pricing-price span {
  font-size: var(--text-base);
  font-family: var(--font-sans);
  font-weight: var(--weight-normal);
  color: var(--muted);
}

.pricing-card.featured .pricing-price span {
  color: var(--dark-muted);
}

.pricing-desc {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: var(--leading-relaxed);
}

.pricing-card.featured .pricing-desc {
  color: var(--dark-muted);
}

.pricing-divider {
  height: 1px;
  background: var(--border);
}

.pricing-card.featured .pricing-divider {
  background: var(--dark-border);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  flex: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--ink-3);
}

.pricing-card.featured .pricing-feature-item {
  color: var(--dark-text-2);
}

.pricing-check {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background: var(--brand-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  font-size: 9px;
  color: var(--brand);
}

.pricing-card.featured .pricing-check {
  background: rgba(27,72,204,0.2);
}

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


/* ========================================================================
   COMPONENT: cta-banner
   ======================================================================== */

[data-component="cta-banner"] {
  padding-block: var(--section-y);
}

.cta-inner {
  background: var(--dark-bg);
  border-radius: var(--r-2xl);
  padding: clamp(var(--sp-12), 8vw, var(--sp-24));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse,
    rgba(27,72,204,0.20) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.cta-inner::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 40%;
  height: 60%;
  background: radial-gradient(ellipse,
    rgba(201,106,0,0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

[data-component="cta-banner"] h2 {
  color: var(--dark-text);
  position: relative;
  z-index: 1;
  max-width: var(--narrow-w);
  margin-inline: auto;
  margin-bottom: var(--sp-5);
}

[data-component="cta-banner"] p {
  font-size: var(--text-lg);
  color: var(--dark-text-2);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: var(--sp-10);
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: center;
  position: relative;
  z-index: 1;
}

.cta-note {
  margin-top: var(--sp-5);
  font-size: var(--text-xs);
  color: var(--dark-muted);
  position: relative;
  z-index: 1;
}


/* ========================================================================
   COMPONENT: contact-form / demo-form
   ======================================================================== */

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--ink-2);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--brand);
  box-shadow: var(--glow-brand);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted-2);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23697290' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

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

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196,43,43,0.12);
}

.form-error {
  font-size: var(--text-xs);
  color: var(--red);
}

.form-success {
  padding: var(--sp-5) var(--sp-6);
  background: var(--green-light);
  border: 1px solid rgba(5,122,85,0.15);
  border-radius: var(--r-lg);
  font-size: var(--text-sm);
  color: var(--green);
  display: none;
}

.form-success.visible {
  display: block;
}


/* ========================================================================
   COMPONENT: footer
   ======================================================================== */

[data-component="footer"] {
  background: var(--dark-bg);
  padding-top: clamp(4rem, 8vw, 8rem);
  padding-bottom: var(--sp-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-12);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid var(--dark-border);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--dark-muted);
  margin-top: var(--sp-4);
  max-width: 32ch;
  line-height: var(--leading-relaxed);
}

.footer-col h5 {
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--dark-muted);
  margin-bottom: var(--sp-4);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-links a {
  font-size: var(--text-sm);
  color: var(--dark-text-2);
  text-decoration: none;
  transition: color var(--t-fast);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-8);
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.footer-copy {
  font-size: var(--text-xs);
  color: var(--dark-muted);
}

.footer-legal {
  display: flex;
  gap: var(--sp-6);
}

.footer-legal a {
  font-size: var(--text-xs);
  color: var(--dark-muted);
  transition: color var(--t-fast);
}

.footer-legal a:hover {
  color: var(--dark-text-2);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
  }
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: auto;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ========================================================================
   PAGE HERO VARIANTS
   ======================================================================== */

.page-hero {
  padding-top: calc(64px + clamp(4rem, 7vw, 7rem));
  padding-bottom: clamp(4rem, 7vw, 7rem);
  text-align: center;
}

.page-hero .label {
  margin-bottom: var(--sp-5);
  display: block;
}

.page-hero h1 {
  max-width: var(--content-w);
  margin-inline: auto;
  margin-bottom: var(--sp-6);
}

.page-hero .lead {
  max-width: 60ch;
  margin-inline: auto;
  margin-bottom: var(--sp-10);
}


/* ========================================================================
   SECTION DIVIDER
   ======================================================================== */

.section-divider {
  height: 1px;
  background: var(--border);
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--section-x);
}


/* ========================================================================
   BADGE / CHIP
   ======================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 2px 10px;
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  letter-spacing: var(--tracking-wide);
}

.badge-blue {
  background: var(--brand-light);
  color: var(--brand);
}

.badge-amber {
  background: var(--amber-light);
  color: var(--amber);
}

.badge-green {
  background: var(--green-light);
  color: var(--green);
}


/* ========================================================================
   SECTION HEADING PATTERN (label + h2 + lead)
   ======================================================================== */

.section-heading {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.section-heading .label {
  display: block;
}

.section-heading .lead {
  margin-top: var(--sp-2);
}

.section-heading.centered {
  text-align: center;
  align-items: center;
}

.section-heading.centered .lead {
  max-width: 60ch;
}


/* ========================================================================
   ABOUT PAGE — TEAM CARDS
   ======================================================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.team-avatar {
  aspect-ratio: 1;
  background: var(--surface);
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  color: var(--muted-3);
  font-weight: var(--weight-light);
  letter-spacing: var(--tracking-tight);
}

.team-name {
  font-size: var(--text-base);
  font-weight: var(--weight-semi);
  color: var(--ink);
}

.team-role {
  font-size: var(--text-sm);
  color: var(--muted);
}

@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ========================================================================
   DEMO PAGE SPECIFIC
   ======================================================================== */

.demo-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(var(--sp-12), 6vw, var(--sp-24));
  align-items: start;
  padding-top: calc(64px + clamp(3rem, 5vw, 5rem));
  padding-bottom: clamp(4rem, 6vw, 6rem);
}

.demo-sidebar {
  position: sticky;
  top: calc(64px + var(--sp-8));
}

.demo-form-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: clamp(var(--sp-8), 4vw, var(--sp-12));
  box-shadow: var(--shadow-lg);
}

.demo-what-expect {
  margin-top: var(--sp-12);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.demo-expect-item {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}

.demo-expect-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand);
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.demo-expect-item h5 {
  margin-bottom: var(--sp-1);
  font-size: var(--text-sm);
}

.demo-expect-item p {
  font-size: var(--text-sm);
  color: var(--muted);
}

@media (max-width: 900px) {
  .demo-layout {
    grid-template-columns: 1fr;
  }
  .demo-sidebar {
    position: static;
    order: 2;
  }
}


/* ========================================================================
   PROSE — legal/editorial sub-pages (privacy, terms, SMS, quotes, birthday)
   ======================================================================== */

.prose-page {
  padding-top: calc(64px + clamp(3rem, 5vw, 5rem));
  padding-bottom: clamp(4rem, 7vw, 7rem);
}

.prose-content {
  max-width: var(--narrow-w);
  margin-inline: auto;
}

.prose-content h1 {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-7xl));
  margin-bottom: var(--sp-4);
}

.prose-content .effective {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-bottom: var(--sp-10);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--border);
}

.prose-content h2 {
  font-family: var(--font-sans);
  font-size: var(--text-xl);
  font-weight: var(--weight-semi);
  letter-spacing: var(--tracking-snug);
  color: var(--ink);
  margin-top: var(--sp-10);
  margin-bottom: var(--sp-3);
}

.prose-content p {
  font-size: var(--text-base);
  color: var(--ink-3);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--sp-4);
}

.prose-content ul,
.prose-content ol {
  margin-left: var(--sp-6);
  margin-bottom: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.prose-content ul { list-style: disc; }
.prose-content ol { list-style: decimal; }

.prose-content li {
  font-size: var(--text-base);
  color: var(--ink-3);
  line-height: var(--leading-relaxed);
}

.prose-content a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose-content a:hover {
  color: var(--brand-hover);
}

.prose-content strong {
  color: var(--ink-2);
  font-weight: var(--weight-semi);
}

/* Quotes-specific styles */
.quotes-kicker {
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--sp-3);
}

.quotes-lede {
  font-size: var(--text-lg);
  color: var(--ink-3);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--sp-4);
}

.quotes-toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  margin: var(--sp-8) 0;
}

.quotes-toc-title {
  font-family: var(--font-sans) !important;
  font-size: var(--text-xs) !important;
  font-weight: var(--weight-semi) !important;
  letter-spacing: var(--tracking-wider) !important;
  text-transform: uppercase;
  color: var(--muted) !important;
  margin-top: 0 !important;
  margin-bottom: var(--sp-3) !important;
}

.quotes-toc ul {
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.quotes-toc li { list-style: none; }

.quotes-toc a {
  font-size: var(--text-sm);
  color: var(--brand);
  text-decoration: none;
  font-weight: var(--weight-medium);
}

.quotes-toc a:hover { text-decoration: underline; }

.quote-section {
  padding-top: var(--sp-10);
  border-top: 1px solid var(--border);
  margin-top: var(--sp-10);
}

.quote-section > h2 {
  font-family: var(--font-display) !important;
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl)) !important;
  font-weight: var(--weight-light) !important;
}

.quote-section > p {
  font-style: italic;
  color: var(--muted);
  margin-bottom: var(--sp-6);
}

.quote-list {
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.quote-list li {
  counter-increment: none;
}

.quote-list blockquote {
  padding: var(--sp-6) var(--sp-7);
  background: var(--surface);
  border-left: 3px solid var(--brand-mid);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
}

.quote-list blockquote p {
  font-family: var(--font-display);
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl));
  font-weight: var(--weight-light);
  color: var(--ink);
  line-height: var(--leading-snug);
  margin-bottom: var(--sp-3);
  font-style: italic;
}

.quote-list blockquote footer {
  font-size: var(--text-sm);
  color: var(--muted);
  font-weight: var(--weight-medium);
}

.quotes-footer-note {
  margin-top: var(--sp-12);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
  font-size: var(--text-sm);
  color: var(--muted);
  font-style: italic;
}

/* Birthday explanation highlight box */
.highlight-box {
  background: var(--brand-light);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  padding: var(--sp-5) var(--sp-6);
  margin: var(--sp-8) 0;
}

.highlight-box p {
  color: var(--brand-dark);
  margin-bottom: 0;
}
