:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --text: #1c2233;
  --muted: #5d6477;
  --accent: #2f45d8;
  --accent-soft: #eef0ff;
  --border: #e2e5ef;
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

.wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 16px;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: clamp(28px, 6vw, 44px); }
h2 { font-size: 26px; }
h3 { font-size: 18px; }
p { margin: 0 0 12px; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #2f45d8, #4a2fd8);
  color: #fff;
  padding: 56px 0 48px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
  opacity: .8;
}
.lead { font-size: 19px; max-width: 640px; opacity: .95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero .btn-primary { background: #fff; color: var(--accent); }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .1s, opacity .15s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--accent); }

/* Sections */
.section {
  background: var(--surface);
  border-radius: var(--radius);
  padding-top: 28px;
  padding-bottom: 28px;
  margin-top: 24px;
  box-shadow: 0 1px 3px rgba(20, 30, 60, .06);
}
@media (min-width: 852px) {
  .section { padding-left: 32px; padding-right: 32px; }
}

.benefits {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.benefits li {
  background: var(--accent-soft);
  border-radius: 12px;
  padding: 18px;
}
.benefits p { color: var(--muted); margin: 0; font-size: 16px; }

/* Tabs */
.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 20px 0;
  background: var(--bg);
  padding: 6px;
  border-radius: 14px;
}
.tab {
  font: inherit;
  font-weight: 600;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
}
.tab span { display: block; font-weight: 400; font-size: 13px; }
.tab.is-active { background: var(--surface); color: var(--accent); box-shadow: 0 1px 4px rgba(20,30,60,.1); }

.steps { padding: 0; margin: 0 0 20px; list-style: none; counter-reset: s; }
.steps li {
  counter-increment: s;
  position: relative;
  padding: 10px 0 10px 48px;
  border-bottom: 1px solid var(--border);
}
.steps li:last-child { border-bottom: 0; }
.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.links { display: flex; flex-wrap: wrap; gap: 10px; }
.note { color: var(--muted); font-size: 15px; margin-top: 14px; }

.address {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--accent-soft);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 15px;
}
.copy {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  background: var(--surface);
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
}

/* Docs */
.docs { list-style: none; padding: 0; margin: 0; }
.docs li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.docs li:last-child { border-bottom: 0; }
.docs li > a:first-child {
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.docs small { display: block; color: var(--muted); font-size: 14px; }
.doc-icon {
  flex: none;
  width: 44px;
  height: 52px;
  border-radius: 8px;
  background: #e5484d;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.dl { color: var(--accent); font-weight: 600; text-decoration: none; white-space: nowrap; }

.cta { text-align: center; background: var(--accent-soft); }

.footer { color: var(--muted); font-size: 14px; padding: 24px 16px 40px; text-align: center; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  background: var(--text);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 15px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 520px) {
  .hero-actions .btn, .links .btn { width: 100%; }
}
