:root {
  --bg-base: #0b0b0f;
  --bg-surface: #15151b;
  --bg-elevated: #1e1e26;
  --bg-input: #25252e;
  --text-primary: #fafafa;
  --text-secondary: #a0a0ab;
  --text-inverse: #0b0b0f;
  --accent: #c7ff3d;
  --accent-pressed: #a8dd22;
  --pink: #ff4d6d;
  --blue: #6dbcff;
  --line: rgba(42, 42, 51, 0.7);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 18%, rgba(199, 255, 61, 0.08), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(109, 188, 255, 0.08), transparent 26rem),
    var(--bg-base);
  font-family: Inter, sans-serif;
}

body.menu-open {
  overflow: hidden;
}

.legal-page {
  min-height: 100vh;
  background: var(--bg-base);
  color: var(--text-primary);
}

.legal-shell {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.legal-shell h1 {
  margin-top: 48px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
}

.legal-shell h2 {
  margin-top: 32px;
  font-size: 20px;
  font-weight: 800;
}

.legal-shell p {
  margin-top: 12px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.legal-shell a {
  color: var(--accent);
}

a,
button {
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease;
}

a:hover,
button:hover {
  transform: translateY(-1px);
}

button:disabled {
  cursor: progress;
  opacity: 0.72;
  transform: none;
}

.brand-mark,
.mini-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bg-base);
  overflow: hidden;
}

.brand-mark img,
.mini-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-mark.small {
  width: 28px;
  height: 28px;
  border-radius: 9px;
}

.mini-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
}

.nav-link {
  color: var(--text-secondary);
}

.nav-link:hover {
  color: var(--text-primary);
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 0 18px;
  font-weight: 700;
  line-height: 1;
}

.btn-lg {
  min-height: 54px;
  padding-inline: 24px;
}

.btn-lime {
  background: var(--accent);
  color: var(--text-inverse);
}

.btn-lime:hover {
  background: var(--accent-pressed);
}

.btn-dark,
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
}

.btn-dark:hover,
.btn-ghost:hover {
  border-color: rgba(199, 255, 61, 0.38);
}

.hero-store-row,
.platform-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mini-store-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0 14px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 800;
}

.mini-store-link img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.mini-store-link.recommended {
  border-color: rgba(199, 255, 61, 0.42);
  background: rgba(199, 255, 61, 0.1);
  color: var(--accent);
}

.platform-strip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 800;
}

.platform-strip img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.icon-btn {
  display: grid;
  width: 44px;
  height: 44px;
  place-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
}

.icon-btn span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-primary);
}

.mobile-menu a {
  display: flex;
  min-height: 42px;
  align-items: center;
  color: var(--text-secondary);
  font-weight: 600;
}

.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  position: absolute;
  inset: 82px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(199, 255, 61, 0.4), transparent);
  content: "";
}

.stat-tile,
.feature-tile,
.feature-card,
.reply-card,
.practice-board,
.trust-panel,
.pricing-card {
  border: 1px solid var(--line);
  background: rgba(21, 21, 27, 0.78);
}

.stat-tile {
  border-radius: 18px;
  padding: 16px;
}

.stat-tile span {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}

.stat-tile p {
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
}

.phone-shell {
  position: relative;
  width: min(390px, 100%);
  min-height: 660px;
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 38px;
  background: linear-gradient(180deg, #1b1b22, #0f0f14);
  padding: 16px;
}

.hero-phone {
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
}

.phone-top {
  display: flex;
  height: 30px;
  align-items: center;
  justify-content: space-between;
  padding-inline: 8px;
  color: var(--text-secondary);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.phone-sensors {
  width: 72px;
  height: 22px;
  border-radius: 999px;
  background: #07070a;
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px 18px;
}

.chat-window {
  display: grid;
  gap: 10px;
  border-radius: 24px;
  background: #0b0b0f;
  padding: 16px;
}

.bubble {
  max-width: 84%;
  border-radius: 18px;
  padding: 11px 13px;
  font-size: 14px;
  line-height: 1.45;
}

.bubble.theirs {
  justify-self: start;
  border-bottom-left-radius: 6px;
  background: var(--bg-input);
  color: var(--text-primary);
}

.bubble.mine {
  justify-self: end;
  border-bottom-right-radius: 6px;
  background: var(--accent);
  color: var(--text-inverse);
  font-weight: 600;
}

.coach-card {
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: var(--bg-surface);
  padding: 18px;
}

.coach-card.active {
  border-color: rgba(199, 255, 61, 0.42);
}

.coach-card.pulse {
  animation: cardPulse 520ms ease;
}

.ghost-card {
  opacity: 0.54;
  transform: scale(0.96);
  transform-origin: top;
}

.intent-chip {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  padding-inline: 10px;
  font-size: 12px;
  font-weight: 800;
}

.intent-chip.flirty {
  background: rgba(255, 77, 109, 0.14);
  color: var(--pink);
}

.intent-chip.funny {
  background: rgba(199, 255, 61, 0.14);
  color: var(--accent);
}

.intent-chip.sincere {
  background: rgba(109, 188, 255, 0.14);
  color: var(--blue);
}

.score {
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  color: var(--accent);
}

.score.big {
  display: block;
  font-size: 36px;
}

.card-action {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding-inline: 13px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-weight: 700;
}

.card-action svg,
.feature-icon svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.4;
}

.card-action.primary {
  background: var(--accent);
  color: var(--text-inverse);
}

.floating-panel {
  position: absolute;
  max-width: 220px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(21, 21, 27, 0.82);
  padding: 16px;
  backdrop-filter: blur(14px);
}

.floating-panel strong {
  display: block;
  margin-top: 6px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 18px;
}

.floating-panel p {
  margin-top: 6px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.45;
}

.panel-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.panel-left {
  bottom: 54px;
  left: 0;
}

.panel-right {
  right: 0;
  top: 112px;
}

.section-band {
  position: relative;
}

.lime-band {
  color: var(--text-inverse);
}

.section-title {
  max-width: 760px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.steps-grid {
  display: grid;
  gap: 12px;
}

.step-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(21, 21, 27, 0.72);
  padding: 20px;
}

.step-card span {
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 800;
}

.step-card h3 {
  margin-top: 18px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.05;
}

.step-card p {
  margin-top: 10px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.reply-card {
  min-height: 260px;
  border-radius: 22px;
  padding: 22px;
}

.reply-card p {
  margin-top: 28px;
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45;
}

.reply-card small {
  display: block;
  margin-top: 18px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.feature-tile {
  border-radius: 18px;
  padding: 18px;
}

.feature-tile span {
  font-family: "JetBrains Mono", monospace;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.feature-tile strong,
.feature-card h3,
.trust-grid strong {
  display: block;
  margin-top: 10px;
  font-weight: 800;
}

.feature-tile p,
.feature-card p,
.trust-grid p,
.pricing-card p {
  margin-top: 8px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.practice-board {
  border-radius: 28px;
  padding: 22px;
}

.practice-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.practice-header h3 {
  margin-top: 8px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.level-pill {
  border-radius: 999px;
  background: rgba(199, 255, 61, 0.12);
  padding: 8px 12px;
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 700;
}

.practice-chat {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.hint-row {
  border: 1px solid rgba(199, 255, 61, 0.16);
  border-radius: 999px;
  background: rgba(199, 255, 61, 0.08);
  padding: 10px 13px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.debrief-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px;
}

.debrief-row p {
  color: var(--text-secondary);
}

.feature-card {
  border-radius: 20px;
  padding: 20px;
}

.feature-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: rgba(199, 255, 61, 0.12);
  color: var(--accent);
}

.trust-panel {
  display: grid;
  gap: 36px;
  border-radius: 28px;
  padding: 28px;
}

.trust-grid {
  display: grid;
  gap: 18px;
}

.pricing-card {
  max-width: 360px;
  border-color: rgba(11, 11, 15, 0.14);
  border-radius: 20px;
  background: rgba(11, 11, 15, 0.88);
  padding: 22px;
  color: var(--text-primary);
}

.pricing-card span {
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.pricing-card strong {
  display: block;
  margin-top: 10px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 34px;
}

.store-buttons {
  display: grid;
  max-width: 560px;
  grid-template-columns: minmax(0, min(100%, 320px));
  justify-content: center;
  gap: 10px;
}

.store-button {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(250, 250, 250, 0.96);
  color: var(--text-inverse);
  font-weight: 800;
}

.store-button.recommended {
  outline: 2px solid rgba(199, 255, 61, 0.58);
  outline-offset: 3px;
}

.store-button img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.store-button span {
  display: grid;
  gap: 2px;
  text-align: left;
}

.store-button small {
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.72;
}

.download-panel {
  display: grid;
  gap: 24px;
  border: 1px solid rgba(199, 255, 61, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(199, 255, 61, 0.1), transparent 38%),
    rgba(21, 21, 27, 0.78);
  padding: 28px;
}

.download-panel h2 {
  margin-top: 10px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1;
}

.download-panel p {
  margin-top: 14px;
  max-width: 580px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.7;
}

.store-buttons.compact {
  width: 100%;
  max-width: none;
  align-self: center;
}

.signup-form {
  display: grid;
  max-width: 560px;
  gap: 10px;
}

.signup-form input {
  min-height: 56px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: var(--bg-input);
  padding: 0 16px;
  color: var(--text-primary);
  font-weight: 600;
  outline: none;
}

.signup-form .honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  min-height: 1px;
  opacity: 0;
  pointer-events: none;
}

.signup-form input:focus {
  border-color: rgba(199, 255, 61, 0.54);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sticky-download {
  position: fixed;
  inset: auto 12px 12px;
  z-index: 60;
  display: none;
  grid-template-columns: 1fr;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(11, 11, 15, 0.86);
  padding: 8px;
  backdrop-filter: blur(18px);
}

.sticky-download a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--text-inverse);
  font-size: 14px;
  font-weight: 900;
}

.sticky-download img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

@keyframes cardPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(199, 255, 61, 0.3);
  }
  100% {
    box-shadow: 0 0 0 16px rgba(199, 255, 61, 0);
  }
}

@media (min-width: 640px) {
  .signup-form {
    grid-template-columns: 1fr auto;
  }
}

@media (min-width: 900px) {
  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trust-panel {
    grid-template-columns: 0.85fr 1.15fr;
    padding: 40px;
  }

  .trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .download-panel {
    grid-template-columns: 1fr 420px;
    align-items: center;
    padding: 40px;
  }
}

@media (max-width: 1023px) {
  .panel-left {
    left: 8px;
  }

  .panel-right {
    right: 8px;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 76px;
  }

  .sticky-download {
    display: grid;
  }

  .phone-shell {
    min-height: 620px;
    border-radius: 30px;
  }

  .floating-panel {
    position: relative;
    inset: auto;
    max-width: none;
    margin-top: 12px;
  }

  .hero-phone {
    margin-bottom: 16px;
  }

  .stat-tile {
    padding: 13px;
  }

  .reply-card {
    min-height: auto;
  }

  .debrief-row {
    align-items: stretch;
    flex-direction: column;
  }
}
