:root {
  --paper: #f2eee5;
  --paper-2: #e6dfd3;
  --ink: #171614;
  --soft: #5e5952;
  --line: #bdb4a7;
  --red: #cc3026;
  --red-bright: #ef3d2f;
  --red-on-dark: #ff6a5d;
  --white: #fffdf8;
  --gutter: clamp(20px, 4.4vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  font-size: 17px;
  line-height: 1.72;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
p, li, dd { word-break: keep-all; overflow-wrap: normal; text-wrap: pretty; }
h1, h2, h3, strong, button { word-break: keep-all; overflow-wrap: normal; text-wrap: balance; }
input, textarea, code { overflow-wrap: anywhere; word-break: break-word; }
::selection { color: var(--white); background: var(--red); }

.guide-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 68px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(242, 238, 229, .95);
  border-bottom: 1px solid var(--ink);
  backdrop-filter: blur(14px);
}
.guide-brand { display: flex; align-items: baseline; gap: 12px; font-weight: 850; }
.guide-brand span { font-size: 18px; }
.guide-brand small { color: var(--soft); font-size: 11px; letter-spacing: .08em; }
.guide-nav-links { display: flex; align-items: center; gap: 26px; font-size: 13px; font-weight: 750; }
.guide-nav-links a { border-bottom: 1px solid transparent; }
.guide-nav-links a:hover { border-color: currentColor; }
.guide-nav-links .contact-link { padding: 9px 16px; color: var(--white); background: var(--ink); border: 1px solid var(--ink); }
.guide-nav-links .contact-link:hover { background: var(--red); border-color: var(--red); }

.guide-hero {
  min-height: 660px;
  padding: clamp(70px, 9vw, 140px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, .72fr);
  align-items: end;
  gap: clamp(48px, 8vw, 140px);
  border-bottom: 1px solid var(--ink);
}
.guide-hero-copy { max-width: 1060px; }
.eyebrow {
  margin: 0 0 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .05em;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.guide-hero h1 {
  margin: 0;
  font-size: clamp(50px, 5.8vw, 92px);
  line-height: 1.03;
  letter-spacing: -.055em;
  font-weight: 880;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: balance;
}
.guide-hero h1 em { color: var(--red); font-style: normal; }
.guide-deck {
  max-width: 39em;
  margin: 34px 0 0;
  color: var(--soft);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.65;
}
.answer-card {
  align-self: stretch;
  min-height: 390px;
  padding: clamp(30px, 4vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
  background: var(--ink);
  border-top: 8px solid var(--red);
}
.answer-card span { color: var(--red-on-dark); font-size: 11px; font-weight: 850; letter-spacing: .06em; }
.answer-card strong { display: block; margin-top: 42px; font-size: clamp(26px, 2.35vw, 36px); line-height: 1.34; letter-spacing: -.035em; word-break: keep-all; overflow-wrap: normal; }
.answer-card p { margin: 30px 0 0; color: rgba(255, 253, 248, .66); font-size: 14px; }

.guide-layout {
  padding: clamp(74px, 9vw, 140px) var(--gutter);
  display: grid;
  grid-template-columns: 250px minmax(0, 900px);
  justify-content: center;
  gap: clamp(54px, 8vw, 128px);
}
.guide-toc { align-self: start; position: sticky; top: 106px; }
.guide-toc > p { margin: 0 0 16px; color: var(--red); font-size: 11px; font-weight: 850; }
.guide-toc ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.guide-toc li { border-bottom: 1px solid var(--line); }
.guide-toc a { padding: 13px 0; display: grid; grid-template-columns: 30px 1fr; gap: 12px; color: var(--soft); font-size: 13px; line-height: 1.45; }
.guide-toc a:hover { color: var(--red); }
.guide-toc b { color: var(--red); font-size: 10px; }
.guide-meta { margin-top: 24px; color: var(--soft); font-size: 11px; line-height: 1.65; }

.guide-body { min-width: 0; }
.guide-body > section { scroll-margin-top: 96px; }
.guide-body > section + section { margin-top: clamp(78px, 9vw, 126px); padding-top: clamp(72px, 8vw, 112px); border-top: 1px solid var(--ink); }
.guide-body h2 {
  max-width: 13em;
  margin: 0;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 860;
  text-wrap: balance;
}
.guide-body h3 { margin: 52px 0 0; font-size: clamp(23px, 2.4vw, 32px); line-height: 1.3; letter-spacing: -.035em; }
.guide-body p { max-width: 40em; margin: 24px 0 0; color: var(--soft); }
.guide-body p strong { color: var(--ink); }
.lead-answer {
  max-width: none !important;
  margin-top: 36px !important;
  padding: clamp(26px, 3.5vw, 42px);
  color: var(--ink) !important;
  background: var(--white);
  border-left: 6px solid var(--red);
  font-size: clamp(21px, 2.3vw, 31px);
  line-height: 1.55;
  font-weight: 720;
  letter-spacing: -.025em;
}
.plain-note { padding-left: 20px; border-left: 3px solid var(--red); }
.text-link { color: var(--ink); font-weight: 800; border-bottom: 1px solid var(--ink); }
.text-link:hover { color: var(--red); border-color: var(--red); }

.fact-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.fact-grid > div { min-height: 170px; padding: 26px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.fact-grid dt { color: var(--red); font-size: 11px; font-weight: 850; }
.fact-grid dd { margin: 28px 0 0; }
.fact-grid dd > strong { display: block; font-size: clamp(25px, 2.8vw, 39px); line-height: 1.22; letter-spacing: -.04em; font-weight: 820; }
.fact-grid small { display: block; margin-top: 10px; color: var(--soft); font-size: 12px; }

.steps {
  margin: 42px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.steps li { min-height: 230px; padding: 26px; display: flex; flex-direction: column; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.steps li > span { color: var(--red); font-size: 11px; font-weight: 850; }
.steps h3 { margin: 32px 0 0; font-size: clamp(23px, 2.4vw, 32px); }
.steps p { margin: auto 0 0; font-size: 15px; }

.comparison { margin-top: 42px; overflow-x: auto; border: 1px solid var(--ink); }
.comparison table { width: 100%; min-width: 660px; border-collapse: collapse; }
.comparison th, .comparison td { padding: 20px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.comparison th:last-child, .comparison td:last-child { border-right: 0; }
.comparison tr:last-child td { border-bottom: 0; }
.comparison th { color: var(--white); background: var(--ink); font-size: 13px; }
.comparison td { color: var(--soft); font-size: 14px; }
.comparison td:first-child { color: var(--ink); font-weight: 800; }

.case-strip { margin-top: 42px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); }
.case-strip article { min-height: 280px; padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; }
.case-strip article + article { color: var(--white); background: var(--ink); border-left: 1px solid var(--ink); }
.case-strip span { color: var(--red); font-size: 11px; font-weight: 850; }
.case-strip article + article span { color: var(--red-on-dark); }
.case-strip strong { display: block; margin-top: 34px; font-size: clamp(38px, 5vw, 68px); line-height: 1; letter-spacing: -.055em; }
.case-strip p { margin: auto 0 0; font-size: 14px; }
.case-strip article + article p { color: rgba(255, 253, 248, .65); }

.proof-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.proof-card { min-width: 0; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.proof-card > a { height: 100%; display: flex; flex-direction: column; }
.proof-media { margin: 0; min-height: 280px; padding: 18px; display: grid; place-items: center; overflow: hidden; background: var(--paper-2); border-bottom: 1px solid var(--ink); }
.proof-media img { width: 100%; height: 280px; display: block; object-fit: contain; object-position: center; }
.proof-card-body { padding: clamp(24px, 3.5vw, 38px); }
.proof-card-body > span { color: var(--red); font-size: 11px; font-weight: 850; }
.proof-card-body > strong { display: block; margin-top: 20px; font-size: clamp(27px, 3.5vw, 42px); line-height: 1.16; letter-spacing: -.045em; }
.proof-card-body > p { margin-top: 20px; font-size: 14px; }
.proof-card-body > b { margin-top: 28px; display: block; color: var(--red); font-size: 12px; }
.proof-card-link:hover { color: var(--white); background: var(--ink); }
.proof-card-link:hover .proof-card-body p { color: rgba(255, 253, 248, .68); }

.evidence-pair { margin-top: 42px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.evidence-pair figure { min-width: 0; margin: 0; padding: 18px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.evidence-pair img { width: 100%; height: 420px; display: block; object-fit: contain; background: var(--paper-2); }
.evidence-pair figcaption { padding: 14px 2px 0; color: var(--soft); font-size: 12px; }

.fact-boundary { margin-top: 42px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--ink); }
.fact-boundary > div { min-height: 230px; padding: clamp(26px, 3.5vw, 42px); display: flex; flex-direction: column; justify-content: space-between; }
.fact-boundary > div + div { color: var(--white); background: var(--ink); }
.fact-boundary span { color: var(--red); font-size: 11px; font-weight: 850; }
.fact-boundary > div + div span { color: var(--red-on-dark); }
.fact-boundary strong { margin-top: 34px; display: block; font-size: clamp(24px, 3vw, 38px); line-height: 1.28; letter-spacing: -.035em; }

.question-list { margin-top: 42px; border-top: 1px solid var(--ink); }
.question-list article { padding: 28px 0; border-bottom: 1px solid var(--line); }
.question-list h3 { margin: 0; font-size: clamp(21px, 2vw, 28px); }
.question-list p { margin-top: 12px; font-size: 15px; }

.related-links { margin-top: 42px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.related-links a { min-height: 150px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transition: color 140ms ease, background 140ms ease; }
.related-links a:hover { color: var(--white); background: var(--red); }
.related-links span { font-size: 11px; font-weight: 850; }
.related-links strong { font-size: clamp(20px, 2vw, 28px); line-height: 1.3; letter-spacing: -.03em; }

.guide-cta {
  margin-top: clamp(86px, 10vw, 150px);
  padding: clamp(46px, 6vw, 82px);
  color: var(--white);
  background: var(--red);
}
.guide-cta span { color: var(--white); font-size: 11px; font-weight: 850; }
.guide-cta strong { display: block; max-width: 16em; margin-top: 24px; font-size: clamp(35px, 4.6vw, 64px); line-height: 1.1; letter-spacing: -.045em; }
.guide-cta p { color: var(--white); }
.guide-cta a { margin-top: 32px; padding: 13px 20px; display: inline-flex; color: var(--white); background: var(--ink); font-size: 14px; font-weight: 800; }

.guide-footer {
  padding: 34px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255, 253, 248, .68);
  background: var(--ink);
  font-size: 12px;
}
.guide-footer strong { color: var(--white); }
.guide-footer nav { display: flex; gap: 20px; }
.guide-footer a:hover { color: var(--red); }

@media (max-width: 980px) {
  .guide-hero { min-height: 0; grid-template-columns: 1fr; align-items: start; }
  .answer-card { min-height: 300px; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-toc { position: static; }
  .guide-toc ol { display: grid; grid-template-columns: repeat(2, 1fr); border-left: 1px solid var(--line); }
  .guide-toc li { border-right: 1px solid var(--line); }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .guide-nav { min-height: 62px; }
  .guide-brand small { display: none; }
  .guide-nav-links { gap: 14px; }
  .guide-nav-links a:nth-child(2) { display: none; }
  .guide-nav-links .contact-link { padding: 7px 11px; }
  .guide-hero { padding-top: 58px; gap: 38px; }
  .guide-hero h1 { font-size: clamp(40px, 12vw, 56px); line-height: 1.09; }
  .guide-deck { margin-top: 24px; font-size: 17px; }
  .answer-card { min-height: 270px; }
  .guide-layout { padding-top: 58px; gap: 64px; }
  .guide-toc ol { grid-template-columns: 1fr; }
  .guide-body h2 { font-size: clamp(34px, 10.5vw, 48px); line-height: 1.12; }
  .lead-answer { font-size: 20px; }
  .fact-grid, .steps, .case-strip, .related-links, .proof-grid, .evidence-pair, .fact-boundary { grid-template-columns: 1fr; }
  .comparison table { min-width: 100%; table-layout: fixed; }
  .comparison th, .comparison td { padding: 12px 10px; font-size: 12px; line-height: 1.55; word-break: keep-all; overflow-wrap: break-word; }
  .comparison th:first-child, .comparison td:first-child { width: 26%; }
  .case-strip article + article { border-left: 0; border-top: 1px solid var(--ink); }
  .proof-media { min-height: 220px; }
  .proof-media img { height: 230px; }
  .evidence-pair img { height: min(100vw, 390px); }
  .fact-grid > div, .steps li { min-height: 0; }
  .guide-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
