:root {
  color-scheme: dark;
  --bg: #080b0d;
  --surface: #0c1114;
  --panel: #10171a;
  --line: rgba(173, 211, 197, 0.16);
  --line-strong: rgba(85, 244, 174, 0.42);
  --text: #edf7f2;
  --muted: #91a29d;
  --accent: #55f4ae;
  --accent-soft: rgba(85, 244, 174, 0.1);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f7f5;
  --surface: #ffffff;
  --panel: #ffffff;
  --line: rgba(19, 58, 47, 0.16);
  --line-strong: rgba(0, 145, 89, 0.44);
  --text: #12231e;
  --muted: #60756e;
  --accent: #008b59;
  --accent-soft: rgba(0, 139, 89, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}
a { color: inherit; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 58px;
  padding: 0 max(18px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px);
}
.brand { flex: 0 0 auto; color: var(--text); font-size: 16px; font-weight: 900; text-decoration: none; }
.brand span { color: var(--accent); }
nav { display: flex; gap: 14px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
nav::-webkit-scrollbar { display: none; }
nav a { color: var(--muted); font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
nav a:hover { color: var(--accent); }
.theme-toggle {
  flex: 0 0 auto;
  margin-left: auto;
  min-width: 52px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  background: var(--surface);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}
.shell { width: min(1120px, calc(100% - 36px)); margin: 0 auto; padding: 42px 0 28px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 12px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.hero { padding: 42px 0 34px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; font-weight: 800; text-transform: uppercase; }
h1 { max-width: 850px; margin: 0; font-size: clamp(31px, 5vw, 54px); line-height: 1.08; letter-spacing: 0; }
h1 span { color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.53em; vertical-align: 0.32em; }
.hero-lead { max-width: 760px; margin: 18px 0 0; color: var(--muted); font-size: 15px; line-height: 1.78; }
.hero-actions, .reference-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: #072016;
  background: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}
.button.secondary { color: var(--accent); background: transparent; }
.notice, .reference {
  margin-top: 20px;
  padding: 17px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--accent-soft);
}
.notice strong, .reference h2 { font-size: 14px; }
.notice p, .reference p, .section-note { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.section { padding-top: 32px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 13px; }
.section-head h2 { margin: 0; font-size: 19px; }
.section-head span, .section-head a { color: var(--muted); font-size: 12px; text-decoration: none; }
.section-head a:hover { color: var(--accent); }
.info-grid, .fact-grid, .asset-grid { display: grid; gap: 10px; }
.info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-card, .fact-grid div, .asset-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.info-card { min-height: 174px; padding: 16px; }
.info-card small, .asset-kind { color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 10px; font-weight: 800; }
.info-card h3 { margin: 13px 0 0; font-size: 15px; }
.info-card p { margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.68; }
.fact-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact-grid div { padding: 15px; }
dt { color: var(--muted); font-size: 11px; }
dd { margin: 8px 0 0; color: var(--text); font-size: 14px; font-weight: 800; }
.asset-links { display: flex; flex-wrap: wrap; gap: 7px; }
.asset-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 35px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  text-decoration: none;
}
.asset-links a:hover, .asset-card:hover { border-color: var(--accent); }
.asset-links strong { font-size: 12px; }
.asset-links span { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 10px; }
.asset-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.asset-card { display: block; min-height: 180px; padding: 15px; text-decoration: none; transition: border-color 150ms ease, background 150ms ease; }
.asset-card:hover { background: var(--accent-soft); }
.asset-card strong { display: block; margin-top: 12px; font-size: 16px; }
.asset-card small { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; }
.asset-card p { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.62; }
.reference h2 { margin: 0; }
.reference-links a { color: var(--accent); font-size: 12px; font-weight: 800; text-decoration: none; }
.footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: min(1120px, calc(100% - 36px));
  margin: 28px auto 0;
  padding: 18px 0 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--accent); }
@media (max-width: 760px) {
  .topbar { gap: 13px; padding: 0 14px; }
  .shell { width: min(100% - 28px, 640px); padding-top: 25px; }
  .hero { padding: 30px 0 26px; }
  h1 { font-size: 34px; }
  .info-grid, .fact-grid, .asset-grid { grid-template-columns: 1fr; }
  .info-card, .asset-card { min-height: 0; }
  .footer { display: grid; width: min(100% - 28px, 640px); }
}