/* 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-open-app,
.btn-open-app:hover,
.btn-open-app:active,
.btn-open-app:focus {
  transform: none !important;
}

.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);
}

.btn-store-dl {
  padding: 0.7rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  gap: 0.55rem;
}

.btn-store-dl:active {
  transform: none;
}

.store-ico {
  flex-shrink: 0;
  display: block;
}

.js-app-store.btn-store-dl {
  background: #111111;
  border-color: #111111;
  color: #fff;
}

.js-app-store.btn-store-dl:hover {
  background: #2a2a2a;
  border-color: #2a2a2a;
  color: #fff;
}

.js-play-store.btn-store-dl {
  background: #111111;
  border-color: #111111;
  color: #fff;
}

.js-play-store.btn-store-dl:hover {
  background: #2a2a2a;
  border-color: #2a2a2a;
  color: #fff;
}

[data-theme="dark"] .js-app-store.btn-store-dl {
  background: #f3efe6;
  border-color: #f3efe6;
  color: #111;
}

[data-theme="dark"] .js-app-store.btn-store-dl:hover {
  background: #fff;
  border-color: #fff;
  color: #111;
}

[data-theme="dark"] .js-play-store.btn-store-dl {
  background: #f3efe6;
  border-color: #f3efe6;
  color: #111;
}

[data-theme="dark"] .js-play-store.btn-store-dl:hover {
  background: #fff;
  border-color: #fff;
  color: #111;
}

.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: 460px;
  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;
}

/* iPhone mock — marco plateado tipo referencia */
.phone {
  position: relative;
  width: min(278px, 74vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
  aspect-ratio: auto;
  height: auto;
}

.phone::before,
.phone::after {
  display: none;
}

.phone-bezel {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16.8;
  padding: 9px;
  border-radius: 44px;
  background:
    linear-gradient(
      155deg,
      #e8eef5 0%,
      #c5d0dc 22%,
      #9aabbb 48%,
      #d2dbe6 72%,
      #f2f5f8 100%
    );
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.85),
    inset 0 -1px 1px rgba(80, 100, 120, 0.25),
    0 0 0 1px rgba(120, 140, 160, 0.35),
    0 18px 40px rgba(40, 60, 80, 0.18),
    0 40px 70px rgba(40, 60, 80, 0.12);
  box-sizing: border-box;
}

[data-theme="dark"] .phone-bezel {
  background:
    linear-gradient(
      155deg,
      #8a939c 0%,
      #6a737c 22%,
      #4e575f 48%,
      #717a83 72%,
      #9aa3ab 100%
    );
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.28),
    inset 0 -1px 1px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(0, 0, 0, 0.45),
    0 18px 40px rgba(0, 0, 0, 0.35),
    0 40px 70px rgba(0, 0, 0, 0.28);
}

.phone-bezel::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 41px;
  background: #0b0b0c;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 0;
}

.phone-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 36px;
  overflow: hidden;
  background: #f5f6f8;
}

.phone-island {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 80px;
  height: 22px;
  padding-right: 7px;
  transform: translateX(-50%);
  background: #000;
  border-radius: 999px;
}

.phone-island-cam {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #243556, #0c1424 60%, #000);
  box-shadow: inset 0 0 0 1px rgba(100, 140, 220, 0.3);
}

.phone-status {
  position: absolute;
  top: 19px;
  left: 0;
  right: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1fr);
  align-items: center;
  /* mismo inicio que el contenido de pantalla (bezel 9px + screen pad 1.1rem) */
  padding: 0 calc(9px + 1.1rem);
  pointer-events: none;
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

.phone-time {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  justify-self: start;
  padding-left: 10px;
  width: auto;
}

.phone-status-gap {
  display: block;
  width: 100%;
  height: 1px;
}

.phone-status-icons {
  display: flex;
  align-items: center;
  gap: 0.22rem;
  justify-self: end;
  width: auto;
  padding-right: 0;
}

.phone-ico {
  display: block;
  flex-shrink: 0;
}

.phone-screen {
  background: #f5f6f8;
  border-radius: 36px;
  padding: 2.75rem 1.1rem 1.5rem;
  color: var(--text);
  position: absolute;
  inset: 0;
  min-height: 0;
  height: 100%;
  display: none;
  flex-direction: column;
  box-sizing: border-box;
}

.phone-screen.is-active {
  display: flex;
  animation: phone-fade 0.35s ease;
}

.phone-screen[hidden] {
  display: none !important;
}

.phone-home {
  position: absolute;
  left: 50%;
  bottom: 7px;
  z-index: 2;
  width: 36%;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  pointer-events: none;
}

[data-theme="dark"] .phone-stage,
[data-theme="dark"] .phone-screen {
  background: var(--phone-screen);
}

[data-theme="dark"] .phone-status {
  color: #f3efe6;
}

[data-theme="dark"] .phone-home {
  background: rgba(243, 239, 230, 0.35);
}

@keyframes phone-fade {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 1;
  }
}

.phone-screen-title {
  margin: 0.85rem 0 1rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.phone-wa-feed {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.phone-split-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.phone-split-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: var(--bg-soft);
  font-size: 0.82rem;
}

.phone-split-row .ok {
  color: var(--income);
  font-weight: 600;
}

.phone-split-row .debt {
  color: var(--danger);
  font-weight: 600;
  font-size: 0.78rem;
}

.phone-split-caption {
  margin-top: auto;
  padding-top: 1rem;
  padding-bottom: 0.5rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.phone-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 0 0;
}

.phone-dot {
  width: 0.4rem;
  height: 0.4rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--text) 22%, transparent);
  cursor: pointer;
}

.phone-dot.is-active {
  background: var(--primary);
  width: 0.9rem;
  border-radius: 999px;
}

.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.1rem;
}

.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.45rem;
  height: 100px;
  margin-bottom: 2rem;
  padding: 0 0.1rem;
}

.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;
  min-width: 0;
}

.bar span {
  position: absolute;
  bottom: -1.45rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  color: var(--muted);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.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: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.4rem;
  min-height: 5.25rem;
  height: 5.25rem;
  overflow: hidden;
  padding-bottom: 0.35rem;
}

.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: none;
}

.hero-visual {
  perspective: none;
}

.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: 1.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(280px, 100%);
  background: #fff;
  border: 1px dashed var(--border);
  padding: 1.15rem 1.1rem 1rem;
  display: grid;
  gap: 0.4rem;
  font: inherit;
  font-size: 0.82rem;
  text-align: left;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(11, 26, 20, 0.08);
}

[data-theme="dark"] .ticket-btn {
  background: var(--bg-elevated);
}

.ticket-store {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-align: center;
}

.ticket-meta {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  font-weight: 500;
}

.ticket-items {
  list-style: none;
  margin: 0.15rem 0;
  padding: 0;
  display: grid;
  gap: 0.28rem;
  font-size: 0.78rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  filter: blur(3px);
  opacity: 0.45;
  transition: filter 0.45s ease, opacity 0.45s ease;
}

.ticket-items li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.ticket-items li span:last-child {
  flex-shrink: 0;
  font-weight: 600;
}

.ticket-btn.is-done .ticket-items,
.ticket-btn.is-revealed .ticket-items {
  filter: none;
  opacity: 1;
}

.ticket-total-row {
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  letter-spacing: 0.02em;
}

.ticket-cta {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary);
  text-align: center;
  margin-top: 0.25rem;
}

.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(--border);
}

@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;
}

.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;
  text-align: center;
  justify-items: center;
}

.band-kicker {
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
  margin: 0;
}

.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: #1a2621;
}

/* —— Sections —— */
.section {
  padding-block: clamp(3.75rem, 9vh, 6.5rem);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
  align-items: start;
  margin-bottom: clamp(1.75rem, 4vh, 2.75rem);
}

.section-head h2 {
  margin-bottom: 0;
}

.section-lead {
  color: var(--muted);
  max-width: none;
  width: 100%;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.section-lead.tight {
  margin-bottom: 0;
}

.why {
  background: var(--bg-elevated);
}

.why-head {
  display: grid;
  gap: 0.45rem;
  margin-bottom: clamp(2rem, 5vh, 3rem);
  max-width: none;
}

.why-kicker {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}

.why-head h2 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  max-width: none;
}

.why-aside {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: none;
  width: 100%;
}

.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(calc(1.45rem - 2px), 2.2vw, calc(1.75rem - 2px));
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.why-card h3 {
  margin: 0;
  font-size: calc(1.15rem - 2px);
  font-weight: 600;
}

.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 — sticky left rail + scrolling demos (Monologue pattern) */
.features-intro h2 {
  max-width: none;
}

.feature-pin {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) 1.08fr;
  gap: clamp(1.5rem, 4vw, 3.25rem);
  align-items: start;
}

.feature-pin-left {
  position: sticky;
  top: 5.5rem;
  align-self: start;
  display: grid;
  gap: 1.75rem;
  padding-block: 0.5rem;
  max-height: calc(100vh - 6rem);
  overflow: auto;
}

.feature-rail {
  display: grid;
  gap: 0.15rem;
  border-left: 2px solid var(--border);
  padding-left: 0;
}

.feature-rail-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  margin: 0;
  padding: 0.7rem 0.85rem 0.7rem 1rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: color 0.25s ease;
}

.feature-rail-bar {
  position: absolute;
  left: -2px;
  top: 0.55rem;
  bottom: 0.55rem;
  width: 2px;
  border-radius: 2px;
  background: transparent;
  transition: background 0.25s ease, transform 0.25s ease;
  transform: scaleY(0.4);
}

.feature-rail-item:hover {
  color: var(--text);
}

.feature-rail-item.is-active {
  color: var(--primary);
}

.feature-rail-item.is-active .feature-rail-bar {
  background: var(--primary);
  transform: scaleY(1);
}

.feature-pin-copy {
  display: grid;
  gap: 0.85rem;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.feature-pin-copy.is-swap {
  opacity: 0;
  transform: translateY(8px);
}

.feature-eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--primary);
}

.feature-pin-copy h3 {
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: none;
}

.feature-pin-copy > p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 32rem;
  margin: 0;
}

.mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.mode-tab {
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mode-tab:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--primary) 40%, var(--border));
}

.mode-tab.is-active {
  background: var(--primary-muted);
  border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
  color: var(--primary);
}

.proof-list {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.proof {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  opacity: 0.45;
  transform: translateY(4px);
  transition: opacity 0.35s ease, transform 0.35s ease, color 0.35s ease;
}

.proof.is-on {
  opacity: 1;
  transform: none;
  color: var(--text);
}

.proof-mark {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--primary-muted);
  color: var(--primary);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.feature-pin-right {
  display: grid;
  gap: clamp(1.5rem, 4vh, 2.5rem);
}

.feature-slide {
  min-height: min(85vh, 640px);
  display: flex;
  align-items: center;
  scroll-margin-top: 6rem;
  opacity: 0.38;
  transform: translateY(22px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.feature-slide.is-active {
  opacity: 1;
  transform: none;
}

.feature-stage {
  width: 100%;
  min-height: 320px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 1.5rem 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  box-shadow: 0 18px 48px rgba(11, 26, 20, 0.1);
}

[data-theme="dark"] .feature-stage {
  background: var(--bg-elevated);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
}

.stage-chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border);
}

.wa-thread {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 160px;
  justify-content: center;
  padding: 0.5rem 0;
}

.wa-thread .bubble {
  max-width: 88%;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  font-size: 0.92rem;
  animation: bubble-in 0.35s ease;
}

.stage-caption {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

.split-rows {
  display: grid;
  gap: 0.55rem;
}

@keyframes bubble-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.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: 1px solid var(--primary);
}

.extra-row h3 {
  margin-bottom: 0.35rem;
}

.extra-row p {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: none;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .extra-row p {
    white-space: normal;
  }
}

.wa-thread .bubble.in,
.bubble.in {
  align-self: flex-end;
  background: var(--primary-muted);
  color: var(--text);
  border-bottom-right-radius: 4px;
}

.wa-thread .bubble.out,
.bubble.out {
  align-self: flex-start;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  color: var(--muted);
}

.wa-art .bubble {
  max-width: 88%;
  padding: 0.7rem 0.95rem;
  border-radius: 14px;
  font-size: 0.88rem;
}

.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%;
  margin-top: auto;
  flex-shrink: 0;
}

.plan-cta {
  margin-top: auto;
  display: grid;
  gap: 0.55rem;
  flex-shrink: 0;
}

.plan--pro .js-pay,
.plan--pro .js-pay:hover,
.plan--pro .js-pay:active,
.plan--pro .js-pay:focus {
  position: static;
  transform: none !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.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: 400px;
  }

  .phone {
    width: min(260px, 76vw);
  }

  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pain-grid {
    grid-template-columns: 1fr;
  }

  .feature-pin {
    grid-template-columns: 1fr;
  }

  .feature-pin-left {
    position: static;
    max-height: none;
    overflow: visible;
    gap: 1.15rem;
  }

  .feature-rail {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    border-left: 0;
    padding: 0.35rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 16px;
  }

  .feature-rail-item {
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
  }

  .feature-rail-bar {
    display: none;
  }

  .feature-rail-item.is-active {
    background: var(--primary-muted);
  }

  .feature-pin-copy h3 {
    max-width: none;
  }

  .feature-slide {
    min-height: 0;
    opacity: 1;
    transform: none;
  }

  .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;
  }
}
