:root {
  --primary: #2f6bff;
  --primary-dark: #1d4fd7;
  --primary-soft: #e8efff;
  --bg: #f5f7fb;
  --ink: #1b2437;
  --muted: #5e6b82;
  --line: #e4e9f2;
  --card: #ffffff;
  --danger: #e4546a;
  --success: #1f9d55;
  --shadow: 0 10px 30px rgba(27, 36, 55, 0.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Poppins, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a { color: var(--primary-dark); }

img { max-width: 100%; }

.wrap {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 247, 251, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.nav-row,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.header-inner { padding: 14px 0; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--primary);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(47, 107, 255, 0.28);
}

.brand strong { font-size: 20px; letter-spacing: -0.3px; }
.brand strong span { color: var(--primary); }
.brand small { display: block; color: var(--muted); font-size: 12px; }

.nav-row { margin-left: auto; flex-wrap: wrap; }

.nav-row a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  margin-right: 16px;
}

.nav-row a.active,
.nav-row a:hover { color: var(--primary-dark); }

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  padding: 42px 0 18px;
}

.kicker {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 10px;
}

h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -1px;
  margin: 12px 0;
}

h1 span { color: var(--primary); }

.lede { font-size: 17px; color: var(--muted); margin-top: 0; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-primary { background: var(--primary); color: white; }
.btn-ghost { background: white; color: var(--ink); border-color: var(--line); }

.phone {
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.status {
  margin-left: auto;
  background: #e7f7ee;
  color: var(--success);
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 8px;
}

.feature-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.card h3 { margin: 0 0 6px; font-size: 16px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }

section { padding: 22px 0; }

section[id] { scroll-margin-top: 88px; }

h2 { font-size: 28px; letter-spacing: -0.4px; margin-bottom: 8px; }

.steps { counter-reset: step; display: grid; gap: 12px; }

.steps article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px 14px 58px;
  position: relative;
}

.steps article::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.note {
  background: #fff6e4;
  border: 1px solid #f3e2b8;
  border-radius: 16px;
  padding: 14px 16px;
  color: #6d5310;
}

.legal {
  width: min(820px, calc(100% - 32px));
  margin: 28px auto 48px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 26px 36px;
}

.legal h1 { font-size: 36px; }
.legal h2 { font-size: 20px; margin-top: 28px; }
.legal p, .legal li { color: #314056; }
.updated { color: var(--muted); margin-top: -6px; }

.copy {
  background: #f7f9fc;
  border: 1px dashed #c9d4e8;
  border-radius: 14px;
  padding: 12px 14px;
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th, td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  vertical-align: top;
}

footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 32px;
  color: var(--muted);
  font-size: 14px;
}

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

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

.footer-links a:hover { color: var(--primary-dark); }

@media (max-width: 800px) {
  .hero, .feature-grid, .card-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: inline-flex; }
  .header-inner { width: 100%; }
  .nav-row { display: none; }
  .nav-row.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-left: 0;
    padding-bottom: 14px;
  }
}
