:root {
  --ink: #172033;
  --muted: #5c6b82;
  --line: #e6ebf3;
  --bg: #f6f8fb;
  --white: #ffffff;
  --blue: #1565e0;
  --blue-dark: #0d47b5;
  --navy: #0c1730;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Outfit, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }

a { color: var(--blue-dark); }

.wrap { width: min(1080px, 100% - 40px); margin: 0 auto; }

header.site {
  position: sticky;
  top: 0;
  z-index: 8;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand img { width: 40px; height: 40px; }
nav.main { display: flex; gap: 6px; flex-wrap: wrap; }
nav.main a {
  text-decoration: none;
  color: #3d4d66;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 8px;
}
nav.main a:hover { background: #f2f5fa; color: var(--navy); }
nav.main a[aria-current="page"] { color: var(--blue); }

.hero {
  position: relative;
  background: #070d18;
  color: #fff;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  will-change: transform;
}
.glow-a {
  width: 520px; height: 520px; left: -120px; top: -80px;
  background: radial-gradient(circle, rgba(232, 78, 40, 0.45), transparent 68%);
}
.glow-b {
  width: 480px; height: 480px; right: -80px; bottom: -160px;
  background: radial-gradient(circle, rgba(40, 90, 220, 0.4), transparent 70%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: center;
  padding: 72px 0;
}
.hero-visual { display: grid; place-items: center; }
.hero img.big {
  width: min(340px, 80vw);
  height: auto;
  border-radius: 36px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
  animation: float 6s ease-in-out infinite;
  background: #fff;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.eyebrow {
  margin: 0 0 12px;
  color: #ffb199;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 800;
}
.hero p.lead {
  margin: 18px 0 0;
  max-width: 520px;
  color: #c9d3e4;
  font-size: 18px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  background: #e84e28;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}
.cta:hover { background: #d3411d; transform: translateY(-2px); color: #fff; }
.cta.ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}
.cta.ghost:hover { background: rgba(255,255,255,0.08); }

.band { background: var(--white); border-bottom: 1px solid var(--line); }
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 0;
}
.metrics div { padding: 22px 12px; text-align: center; }
.metrics strong { display: block; font-size: 18px; letter-spacing: -0.02em; }
.metrics span { color: var(--muted); font-size: 14px; }

.kicker {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
section.block { padding: 28px 0 56px; }
section.block.alt { background: var(--bg); padding: 64px 0; }
section.block.tight { padding-top: 0; padding-bottom: 48px; }
section.block h2 {
  margin: 0 0 8px;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.04em;
}
.sub { margin: 0 0 18px; color: var(--muted); max-width: 360px; }

.panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(500px 220px at 0% 0%, rgba(232, 78, 40, 0.18), transparent 60%),
    linear-gradient(160deg, #10192e, #0b1222);
  color: #fff;
}
.panel .kicker { color: #ffb199; }
.panel h2 { color: #fff; }
.panel .sub { color: #c5d0e2; }

.downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: stretch; }
.dl {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e4eaf3;
  text-decoration: none;
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.dl.featured {
  border: 2px solid #1565e0;
  box-shadow: 0 0 0 4px rgba(21, 101, 224, 0.18), 0 12px 28px rgba(0, 0, 0, 0.16);
}
.os {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #f3f7fc;
}
.dl.featured .os { background: #e8f1ff; }
.dl strong { display: block; margin-top: 8px; font-size: 18px; line-height: 1.25; color: var(--navy); }
.meta { color: #5c6b82; font-size: 14px; margin-top: 4px; }
.chip {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: #1565e0;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.chip.quiet { background: #eef2f7; color: #415068; }
.btn {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 16px;
  text-align: center;
  padding: 12px 16px;
  border-radius: 10px;
  background: linear-gradient(110deg, #ff7a18 0%, #ff3d6e 42%, #7a5cff 100%);
  background-size: 180% 100%;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(255, 61, 110, 0.35);
  animation: shine 2.8s ease infinite;
}
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-18deg);
  animation: sweep 2.4s ease-in-out infinite;
}
.btn-line {
  background: linear-gradient(110deg, #1d4ed8 0%, #0ea5e9 50%, #22d3ee 100%);
  background-size: 180% 100%;
  box-shadow: 0 8px 18px rgba(14, 165, 233, 0.35);
}
.dl.disabled { pointer-events: none; }
.dl.disabled .btn { color: #fff; }
@keyframes shine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes sweep {
  0% { left: -60%; }
  55%, 100% { left: 140%; }
}
.version-line {
  display: inline-block;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #d5deee;
  font-size: 13px;
}

.flow {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.flow li {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 22px 24px;
  box-shadow: 0 10px 28px rgba(16, 32, 64, 0.06);
}
.flow li::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
}
.flow li:nth-child(1)::before { background: linear-gradient(90deg, #ff7a18, #ff3d6e); }
.flow li:nth-child(2)::before { background: linear-gradient(90deg, #1565e0, #22d3ee); }
.flow li:nth-child(3)::before { background: linear-gradient(90deg, #16a34a, #4ade80); }
.step-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
}
.flow li:nth-child(1) .step-ico { background: linear-gradient(135deg, #ff7a18, #ff3d6e); }
.flow li:nth-child(2) .step-ico { background: linear-gradient(135deg, #1565e0, #22d3ee); }
.flow li:nth-child(3) .step-ico { background: linear-gradient(135deg, #16a34a, #4ade80); }
.flow .num {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #e7edf6;
}
.flow h3 { margin: 16px 0 6px; font-size: 20px; }
.flow p { margin: 0; color: var(--muted); font-size: 15px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.card {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(16, 32, 64, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: #c9d6ee; }
.fico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 14px;
}
.f1 { background: linear-gradient(135deg, #1565e0, #22d3ee); }
.f2 { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.f3 { background: linear-gradient(135deg, #16a34a, #4ade80); }
.f4 { background: linear-gradient(135deg, #ff7a18, #ff3d6e); }
.f5 { background: linear-gradient(135deg, #0f766e, #2dd4bf); }
.f6 { background: linear-gradient(135deg, #0c1730, #3d4d66); }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }

.page { padding: 40px 0 72px; background: var(--bg); min-height: 60vh; }
.page h1 { margin: 0 0 6px; font-size: 36px; letter-spacing: -0.03em; }
.page .sub { margin-bottom: 22px; }
.page h2 { margin: 28px 0 8px; font-size: 22px; }
.doc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px 26px 26px;
}
ol.steps { padding-left: 20px; }
ol.steps li { margin: 12px 0; }

.note {
  margin: 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff8ef;
  border: 1px solid #ffd7a8;
  color: #3b2a14;
  font-size: 15px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.note p { margin: 0; }
.note-ico {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #ff7a18;
  color: #fff;
}
.note a { color: #c2410c; font-weight: 700; }
.page .note { display: block; }

.credit { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 24px;
}

footer.site {
  width: 100%;
  background: #070d18;
  color: #b7c3d6;
  padding: 28px 0;
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
footer.site > .wrap,
.foot {
  width: min(1080px, calc(100% - 40px));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px 32px;
  flex-wrap: wrap;
}
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { width: 40px; height: 40px; border-radius: 10px; background: #fff; }
.foot strong { color: #fff; font-size: 16px; }
.foot p { margin: 2px 0 0; }
.foot nav { display: flex; gap: 8px; }
.foot nav a {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
}
footer.site a { color: #fff; text-decoration: none; font-weight: 600; }
footer.site a:hover { color: #ffb199; }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; padding: 48px 0; gap: 28px; }
  .hero { min-height: 0; }
  .hero p.lead, .hero-actions { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero img.big { width: min(240px, 60vw); }
  .metrics { grid-template-columns: 1fr 1fr; }
  .panel { grid-template-columns: 1fr; padding: 22px; border-radius: 22px; }
  .panel .sub { max-width: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .foot, footer.site > .wrap { width: min(1080px, calc(100% - 28px)); }
}

@media (max-width: 720px) {
  .wrap { width: min(1080px, 100% - 28px); }
  header.site .wrap { flex-wrap: wrap; min-height: 0; padding: 10px 0; }
  .brand span { font-size: 15px; }
  nav.main { width: 100%; gap: 2px; }
  nav.main a { font-size: 14px; padding: 8px 10px; }
  .hero h1 { font-size: clamp(34px, 10vw, 48px); }
  .hero p.lead { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .cta { width: 100%; }
  .downloads, .flow { grid-template-columns: 1fr; }
  .metrics div { padding: 16px 8px; }
  .cards { grid-template-columns: 1fr; }
  .note { flex-direction: column; }
  section.block.alt { padding: 40px 0; }
  .doc { padding: 4px 16px 18px; }
  .page h1 { font-size: 30px; }
  .note { padding: 16px; }
  .foot nav { flex-wrap: wrap; }
  .version-line { display: block; border-radius: 14px; }
}
