/* ========== Variation: Orbit ========== */
/* Big headline with floating pastel widgets orbiting the email capture */

.vo-hero {
  position: relative;
  padding: 80px 28px 120px;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 50% -200px, oklch(96% 0.04 95) 0%, transparent 60%),
    radial-gradient(900px 500px at 0% 40%, oklch(97% 0.025 230) 0%, transparent 60%),
    radial-gradient(900px 500px at 100% 40%, oklch(97% 0.03 20) 0%, transparent 60%),
    var(--bg);
}
@media (max-width: 768px) {
  .vo-hero { padding: 60px 16px 80px; }
}
.vo-hero-inner { max-width: 1180px; margin: 0 auto; position: relative; }

.vo-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-family: "Geist Mono", monospace; font-size: 11px;
  color: var(--muted); letter-spacing: 0.04em;
  box-shadow: var(--shadow-sm);
  text-align: center; max-width: 100%; white-space: normal; line-height: 1.4;
}
.vo-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
  background: oklch(62% 0.16 150);
  box-shadow: 0 0 0 3px oklch(85% 0.08 150);
}

.vo-headline {
  margin: 28px 0 24px;
  font-size: clamp(32px, 8vw, 104px);
  line-height: 0.96; letter-spacing: -0.035em;
  font-weight: 500; text-align: center;
  color: var(--ink);
  text-wrap: balance;
  min-height: 2em; /* Prevents height jumping between languages */
}
.vo-headline .vo-line { display: block; }
.vo-headline .vo-accent {
  font-family: inherit;
  font-style: normal; font-weight: 500;
  color: oklch(62% 0.16 var(--accent-hue, 255));
  letter-spacing: inherit;
}

.vo-sub {
  max-width: 640px; margin: 0 auto 40px;
  text-align: center; font-size: 18px; line-height: 1.55;
  color: var(--muted); text-wrap: pretty;
}
@media (max-width: 768px) {
  .vo-sub { font-size: 16px; margin-bottom: 32px; }
}

.vo-form-wrap { display: flex; flex-direction: column; align-items: center; margin-bottom: 14px; }
.vo-form {
  display: flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--line-2); border-radius: 999px;
  padding: 6px 6px 6px 20px;
  box-shadow: 0 4px 24px rgba(22,22,22,.06), 0 20px 60px rgba(22,22,22,.06);
  width: min(520px, 100%);
  transition: border-color .2s;
}
@media (max-width: 768px) {
  .vo-form { padding: 4px 4px 4px 16px; }
}
.vo-form:focus-within { border-color: var(--ink); }
.vo-form input {
  flex: 1; border: none; outline: none; background: transparent;
  font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 10px 0;
}
.vo-form input::placeholder { color: var(--muted-2); }
.vo-form button {
  background: var(--ink); color: #fff;
  padding: 12px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  transition: transform .15s, background .15s;
  white-space: nowrap;
}
.vo-form button:hover { background: #000; transform: translateY(-1px); }
.vo-form button:disabled { opacity: .6; cursor: default; transform: none; }

.vo-social {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-family: "Geist Mono", monospace; font-size: 12px; color: var(--muted);
}
.vo-avatars { display: flex; }
.vo-avatars span {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -6px;
}
.vo-avatars span:first-child { margin-left: 0; }

/* Floating widgets */
.vo-floats {
  position: absolute; inset: 0; pointer-events: none;
  z-index: 0;
}
.vo-floats > * { position: absolute; pointer-events: auto; }
.vo-float {
  opacity: 0;
  animation: vo-widget-in 0.9s cubic-bezier(.2,.7,.2,1) forwards;
}
.vo-float-inner {
  animation: vo-drift 8s ease-in-out infinite;
  will-change: transform;
}
.vo-float:hover .vo-float-inner { animation-play-state: paused; }

@keyframes vo-widget-in {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes vo-drift {
  0%,100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50%     { transform: translateY(-10px) rotate(calc(var(--rot, 0deg) + 0.6deg)); }
}

.vo-f1 { left: 2%; top: 8%; animation-delay: 0.45s; }
.vo-f2 { right: 2%; top: 6%; animation-delay: 0.55s; }
.vo-f3 { left: 6%; bottom: 6%; animation-delay: 0.65s; }
.vo-f4 { right: 4%; bottom: 10%; animation-delay: 0.75s; }
.vo-f6 { right: 14%; top: 48%; animation-delay: 0.85s; }
.vo-f1 .vo-float-inner { --rot: -6deg; animation-duration: 9s; animation-delay: -0.5s; }
.vo-f2 .vo-float-inner { --rot:  5deg; animation-duration: 11s; animation-delay: -1.7s; }
.vo-f3 .vo-float-inner { --rot: -3deg; animation-duration: 10s; animation-delay: -2.3s; }
.vo-f4 .vo-float-inner { --rot:  4deg; animation-duration: 12s; animation-delay: -3.1s; }
.vo-f6 .vo-float-inner { --rot:  3deg; animation-duration: 9s;  animation-delay: -0.8s; }

@media (max-width: 1100px) {
  .vo-floats { display: none; }
}

/* --- Bento section --- */
.vo-section { max-width: 1180px; margin: 0 auto; padding: 100px 28px; }
@media (max-width: 768px) {
  .vo-section { padding: 60px 16px; }
}
.vo-section-head { text-align: center; margin-bottom: 56px; }
.vo-section-eye {
  font-family: "Geist Mono", monospace; font-size: 12px;
  letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase;
}
.vo-section-title {
  margin: 16px 0 12px;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.02; letter-spacing: -0.03em; font-weight: 500;
  text-wrap: balance;
}
.vo-section-title .vo-accent,
.vo-step-title .vo-accent,
.vo-bento-title .vo-accent {
  font-family: inherit;
  font-style: normal; font-weight: 500;
  color: oklch(62% 0.16 var(--accent-hue, 255));
  letter-spacing: inherit;
}
.vo-section-sub {
  max-width: 560px; margin: 0 auto;
  color: var(--muted); font-size: 17px; line-height: 1.55; text-wrap: pretty;
}

.vo-bento {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.vo-bento-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column;
  overflow: hidden; position: relative;
  min-height: 300px;
}
.vo-bento-card.span-3 { grid-column: span 3; }
.vo-bento-card.span-2 { grid-column: span 2; }
.vo-bento-card.span-4 { grid-column: span 4; }
.vo-bento-card.span-6 { grid-column: span 6; }
.vo-bento-card.tall { min-height: 380px; }

.vo-bento-label {
  font-family: "Geist Mono", monospace; font-size: 11px;
  letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase;
}
.vo-bento-title {
  font-size: 26px; font-weight: 500; letter-spacing: -0.02em;
  margin: 10px 0 8px; line-height: 1.1; 
  text-wrap: balance;
  min-height: 58px; /* Absorbs title wrapping changes */
}
.vo-bento-body {
  color: var(--muted); font-size: 14px; line-height: 1.55;
  max-width: 360px;
  text-wrap: pretty;
  flex-grow: 1; /* Pushes visual down consistently */
}
.vo-bento-visual {
  margin-top: auto; padding-top: 24px;
  display: flex; justify-content: center; align-items: flex-end;
  min-height: 160px;
}
.vo-bento-card.bg-tint {
  background: linear-gradient(180deg, oklch(97% 0.03 var(--tint-hue, 230)), #fff);
}

@media (max-width: 900px) {
  .vo-bento { grid-template-columns: 1fr; }
  .vo-bento-card.span-3, .vo-bento-card.span-2, .vo-bento-card.span-4, .vo-bento-card.span-6 { grid-column: span 1; }
}
@media (max-width: 768px) {
  .vo-bento { gap: 12px; }
  .vo-bento-card { padding: 20px; }
  .vo-bento-visual { min-height: 120px; }
}
@media (max-width: 400px) {
  .vo-bento-visual > * {
    transform: scale(0.85);
    transform-origin: bottom center;
  }
}

/* --- How it works --- */
.vo-how {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 100px 28px;
}
@media (max-width: 768px) {
  .vo-how { padding: 60px 16px; }
}
.vo-how-inner { max-width: 1180px; margin: 0 auto; }
.vo-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.vo-step {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.vo-step-num {
  font-family: "Geist Mono", monospace; font-size: 13px;
  color: var(--muted); letter-spacing: 0.08em;
}
.vo-step-title { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.vo-step-body { color: var(--muted); font-size: 14px; line-height: 1.55; }
.vo-step-visual { margin-top: 12px; height: 120px; display: flex; align-items: center; justify-content: center; background: var(--bg-2); border-radius: var(--radius-md); border: 1px dashed var(--line-2); }

@media (max-width: 900px) { .vo-steps { grid-template-columns: 1fr; } }

/* --- Focus guardrails showcase --- */
.vo-focus {
  padding: 100px 28px; max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.vo-focus-copy { max-width: 460px; }
.vo-focus-tags { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.vo-focus-tag {
  padding: 6px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line-2);
  font-family: "Geist Mono", monospace; font-size: 11px;
  letter-spacing: 0.04em; color: var(--ink-2);
}
.vo-focus-stage {
  position: relative; min-height: 480px;
  background:
    radial-gradient(400px 300px at 50% 50%, oklch(96% 0.03 95), transparent),
    var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.vo-focus-stage > * { position: absolute; }
.vo-fs1 { left: 20px; top: 30px; transform: rotate(-3deg); }
.vo-fs2 { right: 20px; top: 60px; transform: rotate(2deg); }
.vo-fs3 { left: 40px; bottom: 30px; transform: rotate(1deg); }
.vo-fs4 { right: 30px; bottom: 50px; }

@media (max-width: 900px) {
  .vo-focus { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .vo-focus { padding: 60px 16px; gap: 32px; }
  .vo-focus-stage {
    min-height: 360px;
    padding: 16px;
    overflow: hidden; /* Avoid horizontal scroll on small devices */
  }
  .vo-fs1 { transform: scale(0.8) rotate(-3deg); transform-origin: top left; left: -10px; top: 10px; }
  .vo-fs2 { transform: scale(0.8) rotate(2deg); transform-origin: top right; right: -10px; top: 30px; }
  .vo-fs3 { transform: scale(0.8) rotate(1deg); transform-origin: bottom left; left: -10px; bottom: 10px; }
  .vo-fs4 { transform: scale(0.8); transform-origin: bottom right; right: -10px; bottom: 20px; }
}

/* --- Final CTA --- */
.vo-final {
  padding: 120px 28px; text-align: center;
  background:
    radial-gradient(1200px 500px at 50% -200px, oklch(96% 0.04 95) 0%, transparent 60%),
    radial-gradient(900px 500px at 0% 40%, oklch(97% 0.025 230) 0%, transparent 60%),
    radial-gradient(900px 500px at 100% 40%, oklch(97% 0.03 20) 0%, transparent 60%),
    var(--bg-2);
  color: var(--ink);
  position: relative; overflow: hidden;
  border-top: 1px solid var(--line);
}
@media (max-width: 768px) {
  .vo-final { padding: 80px 16px; }
}
.vo-final-inner { position: relative; max-width: 720px; margin: 0 auto; }
.vo-final-title {
  font-size: clamp(40px, 5.6vw, 72px); line-height: 1.02;
  letter-spacing: -0.03em; font-weight: 500; text-wrap: balance;
}
.vo-final-title .vo-accent {
  font-family: inherit;
  font-style: normal; font-weight: 500;
  color: oklch(62% 0.16 var(--accent-hue, 255));
  letter-spacing: inherit;
}
.vo-final-sub {
  margin: 20px auto 32px; color: var(--muted);
  font-size: 17px; line-height: 1.55; max-width: 480px;
}

/* Footer styles moved to shared.css so legal pages inherit them */

/* ===== Hero entrance (staggered) ===== */
.vo-rise {
  opacity: 0;
  transform: translateY(18px);
  animation: vo-rise 0.9s cubic-bezier(.2,.7,.2,1) forwards;
}
.vo-rise-1 { animation-delay: 0.05s; }
.vo-rise-2 { animation-delay: 0.18s; }
.vo-rise-3 { animation-delay: 0.30s; }
.vo-rise-4 { animation-delay: 0.42s; }
.vo-rise-5 { animation-delay: 0.54s; }
@keyframes vo-rise {
  to { opacity: 1; transform: translateY(0); }
}

/* Headline per-line reveal */
.vo-headline .vo-line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: vo-rise 0.9s cubic-bezier(.2,.7,.2,1) forwards;
}
.vo-headline .vo-line:nth-child(1) { animation-delay: 0.18s; }
.vo-headline .vo-line:nth-child(2) { animation-delay: 0.32s; }

/* Subtle caret/underline pulse under the accent word */
.vo-accent-pulse {
  position: relative;
  display: inline-block;
}

/* ===== Scroll reveal ===== */
.vo-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.vo-reveal.is-in { opacity: 1; transform: translateY(0); }

/* Staggered children reveal (e.g. bento cards, steps) */
.vo-reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1);
}
.vo-reveal-stagger.is-in > * {
  opacity: 1;
  transform: translateY(0);
}
.vo-reveal-stagger.is-in > *:nth-child(1) { transition-delay: 0.05s; }
.vo-reveal-stagger.is-in > *:nth-child(2) { transition-delay: 0.15s; }
.vo-reveal-stagger.is-in > *:nth-child(3) { transition-delay: 0.25s; }
.vo-reveal-stagger.is-in > *:nth-child(4) { transition-delay: 0.35s; }
.vo-reveal-stagger.is-in > *:nth-child(5) { transition-delay: 0.45s; }
.vo-reveal-stagger.is-in > *:nth-child(6) { transition-delay: 0.55s; }

@media (prefers-reduced-motion: reduce) {
  .vo-float, .vo-float-inner, .vo-rise,
  .vo-headline .vo-line, .vo-accent-pulse::after,
  .vo-reveal, .vo-reveal-stagger > * {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
