/* Gymbarian sub-pages — the app's design A tokens: always dark, one white for text, Saira for the mark, one orange */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #0A0C0F; --card: #14171C; --strip: #252A33; --ink: #F3F5F8; --text: #F3F5F8; --text-mid: #DADDE2; --text-dim: #8C94A1;
  --border: #2B3038; --acc: #FF9A00; --link: #FFB547;
  --sans: Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Hiragino Sans', system-ui, sans-serif;
  --mark: 'Saira', -apple-system, system-ui, sans-serif;
  color-scheme: dark;
}
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text-mid); font-family: var(--sans); line-height: 1.7; -webkit-font-smoothing: antialiased; }
.wrap {
  max-width: 720px; margin: clamp(16px, 4vw, 48px) auto; padding: clamp(24px, 5vw, 48px) clamp(20px, 5vw, 48px) 48px;
  background: var(--card); border-radius: 24px; box-shadow: 0 0 0 1px var(--border);
}
.topnav {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 2rem; padding: 7px 14px;
  font-size: 14px; font-weight: 600; color: var(--ink); background: var(--strip); border-radius: 999px; text-decoration: none;
}
.draft { margin-bottom: 1.75rem; padding: 0.8rem 1rem; border-radius: 12px; border: 1.5px solid var(--acc); color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.5; }
.draft small { display: block; margin-top: 2px; font-weight: 400; color: var(--text-mid); }
h1 { font-size: clamp(26px, 5vw, 36px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; color: var(--ink); margin-bottom: 0.75rem; }
h1::before {
  content: ""; display: block; width: 64px; height: 64px; margin-bottom: 1.25rem;
  background: url('/img/gymbarian-icon.png') center / cover; border-radius: 15px;
}
.effective {
  display: inline-block; margin-bottom: 1.75rem; padding: 4px 12px; border-radius: 999px;
  font: 600 12px var(--mark); letter-spacing: 0.06em; color: var(--ink); background: var(--strip);
}
.intro { font-size: 16px; margin-bottom: 1rem; }
h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin: 2.75rem 0 0.9rem; padding-left: 12px; border-left: 3px solid var(--acc); }
h3 { font-size: 16px; font-weight: 600; color: var(--ink); margin: 1.5rem 0 0.4rem; }
p { font-size: 15px; margin-bottom: 0.85rem; }
ul, ol { margin: 0.5rem 0 1rem 1.3rem; }
li { font-size: 15px; margin-bottom: 0.45rem; }
strong { color: var(--ink); font-weight: 600; }
a.inline { color: var(--link); text-decoration: none; }
a.inline:hover { text-decoration: underline; }
mark.tbd { background: rgba(255,154,0,0.16); color: var(--link); padding: 0 4px; border-radius: 4px; font-size: 0.92em; }
table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1rem 0 1.5rem; font-size: 14px; background: var(--bg); border-radius: 14px; overflow: hidden; }
th, td { padding: 0.7rem 0.9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
tr:last-child td { border-bottom: 0; }
th { font-size: 12px; font-weight: 600; color: var(--text-dim); }
td { color: var(--text-mid); }
.contact { margin: 1.5rem 0; padding: 1rem 1.25rem; background: var(--bg); border-radius: 16px; }
.contact .label { font-size: 12px; font-weight: 600; color: var(--text-dim); margin-bottom: 0.2rem; }
.contact .value { font-size: 17px; font-weight: 600; color: var(--ink); }
.foot { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-dim); }
.foot a { color: var(--link); text-decoration: none; }
a:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 4px; }
@media (max-width: 640px) {
  .wrap { margin: 0; border-radius: 0; box-shadow: none; }
  table, th, td { font-size: 13px; } th, td { padding: 0.55rem 0.6rem; }
}
