:root {
  color-scheme: light;
  --bg: #f6f7f4;
  --surface: #ffffff;
  --surface-2: #eef5f0;
  --text: #151816;
  --muted: #626a65;
  --line: #dce2dd;
  --accent: #0b7a46;
  --accent-strong: #075e36;
  --accent-soft: #def2e6;
  --danger: #b42318;
  --danger-bg: #fff0ee;
  --ok: #087443;
  --ok-bg: #eaf8f0;
  --shadow: 0 18px 55px rgba(19, 44, 30, .08);
  --radius: 18px;
  --shell: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.72;
  word-break: keep-all;
  overflow-wrap: break-word;
}
a { color: inherit; }
button, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { max-width: 100%; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 8px;
  background: #111;
  color: #fff;
}
.skip-link:focus { transform: translateY(0); }

.shell { width: min(var(--shell), calc(100% - 40px)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(220, 226, 221, .85);
  background: rgba(246, 247, 244, .92);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(var(--shell), calc(100% - 40px));
  min-height: 72px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}
.brand strong { display: block; font-size: 15px; line-height: 1.25; }
.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  padding: 8px 11px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--surface); color: var(--text); }
.nav-toggle { display: none; min-height: 40px; padding: 0 13px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); font-weight: 750; }

main { min-height: 66vh; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 12px; font-weight: 900; letter-spacing: .16em; }
h1, h2, h3 { margin-top: 0; line-height: 1.25; letter-spacing: -.035em; }
h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: 21px; }
p { margin-top: 0; }

.hero {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(40px, 7vw, 90px);
  align-items: center;
  padding-block: clamp(74px, 10vw, 130px);
}
.hero-lead { max-width: 690px; color: var(--muted); font-size: clamp(18px, 2vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--accent); color: #fff; }
.button.primary:hover { background: var(--accent-strong); }
.button.secondary { border-color: var(--line); background: var(--surface); color: var(--text); }
.button.ghost { background: transparent; color: var(--muted); }
.button:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(11, 122, 70, .28); outline-offset: 2px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 24px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; font-weight: 700; }
.trust-list li::before { content: "✓"; margin-right: 6px; color: var(--accent); }
.hero-demo { display: grid; place-items: center; }
.demo-window { width: min(100%, 440px); padding: 17px 20px 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); transform: rotate(1deg); }
.demo-top { display: flex; gap: 6px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.demo-top span { width: 8px; height: 8px; border-radius: 50%; background: #cdd4cf; }
.demo-label { margin: 16px 0 8px; color: var(--muted); font-size: 12px; font-weight: 800; }
.demo-lines { display: grid; gap: 6px; }
.demo-lines i { display: block; height: 7px; border-radius: 999px; background: #d9dfdb; }
.demo-lines i:nth-child(2n) { width: 91%; }
.demo-lines i:nth-child(3n) { width: 76%; }
.demo-lines.readable b { height: 13px; }
.demo-arrow { margin: 15px 0 3px; color: var(--accent); font-size: 22px; font-weight: 900; text-align: center; }

.section { padding-block: clamp(68px, 9vw, 112px); }
.section-tint { background: var(--surface-2); }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading.narrow { max-width: 650px; }
.section-heading > p:last-child { color: var(--muted); font-size: 18px; }
.card-grid { display: grid; gap: 16px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.feature-card { min-height: 220px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.feature-card .number { display: inline-block; margin-bottom: 34px; color: var(--accent); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.feature-card p { margin-bottom: 0; color: var(--muted); }
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(35px, 8vw, 100px); }
.prose { color: #303632; }
.prose p { margin-bottom: 1.25em; }
.prose strong { color: var(--text); }
.prose a:not(.button) { color: var(--accent-strong); text-underline-offset: 3px; }
.prose.compact { font-size: 17px; }
.text-link { display: inline-block; margin-top: 8px; font-weight: 800; text-decoration: none; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: 16px; padding-top: 21px; border-top: 2px solid var(--text); }
.steps li > span { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--text); color: #fff; font-size: 13px; font-weight: 900; }
.steps p { color: var(--muted); }
.center-action { margin-top: 38px; text-align: center; }
.notice-card { display: grid; grid-template-columns: .9fr 1.1fr; gap: 38px; padding: clamp(30px, 5vw, 54px); border-radius: 24px; background: #11261b; color: #fff; }
.notice-card h2 { margin-bottom: 0; }
.notice-card > p { margin: 0; color: #cfdbd3; font-size: 17px; }
.faq { max-width: 860px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { padding: 21px 2px; cursor: pointer; font-weight: 800; }
details p { padding: 0 2px 22px; color: var(--muted); }

.tool-intro { padding-top: 70px; padding-bottom: 35px; }
.tool-intro h1 { margin-bottom: 16px; font-size: clamp(38px, 5vw, 60px); }
.tool-intro > p:not(.eyebrow) { max-width: 760px; color: var(--muted); font-size: 18px; }
.tool-privacy-badge { display: inline-flex; margin-top: 10px; padding: 8px 11px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-strong); font-size: 13px; font-weight: 800; }
.tool-shell { margin-bottom: 40px; padding: 20px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.tool-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-bottom: 17px; }
.control-group { display: grid; gap: 5px; }
.control-group label { color: var(--muted); font-size: 12px; font-weight: 800; }
select { min-height: 44px; padding: 0 38px 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); }
.checkbox-control { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 14px; font-weight: 750; }
.checkbox-control input { width: 17px; height: 17px; accent-color: var(--accent); }
.tool-actions { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.editor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.editor-pane { min-width: 0; }
.editor-title { display: flex; justify-content: space-between; align-items: center; margin: 0 2px 8px; font-size: 13px; font-weight: 850; }
.editor-title span { color: var(--muted); font-weight: 650; }
textarea { width: 100%; min-height: 540px; resize: vertical; padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: #fff; color: var(--text); font: 16px/2 "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; letter-spacing: 0; outline: none; }
textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(11, 122, 70, .09); }
textarea[readonly] { background: #fbfcfb; }
.verification { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #f2f4f2; color: var(--muted); font-size: 14px; }
.verification.ok { background: var(--ok-bg); color: var(--ok); }
.verification.bad { background: var(--danger-bg); color: var(--danger); }
.tool-tip { margin-top: 12px; color: var(--muted); font-size: 13px; }
.tool-help { padding-top: 45px; }
.tool-help h2 { font-size: 32px; }
.tool-help .feature-card { min-height: 150px; }
.small-note { margin-top: 18px; color: var(--muted); font-size: 14px; }

.article { padding-block: 78px 110px; }
.article-header { max-width: 900px; margin-bottom: 62px; }
.article-deck { max-width: 760px; color: var(--muted); font-size: 20px; }
.article-meta, .effective { color: var(--muted); font-size: 13px; }
.article-layout { display: grid; grid-template-columns: 230px minmax(0, 760px); gap: 70px; align-items: start; }
.toc { position: sticky; top: 98px; display: grid; gap: 9px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-size: 13px; }
.toc strong { margin-bottom: 4px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--accent); }
.article-prose { font-size: 17px; line-height: 1.9; }
.article-prose section { margin-bottom: 70px; scroll-margin-top: 100px; }
.article-prose h2 { margin-bottom: 22px; font-size: 34px; }
.article-prose h3 { margin-top: 34px; margin-bottom: 10px; font-size: 21px; }
.article-prose.standalone { max-width: 780px; }
.callout { margin: 28px 0; padding: 20px 22px; border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--surface-2); }
.callout p { margin: 5px 0 0; }
.check-list { display: grid; gap: 11px; margin: 22px 0 30px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }
.code-example { margin: 28px 0; padding: 20px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #162019; color: #e8f2eb; line-height: 1.9; }

.simple-page { padding-block: 82px 112px; }
.simple-page > h1 { max-width: 900px; margin-bottom: 45px; }
.prose.standalone { max-width: 760px; font-size: 17px; line-height: 1.88; }
.prose.standalone h2 { margin-top: 46px; font-size: 28px; }
.legal-page h1 { margin-bottom: 10px; }
.contact-page { min-height: 68vh; }
.contact-card { max-width: 720px; padding: 34px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.contact-card > div { display: grid; gap: 4px; margin-bottom: 26px; }
.contact-card span { color: var(--muted); font-size: 13px; font-weight: 800; }
.contact-card a:not(.button) { color: var(--accent-strong); font-size: 22px; font-weight: 900; }
.contact-card p { color: var(--muted); }
.not-found { min-height: 68vh; }

.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { width: min(var(--shell), calc(100% - 40px)); margin-inline: auto; padding-block: 38px; display: grid; grid-template-columns: 1fr auto; gap: 18px 35px; align-items: start; }
.footer-inner p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-inner nav a { color: var(--muted); font-size: 13px; text-decoration: none; }
.footer-inner .copyright { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--line); }

/* ── 광고 슬롯 ─────────────────────────────────────────── */
.ad-slot { width: min(var(--shell), calc(100% - 40px)); margin: 44px auto; text-align: center; }
.ad-slot::before { content: "AD"; display: block; margin-bottom: 6px; color: #9aa39d; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.ad-slot ins { display: block; min-height: 100px; }

/* ── 도구 선택 카드 ────────────────────────────────────── */
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tool-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  transition: transform .15s ease, border-color .15s ease;
}
.tool-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.tool-card .tool-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent-strong); font-size: 19px; font-weight: 900; }
.tool-card h3 { margin: 6px 0 0; }
.tool-card p { margin: 0; color: var(--muted); font-size: 15px; }
.tool-card .tool-go { margin-top: 8px; color: var(--accent-strong); font-size: 14px; font-weight: 800; }

/* ── 가독성 점수 ───────────────────────────────────────── */
.tool-report { margin-top: 26px; }
.tool-report:focus { outline: none; }
.block-title { margin: 46px 0 18px; font-size: 26px; }
.score-block { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.score-head { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.score-dial {
  flex: 0 0 132px;
  width: 132px;
  height: 132px;
  display: grid;
  place-content: center;
  justify-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--accent) calc(var(--value) * 1%), #e6ebe7 0);
  position: relative;
}
.score-dial::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: var(--surface); }
.score-dial strong { position: relative; font-size: 40px; font-weight: 900; line-height: 1; letter-spacing: -.05em; }
.score-dial span { position: relative; color: var(--muted); font-size: 12px; font-weight: 800; }
.score-dial[data-grade="D"], .score-dial[data-grade="E"] { background: conic-gradient(var(--danger) calc(var(--value) * 1%), #e6ebe7 0); }
.score-dial[data-grade="C"] { background: conic-gradient(#b8860b calc(var(--value) * 1%), #e6ebe7 0); }
.score-text { min-width: 0; }
.score-grade { margin: 0; color: var(--accent-strong); font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.score-label { margin: 4px 0 6px; font-size: clamp(22px, 3vw, 30px); font-weight: 900; letter-spacing: -.03em; }
.score-meta { margin: 0; color: var(--muted); font-size: 14px; }
.score-bars { display: grid; gap: 22px; padding-top: 24px; }
.score-row-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 7px; }
.score-row-label { font-size: 15px; font-weight: 850; }
.score-row-value { color: var(--muted); font-size: 13px; font-weight: 800; }
.score-track { height: 8px; border-radius: 999px; background: #e9eeea; overflow: hidden; }
.score-fill { height: 100%; border-radius: 999px; background: var(--accent); transition: width .5s ease; }
.score-fill[data-tone="mid"] { background: #c9971a; }
.score-fill[data-tone="low"] { background: var(--danger); }
.score-row-detail { margin: 8px 0 2px; color: var(--muted); font-size: 13px; }
.score-row-comment { margin: 0; font-size: 14px; }

/* ── 진단 결과 카드 ────────────────────────────────────── */
.issue-card { margin-bottom: 14px; padding: 22px 24px; border: 1px solid var(--line); border-left-width: 4px; border-radius: 0 14px 14px 0; background: var(--surface); }
.issue-card[data-severity="high"] { border-left-color: var(--danger); }
.issue-card[data-severity="medium"] { border-left-color: #c9971a; }
.issue-card[data-severity="low"] { border-left-color: var(--line); }
.issue-card[data-severity="none"] { border-left-color: var(--accent); }
.issue-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; }
.issue-head h3 { margin: 0; font-size: 18px; }
.issue-badge { padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--accent-strong); font-size: 11px; font-weight: 900; }
.issue-card[data-severity="high"] .issue-badge { background: var(--danger-bg); color: var(--danger); }
.issue-body { margin: 0; color: var(--muted); font-size: 15px; }
.issue-samples { display: grid; gap: 9px; margin: 14px 0 0; padding: 0; list-style: none; }
.issue-samples li { padding: 11px 13px; border-radius: 10px; background: var(--surface-2); font-size: 14px; }
.issue-samples q { display: block; margin-top: 3px; color: #3a423d; }
.issue-sample-meta { color: var(--accent-strong); font-size: 12px; font-weight: 850; }

.next-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.next-card { display: grid; gap: 5px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-decoration: none; }
.next-card:hover { border-color: var(--accent); }
.next-card strong { font-size: 16px; }
.next-card span { color: var(--muted); font-size: 14px; }

/* ── 오탈자 검사 결과 ──────────────────────────────────── */
.finding-summary { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); }
.summary-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.summary-total { font-size: 19px; font-weight: 900; }
.summary-chip { padding: 3px 10px; border-radius: 999px; background: var(--surface); font-size: 12px; font-weight: 850; }
.summary-chip[data-level="error"] { background: var(--danger-bg); color: var(--danger); }
.summary-chip[data-level="warn"] { background: #fdf4e3; color: #8a6100; }
.summary-chip[data-level="info"] { background: var(--surface); color: var(--muted); }
.summary-cats { margin: 8px 0 0; color: var(--muted); font-size: 13px; }

.finding-list { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.finding { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-left-width: 4px; border-radius: 0 13px 13px 0; background: var(--surface); }
.finding[data-level="error"] { border-left-color: var(--danger); }
.finding[data-level="warn"] { border-left-color: #c9971a; }
.finding[data-level="info"] { border-left-color: var(--line); }
.finding-check { display: flex; align-items: start; padding-top: 3px; cursor: pointer; }
.finding-check input { width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer; }
.finding-body { min-width: 0; }
.finding-head { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 7px; font-size: 11px; font-weight: 850; }
.finding-level { padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.finding[data-level="error"] .finding-level { background: var(--danger-bg); color: var(--danger); }
.finding[data-level="warn"] .finding-level { background: #fdf4e3; color: #8a6100; }
.finding-cat, .finding-pos { color: var(--muted); font-weight: 700; }
.finding-change { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 17px; }
.finding-change del { color: var(--danger); text-decoration-thickness: 2px; }
.finding-change ins { color: var(--ok); font-weight: 850; text-decoration: none; }
.finding-arrow { color: var(--muted); }
.finding-context { margin: 0 0 6px; padding: 9px 11px; border-radius: 9px; background: #f7f9f7; color: var(--muted); font-size: 14px; word-break: break-all; }
.finding-context mark { padding: 0 2px; border-radius: 3px; background: #ffe9a8; color: var(--text); font-weight: 800; }
.finding-why { margin: 0; color: var(--muted); font-size: 13px; }
.apply-note { margin: 10px 0 0; color: var(--ok); font-size: 13px; font-weight: 750; }
.select-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.select-actions .button { min-height: 38px; font-size: 13px; }

/* ── 단독 안내서 페이지 ────────────────────────────────── */
.guide-hero { padding-block: clamp(64px, 8vw, 104px) clamp(40px, 5vw, 64px); }
.guide-hero h1 { max-width: 15ch; }
.guide-hero .hero-lead { max-width: 62ch; }
.guide-layout { padding-bottom: clamp(70px, 9vw, 120px); align-items: start; }
.guide-body > section { margin-bottom: clamp(56px, 7vw, 88px); padding-bottom: clamp(20px, 3vw, 34px); border-bottom: 1px solid var(--line); }
.guide-body > section:last-of-type { border-bottom: 0; }
.guide-body h2 { position: relative; padding-top: 6px; }
.guide-body .tool-grid { margin: 26px 0 34px; }
.guide-body .code-example { white-space: pre-wrap; font-size: 15px; }
.toc a[aria-current="true"] { color: var(--accent-strong); font-weight: 850; }
.toc a[aria-current="true"]::before { content: "▸ "; }

/* ── 안내서 목록 ───────────────────────────────────────── */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.guide-card { display: grid; align-content: start; gap: 9px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; }
.guide-card:hover { border-color: var(--accent); }
.guide-card .guide-tag { color: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: .13em; }
.guide-card h3 { margin: 0; font-size: 20px; }
.guide-card p { margin: 0; color: var(--muted); font-size: 15px; }
.guide-card .guide-time { margin-top: 5px; color: var(--muted); font-size: 12px; font-weight: 700; }

.compare-table { width: 100%; margin: 26px 0; border-collapse: collapse; font-size: 15px; }
.compare-table th, .compare-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table th { background: var(--surface-2); font-weight: 850; }
.compare-table td:first-child { font-weight: 800; white-space: nowrap; }
.compare-table .x { color: var(--danger); }
.compare-table .o { color: var(--ok); }
.table-scroll { overflow-x: auto; }
.article-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line); }
.article-nav a { color: var(--accent-strong); font-weight: 800; text-decoration: none; }

@media (max-width: 900px) {
  .tool-grid { grid-template-columns: 1fr; }
  .hero, .split-section, .notice-card { grid-template-columns: 1fr; }
  .hero-demo { justify-items: start; }
  .card-grid.three, .steps { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .article-layout { grid-template-columns: 1fr; gap: 35px; }
  .toc { position: static; }
  .editor-grid { grid-template-columns: 1fr; }
  textarea { min-height: 410px; }
  .tool-actions { width: 100%; margin-left: 0; }
}

@media (max-width: 720px) {
  body { word-break: normal; }
  .header-inner { min-height: 64px; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav { position: absolute; top: 64px; left: 20px; right: 20px; display: none; padding: 9px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: var(--shadow); }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 11px; }
  h1 { font-size: 42px; }
  .hero { padding-block: 65px 80px; }
  .card-grid.two { grid-template-columns: 1fr; }
  .tool-shell { width: calc(100% - 20px); padding: 12px; }
  .tool-controls { align-items: stretch; }
  .control-group, .control-group select, .checkbox-control { width: 100%; }
  .tool-actions { display: grid; grid-template-columns: 1fr 1fr; }
  textarea { min-height: 360px; font-size: 15px; }
  .article { padding-block: 60px 80px; }
  .article-header { margin-bottom: 40px; }
  .article-prose h2 { font-size: 28px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner .copyright { grid-column: auto; }
  .score-block { padding: 18px; }
  .score-head { gap: 18px; }
  .score-dial { flex: 0 0 104px; width: 104px; height: 104px; }
  .score-dial strong { font-size: 32px; }
  .finding { padding: 13px 14px; gap: 10px; }
  .finding-change { font-size: 16px; }
  .select-actions .button { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
