:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --text: #14213d;
  --muted: #5c677d;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --soft: #eef4ff;
  --border: #dce3ee;
  --success: #0f766e;
  --shadow: 0 20px 60px rgba(20, 33, 61, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 227, 238, 0.9);
  backdrop-filter: blur(12px);
}

.nav-wrap, .footer-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  font-size: 14px;
  letter-spacing: -0.04em;
}
.brand-text { font-size: 20px; letter-spacing: -0.04em; }
.brand-text span { color: var(--primary); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-small { min-height: 42px; padding: 0 16px; font-size: 14px; }
.btn-full { width: 100%; }

.hero { padding: 92px 0 76px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.hero h1, .section-heading h2, .form-intro h2 {
  margin: 14px 0 18px;
  line-height: 1.08;
  letter-spacing: -0.05em;
}
.hero h1 { font-size: clamp(44px, 6vw, 72px); max-width: 790px; }
.hero-text { max-width: 720px; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 28px; flex-wrap: wrap; }
.text-link { color: var(--primary); font-weight: 700; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: var(--muted); font-size: 14px; }

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.mini-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--soft);
  color: var(--success);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 22px;
}
.hero-card h2 { margin: 22px 0 10px; line-height: 1.25; font-size: 27px; letter-spacing: -.03em; }
.hero-card p, .hero-card li { color: var(--muted); }
.hero-card ul { padding-left: 20px; margin-bottom: 0; }

.section { padding: 88px 0; }
.section-soft { background: var(--soft); }
.section-heading { max-width: 700px; margin-bottom: 38px; }
.section-heading h2, .form-intro h2 { font-size: clamp(34px, 4vw, 48px); }
.section-heading p, .form-intro > p { color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 28px; }
.step-number { color: var(--primary); font-weight: 800; font-size: 13px; }
.step-card h3 { margin: 16px 0 8px; font-size: 21px; }
.step-card p { color: var(--muted); margin-bottom: 0; }

.form-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 58px; align-items: start; }
.form-intro { position: sticky; top: 110px; }
.privacy-note { margin-top: 24px; padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--border); }
.privacy-note strong, .privacy-note span { display: block; }
.privacy-note span { color: var(--muted); margin-top: 4px; }
.profile-form { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 30px; box-shadow: var(--shadow); }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: white;
  border-radius: 11px;
  padding: 13px 14px;
  color: var(--text);
  outline: none;
  transition: border .2s ease, box-shadow .2s ease;
}
.field input, .field select { min-height: 48px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .10);
}
.profile-form .btn { margin-top: 22px; }
.form-status { margin: 12px 0 0; min-height: 24px; color: var(--muted); text-align: center; font-size: 14px; }

.site-footer { background: #101827; color: white; }
.brand-footer .brand-text { color: white; }
.footer-wrap p { margin: 0; color: #aab4c4; font-size: 14px; }

@media (max-width: 860px) {
  .hero { padding-top: 66px; }
  .hero-grid, .form-layout { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-intro { position: static; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1120px); }
  .nav-wrap { min-height: 68px; }
  .nav-wrap .btn-small { display: none; }
  .hero { padding: 54px 0 50px; }
  .hero h1 { font-size: 44px; }
  .hero-text { font-size: 17px; }
  .hero-card, .profile-form { padding: 22px; border-radius: 18px; }
  .section { padding: 64px 0; }
  .field-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .footer-wrap { flex-direction: column; justify-content: center; text-align: center; padding: 24px 0; }
}
