:root {
  color-scheme: dark;
  background: #10221e;
  color: #f5f6ed;
  --muted: #b0c5b9;
  --accent: #bde891;
  --line: #354d42;
  --surface: #182d27;
  font-family: system-ui, -apple-system, "Segoe UI", "Malgun Gothic", sans-serif;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

* { box-sizing: border-box; }
body { margin: 0; display: flex; flex-direction: column; min-height: 100vh; }
a { color: var(--accent); text-underline-offset: 0.2em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.info-header, main, .info-footer {
  width: min(100% - 2 * clamp(16px, 5vw, 48px), 50rem);
  margin-inline: auto;
}

.info-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 0.65rem; font-weight: 700; text-decoration: none; color: inherit; }
.brand img { border-radius: 8px; }
.play-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  background: var(--accent);
  color: #10221e;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

main { flex: 1; padding-block: clamp(2rem, 7vw, 4.5rem); }
h1, h2, h3 { line-height: 1.25; letter-spacing: -0.035em; }
h1 { font-size: clamp(2rem, 6vw, 3.5rem); margin: 0; }
h2 { font-size: clamp(1.35rem, 4vw, 1.75rem); margin: 0 0 0.85rem; }
h3 { margin: 1.5rem 0 0.35rem; }
p { margin: 0.7rem 0; }
.lead { color: var(--muted); max-width: 44rem; font-size: clamp(1rem, 3vw, 1.2rem); margin: 0.9rem 0 1.6rem; }
main section { margin-block: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
ol { padding-inline-start: 1.5rem; }
ol li + li { margin-top: 0.65rem; }
.contents, .actions, .info-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1rem; }
.contents a, .info-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.contents { padding: 0.45rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.example { border-left: 3px solid var(--accent); background: var(--surface); padding: 0.75rem 1rem; }
.steps, .storage { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.7rem 1.2rem; }
dt { font-weight: 700; color: var(--accent); }
dd { margin: 0; }
code, kbd { font-family: ui-monospace, Consolas, monospace; font-size: 0.9em; }
kbd { padding: 0.1em 0.34em; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.policy-dates, .info-footer { color: var(--muted); }
.info-footer { padding: 0.75rem 0 1.5rem; border-top: 1px solid var(--line); }
.info-footer [aria-current="page"] { color: inherit; }

.skip-link { position: absolute; inset: 0.5rem auto auto 0.5rem; padding: 0.5rem 0.75rem; background: var(--surface); }
.skip-link:not(:focus) { clip-path: inset(50%); }

@media (max-width: 650px) {
  .steps, .storage { display: block; }
  dd { margin-bottom: 0.7rem; }
}
