﻿:root {
  --paper: #e7ecee;
  --surface: #fcfcf8;
  --surface-alt: #f1f5f4;
  --ink: #14242a;
  --muted: #53646a;
  --line: #aebbc0;
  --line-strong: #738890;
  --accent: #0d6372;
  --accent-deep: #123d46;
  --accent-soft: #d9ecea;
  --mineral: #83b7b5;
  --action: #b63b0c;
  --action-hover: #942b09;
  --action-active: #742107;
  --ok: #23663d;
  --stop: #8f2f33;
  --warning: #7b4a10;
  --radius: 3px;
  --max: 76rem;
  --reading: 70ch;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
.section p { margin-bottom: 1.25rem; max-width: var(--reading); }
.section p:last-child { margin-bottom: 0; }


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Pretendard, "Noto Sans KR", system-ui, sans-serif;
  line-height: 1.72;
  overflow-wrap: break-word;
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent-deep);
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 50;
  padding: 0.75rem 1rem;
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--ink);
}

.site-header {
  background: var(--surface);
  border-top: 4px solid var(--accent-deep);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -0.025em;
}

.brand span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.84em;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  font-size: 0.88rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration-thickness: 1px;
}

main {
  width: min(100%, var(--max));
  margin: 0 auto;
  background: var(--surface);
  border-inline: 1px solid var(--line);
}

.hero {
  padding: clamp(2.75rem, 7vw, 6.25rem) clamp(1.25rem, 6vw, 5.5rem) clamp(2.5rem, 6vw, 4.5rem);
  background: #e2eaec;
  border-top: 14px solid var(--accent);
  border-bottom: 1px solid var(--line-strong);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
}

.decision-visual {
  margin: 0;
  padding: clamp(1.1rem, 3vw, 2rem) clamp(1.1rem, 6vw, 5.5rem) 1.25rem;
  background: #f7f9f7;
  border-bottom: 1px solid var(--line-strong);
}

.decision-visual img {
  display: block;
  width: min(100%, 54rem);
  height: auto;
  max-height: min(64svh, 38rem);
  margin-inline: auto;
  object-fit: contain;
  border: 1px solid var(--line-strong);
}

.decision-visual figcaption {
  width: min(100%, 54rem);
  margin: 0.75rem auto 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.editorial-photo {
  margin: 1.75rem 0 0;
}

.editorial-photo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(64svh, 36rem);
  margin-inline: auto;
  object-fit: contain;
  border: 1px solid var(--line-strong);
}

.editorial-photo figcaption {
  max-width: var(--reading);
  margin: 0.6rem auto 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0 0;
}

@media (max-width: 720px) {
  .editorial-grid {
    grid-template-columns: 1fr;
  }

  .editorial-photo img {
    max-height: min(56svh, 24rem);
  }
}

.instrument-label,
.eyebrow,
.section-number,
.scenario-code,
.verified-strip dt,
.process-ledger article > span,
.board-header,
.guide-index span,
.verdict-grid article > span {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.instrument-label {
  display: inline-block;
  margin: 0 0 1.5rem;
  padding: 0.35rem 0.55rem;
  color: var(--surface);
  background: var(--accent-deep);
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--accent);
}

h1,
h2,
h3 {
  text-wrap: balance;
 margin: 0.5rem 0 0.75rem; }

h1 {
  max-width: 14ch;
  margin: 0 0 1.25rem;
  font-size: clamp(2.25rem, 6vw, 4.8rem);
  line-height: 1.06;
  letter-spacing: -0.055em;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 3.2vw, 2.65rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

h3 {
  margin: 0 0 0.6rem;
  line-height: 1.35;
  letter-spacing: -0.018em;
}

.lead {
  max-width: 62ch;
  margin: 0;
  color: #31454c;
  font-size: clamp(1.03rem, 2vw, 1.24rem);
}

.hero-readout {
  background: var(--accent-deep);
  color: #f7fbfa;
  border: 1px solid #0b3038;
  border-radius: var(--radius);
  box-shadow: 9px 9px 0 #aabfc2;
}

.readout-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid #52747b;
  color: #bce0dd;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.hero-readout > strong {
  display: block;
  padding: 1.1rem 1rem 0;
  font-size: 1.16rem;
  line-height: 1.45;
}

.hero-readout > p {
  margin: 0;
  padding: 0.7rem 1rem 1rem;
  color: #d7e8e6;
  font-size: 0.94rem;
}

.readout-status {
  margin: 0;
  border-top: 1px solid #52747b;
}

.readout-status div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 0.55rem 1rem;
  border-bottom: 1px solid #335b63;
  font-family: var(--mono);
  font-size: 0.76rem;
}

.readout-status div:last-child {
  border-bottom: 0;
}

.readout-status dd {
  margin: 0;
  color: #bce0dd;
  font-weight: 800;
}

.evidence-limit {
  max-width: var(--reading);
  margin: 2.3rem 0 1rem;
  padding: 0.85rem 1rem;
  background: #f6faf9;
  border-left: 5px solid var(--accent);
}

.note {
  padding: 1rem 1.1rem;
  background: #f7f5ee;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.disclosure {
  max-width: var(--reading);
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 6vw, 5.5rem);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--ink);
}

.section-heading h2 {
  margin-bottom: 0;
  max-width: 22ch;
}

.section-number {
  min-width: 3.25rem;
  padding: 0.45rem 0.55rem;
  color: var(--surface);
  background: var(--accent);
  text-align: center;
}

.section-intro,
.source-caption {
  max-width: var(--reading);
  color: var(--muted);
}

.installation-board {
  margin: 2rem 0 0;
  border: 2px solid var(--accent-deep);
  background: #f6faf9;
}

.board-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.85rem;
  background: var(--accent-deep);
  color: #d9ecea;
}

.board-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(17rem, 0.88fr);
}

.plan-view {
  min-height: 25rem;
  padding: clamp(1rem, 4vw, 2rem);
  border-right: 1px solid var(--line-strong);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.counter-zone,
.cabinet-zone {
  position: relative;
  padding: 1.15rem 1rem 1.15rem 4.2rem;
  border: 2px solid var(--accent);
  background: var(--surface);
}

.counter-zone {
  border-bottom-style: dashed;
}

.cabinet-zone {
  margin: 1rem 10% 1.4rem;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--accent-soft);
}

.counter-zone strong,
.cabinet-zone strong {
  display: block;
}

.counter-zone small,
.cabinet-zone small {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
}

.zone-code {
  position: absolute;
  left: 0.8rem;
  top: 0.8rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  background: var(--accent-deep);
  color: #fff;
  font-family: var(--mono);
  font-weight: 900;
}

.utility-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.utility-row span {
  padding: 0.7rem;
  border-right: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.utility-row span:last-child {
  border-right: 0;
}

.utility-row b {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.25rem;
  color: #fff;
  background: var(--accent);
}

.measurement-ledger {
  margin: 0;
  padding: 1rem 1.25rem;
}

.measurement-ledger div {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.measurement-ledger div:last-child {
  border-bottom: 0;
}

.measurement-ledger dt {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--accent);
}

.measurement-ledger dd {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.gate-result {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  margin-top: 1rem;
  border: 1px solid var(--line-strong);
}

.gate-result strong {
  padding: 1rem;
  color: #fff;
  background: var(--ok);
  text-align: center;
}

.gate-result p {
  margin: 0;
  padding: 1rem;
}

.verified-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 2rem 0 0;
  border-block: 2px solid var(--accent-deep);
}

.verified-strip div {
  padding: 1rem;
  border-right: 1px solid var(--line);
}

.verified-strip div:last-child {
  border-right: 0;
}

.verified-strip dt {
  color: var(--muted);
}

.verified-strip dd {
  margin: 0.25rem 0 0;
  color: var(--accent-deep);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 900;
}

.source-caption {
  margin: 0.8rem 0 2rem;
  font-size: 0.88rem;
}

.demand-formula {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 0.4rem 1.5rem;
  padding: 1.25rem;
  background: var(--accent-deep);
  color: #fff;
}

.demand-formula span {
  grid-row: span 2;
  align-self: center;
  color: #bce0dd;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 900;
}

.demand-formula strong {
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
}

.demand-formula small {
  color: #d8e7e6;
}

.scenario-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.25rem;
  border: 1px solid var(--line);
}

.scenario-ledger article {
  padding: 1.25rem;
  border-right: 1px solid var(--line);
}

.scenario-ledger article:last-child {
  border-right: 0;
}

.scenario-code {
  color: var(--accent);
}

.scenario-ledger h3 {
  margin-top: 0.6rem;
}

.scenario-ledger p {
  color: var(--muted);
}

.process-ledger {
  margin-top: 2rem;
  border-top: 2px solid var(--ink);
}

.process-ledger article {
  display: grid;
  grid-template-columns: 8.5rem minmax(12rem, 0.75fr) minmax(16rem, 1.25fr);
  gap: 1rem 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.process-ledger article > span {
  color: var(--accent);
}

.process-ledger h3,
.process-ledger p {
  margin: 0;
}

.process-ledger small {
  grid-column: 3;
  color: var(--muted);
}

.cost-ledger {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  border: 2px solid var(--ink);
}

.cost-formula {
  padding: clamp(1.25rem, 4vw, 2rem);
  background: var(--accent-soft);
  border-right: 1px solid var(--line-strong);
}

.cost-formula > span {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 900;
}

.cost-formula > strong {
  display: block;
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  line-height: 1.45;
}

.cost-formula p {
  color: var(--muted);
}

.cost-lines {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cost-lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.cost-lines li:last-child {
  border-bottom: 0;
}

.cost-lines b {
  font-family: var(--mono);
  text-align: right;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

.comparison-table {
  margin-top: 1.5rem;
}

table {
  width: 100%;
  min-width: 48rem;
  border-collapse: collapse;
}

th,
td {
  padding: 0.9rem 1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th:last-child,
td:last-child {
  border-right: 0;
}

thead th {
  color: #fff;
  background: var(--accent-deep);
  font-size: 0.85rem;
}

tbody th {
  background: var(--surface-alt);
}

.verdict-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 2px solid var(--ink);
}

.verdict-grid article {
  padding: clamp(1.25rem, 4vw, 2rem);
}

.verdict-grid article + article {
  border-left: 1px solid var(--line-strong);
}

.verdict-grid article > span {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.45rem;
  color: #fff;
}

.verdict-pass > span {
  background: var(--ok);
}

.verdict-stop > span {
  background: var(--stop);
}

.verdict-grid ul {
  margin: 0.8rem 0 0;
  padding-left: 1.2rem;
}

.verdict-grid li {
  margin: 0.45rem 0;
}

.evidence-register {
  margin-top: 1.5rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: #f2f5f4;
  border-left: 7px solid var(--accent);
}

.evidence-register > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.guide-index {
  border-top: 2px solid var(--ink);
}

.guide-index a {
  display: grid;
  grid-template-columns: 7rem minmax(13rem, 0.8fr) minmax(16rem, 1.2fr);
  gap: 1rem 1.5rem;
  align-items: center;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.guide-index a:hover strong,
.guide-index a:focus-visible strong {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.guide-index span {
  color: var(--accent);
}

.guide-index small {
  color: var(--muted);
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 1.1rem 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 850;
}

.faq details[open] summary {
  color: var(--accent);
}

.faq details p {
  max-width: var(--reading);
  margin-bottom: 0;
  color: var(--muted);
}

.final-decision {
  background: var(--accent-deep);
  color: #f7fbfa;
}

.final-decision .eyebrow {
  color: #bce0dd;
}

.final-decision-head {
  max-width: 58rem;
}

.cta-zone {
  margin-top: 1.5rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  background: #f8fbfa;
  color: var(--ink);
  border: 1px solid #b7cfce;
  border-radius: var(--radius);
}

.cta-zone > p:first-child {
  margin-top: 0;
}

.cta-button {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 1rem 1.25rem;
  overflow: hidden;
  background: var(--action);
  color: #fff !important;
  border: 2px solid var(--action);
  border-radius: var(--radius);
  font-size: clamp(1rem, 2vw, 1.16rem);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 0 0 0 rgba(182, 59, 12, 0);
  animation: cta-soft-pulse 4s ease-in-out infinite;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.cta-button > span {
  position: relative;
  z-index: 1;
}

.cta-button::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -45%;
  bottom: -45%;
  left: -18%;
  width: 9%;
  background: #fff;
  opacity: 0;
  transform: skewX(-16deg);
  pointer-events: none;
  animation: cta-runner 4s ease-in-out infinite;
}

.cta-button:hover,
.cta-button:focus-visible,
.cta-button:active {
  animation: none;
}

.cta-button:hover::after,
.cta-button:focus-visible::after,
.cta-button:active::after {
  opacity: 0;
  animation: none;
}

.cta-button:hover {
  background: var(--action-hover);
  border-color: var(--action-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 0 rgba(73, 23, 5, 0.32);
}

.cta-button:active {
  background: var(--action-active);
  border-color: var(--action-active);
  transform: translateY(1px);
  box-shadow: 0 1px 0 rgba(73, 23, 5, 0.25);
}

.cta-button:focus-visible {
  outline: 3px solid #70d7e3;
  outline-offset: 4px;
}

.cta-caption {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

@keyframes cta-runner {
  0%, 16% { left: -18%; opacity: 0; }
  22% { opacity: 0.2; }
  54% { left: 112%; opacity: 0.15; }
  60%, 100% { left: 112%; opacity: 0; }
}

@keyframes cta-soft-pulse {
  0%, 12%, 54%, 100% { box-shadow: 0 0 0 0 rgba(182, 59, 12, 0); }
  22% { box-shadow: 0 0 0 7px rgba(182, 59, 12, 0.17); }
  34% { box-shadow: 0 0 0 3px rgba(182, 59, 12, 0.1); }
}

.source-mini {
  font-size: 0.92rem;
}

.source-mini h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
}

footer {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 2rem 1.4rem 3rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.1rem;
  margin-bottom: 1rem;
}

.subpage {
  min-height: 60vh;
  padding: clamp(2.75rem, 7vw, 5.25rem) clamp(1.25rem, 6vw, 5.5rem);
  border-top: 10px solid var(--accent);
}

.subpage h1 {
  max-width: 20ch;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.subpage h2 {
  margin-top: 2.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
}

.subpage p,
.subpage li {
  max-width: var(--reading);
}

.card-grid,
.decision-grid,
.operator-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  padding: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card strong {
  display: block;
  margin-bottom: 0.35rem;
}

.yes {
  border-top: 5px solid var(--ok);
}

.no {
  border-top: 5px solid var(--stop);
}

.operator-grid dt {
  font-weight: 850;
}

.operator-grid dd {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.criteria {
  counter-reset: item;
  display: grid;
  gap: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}

.criteria li {
  position: relative;
  counter-increment: item;
  padding: 0.9rem 0 0.9rem 3.2rem;
  border-bottom: 1px solid var(--line);
}

.criteria li::before {
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 900;
}

.decision-tool {
  padding: clamp(1.25rem, 4vw, 2rem);
  background: var(--accent-soft);
  border: 2px solid var(--ink);
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.2rem;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding: 0.75rem 0 0.75rem 2rem;
  border-bottom: 1px solid var(--line);
}

.checklist li::before {
  content: "□";
  position: absolute;
  left: 0.15rem;
  color: var(--accent);
  font-weight: 900;
}

.evidence-list {
  border-top: 2px solid var(--ink);
}

.evidence {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.evidence p {
  margin-bottom: 0;
  color: var(--muted);
}

.source-list li {
  margin-bottom: 1rem;
  word-break: break-word;
}

code {
  font-family: var(--mono);
}

@media (max-width: 900px) {
  .hero-grid,
  .board-grid,
  .cost-ledger {
    grid-template-columns: 1fr;
  }

  .hero-readout {
    max-width: 38rem;
  }

  .plan-view,
  .cost-formula {
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .process-ledger article {
    grid-template-columns: 7.5rem minmax(0, 1fr);
  }

  .process-ledger p,
  .process-ledger small {
    grid-column: 2;
  }

  .verified-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .verified-strip div:nth-child(2) {
    border-right: 0;
  }

  .verified-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
  }

  main {
    border-inline: 0;
  }

  .hero,
  .section,
  .subpage {
    padding-inline: 1.1rem;
  }

  .decision-visual {
    padding: 1rem 1.1rem 1.1rem;
  }

  .decision-visual img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: min(48svh, 22rem);
  }

  h1 {
    max-width: none;
  }

  .hero-readout {
    box-shadow: 5px 5px 0 #aabfc2;
  }

  .board-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .plan-view {
    min-height: 22rem;
    padding: 1rem;
  }

  .cabinet-zone {
    margin-inline: 4%;
  }

  .utility-row {
    grid-template-columns: 1fr;
  }

  .utility-row span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .utility-row span:last-child {
    border-bottom: 0;
  }

  .gate-result,
  .demand-formula {
    grid-template-columns: 1fr;
  }

  .gate-result strong {
    text-align: left;
  }

  .demand-formula span {
    grid-row: auto;
  }

  .scenario-ledger,
  .verdict-grid,
  .evidence-register > div,
  .card-grid,
  .decision-grid,
  .operator-grid,
  .checklist {
    grid-template-columns: 1fr;
  }

  .scenario-ledger article,
  .verdict-grid article + article {
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .scenario-ledger article:last-child,
  .verdict-grid article:last-child {
    border-bottom: 0;
  }

  .process-ledger article {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .process-ledger p,
  .process-ledger small {
    grid-column: 1;
  }

  .guide-index a {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  table {
    min-width: 42rem;
  }

  .cost-lines li {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.3rem;
  }

  .cost-lines b {
    text-align: left;
  }
}

@media (max-width: 430px) {
  .verified-strip {
    grid-template-columns: 1fr;
  }

  .verified-strip div,
  .verified-strip div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .verified-strip div:last-child {
    border-bottom: 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-number {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body { font-size: clamp(1rem, calc(.965rem + .18vw), 1.075rem); }
main :where(p, li, dd, summary, figcaption) { line-height: 1.75; word-break: keep-all; overflow-wrap: anywhere; }
h1, h2, h3 { word-break: keep-all; overflow-wrap: break-word; text-wrap: balance; }
.lead, .section-intro, .note, .source-mini, .affiliate-disclosure-top { max-width: 68ch; }
.affiliate-disclosure-top {
  margin: 1rem 0 1.25rem;
  padding: .9rem 1rem;
  border: 1px solid #c99d84;
  border-left: 5px solid var(--action);
  background: #fff3e8;
  color: var(--ink);
  font-size: clamp(1rem, 1.4vw, 1.075rem);
  line-height: 1.65;
  font-weight: 650;
}
.affiliate-disclosure-top strong { display: block; margin-bottom: .2rem; font-size: .92em; letter-spacing: .02em; }
.affiliate-disclosure-top a { color: #7e2608; font-weight: 800; }
.table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-inline: contain; scrollbar-gutter: stable; }
.cta-button { min-height: 56px; line-height: 1.45; }

@media (max-width: 700px) {
  .nav-links { width: 100%; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: .35rem; scrollbar-width: thin; }
  .nav-links a { display: inline-flex; min-height: 40px; align-items: center; white-space: nowrap; }
  h1 { font-size: clamp(2rem, 10vw, 2.75rem); line-height: 1.09; }
  .affiliate-disclosure-top { margin: .85rem 0 1rem; padding: .8rem .85rem; }
  img[data-editorial-visual] { max-height: min(52svh, 22rem); object-fit: contain; }
}

.network-bar { width: min(calc(100% - 40px), 1160px); min-height: 58px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid rgba(25, 38, 34, .18); font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
.network-brand { display: inline-flex; align-items: baseline; gap: 9px; color: #17201d; text-decoration: none; }
.network-brand strong { font-size: 15px; letter-spacing: -.03em; }
.network-brand span { color: #65706c; font-size: 11px; letter-spacing: .04em; }
.network-bar nav { display: flex; align-items: center; gap: 20px; }
.network-bar nav a { color: #44504b; font-size: 12px; font-weight: 750; text-decoration: none; }
.network-bar nav a:hover { color: #173f37; text-decoration: underline; text-underline-offset: 3px; }
.network-related { width: min(calc(100% - 40px), 1120px); margin: 72px auto 88px; padding: 36px 0 0; border-top: 2px solid #17201d; }
.network-related > div > p { margin: 0 0 10px; color: #9f451d; font: 800 11px/1.3 Arial, sans-serif; letter-spacing: .13em; }
.network-related h2 { margin: 0 0 30px; color: #17201d; font-size: clamp(27px, 3.5vw, 40px); line-height: 1.3; letter-spacing: -.04em; }
.network-related nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid rgba(25, 38, 34, .18); }
.network-related nav a { min-height: 146px; padding: 25px 24px; border-right: 1px solid rgba(25, 38, 34, .18); color: #17201d; text-decoration: none; }
.network-related nav a:last-child { border-right: 0; }
.network-related nav span, .network-related nav strong { display: block; }
.network-related nav span { margin-bottom: 14px; color: #68736f; font-size: 11px; }
.network-related nav strong { font-size: 17px; line-height: 1.55; }
.network-related nav a:hover strong { color: #173f37; text-decoration: underline; text-underline-offset: 3px; }
.network-all { display: inline-block; margin-top: 24px; color: #173f37; font-size: 14px; font-weight: 800; text-underline-offset: 3px; }
@media (max-width: 700px) {
  .network-bar { width: 100%; min-height: auto; padding: 13px 16px; align-items: flex-start; flex-direction: column; gap: 10px; }
  .network-brand { width: 100%; justify-content: space-between; }
  .network-bar nav { width: 100%; gap: 18px; overflow-x: auto; padding-bottom: 3px; }
  .network-bar nav a { white-space: nowrap; }
  .network-related { width: min(calc(100% - 32px), 1120px); margin-block: 56px 68px; }
  .network-related nav { grid-template-columns: 1fr; }
  .network-related nav a { min-height: auto; padding: 21px 0; border-right: 0; border-bottom: 1px solid rgba(25, 38, 34, .18); }
  .network-related nav a:last-child { border-bottom: 0; }
  .network-brand { align-items: center; column-gap: 12px; }
  .network-brand span { margin-left: auto; }
  .network-bar nav { display: grid; grid-template-columns: repeat(3, max-content); gap: 0; }
  .network-bar nav a { margin-right: 11px; padding-right: 11px; border-right: 1px solid rgba(25, 38, 34, .18); }
  .network-bar nav a:last-child { margin-right: 0; padding-right: 0; border-right: 0; }
}
