/* ==========================================================
   CrewRise Landing — Dark-only construction SaaS
   ========================================================== */

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

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  min-height: 100dvh;
  font-family: 'Satoshi', 'Inter', -apple-system, sans-serif;
  line-height: 1.6;
  color: #FFFFFF;
  background-color: #0F0F0F;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role='list'], ol[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.15; }
p, li, figcaption { text-wrap: pretty; max-width: 72ch; }

::selection {
  background: rgba(245, 166, 35, 0.25);
  color: #FFFFFF;
}

:focus-visible {
  outline: 2px solid #F5A623;
  outline-offset: 3px;
  border-radius: 0.375rem;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

button { cursor: pointer; background: none; border: none; }

a, button, [role='button'], input, textarea, select {
  transition: color 180ms cubic-bezier(0.16, 1, 0.3, 1),
              background 180ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 180ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* --- DESIGN TOKENS --- */
:root {
  /* Type scale (fluid) */
  --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.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem, 1.2rem + 2.5vw, 3.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-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Brand colors */
  --cr-base:    #0F0F0F;
  --cr-surface: #1A1A1A;
  --cr-card:    #242424;
  --cr-amber:   #F5A623;
  --cr-gold:    #FFD600;
  --cr-white:   #FFFFFF;
  --cr-muted:   #888888;
  --cr-faint:   #555555;
  --cr-border:  #2A2A2A;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 180ms var(--ease);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.5);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;

  /* Fonts */
  --font-display: 'Cabinet Grotesk', 'Inter', sans-serif;
  --font-body:    'Satoshi', 'Inter', sans-serif;
}

/* --- FIXED WATERMARK --- */
.watermark {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: clamp(5rem, 10vh, 8rem);
  z-index: 0;
  pointer-events: none;
  user-select: none;
  gap: 0;
}

.watermark__text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(6rem, 15vw, 14rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(245, 166, 35, 0.15);
  white-space: nowrap;
  line-height: 1;
}

.watermark__chevron-wrap {
  width: clamp(280px, 35vw, 460px);
  margin-top: -1.5rem;
  opacity: 0;
  animation: chevronFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.watermark__chevron-wrap .hero__chevron {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 60px rgba(245, 166, 35, 0.12));
  opacity: 0.5;
}

/* --- UTILITY --- */
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--cr-white);
  margin-bottom: var(--space-10);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--cr-amber);
  color: #0F0F0F;
  border-color: var(--cr-amber);
}
.btn--primary:hover {
  background: #e69518;
  border-color: #e69518;
  box-shadow: 0 0 20px rgba(245, 166, 35, 0.25);
}

.btn--outline {
  background: transparent;
  color: var(--cr-white);
  border-color: var(--cr-faint);
}
.btn--outline:hover {
  border-color: var(--cr-amber);
  color: var(--cr-amber);
}

.btn--sm { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); }
.btn--lg { padding: var(--space-4) var(--space-8); font-size: var(--text-base); width: 100%; }

/* --- NAV --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cr-border);
}

.nav__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;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--cr-white);
}
.nav__logo svg { flex-shrink: 0; }

.nav__wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  letter-spacing: -0.02em;
}

/* --- MAIN (above watermark) --- */
main, .footer {
  position: relative;
  z-index: 1;
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: clamp(560px, 80vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-24) var(--space-6) var(--space-16);
  overflow: hidden;
}

/* Canvas particle grid */
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Ambient amber glow */
.hero__glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(400px, 60vw, 800px);
  height: clamp(400px, 60vw, 800px);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(245, 166, 35, 0.08) 0%,
    rgba(245, 166, 35, 0.03) 35%,
    transparent 70%
  );
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.7; transform: translateX(-50%) scale(1.05); }
}

/* Large background chevron (now inside fixed watermark) */
.hero__chevron-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  width: clamp(280px, 35vw, 500px);
  height: auto;
  pointer-events: none;
  opacity: 0;
  animation: chevronFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

/* Chevron in watermark — use flex layout instead of absolute */
.watermark .watermark__chevron-wrap .hero__chevron {
  opacity: 0.5;
}

@keyframes chevronFadeIn {
  to { opacity: 1; }
}

.hero__chevron {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 60px rgba(245, 166, 35, 0.12));
  opacity: 0.5;
}

.hero__chevron-path {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  stroke: rgba(245, 166, 35, 0.7);
  animation: drawChevron 2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.hero__chevron-path2 {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  stroke: rgba(245, 166, 35, 0.45);
  animation: drawChevron2 1.8s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

.hero__chevron-path3 {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  stroke: rgba(245, 166, 35, 0.25);
  animation: drawChevron3 1.5s cubic-bezier(0.16, 1, 0.3, 1) 1.4s forwards;
}

@keyframes drawChevron {
  to { stroke-dashoffset: 0; }
}
@keyframes drawChevron2 {
  to { stroke-dashoffset: 0; }
}
@keyframes drawChevron3 {
  to { stroke-dashoffset: 0; }
}

.hero__chevron-fill,
.hero__chevron-fill2,
.hero__chevron-fill3 {
  animation: fillChevron 1.2s cubic-bezier(0.16, 1, 0.3, 1) 2s forwards;
}
.hero__chevron-fill2 { animation-delay: 2.2s; }
.hero__chevron-fill3 { animation-delay: 2.4s; }

@keyframes fillChevron {
  to { opacity: 1; }
}

/* Content */
.hero__content {
  position: relative;
  text-align: center;
  max-width: 800px;
  z-index: 2;
}

.hero__kicker {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  color: var(--cr-amber);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
  opacity: 0;
  animation: heroTextIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.5rem, 2.5rem + 5vw, 8rem);
  color: var(--cr-white);
  margin-bottom: var(--space-8);
  letter-spacing: -0.04em;
  line-height: 0.92;
  opacity: 0;
  animation: heroHeadlineIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}

@keyframes heroHeadlineIn {
  from {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__sub {
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem);
  color: var(--cr-muted);
  max-width: 560px;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
  opacity: 0;
  animation: heroTextIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

/* Social proof stats */
.hero__proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(245, 166, 35, 0.1);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: heroTextIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.hero__proof-item {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.hero__proof-item strong {
  color: var(--cr-amber);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.hero__proof-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.4);
  flex-shrink: 0;
}

.hero__ctas {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroTextIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero__glow { animation: none; opacity: 1; }
  .hero__chevron-wrap { animation: none; opacity: 1; }
  .hero__chevron-path, .hero__chevron-path2, .hero__chevron-path3 { animation: none; stroke-dashoffset: 0; }
  .hero__chevron-fill, .hero__chevron-fill2, .hero__chevron-fill3 { animation: none; opacity: 1; }
  .hero__kicker,
  .hero__headline,
  .hero__sub,
  .hero__proof,
  .hero__ctas {
    animation: none;
    opacity: 1;
  }
}

/* Mobile hero adjustments */
@media (max-width: 640px) {
  .hero {
    min-height: clamp(480px, 75vh, 700px);
    padding: var(--space-20) var(--space-4) var(--space-12);
  }
  .hero__chevron-wrap {
    width: 220px;
  }
  .hero__proof {
    gap: var(--space-2);
  }
  .hero__proof-item {
    font-size: var(--text-xs);
  }
}

/* --- STATS BAR --- */
.stats {
  background: var(--cr-surface);
  border-top: 1px solid var(--cr-border);
  border-bottom: 1px solid var(--cr-border);
  padding: var(--space-10) var(--space-6);
}

.stats__inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.stats__card {
  text-align: center;
  padding: var(--space-4);
}

.stats__number {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--cr-amber);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-1);
}

.stats__label {
  display: block;
  font-size: var(--text-sm);
  color: var(--cr-muted);
}

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

/* --- FEATURES --- */
.features {
  padding: clamp(var(--space-12), 8vw, var(--space-24)) var(--space-6);
}

.features__inner {
  max-width: var(--content-wide);
  margin: 0 auto;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.feature-card {
  background: var(--cr-surface);
  border: 1px solid var(--cr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-6) var(--space-8);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  border-color: rgba(245, 166, 35, 0.3);
  box-shadow: inset 3px 0 0 var(--cr-amber);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 166, 35, 0.08);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
}
.feature-card__icon svg { display: block; }

.feature-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--cr-white);
  margin-bottom: var(--space-2);
}

.feature-card__desc {
  font-size: var(--text-sm);
  color: var(--cr-muted);
  line-height: 1.65;
}

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

/* --- AUDIENCE --- */
.audience {
  padding: clamp(var(--space-12), 8vw, var(--space-24)) var(--space-6);
  background: var(--cr-surface);
}

.audience__inner {
  max-width: var(--content-wide);
  margin: 0 auto;
}

.audience__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.audience-card {
  background: var(--cr-base);
  border: 1px solid var(--cr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color var(--transition);
}
.audience-card:hover {
  border-color: rgba(245, 166, 35, 0.3);
}

.audience-card__badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--cr-amber);
  background: rgba(245, 166, 35, 0.1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-4);
}

.audience-card__desc {
  font-size: var(--text-sm);
  color: var(--cr-muted);
  line-height: 1.65;
}

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

/* --- ROADMAP --- */
.roadmap {
  padding: clamp(var(--space-12), 8vw, var(--space-24)) var(--space-6);
}

.roadmap__inner {
  max-width: var(--content-wide);
  margin: 0 auto;
}

.roadmap__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.roadmap-item {
  background: var(--cr-surface);
  border: 1px solid var(--cr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color var(--transition);
}
.roadmap-item:hover {
  border-color: rgba(245, 166, 35, 0.3);
}

.roadmap-item__status {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xs);
  color: var(--cr-amber);
  background: rgba(245, 166, 35, 0.1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
  letter-spacing: 0.02em;
}

.roadmap-item__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--cr-white);
  margin-bottom: var(--space-2);
}

.roadmap-item__desc {
  font-size: var(--text-sm);
  color: var(--cr-muted);
  line-height: 1.65;
}

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

.roadmap__grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.roadmap__grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.roadmap__grid .reveal:nth-child(4) { transition-delay: 0.24s; }

/* --- PRICING --- */
.pricing {
  padding: clamp(var(--space-12), 8vw, var(--space-24)) var(--space-6);
  background: var(--cr-surface);
}

.pricing__inner {
  max-width: var(--content-wide);
  margin: 0 auto;
}

.pricing__sub {
  font-size: var(--text-base);
  color: var(--cr-muted);
  margin-top: calc(-1 * var(--space-6));
  margin-bottom: var(--space-10);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  align-items: start;
}

.pricing-card {
  background: var(--cr-base);
  border: 1px solid var(--cr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  position: relative;
  transition: border-color var(--transition);
}
.pricing-card:hover {
  border-color: rgba(245, 166, 35, 0.3);
}

.pricing-card--featured {
  border-color: var(--cr-amber);
  box-shadow: 0 0 30px rgba(245, 166, 35, 0.1);
}

.pricing-card__popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xs);
  color: #0F0F0F;
  background: var(--cr-amber);
  padding: var(--space-1) var(--space-4);
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-card__badge {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--cr-amber);
  margin-bottom: var(--space-3);
  letter-spacing: 0.02em;
}

.pricing-card__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--cr-white);
  line-height: 1.1;
}
.pricing-card__price span {
  font-size: 0.4em;
  color: var(--cr-muted);
  font-weight: 500;
}

.pricing-card__period {
  font-size: var(--text-xs);
  color: var(--cr-faint);
  margin-top: var(--space-1);
  margin-bottom: var(--space-6);
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  text-align: left;
  font-size: var(--text-sm);
  color: var(--cr-muted);
  line-height: 1.8;
}

.pricing-card__features li::before {
  content: "\2713 ";
  color: var(--cr-amber);
  font-weight: 700;
  margin-right: var(--space-2);
}

.pricing__company {
  margin-top: var(--space-8);
  text-align: center;
  background: var(--cr-base);
  border: 1px solid var(--cr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.pricing__company-text {
  font-size: var(--text-sm);
  color: var(--cr-muted);
  max-width: 500px;
}
.pricing__company-text strong {
  color: var(--cr-white);
}

@media (max-width: 768px) {
  .pricing__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pricing__company { flex-direction: column; text-align: center; }
}

.pricing__grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.pricing__grid .reveal:nth-child(3) { transition-delay: 0.16s; }

/* --- ORIGIN --- */
.origin {
  padding: clamp(var(--space-12), 8vw, var(--space-24)) var(--space-6);
}

.origin__inner {
  max-width: var(--content-narrow);
  margin: 0 auto;
  text-align: center;
}

.origin__mark {
  margin: 0 auto var(--space-6);
  width: 48px;
  height: 48px;
}
.origin__mark svg { display: block; }

.origin__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--cr-white);
  margin-bottom: var(--space-4);
}

.origin__text {
  font-size: var(--text-base);
  color: var(--cr-muted);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

/* --- WAITLIST --- */
.waitlist {
  padding: clamp(var(--space-12), 8vw, var(--space-24)) var(--space-6);
  background: var(--cr-surface);
}

.waitlist__inner {
  max-width: 640px;
  margin: 0 auto;
}

.waitlist__header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.waitlist__sub {
  font-size: var(--text-base);
  color: var(--cr-muted);
  margin-top: var(--space-2);
}

/* Form */
.waitlist__form { display: flex; flex-direction: column; gap: var(--space-5); }

.form-row { width: 100%; }
.form-row--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

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

.form-group label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--cr-white);
}
.req { color: var(--cr-amber); }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--cr-base);
  border: 1px solid var(--cr-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  color: var(--cr-white);
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23888888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--cr-faint);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cr-amber);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.12);
}

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

/* Signup type toggle */
.signup-type-toggle {
  display: flex;
  background: var(--cr-base);
  border: 1px solid var(--cr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.signup-type-btn {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--cr-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 180ms var(--ease);
}

.signup-type-btn.active {
  background: var(--cr-amber);
  color: #0F0F0F;
}

.signup-type-btn:hover:not(.active) {
  color: var(--cr-white);
}

#companyFields.hidden {
  display: none;
}

.waitlist__note {
  font-size: var(--text-xs);
  color: var(--cr-faint);
  text-align: center;
  margin-top: var(--space-1);
}

/* Success state */
.waitlist__success {
  text-align: center;
  padding: var(--space-12) 0;
}

.success-check {
  margin: 0 auto var(--space-6);
  width: 56px;
  height: 56px;
}
.success-check svg { display: block; }

.success-circle {
  stroke-dasharray: 163.36;
  stroke-dashoffset: 163.36;
  animation: drawCircle 0.6s ease-out forwards;
}
.success-tick {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: drawTick 0.4s ease-out 0.45s forwards;
}

@keyframes drawCircle {
  to { stroke-dashoffset: 0; }
}
@keyframes drawTick {
  to { stroke-dashoffset: 0; }
}

.success-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--cr-white);
  margin-bottom: var(--space-2);
}

.success-sub {
  font-size: var(--text-base);
  color: var(--cr-muted);
}

/* --- FOOTER --- */
.footer {
  border-top: 1px solid var(--cr-border);
  padding: var(--space-10) var(--space-6);
}

.footer__inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.footer__brand { display: flex; flex-direction: column; gap: var(--space-2); }

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.footer__logo svg { display: block; flex-shrink: 0; }

.footer__wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--cr-white);
}
.tm { font-weight: 400; font-size: 0.65em; vertical-align: super; color: var(--cr-muted); }

.footer__tagline {
  font-size: var(--text-xs);
  color: var(--cr-faint);
}

.footer__links a {
  font-size: var(--text-sm);
  color: var(--cr-muted);
  text-decoration: none;
}
.footer__links a:hover { color: var(--cr-amber); }

.footer__legal { text-align: right; }
.footer__legal p {
  font-size: var(--text-xs);
  color: var(--cr-faint);
}
.footer__disclaimer {
  margin-top: var(--space-1);
}
.footer__disclaimer a {
  color: var(--cr-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer__disclaimer a:hover { color: var(--cr-amber); }

@media (max-width: 640px) {
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-6);
  }
  .footer__legal { text-align: left; }
}

/* --- SCROLL REVEAL ANIMATION --- */
.reveal {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: no-preference) {
  .reveal.reveal--pending {
    opacity: 0;
    transform: translateY(20px);
  }
  .reveal {
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  }
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children within grids */
.features__grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.features__grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.features__grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.features__grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.features__grid .reveal:nth-child(6) { transition-delay: 0.4s; }
.features__grid .reveal:nth-child(7) { transition-delay: 0.48s; }
.features__grid .reveal:nth-child(8) { transition-delay: 0.56s; }

.audience__grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.audience__grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.audience__grid .reveal:nth-child(4) { transition-delay: 0.24s; }

.stats__inner .reveal:nth-child(2) { transition-delay: 0.08s; }
.stats__inner .reveal:nth-child(3) { transition-delay: 0.16s; }
.stats__inner .reveal:nth-child(4) { transition-delay: 0.24s; }
