:root {
  --blue: #1D5FD1;
  --blue-dark: #174CA8;
  --blue-tint: #E8EFFC;
  --ink: #14213D;
  --bg: #FFFFFF;
  --bg-alt: #F3F6FC;
  --green: #2E9E6B;
  --green-text: #1B6E49;
  --green-tint: #E2F1EA;
  --muted: #4F5768;
  --line: #E1E6EF;
  --white: #FFFFFF;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); }
a:hover { color: var(--blue-dark); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* header */
.top { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; padding-bottom: 22px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; height: 36px; width: auto; }
.top nav { display: flex; gap: 20px; align-items: center; font-size: 15px; font-weight: 600; }
.top nav a { text-decoration: none; color: var(--ink); }
.top nav a.btn { color: var(--white); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 12px;
  background: var(--blue); color: var(--white); font-weight: 700; font-size: 16px;
  text-decoration: none; border: 0; cursor: pointer; font-family: inherit;
}
.btn:hover { color: var(--white); background: var(--blue-dark); }
.btn.small { min-height: 44px; padding: 0 16px; font-size: 15px; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 48px; padding-bottom: 72px; }
.pill { display: inline-block; font-size: 14px; font-weight: 700; color: var(--blue); background: var(--blue-tint); padding: 6px 12px; border-radius: 999px; }
h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.03em; margin: 18px 0 18px; font-weight: 800; }
h1 .u { color: var(--blue); }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-cta span { font-size: 15px; color: var(--muted); }

/* app preview */
.preview { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: 0 30px 70px rgba(20, 33, 61, 0.10); }
.preview .search { display: flex; align-items: center; gap: 10px; border: 2px solid var(--blue); border-radius: 14px; padding: 12px 14px; font-weight: 600; }
.preview .card { margin-top: 16px; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.preview .row { display: flex; gap: 12px; align-items: center; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.preview .who { font-weight: 700; }
.preview .sub { font-size: 14px; color: var(--muted); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.chip { font-size: 13px; font-weight: 600; color: var(--green-text); background: var(--green-tint); padding: 5px 10px; border-radius: 999px; }
.months { margin-top: 16px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.months div { display: flex; justify-content: space-between; padding: 10px 16px; font-size: 15px; border-bottom: 1px solid #EEF1F6; }
.months div:last-child { border-bottom: 0; }
.months b { color: var(--green-text); font-size: 14px; }
.preview .note { font-size: 13px; color: var(--muted); margin-top: 12px; text-align: right; }

/* sections */
section { padding: 72px 0; }
section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 12px; }
.intro { color: var(--muted); max-width: 40em; margin: 0 0 36px; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.steps li { border-top: 3px solid var(--blue); padding-top: 16px; }
.steps .n { font-size: 14px; font-weight: 800; color: var(--blue); }
.steps h3 { font-size: 20px; margin: 6px 0 6px; line-height: 1.2; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

.sides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.side { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.side.dark { background: var(--blue); color: var(--white); border-color: var(--blue); }
.side h3 { font-size: 24px; margin: 0 0 14px; }
.side ul { margin: 0; padding: 0; list-style: none; }
.side li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.side li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.side.dark li::before { color: var(--white); }
.price { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 700; }
.side.dark .price { border-top-color: rgba(255, 255, 255, 0.3); }
.price small { display: block; font-weight: 400; color: var(--muted); font-size: 15px; }
.side.dark .price small { color: #E3EBFB; }

.honest { margin-top: 24px; font-size: 15px; color: var(--muted); }

/* form */
.signup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
form { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; gap: 16px; }
label { font-size: 15px; font-weight: 600; display: block; margin-bottom: 6px; }
input[type="text"], input[type="email"], select {
  width: 100%; min-height: 48px; padding: 0 14px; font: inherit; color: var(--ink);
  border: 1.5px solid #C9D1DE; border-radius: 12px; background: var(--white);
}
input:focus, select:focus, .btn:focus, a:focus { outline: 3px solid rgba(29, 95, 209, 0.4); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 400; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--blue); }
.hp { position: absolute; left: -9999px; }
.msg { font-size: 15px; font-weight: 600; min-height: 1.5em; margin: 0; }
.msg.ok { color: var(--green-text); }
.msg.err { color: #A3302A; }

/* footer */
footer { padding: 32px 0 48px; font-size: 15px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* privacy page */
.doc { max-width: 760px; padding-top: 24px; padding-bottom: 64px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); }
.doc h2 { font-size: 22px; margin-top: 32px; }
.draft { background: #FFF6D9; border: 1px solid #EBD58A; border-radius: 12px; padding: 12px 16px; font-size: 15px; }

@media (max-width: 860px) {
  .hero, .signup, .sides { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 36px; padding-top: 24px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .top nav .hide-sm { display: none; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  section { padding: 56px 0; }
  form, .side { padding: 22px; }
}
