:root {
  --navy: #06143a;
  --ink: #07152f;
  --muted: #5f7088;
  --soft: #f2f8ff;
  --card: #ffffff;
  --line: #d7e7f7;
  --cyan: #12dde4;
  --purple: #4c55d9;
  --streak: #db2777;
  --yellow: #fbbf24;
  color: var(--ink);
  background: var(--soft);
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
  text-rendering: geometricPrecision;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

.nav-shell {
  align-items: center;
  background: rgba(242, 248, 255, 0.9);
  border-bottom: 1px solid rgba(215, 231, 247, 0.9);
  display: flex;
  gap: 22px;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 clamp(18px, 5vw, 72px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand,
.footer-brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
}

.brand-icon,
.footer-brand img {
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(76, 85, 217, 0.18);
  display: block;
  height: 38px;
  width: 38px;
}

.brand span,
.footer-brand strong {
  color: var(--navy);
  font-size: 19px;
  font-weight: 900;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.nav-cta {
  background: var(--navy);
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  padding: 12px 18px;
}

.hero-section {
  align-items: center;
  display: grid;
  gap: clamp(44px, 6vw, 86px);
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  min-height: calc(100vh - 76px);
  overflow: hidden;
  padding: clamp(52px, 7vw, 94px) clamp(18px, 6vw, 88px) 68px;
  position: relative;
}

.hero-section::before {
  background:
    radial-gradient(circle at 20% 18%, rgba(18, 221, 228, 0.18), transparent 28%),
    radial-gradient(circle at 82% 10%, rgba(76, 85, 217, 0.14), transparent 24%),
    radial-gradient(circle at 78% 78%, rgba(219, 39, 119, 0.08), transparent 28%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.status-pill {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--purple);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  gap: 9px;
  margin-bottom: 24px;
  padding: 8px 13px;
  box-shadow: 0 14px 34px rgba(16, 33, 61, 0.06);
}

.status-pill span {
  background: var(--cyan);
  border-radius: 999px;
  height: 8px;
  width: 8px;
}

h1 {
  color: var(--navy);
  font-size: clamp(42px, 6.5vw, 76px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
  max-width: 760px;
}

.hero-copy > p {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  line-height: 1.55;
  margin-top: 24px;
  max-width: 630px;
}

.store-row,
.mini-store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.store-row {
  margin-top: 34px;
}

.store-badge {
  align-items: center;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  gap: 12px;
  min-height: 70px;
  min-width: 205px;
  padding: 12px 16px;
}

.store-badge.disabled {
  background: #ffffff;
  border-color: var(--line);
  color: var(--navy);
  cursor: default;
}

.store-badge svg {
  flex: 0 0 auto;
  height: 28px;
  width: 28px;
}

.store-badge:not(.disabled) svg path {
  fill: currentColor;
}

.store-badge span {
  display: flex;
  flex-direction: column;
}

.store-badge small {
  color: #b9c7db;
  font-size: 11px;
  font-weight: 800;
}

.store-badge.disabled small {
  color: #8494ad;
}

.store-badge strong {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
}

.store-badge em {
  color: var(--cyan);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  margin-top: 3px;
}

.store-badge.disabled em {
  color: var(--purple);
}

.trust-row {
  align-items: center;
  display: flex;
  gap: 13px;
  margin-top: 28px;
}

.trust-avatar {
  align-items: center;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border: 3px solid #ffffff;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(76, 85, 217, 0.18);
  color: #ffffff;
  display: flex;
  font-size: 13px;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.stars {
  color: var(--yellow);
  font-size: 14px;
  letter-spacing: 1px;
}

.trust-row p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-frame {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 42px;
  box-shadow: 0 30px 90px rgba(16, 33, 61, 0.16);
  padding: 13px;
  position: relative;
  width: min(100%, 326px);
}

.phone-frame::after {
  background: rgba(18, 221, 228, 0.24);
  border-radius: 42px;
  content: "";
  filter: blur(36px);
  inset: 44px -20px -22px;
  position: absolute;
  z-index: -1;
}

.phone-notch {
  background: #ffffff;
  border-radius: 0 0 16px 16px;
  height: 22px;
  left: 50%;
  position: absolute;
  top: 13px;
  transform: translateX(-50%);
  width: 102px;
  z-index: 2;
}

.phone-screen {
  background: linear-gradient(180deg, #f7fbff 0%, #edf7ff 100%);
  border: 1px solid #e6f0fb;
  border-radius: 32px;
  min-height: 596px;
  overflow: hidden;
  padding: 42px 20px 20px;
}

.app-header {
  align-items: center;
  display: flex;
  gap: 10px;
}

.app-header img {
  border-radius: 12px;
  height: 42px;
  width: 42px;
}

.app-header strong,
.app-header span {
  display: block;
}

.app-header strong {
  color: var(--navy);
  font-size: 17px;
  font-weight: 900;
}

.app-header span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.question-card {
  background: var(--navy);
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(6, 20, 58, 0.18);
  color: #ffffff;
  margin-top: 26px;
  padding: 22px;
}

.question-card span {
  color: var(--cyan);
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 44px;
}

.question-card h2 {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.18;
}

.score-row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  margin-top: 14px;
}

.score-row div {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}

.score-row small {
  color: var(--muted);
  display: block;
  font-size: 11px;
  font-weight: 900;
}

.score-row strong {
  color: var(--navy);
  display: block;
  font-size: 22px;
  font-weight: 900;
  margin-top: 24px;
}

.score-row .streak-tile {
  background: #fff0f6;
  border-color: #ffd1e5;
}

.streak-tile strong {
  color: var(--streak);
}

.progress-list {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 14px;
  padding: 18px;
}

.progress-list span {
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  border-radius: 999px;
  display: block;
  height: 9px;
}

.feature-section,
.policy-section {
  padding: 88px clamp(18px, 6vw, 88px);
}

.section-title {
  margin: 0 auto 38px;
  max-width: 720px;
  text-align: center;
}

.section-title span,
.download-panel > div > span {
  color: var(--purple);
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-title h2,
.download-panel h2 {
  color: var(--navy);
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 900;
  line-height: 1.06;
}

.section-title p,
.download-panel p {
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  margin-top: 14px;
}

.feature-grid,
.policy-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid article,
.policy-grid article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(16, 33, 61, 0.05);
  padding: 24px;
}

.icon-tile {
  align-items: center;
  background: #eaf9ff;
  border-radius: 14px;
  color: var(--purple);
  display: flex;
  font-size: 20px;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  margin-bottom: 18px;
  width: 46px;
}

.streak-icon {
  background: #fff0f6;
  color: var(--streak);
}

.feature-grid h3,
.policy-grid h3 {
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
}

.feature-grid p,
.policy-grid p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  margin-top: 10px;
}

.policy-link-card a {
  color: var(--purple);
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  margin-top: 16px;
}

.download-panel {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 58px rgba(16, 33, 61, 0.08);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 24px clamp(18px, 6vw, 88px);
  padding: clamp(28px, 5vw, 54px);
}

.mini-store {
  background: var(--navy);
  border-radius: 8px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-weight: 800;
  min-width: 162px;
  padding: 16px;
}

.mini-store.disabled {
  background: #f7fbff;
  border: 1px solid var(--line);
  color: var(--navy);
}

.mini-store b {
  color: var(--cyan);
  font-size: 16px;
  margin-top: 4px;
}

.mini-store.disabled b {
  color: var(--purple);
}

.footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 26px clamp(18px, 5vw, 72px);
}

.footer p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.policy-page {
  background:
    radial-gradient(circle at 10% 4%, rgba(18, 221, 228, 0.16), transparent 28%),
    radial-gradient(circle at 94% 2%, rgba(76, 85, 217, 0.12), transparent 24%),
    var(--soft);
}

.legal-document {
  margin: 0 auto;
  max-width: 940px;
  padding: 54px 18px 72px;
}

.legal-hero,
.legal-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(16, 33, 61, 0.06);
}

.legal-hero {
  margin-bottom: 18px;
  padding: clamp(28px, 5vw, 48px);
}

.legal-hero span {
  color: var(--purple);
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.legal-hero h1 {
  font-size: clamp(34px, 5vw, 56px);
}

.legal-hero p,
.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

.legal-hero p {
  margin-top: 16px;
}

.legal-card {
  margin-top: 14px;
  padding: clamp(22px, 4vw, 34px);
}

.legal-card h2 {
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 18px;
  padding-bottom: 12px;
}

.legal-card h3 {
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  margin: 22px 0 10px;
}

.legal-card ul {
  margin: 12px 0 18px;
  padding-left: 22px;
}

.legal-card ol {
  margin: 12px 0 18px;
  padding-left: 22px;
}

.legal-card a,
.info-card a {
  color: var(--purple);
  font-weight: 900;
}

.info-card {
  background: #eaf9ff;
  border-left: 5px solid var(--cyan);
  border-radius: 8px;
  color: var(--navy);
  margin-top: 16px;
  padding: 18px;
}

.info-card strong,
.info-card a {
  display: block;
}

.info-card a {
  margin-top: 6px;
  overflow-wrap: anywhere;
}

.info-card p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  margin-top: 8px;
}

.warning-card {
  background: #fff7ed;
  border-left: 5px solid #f97316;
  border-radius: 8px;
  color: #7c2d12;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.65;
  padding: 18px;
}

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

  .hero-section,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-visual {
    justify-content: flex-start;
  }

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

  .mini-store-row {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .nav-shell {
    min-height: 68px;
  }

  .nav-cta {
    display: none;
  }

  .hero-section {
    padding-top: 36px;
  }

  .store-badge,
  .mini-store {
    width: 100%;
  }

  .feature-grid,
  .policy-grid,
  .score-row {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    width: 100%;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer p {
    text-align: left;
  }
}
