
:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #eef4ff;
  --text: #101828;
  --muted: #596579;
  --line: #dbe3ef;
  --accent: #4f7cff;
  --accent-dark: #315dd8;
  --green: #26b97a;
  --green-dark: #12865b;
  --warning: #fff6df;
  --shadow: 0 22px 60px rgba(16, 24, 40, .10);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(79, 124, 255, .16), transparent 34rem),
    radial-gradient(circle at 90% 10%, rgba(38, 185, 122, .16), transparent 28rem),
    var(--bg);
  line-height: 1.62;
}

img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
p { margin: 0 0 1rem; color: var(--muted); }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.03em; }
h1 { font-size: clamp(2.2rem, 6vw, 5.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
ul, ol { margin: 0; padding-left: 1.2rem; color: var(--muted); }
li + li { margin-top: .45rem; }

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--text);
  color: #fff;
}
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(18px);
  background: rgba(245, 247, 251, .84);
  border-bottom: 1px solid rgba(219, 227, 239, .72);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -.04em;
  color: var(--text);
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--text);
  color: #fff;
  box-shadow: 0 10px 28px rgba(16, 24, 40, .16);
}

.logo-mark svg { width: 24px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .94rem;
  color: #344054;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 12px;
  white-space: nowrap;
}

.site-nav a:hover {
  background: rgba(79, 124, 255, .09);
  color: var(--accent-dark);
}

.header-actions { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  line-height: 1.1;
  box-shadow: 0 12px 30px rgba(79, 124, 255, .24);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 16px 38px rgba(79, 124, 255, .32);
}

.btn-green {
  background: var(--green);
  box-shadow: 0 12px 30px rgba(38, 185, 122, .22);
}
.btn-green:hover { background: var(--green-dark); color: #fff; }

.btn-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(16, 24, 40, .07);
}
.btn-secondary:hover { background: var(--surface-soft); color: var(--accent-dark); }

.hero {
  padding: clamp(44px, 7vw, 86px) 0 clamp(36px, 6vw, 72px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .82fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: #315dd8;
  font-weight: 800;
  font-size: .9rem;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(38, 185, 122, .12);
}

.hero h1 span { color: var(--accent); }

.lead {
  max-width: 780px;
  margin-top: 22px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: #415064;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.hero-note {
  margin-top: 18px;
  font-size: .95rem;
  color: #687386;
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(219, 227, 239, .9);
  border-radius: calc(var(--radius) + 8px);
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow);
}

.hero-card img { display: block; border-radius: 24px; }

.status-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.status-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.status-item strong { display: block; color: var(--text); }
.status-item small { color: var(--muted); }

.icon-dot {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 10px;
  background: rgba(38, 185, 122, .14);
  color: var(--green-dark);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.section { padding: clamp(42px, 7vw, 86px) 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head p { max-width: 660px; margin-bottom: 0; }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  height: 100%;
  padding: clamp(20px, 2.5vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 14px 38px rgba(16, 24, 40, .06);
}

.card h3 { margin-bottom: 12px; }
.card p:last-child { margin-bottom: 0; }

.number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--accent-dark);
  font-weight: 900;
}

.feature-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
}

.feature-list li::before {
  content: "✓";
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 9px;
  background: rgba(38, 185, 122, .13);
  color: var(--green-dark);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.panel {
  padding: clamp(22px, 4vw, 42px);
  border-radius: calc(var(--radius) + 10px);
  background: var(--text);
  color: #fff;
  box-shadow: var(--shadow);
}

.panel p { color: rgba(255,255,255,.74); }
.panel .feature-list { color: rgba(255,255,255,.82); }
.panel .feature-list li::before { background: rgba(255,255,255,.14); color: #8df1c1; }

.cta-box {
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(26px, 5vw, 48px);
  border-radius: calc(var(--radius) + 14px);
  background:
    radial-gradient(circle at 10% 0, rgba(255,255,255,.28), transparent 18rem),
    linear-gradient(135deg, #101828, #203864 62%, #315dd8);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-box p { color: rgba(255,255,255,.76); max-width: 720px; }
.cta-box h2 { max-width: 790px; }

.article-hero {
  padding: clamp(42px, 7vw, 76px) 0 clamp(28px, 5vw, 52px);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: .94rem;
}

.breadcrumbs a { color: var(--accent-dark); font-weight: 700; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 28px;
}

.article-body {
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 14px 42px rgba(16, 24, 40, .06);
}

.article-body h2 { margin: 34px 0 14px; font-size: clamp(1.55rem, 3vw, 2.35rem); }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin: 24px 0 10px; }
.article-body p { max-width: 76ch; }

.aside-card {
  position: sticky;
  top: 98px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(16, 24, 40, .06);
}

.aside-card .btn { width: 100%; margin-top: 14px; }

.toc {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  font-size: .94rem;
}

.toc a {
  padding: 8px 10px;
  border-radius: 10px;
  color: #4a5668;
}

.toc a:hover { background: var(--surface-soft); color: var(--accent-dark); }

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.steps li {
  counter-increment: step;
  position: relative;
  margin: 0;
  padding: 18px 18px 18px 62px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

.notice {
  padding: 18px 20px;
  border: 1px solid #f0dca0;
  border-radius: 20px;
  background: var(--warning);
  color: #66552b;
}

.notice p { color: #66552b; margin: 0; }

.faq {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 16px 18px;
}

summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--text);
}

details p { margin-top: 12px; margin-bottom: 0; }

.platforms {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.platform {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.platform strong { display: block; margin-bottom: 6px; }
.platform span { color: var(--muted); font-size: .94rem; }

.footer {
  margin-top: 60px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .72);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: var(--muted);
}

.footer small { color: var(--muted); }

@media (max-width: 1060px) {
  .hero-grid, .split, .article-layout { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 840px) {
  .header-inner { min-height: 68px; }
  .menu-toggle { display: inline-block; }
  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { white-space: normal; }
  .header-actions .btn { display: none; }
  .section-head { display: block; }
  .section-head p { margin-top: 14px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .cta-box { grid-template-columns: 1fr; }
  .cta-box .btn { width: 100%; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 22px, var(--container)); }
  .hero-actions .btn, .btn-secondary { width: 100%; }
  .grid-4, .platforms { grid-template-columns: 1fr; }
  .article-body { padding: 20px 16px; border-radius: 22px; }
  .steps li { padding: 16px 16px 16px 56px; }
  .footer-grid { grid-template-columns: 1fr; }
  .logo span:last-child { font-size: .98rem; }
}
