/* ============================================================
   style.css — RiseHub.ai Design System
   Direction: Modern AI Platform (Direction B)
   - Indigo primary, cyan AI accent
   - Dark hero, light body — sophisticated, contemporary
   - Inspired by Linear, Vercel, Anthropic — but with operator warmth
   ============================================================ */

/* ========== TOKENS ========== */
:root {
  /* Type scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.9rem  + 0.5vw,  1.125rem);
  --text-lg:   clamp(1.125rem, 0.95rem + 0.85vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1rem    + 1.5vw,  2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* Spacing (4px base) */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-7:  1.75rem;
  --space-8:  2rem;
  --space-9:  2.25rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-14: 3.5rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.875rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 220ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 720px;
  --content-default: 1040px;
  --content-wide: 1280px;

  /* Fonts */
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ========== COLOR PALETTE — RiseHub (Direction B: Modern AI) ========== */
:root {
  /* Surfaces — light mode */
  --color-bg:              #fafbff;       /* very faint indigo tint */
  --color-surface:         #ffffff;
  --color-surface-2:       #f3f4fb;
  --color-surface-offset:  #e9ebf6;
  --color-divider:         #dcdfee;
  --color-border:          #c8cce0;

  /* Surfaces — dark (used for hero, CTA blocks, footer) */
  --color-bg-dark:         #0a0b18;       /* near-black with indigo undertone */
  --color-surface-dark:    #11132b;
  --color-surface-dark-2:  #181a3a;
  --color-border-dark:     #2a2d54;
  --color-text-on-dark:    #f7f8ff;
  --color-text-on-dark-muted: #a0a4c8;

  /* Text */
  --color-text:            #0a0b18;
  --color-text-muted:      #5a5e85;
  --color-text-faint:      #9094b8;
  --color-text-inverse:    #ffffff;

  /* Primary — Electric Indigo (the AI signal color) */
  --color-primary:         #4f46e5;
  --color-primary-hover:   #4338ca;
  --color-primary-active:  #3730a3;
  --color-primary-subtle:  #eef2ff;
  --color-primary-bg:      #e0e7ff;

  /* Secondary — Bright Cyan (the AI-callout / highlight color) */
  --color-cyan:            #06b6d4;
  --color-cyan-hover:      #0891b2;
  --color-cyan-subtle:     #ecfeff;

  /* Tertiary — Violet (gradient endpoint, used sparingly) */
  --color-violet:          #7c3aed;
  --color-violet-subtle:   #f5f3ff;

  /* Semantic */
  --color-success:         #10b981;
  --color-success-subtle:  #d1fae5;
  --color-warning:         #f59e0b;
  --color-warning-subtle:  #fef3c7;
  --color-error:           #ef4444;
  --color-error-subtle:    #fee2e2;

  /* Shadows — cool/indigo-toned */
  --shadow-sm:  0 1px 2px rgb(79 70 229 / 0.06);
  --shadow-md:  0 4px 14px rgb(79 70 229 / 0.10);
  --shadow-lg:  0 14px 36px rgb(79 70 229 / 0.14);
  --shadow-xl:  0 26px 60px rgb(79 70 229 / 0.18);
  --shadow-glow: 0 0 40px rgb(6 182 212 / 0.25);

  /* Signature gradients */
  --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --gradient-ai:      linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  --gradient-glow:    radial-gradient(800px 400px at 50% -10%, rgb(79 70 229 / 0.18), transparent 60%);
}

/* ========== RESET + BASE ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition-interactive); }
a:hover { color: var(--color-primary-hover); }

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(250 251 255 / 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-header.scrolled {
  border-bottom-color: var(--color-divider);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--space-3) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
  text-decoration: none;
  color: var(--color-text);
}
.site-logo .logo-full {
  height: 52px;
  width: auto;
  display: block;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.site-logo:hover .logo-full {
  transform: translateY(-1px);
}
@media (max-width: 720px) {
  .site-logo .logo-full { height: 42px; }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.site-nav a {
  padding: var(--space-2) var(--space-4);
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  transition: color var(--transition-interactive), background var(--transition-interactive);
}
.site-nav a:hover { color: var(--color-text); background: var(--color-surface-2); }
.site-nav a[aria-current="page"] { color: var(--color-primary); }

.site-nav .nav-cta {
  margin-left: var(--space-2);
  padding: 10px 18px;
  background: var(--color-text);
  color: var(--color-text-inverse);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: -0.005em;
}
.site-nav .nav-cta:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

/* Family-of-brands tiny link in header — inline next to the logo */
.site-header .brand-family {
  display: none;
  font-size: 11px;
  color: var(--color-text-faint);
  font-weight: 500;
  align-items: center;
  gap: var(--space-2);
  padding-left: var(--space-4);
  margin-left: var(--space-1);
  border-left: 1px solid var(--color-divider);
  height: 24px;
}
.site-header .brand-family a {
  color: var(--color-text-muted);
  border-bottom: 1px dotted var(--color-divider);
}
.site-header .brand-family a:hover { color: var(--color-primary); }
@media (min-width: 980px) {
  .site-header .brand-family { display: inline-flex; }
}

/* Group logo + brand family together so they sit as a unit on the left */
.site-header .header-left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0;
}

@media (max-width: 768px) {
  .site-nav a:not(.nav-cta) { display: none; }
}

/* ========== BUTTONS ========== */
.btn-primary, .btn-secondary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-base);
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition-interactive);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: 0 0 0 0 rgb(79 70 229 / 0);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  color: var(--color-text-inverse);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-secondary:hover {
  border-color: var(--color-text);
  background: var(--color-surface-2);
}

.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  padding-inline: var(--space-3);
}
.btn-ghost:hover { color: var(--color-primary-hover); }

/* On dark backgrounds */
.dark-block .btn-primary {
  background: var(--color-text-inverse);
  color: var(--color-text);
}
.dark-block .btn-primary:hover {
  background: var(--color-text-on-dark);
  color: var(--color-text);
}
.dark-block .btn-secondary {
  color: var(--color-text-on-dark);
  border-color: rgb(255 255 255 / 0.2);
}
.dark-block .btn-secondary:hover {
  border-color: rgb(255 255 255 / 0.45);
  background: rgb(255 255 255 / 0.05);
}

/* ========== TYPOGRAPHY UTILITIES ========== */
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.025em; line-height: 1.1; font-weight: 600; margin: 0 0 var(--space-4); color: inherit; }
h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); line-height: 1.15; }
h3 { font-size: var(--text-xl); line-height: 1.2; }
h4 { font-size: var(--text-lg); }
p { margin: 0 0 var(--space-4); }
em { font-style: italic; }

.eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.eyebrow.eyebrow-on-dark { color: var(--color-cyan); }

/* ========== HERO ========== */
.hero {
  position: relative;
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  padding: clamp(var(--space-16), 10vw, var(--space-24)) 0 clamp(var(--space-20), 12vw, var(--space-32));
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 20% 0%, rgb(79 70 229 / 0.45), transparent 60%),
    radial-gradient(700px 400px at 80% 30%, rgb(6 182 212 / 0.25), transparent 60%),
    radial-gradient(500px 300px at 50% 100%, rgb(124 58 237 / 0.20), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.hero::after {
  /* subtle grid pattern */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 40%, transparent 75%);
  pointer-events: none;
  z-index: -1;
}
.hero-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-inline: var(--space-6);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-16));
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1.15fr 1fr; }
}

.hero h1 {
  font-size: var(--text-hero);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: var(--space-6);
  color: var(--color-text-on-dark);
  max-width: 16ch;
}
.hero h1 .ai-shine {
  background: var(--gradient-ai);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lede {
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--color-text-on-dark-muted);
  margin: 0 0 var(--space-8);
  max-width: 56ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-10); }

.hero-microproof {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-on-dark-muted);
}
.hero-microproof .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-success); display: inline-block; margin-right: var(--space-2); box-shadow: 0 0 8px var(--color-success); animation: pulse 2.4s ease-in-out infinite; vertical-align: middle; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* Hero right-side card: AI orchestration visual */
.hero-visual {
  position: relative;
  background: var(--color-surface-dark);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-xl);
}
.hero-visual .hv-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-border-dark);
}
.hero-visual .hv-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--color-text-on-dark);
  font-weight: 600;
}
.hero-visual .hv-badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--color-cyan);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.hero-visual .hv-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 0 10px var(--color-cyan);
}

.hv-stack { display: flex; flex-direction: column; gap: var(--space-3); }
.hv-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface-dark-2);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text-on-dark-muted);
  transition: all var(--transition-interactive);
}
.hv-row.hv-row-active {
  border-color: var(--color-cyan);
  background: linear-gradient(135deg, rgb(6 182 212 / 0.10), rgb(79 70 229 / 0.10));
  color: var(--color-text-on-dark);
}
.hv-row .hv-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgb(79 70 229 / 0.2);
  color: var(--color-cyan);
  display: grid;
  place-items: center;
  font-size: 13px;
  flex-shrink: 0;
}
.hv-row .hv-label { flex: 1; }
.hv-row .hv-meta { font-size: 11px; color: var(--color-cyan); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }

/* ========== SECTION WRAPPER ========== */
.section {
  padding: clamp(var(--space-16), 10vw, var(--space-24)) 0;
}
.section-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-inline: var(--space-6);
}
.section.dark-block {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
}
.section.subtle-block {
  background: var(--color-surface-2);
}
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(var(--space-10), 6vw, var(--space-16));
}
.section-header h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}
.section-header h2 em { color: var(--color-primary); font-style: italic; font-weight: 500; }
.dark-block .section-header h2 em { color: var(--color-cyan); }
.section-header p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}
.dark-block .section-header p { color: var(--color-text-on-dark-muted); }

/* ========== AI SHOWCASE STRIP ========== */
.ai-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
}
.ai-card {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-interactive);
}
.ai-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}
.ai-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-ai);
  opacity: 0;
  transition: opacity var(--transition-interactive);
  z-index: -1;
}
.ai-card .ai-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-4);
}
.ai-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}
.ai-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ========== JOB-TO-BE-DONE GRID ==========
   3 cards on row 1, 2 centered cards on row 2.
   Uses a 6-column grid where each card spans 2 columns;
   row-2 cards start at column 2 and column 4 to center them. */
.jtbd-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-5);
  max-width: 1080px;
  margin: 0 auto;
}
.jtbd-grid .jtbd-card { grid-column: span 2; }
.jtbd-grid .jtbd-card:nth-child(4) { grid-column: 2 / span 2; }
.jtbd-grid .jtbd-card:nth-child(5) { grid-column: 4 / span 2; }

@media (max-width: 900px) {
  .jtbd-grid { grid-template-columns: repeat(2, 1fr); }
  .jtbd-grid .jtbd-card,
  .jtbd-grid .jtbd-card:nth-child(4),
  .jtbd-grid .jtbd-card:nth-child(5) { grid-column: auto; }
}
@media (max-width: 600px) {
  .jtbd-grid { grid-template-columns: 1fr; }
  .jtbd-grid .jtbd-card,
  .jtbd-grid .jtbd-card:nth-child(4),
  .jtbd-grid .jtbd-card:nth-child(5) { grid-column: auto; }
}
.jtbd-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-7);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  transition: all var(--transition-interactive);
  color: inherit;
  text-decoration: none;
}
.jtbd-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
  color: inherit;
}
.jtbd-num {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-4);
}
.jtbd-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}
.jtbd-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0 0 var(--space-5);
  flex: 1;
}
.jtbd-tools {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.jtbd-tool {
  font-size: 11px;
  padding: 4px 10px;
  background: var(--color-surface-2);
  color: var(--color-text-muted);
  border-radius: var(--radius-full);
  font-weight: 500;
}

/* ========== CASE STUDY TEASER ROW ========== */
.cs-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}
.cs-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-interactive);
}
.cs-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
  color: inherit;
}
.cs-thumb {
  height: 200px;
  background: var(--gradient-ai);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.cs-thumb .cs-thumb-label {
  color: rgb(255 255 255 / 0.95);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  padding: var(--space-6);
}
.cs-body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cs-eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.cs-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}
.cs-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0 0 var(--space-4);
  flex: 1;
}
.cs-card .cs-stats {
  display: flex;
  gap: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
}
.cs-card .cs-stat .v {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
}
.cs-card .cs-stat .l {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

/* ========== PRICING TEASER ========== */
.pricing-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
  max-width: 1080px;
  margin: 0 auto;
}
.pricing-note {
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin: var(--space-10) auto 0;
  max-width: 62ch;
  line-height: 1.6;
}
.pricing-note strong { color: var(--color-text); font-weight: 600; }

.pricing-vertical-note {
  text-align: center;
  margin: var(--space-10) auto 0;
  max-width: 720px;
  padding: var(--space-6) var(--space-7);
  background: var(--color-bg);
  border: 1px solid var(--color-primary-bg);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.pricing-vertical-note strong {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.pricing-vertical-note span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
}
.pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-interactive);
}
.pricing-card.featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}
.pricing-card.featured::before {
  content: "MOST POPULAR";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-ai);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 5px 14px;
  border-radius: var(--radius-full);
}
.pricing-card .tier-name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.pricing-card .tier-price {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-2);
}
.pricing-card .tier-price .currency { font-size: 0.6em; vertical-align: super; opacity: 0.7; margin-right: 2px; }
.pricing-card .tier-price .per { font-size: 0.45em; color: var(--color-text-muted); font-weight: 500; }
.pricing-card .tier-tagline {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
  line-height: 1.5;
}
.pricing-card ul.tier-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6);
  flex: 1;
  font-size: var(--text-sm);
}
.pricing-card ul.tier-features li {
  padding: 6px 0 6px 26px;
  position: relative;
  color: var(--color-text);
  line-height: 1.5;
}
.pricing-card ul.tier-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-primary-subtle);
  color: var(--color-primary);
}
.pricing-card ul.tier-features li::after {
  content: "✓";
  position: absolute;
  left: 3px;
  top: 7px;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-primary);
}

/* ========== CLOSER ========== */
.closer {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding: clamp(var(--space-20), 12vw, var(--space-32)) 0;
}
.closer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 500px at 50% 50%, rgb(79 70 229 / 0.30), transparent 65%);
  pointer-events: none;
  z-index: -1;
}
.closer h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-5);
  color: var(--color-text-on-dark);
}
.closer h2 em { color: var(--color-cyan); font-style: italic; font-weight: 500; }
.closer p {
  font-size: var(--text-lg);
  color: var(--color-text-on-dark-muted);
  max-width: 560px;
  margin: 0 auto var(--space-9);
  line-height: 1.55;
}
.closer .btn-primary {
  background: var(--color-text-inverse);
  color: var(--color-text);
}
.closer .btn-primary:hover { background: var(--color-cyan); color: var(--color-text); }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  padding: clamp(var(--space-16), 8vw, var(--space-20)) 0 var(--space-8);
  border-top: 1px solid var(--color-border-dark);
}
.footer-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-inline: var(--space-6);
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(var(--space-8), 4vw, var(--space-12));
}
@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  color: var(--color-text-on-dark);
  text-decoration: none;
}
.footer-brand .logo .logo-full-dark {
  height: 48px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.footer-tag {
  color: var(--color-text-on-dark-muted);
  font-size: var(--text-sm);
  line-height: 1.55;
  max-width: 36ch;
  margin-bottom: var(--space-5);
}
.footer-family {
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border-dark);
  font-size: var(--text-xs);
}
.footer-family-label {
  color: var(--color-text-on-dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: var(--space-3);
  display: block;
}
.footer-family-links { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.footer-family-links a {
  color: var(--color-text-on-dark);
  font-weight: 500;
  font-size: var(--text-sm);
  padding: 6px 12px;
  background: rgb(255 255 255 / 0.06);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-full);
  transition: all var(--transition-interactive);
}
.footer-family-links a:hover {
  background: rgb(255 255 255 / 0.10);
  border-color: var(--color-cyan);
  color: var(--color-cyan);
}

.footer-col h4 {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--color-text-on-dark-muted);
  margin: 0 0 var(--space-4);
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer-col a {
  color: var(--color-text-on-dark);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: color var(--transition-interactive);
}
.footer-col a:hover { color: var(--color-cyan); }

.footer-bottom {
  max-width: var(--content-wide);
  margin: var(--space-12) auto 0;
  padding: var(--space-6) var(--space-6) 0;
  border-top: 1px solid var(--color-border-dark);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-on-dark-muted);
}
.footer-bottom .footer-links { display: flex; gap: var(--space-4); }
.footer-bottom a { color: var(--color-text-on-dark-muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--color-cyan); }

/* ========== ACCESSIBILITY ========== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========== ADDITIONS FOR PHASE 2 PAGES ========== */

/* Active nav state */
.site-nav a.active:not(.nav-cta) {
  color: var(--color-primary);
  background: oklch(from var(--color-primary) l c h / 0.08);
}

/* Trial note under pricing card CTA */
.pricing-card .trial-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-align: center;
  margin-top: var(--space-3);
  letter-spacing: 0.04em;
}

/* ========== HERO VARIANT B — Journey visual (production) ========== */
.hv2 {
  position: relative;
  background: var(--color-surface-dark);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-7) var(--space-6);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.hv2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at 50% 0%, rgb(79 70 229 / 0.18), transparent 60%);
  pointer-events: none;
}
.hv2 .hv2-title {
  position: relative;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-on-dark);
  text-align: center;
  margin-bottom: var(--space-7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hv2 .hv2-journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  align-items: start;
}
.hv2-stage {
  position: relative;
  text-align: center;
}
.hv2-stage .stage-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-3);
  border-radius: 50%;
  background: var(--color-surface-dark-2);
  border: 2px solid var(--color-border-dark);
  display: grid;
  place-items: center;
  color: var(--color-text-on-dark-muted);
  position: relative;
  transition: all 0.3s ease;
}
.hv2-stage.is-ai .stage-icon {
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  border-color: var(--color-cyan);
  color: #fff;
  box-shadow: 0 0 24px rgb(6 182 212 / 0.45);
}
.hv2-stage .stage-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--color-text-on-dark-muted);
  margin-bottom: 4px;
  line-height: 1.2;
}
.hv2-stage.is-ai .stage-label {
  color: var(--color-cyan);
}
.hv2-stage .stage-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-on-dark);
  line-height: 1.25;
}
.hv2 .hv2-footer {
  position: relative;
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border-dark);
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-on-dark-muted);
  line-height: 1.55;
}
.hv2 .hv2-footer strong { color: var(--color-text-on-dark); font-weight: 600; }
.hv2 .hv2-footer .cyan { color: var(--color-cyan); }
