:root {
  --radius: 1rem;
  --background: oklch(0.975 0.018 95);
  --foreground: oklch(0.22 0.03 150);
  --card: oklch(0.99 0.012 95);
  --primary: oklch(0.42 0.11 155);
  --primary-glow: oklch(0.62 0.14 150);
  --muted-foreground: oklch(0.48 0.03 150);
  --accent: oklch(0.88 0.06 130);
  --border: oklch(0.9 0.02 95);
  --warm-dot: oklch(0.7 0.15 30);
  --gold-dot: oklch(0.72 0.14 70);
  --gradient-warm: radial-gradient(60% 50% at 20% 20%, oklch(0.92 0.06 75 / 0.7), transparent 70%),
                   radial-gradient(55% 45% at 85% 85%, oklch(0.88 0.09 145 / 0.55), transparent 70%),
                   radial-gradient(40% 35% at 70% 15%, oklch(0.9 0.07 50 / 0.45), transparent 70%);
  --gradient-primary: linear-gradient(135deg, oklch(0.42 0.11 155), oklch(0.62 0.14 150));
  --shadow-float: 0 20px 50px -20px oklch(0.42 0.11 155 / 0.18), 0 8px 20px -10px oklch(0.3 0.05 95 / 0.12);
  --shadow-soft: 0 10px 30px -15px oklch(0.3 0.05 95 / 0.15);
  --font-display: "Fraunces", "Cormorant Garamond", ui-serif, Georgia, serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--background); }
body {
  min-height: 100%;
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.page-shell {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: var(--background);
}

.warm-gradient,
.soft-grid,
.path-lines,
.grain,
.glow {
  pointer-events: none;
  position: absolute;
}

.warm-gradient { inset: 0; background-image: var(--gradient-warm); }
.soft-grid { inset: 0; width: 100%; height: 100%; opacity: .05; color: var(--foreground); }

.glow {
  border-radius: 999px;
  filter: blur(64px);
  animation: blob 18s ease-in-out infinite;
  will-change: transform;
}
.glow-one {
  top: -10rem;
  left: -10rem;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, oklch(0.82 0.13 145 / 0.55), transparent 70%);
}
.glow-two {
  right: -8rem;
  bottom: -12rem;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, oklch(0.88 0.1 60 / 0.55), transparent 70%);
  animation-delay: 4s;
}
.glow-three {
  left: 50%;
  top: 33%;
  width: 420px;
  height: 420px;
  transform: translateX(-50%);
  background: radial-gradient(circle, oklch(0.7 0.16 150 / 0.22), transparent 70%);
  animation: pulse-glow 6s ease-in-out infinite;
}

.path-lines { inset: 0; width: 100%; height: 100%; opacity: .5; }
.paths { color: oklch(0.42 0.11 155 / .5); }
.nodes { color: var(--primary); fill: currentColor; opacity: .55; }
.dash { stroke-dasharray: 4 8; animation: dash 6s linear infinite; }
.delay-1 { animation-delay: 1.5s; }
.delay-2 { animation-delay: .7s; }
.delay-3 { animation-delay: 2.2s; }

.grain {
  inset: 0;
  opacity: .05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
}

.scenario-layer {
  pointer-events: none;
  position: absolute;
  inset: 0;
  display: block;
  z-index: 5;
}
.scenario-holder {
  position: absolute;
  pointer-events: auto;
  transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity 1s ease;
  will-change: transform;
}
.drift {
  animation: drift 9s ease-in-out infinite;
  transform: rotate(var(--r, 0deg));
  will-change: transform;
}
.scenario-card {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  border-radius: 1rem;
  border: 1px solid;
  background: oklch(0.99 0.012 95 / .85);
  color: var(--foreground);
  box-shadow: var(--shadow-float);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform .7s ease, box-shadow .7s ease;
  white-space: nowrap;
}
.scenario-card:hover {
  transform: translateY(-6px) rotate(1deg) scale(1.02);
  box-shadow: 0 32px 64px -18px oklch(0.42 0.11 155 / .22);
}
.size-md { padding: .75rem 1rem; }
.size-sm { padding: .625rem .875rem; }
.tone-primary { border-color: oklch(0.42 0.11 155 / .25); }
.tone-accent { border-color: oklch(0.88 0.06 130 / .4); }
.tone-warm { border-color: oklch(0.9 0.02 95 / .7); }
.card-glow {
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: 1rem;
  opacity: 0;
  filter: blur(12px);
  transition: opacity .7s ease;
}
.scenario-card:hover .card-glow { opacity: .5; }
.tone-primary .card-glow, .tone-primary .dot { background: var(--primary); }
.tone-accent .card-glow, .tone-accent .dot { background: var(--gold-dot); }
.tone-warm .card-glow, .tone-warm .dot { background: var(--warm-dot); }
.emoji {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border-radius: .75rem;
  background: oklch(0.975 0.018 95 / .8);
  box-shadow: var(--shadow-soft);
  font-size: 1rem;
}
.label {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: -.01em;
}
.size-md .label { font-size: .875rem; }
.dot {
  width: .375rem;
  height: .375rem;
  border-radius: 999px;
  animation: pulse-glow 6s ease-in-out infinite;
}

.hero {
  position: relative;
  z-index: 10;
  min-height: calc(100vh - 3rem);
  max-width: 48rem;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
.headline {
  margin: 1.5rem 0 0;
  font-family: var(--font-display);
  font-feature-settings: "ss01", "ss02";
  font-size: clamp(2.25rem, 7vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: 520;
}
.muted-line {
  display: block;
  color: oklch(0.48 0.03 150 / .95);
}
.main-line {
  display: block;
  margin-top: .75rem;
}
em { font-style: italic; }
.highlight-wrap {
  position: relative;
  display: inline-block;
}
.text-gradient {
  background-image: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.shimmer {
  background-image: linear-gradient(110deg, oklch(0.42 0.11 155), oklch(0.62 0.14 150), oklch(0.42 0.11 155));
  background-size: 200% 100%;
  animation: shimmer 8s linear infinite;
}
.underline {
  position: absolute;
  left: 50%;
  bottom: -.25rem;
  width: 90%;
  transform: translateX(-50%);
  color: oklch(0.42 0.11 155 / .5);
}
.intro {
  max-width: 34rem;
  margin: 1.75rem 0 0;
  color: var(--muted-foreground);
  font-size: 1rem;
  line-height: 1.75;
}
.cta-wrap {
  margin-top: 2.25rem;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: .75rem;
}
.cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: 999px;
  background: var(--foreground);
  color: var(--background);
  box-shadow: var(--shadow-float);
  padding: .75rem 1.5rem;
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform .3s ease;
}
.cta:hover { transform: translateY(-2px); }
.cta-glow {
  position: absolute;
  inset: -.25rem;
  z-index: -1;
  border-radius: 999px;
  background: oklch(0.42 0.11 155 / .4);
  opacity: 0;
  filter: blur(14px);
  transition: opacity .5s ease;
}
.cta:hover .cta-glow { opacity: 1; }
.arrow {
  width: 1rem;
  height: 1rem;
  transition: transform .25s ease;
}
.cta:hover .arrow { transform: translateX(4px); }
.microcopy {
  color: oklch(0.48 0.03 150 / .8);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.mobile-chips { display: none; }
.footer {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 0 1.5rem 2rem;
  color: var(--muted-foreground);
  text-align: center;
  font-size: .75rem;
}
.footer span {
  width: 2rem;
  height: 1px;
  background: var(--border);
}
.fade-up { animation: fade-up .9s ease-out both; }
.delay-a { animation-delay: .15s; }
.delay-b { animation-delay: .3s; }
.delay-c { animation-delay: .5s; }

@keyframes blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.08); }
  66% { transform: translate(-25px, 20px) scale(.95); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(var(--r, 0deg)); }
  50% { transform: translate(var(--dx, 0px), var(--dy, -14px)) rotate(calc(var(--r, 0deg) + var(--dr, 0deg))); }
}
@keyframes pulse-glow {
  0%, 100% { opacity: .35; transform: scale(1); }
  50% { opacity: .65; transform: scale(1.08); }
}
@keyframes dash { to { stroke-dashoffset: -40; } }
@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@media (max-width: 900px) {
  .scenario-layer { display: none; }
  .mobile-chips {
    margin-top: 1.75rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
  }
  .mobile-chips span {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    border: 1px solid oklch(0.9 0.02 95 / .7);
    border-radius: 999px;
    background: oklch(0.99 0.012 95 / .85);
    color: oklch(0.22 0.03 150 / .85);
    box-shadow: var(--shadow-soft);
    padding: .375rem .75rem;
    font-size: .75rem;
    font-weight: 500;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .hero { padding-top: 1rem; min-height: calc(100vh - 2rem); }
}

@media (max-width: 560px) {
  .headline { font-size: 2.35rem; }
  .intro { font-size: .9375rem; line-height: 1.7; }
  .cta { max-width: 100%; font-size: .82rem; padding-inline: 1.15rem; }
  .footer { padding-bottom: 1.25rem; font-size: .68rem; }
  .footer span { width: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
