/* No Stress: game, privacy and support pages. Plain CSS, system fonts, no external requests.
   Look: the game's white studio (off-white walls, near-black ink) with one accent, the orange of the in-game swing button. */

:root {
  color-scheme: light dark;
  --bg: #f7f7f5;
  --surface: #ffffff;
  --surface-2: #efeff0;
  --ink: #18181c;
  --muted: #5f5f68;
  --line: #e4e4e8;
  --link: #c2410c;
  --accent: #ff5c28;
  --accent-ink: #ffffff;
  --glass: #5cb8d9;
  --shadow: 0 1px 0 rgba(24, 24, 28, 0.04), 0 10px 30px -18px rgba(24, 24, 28, 0.35);
  --radius: 16px;
  --head: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121214;
    --surface: #1b1b1f;
    --surface-2: #242429;
    --ink: #f3f3f1;
    --muted: #b0b0b8;
    --line: #2e2e35;
    --link: #ff9b6e;
    --accent: #ff6a3a;
    --accent-ink: #ffffff;
    --glass: #7fcbe6;
    --shadow: 0 1px 0 rgba(0, 0, 0, 0.3), 0 12px 30px -16px rgba(0, 0, 0, 0.7);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--body);
  overflow-wrap: break-word;
}

a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--glass); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 16px; }

/* Header */
.top { border-bottom: 1px solid var(--line); background: var(--surface); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 800 18px/1.2 var(--head); letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); }
.nav { display: flex; gap: 4px 14px; flex-wrap: wrap; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; padding: 4px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); }

/* Type */
h1, h2, h3 { font-family: var(--head); font-weight: 800; line-height: 1.2; letter-spacing: -0.015em; }
h1 { font-size: clamp(30px, 7vw, 46px); margin: 0 0 8px; }
h2 { font-size: 24px; margin: 40px 0 10px; }
h3 { font-size: 18px; margin: 24px 0 6px; }
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 22px; }
li { margin: 4px 0; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.flush { margin: 0; }
.spaced { margin-top: 24px; }

/* Hero */
.hero { text-align: center; padding-top: 44px; padding-bottom: 8px; }
.hero .icon { width: 128px; height: 128px; border-radius: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.hero h1 { margin-top: 18px; }
.hero h1 .sub { display: block; font-size: 0.5em; color: var(--accent); letter-spacing: 0.04em; text-transform: uppercase; margin-top: 4px; }
.hero .tag { font-size: 19px; color: var(--muted); max-width: 34ch; margin: 0 auto 20px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font: 800 17px/1 var(--head); text-decoration: none;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18);
}
.btn-soon { background: var(--surface-2); color: var(--ink); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.06); cursor: default; }
.note { margin-top: 12px; }

/* Feature cards */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 28px 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 4px; font-size: 17px; }
.card h3::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: var(--accent); margin-right: 8px; transform: rotate(45deg) translateY(-2px); }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Item strip */
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; margin: 8px 0 0; }
.chips li { margin: 0; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; }

/* Long-form pages */
.doc { padding-top: 32px; padding-bottom: 8px; }
.doc .lead { font-size: 18px; color: var(--muted); }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin: 18px 0; box-shadow: var(--shadow); }
.box ul { margin: 0; }
.box h2:first-child { margin-top: 0; }
.toc { font-size: 15px; }
.toc ol { margin: 0; columns: 2 220px; column-gap: 24px; }

/* FAQ */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; margin: 10px 0; }
details[open] { padding-bottom: 6px; }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; }
summary::marker { color: var(--accent); }

.lang-sep { margin: 48px 0 0; border: 0; border-top: 1px solid var(--line); }

/* Footer */
.foot { margin-top: 48px; border-top: 1px solid var(--line); background: var(--surface); font-size: 15px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; padding-top: 18px; padding-bottom: 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }

@media (max-width: 520px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .hero { padding-top: 30px; }
  .hero .icon { width: 104px; height: 104px; border-radius: 23px; }
}

@media (prefers-reduced-motion: no-preference) {
  .btn { transition: transform 0.12s ease; }
  .btn:not(.btn-soon):active { transform: translateY(1px); }
}
