@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("./fonts/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("./fonts/sora-latin.woff2") format("woff2");
}

:root {
  --background: #f6f8fc;
  --surface: #ffffff;
  --surface-muted: #f4f7fb;
  --surface-dark: #121827;
  --primary: #557ae6;
  --primary-strong: #6d64d8;
  --primary-soft: #e9eeff;
  --brand-blue: #73b6ec;
  --brand-violet: #7c73dc;
  --brand-violet-soft: #f0eeff;
  --accent: #4baf88;
  --gold: #c89a43;
  --gold-soft: #f3e7cc;
  --text: #162033;
  --text-muted: #6b7892;
  --text-soft: #9aa5bc;
  --border: #e3e9f4;
  --shadow: 0 24px 70px rgba(22, 32, 51, 0.14);
  --shadow-soft: 0 16px 45px rgba(22, 32, 51, 0.08);
  --radius-lg: 34px;
  --radius-md: 24px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(115, 182, 236, 0.2), transparent 28rem),
    radial-gradient(circle at 90% 8%, rgba(124, 115, 220, 0.18), transparent 28rem),
    var(--background);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 18px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(227, 233, 244, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 40px rgba(22, 32, 51, 0.08);
  backdrop-filter: blur(20px);
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Sora, Inter, sans-serif;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--brand-blue), var(--brand-violet));
}

.brand-mark img {
  width: 38px;
  transform: translateY(2px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a,
.site-footer a {
  transition: color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--primary-strong);
}

.nav-cta,
.button,
.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta {
  padding: 12px 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 12px 28px rgba(85, 122, 230, 0.28);
}

.button {
  min-height: 52px;
  padding: 0 22px;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 18px 36px rgba(85, 122, 230, 0.25);
}

.button.secondary {
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
}

.button.gold {
  color: #1d2535;
  background: linear-gradient(135deg, #f0d99d, var(--gold));
  box-shadow: 0 18px 36px rgba(200, 154, 67, 0.24);
}

.button:hover,
.nav-cta:hover,
.store-button:hover {
  transform: translateY(-2px);
}

.section-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 480px);
  gap: 70px;
  align-items: center;
  min-height: calc(100vh - 92px);
  padding: 86px 0 90px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary-strong);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Sora, Inter, sans-serif;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 720px;
  font-size: clamp(48px, 8vw, 86px);
  line-height: 0.93;
}

h2 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1;
}

h3 {
  font-size: 20px;
}

p {
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 620px;
  margin: 26px 0 0;
  font-size: 18px;
}

.hero-actions,
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-proof span {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 590px;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.7;
}

.orb-blue {
  inset: 40px auto auto 0;
  width: 210px;
  height: 210px;
  background: rgba(115, 182, 236, 0.34);
}

.orb-green {
  right: 20px;
  bottom: 72px;
  width: 160px;
  height: 160px;
  background: rgba(75, 175, 136, 0.25);
}

.phone-frame,
.mini-phone {
  position: relative;
  overflow: hidden;
  border: 12px solid #20283a;
  border-radius: 46px;
  background: linear-gradient(180deg, #f8fbff, #eef3fb);
  box-shadow: var(--shadow);
}

.phone-frame {
  width: min(100%, 370px);
  margin: 40px 0 0 auto;
  padding: 22px;
  transform: rotate(4deg);
}

.phone-top {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 18px;
}

.phone-top span {
  width: 46px;
  height: 5px;
  border-radius: 99px;
  background: #cfd8e8;
}

.scan-card,
.rank-card,
.inventory-card {
  border: 1px solid rgba(227, 233, 244, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.scan-card {
  display: grid;
  grid-template-columns: 98px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
}

.scan-image {
  display: grid;
  place-items: center;
  min-height: 100px;
  border-radius: 20px;
  background: var(--primary-soft);
}

.scan-image img {
  width: 90px;
}

.scan-label,
.rank-card span,
.inventory-card span {
  margin: 0 0 4px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.scan-card h2 {
  font-size: 22px;
}

.scan-card p {
  margin: 4px 0;
  font-size: 13px;
}

.value-pill {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--accent);
  background: #eaf5ef;
  font-weight: 900;
}

.rank-card,
.inventory-card {
  margin-top: 16px;
  padding: 18px;
}

.rank-card strong,
.inventory-card strong {
  display: block;
  font-family: Sora, Inter, sans-serif;
}

.rank-bar {
  height: 10px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 99px;
  background: #e8edf7;
}

.rank-bar span {
  display: block;
  width: 78%;
  height: 100%;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-violet));
}

.mascot-float {
  position: absolute;
  left: 8px;
  bottom: 0;
  width: 190px;
  animation: floaty 5s ease-in-out infinite;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 38px;
}

.section-heading p {
  max-width: 660px;
  margin-bottom: 0;
  font-size: 17px;
}

.audience,
.features,
.pro,
.download {
  padding: 84px 0;
}

.audience-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.audience-card,
.feature-card {
  min-height: 258px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.audience-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.audience-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.audience-card p,
.feature-card p {
  margin-bottom: 0;
}

.how {
  padding: 90px 0 60px;
}

.sticky-story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.sticky-phone {
  position: sticky;
  top: 118px;
}

.mini-phone {
  width: min(100%, 380px);
  margin: 0 auto;
  padding: 20px;
}

.mini-phone-screen {
  min-height: 455px;
  padding: 28px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 6%, rgba(124, 115, 220, 0.18), transparent 15rem),
    #fff;
}

.step-image {
  display: grid;
  place-items: center;
  min-height: 190px;
  margin-bottom: 26px;
  border-radius: 28px;
  background: linear-gradient(145deg, var(--primary-soft), #fff);
}

.step-image img {
  width: 150px;
  max-height: 160px;
  object-fit: contain;
  transition: opacity 95ms ease, transform 95ms ease;
}

.mini-phone-screen p {
  margin-bottom: 0;
}

#step-kicker {
  color: var(--primary-strong);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.steps {
  display: grid;
  gap: 18px;
}

.step {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.step.is-active {
  border-color: rgba(85, 122, 230, 0.44);
  background: #fff;
  transform: translateX(-8px);
}

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  font-weight: 900;
}

.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -70px auto;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: rgba(124, 115, 220, 0.12);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 34px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-violet));
  font-family: Sora, Inter, sans-serif;
  font-weight: 900;
}

.pro-panel {
  display: grid;
  grid-template-columns: 1fr 230px 0.9fr;
  gap: 32px;
  align-items: center;
  padding: clamp(30px, 6vw, 64px);
  border-radius: 40px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 18%, rgba(216, 177, 103, 0.28), transparent 18rem),
    linear-gradient(135deg, #1f2937, #111827);
  box-shadow: var(--shadow);
}

.pro-panel .eyebrow {
  color: #f0d99d;
}

.pro-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.pro-mascot-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid rgba(240, 217, 157, 0.22);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 28%, rgba(216, 177, 103, 0.34), transparent 8rem),
    rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pro-mascot-glow {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: rgba(216, 177, 103, 0.36);
  filter: blur(28px);
}

.pro-mascot-card img {
  position: relative;
  z-index: 1;
  width: min(210px, 88%);
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.28));
  animation: proFloat 5.8s ease-in-out infinite;
}

.pro-mascot-card span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 10px 14px;
  border: 1px solid rgba(240, 217, 157, 0.34);
  border-radius: 999px;
  color: #1d2535;
  background: linear-gradient(135deg, #f6e5b7, #c89a43);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pro-list {
  display: grid;
  gap: 14px;
}

.pro-list div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.pro-list strong,
.pro-list span {
  display: block;
}

.pro-list span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.64);
}

.download-card {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.download-card img {
  width: 92px;
}

.download-card p {
  margin-bottom: 0;
}

.store-button {
  min-width: 178px;
  padding: 14px 22px;
  color: #fff;
  background: #111827;
  flex-direction: column;
  align-items: flex-start;
}

.store-button span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.store-button strong {
  font-size: 20px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  width: min(calc(100% - 40px), var(--max-width));
  margin: 50px auto 32px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.75);
}

.footer-brand img {
  width: 58px;
}

.footer-brand p {
  margin: 3px 0 0;
  font-family: Inter, sans-serif;
  font-weight: 500;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: var(--text-muted);
  font-weight: 700;
}

.legal-page {
  min-height: 100vh;
}

.legal-main {
  padding: 78px 0 34px;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--primary-strong);
  font-weight: 800;
}

.legal-card {
  padding: clamp(28px, 6vw, 70px);
  border: 1px solid var(--border);
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.legal-card h1 {
  margin-bottom: 42px;
  font-size: clamp(42px, 7vw, 72px);
  overflow-wrap: anywhere;
}

.legal-intro {
  max-width: 820px;
  margin: -18px 0 36px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface-muted);
  font-weight: 700;
}

.legal-card section {
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

.legal-card h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 34px);
}

.legal-card p {
  max-width: 760px;
  margin: 0;
  font-size: 17px;
}

.legal-card a {
  color: var(--primary-strong);
  font-weight: 800;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.js .hero .reveal,
.reveal.is-visible,
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-16px) rotate(3deg);
  }
}

@keyframes proFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.02);
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero,
  .sticky-story,
  .pro-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 30px;
    min-height: auto;
    padding-top: 62px;
  }

  .hero-visual {
    min-height: 540px;
  }

  .phone-frame {
    margin-inline: auto;
  }

  .sticky-phone {
    position: relative;
    top: auto;
  }

  .pro-mascot-card {
    min-height: 230px;
    order: -1;
  }

  .audience-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-card,
  .site-footer {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .site-header {
    width: min(calc(100% - 20px), var(--max-width));
    margin-top: 10px;
  }

  .nav-cta {
    display: none;
  }

  .section-shell {
    width: min(calc(100% - 28px), var(--max-width));
  }

  h1 {
    font-size: 48px;
  }

  .legal-card h1 {
    font-size: 40px;
    line-height: 0.98;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 500px;
  }

  .phone-frame {
    border-width: 9px;
    transform: none;
  }

  .mascot-float {
    width: 132px;
  }

  .audience-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .download-card {
    display: flex;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
