:root {
  color-scheme: dark light;
  --bg: #101114;
  --panel: #181b20;
  --text: #f4f5f7;
  --muted: #a7adb8;
  --line: #2d333c;
  --accent: #38bdf8;
  --accent-strong: #14b8a6;
  --button-text: #071014;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.75;
}

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

.page-shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0 28px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  box-shadow: 0 8px 24px rgb(0 0 0 / 22%);
  object-fit: cover;
}

.brand-name,
.brand-caption {
  display: block;
}

.brand-name {
  font-weight: 700;
}

.brand-caption {
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

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

.nav-links a[aria-current="page"] {
  color: var(--text);
  font-weight: 700;
}

.hero,
.document {
  padding-top: 44px;
}

.hero {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0;
}

h1,
h2 {
  line-height: 1.35;
  letter-spacing: 0;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 7vw, 4.4rem);
}

h2 {
  margin: 34px 0 10px;
  font-size: 1.25rem;
}

p,
li {
  color: var(--muted);
}

.document {
  max-width: 780px;
}

.document section {
  padding-top: 2px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  border-color: transparent;
  background: var(--accent);
  color: var(--button-text);
}

ul {
  padding-left: 1.25rem;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f8fa;
    --panel: #ffffff;
    --text: #14161a;
    --muted: #4c5563;
    --line: #d6dce5;
    --button-text: #041014;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: 2.4rem;
  }
}
