:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  color: #20252b;
  background: #f5f7f9;
  --ink: #20252b;
  --muted: #66717d;
  --line: #dce2e8;
  --blue: #2463a6;
  --blue-dark: #174877;
  --soft-blue: #eaf3fb;
  --surface: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  line-height: 1.7;
}

a {
  color: var(--blue);
}

a:hover {
  color: var(--blue-dark);
}

.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.site-header-inner,
.site-footer-inner {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand {
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand span {
  color: var(--muted);
  font-size: 0.8em;
  font-weight: 500;
  margin-left: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.9rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--blue-dark);
}

.page {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 72px;
}

article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(22px, 5vw, 64px);
  box-shadow: 0 12px 32px rgba(32, 37, 43, 0.06);
}

article > :first-child {
  margin-top: 0;
}

article > :last-child {
  margin-bottom: 0;
}

h1, h2, h3 {
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  margin: 0 0 16px;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin-top: 48px;
}

h3 {
  font-size: 1.08rem;
}

p, li {
  overflow-wrap: anywhere;
}

.eyebrow {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 40rem;
  margin: 0;
}

.hero {
  padding: clamp(8px, 2vw, 20px) 0 42px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--blue-dark);
  display: inline-block;
  font-weight: 650;
  padding: 9px 15px;
  text-decoration: none;
}

.button:hover {
  background: var(--soft-blue);
  text-decoration: none;
}

.button.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.button.primary:hover {
  background: var(--blue-dark);
}

.quick-start,
.preview-section,
.doc-links {
  border-top: 1px solid var(--line);
  padding-top: 32px;
  margin-top: 24px;
}

.section-heading h2 {
  margin: 0 0 22px;
}

.section-heading .eyebrow {
  margin-bottom: 7px;
}

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

.steps li {
  align-items: center;
  counter-increment: step;
  display: flex;
  gap: 12px;
}

.steps li::before {
  align-items: center;
  background: var(--soft-blue);
  border-radius: 50%;
  color: var(--blue-dark);
  content: counter(step);
  display: inline-flex;
  flex: 0 0 28px;
  font-size: 0.85rem;
  font-weight: 750;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.card-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}

.card h3 {
  margin: 0 0 8px;
}

.card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

.link-list {
  display: grid;
  gap: 10px;
}

.link-list a {
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 12px 0;
  text-decoration: none;
}

.link-list a:last-child {
  border-bottom: 0;
}

.link-list span {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: right;
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.key-combination {
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 18px 0 24px;
  padding: 20px;
}

kbd {
  background: #fff;
  border: 1px solid #cbd3dc;
  border-bottom-width: 2px;
  border-radius: 5px;
  box-shadow: 0 1px 0 #cbd3dc;
  color: var(--ink);
  display: inline-block;
  font-family: inherit;
  font-size: 0.88em;
  line-height: 1;
  padding: 5px 7px;
}

img, svg {
  height: auto;
  max-width: 100%;
}

pre {
  background: #20252b;
  border-radius: 8px;
  color: #f4f4f4;
  overflow-x: auto;
  padding: 16px;
}

code {
  background: #eef1f4;
  border-radius: 4px;
  padding: 0.1em 0.3em;
}

pre code {
  background: transparent;
  padding: 0;
}

table {
  border-collapse: collapse;
  display: block;
  margin: 18px 0;
  overflow-x: auto;
  width: 100%;
}

th, td {
  border: 1px solid var(--line);
  padding: 9px 12px;
  text-align: left;
}

th {
  background: #f0f3f6;
}

.site-footer {
  color: var(--muted);
  font-size: 0.85rem;
  padding: 0 0 32px;
}

.site-footer-inner {
  display: flex;
  justify-content: space-between;
}

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

@media (max-width: 700px) {
  .site-header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 14px 0;
  }

  .site-nav {
    gap: 14px;
  }

  .page {
    padding-top: 18px;
  }

  article {
    border-radius: 14px;
    padding: 22px 18px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .link-list a {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .link-list span {
    text-align: left;
  }

  .site-footer-inner {
    flex-direction: column;
    gap: 6px;
  }
}
