/* ============================================================
   Marcus v2 — Design System
   Aesthetic: Warm dark editorial / luxury productivity
   ============================================================ */

/* ============================================================
   1. Design Tokens
   ============================================================ */
:root {
  /* --- Spacing — 8pt grid --- */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* --- Type Scale (Major Third ×1.25) --- */
  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg:   1.125rem;   /* 18px */
  --text-xl:   1.25rem;    /* 20px */
  --text-2xl:  1.5rem;     /* 24px */
  --text-3xl:  1.875rem;   /* 30px */
  --text-4xl:  2.25rem;    /* 36px */
  --text-5xl:  3rem;       /* 48px */
  --text-6xl:  3.75rem;    /* 60px */
  --text-7xl:  4.5rem;     /* 72px */

  /* --- Motion --- */
  --dur-fast:    150ms;
  --dur-base:    250ms;
  --dur-slow:    400ms;
  --dur-slower:  600ms;
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout:  cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* --- Colors — Warm dark base --- */
  --bg:   #0C0A09;
  --bg-2: #141210;
  --bg-3: #1C1917;
  --bg-4: #242120;
  --bg-5: #2D2A28;

  --fg:   #F5F0E8;
  --fg-2: #C7C0B8;
  --fg-3: #948C85;
  --fg-4: #5C554F;

  --line:   rgba(245, 240, 232, 0.08);
  --line-2: rgba(245, 240, 232, 0.14);
  --line-3: rgba(245, 240, 232, 0.24);

  /* Brand */
  --teal:      #2DD4BF;
  --teal-dim:  rgba(45, 212, 191, 0.14);
  --teal-glow: rgba(45, 212, 191, 0.22);
  --amber:     #FBBF24;
  --amber-dim: rgba(251, 191, 36, 0.12);

  /* Feature accent palette */
  --accent-purple: #C084FC;
  --accent-green:  #4ADE80;
  --accent-orange: #FB923C;
  --accent-blue:   #60A5FA;

  /* Semantic */
  --success: #4ADE80;
  --error:   #F87171;

  /* --- Shadows --- */
  --shadow-sm:   0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md:   0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg:   0 8px 40px rgba(0, 0, 0, 0.6);
  --shadow-xl:   0 20px 80px rgba(0, 0, 0, 0.7);
  --shadow-teal: 0 0 60px rgba(45, 212, 191, 0.18), 0 0 120px rgba(45, 212, 191, 0.08);

  /* --- Border Radius --- */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-2xl:  40px;
  --radius-pill: 9999px;

  /* --- Layout --- */
  --container-max: 1120px;
  --container-pad: 24px;
}

/* ============================================================
   2. Base Reset
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Ambient gradient */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 15% -5%, rgba(45, 212, 191, 0.09) 0%, transparent 65%),
    radial-gradient(ellipse 55% 35% at 85% 105%, rgba(251, 191, 36, 0.05) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

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

ul[role="list"] {
  list-style: none;
}

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

/* ============================================================
   3. Noise Texture Overlay
   ============================================================ */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ============================================================
   4. Layout
   ============================================================ */
.container {
  width: min(var(--container-max), 100% - var(--container-pad) * 2);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* ============================================================
   5. Typography
   ============================================================ */
h1, h2, h3, h4 {
  font-family: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--fg);
}

h1 {
  font-size: clamp(var(--text-5xl), 7vw, var(--text-7xl));
  font-weight: 900;
  line-height: 1.02;
}

h2 {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  line-height: 1.05;
}

h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

em {
  font-style: italic;
  color: var(--teal);
}

/* ============================================================
   6. Label Component (unified — replaces .eyebrow, .feature-kicker)
   ============================================================ */
.label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-2);
  background: rgba(245, 240, 232, 0.04);
  font-family: 'Instrument Serif', serif;
  font-size: var(--text-sm);
  color: var(--fg-3);
  letter-spacing: 0.01em;
}

.label--teal {
  border-color: var(--teal-dim);
  background: var(--teal-dim);
  color: var(--teal);
}

.label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
  flex-shrink: 0;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--teal); }
  50%       { opacity: 0.55; box-shadow: 0 0 3px var(--teal); }
}

/* ============================================================
   7. Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-pill);
  font-family: 'Instrument Serif', serif;
  font-size: var(--text-base);
  font-weight: 400;
  border: none;
  cursor: pointer;
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    opacity var(--dur-fast) ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--teal);
  color: #0C0A09;
  font-weight: 600;
  box-shadow: 0 2px 20px var(--teal-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--teal-glow), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--fg-3);
  border: 1px solid var(--line-2);
}

.btn--ghost:hover {
  border-color: var(--line-3);
  color: var(--fg);
  transform: translateY(-1px);
}

/* ============================================================
   8. Navigation
   ============================================================ */
.site-header {
  padding: var(--space-5) 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  background: rgba(12, 10, 9, 0.65);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 26px;
  width: auto;
  /* marcus-web-logo.png is the cream variant — designed for dark surfaces.
     No filter; let the warm parchment tint of the wordmark sit on the dark bg. */
  opacity: 0.95;
}

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

.nav-links a {
  font-size: var(--text-sm);
  color: var(--fg-3);
  transition: color var(--dur-fast) ease;
}

.nav-links a:hover {
  color: var(--fg);
}

.nav-signin {
  padding: var(--space-2) var(--space-4) !important;
  border-radius: var(--radius-pill) !important;
  border: 1px solid var(--line-2) !important;
  color: var(--fg-2) !important;
  transition:
    border-color var(--dur-fast) ease,
    color var(--dur-fast) ease !important;
}

.nav-signin:hover {
  border-color: var(--line-3) !important;
  color: var(--fg) !important;
}

/* ============================================================
   9. Hero
   ============================================================ */
.hero {
  padding: var(--space-20) 0 var(--space-24);
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-16);
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.hero-body {
  font-size: var(--text-lg);
  color: var(--fg-3);
  line-height: 1.7;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

/* ============================================================
   10. Phone Mockup
   ============================================================ */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-glow {
  position: absolute;
  inset: -60px;
  background: radial-gradient(ellipse at center, rgba(45, 212, 191, 0.18), transparent 62%);
  pointer-events: none;
}

.phone-frame {
  width: 272px;
  background: var(--bg-3);
  border-radius: 48px;
  border: 7px solid var(--bg-4);
  box-shadow:
    0 0 0 1px var(--line),
    var(--shadow-xl),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  position: relative;
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 26px;
  background: var(--bg-3);
  border-radius: 0 0 16px 16px;
  z-index: 20;
}

.phone-screen {
  background: var(--bg);
  padding: 40px 14px 20px;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.app-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--space-1);
}

.app-time {
  font-size: 11px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: 0.02em;
}

.app-status {
  color: var(--fg-3);
}

.app-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.app-sup {
  font-size: 10px;
  color: var(--fg-4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.app-name {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.app-next-meeting {
  background: linear-gradient(135deg, var(--teal-dim), rgba(45, 212, 191, 0.05));
  border: 1px solid rgba(45, 212, 191, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-3);
}

.app-card-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
}

.app-meeting-title {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.2;
  margin-top: var(--space-1);
  letter-spacing: -0.02em;
}

.app-meeting-time {
  font-size: 11px;
  color: var(--fg-3);
  margin-top: 2px;
}

.app-avatars {
  display: flex;
  gap: 3px;
  margin-top: var(--space-2);
}

.app-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 8px;
  font-weight: 700;
  color: #0C0A09;
  display: grid;
  place-items: center;
  font-family: 'Instrument Serif', serif;
}

.app-row-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}

.app-mini-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-3);
}

.app-mini-label {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-4);
}

.app-mini-count {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 900;
  color: var(--fg);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-top: 2px;
}

.app-mini-sub {
  font-size: 10px;
  color: var(--fg-3);
}

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

.app-task {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.app-task--done {
  opacity: 0.45;
}

.app-task span {
  font-size: 12px;
  color: var(--fg-2);
}

.app-task--done span {
  text-decoration: line-through;
}

.app-task-check {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--fg-4);
  flex-shrink: 0;
  font-size: 8px;
  display: grid;
  place-items: center;
  color: transparent;
}

.app-task-check--done {
  background: var(--teal);
  border-color: var(--teal);
  color: #0C0A09;
  font-weight: 700;
  font-size: 9px;
}

/* ============================================================
   11. Section Base
   ============================================================ */
.section {
  padding: var(--space-24) 0;
}

.section-intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-bottom: var(--space-16);
  max-width: 680px;
}

.section-body {
  font-size: var(--text-lg);
  color: var(--fg-3);
  line-height: 1.7;
  max-width: 48ch;
}

/* Scroll-entry base state (JS adds .in-view) */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
  transition-delay: calc(var(--reveal-index, 0) * 65ms);
}

.scroll-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   12. Feature Cards
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.feature-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition:
    border-color var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

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

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  color: var(--icon-color, var(--teal));
  background: var(--icon-bg, var(--teal-dim));
  border: 1px solid var(--icon-border, rgba(45, 212, 191, 0.2));
  flex-shrink: 0;
}

.feature-card p {
  font-size: var(--text-sm);
  color: var(--fg-3);
  line-height: 1.65;
}

/* ============================================================
   13. Integration Cards
   ============================================================ */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.integration-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
  transition:
    border-color var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

.integration-card:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.integration-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
}

.integration-icon-fallback {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
}

.integration-card strong {
  font-family: 'Fraunces', serif;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.integration-card p {
  font-size: var(--text-xs);
  color: var(--fg-4);
  line-height: 1.5;
}

/* ============================================================
   14. CTA / Waitlist Section
   ============================================================ */
.section--cta {
  padding-bottom: var(--space-32);
}

.cta-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-2xl);
  padding: var(--space-20) var(--space-16);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-5);
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 320px;
  background: radial-gradient(ellipse, rgba(45, 212, 191, 0.14), transparent 68%);
  pointer-events: none;
}

.cta-heading {
  font-size: clamp(var(--text-4xl), 4vw, var(--text-5xl));
}

.cta-body {
  font-size: var(--text-lg);
  color: var(--fg-3);
  max-width: 44ch;
}

.waitlist-form {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.waitlist-input-wrap {
  display: flex;
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-pill);
  padding: var(--space-1);
  gap: var(--space-2);
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}

.waitlist-input-wrap:focus-within {
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow: 0 0 0 3px var(--teal-dim);
}

.waitlist-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: var(--space-2) var(--space-4);
  font-family: 'Instrument Serif', serif;
  font-size: var(--text-base);
  color: var(--fg);
  min-width: 0;
}

.waitlist-input::placeholder {
  color: var(--fg-4);
}

.waitlist-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: var(--teal);
  color: #0C0A09;
  font-family: 'Instrument Serif', serif;
  font-size: var(--text-sm);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) ease;
  white-space: nowrap;
}

.waitlist-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 2px 16px var(--teal-glow);
}

.waitlist-note {
  font-size: var(--text-xs);
  color: var(--fg-4);
}

/* Success state */
.waitlist-success {
  display: none;
  padding: var(--space-3) var(--space-6);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: var(--radius-pill);
  color: var(--success);
  font-size: var(--text-sm);
}

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

/* ============================================================
   15. Footer
   ============================================================ */
.site-footer {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer-logo {
  height: 22px;
  width: auto;
  /* Cream wordmark on dark footer — no inversion needed. Slight fade for hierarchy. */
  opacity: 0.55;
}

.footer-tagline {
  font-size: var(--text-sm);
  color: var(--fg-4);
}

.footer-links {
  display: flex;
  gap: var(--space-6);
}

.footer-links a {
  font-size: var(--text-sm);
  color: var(--fg-4);
  transition: color var(--dur-fast) ease;
}

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

/* ============================================================
   16. Entrance Animations
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  opacity: 0;
  animation: fadeInUp var(--dur-slower) var(--ease-out) both;
}

.delay-1 { animation-delay: 80ms; }
.delay-2 { animation-delay: 180ms; }
.delay-3 { animation-delay: 300ms; }
.delay-4 { animation-delay: 420ms; }
.delay-5 { animation-delay: 540ms; }

/* ============================================================
   17. Legal Pages
   ============================================================ */
.legal-shell {
  padding: var(--space-12) 0 var(--space-16);
}

.legal-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin: var(--space-4) 0 var(--space-8);
  color: var(--fg-3);
  font-size: var(--text-sm);
}

.legal-body h2 {
  margin-top: var(--space-8);
  font-size: var(--text-3xl);
}

.legal-body p,
.legal-body li {
  font-size: var(--text-base);
  color: var(--fg-3);
  line-height: 1.75;
  margin-top: var(--space-4);
}

.legal-body ul {
  padding-left: var(--space-6);
}

.legal-body a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-body a:hover {
  opacity: 0.8;
}

.contact-box {
  background: var(--bg-3);
  padding: var(--space-5);
  border-radius: var(--radius-md);
  margin-top: var(--space-4);
  border-left: 3px solid var(--teal);
}

.contact-box p {
  margin: var(--space-1) 0;
  font-size: var(--text-sm);
  color: var(--fg-3);
}

/* ============================================================
   18. Help Page
   ============================================================ */
.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.help-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition:
    border-color var(--dur-base) ease,
    transform var(--dur-base) var(--ease-out);
}

.help-card:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}

.help-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.help-card p {
  font-size: var(--text-sm);
  color: var(--fg-3);
  line-height: 1.65;
}

.help-copy p {
  font-size: var(--text-base);
  color: var(--fg-3);
  line-height: 1.75;
}

/* ============================================================
   19. Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .hero-visual {
    order: -1;
  }

  .phone-frame {
    width: 240px;
  }

  .hero-body {
    max-width: 100%;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: var(--space-12) 0 var(--space-16);
  }

  .section {
    padding: var(--space-16) 0;
  }

  .section-intro {
    margin-bottom: var(--space-10);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .integrations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .help-grid {
    grid-template-columns: 1fr;
  }

  .cta-card {
    padding: var(--space-12) var(--space-8);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  :root {
    --container-pad: 16px;
  }

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

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

  .integrations-grid {
    grid-template-columns: 1fr;
  }

  .waitlist-input-wrap {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: var(--space-3);
  }

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

  .nav-links {
    display: none;
  }

  .legal-card {
    padding: var(--space-6);
  }
}
