/* ─────────────────────────────────────────────────────────────
   HandOff Landing Page — styles.css
   Mobile-first, dark teal design system
   ───────────────────────────────────────────────────────────── */

/* ── 0. Reset & base ───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
code {
  font-family: 'SF Mono', 'Fira Code', 'Fira Mono', monospace;
  font-size: 0.875em;
  color: var(--accent);
  background: var(--accent-muted);
  padding: 0.1em 0.4em;
  border-radius: 4px;
}

/* ── 1. Design tokens ──────────────────────────────────────── */
:root {
  --bg: #0D1818;
  --surface: #152828;
  --elevated: #1E3535;
  --brand: #203232;
  --accent: #2EBF7A;
  --accent-muted: #1A4A3A;
  --text-primary: #FFFFFF;
  --text-secondary: #7FA8A8;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-glow: 0 0 40px rgba(46, 191, 122, 0.15);
  --shadow-card: 0 2px 24px rgba(0, 0, 0, 0.4);

  --section-pad: clamp(64px, 10vw, 120px);
  --container-pad: clamp(20px, 5vw, 48px);
}

/* ── 2. Layout utilities ───────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.text-accent { color: var(--accent); }

/* ── 3. Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--accent {
  background: var(--accent);
  color: #0D1818;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 24px rgba(46, 191, 122, 0.3);
}
.btn--accent:hover {
  box-shadow: 0 6px 32px rgba(46, 191, 122, 0.45);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--elevated);
  border-radius: var(--radius-pill);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}

.btn--sm { padding: 8px 18px; font-size: 0.875rem; }
.btn--lg { padding: 14px 28px; font-size: 1rem; }

/* ── 4. Badge ──────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--elevated);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

/* ── 5. Section typography ─────────────────────────────────── */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 520px;
}
.section-header {
  margin-bottom: clamp(40px, 6vw, 72px);
}

/* ── 6. NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background: rgba(13, 24, 24, 0.7);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin-inline: auto;
  padding: 18px var(--container-pad);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__logo-icon {
  height: 32px;
  width: auto;
  display: block;
}

.nav__logo-icon--sm {
  height: 24px;
}

.nav__wordmark {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.nav__wordmark--sm {
  font-size: 1rem;
}

.nav__wordmark-off {
  color: var(--accent);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__github {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.nav__github:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

/* ── 7. HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 5% 20%, rgba(13,24,24,0.5) 0%, transparent 100%),
    radial-gradient(ellipse 40% 35% at 60% 85%, rgba(26,102,68,0.2) 0%, transparent 100%),
    radial-gradient(ellipse 70% 65% at 50% 50%, rgba(32,50,50,0.7) 0%, transparent 100%),
    radial-gradient(ellipse 45% 40% at 85% 20%, rgba(46,191,122,0.16) 0%, transparent 100%),
    radial-gradient(ellipse 50% 45% at 20% 80%, rgba(46,191,122,0.22) 0%, transparent 100%),
    #050D0D;
  z-index: 0;
}

/* Animated orbs */
.hero__orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbPulse 8s ease-in-out infinite;
}
.orb--1 {
  width: 400px;
  height: 400px;
  background: rgba(46, 191, 122, 0.06);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}
.orb--2 {
  width: 300px;
  height: 300px;
  background: rgba(46, 191, 122, 0.08);
  bottom: 5%;
  left: 10%;
  animation-delay: -3s;
}
.orb--3 {
  width: 200px;
  height: 200px;
  background: rgba(26, 102, 68, 0.15);
  top: 40%;
  left: 50%;
  animation-delay: -6s;
}

@keyframes orbPulse {
  0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.7; }
  33% { transform: scale(1.15) translate(20px, -20px); opacity: 1; }
  66% { transform: scale(0.9) translate(-10px, 15px); opacity: 0.5; }
}

.hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-block: clamp(48px, 8vw, 96px);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero__layout {
    grid-template-columns: 1fr 420px;
    gap: 64px;
  }
}

.hero__badge { margin-bottom: 24px; }

.hero__headline {
  font-size: clamp(2.5rem, 7vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Hero mockup */
.hero__mockup {
  display: flex;
  justify-content: center;
}

.mockup-placeholder {
  position: relative;
}

.mockup-placeholder__phone {
  width: 220px;
  height: 400px;
  background: var(--surface);
  border: 1.5px solid var(--elevated);
  border-radius: 36px;
  padding: 20px 16px;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 1px 0 rgba(255,255,255,0.08);
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-14px) rotate(-1deg); }
}

.mockup-placeholder__screen {
  width: 100%;
  height: 100%;
  background: var(--brand);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mockup-placeholder__ui {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px;
  width: 100%;
}

.mockup-ui-bar {
  height: 8px;
  background: var(--elevated);
  border-radius: 4px;
  width: 80%;
}
.mockup-ui-bar--sm { width: 55%; height: 6px; }

.mockup-ui-code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.2em;
  background: var(--accent-muted);
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid rgba(46, 191, 122, 0.3);
  box-shadow: 0 0 24px rgba(46, 191, 122, 0.2);
}

.mockup-ui-label {
  font-size: 0.6875rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

/* Actual mockup image class (for when image is provided) */
.mockup-img {
  width: 280px;
  filter: drop-shadow(0 32px 64px rgba(0, 0, 0, 0.5));
  animation: float 5s ease-in-out infinite;
}

@media (min-width: 1024px) {
  .mockup-img { width: 320px; }
}

/* ── 8. STATS ──────────────────────────────────────────────── */
.stats {
  padding-block: clamp(48px, 7vw, 80px);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  background: var(--surface);
}

.stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}

@media (min-width: 640px) {
  .stats__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  gap: 8px;
  position: relative;
}

@media (min-width: 640px) {
  .stat-card + .stat-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--elevated);
  }
}

.stat-card__number {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-card__label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ── 9. HOW IT WORKS ───────────────────────────────────────── */
.how {
  padding-block: var(--section-pad);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 26px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--elevated) 10%, var(--elevated) 90%, transparent);
  z-index: 0;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 28px 0;
  position: relative;
}

.step + .step {
  border-top: 1px solid rgba(255,255,255,0.04);
}

.step__number {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  align-self: start;
  background: var(--surface);
  border: 1px solid var(--elevated);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  z-index: 1;
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.step:hover .step__number {
  background: var(--accent-muted);
  box-shadow: 0 0 0 4px rgba(46, 191, 122, 0.1);
}

.step__body {
  padding-top: 12px;
  padding-bottom: 12px;
}

.step__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step__desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

@media (min-width: 768px) {
  .step {
    grid-template-columns: 72px 1fr;
    gap: 32px;
  }
  /* line stays at center of the 52px circle regardless of column width */
  .steps::before { left: 26px; }
}

/* ── 10. WHY HANDOFF — editorial rows ──────────────────────── */
.why {
  padding-block: var(--section-pad);
  background: var(--bg);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.why__header {
  margin-bottom: clamp(48px, 7vw, 80px);
}

.why__headline {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-top: 12px;
}

.why__rows {
  display: flex;
  flex-direction: column;
}

.why__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 0;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
  transition: background 0.2s;
}

.why__row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* Subtle accent line on hover */
.why__row::before {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  height: 1px;
  width: 0;
  background: var(--accent);
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.why__row:hover::before { width: 100%; }

@media (min-width: 768px) {
  .why__row {
    grid-template-columns: 52px 1fr auto;
    align-items: center;
    gap: 0 40px;
    padding: 36px 0;
  }
}

.why__index {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  padding-bottom: 4px;
}

@media (min-width: 768px) {
  .why__index { padding-bottom: 0; }
}

.why__row-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

@media (min-width: 768px) {
  .why__row-main {
    flex-direction: row;
    align-items: baseline;
    gap: 32px;
  }
}

.why__row-title {
  font-size: clamp(1.125rem, 2.5vw, 1.4375rem);
  font-weight: 700;
  color: var(--text-primary);
  flex-shrink: 0;
  min-width: 240px;
  transition: color 0.2s;
}

.why__row:hover .why__row-title {
  color: var(--accent);
}

.why__row-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 480px;
}

.why__row-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-muted);
  border: 1px solid rgba(46, 191, 122, 0.2);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  white-space: nowrap;
  align-self: flex-start;
}

@media (min-width: 768px) {
  .why__row-tag { align-self: center; }
}

/* ── 11. BUILT FOR ─────────────────────────────────────────── */
.built-for {
  padding-block: clamp(56px, 8vw, 96px);
  background: var(--surface);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.built-for__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.built-for__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.logo-placeholder--lg {
  width: 200px;
  height: 60px;
  font-size: 1.25rem;
  font-weight: 700;
}

/* ETHGlobal neumorphic white pill */
/* ETHGlobal neumorphic white pill */
.ethglobal-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  border-radius: var(--radius-pill);
  padding: 20px 48px;
  box-shadow:
    6px 6px 16px rgba(0, 0, 0, 0.35),
    -4px -4px 12px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s, transform 0.2s;
}

.ethglobal-pill:hover {
  transform: translateY(-2px);
  box-shadow:
    8px 10px 24px rgba(0, 0, 0, 0.4),
    -4px -4px 12px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

.ethglobal-pill__img {
  height: 62px;
  width: auto;
  display: block;
}

.ethglobal-pill__sub {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #555;
  text-transform: uppercase;
}

/* ── 12. BUILT WITH ────────────────────────────────────────── */
.built-with {
  padding-block: clamp(48px, 7vw, 80px);
  border-top: 1px solid rgba(255,255,255,0.04);
  background: var(--surface);
}

.built-with__label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.built-with__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 32px;
}

@media (min-width: 768px) {
  .built-with__logos { gap: 16px 56px; }
}

.partner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner__logo {
  height: 36px;
  width: auto;
  display: block;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.partner__logo:hover { opacity: 1; }

/* Per-logo sizing tweaks */
.partner__logo--ethereum { height: 36px; }
.partner__logo--uniswap  { height: 32px; }
.partner__logo--ens      { height: 32px; }
.partner__logo--dynamic  { height: 30px; }

/* Placeholder logos */
.logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 44px;
  background: var(--elevated);
  border: 1px dashed rgba(127, 168, 168, 0.3);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.logo-placeholder:hover { opacity: 1; }

/* ── 13. VALUE ADDS ────────────────────────────────────────── */
.value-adds {
  padding-block: var(--section-pad);
  background: var(--bg);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .value-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--elevated);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.value-card:hover {
  border-color: rgba(46, 191, 122, 0.25);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.value-card__icon {
  width: 52px;
  height: 52px;
  background: var(--accent-muted);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.value-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.value-card__desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

/* ── 13b. FAQ ──────────────────────────────────────────────── */
.faq {
  padding-block: var(--section-pad);
  background: var(--surface);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
  margin-inline: auto;
}

.faq__item {
  border-bottom: 1px solid var(--elevated);
}

.faq__item:first-of-type {
  border-top: 1px solid var(--elevated);
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.faq__q:hover {
  color: var(--accent);
}

.faq__q[aria-expanded="true"] {
  color: var(--accent);
}

.faq__chevron {
  flex-shrink: 0;
  color: var(--text-secondary);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq__q[aria-expanded="true"] .faq__chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.3s ease;
  opacity: 0;
}

.faq__a.is-open {
  max-height: 400px;
  opacity: 1;
}

.faq__a p {
  padding: 0 4px 20px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq__a code {
  font-size: 0.8125em;
}

.faq__a strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ── 14. FOOTER CTA ────────────────────────────────────────── */
.footer-cta {
  padding-block: var(--section-pad);
  background: var(--bg);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(46, 191, 122, 0.15);
}

.footer-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(46, 191, 122, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(46, 191, 122, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

.footer-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  text-align: center;
  gap: 0;
}

@media (min-width: 1024px) {
  .footer-cta__inner {
    /* auto lets image column be exactly its natural width — no dead space */
    grid-template-columns: 1fr auto;
    text-align: left;
    gap: 72px;
  }
}

.footer-cta__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

@media (min-width: 1024px) {
  .footer-cta__text {
    align-items: flex-start;
  }
}

.footer-cta__headline {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.footer-cta__sub {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 400px;
}

.footer-cta__mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 32px;
}

@media (min-width: 1024px) {
  .footer-cta__mockup {
    padding-block: 0;
  }
}

.footer-cta__mockup-img {
  width: 260px;
  display: block;
  filter: drop-shadow(0 32px 56px rgba(0, 0, 0, 0.55));
  animation: float 6s ease-in-out infinite;
  animation-delay: -2s;
}

@media (min-width: 768px) {
  .footer-cta__mockup-img { width: 300px; }
}

@media (min-width: 1024px) {
  .footer-cta__mockup-img { width: 400px; }
}

/* ── 14. FOOTER ────────────────────────────────────────────── */
.footer {
  padding-block: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

@media (min-width: 640px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

@media (min-width: 640px) {
  .footer__right { align-items: flex-end; }
}

.footer__email {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer__email:hover {
  color: var(--accent);
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--text-secondary);
  opacity: 0.6;
}

/* ── 15. Scroll animations ─────────────────────────────────── */

/* Hero entrance animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--delay, 0ms);
}

/* Scroll-reveal base state */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

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

/* Steps slide in from left */
.step.reveal {
  transform: translateX(-24px) translateY(0);
}
.step.reveal.is-visible {
  transform: translateX(0);
}

/* ── 16. Responsive tweaks ─────────────────────────────────── */
@media (min-width: 768px) {
  .hero__badge { margin-bottom: 28px; }
}

@media (min-width: 1024px) {
  .hero__content {
    max-width: none;
  }
  .hero__sub {
    margin-bottom: 40px;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    animation: none;
    opacity: 1;
  }
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .orb {
    animation: none;
  }
  .mockup-placeholder__phone,
  .mockup-img {
    animation: none;
  }
}
