:root {
  color-scheme: dark;
  --bg: #0d0f10;
  --surface: #151719;
  --surface-raised: #1b1e20;
  --border: #303437;
  --border-strong: #4a4f52;
  --text: #f3f1ea;
  --muted: #a5aaa8;
  --dim: #808683;
  --accent: #ff5a1f;
  --focus: #f5c84b;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body {
  min-height: 100dvh;
  margin: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

.page-head {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid var(--border);
  background: #111315;
}

.eyebrow, .label {
  margin: 0 0 6px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1, h2 { margin: 0; line-height: 1.08; }
h1 { font-size: clamp(22px, 3vw, 34px); font-weight: 650; letter-spacing: -.035em; }
h2 { font-size: clamp(18px, 2vw, 24px); font-weight: 650; letter-spacing: -.025em; }

.back {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.back:hover { background: var(--surface-raised); }
a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

main {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 26px clamp(18px, 4vw, 54px) 46px;
}

.notice {
  margin: 0 0 34px;
  padding: 18px 20px;
  border: 1px solid #5a3528;
  background: #241915;
}

.notice p:last-child { margin: 0; color: #f2c5b5; }

.resource {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 28px 0;
  border-top: 1px solid var(--border-strong);
}

.resource:last-of-type { border-bottom: 1px solid var(--border-strong); }
.resource-number { color: var(--accent); font-family: var(--mono); font-size: 26px; letter-spacing: -.05em; }
.resource p, .brief section p, .return-list p { max-width: 75ch; color: var(--muted); font-size: 14px; line-height: 1.55; }
.warning { padding-left: 12px; border-left: 2px solid var(--accent); color: #ffc1aa !important; }

.links { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 14px; }
.links a { color: #ffc1aa; font-size: 12px; font-weight: 700; text-decoration: none; }
.links a:hover { text-decoration: underline; }

.return-list { padding: 30px 0 0; }
ul, ol { max-width: 78ch; margin: 14px 0 0; padding-left: 22px; color: var(--muted); font-size: 14px; line-height: 1.55; }
li + li { margin-top: 8px; }

.brief section:not(.notice) { padding: 28px 0; border-top: 1px solid var(--border-strong); }
.brief section:last-child { border-bottom: 1px solid var(--border-strong); }

footer {
  min-height: 50px;
  display: flex;
  align-items: center;
  padding: 10px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--border);
  color: var(--dim);
  font-size: 10px;
  line-height: 1.4;
}
footer p { margin: 0; }

@media (max-width: 620px) {
  .page-head { min-height: 76px; padding: 13px 14px; gap: 12px; }
  .eyebrow { font-size: 8px; }
  h1 { font-size: 20px; }
  .back { min-height: 30px; padding: 0 9px; font-size: 10px; }
  main { padding: 18px 14px 34px; }
  .notice { margin-bottom: 22px; padding: 14px; }
  .resource { grid-template-columns: 38px minmax(0, 1fr); gap: 10px; padding: 22px 0; }
  .resource-number { font-size: 20px; }
  .resource p, .brief section p, .return-list p, ul, ol { font-size: 12px; }
  .links { display: grid; gap: 10px; }
}
