:root {
  --ink: #10233f;
  --muted: #5f7188;
  --blue: #0870d2;
  --blue-dark: #0457aa;
  --green: #24c995;
  --line: #dce8f3;
  --soft: #f4f9ff;
  --white: #fff;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #f8fbff;
  line-height: 1.65;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
code, pre { font-family: "Cascadia Code", Consolas, monospace; }

.site-nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(5vw, 24px);
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 850;
  white-space: nowrap;
}

.brand img { width: 44px; height: 44px; border-radius: 12px; }
.brand small { display: block; color: var(--blue); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.site-nav nav { display: flex; align-items: center; gap: 25px; font-size: 14px; font-weight: 700; }
.site-nav nav a:hover, .site-nav nav a[aria-current="page"] { color: var(--blue); }
.nav-download { color: white !important; background: var(--blue); border-radius: 10px; padding: 9px 14px; }

.hero, .section, .trust, .site-footer, .page-hero, .page-shell { max-width: 1180px; margin-inline: auto; }
.hero { min-height: 620px; padding: 88px 24px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 55px; }
.eyebrow { color: var(--blue); font-size: 12px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { font-size: clamp(50px, 6vw, 74px); line-height: 1.02; margin: 18px 0; letter-spacing: -.045em; }
.hero h1 span { color: var(--blue); }
.lead { font-size: 20px; color: #52657c; max-width: 660px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button-primary, .button-secondary { display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; border-radius: 12px; font-weight: 800; }
.button-primary { background: var(--blue); color: white; box-shadow: 0 12px 30px #0870d22c; }
.button-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.button-secondary { background: white; border: 1px solid #cbdbea; }
.meta { font-size: 13px; color: #718096; }
.hero-art img { width: 100%; border-radius: 28px; box-shadow: 0 28px 70px #0759aa35; }

.trust { display: flex; align-items: center; justify-content: space-around; gap: 20px; background: white; border: 1px solid var(--line); border-radius: 20px; padding: 24px; margin-bottom: 76px; color: #52657c; }
.trust span { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.section { padding: 70px 24px; }
.section h2, .page-hero h1 { font-size: clamp(36px, 4vw, 48px); line-height: 1.15; letter-spacing: -.025em; margin: 10px 0 30px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card, .cards article, .steps > div, .legal-card { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 25px; box-shadow: 0 10px 32px rgba(16,35,63,.035); }
.cards p, .steps p, .faq p, .muted { color: var(--muted); }
.split { display: grid; grid-template-columns: 1.08fr .92fr; gap: 55px; align-items: center; }
.screenshot { width: 100%; border-radius: 18px; box-shadow: 0 20px 55px #10233f22; }
.split li { margin: 15px 0; color: var(--muted); }
.setup { text-align: center; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: left; }
.steps b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #52e4b2; color: #073f78; }
.checksum { color: var(--muted); }
.faq details { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin: 12px 0; }
.faq summary { font-weight: 800; cursor: pointer; }

.page-hero { padding: 72px 24px 35px; }
.page-hero p { max-width: 760px; color: var(--muted); font-size: 18px; }
.page-shell { padding: 20px 24px 90px; }
.page-shell.narrow { max-width: 900px; }
.legal-card + .legal-card { margin-top: 18px; }
.legal-card h2 { margin-top: 0; }
.legal-card a, .text-link { color: var(--blue); font-weight: 700; }
.notice { padding: 16px 18px; border-left: 4px solid var(--green); background: #eafcf6; border-radius: 0 12px 12px 0; }
.warning { padding: 16px 18px; border-left: 4px solid #f5a524; background: #fff8e8; border-radius: 0 12px 12px 0; }
.code-block { overflow-x: auto; background: #0d1c31; color: #e5f1ff; padding: 18px; border-radius: 14px; font-size: 13px; }
.badge { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: #e7f3ff; color: var(--blue-dark); font-size: 12px; font-weight: 800; }

.docs-layout { max-width: 1280px; margin: auto; display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 42px; padding: 34px 24px 100px; }
.docs-sidebar { position: sticky; top: 102px; align-self: start; max-height: calc(100vh - 125px); overflow-y: auto; padding: 18px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.docs-sidebar strong { display: block; margin: 4px 10px 10px; }
.docs-sidebar a { display: block; padding: 8px 10px; color: var(--muted); font-size: 14px; border-radius: 8px; }
.docs-sidebar a:hover, .docs-sidebar a.active { color: var(--blue); background: #edf6ff; }
.docs-main { min-width: 0; }
.docs-main > header { padding: 18px 0 28px; border-bottom: 1px solid var(--line); }
.docs-main > header h1 { font-size: clamp(38px, 5vw, 58px); line-height: 1.05; letter-spacing: -.04em; margin: 8px 0 16px; }
.docs-main section { padding: 46px 0 18px; border-bottom: 1px solid var(--line); }
.docs-main h2 { font-size: 30px; margin: 0 0 14px; }
.docs-main h3 { margin-top: 30px; }
.docs-main p, .docs-main li { color: #52657c; }
.docs-main table { width: 100%; border-collapse: collapse; margin: 20px 0; background: white; border-radius: 12px; overflow: hidden; }
.docs-main th, .docs-main td { text-align: left; vertical-align: top; padding: 13px; border: 1px solid var(--line); }
.docs-main th { background: var(--soft); }
.docs-main img { border-radius: 16px; border: 1px solid var(--line); }
.anchor { color: var(--blue); font-size: .8em; opacity: 0; margin-left: 7px; }
h2:hover .anchor, h3:hover .anchor { opacity: 1; }

.site-footer { border-top: 1px solid var(--line); padding: 52px 24px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 2fr; gap: 35px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 22px; color: var(--blue); font-weight: 700; font-size: 14px; }
.legal { font-size: 12px; color: #718096; max-width: 900px; margin-top: 28px; }

@media (max-width: 900px) {
  .site-nav nav a:not(.nav-download) { display: none; }
  .hero, .split { grid-template-columns: 1fr; }
  .hero { padding-top: 55px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .trust { flex-wrap: wrap; margin-inline: 18px; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { position: static; max-height: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .site-nav { padding-inline: 16px; }
  .brand { font-size: 17px; }
  .brand img { width: 38px; height: 38px; }
  .nav-download { font-size: 12px; }
  .hero, .section, .page-hero, .page-shell, .docs-layout { padding-left: 18px; padding-right: 18px; }
}
