:root {
  --ink-950: #202633;
  --ink-900: #303746;
  --ink-700: #5e6472;
  --ink-500: #7d828d;
  --line: #ded9dd;
  --line-strong: #c8c0c7;
  --surface: #ffffff;
  --surface-soft: #f5f2f3;
  --surface-warm: #fbf7f1;
  --surface-cool: #f2f5f6;
  --primary: #45547f;
  --primary-strong: #2b3558;
  --accent: #d9a96f;
  --teal: #3aa99a;
  --success: #2b7a68;
  --warning: #8f641e;
  --danger: #a84555;
  --shadow-sm: 0 5px 16px rgba(35, 25, 35, 0.055);
  --shadow-md: 0 14px 36px rgba(35, 25, 35, 0.09);
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink-950);
  background: var(--surface);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid rgba(102, 83, 111, 0.38); outline-offset: 3px; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 76px 0; }
.section--soft { background: var(--surface-soft); }
.section--blue { background: var(--surface-cool); }
.section-heading { max-width: 760px; margin-bottom: 30px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 11px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
h1, h2, h3 { margin: 0; line-height: 1.24; letter-spacing: -0.025em; }
h1 { font-size: clamp(2rem, 4vw, 3.3rem); }
h2 { font-size: clamp(1.55rem, 2.7vw, 2.35rem); }
h3 { font-size: 1.08rem; }
p { margin: 0; }
.lead { color: var(--ink-700); font-size: clamp(1rem, 1.4vw, 1.08rem); }
.muted { color: var(--ink-500); }
.small { font-size: 0.86rem; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 999; padding: 9px 13px; background: var(--ink-950); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.site-main { overflow: clip; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* v0.6 launch: accessibility and motion */
html { color-scheme: light; }
body.consent-open { overflow: hidden; }
::selection { color: #fff; background: var(--primary-strong); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
[hidden] { display: none !important; }
[id] { scroll-margin-top: 88px; }

/* v0.6 launch safeguards */
.noscript-notice {
  position: relative;
  z-index: 1000;
  padding: 10px 18px;
  color: #fff;
  background: var(--danger);
  text-align: center;
  font-size: .82rem;
  font-weight: 750;
}
