/* Luquita$ landing — light / dark from product palette */

:root,
[data-theme="light"] {
  --bg: #f3f5f4;
  --bg-elevated: #ffffff;
  --bg-soft: #e8eeeb;
  --text: #16231c;
  --muted: #6b7280;
  --border: #e2e6e4;
  --primary: #1f6b4a;
  --primary-hover: #18553a;
  --primary-muted: #d7ede3;
  --income: #1f6b4a;
  --danger: #b42318;
  --glow: rgba(31, 107, 74, 0.22);
  --phone-bg: #16231c;
  --phone-screen: #f3f5f4;
  --shadow: 0 24px 60px rgba(11, 26, 20, 0.12);
  --nav-blur: rgba(243, 245, 244, 0.82);
  --page-pad: clamp(1.75rem, 7vw, 5.5rem);
  --shell: 1180px;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #101614;
  --bg-elevated: #1b2420;
  --bg-soft: #1a3328;
  --text: #f3efe6;
  --muted: #9aa59d;
  --border: #2c3933;
  --primary: #4cad76;
  --primary-hover: #5fbf88;
  --primary-muted: #1a3328;
  --income: #4cad76;
  --danger: #d05c54;
  --glow: rgba(76, 173, 118, 0.2);
  --phone-bg: #0a0f0d;
  --phone-screen: #1b2420;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --nav-blur: rgba(16, 22, 20, 0.86);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  transition: background-color 0.35s ease, color 0.35s ease;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3,
.hero-brand,
.closing-brand,
.nav-brand {
  font-family: inherit;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  font-weight: 700;
}

p {
  margin: 0;
}

/* —— Nav —— */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--nav-blur);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.35s ease;
}

.nav.is-scrolled {
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
}

.nav-brand {
  font-size: 1.35rem;
  text-decoration: none;
  color: var(--primary);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 1.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.theme-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.theme-toggle:hover {
  border-color: var(--primary);
}

.theme-toggle-icon {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--text);
  box-shadow: inset -0.35rem 0 0 0 var(--bg-elevated);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

[data-theme="dark"] .theme-toggle-icon {
  background: transparent;
  border: 2px solid var(--text);
  box-shadow: 0.25rem -0.2rem 0 0 var(--text);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

[data-theme="dark"] .btn-primary {
  color: #0a120e;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-store {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.btn-store:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

/* —— Hero —— */
.hero {
  min-height: min(92vh, 880px);
  padding-block: clamp(2.5rem, 7vh, 4.5rem) clamp(3rem, 8vh, 5rem);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 85% 40%, var(--glow), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 90%, var(--primary-muted), transparent 50%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-copy {
  max-width: 36rem;
  animation: hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-brand {
  margin: 0 0 0.85rem;
  font-size: clamp(2.75rem, 6vw, 4rem);
  color: var(--primary);
}

.hero-title {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--text);
}

.hero-lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 34rem;
}

.hero-points {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.hero-points li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.98rem;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--primary);
}

.hero-audience {
  margin-top: 1.35rem;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 32rem;
  line-height: 1.45;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
  animation: hero-rise 1s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-glow {
  position: absolute;
  inset: 10% 15%;
  background: radial-gradient(circle, var(--glow), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}

.phone {
  position: relative;
  width: min(280px, 72vw);
  background: var(--phone-bg);
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow);
  border: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
}

.phone-notch {
  width: 38%;
  height: 18px;
  margin: 4px auto 10px;
  background: #0a0f0d;
  border-radius: 0 0 12px 12px;
}

.phone-screen {
  background: var(--phone-screen);
  border-radius: 26px;
  padding: 1.25rem 1.1rem 1.4rem;
  color: var(--text);
  min-height: 420px;
}

.phone-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.phone-balance {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.phone-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--income);
  margin: 0.15rem 0 0.75rem;
}

.phone-semaforo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
}

.dot.green {
  background: var(--income);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--income) 25%, transparent);
}

.phone-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
  height: 110px;
  margin-bottom: 1.25rem;
}

.bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--primary), var(--primary-muted));
  border-radius: 8px 8px 4px 4px;
  position: relative;
  opacity: 0.9;
}

.bar span {
  position: absolute;
  bottom: -1.35rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  color: var(--muted);
  white-space: nowrap;
}

.phone-wa {
  margin-top: 1.75rem;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.phone-chat {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 4.5rem;
  max-height: 5.5rem;
  overflow: hidden;
}

.phone-bubble {
  max-width: 92%;
  padding: 0.45rem 0.65rem;
  border-radius: 12px;
  font-size: 0.72rem;
  line-height: 1.3;
  animation: bubble-in 0.35s ease both;
}

.phone-bubble.in {
  align-self: flex-end;
  background: var(--primary-muted);
  color: var(--text);
}

.phone-bubble.out {
  align-self: flex-start;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--muted);
}

#phone-bars .bar {
  height: 0;
  transition: height 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

#phone-bars .bar.is-on {
  height: var(--h, 40%);
}

.pulse-dot {
  animation: pulse 1.8s ease-in-out infinite;
}

#hero-phone {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

.hero-visual {
  perspective: 900px;
}

.why-card.js-tilt {
  transition: transform 0.15s ease-out, box-shadow 0.2s ease;
  will-change: transform;
}

.why-card.js-tilt:hover {
  box-shadow: var(--shadow);
}

/* Scroll progress + cursor */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 60;
  background: linear-gradient(90deg, var(--primary), #7dcea0);
  pointer-events: none;
}

.cursor-glow {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 68%);
  pointer-events: none;
  z-index: 5;
  mix-blend-mode: multiply;
  opacity: 0.55;
}

[data-theme="dark"] .cursor-glow {
  mix-blend-mode: screen;
  opacity: 0.35;
}

.has-glow-cursor .cursor-glow {
  display: block;
}

/* Marquee */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: var(--bg-elevated);
  padding-block: 0.85rem;
}

.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
}

.marquee-track span::after {
  content: "·";
  margin-left: 2rem;
  opacity: 0.4;
}

/* Playground */
.playground {
  background: var(--bg);
}

.playground-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.chip {
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.chip:hover {
  border-color: var(--primary);
  background: var(--primary-muted);
  transform: translateY(-1px);
}

.playground-stage {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.demo-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.demo-form input {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font: inherit;
  outline: none;
}

.demo-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 22%, transparent);
}

.demo-thread {
  min-height: 200px;
  max-height: 280px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.35rem 0.15rem;
}

.demo-hint {
  color: var(--muted);
  font-size: 0.9rem;
  margin: auto;
}

.demo-bubble {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.35;
}

.demo-bubble.in {
  align-self: flex-end;
  background: var(--primary-muted);
}

.demo-bubble.out {
  align-self: flex-start;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--muted);
}

.demo-bubble.pop-in {
  animation: pop 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.demo-typing {
  display: inline-flex;
  gap: 0.3rem;
  align-items: center;
  padding: 0.85rem 1rem;
}

.demo-typing span {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--muted);
  animation: typing 1s infinite ease-in-out;
}

.demo-typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.demo-typing span:nth-child(3) {
  animation-delay: 0.3s;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.split-settle {
  border: 0;
  background: transparent;
  color: var(--danger);
  font: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.split-settle:hover {
  color: var(--primary);
}

.split-hint {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.split-row.is-settled {
  animation: settle-flash 0.6s ease;
}

.money-burst {
  position: fixed;
  z-index: 80;
  pointer-events: none;
  color: var(--primary);
  font-weight: 800;
  font-size: 1rem;
  animation: burst 0.9s ease-out forwards;
}

.money-burst.big {
  font-size: 1.4rem;
}

@keyframes burst {
  from {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) scale(0.4);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes bubble-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes typing {
  0%,
  80%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--income) 25%, transparent);
  }
  50% {
    box-shadow: 0 0 0 7px color-mix(in srgb, var(--income) 0%, transparent);
  }
}

@keyframes settle-flash {
  0% {
    background: color-mix(in srgb, var(--income) 35%, var(--bg-soft));
  }
  100% {
    background: var(--bg-soft);
  }
}

.nav-links a.is-active {
  color: var(--primary);
  position: relative;
}

.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

html.theme-flash body {
  animation: theme-flash 0.45s ease;
}

@keyframes theme-flash {
  0% {
    filter: brightness(1.08);
  }
  100% {
    filter: none;
  }
}

.how-step {
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.how-step.is-hot {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--primary) 55%, var(--border));
  box-shadow: var(--shadow);
}

.dash-play {
  gap: 1rem;
}

.semaforo-face {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.semaforo-light {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: #4cad76;
  box-shadow: 0 0 0 6px color-mix(in srgb, #4cad76 22%, transparent);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.semaforo-light[data-tone="yellow"] {
  background: #d4a017;
  box-shadow: 0 0 0 6px color-mix(in srgb, #d4a017 25%, transparent);
}

.semaforo-light[data-tone="red"] {
  background: var(--danger);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--danger) 22%, transparent);
}

.semaforo-face .dash-copy em {
  display: block;
  margin-top: 0.25rem;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--muted);
}

.semaforo-slider {
  display: grid;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.semaforo-slider input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
}

.ticket-play {
  align-items: center;
}

.ticket-btn {
  position: relative;
  overflow: hidden;
  width: min(220px, 100%);
  background: var(--bg);
  border: 1px dashed var(--border);
  padding: 1.25rem 1.1rem 1rem;
  display: grid;
  gap: 0.65rem;
  font: inherit;
  font-size: 0.85rem;
  text-align: center;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  border-radius: 8px;
}

.ticket-cta {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary);
}

.ticket-scanline {
  position: absolute;
  left: 0;
  right: 0;
  top: -10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
}

.ticket-btn.is-scanning .ticket-scanline {
  opacity: 1;
  animation: scan-sweep 1.5s linear;
}

.ticket-btn.is-done {
  border-style: solid;
  border-color: var(--primary);
}

@keyframes scan-sweep {
  from {
    top: 8%;
  }
  to {
    top: 92%;
  }
}

.goal-meter {
  height: 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  overflow: hidden;
  margin: 0.85rem 0 0.75rem;
}

.goal-fill {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--primary), #7dcea0);
  border-radius: inherit;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.pop-nudge {
  display: inline-block;
  animation: pop 0.4s ease;
}

.float-try {
  position: fixed;
  right: var(--page-pad);
  bottom: 1.35rem;
  z-index: 45;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
  animation: float-in 0.35s ease;
}

[data-theme="dark"] .float-try {
  color: #0a120e;
}

.float-try[hidden] {
  display: none !important;
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wa-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #25d366;
  flex-shrink: 0;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Mission band —— */
.band-mission {
  background: var(--primary);
  color: #f3efe6;
  padding-block: clamp(2rem, 5vh, 3rem);
}

.band-inner {
  display: grid;
  gap: 0.65rem;
}

.band-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.band-quote {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 600;
  line-height: 1.35;
  max-width: 42rem;
}

.band-mantra {
  font-size: 0.95rem;
  opacity: 0.9;
}

[data-theme="dark"] .band-mission {
  background: #274c39;
}

/* —— Sections —— */
.section {
  padding-block: clamp(3.75rem, 9vh, 6.5rem);
}

.section-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: end;
  margin-bottom: clamp(1.75rem, 4vh, 2.75rem);
}

.section-lead {
  color: var(--muted);
  max-width: 36rem;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.section-lead.tight {
  margin-bottom: 0;
}

.why {
  background: var(--bg-elevated);
}

.why-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  margin-bottom: clamp(2rem, 5vh, 3rem);
}

.why-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}

.why-head-main h2 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  max-width: 18ch;
}

.why-aside {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 34ch;
  justify-self: end;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.why-card {
  border-radius: 22px;
  padding: 1.5rem 1.35rem 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 250px;
}

.why-stat {
  margin: 0;
  font-size: clamp(1.45rem, 2.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.why-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.why-card p:last-child {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.why-card--forest {
  background: #1f6b4a;
  color: #f3efe6;
}

.why-card--forest .why-stat {
  color: #b8e6c8;
}

.why-card--forest p:last-child {
  color: #d7ede3;
}

.why-card--rose {
  background: #f8e4e2;
  color: #3a1816;
}

.why-card--rose .why-stat,
.why-card--rose h3 {
  color: #5c201c;
}

.why-card--rose p:last-child {
  color: #7a3a35;
}

.why-card--mint {
  background: #c4e3d4;
  color: #16231c;
}

.why-card--mint .why-stat,
.why-card--mint h3 {
  color: #1a3d2c;
}

.why-card--mint p:last-child {
  color: #2c4a3a;
}

.why-card--plain {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
}

.why-card--plain .why-stat {
  color: var(--primary);
}

.why-card--plain p:last-child {
  color: var(--muted);
}

[data-theme="dark"] .why {
  background: color-mix(in srgb, var(--bg-elevated) 80%, #000);
}

[data-theme="dark"] .why-card--forest {
  background: #274c39;
}

[data-theme="dark"] .why-card--forest .why-stat {
  color: #4cad76;
}

[data-theme="dark"] .why-card--rose {
  background: #5a3030;
  color: #f8e4e2;
}

[data-theme="dark"] .why-card--rose .why-stat,
[data-theme="dark"] .why-card--rose h3 {
  color: #f3cfcb;
}

[data-theme="dark"] .why-card--rose p:last-child {
  color: #e8c4c0;
}

[data-theme="dark"] .why-card--mint {
  background: #356348;
  color: #e8f2ec;
}

[data-theme="dark"] .why-card--mint .why-stat,
[data-theme="dark"] .why-card--mint h3 {
  color: #b8e6c8;
}

[data-theme="dark"] .why-card--mint p:last-child {
  color: #c4e3d4;
}

/* Pains */
.pains {
  background: color-mix(in srgb, var(--bg-soft) 50%, var(--bg));
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.pain-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.35rem 1.4rem;
  border-left: 4px solid var(--primary);
}

.pain-card h3 {
  margin-bottom: 0.4rem;
}

.pain-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* How */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.steps-grid li {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.4rem 1.35rem;
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.step-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: var(--primary-muted);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.steps p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Features stacked one under another */
.feature-stack {
  display: grid;
  gap: clamp(2.5rem, 6vh, 4rem);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.feature-row--flip .feature-text {
  order: 2;
}

.feature-row--flip .feature-art {
  order: 1;
}

.feature-text h3 {
  font-size: 1.45rem;
  margin-bottom: 0.55rem;
}

.feature-text p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34rem;
}

.feature-art {
  min-height: 180px;
  border-radius: 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.extras {
  background: color-mix(in srgb, var(--bg-soft) 35%, var(--bg));
}

.extras-stack {
  display: grid;
  gap: 1rem;
}

.extra-row {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.35rem 1.5rem;
  border-left: 4px solid var(--primary);
}

.extra-row h3 {
  margin-bottom: 0.35rem;
}

.extra-row p {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 40rem;
}

.wa-art .bubble {
  max-width: 88%;
  padding: 0.7rem 0.95rem;
  border-radius: 14px;
  font-size: 0.88rem;
}

.bubble.in {
  align-self: flex-end;
  background: var(--primary-muted);
  color: var(--text);
  border-bottom-right-radius: 4px;
}

.bubble.out {
  align-self: flex-start;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  color: var(--muted);
}

.split-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  background: var(--bg-soft);
  font-size: 0.88rem;
}

.split-row .ok {
  color: var(--income);
  font-weight: 600;
}

.split-row .debt {
  color: var(--danger);
  font-weight: 600;
}

.dash-art {
  flex-direction: row;
  align-items: center;
  gap: 1.1rem;
}

.dash-ring {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: conic-gradient(var(--primary) 0 72%, var(--border) 72% 100%);
  mask: radial-gradient(farthest-side, transparent calc(100% - 11px), #000 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 11px), #000 0);
  flex-shrink: 0;
}

.dash-copy span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

.dash-copy strong {
  font-size: 1.55rem;
  color: var(--income);
}

.ticket-art {
  align-items: center;
}

.ticket {
  width: min(180px, 100%);
  background: var(--bg-elevated);
  border: 1px dashed var(--border);
  padding: 1.1rem;
  display: grid;
  gap: 0.65rem;
  font-size: 0.85rem;
  text-align: center;
  font-weight: 600;
}

.ticket-line {
  height: 1px;
  background: var(--border);
}

/* Pricing */
.pricing {
  background: color-mix(in srgb, var(--bg-soft) 40%, var(--bg));
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.plan {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.plan--pro {
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--primary) 20%, transparent),
    var(--shadow);
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--primary-muted) 55%, var(--bg-elevated)),
    var(--bg-elevated) 42%
  );
}

.plan-head {
  display: grid;
  gap: 0.35rem;
}

.plan-badge {
  justify-self: start;
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-muted);
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
}

.plan-head h3 {
  margin: 0;
  font-size: 1.5rem;
}

.plan-price {
  margin: 0.15rem 0 0;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.plan-price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.plan-tag {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.plan-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  flex: 1;
}

.plan-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--primary);
}

.plan .btn {
  width: 100%;
}

.closing {
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, var(--glow), transparent 60%),
    var(--bg);
  text-align: center;
}

.closing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.closing-brand {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  color: var(--primary);
  margin: 0 0 0.5rem;
}

.closing .section-lead {
  text-align: center;
  margin-bottom: 0;
}

.closing .hero-cta {
  align-items: center;
}

.footer {
  padding-block: 2rem 2.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-note {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  opacity: 0.85;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .playground-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    min-height: 340px;
  }

  .phone {
    width: min(240px, 68vw);
  }

  .phone-screen {
    min-height: 340px;
  }

  .why-head,
  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .why-aside {
    justify-self: start;
    max-width: none;
  }

  .why-head-main h2 {
    max-width: none;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pain-grid {
    grid-template-columns: 1fr;
  }

  .feature-row,
  .feature-row--flip {
    grid-template-columns: 1fr;
  }

  .feature-row--flip .feature-text,
  .feature-row--flip .feature-art {
    order: unset;
  }

  .nav .btn-sm {
    display: none;
  }
}

@media (max-width: 560px) {
  :root {
    --page-pad: 1.35rem;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }

  .cursor-glow,
  .has-glow-cursor .cursor-glow {
    display: none !important;
  }
}
