:root {
  --ink: #101826;
  --ink-soft: #263449;
  --muted: #5b6b80;
  --line: #e3e8ef;
  --bg: #f6f8fb;
  --card: #ffffff;
  --accent: #1d4ed8;
  --accent-dark: #173ea8;
  --accent-soft: #e8eefc;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 24, 38, .07);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

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

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 700; letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.brand-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(145deg, #2a5be0, #173ea8);
  color: #fff; font-size: 15px; font-weight: 700;
}
.brand small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.site-header nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 15px; }
.site-header nav a { color: var(--ink-soft); }
.site-header nav a:hover { color: var(--accent); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border: 0;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--bg); color: var(--ink); }

/* hero */
.hero { padding: 72px 0 56px; background: radial-gradient(900px 320px at 15% -10%, #e7eefd, transparent); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; padding: 5px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-size: 13px; font-weight: 600; }
h1 { margin: 16px 0 14px; font-size: clamp(30px, 4vw, 44px); line-height: 1.15; letter-spacing: -.02em; }
.lead { font-size: 17px; color: var(--muted); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.stat b { display: block; font-size: 22px; letter-spacing: -.02em; }
.stat span { font-size: 13px; color: var(--muted); }
.hero-art { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 22px; }
.hero-art h3 { margin: 0 0 6px; font-size: 16px; }
.hero-art p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.art-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.art-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); }
.dot { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent-dark); font-size: 13px; font-weight: 700; }

/* sections */
section { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 32px; }
.section-head h2 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.02em; }
.section-head p { margin: 0; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: box-shadow .15s ease, transform .15s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0 0 14px; color: var(--muted); font-size: 14.5px; }
.card .price { font-weight: 700; color: var(--ink); }
.card .price small { font-weight: 500; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.feature b { display: block; margin-bottom: 6px; }
.feature span { color: var(--muted); font-size: 14px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--accent-soft); color: var(--accent-dark);
  font-weight: 700; font-size: 14px; margin-bottom: 12px;
}
.step b { display: block; margin-bottom: 4px; }
.step span { color: var(--muted); font-size: 14px; }

/* cta */
.cta { background: linear-gradient(135deg, #16307c, #1d4ed8); border-radius: 20px; color: #fff; padding: 38px; display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta h2 { margin: 0 0 8px; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.02em; }
.cta p { margin: 0; color: #d7e2ff; max-width: 52ch; }
.cta .btn { background: #fff; color: var(--accent-dark); }
.cta .btn:hover { background: #eef3ff; }

/* table */
.table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table th, .table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
.table th { background: #f9fbfe; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.table tr:last-child td { border-bottom: 0; }

/* article */
.article { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.article h2 { margin-top: 0; }
.article h3 { margin: 26px 0 8px; font-size: 17px; }
.article p, .article li { color: var(--ink-soft); }
.note { background: #fbfcfe; border-left: 3px solid var(--accent); padding: 14px 18px; border-radius: 8px; color: var(--muted); font-size: 14.5px; }

/* contacts */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.contact-card h3 { margin: 0 0 14px; font-size: 17px; }
.contact-row { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.contact-row:last-child { border-bottom: 0; }
.contact-row b { min-width: 96px; color: var(--muted); font-weight: 500; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: #fff; padding: 34px 0; color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; gap: 24px; justify-content: space-between; flex-wrap: wrap; }
.site-footer a { color: var(--ink-soft); }
.site-footer p { margin: 6px 0 0; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cards, .features, .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .site-header nav { gap: 14px; }
}
@media (max-width: 640px) {
  .site-header nav a:not(.btn) { display: none; }
  .cards, .features, .steps { grid-template-columns: 1fr; }
  section { padding: 46px 0; }
  .article { padding: 22px; }
}
