:root {
  --ink: #201626;
  --cream: #fff9ef;
  --paper: #fffdf8;
  --sand: #fff4df;
  --yellow: #ffcf4a;
  --pink: #ff6f91;
  --purple: #7c3aed;
  --teal: #14b8a6;
  --muted: #6d6074;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic", sans-serif;
  background: var(--sand);
  color: var(--ink);
  line-height: 1.65;
}

a { color: inherit; }

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 2px solid rgba(32, 22, 38, 0.12);
  background: rgba(255, 249, 239, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  text-decoration: none;
  letter-spacing: -0.04em;
}

.mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--yellow), var(--pink));
  box-shadow: 4px 4px 0 var(--ink);
}

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

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

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 950;
  text-decoration: none;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.nav-cta:hover,
.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--ink);
}

.button.secondary {
  background: var(--paper);
}

.hero {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 36px;
  align-items: center;
  padding: 72px 20px 54px;
}

.kicker {
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 950;
  box-shadow: 4px 4px 0 var(--ink);
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 8vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.lead {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
}

.trust-card,
.feature-card,
.step-card,
.legal-card {
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--ink);
}

.trust-card {
  padding: 12px;
  font-size: 13px;
  font-weight: 850;
}

.trust-card strong { display: block; font-size: 22px; }

.phone-shell {
  position: relative;
  margin: 0 auto;
  width: min(100%, 390px);
  border: 3px solid var(--ink);
  border-radius: 44px;
  background: #15101d;
  padding: 18px;
  box-shadow: 14px 14px 0 var(--ink);
  transform: rotate(1.5deg);
}

.phone-screen {
  min-height: 620px;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(180deg, #21162c 0%, #fff4df 48%);
  padding: 18px;
}

.app-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--cream);
  font-weight: 950;
}

.ready {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 12px;
}

.app-visual {
  height: 182px;
  margin: 22px auto;
  border: 2px solid #3a2c48;
  border-radius: 28px;
  background:
    radial-gradient(circle at 25% 30%, var(--pink) 0 16%, transparent 17%),
    radial-gradient(circle at 70% 38%, var(--yellow) 0 12%, transparent 13%),
    radial-gradient(circle at 50% 75%, var(--teal) 0 18%, transparent 19%),
    linear-gradient(135deg, #37284a, #15101d);
}

.app-title {
  margin-bottom: 80px;
  color: var(--cream);
  font-size: 34px;
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.07em;
}

.match-card {
  margin-top: -48px;
  border: 2px solid var(--ink);
  border-radius: 26px;
  background: var(--paper);
  padding: 16px;
  box-shadow: 7px 7px 0 var(--ink);
}

.match-row {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 12px;
  align-items: center;
}

.avatar {
  width: 58px;
  height: 58px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
}

.score { font-weight: 950; color: var(--purple); }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.tag {
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 5px 9px;
  background: #fff2fa;
  font-size: 12px;
  font-weight: 850;
}

.card-button {
  display: block;
  border-radius: 18px;
  background: var(--pink);
  color: white;
  padding: 12px;
  text-align: center;
  font-weight: 950;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 54px 20px;
}

.section h2 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.07em;
}

.section-lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

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

.feature-card,
.step-card,
.legal-card { padding: 22px; }

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--yellow);
  font-size: 22px;
  box-shadow: 4px 4px 0 var(--ink);
}

.feature-card h3,
.step-card h3,
.legal-card h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.feature-card p,
.step-card p,
.legal-card p { color: var(--muted); font-weight: 650; }

.step-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--purple);
  color: white;
  font-weight: 950;
}

.cta-band {
  margin: 54px auto;
  max-width: 1080px;
  border: 3px solid var(--ink);
  border-radius: 34px;
  background: linear-gradient(135deg, var(--yellow), #ffe9a3);
  padding: 38px;
  box-shadow: 10px 10px 0 var(--ink);
  text-align: center;
}

.cta-band h2 { margin-left: auto; margin-right: auto; }

.footer {
  border-top: 2px solid rgba(32, 22, 38, 0.12);
  padding: 30px 20px;
  background: var(--cream);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-weight: 750;
}

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

.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 62px 20px;
}

.legal-page h1 { font-size: clamp(40px, 7vw, 72px); }

.legal-card { margin: 18px 0; }

@media (max-width: 860px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 42px; }
  .phone-shell { transform: none; }
  .trust-row, .grid-3 { grid-template-columns: 1fr; }
  .cta-band { margin-left: 20px; margin-right: 20px; padding: 26px 18px; }
}

@media (max-width: 480px) {
  .nav { padding: 12px 14px; }
  .brand span:last-child { font-size: 16px; }
  .nav-cta { min-height: 40px; padding: 9px 12px; font-size: 13px; }
  .hero, .section { padding-left: 14px; padding-right: 14px; }
  .phone-screen { min-height: 560px; }
  .app-title { font-size: 29px; }
}
