:root {
  color-scheme: light dark;
  --ink: #17151b;
  --muted: #68646f;
  --paper: #fcfbfd;
  --panel: rgba(255, 255, 255, 0.78);
  --line: rgba(42, 35, 50, 0.11);
  --accent: #ff5a36;
  --accent-soft: #fff0eb;
  --success: #168b53;
  --shadow: 0 22px 70px rgba(70, 55, 87, 0.12);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% -4%, rgba(150, 123, 255, 0.16), transparent 33rem),
    radial-gradient(circle at -8% 28%, rgba(255, 90, 54, 0.12), transparent 30rem),
    var(--paper);
  min-height: 100vh;
}

a { color: inherit; }
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.nav {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 22px; font-weight: 760; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 14px; color: var(--muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--ink); }

.hero { padding: 90px 0 110px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 760; letter-spacing: .14em; text-transform: uppercase; }
h1 { max-width: 780px; margin: 16px 0 22px; font-size: clamp(48px, 7vw, 86px); line-height: .98; letter-spacing: -.055em; }
.lede { max-width: 660px; margin: 0; color: var(--muted); font-size: clamp(18px, 2.2vw, 24px); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; text-decoration: none; font-weight: 700; border: 1px solid var(--line); background: var(--panel); backdrop-filter: blur(18px); }
.button.primary { color: white; background: var(--accent); border-color: var(--accent); }
.hero-card, .card, .notice {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  border-radius: 28px;
}
.hero-card { padding: 34px; }
.route { display: grid; gap: 18px; }
.route-row { display: grid; grid-template-columns: 48px 1fr; gap: 15px; align-items: center; }
.route-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: var(--accent-soft); color: var(--accent); font-weight: 800; }
.route-title { font-weight: 720; }
.route-copy { color: var(--muted); font-size: 14px; margin-top: 3px; line-height: 1.45; }
.route-line { width: 2px; height: 20px; background: linear-gradient(var(--accent), #8f77ff); margin-left: 23px; opacity: .5; }

.section { padding: 78px 0; }
.section h2, .page h1 { margin: 0 0 18px; font-size: clamp(36px, 5vw, 58px); letter-spacing: -.04em; }
.section-intro { max-width: 720px; color: var(--muted); font-size: 19px; line-height: 1.6; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.card { padding: 28px; box-shadow: none; }
.card h3 { margin: 0 0 12px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); line-height: 1.6; }
.status { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--success); font-size: 14px; font-weight: 700; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px rgba(22, 139, 83, .12); }

.page { width: min(820px, calc(100% - 40px)); margin: 60px auto 100px; }
.page .eyebrow { margin-bottom: 14px; }
.page .meta { color: var(--muted); margin-bottom: 40px; }
.page h2 { margin: 42px 0 14px; font-size: 26px; letter-spacing: -.02em; }
.page h3 { margin: 28px 0 10px; }
.page p, .page li { color: #514d57; line-height: 1.72; }
.page li + li { margin-top: 8px; }
.page code { font: .9em ui-monospace, SFMono-Regular, Menlo, monospace; background: rgba(70, 60, 80, .07); padding: 2px 6px; border-radius: 6px; }
.notice { margin: 28px 0; padding: 22px 24px; box-shadow: none; border-left: 4px solid var(--accent); }
.notice strong { display: block; margin-bottom: 7px; }
.download-state { display: flex; align-items: flex-start; gap: 16px; margin: 30px 0; padding: 26px; border-radius: 24px; background: var(--accent-soft); }
.download-state span { font-size: 30px; }
.download-state h2 { margin: 0 0 8px; }
.download-state p { margin: 0; }
pre { overflow: auto; padding: 18px; border-radius: 18px; background: #211f25; color: #f8f5fb; font-size: 13px; line-height: 1.6; }
.footer { border-top: 1px solid var(--line); padding: 34px 0 50px; color: var(--muted); font-size: 13px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer a { text-decoration: none; }

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1120px); }
  .nav { height: 70px; }
  .nav-links { gap: 13px; font-size: 13px; }
  .nav-links a:first-child { display: none; }
  .hero { grid-template-columns: 1fr; padding: 60px 0 80px; gap: 34px; }
  .grid { grid-template-columns: 1fr; }
  .section { padding: 58px 0; }
  .page { width: min(100% - 30px, 820px); margin-top: 42px; }
}

@media (prefers-color-scheme: dark) {
  :root { --ink: #f6f2f8; --muted: #aaa5af; --paper: #131217; --panel: rgba(31, 29, 36, .76); --line: rgba(255,255,255,.10); --accent-soft: rgba(255,90,54,.12); --shadow: 0 22px 70px rgba(0,0,0,.3); }
  .page p, .page li { color: #cbc5cf; }
  pre { background: #08070a; }
}
