:root {
  --ink: #2f3237;
  --muted: #6d737d;
  --line: #dedede;
  --paper: #ffffff;
  --soft: #f6f8f5;
  --green: #75d80e;
  --green-dark: #50a900;
  --green-soft: #e7f8e4;
  --blue: #0d7df2;
  --danger: #c9382f;
  --shadow: 0 20px 55px rgba(33, 39, 47, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "Avenir Next", "Trebuchet MS", Verdana, sans-serif;
  background:
    radial-gradient(circle at 50% 0%, rgba(117, 216, 14, 0.08), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--blue);
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.page-shell {
  width: min(1080px, calc(100% - 34px));
  margin: 0 auto;
  padding: 26px 0 76px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(117, 42, 28, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 26px);
  color: #444;
  font-size: 1rem;
  font-weight: 700;
}

.nav-links a,
.nav-links button {
  border: 0;
  color: inherit;
  background: transparent;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links button:hover {
  color: var(--green-dark);
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(48px, 9vw, 92px) 0 34px;
  text-align: center;
}

.mascot-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.mascot-bubble {
  position: relative;
  display: grid;
  width: 118px;
  height: 118px;
  place-items: center;
  border: 1px solid rgba(117, 216, 14, 0.38);
  border-radius: 999px;
  background: radial-gradient(circle at 50% 52%, rgba(117, 216, 14, 0.22), rgba(255, 255, 255, 0.94) 64%);
  box-shadow: 0 16px 38px rgba(80, 169, 0, 0.18);
  animation: mascotFloat 4s ease-in-out infinite;
}

.mascot-bubble::after {
  position: absolute;
  right: 13px;
  bottom: 15px;
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: var(--green);
  content: "";
}

.mascot-bubble img {
  width: 104px;
  height: 104px;
  border-radius: 0;
}

.mascot-note {
  max-width: 210px;
  padding: 12px 14px;
  border: 1px solid #dff0d7;
  border-radius: 16px 16px 16px 5px;
  background: #fbfff8;
  box-shadow: 0 12px 30px rgba(33, 39, 47, 0.07);
  color: var(--muted);
  text-align: left;
}

.mascot-note strong,
.mascot-note span {
  display: block;
}

.mascot-note strong {
  color: var(--ink);
}

.mascot-note span {
  margin-top: 2px;
  font-size: 0.9rem;
  line-height: 1.35;
}

h1 {
  margin: 0;
  color: #3a3d42;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.045em;
}

.hero-subtitle {
  width: min(760px, 100%);
  margin: 14px auto 42px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.download-form {
  width: min(760px, 100%);
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  border: 6px solid var(--green);
  background: var(--green);
}

.search-row input {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 0;
  padding: 0 16px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
}

.search-row input:focus {
  box-shadow: inset 0 0 0 2px rgba(80, 169, 0, 0.28);
}

.search-row button {
  min-height: 52px;
  border: 0;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.terms-line {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 10px;
  color: #555b63;
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: left;
}

.terms-line input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--green-dark);
}

.quick-help {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  font-weight: 800;
}

.demo-link {
  border: 0;
  color: var(--blue);
  background: transparent;
  font-weight: 900;
  text-decoration: underline;
}

.quick-help a::before {
  display: inline-grid;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  place-items: center;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  content: "▶";
  font-size: 0.72rem;
  vertical-align: middle;
}

.service-status {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
  color: #24272c;
  font-weight: 800;
}

.service-status span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-status span::before {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  content: "";
}

.status-line {
  width: min(760px, 100%);
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid #dce8d6;
  border-radius: 10px;
  background: #fbfff8;
  color: var(--muted);
  text-align: left;
}

.status-line.loading {
  border-color: #b8ddaa;
  color: #438b00;
}

.status-line.error {
  border-color: rgba(201, 56, 47, 0.32);
  background: #fff7f6;
  color: var(--danger);
}

.supported-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 20px auto 70px;
}

.supported-strip article {
  min-height: 58px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--green-soft);
  color: #202328;
  box-shadow: 0 10px 24px rgba(33, 39, 47, 0.05);
}

.results-card,
.pro-section {
  width: min(840px, 100%);
  margin: 0 auto 64px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.section-heading p,
.section-kicker {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading h2,
.pro-section h2,
.sources h2 {
  margin: 0;
  color: #303338;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -0.035em;
}

.result-preview {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  margin-top: 20px;
  align-items: center;
}

.result-preview img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(33, 39, 47, 0.12);
}

.result-meta p {
  margin: 0 0 8px;
  color: var(--muted);
}

.media-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.media-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.media-item strong,
.media-item small {
  display: block;
}

.media-item small {
  margin-top: 4px;
  color: var(--muted);
}

.media-action {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.sources {
  margin: 0 auto 70px;
  text-align: center;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 46px;
  width: min(760px, 100%);
  margin: 34px auto 0;
  text-align: left;
}

.source-grid span {
  color: #23262b;
  font-weight: 800;
}

.pro-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: center;
}

.pro-section p {
  color: var(--muted);
  line-height: 1.62;
}

.price-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 16px;
  background: var(--green-soft);
}

.price-card span {
  color: #1f252d;
  font-size: 1.3rem;
  font-weight: 900;
}

.price-card button {
  min-height: 48px;
  border: 0;
  border-radius: 9px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.price-card .subtle-button {
  border: 1px solid rgba(80, 169, 0, 0.22);
  background: #fff;
  color: var(--green-dark);
}

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

@keyframes mascotFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(100% - 24px, 1080px);
    padding-top: 18px;
  }

  .site-header,
  .nav-links,
  .mascot-wrap,
  .pro-section {
    align-items: center;
  }

  .site-header {
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
  }

  .hero {
    padding-top: 38px;
  }

  .mascot-wrap {
    flex-direction: column;
  }

  .mascot-note {
    border-radius: 16px;
    text-align: center;
  }

  .search-row {
    grid-template-columns: 1fr;
  }

  .supported-strip,
  .source-grid,
  .pro-section,
  .result-preview {
    grid-template-columns: 1fr;
  }

  .supported-strip {
    margin-bottom: 52px;
  }

  .source-grid {
    width: min(360px, 100%);
    gap: 18px;
  }
}

.legal-page {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 80px;
  color: var(--ink);
}

.legal-page h1 {
  margin-top: 24px;
  text-align: left;
}

.legal-page p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.legal-back {
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

.onboarding-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 18%, rgba(117, 216, 14, 0.22), transparent 26rem),
    radial-gradient(circle at 82% 72%, rgba(201, 56, 47, 0.28), transparent 30rem),
    rgba(3, 5, 8, 0.78);
  backdrop-filter: blur(18px);
}

.onboarding-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(290px, 386px) minmax(260px, 330px);
  gap: 34px;
  align-items: start;
  max-width: 840px;
  width: min(100%, 840px);
  animation: onboardingIn 420ms cubic-bezier(0.2, 0.9, 0.24, 1) both;
}

.onboarding-close {
  position: absolute;
  top: -42px;
  right: 0;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
}

.onboarding-phone {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  padding: 24px 22px 26px;
  border: 10px solid #050506;
  border-radius: 52px;
  background:
    radial-gradient(circle at 50% 35%, rgba(117, 216, 14, 0.2), transparent 13rem),
    radial-gradient(circle at 50% 4%, rgba(255, 255, 255, 0.08), transparent 8rem),
    #101112;
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.52), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  color: #fff;
}

.onboarding-phone::before {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 96px;
  height: 28px;
  border-radius: 999px;
  background: #050506;
  content: "";
  transform: translateX(-50%);
}

.phone-topbar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 900;
}

.phone-topbar span:first-child {
  display: inline-grid;
  min-width: 56px;
  min-height: 25px;
  place-items: center;
  border-radius: 999px;
  background: #ef2f4c;
  color: #fff;
}

.onboarding-progress {
  height: 7px;
  margin: 32px 24px 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.onboarding-progress span {
  display: block;
  width: 33.33%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), #dfff65);
  transition: width 260ms ease;
}

.onboarding-visual {
  position: relative;
  display: grid;
  min-height: 310px;
  place-items: center;
}

.onboarding-visual img {
  position: relative;
  z-index: 2;
  width: 188px;
  height: 188px;
  filter: drop-shadow(0 26px 32px rgba(0, 0, 0, 0.42));
  animation: mascotFloat 4s ease-in-out infinite;
}

.orbit {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.orbit-one {
  width: 164px;
  height: 164px;
  border: 16px solid rgba(124, 160, 255, 0.35);
  box-shadow: 0 0 34px rgba(124, 160, 255, 0.26);
  transform: translateY(56px) rotate(-8deg) scaleY(0.32);
}

.orbit-two {
  width: 236px;
  height: 236px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle, rgba(117, 216, 14, 0.12), transparent 62%);
}

.onboarding-kicker {
  margin: 2px 18px 10px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.onboarding-phone h2 {
  min-height: 88px;
  margin: 0 18px;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.onboarding-phone p:not(.onboarding-kicker) {
  min-height: 74px;
  margin: 18px 18px 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 1.02rem;
  line-height: 1.55;
}

.onboarding-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.onboarding-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.24);
}

.onboarding-dots button.active {
  width: 28px;
  background: var(--green);
}

.onboarding-primary {
  width: 100%;
  min-height: 58px;
  margin-top: 22px;
  border: 0;
  border-radius: 999px;
  background: #f2f3ef;
  color: #101112;
  font-weight: 950;
  box-shadow: 0 10px 0 rgba(255, 255, 255, 0.12);
}

.onboarding-card {
  display: grid;
  gap: 18px;
  margin-top: 16px;
  color: #fff;
}

.stat-alert,
.mini-app-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(10, 10, 11, 0.92);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.34);
}

.stat-alert {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  padding: 18px;
}

.stat-alert strong,
.mini-app-card strong {
  display: block;
  font-size: 1.08rem;
}

.stat-alert span,
.mini-app-card span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.94rem;
}

.stat-alert button {
  grid-row: 1 / span 2;
  min-width: 76px;
  border: 0;
  border-radius: 999px;
  background: #1da1f2;
  color: #fff;
  font-weight: 900;
}

.mini-app-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
}

.mini-app-card img {
  width: 62px;
  height: 62px;
  border-radius: 16px;
}

@keyframes onboardingIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 820px) {
  .onboarding-overlay {
    padding: 14px;
    align-items: start;
    overflow: auto;
  }

  .onboarding-shell {
    grid-template-columns: 1fr;
    gap: 14px;
    width: min(100%, 390px);
    padding-top: 48px;
  }

  .onboarding-phone {
    min-height: 650px;
    border-radius: 44px;
  }

  .onboarding-card {
    display: none;
  }
}

body.modal-open {
  overflow: hidden;
}

/* Onboarding v2 polish: closer to a premium mobile-app launch screen. */
.onboarding-overlay {
  background:
    radial-gradient(circle at 18% 16%, rgba(117, 216, 14, 0.22), transparent 23rem),
    radial-gradient(circle at 82% 78%, rgba(216, 45, 40, 0.18), transparent 25rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 241, 0.96));
  backdrop-filter: blur(10px);
}

.onboarding-shell {
  grid-template-columns: minmax(300px, 392px) minmax(280px, 350px);
  gap: 42px;
  align-items: center;
  max-width: 900px;
}

.onboarding-close {
  top: -48px;
  color: #15171b;
  border-color: rgba(21, 23, 27, 0.14);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 32px rgba(21, 23, 27, 0.1);
}

.onboarding-phone {
  min-height: 705px;
  padding: 24px 22px 24px;
  border: 12px solid #070707;
  border-radius: 58px;
  background:
    radial-gradient(circle at 52% 38%, rgba(117, 216, 14, 0.22), transparent 12rem),
    radial-gradient(circle at 50% 66%, rgba(210, 35, 34, 0.18), transparent 13rem),
    linear-gradient(180deg, #121314, #08090a);
  transform: rotate(-1.2deg);
}

.onboarding-phone::after {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 44px;
  content: "";
  pointer-events: none;
}

.onboarding-visual {
  min-height: 324px;
}

.onboarding-visual img {
  width: 214px;
  height: 214px;
  transition: transform 260ms ease, filter 260ms ease;
}

.onboarding-overlay[data-onboarding-step="1"] .onboarding-visual img {
  transform: translateY(-8px) rotate(4deg) scale(1.04);
}

.onboarding-overlay[data-onboarding-step="2"] .onboarding-visual img {
  transform: translateY(-4px) rotate(-3deg) scale(1.02);
}

.visual-chip {
  position: absolute;
  z-index: 3;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0 13px;
  color: #f9fff5;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.02em;
  backdrop-filter: blur(10px);
}

.chip-left {
  left: 12px;
  top: 92px;
}

.chip-right {
  right: 6px;
  top: 210px;
  background: rgba(117, 216, 14, 0.18);
}

.onboarding-phone h2 {
  min-height: 100px;
  font-size: clamp(2.35rem, 5vw, 3.38rem);
}

.onboarding-primary {
  background: linear-gradient(180deg, #f9faf5, #e8ece3);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.onboarding-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 0 rgba(255, 255, 255, 0.13), 0 22px 40px rgba(117, 216, 14, 0.12);
}

.onboarding-card {
  margin-top: 0;
  transform: rotate(1.2deg);
}

.stat-alert,
.mini-app-card,
.onboarding-proof {
  background: rgba(10, 10, 11, 0.96);
  border-color: rgba(255, 255, 255, 0.13);
}

.stat-alert {
  min-height: 116px;
  align-items: center;
}

.stat-alert strong {
  font-size: 1.24rem;
}

.mini-app-card {
  min-height: 96px;
}

.onboarding-proof {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.22);
}

.onboarding-proof span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: var(--green);
  color: #111;
  font-weight: 950;
}

.onboarding-proof strong {
  align-self: center;
  color: rgba(255, 255, 255, 0.84);
}

@media (max-width: 820px) {
  .onboarding-shell,
  .onboarding-phone,
  .onboarding-card {
    transform: none;
  }

  .onboarding-phone {
    min-height: 690px;
  }

  .onboarding-visual img {
    width: 198px;
    height: 198px;
  }
}

/* Compact welcome-video onboarding: avoids overflow and leaves a real video slot. */
.onboarding-overlay {
  padding: 16px;
  align-items: center;
  overflow: auto;
}

.onboarding-shell {
  grid-template-columns: minmax(280px, 360px) minmax(240px, 300px);
  gap: 24px;
  max-width: 720px;
}

.onboarding-phone {
  min-height: auto;
  height: min(620px, calc(100vh - 72px));
  padding: 22px 20px 20px;
  border-width: 10px;
  border-radius: 46px;
  transform: none;
}

.onboarding-progress {
  margin-top: 24px;
}

.onboarding-visual {
  min-height: 238px;
}

.welcome-video-card {
  margin: 18px 6px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 46%, rgba(117, 216, 14, 0.16), transparent 68%),
    rgba(255, 255, 255, 0.045);
}

.welcome-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.welcome-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.welcome-fallback[hidden] {
  display: none !important;
}

.onboarding-visual img {
  width: 148px;
  height: 148px;
}

.onboarding-phone h2 {
  min-height: 68px;
  margin: 12px 12px 0;
  font-size: clamp(1.72rem, 4.5vw, 2.35rem);
  line-height: 1.02;
}

.onboarding-phone p:not(.onboarding-kicker) {
  min-height: 54px;
  margin: 12px 12px 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.onboarding-kicker {
  margin: 16px 12px 8px;
}

.onboarding-dots {
  margin-top: 14px;
}

.onboarding-primary {
  min-height: 50px;
  margin-top: 16px;
}

.onboarding-card {
  transform: none;
}

.onboarding-proof {
  display: none;
}

.stat-alert {
  min-height: 96px;
  padding: 15px;
}

.mini-app-card {
  min-height: 82px;
}

.chip-left {
  left: 18px;
  top: 22px;
}

.chip-right {
  right: 18px;
  top: auto;
  bottom: 20px;
}

@media (max-width: 760px) {
  .onboarding-shell {
    grid-template-columns: 1fr;
    width: min(100%, 370px);
    padding-top: 42px;
  }

  .onboarding-phone {
    height: min(600px, calc(100vh - 40px));
  }

  .onboarding-card {
    display: none;
  }
}

/* First onboarding screen: stronger reference-style hero typography. */
.onboarding-overlay[data-onboarding-step="0"] .onboarding-phone h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 6vw, 3.15rem);
  font-weight: 900;
  letter-spacing: -0.075em;
}

.onboarding-overlay[data-onboarding-step="0"] .onboarding-primary {
  background: linear-gradient(180deg, #35df63, #20c64f);
  color: #ffffff;
  box-shadow: 0 8px 0 rgba(12, 120, 43, 0.38);
}

.onboarding-overlay[data-onboarding-step="0"] .onboarding-kicker {
  color: #7ee75b;
}

/* Reference-style first screen: no top video, large centered type like the supplied phone mock. */
.onboarding-overlay[data-onboarding-step="0"] .onboarding-shell {
  grid-template-columns: minmax(300px, 390px);
  max-width: 390px;
}

.onboarding-overlay[data-onboarding-step="0"] .onboarding-card {
  display: none;
}

.onboarding-overlay[data-onboarding-step="0"] .onboarding-phone {
  height: min(760px, calc(100vh - 56px));
  padding: 22px 22px 22px;
  border-radius: 54px;
  background:
    radial-gradient(circle at 74% 30%, rgba(255, 78, 65, 0.16), transparent 13rem),
    radial-gradient(circle at 36% 54%, rgba(117, 216, 14, 0.12), transparent 12rem),
    linear-gradient(180deg, #111213 0%, #0d0e0f 46%, #13080a 100%);
}

.onboarding-overlay[data-onboarding-step="0"] .onboarding-progress {
  margin: 31px 24px 0;
}

.onboarding-overlay[data-onboarding-step="0"] .welcome-video-card {
  position: absolute;
  inset: auto 34px 454px 34px;
  min-height: 96px;
  margin: 0;
  border: 0;
  background: transparent;
  overflow: visible;
  pointer-events: none;
}

.onboarding-overlay[data-onboarding-step="0"] .welcome-video,
.onboarding-overlay[data-onboarding-step="0"] .welcome-fallback img,
.onboarding-overlay[data-onboarding-step="0"] .orbit {
  display: none !important;
}

.onboarding-overlay[data-onboarding-step="0"] .welcome-fallback {
  display: block;
  position: relative;
}

.onboarding-overlay[data-onboarding-step="0"] .visual-chip {
  min-height: 30px;
  padding: 0 11px;
  font-size: 0.72rem;
  background: rgba(70, 92, 255, 0.16);
  border-color: rgba(118, 149, 255, 0.32);
  box-shadow: 0 0 18px rgba(87, 115, 255, 0.26);
}

.onboarding-overlay[data-onboarding-step="0"] .chip-left {
  left: 16px;
  top: 34px;
  transform: rotate(7deg);
}

.onboarding-overlay[data-onboarding-step="0"] .chip-right {
  right: 4px;
  bottom: auto;
  top: 4px;
  background: rgba(255, 92, 77, 0.16);
  border-color: rgba(255, 126, 111, 0.38);
  box-shadow: 0 0 18px rgba(255, 92, 77, 0.22);
}

.onboarding-overlay[data-onboarding-step="0"] .onboarding-kicker {
  margin: 98px 18px 0;
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
}

.onboarding-overlay[data-onboarding-step="0"] .onboarding-phone h2 {
  min-height: 0;
  margin: 30px 18px 0;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.62rem, 13.4vw, 5.15rem);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.088em;
  white-space: pre-line;
}

.onboarding-overlay[data-onboarding-step="0"] .onboarding-phone p:not(.onboarding-kicker) {
  min-height: 0;
  margin: 34px 18px 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
}

.onboarding-overlay[data-onboarding-step="0"] .onboarding-dots {
  margin-top: 22px;
}

.onboarding-overlay[data-onboarding-step="0"] .onboarding-primary {
  min-height: 58px;
  margin-top: 26px;
  background: linear-gradient(180deg, #35df63, #22c950);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 0 rgba(9, 107, 39, 0.42);
}

@media (max-width: 430px) {
  .onboarding-overlay[data-onboarding-step="0"] .onboarding-phone h2 {
    font-size: clamp(3.2rem, 15vw, 4.35rem);
  }

  .onboarding-overlay[data-onboarding-step="0"] .onboarding-phone {
    height: min(700px, calc(100vh - 30px));
  }
}
