:root {
  color-scheme: dark;
  --ink: #070b14;
  --ink-soft: #0c1322;
  --ink-card: #111a2c;
  --aurora: #38bdf8;
  --aurora-soft: #7dd3fc;
  --aurora-glow: #22d3ee;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-display: "Bricolage Grotesque", "Inter", sans-serif;
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 72rem; /* 1152px ~ max-w-6xl */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--slate-200);
  font-family: var(--font-sans);
  font-feature-settings: "cv11", "ss01";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}

::selection { background: rgba(56, 189, 248, 0.3); color: #fff; }

a { color: inherit; text-decoration: none; }
/* The hidden attribute must always win over component display rules (e.g. the
   success panel is display:flex but starts hidden until the lead is sent). */
[hidden] { display: none !important; }

/* ---- Utilities ---- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.25rem; }

.rule {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.12), transparent);
}

.glass {
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 0 0 1px rgba(255,255,255,0.02),
    0 30px 80px -40px rgba(0,0,0,0.85);
}

.focus-ring { outline: none; }
.focus-ring:focus-visible {
  box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px rgba(56,189,248,0.6);
  border-radius: 0.5rem;
}

/* ---- Buttons ---- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 0.75rem;
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  border: 0;
  overflow: hidden;
  transition: transform .2s var(--ease-out-quint), box-shadow .2s var(--ease-out-quint),
              background-color .2s var(--ease-out-quint), border-color .2s var(--ease-out-quint);
}
.btn:active { transform: scale(0.97); }
.btn--sm { height: 2.25rem; padding-inline: 0.875rem; font-size: 0.875rem; }
.btn--md { height: 2.75rem; padding-inline: 1.25rem; font-size: 0.875rem; }
.btn--lg { height: 3rem; padding-inline: 1.5rem; font-size: 0.9375rem; }
.btn--primary {
  background: linear-gradient(to bottom, var(--aurora), var(--aurora-soft));
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(56,189,248,0.18), 0 20px 60px -20px rgba(56,189,248,0.45);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(56,189,248,0.3), 0 26px 70px -22px rgba(56,189,248,0.6);
}
.btn--ghost { background: transparent; color: var(--slate-300); }
.btn--ghost:hover { background: rgba(255,255,255,0.06); color: #fff; }

/* ---- Header ---- */
.site-header {
  position: relative;
  z-index: 10;
  margin-inline: auto;
  max-width: var(--maxw);
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 1.25rem;
}
.logo { display: inline-flex; align-items: center; gap: 0.625rem; }
.logo-mark {
  position: relative;
  display: grid;
  place-items: center;
  height: 2rem; width: 2rem;
  border-radius: 0.5rem;
  background: linear-gradient(to bottom right, var(--aurora), var(--aurora-glow));
  box-shadow: 0 0 0 1px rgba(56,189,248,0.18), 0 20px 60px -20px rgba(56,189,248,0.45);
}
.logo-dot { height: 0.625rem; width: 0.625rem; border-radius: 9999px; background: #fff; animation: shimmer 3s ease-in-out infinite; }
.logo-word { font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.logo-word-accent { color: var(--aurora-soft); }
.site-nav { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  display: none;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--slate-300);
  transition: color .2s var(--ease-out-quint);
}
.nav-link:hover { color: #fff; }
@media (min-width: 768px) { .nav-link { display: block; } }

/* ---- Footer ---- */
.site-footer { position: relative; z-index: 10; margin-inline: auto; max-width: var(--maxw); padding: 0 1.25rem 2.5rem; }
.site-footer .rule { margin-bottom: 1.5rem; }
.footer-row { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: var(--slate-500); }
.footer-link { font-weight: 500; color: var(--slate-300); transition: color .2s var(--ease-out-quint); }
.footer-link:hover { color: var(--aurora-soft); text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 640px) { .footer-row { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---- Backdrop (fixed, decorative) ---- */
.backdrop { position: fixed; inset: 0; z-index: -10; overflow: hidden; background: var(--ink); pointer-events: none; }
.glow { position: absolute; border-radius: 9999px; filter: blur(120px); }
.glow--far  { left: -25%; top: -33%; height: 60vmax; width: 60vmax; background: rgba(56,189,248,0.20); }
.glow--mid  { right: -25%; top: 0;   height: 45vmax; width: 45vmax; background: rgba(34,211,238,0.10); }
.glow--near { bottom: 0; left: 33%;  height: 40vmax; width: 40vmax; background: rgba(125,211,252,0.10); }
.stars {
  position: absolute; inset-inline: 0; top: 0; height: 4000px;
  background-image: radial-gradient(1px 1px at 40px 70px, rgba(255,255,255,0.7), transparent);
  background-repeat: repeat;
}
.stars--slow { background-size: 180px 180px; opacity: 0.6; animation: drift 220s linear infinite; }
.stars--med  { background-size: 320px 320px; opacity: 0.4; animation: drift 140s linear infinite; }
.stars--fast { background-size: 500px 500px; opacity: 0.3; animation: drift 90s  linear infinite; }
.backdrop-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 40%, rgba(7,11,20,0.9) 100%); }

/* Fine film grain overlay */
.grain::after {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Keyframes ---- */
@keyframes shimmer { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-2000px); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---- Scroll-reveal (replaces framer-motion whileInView) ---- */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-out-quint), transform .6s var(--ease-out-quint); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100dvh - 4rem);
  overflow: hidden;
  padding: 4rem 1.25rem;
  text-align: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-globe {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(86vmin, 760px); height: min(86vmin, 760px);
}
.hero-halo {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  height: 42vmax; width: 42vmax; border-radius: 9999px;
  background: rgba(56,189,248,0.10); filter: blur(120px);
}
.hero-feather { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 42%, rgba(7,11,20,0.86) 78%); }

.hero-content { position: relative; z-index: 10; max-width: 48rem; display: flex; flex-direction: column; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 9999px; border: 1px solid rgba(56,189,248,0.25);
  background: rgba(56,189,248,0.06); backdrop-filter: blur(4px);
  padding: 0.375rem 1rem; font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.22em; color: rgba(125,211,252,0.9);
}
.eyebrow-dot { height: 0.375rem; width: 0.375rem; border-radius: 9999px; background: var(--aurora-soft); box-shadow: 0 0 10px var(--aurora-soft); }
.hero-title { margin-top: 1.75rem; font-weight: 600; font-size: 3rem; line-height: 0.95; letter-spacing: -0.035em; color: #fff; }
.hero-title-grad { background: linear-gradient(to bottom right, var(--aurora-soft), var(--aurora), var(--aurora-glow)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin: 1.75rem auto 0; max-width: 36rem; font-size: 1.125rem; line-height: 1.7; color: rgba(203,213,225,0.9); text-wrap: pretty; }
.hero-cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

.scroll-cue {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 10;
  border-radius: 9999px; padding: 0.5rem; color: var(--slate-500);
  transition: color .2s var(--ease-out-quint);
}
.scroll-cue:hover { color: var(--aurora-soft); }
.scroll-cue svg { animation: float 7s cubic-bezier(0.45,0,0.55,1) infinite; }

@media (min-width: 640px) { .hero-title { font-size: 4.5rem; } .hero-sub { font-size: 1.25rem; } }
@media (min-width: 768px) { .hero-title { font-size: 5.25rem; } }

/* ---- Shared section scaffolding ---- */
.section { width: 100%; max-width: var(--maxw); margin-inline: auto; padding: 3rem 1.25rem; }
.section-title { max-width: 36rem; font-size: 1.875rem; font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; color: #fff; }
.section-lead { margin-top: 1rem; max-width: 36rem; font-size: 1.125rem; line-height: 1.7; color: var(--slate-400); text-wrap: pretty; }
.br-sm { display: none; }
@media (min-width: 640px) { .br-sm { display: inline; } }
@media (min-width: 768px) { .section { padding: 4rem 1.25rem; } .section-title { font-size: 2.5rem; } }

/* ---- Preview ---- */
.preview-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 768px) { .preview-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.check-list { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.check-list li { display: flex; align-items: center; gap: 0.75rem; font-size: 15px; color: var(--slate-300); }
.check-list .check { flex: 0 0 auto; color: var(--aurora-soft); }
.preview-visual { display: flex; justify-content: center; }
@media (min-width: 768px) { .preview-visual { justify-content: flex-end; } }

.call-preview {
  position: relative; width: 100%; max-width: 36rem; border-radius: 2rem;
  border: 1px solid rgba(255,255,255,0.10); background: rgba(255,255,255,0.04);
  padding: 1rem; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 2px 8px -2px rgba(0,0,0,0.4),
              0 24px 50px -24px rgba(56,189,248,0.45), 0 60px 120px -50px rgba(0,0,0,0.85);
  animation: float 7s cubic-bezier(0.45,0,0.55,1) infinite;
}
@media (min-width: 640px) { .call-preview { padding: 1.25rem; } }
.call-edge { position: absolute; left: 1.5rem; right: 1.5rem; top: 0; height: 1px; background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent); }
.tile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
@media (min-width: 640px) { .tile-grid { gap: 0.875rem; } }
.tile { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 1rem; border: 1px solid rgba(255,255,255,0.10); background: var(--ink-card); }
.tile--speaking { border-color: rgba(56,189,248,0.6); box-shadow: 0 0 0 1px rgba(56,189,248,0.18), 0 20px 60px -20px rgba(56,189,248,0.45); }
.tile-fill { position: absolute; inset: 0; }
.fill-mara { background: linear-gradient(to bottom right, rgba(56,189,248,0.30), rgba(125,211,252,0.12), transparent); }
.fill-teo  { background: linear-gradient(to bottom right, rgba(34,211,238,0.25), rgba(34,211,238,0.10), transparent); }
.fill-yuki { background: linear-gradient(to bottom right, rgba(129,140,248,0.25), rgba(56,189,248,0.10), transparent); }
.fill-ravi { background: linear-gradient(to bottom right, rgba(52,211,153,0.22), rgba(34,211,238,0.10), transparent); }
.tile-glow { position: absolute; left: -1.25rem; top: -1.75rem; height: 6rem; width: 6rem; border-radius: 9999px; filter: blur(32px); }
.glow-mara { background: rgba(56,189,248,0.4); }
.glow-teo  { background: rgba(34,211,238,0.3); }
.glow-yuki { background: rgba(129,140,248,0.35); }
.glow-ravi { background: rgba(52,211,153,0.28); }
.tile-scrim { position: absolute; inset-inline: 0; bottom: 0; height: 50%; background: linear-gradient(to top, rgba(7,11,20,0.75), transparent); }
.tile-name { position: absolute; bottom: 0.5rem; left: 0.625rem; font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.95); text-shadow: 0 1px 3px rgba(0,0,0,0.6); }
.tile-badge { position: absolute; bottom: 0.5rem; right: 0.5rem; display: grid; place-items: center; height: 1.5rem; min-width: 1.5rem; padding-inline: 0.25rem; border-radius: 0.375rem; background: rgba(7,11,20,0.55); backdrop-filter: blur(4px); color: rgba(203,213,225,0.7); }
.tile-badge--muted { color: rgba(253,164,175,0.9); }
.wave { display: flex; align-items: flex-end; gap: 2.5px; height: 0.875rem; }
.wave i { width: 3px; height: 100%; border-radius: 9999px; background: var(--aurora-soft); transform-origin: bottom; transform: scaleY(0.4); animation: wave 0.9s ease-in-out infinite; }
.wave i:nth-child(2) { animation-duration: 1.02s; }
.wave i:nth-child(3) { animation-duration: 1.14s; }
.wave i:nth-child(4) { animation-duration: 1.26s; }
@keyframes wave { 0%, 100% { transform: scaleY(0.35); } 25% { transform: scaleY(1); } 50% { transform: scaleY(0.5); } 75% { transform: scaleY(0.85); } }
.control-bar { margin-top: 1rem; display: flex; align-items: center; justify-content: center; gap: 0.625rem; }
.ctrl { display: grid; place-items: center; height: 2.75rem; width: 2.75rem; border-radius: 9999px; background: rgba(255,255,255,0.06); color: var(--slate-200); }
.ctrl--leave { background: rgba(244,63,94,0.9); color: #fff; box-shadow: 0 8px 24px -6px rgba(244,63,94,0.6); }
.ctrl-leave-bar { height: 0.5rem; width: 1.25rem; border-radius: 9999px; background: #fff; }

/* ---- Why (problem list) ---- */
.problem-list { margin-top: 3rem; border-top: 1px solid rgba(255,255,255,0.10); border-bottom: 1px solid rgba(255,255,255,0.10); }
.problem-row { display: grid; grid-template-columns: 1fr; gap: 0.5rem; padding: 1.75rem 0; border-top: 1px solid rgba(255,255,255,0.10); }
.problem-row:first-child { border-top: 0; }
@media (min-width: 640px) { .problem-row { grid-template-columns: 1fr 1.6fr; gap: 2.5rem; } }
.problem-title { font-size: 1.125rem; font-weight: 500; letter-spacing: -0.01em; color: #fff; margin: 0; }
.problem-body { font-size: 15px; line-height: 1.7; color: var(--slate-400); margin: 0; }

/* ---- How it works (steps) ---- */
.steps-wrap { position: relative; margin-top: 3.5rem; }
.steps-connector { display: none; }
@media (min-width: 768px) {
  .steps-connector { display: block; position: absolute; left: 2rem; right: 2rem; top: 1.5rem; height: 1px; background: linear-gradient(to right, transparent, rgba(255,255,255,0.12), transparent); }
}
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.step { position: relative; }
.step-num { display: grid; place-items: center; height: 3rem; width: 3rem; border-radius: 9999px; border: 1px solid rgba(255,255,255,0.15); background: var(--ink); font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; color: var(--aurora-soft); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08); }
.step-title { margin: 1.5rem 0 0; font-size: 1.125rem; font-weight: 500; letter-spacing: -0.01em; color: #fff; }
.step-body { margin: 0.625rem 0 0; font-size: 15px; line-height: 1.7; color: var(--slate-400); }

/* ---- Features ---- */
.features-grid { margin-top: 3rem; display: grid; grid-template-columns: 1fr; row-gap: 2.5rem; }
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(3, 1fr); row-gap: 0; } }
.feature { padding: 0; }
@media (min-width: 640px) {
  .feature { padding-inline: 2rem; }
  .feature:not(:first-child) { border-left: 1px solid rgba(255,255,255,0.10); }
  .feature:first-child { padding-left: 0; }
  .feature:last-child { padding-right: 0; }
}
.feature-icon { color: var(--aurora-soft); }
.feature-title { margin: 1.25rem 0 0; font-size: 1.125rem; font-weight: 500; letter-spacing: -0.01em; color: #fff; }
.feature-body { margin: 0.625rem 0 0; font-size: 15px; line-height: 1.7; color: var(--slate-400); }

/* ---- Privacy ---- */
.privacy-panel { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding: 2rem; }
@media (min-width: 768px) { .privacy-panel { grid-template-columns: 0.9fr 1.1fr; padding: 3rem; } }
.guarantee-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: center; gap: 1.25rem; }
.guarantee-list li { display: flex; align-items: flex-start; gap: 0.875rem; font-size: 15px; line-height: 1.7; color: var(--slate-300); }
.guarantee-icon { flex: 0 0 auto; margin-top: 0.125rem; color: var(--aurora-soft); }

/* ---- Notify ---- */
.notify-inner { max-width: 36rem; margin-inline: auto; text-align: center; }
.notify-form { margin: 2.5rem auto 0; max-width: 28rem; display: flex; flex-direction: column; gap: 1rem; text-align: left; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field-label { font-size: 0.875rem; font-weight: 500; color: var(--slate-300); }
.field-input { height: 2.75rem; width: 100%; border-radius: 0.75rem; border: 1px solid rgba(255,255,255,0.10); background: rgba(255,255,255,0.03); padding-inline: 0.875rem; color: #fff; font-size: 15px; font-family: var(--font-sans); transition: border-color .2s var(--ease-out-quint); }
.field-input::placeholder { color: var(--slate-500); }
.field-input:focus-visible { border-color: rgba(56,189,248,0.5); }
.field-input.is-invalid { border-color: rgba(244,63,94,0.6); }
.field-error { min-height: 1rem; margin: 0; font-size: 0.875rem; color: #fb7185; }
.notify-fineprint { margin: 0; text-align: center; font-size: 0.75rem; color: var(--slate-500); }
.notify-success { margin: 2.5rem auto 0; max-width: 28rem; display: flex; align-items: flex-start; gap: 0.75rem; border-radius: 1rem; border: 1px solid rgba(56,189,248,0.3); background: rgba(56,189,248,0.07); padding: 1.25rem; text-align: left; }
.notify-success svg { flex: 0 0 auto; margin-top: 0.125rem; color: var(--aurora-soft); }
.notify-success p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--slate-200); }

/* Honeypot: present for bots, off-screen for humans. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
