/* CalisFlow — Site institucional
   Tokens espelham 1:1 o ThemeExtension do app (lib/core/theme/app_colors.dart)
   — mesma identidade visual do produto, nada inventado aqui. */

:root {
  /* Cores (DS §2) */
  --bg: #0E1512;
  --bg-elevated: #121B17;
  --surface: #17211D;
  --surface-high: #1F2C27;
  --outline: #2A3A33;

  --brand: #1F6F5C;
  --brand-hover: #2A8B74;
  --brand-dim: #14463A;
  --accent: #E8674C;
  --accent-hover: #F07A61;
  --accent-dim: #5A241B;
  --pro-gold: #C9A227;

  --text-high: #F4F6F5;
  --text-med: #AFC0B9;
  --text-low: #6E7F78;
  --success: #3BC77D;
  --warning: #E4B53B;
  --danger: #E5533D;

  /* Espaçamento base-4 (DS §3) */
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 32px;
  --sp-2xl: 64px;
  --sp-3xl: 96px;

  /* Raio (DS §3) */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --font-display: "Big Shoulders Display", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;

  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --content-max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-high);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text-high);
}

p { margin: 0; }

/* ── Header ─────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-md) var(--sp-lg);
  background: linear-gradient(to bottom, rgba(14,21,18,0.92), rgba(14,21,18,0));
  backdrop-filter: blur(6px);
}
.site-header.is-scrolled { background: rgba(14,21,18,0.92); border-bottom: 1px solid var(--outline); }

.logo-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--text-high);
}
.logo-wordmark span { color: var(--accent); }

.header-nav { display: none; align-items: center; gap: var(--sp-xl); }
.header-nav a { font-weight: 600; font-size: 14px; color: var(--text-med); transition: color 180ms var(--ease-standard); }
.header-nav a:hover { color: var(--text-high); }

.header-actions { display: flex; align-items: center; gap: var(--sp-md); }

.lang-toggle {
  display: flex;
  border: 1px solid var(--outline);
  border-radius: var(--r-pill);
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
}
.lang-toggle button {
  padding: 6px 12px;
  background: transparent;
  color: var(--text-med);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
}
.lang-toggle button.is-active { background: var(--brand-dim); color: var(--text-high); }

/* ── Botões ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  height: 56px;
  padding: 0 var(--sp-xl);
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.2px;
  border: none;
  cursor: pointer;
  transition: transform 90ms var(--ease-standard), background 120ms var(--ease-standard);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 20px rgba(232,103,76,0.25); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--text-high); border: 1px solid var(--outline); }
.btn-ghost:hover { border-color: var(--text-med); }
.btn-sm { height: 44px; padding: 0 var(--sp-lg); font-size: 14px; }

/* ── Sticky bottom bar (mobile) ────────────────────────────────────── */
.sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  padding: var(--sp-sm) var(--sp-md);
  padding-bottom: calc(var(--sp-sm) + env(safe-area-inset-bottom));
  background: rgba(18,27,23,0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--outline);
  transform: translateY(0);
  transition: transform 250ms var(--ease-standard);
}
.sticky-bar.is-hidden { transform: translateY(110%); }
.sticky-bar .logo-wordmark { font-size: 17px; }
.sticky-bar .btn { height: 44px; padding: 0 var(--sp-lg); font-size: 14px; flex-shrink: 0; }

@media (min-width: 900px) {
  .sticky-bar { display: none; }
  .header-nav { display: flex; }
}

/* ── Seções ─────────────────────────────────────────────────────────── */
section { padding: var(--sp-3xl) 0; position: relative; }
.section-inner { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--sp-lg); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-hover);
  margin-bottom: var(--sp-sm);
}

.section-title {
  font-size: clamp(28px, 4.5vw, 40px);
  line-height: 1.15;
  max-width: 720px;
}

.section-body {
  color: var(--text-med);
  font-size: 17px;
  line-height: 1.65;
  max-width: 640px;
  margin-top: var(--sp-md);
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 700ms var(--ease-standard), transform 700ms var(--ease-standard);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
  padding-top: calc(96px + var(--sp-2xl));
  padding-bottom: var(--sp-3xl);
  overflow: hidden;
  position: relative;
  /* Variáveis de mouse-parallax — atualizadas via JS, consumidas pelas
     camadas abaixo com "pesos" diferentes = sensação real de profundidade. */
  --mx: 0;
  --my: 0;
}
.hero-bg {
  position: absolute;
  inset: -8% -8%;
  z-index: 0;
  will-change: transform;
  transition: transform 300ms var(--ease-standard);
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0.55;
  animation: hero-kenburns 22s ease-in-out infinite alternate;
}
@keyframes hero-kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
@keyframes hero-kenburns-mirrored {
  from { transform: scaleX(-1) scale(1); }
  to { transform: scaleX(-1) scale(1.08); }
}

/* Fundo duplo do hero: metade homem, metade mulher — mesma pose/composição
   (silhueta na barra ao pôr do sol). O primeiro é ESPELHADO (scaleX(-1)) pra
   as duas figuras ficarem viradas uma pra outra, simétrico de propósito —
   não são só duas fotos coladas, é uma composição pensada. A camada toda
   ainda se desloca com o mouse (parallax) por cima do zoom Ken Burns. */
.hero-bg-duo {
  display: flex;
  /* transform é escrito 100% via JS (combina scroll + mouse parallax num
     único translate — CSS aqui perderia sempre pra `style.transform`). */
}
.hero-bg-duo img {
  width: 50%;
  flex: 1 1 50%;
  object-position: center 18%;
}
.hero-bg-duo img:first-child {
  animation-name: hero-kenburns-mirrored;
  animation-delay: -6s; /* dessincroniza o zoom sutil entre as duas metades */
}
.hero-bg-seam {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right,
    transparent 0%, transparent 46%,
    rgba(14,21,18,0.65) 50%,
    transparent 54%, transparent 100%);
  pointer-events: none;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(14,21,18,0.55) 0%, rgba(14,21,18,0.75) 55%, var(--bg) 96%),
    linear-gradient(to right, var(--bg) 0%, rgba(14,21,18,0.35) 45%, rgba(14,21,18,0.1) 100%);
}
.hero-glow {
  position: absolute;
  top: -20%; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(232,103,76,0.16) 0%, rgba(31,111,92,0.10) 45%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2xl);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; }
}

.hero-copy .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: rgba(23,33,29,0.75);
  backdrop-filter: blur(6px);
  border: 1px solid var(--outline);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-med);
  margin-bottom: var(--sp-lg);
}
.badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 0 3px rgba(59,199,125,0.2);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(59,199,125,0.2); }
  50% { box-shadow: 0 0 0 6px rgba(59,199,125,0.08); }
}

/* Orbes flutuantes ambientes — profundidade sutil, sem pesar em performance */
.float-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
  animation: float-orb 9s ease-in-out infinite;
}
@keyframes float-orb {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(18px, -22px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; }
  .float-orb { animation: none; }
}

.hero-headline {
  font-size: clamp(40px, 7vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.hero-sub {
  margin-top: var(--sp-lg);
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-med);
  max-width: 520px;
}

.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-md); margin-top: var(--sp-xl); }

/* Tilt 3D do celular seguindo o mouse — camada própria (não a mesma que
   faz o float contínuo) pra não competir pelo `transform` do CSS. */
.hero-visual { perspective: 1200px; }
.hero-visual-tilt {
  transform-style: preserve-3d;
  transition: transform 250ms var(--ease-standard);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual-tilt { transition: none; transform: none !important; }
}

/* Selo oficial da Google Play (imagem original do Google, leve) */
.gplay-badge {
  display: inline-flex;
  transition: transform 90ms var(--ease-standard), filter 200ms var(--ease-standard);
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.35));
}
.gplay-badge:hover { filter: drop-shadow(0 10px 24px rgba(0,0,0,0.45)) brightness(1.06); }
.gplay-badge:active { transform: scale(0.97); }
.gplay-badge img { height: 58px; width: auto; }
.gplay-badge.gplay-badge-sm img { height: 40px; }
.gplay-note { font-size: 12px; color: var(--text-low); margin-top: var(--sp-xs); }

/* Phone mockup (100% CSS/SVG) */
.phone-frame {
  position: relative;
  width: min(300px, 78vw);
  aspect-ratio: 9 / 19.5;
  margin: 0 auto;
  border-radius: 42px;
  background: linear-gradient(160deg, var(--surface-high), var(--bg-elevated));
  border: 2px solid var(--outline);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 0 8px var(--bg-elevated);
  padding: 14px;
  overflow: hidden;
}
.phone-frame::before {
  content: "";
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 40%; height: 22px;
  background: var(--bg);
  border-radius: var(--r-pill);
  z-index: 2;
}
.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 28px;
  background: radial-gradient(circle at 50% 20%, rgba(31,111,92,0.35), var(--bg) 65%);
  overflow: hidden;
}
.phone-screen img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.phone-screen .phone-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,21,18,0.92) 0%, rgba(14,21,18,0.1) 45%, rgba(14,21,18,0.35) 100%);
}
.phone-screen svg { position: relative; z-index: 1; }
.phone-frame { animation: phone-float 6s ease-in-out infinite; }
@keyframes phone-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .phone-frame { animation: none; } }

/* ── Passos "como funciona" ─────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
  margin-top: var(--sp-2xl);
}
@media (min-width: 700px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }

.step-card {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
  transition: transform 250ms var(--ease-standard), border-color 250ms var(--ease-standard);
}
.step-card:hover { transform: translateY(-4px); border-color: var(--brand); }
.steps-grid .step-card:nth-child(1) { --reveal-delay: 0ms; }
.steps-grid .step-card:nth-child(2) { --reveal-delay: 90ms; }
.steps-grid .step-card:nth-child(3) { --reveal-delay: 180ms; }
.steps-grid .step-card:nth-child(4) { --reveal-delay: 270ms; }
.why-grid .why-card:nth-child(1) { --reveal-delay: 0ms; }
.why-grid .why-card:nth-child(2) { --reveal-delay: 90ms; }
.why-grid .why-card:nth-child(3) { --reveal-delay: 180ms; }
.why-grid .why-card:nth-child(4) { --reveal-delay: 270ms; }
.step-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--accent);
  margin-bottom: var(--sp-sm);
}
.step-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--brand-dim);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-md);
  color: var(--brand-hover);
}
.step-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 17px; margin-bottom: var(--sp-xs); }
.step-card p { color: var(--text-med); font-size: 14.5px; line-height: 1.55; }

/* ── Feed section (card stack ilustrativo) ────────────────────────── */
.split-section { display: grid; grid-template-columns: 1fr; gap: var(--sp-2xl); align-items: center; }
@media (min-width: 900px) { .split-section { grid-template-columns: 1fr 1fr; } }
.split-section.reverse .visual-col { order: -1; }
@media (min-width: 900px) { .split-section.reverse .visual-col { order: 2; } }

.card-stack { position: relative; height: 380px; display: flex; align-items: center; justify-content: center; }
.stack-card {
  position: absolute;
  width: 200px; height: 320px;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--surface-high), var(--bg-elevated));
  border: 1px solid var(--outline);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  overflow: hidden;
  transition: transform 400ms var(--ease-standard);
}
.stack-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stack-card .stack-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,21,18,0.88) 0%, rgba(14,21,18,0.05) 55%);
}
.stack-card:nth-child(1) { transform: rotate(-9deg) translateX(-56px); opacity: 0.6; }
.stack-card:nth-child(2) { transform: rotate(5deg) translateX(50px); opacity: 0.8; }
.stack-card:nth-child(3) { z-index: 2; }
.card-stack:hover .stack-card:nth-child(1) { transform: rotate(-11deg) translateX(-64px); }
.card-stack:hover .stack-card:nth-child(2) { transform: rotate(6deg) translateX(58px); }
.card-stack:hover .stack-card:nth-child(3) { transform: translateY(-6px); }
.stack-card .play-dot {
  position: absolute; bottom: var(--sp-md); left: var(--sp-md);
  z-index: 1;
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; color: var(--text-high);
}
.stack-card .play-dot .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ── Skill-tree (foto + SVG de nós por cima) ─────────────────────── */
.skilltree-svg-wrap {
  display: flex; justify-content: center; align-items: center;
  position: relative;
  width: 100%; max-width: 320px;
  aspect-ratio: 4 / 5;
  margin: 0 auto;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--outline);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.skilltree-svg-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.skilltree-svg-wrap .skilltree-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(155deg, rgba(14,21,18,0.35) 0%, rgba(14,21,18,0.85) 75%);
}
.skilltree-svg-wrap svg { position: relative; z-index: 1; }
.node-glow-1 { filter: drop-shadow(0 0 10px rgba(59,199,125,0.55)); }
.node-glow-2 { filter: drop-shadow(0 0 10px rgba(232,103,76,0.55)); }

/* ── Linha do tempo de evolução (8 semanas, "como funciona") ─────────
   Vetorial (inline SVG + SMIL) em vez de mais uma imagem raster: poucos KB,
   nada de rede extra, aguenta pico de tráfego sem pesar no Firebase Hosting
   free tier. Mesma linguagem visual da seção skill-tree logo abaixo. */
.evolution-tree {
  margin-top: var(--sp-2xl);
  padding: var(--sp-lg) var(--sp-lg) var(--sp-md);
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--r-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.evolution-tree svg { display: block; width: 100%; height: auto; }
.evolution-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-lg);
  margin-top: var(--sp-md);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-med);
}
.evolution-legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.legend-dot.done { background: var(--brand); }
.legend-dot.current { background: var(--accent); }
.legend-dot.next { background: transparent; border: 1.5px solid var(--outline); }
.evolution-caption {
  margin-top: var(--sp-sm);
  font-size: 14px;
  color: var(--text-low);
}

/* ── Imagem de apoio (colagem "como funciona", curva "motor de IA") ── */
.support-image {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--outline);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  margin-top: var(--sp-2xl);
}
.support-image img { width: 100%; display: block; }

/* Ao lado de um grid de cards (split-section), a foto é retrato alto e
   crescia enorme/desproporcional numa tela larga — trava numa altura que
   acompanha o conteúdo pareado e corta (cover) em vez de esticar. */
.split-section .support-image {
  /* `height` (não `max-height`) — o filho usa `height: 100%`, e porcentagem
     de altura só resolve contra uma altura DEFINIDA do pai; `max-height`
     sozinho não serve de base pra isso (é o motivo do bug: a imagem
     ignorava o limite e renderizava no tamanho natural, gigante). */
  height: 460px;
  margin-top: 0;
}
.split-section .support-image img {
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

/* ── Cards de vantagem ─────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-md); margin-top: var(--sp-2xl); }
@media (min-width: 700px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }

/* Dentro de um split-section (ao lado de uma foto), o grid ocupa só ~50%
   da largura real — a media query acima é da JANELA, não do container, e
   forçava 4 colunas espremidas numa coluna estreita. Trava em no máximo
   2, nunca 4, quando está nesse contexto. */
.split-section .why-grid { grid-template-columns: 1fr; }
@media (min-width: 560px) { .split-section .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .split-section .why-grid { grid-template-columns: repeat(2, 1fr); } }
.why-card {
  padding: var(--sp-lg);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--outline);
}
.why-card h3 { font-family: var(--font-body); font-size: 16px; font-weight: 700; margin-bottom: var(--sp-xs); }
.why-card p { color: var(--text-med); font-size: 14px; line-height: 1.55; }

/* ── Cobrança honesta ──────────────────────────────────────────────── */
.pricing-card {
  margin-top: var(--sp-2xl);
  padding: var(--sp-2xl);
  border-radius: var(--r-lg);
  background: linear-gradient(140deg, var(--brand-dim), var(--surface));
  border: 1px solid var(--brand);
  max-width: 720px;
}
.pricing-card ul { list-style: none; margin: var(--sp-lg) 0 0; padding: 0; display: grid; gap: var(--sp-sm); }
.pricing-card li { display: flex; align-items: flex-start; gap: var(--sp-sm); color: var(--text-high); font-size: 15px; }
.pricing-card li svg { flex-shrink: 0; margin-top: 2px; color: var(--success); }

/* ── CTA final / waitlist ─────────────────────────────────────────── */
.final-cta { text-align: center; }
.final-cta .section-title, .final-cta .section-body { margin-left: auto; margin-right: auto; }

.waitlist-form {
  margin-top: var(--sp-xl);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 560px) { .waitlist-form { flex-direction: row; } }

.waitlist-form input[type="email"] {
  flex: 1;
  height: 52px;
  padding: 0 var(--sp-lg);
  border-radius: var(--r-md);
  border: 1px solid var(--outline);
  background: var(--surface);
  color: var(--text-high);
  font-family: var(--font-body);
  font-size: 15px;
}
.waitlist-form input[type="email"]:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31,111,92,0.25); }
.waitlist-form input[type="email"]::placeholder { color: var(--text-low); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.form-note { margin-top: var(--sp-sm); font-size: 13px; color: var(--text-low); }
.form-status { margin-top: var(--sp-md); font-size: 14px; font-weight: 600; min-height: 20px; }
.form-status.success { color: var(--success); }
.form-status.error { color: var(--danger); }

/* ── Footer ────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--outline);
  padding: var(--sp-2xl) 0 calc(var(--sp-2xl) + 70px);
}
@media (min-width: 900px) { .site-footer { padding-bottom: var(--sp-2xl); } }
.footer-inner { display: flex; flex-direction: column; gap: var(--sp-lg); }
@media (min-width: 700px) { .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-links { display: flex; gap: var(--sp-lg); flex-wrap: wrap; }
.footer-links a { color: var(--text-med); font-size: 14px; font-weight: 600; }
.footer-links a:hover { color: var(--text-high); }
.footer-meta { color: var(--text-low); font-size: 13px; }
