:root {
  color-scheme: light dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #162033;
  background: #f6f8fb;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #f6f8fb;
  color: #162033;
}

a { color: #086dbd; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.site-header {
  min-height: 72px;
  background: #0f6fbb;
  color: #fff;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 750;
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

nav { display: flex; align-items: center; gap: 20px; }

nav a {
  color: #eaf5ff;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

.content { padding: 56px 0 72px; }

.scene-band {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  background: #eaf3f9;
  border-bottom: 1px solid #d4e0eb;
}

.scene-band canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: pan-y;
}

.scene-band canvas:active { cursor: grabbing; }

.scene-copy {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, 1040px);
  margin: 0 auto;
  padding: 78px 0;
  pointer-events: none;
}

.scene-copy h1 { max-width: 500px; margin-bottom: 14px; }

.scene-copy p { max-width: 430px; margin: 0; color: #38526b; font-size: 18px; }

.breadcrumbs {
  margin-bottom: 18px;
  color: #6a7890;
  font-size: 14px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #56677e;
  font-size: 14px;
  font-weight: 700;
}

h1, h2, h3 { letter-spacing: 0; }

h1 {
  max-width: 760px;
  margin: 0 0 20px;
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.12;
}

h2 {
  margin: 40px 0 12px;
  font-size: 23px;
  line-height: 1.25;
}

h3 { margin: 0 0 6px; font-size: 18px; }

p, li {
  max-width: 760px;
  color: #35445a;
  font-size: 16px;
  line-height: 1.7;
}

p { margin: 0 0 16px; }

ul, ol { margin: 0 0 18px; padding-left: 24px; }

.intro {
  max-width: 730px;
  margin-bottom: 34px;
  font-size: 19px;
  line-height: 1.6;
}

.document {
  max-width: 820px;
  padding: clamp(24px, 5vw, 48px);
  background: #fff;
  border: 1px solid #d9e3ee;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(28, 54, 84, .06);
}

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

.link-card {
  display: block;
  min-height: 136px;
  padding: 22px;
  background: #fff;
  border: 1px solid #d4dfeb;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
}

.link-card:hover { border-color: #0871c1; }

.link-card p { margin: 0; color: #5c6d82; font-size: 15px; line-height: 1.55; }

.notice {
  max-width: 820px;
  margin-top: 32px;
  padding: 18px 20px;
  border-left: 4px solid #0d74c4;
  background: #eaf4ff;
  color: #334d68;
  line-height: 1.6;
}

.site-footer {
  padding: 28px 0 38px;
  border-top: 1px solid #d9e3ee;
  color: #617188;
  font-size: 14px;
}

.site-footer a { margin-right: 16px; }

@media (max-width: 640px) {
  .header-inner { min-height: 122px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 13px; }
  nav { gap: 16px; flex-wrap: wrap; }
  .content { padding: 38px 0 56px; }
  .link-grid { grid-template-columns: 1fr; }
  .scene-band { min-height: 300px; }
  .scene-copy { padding: 48px 0; }
  .scene-copy h1 { max-width: 300px; font-size: 32px; }
  .scene-copy p { max-width: 260px; font-size: 16px; }
}

@media (prefers-color-scheme: dark) {
  :root, body { background: #0d1724; color: #edf3fa; }
  .document, .link-card { background: #121f2e; border-color: #2e4054; box-shadow: none; }
  p, li { color: #c5d1de; }
  .eyebrow, .breadcrumbs, .site-footer { color: #a9b9ca; }
  .link-card p { color: #b0bfd0; }
  .notice { background: #102b43; color: #d1e8fb; }
  .site-footer { border-color: #2e4054; }
  a { color: #72bef7; }
  .scene-band { background: #102438; border-color: #2e4054; }
  .scene-copy p { color: #c9d8e7; }
}
