:root {
  color-scheme: light;
  --bg: #f4f7f8;
  --surface: #ffffff;
  --ink: #15232d;
  --muted: #596b77;
  --line: #d5dfe3;
  --accent: #087d78;
  --accent-strong: #05635f;
  --accent-soft: #dff2ef;
  --warn-bg: #fff7e3;
  --warn-line: #e8c66b;
  --shadow: 0 10px 28px rgba(25, 48, 58, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.65;
}

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

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--accent-strong);
  font-weight: 850;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.nav a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

.document {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 6vw, 48px);
  line-height: 1.08;
}

h2 {
  margin: 30px 0 8px;
  font-size: 21px;
  line-height: 1.25;
}

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

p,
ol,
ul {
  margin: 8px 0;
}

li + li {
  margin-top: 6px;
}

.lede {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.updated,
.note {
  color: var(--muted);
}

.notice {
  margin: 18px 0;
  padding: 12px 14px;
  border: 1px solid var(--warn-line);
  border-radius: 8px;
  background: var(--warn-bg);
  color: #5f4300;
}

.video-shell {
  position: relative;
  width: 100%;
  margin: 14px 0 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0f1d24;
  aspect-ratio: 16 / 9;
}

.video-shell iframe,
.video-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-shell iframe {
  border: 0;
}

.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  color: #ffffff;
  text-align: center;
}

.video-placeholder strong {
  font-size: clamp(22px, 4vw, 34px);
  line-height: 1.1;
}

.video-placeholder span {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.76);
}

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

.link-card {
  min-height: 128px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  text-decoration: none;
}

.link-card strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.link-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.link-card:hover {
  border-color: #9fc6c2;
  background: var(--accent-soft);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  padding: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
}

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

  .nav {
    justify-content: flex-start;
  }

  .document {
    padding: 24px 18px;
  }

  .link-grid {
    grid-template-columns: 1fr;
  }
}
