/* 두루미 사이트 공용 스타일. 모든 페이지가 이 파일 하나를 씀 */
:root {
  --bg: #f6f1e7;
  --surface: #fffdf8;
  --ink: #14171c;
  --muted: #5b6270;
  --line: #e2d9c8;
  --accent: #c8372a;
  --accent-ink: #ffffff;
  --chip: #efe6d4;
  --s1: #2a78d6;
  --s2: #eb6834;
  --s3: #1baf7a;
  --other: #8f877a;
  --live: #17865f;
  --dev: #2a6fc4;
  --plan: #8a7f6d;
  --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171c;
    --surface: #1c2027;
    --ink: #eef0f3;
    --muted: #a3aab6;
    --line: #2c323c;
    --accent: #e5574a;
    --accent-ink: #14171c;
    --chip: #252a33;
    --s1: #3987e5;
    --s2: #d95926;
    --s3: #199e70;
    --other: #6b7380;
    --live: #3cc28f;
    --dev: #6aa5ee;
    --plan: #a59c8c;
  }
}
* { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.num { font-variant-numeric: tabular-nums; }
[id] { scroll-margin-top: 72px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* display를 정한 요소에도 hidden 속성이 먹도록 */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip:focus { position: fixed; left: 12px; top: 12px; width: auto; height: auto; margin: 0; padding: 8px 14px; clip: auto; overflow: visible; z-index: 50; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; font-weight: 700; }

/* language switch */
html[data-lang="ko"] .en, html[data-lang="en"] .ko { display: none !important; }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; }
.mark { width: 30px; height: 30px; flex: none; }
.brand small { font-weight: 500; color: var(--muted); font-size: 14px; }
.navlinks { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.navlinks a { display: block; text-decoration: none; color: var(--muted); font-size: 15px; padding: 6px 10px; border-radius: 8px; white-space: nowrap; }
.navlinks a:hover { color: var(--ink); background: var(--chip); }
.navlinks a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.bar-end { display: flex; align-items: center; gap: 8px; }
.btn.small { font-size: 14px; padding: 7px 14px; border-radius: 10px; }
.lang {
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  color: var(--ink); background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 12px;
}
.lang:hover { border-color: var(--muted); }
.menu-btn {
  display: none; font: inherit; cursor: pointer; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px; width: 38px; height: 34px; padding: 0;
  align-items: center; justify-content: center;
}
.menu-btn svg { width: 18px; height: 18px; }
@media (max-width: 980px) {
  .menu-btn { display: inline-flex; }
  #site-nav { position: absolute; left: 0; right: 0; top: 60px; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  header.site.open #site-nav { display: block; }
  .navlinks { flex-direction: column; align-items: stretch; gap: 0; max-width: var(--max); margin: 0 auto; padding: 8px 16px 14px; }
  .navlinks a { font-size: 17px; padding: 11px 6px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .navlinks li:last-child a { border-bottom: 0; }
  /* 자바스크립트가 없으면 메뉴 버튼을 못 쓰니 링크를 그대로 펼쳐 둠 */
  html.no-js #site-nav { position: static; display: block; border: 0; background: none; }
  html.no-js .navlinks { flex-direction: row; flex-wrap: wrap; padding: 0; }
  html.no-js .navlinks a { border: 0; font-size: 15px; padding: 6px 8px; }
  html.no-js .bar { height: auto; flex-wrap: wrap; padding: 8px 0; }
}
@media (max-width: 420px) { .brand small { display: none; } .bar-end .btn.small { padding: 7px 10px; } }

/* ---------- buttons ---------- */
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 16px;
  padding: 12px 20px; border-radius: 12px; border: 1px solid transparent; white-space: nowrap;
}
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.06); }
.btn.ghost { border-color: var(--line); background: var(--surface); }
.btn.ghost:hover { border-color: var(--muted); }
.more { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent); }
.more:hover { color: var(--accent); }

/* ---------- status tags: 운영 중 / 개발 중 / 계획 ---------- */
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; line-height: 1; padding: 5px 10px 5px 8px; border-radius: 999px; background: var(--chip); color: var(--ink); white-space: nowrap; vertical-align: middle; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--plan); flex: none; }
.status.live::before { background: var(--live); }
.status.dev::before { background: var(--dev); }
.status.plan::before { background: transparent; border: 2px solid var(--plan); width: 8px; height: 8px; box-sizing: border-box; }
.status-key { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; color: var(--muted); font-size: 14px; margin: -20px 0 28px; }

/* ---------- hero ---------- */
.hero { padding-top: 48px; padding-bottom: 40px; }
@media (min-width: 720px) { .hero { padding-top: 72px; padding-bottom: 56px; } }
.hero-grid { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; } }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 14px; }
html[data-lang="ko"] .eyebrow { text-transform: none; letter-spacing: 0.02em; }
.eyebrow-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 14px; }
.eyebrow-row .eyebrow { margin-bottom: 0; }
h1 { font-size: clamp(34px, 5.6vw, 58px); line-height: 1.12; letter-spacing: -0.03em; margin: 0 0 20px; font-weight: 800; max-width: 920px; }
h1 .hl { color: var(--accent); }
.lead { font-size: clamp(17px, 2.1vw, 20px); color: var(--muted); max-width: 720px; margin: 0 0 28px; }
.page-hero { padding-top: 48px; padding-bottom: 48px; }
@media (min-width: 720px) { .page-hero { padding-top: 72px; padding-bottom: 64px; } }
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); }

.proof { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
@media (min-width: 720px) { .proof { grid-template-columns: repeat(4, 1fr); } }
.proof li { background: var(--surface); padding: 16px 18px; }
.proof b { display: block; font-size: 24px; letter-spacing: -0.02em; line-height: 1.25; }
.proof li > span { color: var(--muted); font-size: 14px; }
@media (min-width: 980px) { .hero-grid .proof { grid-template-columns: repeat(2, 1fr); } .hero-grid h1 { font-size: clamp(40px, 4.4vw, 54px); } }

/* hero player: tabs + video + turn log */
.player { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; min-width: 0; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px; border-bottom: 1px solid var(--line); }
.tab { font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); background: none; border: 0; border-radius: 9px; padding: 7px 12px; cursor: pointer; white-space: nowrap; }
.tab:hover { color: var(--ink); background: var(--chip); }
.tab[aria-selected="true"] { color: var(--ink); background: var(--chip); }
.player .screen { background: #0e1014; aspect-ratio: 16 / 13; }
.player .screen video { width: 100%; height: 100%; object-fit: contain; display: block; }
.log { list-style: none; margin: 0; padding: 14px 16px 16px; display: grid; gap: 8px; font-size: 14px; }
.log li { display: grid; grid-template-columns: 62px 1fr; gap: 10px; align-items: baseline; color: var(--muted); }
.log .who { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); background: var(--chip); border-radius: 6px; padding: 3px 0; text-align: center; }
.log .who.ai { background: var(--ink); color: var(--bg); }
.log b { color: var(--ink); font-weight: 600; }
.log-note { margin: 0; padding: 0 16px 14px; font-size: 13px; color: var(--muted); }

/* ---------- genre strip (marquee) ---------- */
.strip { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.strip-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); z-index: 1; width: 32px; height: 32px; padding: 0; display: grid; place-items: center; cursor: pointer; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 50%; }
.strip-toggle:hover { border-color: var(--muted); }
.strip-toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.strip-toggle .i-play { display: none; fill: currentColor; }
.strip-toggle[aria-pressed="true"] .i-play { display: inline; }
.strip-toggle[aria-pressed="true"] .i-pause { display: none; }
.strip.paused .strip-track { animation-play-state: paused !important; }
.strip-track { display: flex; width: max-content; }
.strip ul { list-style: none; display: flex; gap: 0; margin: 0; padding: 14px 0; }
.strip li { white-space: nowrap; font-weight: 700; font-size: 15px; padding: 0 22px; position: relative; }
.strip li::after { content: "·"; position: absolute; right: -3px; color: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .strip-track { animation: strip 48s linear infinite; }
  .strip:hover .strip-track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .strip-toggle { display: none; }
  .strip-track { width: auto; }
  .strip ul { flex-wrap: wrap; justify-content: center; row-gap: 6px; }
  .strip ul[aria-hidden="true"] { display: none; }
}
@keyframes strip { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { padding: 64px 0; border-top: 1px solid var(--line); }
@media (min-width: 720px) { section { padding: 88px 0; } }
.strip + section { border-top: 0; }
section.tight { border-top: 0; padding-top: 0; }
h2 { font-size: clamp(26px, 4vw, 38px); letter-spacing: -0.02em; line-height: 1.25; margin: 0 0 12px; }
h3 { letter-spacing: -0.01em; }
.sub { color: var(--muted); margin: 0 0 36px; max-width: 720px; }
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid.three { grid-template-columns: repeat(3, 1fr); } .grid.two { grid-template-columns: repeat(2, 1fr); } .grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid.four { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; min-width: 0; }
.card h3 { margin: 0 0 8px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .status { margin-bottom: 14px; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.card-top .status, .card-top .icon { margin-bottom: 0; }
a.card { text-decoration: none; display: block; }
a.card:hover { border-color: var(--muted); }
.icon { width: 40px; height: 40px; border-radius: 12px; background: var(--chip); display: grid; place-items: center; margin-bottom: 16px; font-size: 20px; flex: none; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag { font-size: 13px; padding: 3px 10px; border-radius: 999px; background: var(--chip); color: var(--muted); }
.section-foot { margin: 28px 0 0; }

/* numbered parts (platform components) */
.parts { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: 1fr; counter-reset: p; }
@media (min-width: 720px) { .parts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .parts { grid-template-columns: repeat(3, 1fr); } }
.parts li { counter-increment: p; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.parts li.claude { border-color: var(--accent); }
.parts .part-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.parts .part-head::before { content: counter(p, decimal-leading-zero); font-weight: 800; color: var(--accent); font-size: 14px; letter-spacing: 0.06em; }
.parts h3 { margin: 0 0 6px; font-size: 18px; }
.parts p { margin: 0; color: var(--muted); font-size: 15px; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } .steps.three { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .steps.four { grid-template-columns: repeat(4, 1fr); } .steps.five { grid-template-columns: repeat(5, 1fr); } }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; min-width: 0; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-weight: 800; color: var(--accent); font-size: 14px; letter-spacing: 0.06em; margin-bottom: 10px; }
.steps h3 { margin: 0 0 8px; font-size: 18px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
.steps .status { margin-top: 12px; }

/* lineup (works) */
.lineup { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.lineup li { display: grid; grid-template-columns: 40px 1fr; gap: 6px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
@media (min-width: 720px) { .lineup li { grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; } }
.lineup .no { font-weight: 800; color: var(--muted); font-size: 14px; letter-spacing: 0.06em; padding-top: 3px; }
.lineup b { display: block; font-size: 18px; }
.lineup .desc { color: var(--muted); font-size: 15px; }
.lineup .status { grid-column: 2; justify-self: start; }
@media (min-width: 720px) { .lineup .status { grid-column: 3; } }

/* definition + faq */
.define { max-width: 820px; font-size: clamp(18px, 2.2vw, 22px); line-height: 1.6; margin: 0; }
.define b { color: var(--accent); }
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq .ans { padding: 0 0 20px; color: var(--muted); max-width: 720px; }
.faq .ans p { margin: 0 0 8px; }

/* ---------- demo videos (games page) ---------- */
figure { margin: 0; }
.demo-grid { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 760px) { .demo-grid { grid-template-columns: 1fr 1fr; } }
.clip { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.clip .frame { background: #0e1014; }
.clip video { width: 100%; height: auto; display: block; }
.clip figcaption { padding: 16px 18px 18px; }
.clip figcaption b { display: block; font-size: 17px; }
.clip figcaption > span { color: var(--muted); font-size: 15px; }
.demo-note { color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.feature { display: grid; grid-template-columns: 1fr; margin-bottom: 16px; }
@media (min-width: 860px) { .feature { grid-template-columns: 1.15fr 1fr; } }
.feature figcaption { padding: 22px 24px; }
.feature figcaption > b { font-size: 19px; }
.turnsteps { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; counter-reset: ts; }
.turnsteps li { counter-increment: ts; display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 15px; color: var(--muted); }
.turnsteps li::before { content: counter(ts); width: 28px; height: 28px; border-radius: 50%; background: var(--chip); color: var(--ink); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.turnsteps b { color: var(--ink); }
.wide-video { background: #0e1014; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.wide-video video { width: 100%; max-height: 72vh; display: block; margin: 0 auto; object-fit: contain; }
.wide-cap { color: var(--muted); font-size: 14px; margin: 12px 0 0; }
.after-media { margin-top: 64px; }

/* ---------- traction ---------- */
.mbars { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.mbars li { display: grid; grid-template-columns: minmax(110px, 38%) 1fr 52px; gap: 10px; align-items: center; font-size: 15px; }
.mbars .track { height: 12px; }
.mbars .fill { display: block; height: 100%; border-radius: 0 4px 4px 0; background: var(--other); min-width: 2px; }
.mbars li.claude .fill { background: var(--accent); }
.mbars li.claude .lbl { font-weight: 700; }
.mbars .val { text-align: right; }
@media (max-width: 479px) { .mbars li { grid-template-columns: 1fr 52px; row-gap: 4px; } .mbars .lbl { grid-column: 1 / -1; } }
.stat { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; display: block; margin: 4px 0 8px; }
.chars { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.chars li { border-top: 1px solid var(--line); padding-top: 12px; }
.chars li:first-child { border-top: 0; padding-top: 0; }
.chars b { display: block; }
.chars li > span { color: var(--muted); font-size: 15px; }

/* ---------- panels / economics ---------- */
.disclaimer { display: inline-flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ink); background: var(--chip); border-radius: 12px; padding: 8px 14px; margin: -12px 0 28px; max-width: 760px; }
.eco { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .eco { grid-template-columns: 330px 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; min-width: 0; }
.panel h3 { margin: 0 0 4px; font-size: 18px; }
.kicker { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; }
.panel .hint { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.inputs { display: grid; gap: 14px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.field small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.field input, .field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px;
}
.field input[type="range"] { padding: 0; accent-color: var(--accent); background: transparent; border: 0; }
.field .rangeval { float: right; font-weight: 700; }
.reset { font: inherit; font-size: 14px; color: var(--muted); background: none; border: 1px solid var(--line); border-radius: 10px; padding: 7px 12px; cursor: pointer; }
.reset:hover { color: var(--ink); border-color: var(--muted); }
.outputs { display: grid; gap: 16px; min-width: 0; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { text-align: right; padding: 9px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl th:first-child, .tbl td:first-child { text-align: left; white-space: normal; }
.tbl thead th { font-size: 13px; color: var(--muted); font-weight: 600; }
.tbl tbody tr.sel td { font-weight: 700; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.scroll { overflow-x: auto; }
.callout { margin: 14px 0 0; font-size: 15px; color: var(--muted); }
.callout b { color: var(--ink); }
.callout.narrow { max-width: 820px; margin-top: 24px; }
.stack { display: flex; gap: 2px; height: 28px; margin: 18px 0 14px; }
.stack div { height: 100%; min-width: 0; }
.stack div:first-child { border-radius: 4px 0 0 4px; }
.stack div:last-child { border-radius: 0 4px 4px 0; }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.legend li { display: grid; grid-template-columns: 12px 1fr auto; gap: 10px; align-items: center; font-size: 15px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; }
.legend .v { font-weight: 700; }
.headline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 4px; }
.headline b { font-size: 34px; letter-spacing: -0.02em; line-height: 1.1; }
.headline span { color: var(--muted); font-size: 15px; }
.barcell { width: 46%; }
@media (max-width: 600px) {
  .tbl .tokcol { display: none; }
  .barcell .hbar { max-width: 32px; }
  .tbl th, .tbl td { padding: 8px 4px; font-size: 14px; }
  .tbl thead th { white-space: normal; vertical-align: bottom; }
  .outputs { order: -1; }
}
.hbar { height: 12px; background: var(--s1); border-radius: 0 4px 4px 0; min-width: 2px; }
.wrap > .disclaimer:first-child { margin-top: 0; }
.sources { font-size: 13px; color: var(--muted); margin: 18px 0 0; max-width: 900px; }

/* ---------- why claude ---------- */
.why { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.why li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.why .dot { width: 28px; height: 28px; border-radius: 50%; background: var(--chip); display: grid; place-items: center; font-size: 13px; font-weight: 800; color: var(--ink); }
.why b { display: block; }
.why .desc { color: var(--muted); font-size: 16px; }

/* ---------- platform diagram ---------- */
.dg-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.dg-picker .lbl { font-size: 14px; color: var(--muted); margin-right: 4px; }
.chip-btn { font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }
.chip-btn:hover { border-color: var(--muted); }
.chip-btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.diagram { display: grid; gap: 12px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 900px) { .diagram { grid-template-columns: 1fr 28px 1.25fr 28px 1fr; } }
.dg-col { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.dg-col h3 { margin: 0 0 4px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
html[data-lang="ko"] .dg-col h3 { text-transform: none; letter-spacing: 0.02em; }
.dg-arrow { display: grid; place-items: center; color: var(--muted); font-size: 20px; pointer-events: none; }
@media (max-width: 899px) { .dg-arrow { height: 20px; font-size: 0; } .dg-arrow::before { content: "↓"; font-size: 20px; } }
.node {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; text-align: left;
  font: inherit; font-size: 15px; color: var(--ink); background: var(--bg); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 12px; transition: opacity .2s, border-color .2s, background-color .2s;
}
button.node { cursor: pointer; }
button.node:hover { border-color: var(--muted); }
.node .n { font-size: 12px; font-weight: 800; color: var(--muted); }
.node.claude { border-color: var(--accent); }
.diagram.tracing .node:not(.on) { opacity: 0.55; }
.diagram.tracing .node.on { border-color: var(--ink); background: var(--surface); box-shadow: 0 0 0 1px var(--ink) inset; }
.diagram.tracing .node.claude.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.node[aria-pressed="true"] { background: var(--chip) !important; }
@media (prefers-reduced-motion: reduce) { .node { transition: none; } }
.dg-detail { margin-top: 16px; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .dg-detail { grid-template-columns: 1fr 1fr; } }
.dg-detail .panel h3 { margin-bottom: 8px; }
.dg-detail p { margin: 0; color: var(--muted); font-size: 15px; }
.dg-detail .dg-text { margin-top: 10px; }
.trace { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; counter-reset: tr; }
.trace li { counter-increment: tr; display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 15px; color: var(--muted); }
.trace li::before { content: counter(tr); width: 24px; height: 24px; border-radius: 50%; background: var(--chip); color: var(--ink); font-weight: 800; font-size: 12px; display: grid; place-items: center; }
.trace b { color: var(--ink); font-weight: 600; }

/* ---------- policy ---------- */
.policy > * { max-width: 820px; }
.policy h2 { font-size: clamp(22px, 3vw, 28px); margin-top: 48px; }
.policy h2:first-child { margin-top: 0; }
.policy p, .policy li { color: var(--muted); }
.policy ul { padding-left: 20px; margin: 0 0 8px; }
.policy li { margin-bottom: 8px; }
.policy li b { color: var(--ink); }
.policy .box { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin: 16px 0; }
.policy .box p { margin: 0; }
.meta { color: var(--muted); font-size: 14px; margin: 0 0 8px; }

/* ---------- about ---------- */
.about { max-width: 760px; }
.about p { margin: 0 0 14px; color: var(--muted); }
.facts { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts li { background: var(--surface); padding: 14px 16px; }
.facts b { display: block; font-size: 18px; }
.facts li > span { color: var(--muted); font-size: 14px; }

/* ---------- contact ---------- */
.contact { text-align: center; }
.contact .sub { margin-left: auto; margin-right: auto; }
.mail { display: inline-block; font-size: clamp(22px, 4.6vw, 34px); font-weight: 800; letter-spacing: -0.02em; text-decoration: none; border-bottom: 3px solid var(--accent); padding-bottom: 2px; margin-bottom: 8px; }
.mail:hover { color: var(--accent); }

/* ---------- footer ---------- */
footer.site { border-top: 1px solid var(--line); padding: 40px 0 36px; color: var(--muted); font-size: 14px; }
.foot { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .foot { grid-template-columns: 1.4fr 2fr; } }
.foot-cols { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
.foot .brand { color: var(--ink); margin-bottom: 10px; }
.foot p { margin: 0 0 8px; max-width: 360px; }
.foot h2 { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); margin: 0 0 10px; }
html[data-lang="ko"] .foot h2 { text-transform: none; letter-spacing: 0.02em; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
