/* Onsen on hyraxstudio.org: the icon's black tab on white, and the app's warm orange accent. */
:root {
  --bg: #ffffff;
  --panel: #f5f5f4;
  --ink: #111111;
  --muted: #6b6b6b;
  --body: #333333;
  --line: #e7e5e4;
  --accent: #d17a4a;
  --font: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Hiragino Sans", "PingFang TC", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.7; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
/* keep-all suits Korean; Japanese and Chinese have no spaces and need ordinary breaks. */
:lang(ja), :lang(zh-Hant) { word-break: normal; line-break: strict; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 10; }
.bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 22px; }
.bar .left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 18px; text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); }
.crumb { font-size: 13px; color: var(--muted); font-weight: 700; text-decoration: none; white-space: nowrap; }
.crumb:hover { color: var(--ink); }
.nav { display: flex; gap: 6px; }
.nav a { padding: 7px 12px; border-radius: 6px; font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { background: var(--panel); color: var(--ink); }
.hero { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; padding-block: 56px 64px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; color: var(--accent); }
.hero h1 { margin: 14px 0 0; font-size: clamp(40px, 6.4vw, 64px); font-weight: 900; letter-spacing: -0.04em; line-height: 1.12; text-wrap: balance; }
.lede { margin: 20px 0 30px; font-size: 18px; color: var(--muted); max-width: 540px; }
.soon { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--panel); border-radius: 6px; padding: 13px 20px; font-weight: 800; font-size: 15px; }
.soon .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.mark { justify-self: center; width: min(100%, 280px); }
.mark img { width: 100%; border-radius: 22.37%; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08); }
.groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding-bottom: 28px; }
.group { border-radius: 10px; padding: 26px; min-width: 0; background: var(--panel); }
.group h2 { margin: 0 0 10px; font-size: 19px; font-weight: 900; letter-spacing: -0.01em; }
.group ul { margin: 0; padding-left: 18px; color: var(--body); font-size: 15px; }
.group li + li { margin-top: 4px; }
.note { display: flex; gap: 14px; align-items: flex-start; margin-block: 8px 32px; padding: 18px 20px; border-radius: 8px; border: 1px solid var(--line); }
.note p { margin: 0; color: var(--muted); font-size: 14px; }
.note-icon { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--muted); color: var(--muted); font: 800 12px/1 "Nunito", var(--font); margin-top: 1px; }
.pills { display: flex; gap: 10px; flex-wrap: wrap; padding-bottom: 64px; }
.pills .kit-eyebrow { height: 34px; padding: 0 15px; font-size: 13px; }
.pills .lang { color: var(--muted); font-weight: 600; }
.doc-head { padding-block: 40px 20px; }
.doc-head .kit-eyebrow { margin-bottom: 14px; color: var(--accent); }
.doc-head h1 { margin: 0; font-size: clamp(32px, 5vw, 44px); font-weight: 900; letter-spacing: -0.03em; }
.doc-head p { margin: 10px 0 0; color: var(--muted); }
.langs { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 2; padding-block: 12px; margin-bottom: 8px; background: linear-gradient(var(--bg) 70%, rgba(255, 255, 255, 0)); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 6px; border: 1px solid var(--line); background: var(--panel); }
.seg a { padding: 6px 14px; border-radius: 4px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--muted); transition: background 0.2s, color 0.2s; }
.seg a:hover { color: var(--ink); }
.seg a[aria-current] { background: var(--ink); color: #fff; }
.doc { max-width: 760px; padding-bottom: 32px; }
.doc section { padding-top: 32px; scroll-margin-top: 64px; }
.doc section + section { border-top: 1px solid var(--line); margin-top: 32px; }
.doc h2 { margin: 0 0 4px; font-size: 24px; font-weight: 900; }
.doc .date { margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.doc h3 { margin: 24px 0 6px; font-size: 16px; font-weight: 800; }
.doc p, .doc li { color: var(--body); font-size: 15px; }
.doc ul { padding-left: 20px; }
.doc dt { margin-top: 18px; font-weight: 800; font-size: 15px; }
.doc dd { margin: 4px 0 0; color: var(--body); font-size: 15px; }
.doc .muted { color: var(--muted); }
.foot { border-top: 1px solid var(--line); padding-block: 28px 44px; font-size: 13px; color: var(--muted); line-height: 1.9; }
.foot a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; }
  .mark { max-width: 200px; grid-row: 1; justify-self: start; }
  .groups { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .crumb { display: none; }
  .nav a { padding: 6px 9px; font-size: 13px; }
  .lede { font-size: 16px; }
}
