/* Design Tokens (source of truth: DESIGN.md) */
:root {
  /* ブランド・アクセント */
  --color-blue: #0096fa;
  --color-blue-dark: #0069b5;

  /* テキスト */
  --charcoal-text: #464a4d;
  --charcoal-text-secondary: #8c8c8c;
  --charcoal-text-disabled: #b8b8b8;

  /* 背景・サーフェス */
  --charcoal-bg: #eeeeee;
  --charcoal-surface: #ffffff;

  /* ボーダー */
  --charcoal-border: #d6d6d6;

  /* セマンティック */
  --charcoal-like: #ff4060;
  --charcoal-danger: #ff0000;
  --charcoal-warning: #f5a623;
  --charcoal-success: #00c853;

  /* Typography */
  --font-sans:
    system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, Cantarell, 'Noto Sans', sans-serif;
  --font-mono: SFMono-Regular, Consolas, Menlo, monospace;
  --font-weight-regular: 400;
  --font-weight-bold: 700;

  /* Sizes (DESIGN.md: body 12px default / 14px paragraph) */
  --text-caption: 10px;
  --text-body-sm: 12px;
  --text-body: 14px;

  /* Layout / Spacing scale */
  --space-xs: 4px;
  --space-s: 8px;
  --space-m: 16px;
  --space-l: 24px;
  --space-xl: 32px;
  --space-xxl: 48px;

  --radius-sm: 4px;
  --shadow-1: 0 1px 4px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--charcoal-text);
  background: var(--charcoal-bg);
  font-family: var(--font-sans);
  font-weight: var(--font-weight-regular);
  font-size: var(--text-body-sm);
  line-height: 1.5;
  word-break: break-all;
  overflow-wrap: break-word;
}

a {
  color: var(--color-blue);
  text-decoration: none;
}

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

.container {
  max-width: 1224px;
  margin: 0 auto;
  padding: var(--space-l) var(--space-m);
}

.siteHeader {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--charcoal-surface);
  border-bottom: 1px solid var(--charcoal-border);
}

.siteHeaderInner {
  max-width: 1224px;
  margin: 0 auto;
  padding: var(--space-s) var(--space-m);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
}

.siteBrand {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-s);
  font-weight: var(--font-weight-bold);
  letter-spacing: normal;
}

.siteBrandTitle {
  font-size: var(--text-body);
}

.siteBrandSubtitle {
  font-size: var(--text-body-sm);
  font-weight: var(--font-weight-regular);
  color: var(--charcoal-text-secondary);
}

.siteNav {
  display: flex;
  align-items: center;
  gap: var(--space-s);
  font-size: var(--text-body-sm);
}

.siteNavLink {
  padding: var(--space-s) var(--space-m);
  border-radius: var(--radius-sm);
}

.siteNavLink:hover {
  background: rgba(0, 150, 250, 0.08);
  text-decoration: none;
}

h1 {
  font-size: var(--text-body);
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
  margin: 0 0 var(--space-m);
}
