*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #F8F3EB;
  --card: #FFFFFF;
  --text: #000000;
  --muted: #6B6B6B;
  --yellow: #F5C518;
  --yellow-soft: #FFF3C4;
  --border: #000000;
  --line: #E0D9CE;
  --green: #34C759;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 243, 235, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.2rem;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border: 2px solid var(--border);
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  box-shadow: 0 3px 0 var(--border);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.9rem;
  font-weight: 800;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
}

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

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 56px;
  padding: 64px 0 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  background: var(--yellow-soft);
  border: 2px solid var(--border);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.85rem;
  font-weight: 900;
  box-shadow: 0 3px 0 var(--border);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  font-weight: 950;
  max-width: 740px;
}

.hero-copy {
  margin-top: 24px;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  font-weight: 650;
}

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

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 0 20px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--border);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--border);
}

.btn-primary {
  background: var(--yellow);
}

.btn-secondary {
  background: var(--card);
}

.phone {
  width: 100%;
  max-width: 360px;
  justify-self: center;
  background: var(--card);
  border: 4px solid var(--border);
  border-radius: 44px;
  padding: 18px;
  box-shadow: 0 10px 0 var(--border);
  transform: rotate(2deg);
}

.phone-screen {
  min-height: 580px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 30px;
  padding: 22px;
  overflow: hidden;
}

.quiz-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 4px 0 var(--border);
}

.quiz-pill {
  display: inline-flex;
  background: var(--yellow-soft);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 900;
  font-size: 0.8rem;
  margin-bottom: 14px;
}

.quiz-question {
  font-size: 1.45rem;
  line-height: 1.2;
  font-weight: 950;
}

.answer-list {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.answer {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  font-weight: 850;
  box-shadow: 0 3px 0 rgba(0,0,0,0.2);
}

.answer.good {
  background: #F0FDF4;
  border-color: var(--green);
  color: #166534;
}

.section {
  padding: 72px 0;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 950;
  margin-bottom: 18px;
}

.section-copy {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 660px;
  font-weight: 650;
}

.features {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 4px 0 var(--border);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.feature-title {
  font-size: 1.08rem;
  font-weight: 950;
  margin-bottom: 8px;
}

.feature-copy {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
  font-weight: 600;
}

.privacy-band {
  background: var(--yellow);
  border-top: 3px solid var(--border);
  border-bottom: 3px solid var(--border);
}

.footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  text-decoration: none;
}

.legal-page {
  padding: 56px 0 80px;
}

.legal-card {
  max-width: 760px;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 5px 0 var(--border);
}

.legal-card h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 950;
  margin-bottom: 12px;
}

.legal-card p {
  color: var(--muted);
  line-height: 1.7;
  font-weight: 650;
}

.support-grid {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.support-row {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}

.support-row h2 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

@media (max-width: 820px) {
  .topbar-inner {
    min-height: 64px;
  }

  .nav {
    gap: 12px;
    font-size: 0.82rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 42px;
  }

  .phone {
    max-width: 320px;
    transform: rotate(0);
  }

  .phone-screen {
    min-height: 480px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-shell {
    width: min(100% - 24px, 1120px);
  }

  .nav a:nth-child(2) {
    display: none;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .hero-copy {
    font-size: 1rem;
  }
}
