:root {
  color-scheme: light;
  --bg: #f3f3f7;
  --bg-soft: #ebedf2;
  --ink: #111111;
  --muted: #8d8f98;
  --line: #dedfe6;
  --accent: #77e36d;
  --accent-ink: #152312;
  --warning: #f4c15d;
  --white: #ffffff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  letter-spacing: 0;
}

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  width: 100%;
  padding: 22px 32px;
}

.header-inner,
.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 900;
  font-size: 24px;
  line-height: 1;
  color: #6f7178;
}

.brand-mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
  opacity: 0.72;
  mix-blend-mode: multiply;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  color: #989aa4;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.nav a,
.footer-links a {
  transition: color 160ms ease, opacity 160ms ease;
}

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

.app-store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 156px;
  height: 46px;
  padding: 0 16px;
  border-radius: 8px;
  background: #111111;
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(17, 17, 17, 0.10);
}

.app-store-copy {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.app-store-copy span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0;
}

.app-store-copy strong {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 18px 28px 64px;
}

.hero-inner {
  width: min(100%, 920px);
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero-art {
  position: relative;
  width: min(64vw, 430px);
  aspect-ratio: 1.5;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.hero-circle {
  position: absolute;
  width: min(52vw, 310px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #e6e7ed;
}

.hero-head {
  position: absolute;
  width: min(38vw, 226px);
  height: auto;
  opacity: 0.66;
  transform: translateX(56px);
  mix-blend-mode: multiply;
}

.phone {
  position: absolute;
  left: 17%;
  top: 13%;
  width: 112px;
  height: 194px;
  border: 6px solid #2b2b2d;
  border-radius: 24px;
  background: #fbfbfc;
  transform: rotate(5deg);
  box-shadow: 0 14px 24px rgba(17, 17, 17, 0.10);
  overflow: hidden;
}

.phone::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 42px;
  height: 9px;
  border-radius: 999px;
  background: #2b2b2d;
  transform: translateX(-50%);
}

.phone-screen {
  height: 100%;
  padding: 28px 14px 14px;
  display: grid;
  align-content: start;
  gap: 11px;
  color: #1b1b1c;
}

.phone-title {
  font-size: 10px;
  font-weight: 900;
  text-align: left;
}

.quiz-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  font-size: 12px;
  font-weight: 900;
}

.answer-bar {
  height: 18px;
  border-radius: 999px;
  background: #111111;
}

.keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.keypad span {
  display: block;
  height: 20px;
  border-radius: 999px;
  background: #eeeeef;
}

.hero-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #7c7e86;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.hero-logo img {
  width: 31px;
  height: 31px;
  object-fit: contain;
  opacity: 0.70;
  mix-blend-mode: multiply;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(38px, 4.7vw, 56px);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  margin: 18px 0 26px;
  color: #8e9099;
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.2;
  font-weight: 700;
}

.quick-links {
  width: min(100%, 760px);
  margin: 54px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.48);
  text-align: left;
}

.feature strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 900;
}

.feature span {
  display: block;
  color: #878993;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 650;
}

.legal-main {
  flex: 1;
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 64px 28px 96px;
}

.legal-main h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.15;
  font-weight: 950;
}

.updated {
  margin: 0 0 30px;
  color: #60626c;
  font-size: 16px;
  font-weight: 650;
}

.legal-main p,
.legal-main li {
  color: #464850;
  font-size: 17px;
  line-height: 1.62;
  font-weight: 520;
}

.legal-main h2 {
  margin: 34px 0 12px;
  font-size: 25px;
  line-height: 1.25;
  font-weight: 900;
}

.legal-main h3 {
  margin: 20px 0 6px;
  font-size: 18px;
  font-weight: 900;
}

.legal-main ul {
  padding-left: 24px;
  margin: 8px 0 0;
}

.legal-main a {
  color: #1e5d1c;
  font-weight: 800;
}

.site-footer {
  padding: 30px 32px 36px;
  border-top: 1px solid rgba(222, 223, 230, 0.66);
}

.copyright {
  color: #9a9ca6;
  font-size: 15px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  color: #9a9ca6;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .site-header {
    padding: 18px 18px 8px;
  }

  .header-inner {
    align-items: flex-start;
  }

  .brand {
    font-size: 21px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .nav {
    gap: 14px;
    flex-wrap: wrap;
    font-size: 14px;
  }

  .nav .app-store-badge {
    display: none;
  }

  .hero {
    padding: 30px 18px 48px;
  }

  .hero-art {
    width: min(96vw, 360px);
    margin-bottom: 18px;
  }

  .hero-head {
    width: min(60vw, 214px);
    transform: translateX(46px);
  }

  .phone {
    left: 8%;
    top: 13%;
    width: 100px;
    height: 174px;
    border-width: 6px;
  }

  .hero-logo {
    font-size: 19px;
  }

  .hero p {
    margin-bottom: 24px;
  }

  .quick-links {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .site-footer {
    padding: 28px 18px 32px;
  }

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

  .footer-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 16px;
  }

  .legal-main {
    padding: 48px 22px 80px;
  }
}

@media (max-width: 430px) {
  .header-inner {
    flex-direction: column;
    gap: 16px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p {
    font-size: 18px;
  }
}
