@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap");

:root {
  --blue: #2563eb;
  --blue-dark: #1e40af;
  --ink: #0f172a;
  --muted: #475569;
  --line: #dbeafe;
  --soft: #eff6ff;
  --mint: #14b8a6;
  --yellow: #facc15;
  --red: #ef4444;
  --bg: #ffffff;
  --panel: #f8fafc;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(15, 23, 42, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
p { color: var(--muted); margin: 0 0 1rem; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 1rem; letter-spacing: 0; }
h1 { font-size: clamp(2.35rem, 6vw, 4.8rem); max-width: 980px; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: 1.2rem; }
ul, ol { color: var(--muted); padding-left: 1.2rem; }
li + li { margin-top: .45rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(219, 234, 254, .85);
}
.nav {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 72px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  font-size: 1.5rem;
  color: var(--ink);
}
.site-footer .brand { font-size: 1.35rem; }
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--mint));
  font-weight: 900;
  overflow: hidden;
  flex: 0 0 auto;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nav-links { display: flex; align-items: center; gap: 22px; font-weight: 700; font-size: .95rem; }
.nav-links a { color: #1e293b; }
.nav-links a:hover { color: var(--blue); }
.nav-links a.is-active {
  color: var(--blue);
  font-weight: 850;
  position: relative;
}
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -26px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--blue);
}
.nav-links a.button-store.is-active::after { display: none; }
.nav-links a.button-store,
.nav-links a.button-store:hover {
  color: #fff;
}
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; color: var(--ink); }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: currentColor; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 24px rgba(37, 99, 235, .24); }
.button-primary:hover { background: var(--blue-dark); }
.button-store {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
  box-shadow: 0 12px 24px rgba(15, 23, 42, .18);
}
.button-store:visited { color: #fff; }
.button-store:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.button-store img {
  width: 20px;
  height: 20px;
}
.button-secondary { background: #fff; color: var(--ink); border-color: #bfdbfe; }
.button-secondary:hover { border-color: var(--blue); box-shadow: 0 12px 24px rgba(15, 23, 42, .08); }

.hero {
  padding: 84px 20px 58px;
  background:
    radial-gradient(circle at 85% 15%, rgba(20, 184, 166, .15), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}
.hero-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, .82fr);
  gap: 46px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
}
.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
}
.hero p { font-size: 1.16rem; max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-visual {
  position: relative;
  animation: fadeUp .7s ease both;
}
.hero-visual img { border-radius: 32px; box-shadow: var(--shadow); }
.article-image {
  margin: 8px 0 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #dbeafe;
  background: #fff;
}
.article-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 1180px;
  margin: 46px auto 0;
}
.metric {
  padding: 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
}
.metric strong { display: block; font-size: 1.6rem; line-height: 1; }
.metric span { display: block; margin-top: 8px; color: var(--muted); font-weight: 700; font-size: .9rem; }
.credibility-line {
  max-width: 1180px;
  margin: 34px auto 0;
  padding: 18px 22px;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  background: #fff;
  color: #1e293b;
  font-weight: 850;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}
.credibility-line span { color: var(--blue); }

.section { padding: 76px 20px; }
.section.alt { background: var(--panel); }
.wrap { max-width: 1180px; margin: 0 auto; }
.section-head { max-width: 780px; margin-bottom: 34px; }
.kicker { color: var(--blue); font-weight: 900; text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; margin-bottom: 10px; }
.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)); }
.setup-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}
.setup-list li {
  margin: 0;
  padding: 16px;
  border: 1px solid #dbeafe;
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
}
.setup-list strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}
.card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-2px); border-color: #bfdbfe; box-shadow: var(--shadow); }
.card .icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}
.card:nth-child(2n) .icon { background: var(--mint); }
.card:nth-child(3n) .icon { background: var(--red); }
.link-card { display: block; height: 100%; }
.inline-link { color: var(--blue); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  align-items: start;
}
.article {
  display: grid;
  gap: 44px;
}
.article-block {
  scroll-margin-top: 98px;
}
.article-block table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  overflow: hidden;
}
.article-block th, .article-block td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
}
.article-block th { color: var(--ink); background: var(--soft); }
.article-block tr:last-child td { border-bottom: 0; }
.sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}
.toc {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 20px;
}
.toc a {
  display: block;
  color: var(--muted);
  font-weight: 750;
  padding: 7px 0;
}
.toc a:hover { color: var(--blue); }
.breadcrumb {
  max-width: 1180px;
  margin: 0 auto 20px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 700;
}
.breadcrumb a { color: var(--blue); }

.faq-list { display: grid; gap: 12px; }
details {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 18px 20px;
}
summary {
  cursor: pointer;
  font-weight: 850;
  color: var(--ink);
}
details p { margin-top: 12px; margin-bottom: 0; }

.cta-band {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .96), rgba(30, 64, 175, .96)),
    linear-gradient(90deg, var(--blue), var(--mint));
}
.cta-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}
.cta-band p { color: rgba(255, 255, 255, .84); max-width: 680px; }
.cta-band .button { background: #fff; color: var(--blue-dark); }

.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
}
.site-footer {
  padding: 54px 20px 28px;
  background: #08111f;
  color: #e2e8f0;
}
.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 28px;
}
.site-footer p, .site-footer a { color: #94a3b8; }
.site-footer a { display: block; margin: 8px 0; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  max-width: 1180px;
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(148, 163, 184, .2);
  color: #94a3b8;
  font-size: .92rem;
}
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-visible { opacity: 1; transform: translateY(0); transition: opacity .5s ease, transform .5s ease; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-block; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    padding: 16px 20px 22px;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a.is-active::after { display: none; }
  .nav-links a.is-active {
    background: var(--soft);
    border-left: 3px solid var(--blue);
    padding: 8px 12px;
    border-radius: 6px;
  }
  .hero { padding-top: 56px; }
  .hero-grid, .content-layout, .cta-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .metric-strip, .grid-2, .grid-3, .footer-grid, .setup-list { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 560px) {
  .nav { min-height: 66px; }
  .nav-links { top: 66px; }
  .hero, .section { padding-left: 16px; padding-right: 16px; }
  .hero-actions, .button { width: 100%; }
  .button { min-height: 48px; }
  .floating-cta { left: 16px; right: 16px; bottom: 12px; }
  .floating-cta .button { box-shadow: 0 10px 32px rgba(37, 99, 235, .35); }
  .site-footer { padding-bottom: 86px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
