/* Wasabil Mercury — palette & typography tuned to mercury.com */
:root {
  /* Canvas — dark warm near-black (Mercury-like) */
  --bg: #0B0E0C;
  --bg-1: #0F1311;
  --bg-2: #14181A;

  /* Surfaces — warm elevated */
  --surface: rgba(245, 241, 234, 0.025);
  --surface-2: rgba(245, 241, 234, 0.05);
  --surface-hover: rgba(198, 255, 61, 0.04);

  /* Hairlines */
  --hairline: rgba(245, 241, 234, 0.08);
  --hairline-2: rgba(245, 241, 234, 0.14);
  --hairline-glow: rgba(198, 255, 61, 0.22);

  /* Ink — crema off-white (Mercury text color) */
  --ink: #F5F1EA;
  --ink-2: rgba(245, 241, 234, 0.80);
  --muted: #8C9591;
  --faint: rgba(245, 241, 234, 0.34);

  /* Green signals — Mercury lime neon */
  --wasabi: #9CD13A;            /* muted lime */
  --wasabi-2: #B3E64E;           /* mid lime */
  --signal: #C6FF3D;             /* hero lime neon */
  --signal-dim: rgba(198, 255, 61, 0.55);
  --signal-wash: rgba(198, 255, 61, 0.08);

  /* Beige secondary (Mercury accent) */
  --beige: #D4CFC0;

  --sans: "Inter", "Geist", "Inter Tight", -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --mono: "Geist Mono", "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.5, 1.6, 0.4, 0.95);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-feature-settings: "ss01", "ss02", "cv11";
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 15px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

/* Warmth — subtle radial glow behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1200px 700px at 20% 0%, rgba(198, 255, 61, 0.05), transparent 60%),
    radial-gradient(900px 500px at 85% 80%, rgba(212, 207, 192, 0.025), transparent 65%);
}

/* Ambient canvas sits at z-index 1 */
#ambient {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

/* Vignette at bottom to fade lines into content */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(180deg, transparent 0%, transparent 60%, rgba(11, 15, 12, 0.35) 100%);
}

#root { position: relative; z-index: 3; }

a { color: inherit; text-decoration: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 28px; position: relative; }
.container-wide { max-width: 1360px; margin: 0 auto; padding: 0 28px; position: relative; }

/* Typography — Mercury: Instrument Serif for display, Inter for UI */
h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -0.025em; }
h1, h2, .display-1, .display-2 { font-family: var(--serif); font-weight: 400; }
h1 em, h2 em, .display-1 em, .display-2 em { font-style: italic; color: var(--signal); }

.display-1 {
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 400;
}
.display-2 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  font-weight: 400;
}
.display-3 {
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.lede {
  font-size: clamp(16px, 1.15vw, 18px);
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 52ch;
  letter-spacing: -0.005em;
  font-weight: 400;
}

.mono { font-family: var(--mono); font-feature-settings: "ss01"; letter-spacing: -0.01em; }

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--signal-dim);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 12px var(--signal);
  animation: pulseDot 2.4s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 0.8; box-shadow: 0 0 12px var(--signal); }
  50% { opacity: 1; box-shadow: 0 0 20px var(--signal); }
}

/* Nav — floating pill, dark glass */
.nav {
  position: sticky;
  top: 20px;
  z-index: 60;
  padding: 0 24px;
  pointer-events: none;
}
.nav-inner {
  margin: 0 auto;
  max-width: 1180px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 10px 22px;
  border-radius: 999px;
  background: rgba(14, 19, 15, 0.72);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--hairline);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 20px 48px -24px rgba(0, 0, 0, 0.7);
  pointer-events: auto;
  transition: border-color 0.6s var(--ease);
}
.nav.scrolled .nav-inner { border-color: var(--hairline-2); }

.logo { display: flex; align-items: center; }

.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-link {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
  letter-spacing: -0.005em;
}
.nav-link:hover { background: var(--surface-2); color: var(--ink); }
.nav-link.active { color: var(--signal); }

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--sans);
  letter-spacing: -0.005em;
  transition: all 0.4s var(--ease);
  white-space: nowrap;
  position: relative;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--signal);
  color: var(--bg);
  box-shadow:
    0 0 0 0 rgba(168, 242, 108, 0),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover {
  background: #b9f780;
  box-shadow:
    0 0 36px -4px rgba(168, 242, 108, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-primary .arrow { transition: transform 0.4s var(--ease); display: inline-block; }
.btn-primary:hover .arrow { transform: translateX(3px); }

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--hairline-2);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--signal-dim);
  color: var(--ink);
}

/* Icon inside ghost-like buttons — glow lime */
.btn-ic {
  color: var(--signal);
  display: inline-grid;
  place-items: center;
  filter: drop-shadow(0 0 8px rgba(168, 242, 108, 0.5));
  transition: transform 0.4s var(--ease), filter 0.4s var(--ease);
}
.btn:hover .btn-ic {
  transform: scale(1.08) rotate(-4deg);
  filter: drop-shadow(0 0 12px rgba(168, 242, 108, 0.7));
}

.btn-sm { padding: 9px 18px; font-size: 13px; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 500;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.btn-link:hover { color: var(--signal); }
.btn-link .arrow { transition: transform 0.4s var(--ease); display: inline-block; }
.btn-link:hover .arrow { transform: translateX(4px); }

/* Chip */
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  font-size: 12px;
  color: var(--ink-2);
  font-weight: 500;
  backdrop-filter: blur(12px);
}
.chip-tag {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--signal-wash);
  color: var(--signal);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  border: 1px solid var(--hairline-glow);
}

/* Section */
.section { padding: 140px 0; position: relative; }

/* Glass card */
.glass {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  transition: border-color 0.6s var(--ease), background 0.6s var(--ease), transform 0.6s var(--ease);
}

/* Window mockup — dark */
.window {
  background: rgba(14, 19, 15, 0.92);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 40px 100px -40px rgba(0, 0, 0, 0.8);
}
.window-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--hairline);
}
.window-dots { display: flex; gap: 6px; }
.window-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.1); }
.window-dots span:nth-child(1) { background: #ff5f57; }
.window-dots span:nth-child(2) { background: #febc2e; }
.window-dots span:nth-child(3) { background: #28c840; }
.window-title {
  margin: 0 auto; font-size: 11.5px; color: var(--muted);
  font-family: var(--mono); letter-spacing: -0.005em;
}

.caption {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* ============================================================
   INTENT PICKER — anchored header + cards grid / focus panel
   ============================================================ */

.picker-shell {
  padding: 72px 0 96px;
  position: relative;
}

/* Hero split — headline left, search right */
.picker-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 56px;
}
@media (max-width: 1060px) {
  .picker-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.picker-header {
  position: relative;
  max-width: 720px;
}
.picker-header .headline {
  font-size: clamp(42px, 5.8vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 400;
}
.picker-header .headline .cursor {
  display: inline-block;
  width: 4px;
  height: 0.9em;
  background: var(--signal);
  margin-left: 6px;
  vertical-align: -0.1em;
  box-shadow: 0 0 12px var(--signal);
  animation: cursorBlink 1.1s steps(2) infinite;
}

/* Editorial headline styling — weight + serif mix */
.picker-header .headline .hw-light {
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.05em;
  animation: hwIn 0.8s var(--ease-out) backwards;
}
.picker-header .headline .hw-serif {
  font-family: "Instrument Serif", "PP Editorial New", "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: -0.02em;
  color: var(--signal);
  padding-right: 0.05em;
  background: linear-gradient(180deg, #c8ff7a, var(--signal));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(168, 242, 108, 0.35));
  animation: hwIn 0.8s var(--ease-out) 0.12s backwards;
}
.picker-header .headline .hw-mid {
  font-weight: 300;
  color: var(--ink-2);
  letter-spacing: -0.04em;
  animation: hwIn 0.8s var(--ease-out) 0.24s backwards;
}
.picker-header .headline .hw-heavy {
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.055em;
  animation: hwIn 0.8s var(--ease-out) 0.36s backwards;
  position: relative;
}
.picker-header .headline .hw-dot {
  color: var(--signal);
  font-weight: 700;
  margin-left: 0.02em;
  filter: drop-shadow(0 0 12px rgba(168, 242, 108, 0.7));
  animation: dotPulse 2.2s ease-in-out infinite;
}
@keyframes hwIn {
  from { opacity: 0; transform: translateY(8px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes dotPulse {
  0%, 100% { filter: drop-shadow(0 0 12px rgba(168, 242, 108, 0.7)); }
  50% { filter: drop-shadow(0 0 22px rgba(168, 242, 108, 1)); }
}
.picker-sub {
  margin-top: 18px;
  max-width: 48ch;
  color: var(--ink-2);
}

/* Search box — white, Google-style */
.picker-search-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.picker-search-label {
  font-size: 15px;
  color: var(--ink-2);
  letter-spacing: -0.01em;
  line-height: 1.4;
  font-weight: 400;
}
.picker-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 6px 6px 6px 20px;
  box-shadow:
    0 0 0 0 rgba(168, 242, 108, 0),
    0 10px 36px -12px rgba(0, 0, 0, 0.5),
    0 2px 8px -2px rgba(0, 0, 0, 0.3);
  transition: all 0.4s var(--ease);
}
.picker-search:focus-within {
  border-color: var(--signal);
  box-shadow:
    0 0 0 4px rgba(168, 242, 108, 0.18),
    0 14px 44px -12px rgba(168, 242, 108, 0.3),
    0 2px 8px -2px rgba(0, 0, 0, 0.3);
}
.picker-search.is-error {
  border-color: oklch(0.65 0.18 30);
  box-shadow:
    0 0 0 4px oklch(0.65 0.18 30 / 0.2),
    0 14px 44px -12px rgba(0, 0, 0, 0.3);
  animation: searchShake 0.4s var(--ease);
}
@keyframes searchShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.picker-search-icon {
  color: rgba(15, 20, 16, 0.55);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
.picker-search-input {
  flex: 1;
  padding: 14px 4px;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--sans);
  font-size: 15.5px;
  color: #0f1410;
  letter-spacing: -0.01em;
  min-width: 0;
}
.picker-search-input::placeholder {
  color: rgba(15, 20, 16, 0.42);
}
.picker-search-clear {
  width: 28px; height: 28px;
  border-radius: 999px;
  background: transparent;
  border: none;
  color: rgba(15, 20, 16, 0.5);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  padding: 0;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.picker-search-clear:hover {
  background: rgba(15, 20, 16, 0.08);
  color: #0f1410;
}
.picker-search-btn {
  width: 40px; height: 40px;
  border-radius: 999px;
  border: none;
  background: var(--signal);
  color: var(--bg);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 0 18px rgba(168, 242, 108, 0.55);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.picker-search-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 0 28px rgba(168, 242, 108, 0.8);
}

/* Hints below search */
.picker-search-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: -0.005em;
  animation: hintIn 0.35s var(--ease-out);
  align-self: flex-start;
}
@keyframes hintIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.picker-search-hint.is-match {
  background: var(--signal-wash);
  color: var(--signal);
  border: 1px solid var(--hairline-glow);
}
.picker-search-hint.is-match strong {
  color: var(--signal);
  font-weight: 500;
}
.picker-search-hint.is-error {
  background: oklch(0.22 0.06 30 / 0.4);
  color: oklch(0.78 0.14 30);
  border: 1px solid oklch(0.55 0.15 30 / 0.4);
}

.picker-search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.picker-search-chips-label {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-right: 4px;
}
.picker-search-chip {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--ink-2);
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.picker-search-chip:hover {
  background: var(--signal-wash);
  border-color: var(--signal-dim);
  color: var(--signal);
}
@keyframes cursorBlink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

.picker-mascot-top {
  position: absolute;
  top: -8px;
  right: 0;
  animation: breathe 4.5s var(--ease-out) infinite;
  pointer-events: none;
  filter: drop-shadow(0 10px 30px rgba(168, 242, 108, 0.2));
}
@keyframes breathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.02); }
}

/* Card grid */
.option-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 1060px) {
  .option-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .option-card-grid { grid-template-columns: 1fr; }
}

.option-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 24px 20px;
  min-height: 200px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  font-family: inherit;
  color: inherit;
  width: 100%;
  transition:
    transform 0.5s var(--ease),
    border-color 0.5s var(--ease),
    background 0.5s var(--ease);
  will-change: transform;
}
.option-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, transparent, var(--signal), transparent);
  transition: width 0.7s var(--ease-out);
}
.option-card:hover {
  transform: translateY(-3px);
  border-color: var(--hairline-glow);
  background: var(--surface-hover);
}
.option-card:hover::before { width: 100%; }
.option-card:focus-visible {
  outline: none;
  border-color: var(--signal);
  box-shadow: 0 0 0 3px rgba(168, 242, 108, 0.18);
}

.option-card-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--signal);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.option-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.option-card-title {
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-weight: 500;
  line-height: 1.2;
}
.option-card-label {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: -0.005em;
  font-weight: 400;
  line-height: 1.45;
}
.option-card.is-active .option-card-title {
  color: var(--signal);
}

/* Card head — icon + number */
.option-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.option-card-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--signal-wash);
  border: 1px solid var(--hairline-glow);
  color: var(--signal);
  display: inline-grid;
  place-items: center;
  filter: drop-shadow(0 0 12px rgba(168, 242, 108, 0.45));
  transition: all 0.5s var(--ease);
}
.option-card:hover .option-card-icon {
  background: var(--signal);
  color: var(--bg);
  border-color: var(--signal);
  transform: rotate(-4deg) scale(1.05);
  filter: drop-shadow(0 0 20px rgba(168, 242, 108, 0.7));
}
.option-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
}
.option-card-hint {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.option-card-arrow {
  color: var(--muted);
  transition: transform 0.5s var(--ease), color 0.4s var(--ease);
  display: grid;
  place-items: center;
}
.option-card:hover .option-card-arrow {
  color: var(--signal);
  transform: translate(3px, -3px);
}

.option-card.stagger {
  opacity: 0;
  transform: translateY(14px);
  animation: optionIn 0.7s var(--ease-out) forwards;
}
.option-card.stagger:nth-child(1) { animation-delay: 0.30s; }
.option-card.stagger:nth-child(2) { animation-delay: 0.37s; }
.option-card.stagger:nth-child(3) { animation-delay: 0.44s; }
.option-card.stagger:nth-child(4) { animation-delay: 0.51s; }
.option-card.stagger:nth-child(5) { animation-delay: 0.58s; }
.option-card.stagger:nth-child(6) { animation-delay: 0.65s; }
@keyframes optionIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Active card state — selected intent stays highlighted behind the drawer */
.option-card.is-active {
  border-color: var(--signal);
  background: var(--signal-wash);
}
.option-card.is-active .option-card-num,
.option-card.is-active .option-card-label {
  color: var(--signal);
}

/* ============================================================
   INTENT DRAWER — modal sheet from bottom
   ============================================================ */

.drawer-portal {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.drawer-portal.is-open {
  pointer-events: auto;
  opacity: 1;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 6, 0.55);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.drawer-sheet {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-50% + 40px)) scale(0.96);
  opacity: 0;
  width: min(1200px, calc(100% - 32px));
  max-height: calc(100vh - 80px);
  background: linear-gradient(180deg, var(--bg-1), var(--bg));
  border: 1px solid var(--hairline-glow);
  border-radius: 24px;
  box-shadow:
    0 40px 120px -20px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.6s var(--ease), opacity 0.4s var(--ease);
}
.drawer-portal.is-open .drawer-sheet {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
.drawer-sheet::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--signal), transparent);
}

/* Header */
.drawer-header {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--hairline);
  flex-shrink: 0;
}
.drawer-grab {
  display: none;
}

.drawer-nav {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--hairline);
}
.drawer-nav-btn {
  width: 30px; height: 30px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  transition: all 0.4s var(--ease);
}
.drawer-nav-btn:hover {
  background: var(--surface-2);
  color: var(--signal);
}
.drawer-progress {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.drawer-progress-sep {
  width: 16px;
  height: 1px;
  background: var(--hairline-2);
}

.drawer-close {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--ink-2);
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.4s var(--ease);
}
.drawer-close:hover {
  border-color: var(--signal);
  color: var(--signal);
  background: var(--signal-wash);
}
.drawer-close-kbd {
  font-family: var(--mono);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--surface-2);
  color: var(--muted);
  border: 1px solid var(--hairline);
  letter-spacing: 0.08em;
}

/* Body */
.drawer-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  padding: 40px 48px 48px;
  overflow-y: auto;
  animation: drawerBody 0.55s var(--ease-out);
}
@keyframes drawerBody {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 960px) {
  .drawer-body {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 28px 24px 32px;
  }
}

.drawer-content { min-width: 0; }
.drawer-aside { min-width: 0; display: flex; flex-direction: column; gap: 28px; }

.drawer-jump {
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}
.drawer-jump-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.drawer-jump-item {
  display: grid;
  grid-template-columns: 28px 1fr 14px;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  text-align: left;
  line-height: 1.35;
  transition: all 0.4s var(--ease);
}
.drawer-jump-item:hover {
  background: var(--surface);
  border-color: var(--hairline);
  color: var(--signal);
}
.drawer-jump-icon {
  color: var(--signal);
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--signal-wash);
  border: 1px solid var(--hairline-glow);
  filter: drop-shadow(0 0 6px rgba(168, 242, 108, 0.4));
}
.drawer-jump-icon svg { width: 14px; height: 14px; }
.drawer-jump-text { font-weight: 500; letter-spacing: -0.005em; }

.focus-main { min-width: 0; }

.focus-title {
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin-top: 16px;
  max-width: 20ch;
}
.focus-copy {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.55;
  max-width: 54ch;
}

.focus-details {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}
.focus-detail-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
  align-items: flex-start;
}
.focus-detail-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--signal-wash);
  color: var(--signal);
  display: grid;
  place-items: center;
  border: 1px solid var(--hairline-glow);
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(168, 242, 108, 0.4));
}
.focus-detail-title {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.focus-detail-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 4px;
}

.focus-ctas {
  display: flex;
  gap: 10px;
  margin-top: 32px;
  flex-wrap: wrap;
}


/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(4px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out), filter 0.9s var(--ease-out);
  will-change: transform, opacity;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.reveal.d1 { transition-delay: 80ms; }
.reveal.d2 { transition-delay: 160ms; }
.reveal.d3 { transition-delay: 240ms; }
.reveal.d4 { transition-delay: 320ms; }
.reveal.d5 { transition-delay: 400ms; }
.reveal.d6 { transition-delay: 480ms; }

/* ============================================================
   ¿Cómo funciona? — trigger button + step modal
   ============================================================ */

.hiw-trigger {
  position: absolute;
  bottom: -24px;
  left: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px 12px 12px;
  width: max-content;
  max-width: calc(100% - 32px);
  border-radius: 16px;
  background: rgba(168, 242, 108, 0.2);
  color: var(--ink);
  border: 1.5px solid var(--signal);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform-origin: 50% 50%;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  animation: hiwPulse 2.4s ease-in-out infinite;
  will-change: transform, box-shadow;
}
@keyframes hiwPulse {
  0%, 100% {
    transform: translate(-50%, 0) scale(1);
    box-shadow:
      0 0 0 0 rgba(168, 242, 108, 0.55),
      0 0 20px -2px rgba(168, 242, 108, 0.4);
  }
  50% {
    transform: translate(-50%, 0) scale(1.04);
    box-shadow:
      0 0 0 10px rgba(168, 242, 108, 0),
      0 0 42px -2px rgba(168, 242, 108, 0.8);
  }
}
.hiw-trigger:hover {
  animation-play-state: paused;
  transform: translate(-50%, 0) scale(1.05);
  background: rgba(168, 242, 108, 0.28);
  box-shadow:
    0 0 0 5px rgba(168, 242, 108, 0.22),
    0 0 48px -2px rgba(168, 242, 108, 0.9);
}

/* Demo wrap needs extra bottom padding so the floating button doesn't clip */
.demo-wrap { padding-bottom: 12px; }

.hiw-trigger-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(11, 15, 12, 0.35);
  border: 1px solid var(--signal);
  color: var(--signal);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(168, 242, 108, 0.6));
  transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
}
.hiw-trigger:hover .hiw-trigger-icon {
  transform: rotate(-6deg) scale(1.06);
  filter: drop-shadow(0 0 16px rgba(168, 242, 108, 0.9));
}
.hiw-trigger-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hiw-trigger-label {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
}
.hiw-trigger-sub {
  font-size: 12px;
  color: rgba(240, 244, 237, 0.68);
  letter-spacing: -0.005em;
}
.hiw-trigger-arrow {
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--signal);
  border: 1px solid var(--signal);
  color: var(--bg);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(168, 242, 108, 0.5));
  transition: transform 0.5s var(--ease);
}
.hiw-trigger:hover .hiw-trigger-arrow {
  transform: translate(3px, 0);
}

@media (prefers-reduced-motion: reduce) {
  .hiw-trigger { animation: none; }
}

/* Inline variant — used inside CTA row, not floating */
.hiw-trigger-inline {
  position: static;
  transform: none;
  padding: 8px 14px 8px 8px;
  gap: 10px;
  max-width: none;
  width: auto;
  border-radius: 999px;
  animation: hiwPulseInline 2.6s ease-in-out infinite;
  text-decoration: none;
}
.hiw-trigger-inline:hover {
  transform: scale(1.02);
  animation-play-state: paused;
}
.hiw-trigger-inline .hiw-trigger-icon {
  width: 30px; height: 30px;
  border-radius: 999px;
}
.hiw-trigger-inline .hiw-trigger-label {
  font-size: 14px;
  line-height: 1.15;
}
.hiw-trigger-inline .hiw-trigger-sub {
  font-size: 11px;
}
.hiw-trigger-inline .hiw-trigger-arrow {
  width: 26px; height: 26px;
}
@keyframes hiwPulseInline {
  0%, 100% {
    box-shadow:
      0 0 0 0 rgba(168, 242, 108, 0.5),
      0 0 14px -2px rgba(168, 242, 108, 0.3);
  }
  50% {
    box-shadow:
      0 0 0 6px rgba(168, 242, 108, 0),
      0 0 28px -2px rgba(168, 242, 108, 0.6);
  }
}

/* Modal */
.hiw-portal {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.hiw-portal.is-open {
  pointer-events: auto;
  opacity: 1;
}
.hiw-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 6, 0.7);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.hiw-sheet {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-50% + 40px)) scale(0.96);
  opacity: 0;
  width: min(720px, calc(100% - 32px));
  max-height: calc(100vh - 80px);
  background: linear-gradient(180deg, var(--bg-1), var(--bg));
  border: 1px solid var(--hairline-glow);
  border-radius: 24px;
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.6s var(--ease), opacity 0.4s var(--ease);
}
.hiw-portal.is-open .hiw-sheet {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
.hiw-sheet::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--signal), transparent);
}

.hiw-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--hairline);
}
.hiw-title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-top: 6px;
  line-height: 1.25;
}
.hiw-close {
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--ink-2);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 0.4s var(--ease);
}
.hiw-close:hover {
  color: var(--signal);
  border-color: var(--signal);
  background: var(--signal-wash);
}

/* Progress bars */
.hiw-progress {
  display: flex;
  gap: 6px;
  padding: 14px 32px 8px;
}
.hiw-progress-bar {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: var(--hairline-2);
  overflow: hidden;
  position: relative;
  transition: background 0.4s var(--ease);
}
.hiw-progress-bar.is-filled { background: var(--signal); }
.hiw-progress-bar.is-current {
  box-shadow: 0 0 10px rgba(168, 242, 108, 0.6);
}

/* Body */
.hiw-body {
  padding: 40px 48px 32px;
  text-align: center;
  animation: hiwStepIn 0.5s var(--ease-out);
}
@keyframes hiwStepIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.hiw-step-num {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hiw-icon-big {
  width: 88px; height: 88px;
  margin: 24px auto 28px;
  border-radius: 22px;
  background: var(--signal-wash);
  border: 1px solid var(--signal);
  color: var(--signal);
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 24px rgba(168, 242, 108, 0.55));
  animation: hiwIconPulse 3s ease-in-out infinite;
}
@keyframes hiwIconPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 24px rgba(168, 242, 108, 0.55)); }
  50% { transform: scale(1.04); filter: drop-shadow(0 0 32px rgba(168, 242, 108, 0.8)); }
}
.hiw-step-title {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 14px;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}
.hiw-step-desc {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 48ch;
  margin: 0 auto;
}

/* Nav */
.hiw-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 32px 28px;
  border-top: 1px solid var(--hairline);
}
.hiw-dots {
  display: flex;
  gap: 8px;
}
.hiw-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--hairline-2);
  cursor: pointer;
  padding: 0;
  transition: all 0.4s var(--ease);
}
.hiw-dot.is-active {
  width: 24px;
  border-radius: 999px;
  background: var(--signal);
  box-shadow: 0 0 10px rgba(168, 242, 108, 0.6);
}
.hiw-nav .btn[disabled],
.hiw-nav .btn:disabled {
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .hiw-header { padding: 20px 20px 16px; }
  .hiw-body { padding: 28px 24px 24px; }
  .hiw-progress { padding: 12px 20px 4px; }
  .hiw-nav { padding: 16px 20px 20px; }
  .hiw-step-title { font-size: 22px; }
  .hiw-icon-big { width: 72px; height: 72px; }
}

/* ============================================================
   Calculator — result card + custom sliders
   ============================================================ */

.calc-result {
  position: relative;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--hairline-glow);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  overflow: hidden;
  box-shadow:
    0 24px 64px -32px rgba(168, 242, 108, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.calc-result::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--signal), transparent);
}
.calc-result-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 80% 20%, rgba(168, 242, 108, 0.22), transparent 65%),
    radial-gradient(400px 300px at 20% 100%, rgba(168, 242, 108, 0.1), transparent 70%);
  pointer-events: none;
}
.calc-result-number {
  font-size: clamp(48px, 5.5vw, 68px);
  line-height: 1;
  margin-top: 14px;
  letter-spacing: -0.04em;
  font-weight: 400;
  color: var(--signal);
  filter: drop-shadow(0 0 24px rgba(168, 242, 108, 0.45));
}

/* Custom slider */
.calc-slider {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.calc-slider-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.calc-slider-value {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--signal);
  font-weight: 500;
  padding: 3px 10px;
  background: var(--signal-wash);
  border: 1px solid var(--hairline-glow);
  border-radius: 999px;
  letter-spacing: -0.01em;
  transition: all 0.3s var(--ease);
}

.calc-slider-track-wrap {
  position: relative;
  height: 24px;
  display: flex;
  align-items: center;
}
.calc-slider-track {
  position: absolute;
  left: 0; right: 0;
  height: 6px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  overflow: visible;
}
.calc-slider-fill {
  position: absolute;
  top: -1px; bottom: -1px; left: -1px;
  background: linear-gradient(90deg, oklch(0.55 0.18 135), var(--signal));
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(168, 242, 108, 0.5);
  pointer-events: none;
  transition: width 0.08s linear;
}
.calc-slider-thumb {
  position: absolute;
  top: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--signal);
  border: 2px solid var(--bg);
  box-shadow:
    0 0 0 1px var(--signal),
    0 0 20px rgba(168, 242, 108, 0.7);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
}
.calc-slider-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  margin: 0;
  z-index: 2;
}
.calc-slider-input:focus-visible + .calc-slider-track .calc-slider-thumb,
.calc-slider-track-wrap:hover .calc-slider-thumb {
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow:
    0 0 0 1px var(--signal),
    0 0 28px rgba(168, 242, 108, 0.9);
}
.calc-slider-input:active + .calc-slider-track .calc-slider-thumb,
.calc-slider-track-wrap:active .calc-slider-thumb {
  transform: translate(-50%, -50%) scale(1.25);
}
.calc-slider-limits {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--faint);
  letter-spacing: 0.08em;
}

/* Docs stepper — +/− between plan tiers */
.docs-stepper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.docs-stepper-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.docs-stepper-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--signal);
  font-weight: 500;
  padding: 3px 10px;
  background: var(--signal-wash);
  border: 1px solid var(--hairline-glow);
  border-radius: 999px;
  letter-spacing: -0.005em;
}
.docs-stepper-controls {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(12px);
}
.docs-stepper-btn {
  width: 52px;
  border: none;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  font-family: inherit;
  flex-shrink: 0;
}
.docs-stepper-btn:not(:disabled):hover {
  background: var(--signal-wash);
  color: var(--signal);
}
.docs-stepper-btn:disabled {
  color: var(--faint);
  cursor: not-allowed;
}
.docs-stepper-btn:first-child {
  border-right: 1px solid var(--hairline);
}
.docs-stepper-btn:last-child {
  border-left: 1px solid var(--hairline);
}
.docs-stepper-value {
  flex: 1;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
}
.docs-stepper-number {
  font-size: 22px;
  color: var(--signal);
  letter-spacing: -0.02em;
  font-weight: 500;
  font-family: var(--mono);
  filter: drop-shadow(0 0 8px rgba(168, 242, 108, 0.35));
}
.docs-stepper-unit {
  font-size: 11px;
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Billing toggle */
.billing-toggle {
  display: inline-flex;
  padding: 5px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
}
.billing-opt {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: color 0.35s var(--ease), background 0.35s var(--ease);
}
.billing-opt:hover { color: var(--ink); }
.billing-opt.is-active {
  background: var(--signal);
  color: var(--bg);
  box-shadow: 0 0 18px rgba(168, 242, 108, 0.55);
}
.billing-badge {
  font-family: var(--mono);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--signal-wash);
  color: var(--signal);
  border: 1px solid var(--hairline-glow);
  letter-spacing: 0.06em;
  transition: all 0.35s var(--ease);
}
.billing-opt.is-active .billing-badge {
  background: rgba(11, 15, 12, 0.25);
  color: var(--bg);
  border-color: transparent;
}

/* Plan selection modal */
.plan-portal {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(5, 8, 6, 0.7);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.plan-portal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.plan-sheet {
  position: relative;
  width: min(640px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: linear-gradient(180deg, var(--bg-1), var(--bg));
  border: 1px solid var(--hairline-glow);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.7);
  animation: planSheetIn 0.5s var(--ease-out);
}
@keyframes planSheetIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.plan-sheet::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--signal), transparent);
}

.plan-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.plan-title {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-top: 8px;
  line-height: 1.2;
}
.plan-sub {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 52ch;
}
.plan-close {
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--ink-2);
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
}
.plan-close:hover {
  color: var(--signal);
  border-color: var(--signal);
  background: var(--signal-wash);
}

.plan-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 560px) {
  .plan-options { grid-template-columns: 1fr; }
}
.plan-option {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--surface);
  border: 1.5px solid var(--hairline);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.35s var(--ease);
}
.plan-option:hover {
  border-color: var(--signal-dim);
  background: var(--surface-2);
}
.plan-option.is-selected {
  border-color: var(--signal);
  background: var(--signal-wash);
  box-shadow: 0 0 0 3px rgba(168, 242, 108, 0.18);
}
.plan-option-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.plan-option-badge {
  font-family: var(--mono);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--signal);
  color: var(--bg);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.plan-option-badge.is-neutral {
  background: var(--surface-2);
  color: var(--muted);
  border: 1px solid var(--hairline);
}
.plan-radio {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--hairline-2);
  display: grid;
  place-items: center;
  color: var(--bg);
  transition: all 0.3s var(--ease);
}
.plan-radio.is-on {
  background: var(--signal);
  border-color: var(--signal);
}
.plan-option-name {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-top: 6px;
}
.plan-option-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
}
.plan-option-amount {
  font-size: 28px;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--ink);
}
.plan-option.is-selected .plan-option-amount {
  color: var(--signal);
}
.plan-option-unit {
  font-size: 11.5px;
  color: var(--muted);
}
.plan-option-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 10px;
}
.plan-option-note strong {
  color: var(--ink);
  font-weight: 500;
}
.plan-option.is-selected .plan-option-note strong {
  color: var(--signal);
}

.plan-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.plan-footer-summary {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.plan-footer-total {
  font-size: 22px;
  font-weight: 500;
  color: var(--signal);
  letter-spacing: -0.02em;
}

/* Pricing grid — 4 columns */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 560px) {
  .pricing-grid { grid-template-columns: 1fr !important; }
}

/* Roadmap card icon */
.roadmap-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--signal-wash);
  border: 1px solid var(--hairline-glow);
  color: var(--signal);
  display: inline-grid;
  place-items: center;
  filter: drop-shadow(0 0 10px rgba(168, 242, 108, 0.4));
  transition: all 0.5s var(--ease);
}
.roadmap-card:hover .roadmap-icon {
  background: var(--signal);
  color: var(--bg);
  transform: rotate(-4deg) scale(1.05);
  filter: drop-shadow(0 0 16px rgba(168, 242, 108, 0.7));
}

/* Verticales grid — 5 columns, clickable, verde limón hover */
.verticales-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
@media (max-width: 1200px) {
  .verticales-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
  .verticales-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .verticales-grid { grid-template-columns: 1fr; }
}

.vertical-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 24px 22px 20px;
  min-height: 240px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.5s var(--ease),
    background 0.5s var(--ease),
    border-color 0.5s var(--ease),
    color 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}
.vertical-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, transparent, var(--signal), transparent);
  transition: width 0.7s var(--ease-out);
}
.vertical-card:hover {
  transform: translateY(-3px);
  background: var(--signal-wash);
  border-color: var(--signal);
  color: var(--signal);
  box-shadow: 0 16px 40px -20px rgba(168, 242, 108, 0.3);
}
.vertical-card:hover::before { width: 100%; }

.vertical-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.vertical-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--signal-wash);
  border: 1px solid var(--hairline-glow);
  color: var(--signal);
  display: inline-grid;
  place-items: center;
  filter: drop-shadow(0 0 10px rgba(168, 242, 108, 0.4));
  transition: all 0.5s var(--ease);
}
.vertical-card:hover .vertical-icon {
  background: var(--signal);
  color: var(--bg);
  transform: rotate(-4deg) scale(1.05);
  filter: drop-shadow(0 0 16px rgba(168, 242, 108, 0.7));
}

.vertical-num {
  font-size: 11px;
  color: var(--signal);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.5s var(--ease);
}
.vertical-tag {
  transition: color 0.5s var(--ease);
}
.vertical-card:hover .vertical-num,
.vertical-card:hover .vertical-tag {
  color: var(--signal);
}

.vertical-title {
  margin: 16px 0 0;
  font-size: 19px;
  letter-spacing: -0.02em;
  line-height: 1.25;
  font-weight: 500;
  color: inherit;
  transition: color 0.5s var(--ease);
}

.vertical-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  transition: color 0.5s var(--ease);
}
.vertical-card:hover .vertical-cta {
  color: var(--signal);
}

/* Wasabilito art inside vertical card */
.vertical-art {
  position: absolute;
  bottom: -18px;
  right: -22px;
  width: 120px;
  height: auto;
  opacity: 0.85;
  pointer-events: none;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
  filter: drop-shadow(0 8px 20px rgba(168, 242, 108, 0.15));
}
.vertical-card:hover .vertical-art {
  transform: translate(-4px, -4px) rotate(-4deg) scale(1.08);
  opacity: 1;
  filter: drop-shadow(0 10px 28px rgba(168, 242, 108, 0.4));
}

/* Scrollable horizontal strip (keep for any other use) */
.h-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.h-scroll::-webkit-scrollbar { height: 4px; }
.h-scroll::-webkit-scrollbar-track { background: var(--hairline); }
.h-scroll::-webkit-scrollbar-thumb { background: var(--hairline-glow); border-radius: 999px; }
.h-scroll > * {
  flex-shrink: 0;
  scroll-snap-align: start;
}

/* Marquee */
.marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 64px;
  animation: ticker 42s linear infinite;
  padding-right: 64px;
  flex-shrink: 0;
  align-items: center;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Footer */
.footer {
  position: relative;
  padding: 96px 0 48px;
  border-top: 1px solid var(--hairline);
  margin-top: 80px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--hairline);
}
.footer a { color: var(--ink-2); font-size: 13.5px; transition: color 0.3s var(--ease); }
.footer a:hover { color: var(--signal); }
.footer h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 500; color: var(--faint); margin-bottom: 20px; font-family: var(--mono); }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--mono);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media (max-width: 768px) {
  .section { padding: 96px 0; }
  .nav-links { display: none; }
  .picker-shell { padding: 48px 0 72px; }
  .picker-mascot-top { width: 56px !important; height: 56px !important; top: 0; }
}

/* Animations */
@keyframes pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Wasabilito chat — floating assistant
   ============================================================ */

.wbt-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: 1.5px solid var(--signal);
  background: rgba(168, 242, 108, 0.15);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
  animation: wbtPulse 2.6s ease-in-out infinite;
  will-change: transform, box-shadow;
}
@keyframes wbtPulse {
  0%, 100% {
    box-shadow:
      0 0 0 0 rgba(168, 242, 108, 0.55),
      0 0 24px -2px rgba(168, 242, 108, 0.4);
  }
  50% {
    box-shadow:
      0 0 0 10px rgba(168, 242, 108, 0),
      0 0 44px -2px rgba(168, 242, 108, 0.8);
  }
}
.wbt-launcher:hover {
  transform: scale(1.06);
  background: rgba(168, 242, 108, 0.25);
  animation-play-state: paused;
}
.wbt-launcher-dot {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--signal);
  border: 2px solid var(--bg);
  box-shadow: 0 0 8px var(--signal);
}

.wbt-teaser {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 81;
  width: 420px;
  max-width: calc(100vw - 44px);
  padding: 22px 24px 22px 22px;
  background: linear-gradient(180deg, rgba(22, 30, 23, 0.94), rgba(14, 19, 15, 0.94));
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border: 1.5px solid var(--signal);
  border-radius: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  animation:
    wbtTeaserSlideIn 0.9s var(--ease-spring) 1.6s backwards,
    wbtTeaserPulse 2.8s ease-in-out 2.5s infinite;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
  will-change: transform, box-shadow;
}
.wbt-teaser::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--signal), transparent);
}
.wbt-teaser:hover {
  transform: translateY(-50%) scale(1.02);
  border-color: #b9f780;
  animation-play-state: paused;
}
@keyframes wbtTeaserSlideIn {
  from { opacity: 0; transform: translate(calc(100% + 40px), -50%); }
  to { opacity: 1; transform: translate(0, -50%); }
}
@keyframes wbtTeaserPulse {
  0%, 100% {
    box-shadow:
      0 0 0 0 rgba(168, 242, 108, 0.55),
      0 24px 60px -20px rgba(0, 0, 0, 0.7),
      0 0 28px -4px rgba(168, 242, 108, 0.4);
  }
  50% {
    box-shadow:
      0 0 0 14px rgba(168, 242, 108, 0),
      0 24px 60px -20px rgba(0, 0, 0, 0.7),
      0 0 56px -4px rgba(168, 242, 108, 0.8);
  }
}
.wbt-teaser-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: rgba(14, 19, 15, 0.8);
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
  z-index: 2;
}
.wbt-teaser-close:hover {
  color: var(--signal);
  border-color: var(--signal);
  background: var(--signal-wash);
}
.wbt-teaser-mascot {
  flex-shrink: 0;
  width: 72px; height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--signal-wash);
  border: 1px solid var(--hairline-glow);
  filter: drop-shadow(0 6px 18px rgba(168, 242, 108, 0.55));
  animation: wbtMascotBounce 3s ease-in-out infinite;
}
@keyframes wbtMascotBounce {
  0%, 100% { transform: translateY(0) rotate(0); }
  25% { transform: translateY(-3px) rotate(-3deg); }
  50% { transform: translateY(0) rotate(0); }
  75% { transform: translateY(-2px) rotate(2deg); }
}
.wbt-teaser-body { flex: 1; min-width: 0; padding-right: 18px; }
.wbt-teaser-eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--signal);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.wbt-teaser-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 8px var(--signal);
  animation: pulseDot 2s infinite;
}
.wbt-teaser-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.wbt-teaser-sub {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.45;
  letter-spacing: -0.005em;
}
.wbt-teaser-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--signal);
  letter-spacing: -0.005em;
}
.wbt-teaser-cta svg { transition: transform 0.3s var(--ease); }
.wbt-teaser:hover .wbt-teaser-cta svg { transform: translateX(3px); }

/* Chat panel */
.wbt-panel {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 82;
  width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 60px));
  background: linear-gradient(180deg, rgba(16, 22, 17, 0.96), rgba(10, 14, 11, 0.96));
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid var(--hairline-glow);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
  transition: transform 0.55s var(--ease), opacity 0.35s var(--ease);
}
.wbt-panel.is-open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.wbt-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--signal), transparent);
}

.wbt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.02);
}
.wbt-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.wbt-header-mascot {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--signal-wash);
  border: 1px solid var(--hairline-glow);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(168, 242, 108, 0.3));
}
.wbt-header-name {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wbt-header-status {
  font-size: 10.5px;
  color: var(--signal);
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.wbt-header-status::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 6px var(--signal);
  animation: pulseDot 2s infinite;
}
.wbt-header-role {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
  letter-spacing: -0.005em;
}
.wbt-header-close {
  width: 30px; height: 30px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
}
.wbt-header-close:hover {
  color: var(--signal);
  border-color: var(--signal);
}

.wbt-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.wbt-messages::-webkit-scrollbar { width: 4px; }
.wbt-messages::-webkit-scrollbar-thumb {
  background: var(--hairline-2);
  border-radius: 999px;
}

.wbt-msg {
  display: flex;
  gap: 8px;
  max-width: 92%;
  animation: wbtMsgIn 0.4s var(--ease-out);
}
@keyframes wbtMsgIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.wbt-msg.is-bot { align-self: flex-start; }
.wbt-msg.is-user { align-self: flex-end; flex-direction: row-reverse; }

.wbt-msg-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--signal-wash);
  border: 1px solid var(--hairline-glow);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.wbt-msg-content { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.wbt-msg-bubble {
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  letter-spacing: -0.005em;
}
.wbt-msg.is-bot .wbt-msg-bubble {
  background: var(--surface-2);
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-top-left-radius: 4px;
}
.wbt-msg.is-user .wbt-msg-bubble {
  background: var(--signal-wash);
  color: var(--ink);
  border: 1px solid var(--hairline-glow);
  border-top-right-radius: 4px;
}

.wbt-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 2px;
}
.wbt-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--ink-2);
  font-family: inherit;
  font-size: 12.5px;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.wbt-option:hover {
  background: var(--signal-wash);
  border-color: var(--signal);
  color: var(--signal);
}

.wbt-match-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--signal);
  color: var(--bg);
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  align-self: flex-start;
  box-shadow: 0 0 16px rgba(168, 242, 108, 0.5);
  transition: transform 0.3s var(--ease);
}
.wbt-match-link:hover { transform: translateY(-1px); }

.wbt-suggestions {
  padding: 0 16px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.wbt-suggestion {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--ink-2);
  font-family: inherit;
  font-size: 11.5px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.wbt-suggestion:hover {
  background: var(--signal-wash);
  border-color: var(--signal-dim);
  color: var(--signal);
}

.wbt-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px 14px;
  border-top: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.02);
}
.wbt-input {
  flex: 1;
  padding: 10px 14px;
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.wbt-input:focus {
  border-color: var(--signal);
  background: var(--surface);
}
.wbt-input::placeholder { color: var(--faint); }
.wbt-send {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--signal);
  color: var(--bg);
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(168, 242, 108, 0.55);
  transition: transform 0.3s var(--ease);
}
.wbt-send:hover { transform: scale(1.06); }

@media (max-width: 520px) {
  .wbt-teaser {
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
    padding: 18px 18px 18px 16px;
  }
  .wbt-panel {
    right: 12px;
    left: 12px;
    width: auto;
    height: min(560px, calc(100vh - 40px));
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  #ambient { display: none; }
}
