/* Resova — premium dark SaaS branding */
:root {
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-fast: cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --space: 1.25rem;
  --container: min(1120px, 92vw);
  --radius: 12px;
  --radius-sm: 8px;
  --letter-heading: 0.01em;
  --letter-body: 0.01em;

  /* Base (exact) */
  --bg: #05070A;
  --bg-section: #0B0F14;

  /* Text */
  --text: #E6EAF0;
  --text-muted: #A0A7B4;

  /* Accent — darker blue */
  --accent: #4575D4;
  --accent-hover: #5685E0;
  --accent-glow: rgba(69, 117, 212, 0.2);
  --accent-glow-strong: rgba(69, 117, 212, 0.35);

  /* Glow / depth */
  --border: rgba(255, 255, 255, 0.06);
  --border-soft: rgba(255, 255, 255, 0.04);
}

/* Light theme (toggle) */
html.theme-light {
  --bg: #fafbfc;
  --bg-section: #f0f2f5;
  --text: #1a1d23;
  --text-muted: #5c6370;
  --border: #e4e6eb;
  --border-soft: #eef0f3;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: var(--letter-body);
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header — always dark */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space) min(5vw, 3rem);
  max-width: 1200px;
  margin: 0 auto;
  color: var(--text);
  backdrop-filter: blur(10px);
  transition: background 0.3s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 160px;
  background: linear-gradient(180deg, rgba(5, 7, 10, 0.6) 0%, transparent 100%);
  z-index: -1;
  pointer-events: none;
}

.logo-img {
  max-height: 53px;
  width: auto;
  background: transparent;
}

.logo-img--light {
  display: none;
}

.logo-img--dark {
  display: block;
}

html.theme-light .logo-img--light {
  display: block;
}

html.theme-light .logo-img--dark {
  display: none;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0;
  margin-right: 0.25rem;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.theme-toggle:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}


.theme-toggle-sun {
  display: block;
}

.theme-toggle-moon {
  display: none;
}

html.theme-light .theme-toggle-sun {
  display: none;
}

html.theme-light .theme-toggle-moon {
  display: block;
}

html.theme-light .theme-toggle {
  color: var(--text-muted);
}

html.theme-light .theme-toggle:hover {
  background: rgba(0, 0, 0, 0.06);
}

html.theme-light .site-header::before {
  background: linear-gradient(180deg, rgba(250, 251, 252, 0.9) 0%, transparent 100%);
}

html.theme-light .hero-bg {
  background: radial-gradient(circle at 70% 40%, rgba(91, 141, 239, 0.08), transparent 60%), var(--bg);
}

html.theme-light .section-bg-glow {
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(91, 141, 239, 0.08) 0%, transparent 60%);
}

html.theme-light .mockup-browser {
  background: var(--bg-section);
  border-color: var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 0 40px rgba(91, 141, 239, 0.06);
}

html.theme-light .pricing-card {
  background: #fff;
  border-color: var(--border);
}

html.theme-light .pricing-card:hover {
  border-color: var(--text-muted);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

html.theme-light .pricing-card--featured {
  border-color: rgba(69, 117, 212, 0.35);
  box-shadow: 0 0 40px rgba(91, 141, 239, 0.1), 0 0 24px rgba(108, 92, 231, 0.06);
}

html.theme-light .pricing-card--featured:hover {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12), 0 0 48px rgba(91, 141, 239, 0.15);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-header .btn-ghost {
  color: var(--text-muted);
}
.site-header .btn-ghost:hover {
  color: var(--text);
}

/* Buttons — scale 1.03, glow, 0.2s ease */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: var(--letter-body);
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    box-shadow 0.2s var(--ease), transform 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #5B8DEF, #6C5CE7);
  color: #fff;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #6b9df5, #7d6ef7);
  box-shadow: 0 10px 30px rgba(91, 141, 239, 0.4);
  transform: scale(1.03);
}

.btn-glow:hover {
  box-shadow: 0 0 32px var(--accent-glow), 0 0 48px var(--accent-glow-strong);
}

.btn-cta {
  background: linear-gradient(135deg, #5B8DEF, #6C5CE7);
  color: #fff;
}

.btn-cta:hover {
  background: linear-gradient(135deg, #6b9df5, #7d6ef7);
  box-shadow: 0 10px 30px rgba(91, 141, 239, 0.4), 0 0 24px rgba(108, 92, 231, 0.25);
  transform: scale(1.03);
}

.btn-cta-hero {
  padding: 1rem 2.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  box-shadow: 0 0 32px rgba(91, 141, 239, 0.2), 0 0 48px rgba(108, 92, 231, 0.15);
}

.btn-cta-hero:hover {
  box-shadow: 0 12px 36px rgba(91, 141, 239, 0.35), 0 0 32px rgba(108, 92, 231, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
  transform: scale(1.03);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}

.btn-ghost:hover {
  color: var(--text);
}

/* Section base */
.section {
  padding: clamp(3rem, 8vw, 5rem) var(--space);
  position: relative;
  background: var(--bg);
}

.section-alt {
  background: var(--bg-section);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
}

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

.section-headline {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: var(--letter-heading);
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--text);
}

.section-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 56ch;
}

/* Reveal */
.reveal-el,
.hero-line {
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal-el.is-visible,
.hero-line.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-line { display: block; }

/* HERO — two columns, gradient bg, glow */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem var(--space) clamp(4rem, 12vw, 6rem);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 40%, rgba(91, 141, 239, 0.15), transparent 60%),
    var(--bg);
  z-index: 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 520px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: var(--letter-heading);
  line-height: 1.12;
  margin: 0 0 1.25rem;
  color: var(--text);
}

.hero-line-dim {
  font-weight: 500;
  background: linear-gradient(135deg, #E6EAF0 0%, #b8bfc9 50%, #A0A7B4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  line-height: 1.55;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-trust {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  opacity: 0.9;
}

/* Hero — product image (same style as See it in action) */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-mockup {
  width: 100%;
  max-width: 420px;
}

/* LOGOS STRIP */
.section-logos {
  background: transparent;
  padding: clamp(2rem, 5vw, 3rem) var(--space);
}

.logos-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 1.25rem;
  letter-spacing: 0.02em;
}

.logos-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.logo-pill {
  font-size: 1.4rem;
  color: var(--text-muted);
  opacity: 0.5;
  filter: grayscale(1);
  padding: 0.5rem 0;
  background: transparent;
}

/* SYSTEM FEEL */
.section-system {
  padding: clamp(4rem, 12vw, 7rem) var(--space);
  background: var(--bg-section);
}

.section-bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.section-system .container {
  position: relative;
  z-index: 1;
  max-width: 640px;
  text-align: center;
}

.system-headline {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: var(--letter-heading);
  line-height: 1.25;
  margin: 0;
  color: var(--text);
}

.system-headline-accent {
  margin-top: 0.5rem;
  color: var(--accent);
}

/* STICKY BREAKDOWN */
.section-sticky-wrap {
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg);
}

.sticky-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  padding: clamp(4rem, 10vw, 6rem) var(--space);
}

.sticky-left {
  position: sticky;
  top: 8rem;
}

.sticky-headline {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: var(--letter-heading);
  line-height: 1.2;
  margin: 0;
  color: var(--text);
}

.sticky-right {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.sticky-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-soft);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

.sticky-item-label {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  display: block;
  margin-bottom: 0.35rem;
}

.sticky-item-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* CAROUSEL */
.section-carousel-wrap {
  background: var(--bg-section);
  padding-bottom: 4rem;
}

.carousel-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: var(--letter-heading);
  margin: 0 0 2rem;
  color: var(--text);
}

.carousel-track-wrap {
  overflow: hidden;
  margin: 0 calc(-1 * (100vw - 100%) / 2);
}

.carousel-track {
  display: flex;
  gap: 1.25rem;
  padding: 0 min(5vw, 3rem) 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-card {
  flex: 0 0 min(320px, 85vw);
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.carousel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.08);
}

.carousel-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--text);
}

.carousel-card-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* PRODUCT UI MOCKUP — dark */
.section-mockup {
  background: var(--bg);
}

.section-mockup .section-lead {
  margin-bottom: 2.5rem;
}

.mockup-browser {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(91, 141, 239, 0.1);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--border);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.mockup-url {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 1rem;
}

.mockup-body {
  display: flex;
  min-height: 280px;
}

.mockup-sidebar {
  width: 140px;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.15);
  border-right: 1px solid var(--border);
}

.mockup-nav-item {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
}

.mockup-nav-active {
  color: var(--accent);
  font-weight: 600;
}

.mockup-main {
  flex: 1;
  padding: 1.25rem;
}

.mockup-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.mockup-block {
  font-size: 0.9375rem;
}

.mockup-title {
  font-weight: 600;
  color: var(--text);
}

.mockup-pill {
  background: rgba(255, 255, 255, 0.06);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.mockup-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.mockup-slot {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 0.4rem 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  display: flex;
  gap: 0.35rem;
}

.mockup-slot-booked {
  background: rgba(69, 117, 212, 0.15);
  color: var(--accent);
}

.mockup-cards {
  display: flex;
  gap: 0.75rem;
}

.mockup-card {
  flex: 1;
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
}

.mockup-card strong {
  color: var(--text);
}

/* PRICING */
.section-pricing {
  padding: clamp(4rem, 10vw, 6rem) var(--space);
  background: var(--bg);
}

.pricing-page {
  padding-top: calc(80px + 3rem);
  min-height: 80vh;
}

.pricing-headline {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: var(--letter-heading);
  margin: 0 0 0.5rem;
  color: var(--text);
  text-align: center;
}

.pricing-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 0 2.5rem;
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.1);
}

.pricing-card--featured {
  border-color: rgba(91, 141, 239, 0.35);
  box-shadow: 0 0 40px rgba(91, 141, 239, 0.12), 0 0 24px rgba(108, 92, 231, 0.08);
  transform: scale(1.03);
}

.pricing-card--featured:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4), 0 0 48px rgba(91, 141, 239, 0.2), 0 0 32px rgba(108, 92, 231, 0.12);
  border-color: rgba(91, 141, 239, 0.5);
}

.pricing-card-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  background: linear-gradient(135deg, rgba(91, 141, 239, 0.25), rgba(108, 92, 231, 0.25));
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(91, 141, 239, 0.4);
  white-space: nowrap;
}

.pricing-card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.pricing-card-dot--green {
  background: #3d9d6b;
  box-shadow: 0 0 12px rgba(61, 157, 107, 0.4);
}

.pricing-card-dot--blue {
  background: #5B8DEF;
  box-shadow: 0 0 16px rgba(91, 141, 239, 0.5);
}

.pricing-card-dot--purple {
  background: #6C5CE7;
  box-shadow: 0 0 12px rgba(108, 92, 231, 0.4);
}

.pricing-card-name {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: var(--text);
}

.pricing-card-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  line-height: 1.4;
}

.pricing-card-price {
  margin: 0 0 1.25rem;
}

.pricing-card-amount {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
}

.pricing-card-period {
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}

.pricing-card-features li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.pricing-card-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card--featured {
    transform: none;
  }

  .pricing-card--featured:hover {
    transform: translateY(-4px);
  }
}

/* FINAL CTA */
.section-cta-final {
  padding: clamp(4rem, 12vw, 7rem) var(--space);
  background: var(--bg-section);
}

.section-cta-final .container {
  position: relative;
  z-index: 1;
}

.section-cta-final .cta-headline {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: var(--letter-heading);
  margin: 0 0 0.5rem;
  color: var(--text);
}

.section-cta-final .cta-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
}

.thanks-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thanks-headline {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: var(--letter-heading);
  margin: 0 0 0.5rem;
  color: var(--text);
}

.thanks-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
}

/* Join page */
.join-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(80px + 2rem);
  padding-bottom: 2rem;
}

.container--narrow {
  max-width: 480px;
  margin: 0 auto;
}

.join-headline {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: var(--letter-heading);
  margin: 0 0 0.5rem;
  color: var(--text);
  text-align: center;
}

.join-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
  text-align: center;
}

.waitlist-form--page .waitlist-page-fields {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.waitlist-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  display: block;
  margin-bottom: -0.5rem;
}

.waitlist-input--full,
.waitlist-textarea {
  width: 100%;
  min-width: 0;
}

.waitlist-textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  resize: vertical;
  min-height: 100px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.waitlist-textarea::placeholder {
  color: var(--text-muted);
}

.waitlist-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91, 141, 239, 0.15);
}

.waitlist-form--page .waitlist-submit {
  margin-top: 0.5rem;
  width: 100%;
}

.waitlist-phone-row {
  display: flex;
  gap: 0.5rem;
}

.waitlist-phone-prefix {
  flex: 0 0 auto;
  width: 7rem;
}

.waitlist-phone-number {
  flex: 1;
  min-width: 0;
}

.waitlist-select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23A0A7B4' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.25rem;
}

.waitlist-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91, 141, 239, 0.15);
}

.waitlist-select option {
  background: var(--bg-section);
  color: var(--text);
}

/* Waitlist form (inline on homepage uses .waitlist-fields) */
.waitlist-form {
  max-width: 420px;
  margin: 0 auto;
}

.waitlist-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}

.waitlist-input {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  min-width: 0;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.waitlist-input::placeholder {
  color: var(--text-muted);
}

.waitlist-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91, 141, 239, 0.15);
}

.waitlist-input[name="email"] {
  flex: 1;
  min-width: 180px;
}

.waitlist-input[name="name"] {
  flex: 1;
  min-width: 140px;
}

.waitlist-submit {
  flex-shrink: 0;
}

.waitlist-message {
  margin: 1rem 0 0;
  font-size: 0.9375rem;
  min-height: 1.4em;
}

.waitlist-message.success {
  color: #3d9d6b;
}

.waitlist-message.error {
  color: #e06c75;
}

@media (max-width: 520px) {
  .waitlist-fields {
    flex-direction: column;
  }

  .waitlist-input[name="email"],
  .waitlist-input[name="name"] {
    width: 100%;
    min-width: 0;
  }

  .waitlist-submit {
    width: 100%;
  }
}

/* Footer */
.site-footer {
  padding: 2rem var(--space);
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  justify-content: space-between;
}

.footer-logo img {
  max-height: 46px;
  width: auto;
  opacity: 0.9;
  background: transparent;
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  transition: color 0.2s var(--ease);
}

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

.footer-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
  width: 100%;
  text-align: center;
  opacity: 0.8;
}

@media (min-width: 640px) {
  .footer-note {
    width: auto;
    text-align: left;
    order: 3;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: none;
  }

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

  .hero-visual {
    order: -1;
  }

  .hero-mockup {
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .sticky-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sticky-left {
    position: static;
  }

  .sticky-right {
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .site-header .btn-ghost {
    display: none;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 280px;
  }

  .mockup-body {
    flex-direction: column;
  }

  .mockup-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }
}
