/* GF게이밍 운영 사이트 */
@font-face {
  font-family: "Hahmlet";
  src: url("assets/fonts/hahmlet.woff2?v=56661c9769b5") format("woff2");
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
}
@font-face {
  font-family: "Gothic A1";
  src: url("assets/fonts/gothic-a1-regular.woff2?v=013f48dc450f") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Gothic A1";
  src: url("assets/fonts/gothic-a1-medium.woff2?v=cfda4bc86a3c") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Gothic A1";
  src: url("assets/fonts/gothic-a1-bold.woff2?v=94e3d7543ed7") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --felt: #0F3D30;
  --felt-deep: #0A2C23;
  --felt-rise: #14493A;
  --print: #E0B85C;
  --print-deep: #CDA548;
  --ivory: #F4ECDA;
  --mute: #B7C8BC;
  --ink: #10221C;
  --line: rgba(224, 184, 92, .5);
  --line-soft: rgba(244, 236, 218, .16);

  --display: "Hahmlet", "Noto Serif KR", "Nanum Myeongjo", serif;
  --text: "Gothic A1", "Noto Sans KR", system-ui, -apple-system, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --gap: clamp(76px, 10vw, 140px);
  --box: 20px; /* 인쇄선 상자 모서리 */
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--felt);
  color: var(--ivory);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, table { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
svg { display: block; }
button { font: inherit; color: inherit; }

.defs { position: absolute; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 60;
  padding: 10px 16px;
  background: var(--ivory);
  color: var(--ink);
  border-radius: 8px;
  text-decoration: none;
}
.skip:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--ivory);
  outline-offset: 3px;
  border-radius: 6px;
}

/* 시안 알림 띠 */
.draft {
  padding: 9px var(--gutter);
  background: var(--felt-deep);
  color: var(--mute);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

/* ---------- 머리 ---------- */
.top { padding-block: 22px; }
.top__row {
  display: flex;
  align-items: center;
  gap: 30px;
}
.brand {
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
}
.brand__mark { width: 30px; height: 30px; }
.brand__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 23px;
  line-height: 1;
  letter-spacing: -.01em;
}
.nav {
  display: flex;
  gap: 28px;
  font-size: 15.5px;
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding-block: 6px;
  text-decoration: none;
  color: var(--mute);
  white-space: nowrap;
}
.top .btn { white-space: nowrap; }
.nav a:hover { color: var(--ivory); }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  background: var(--print);
  color: var(--ink);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  border-radius: 999px;
  transition: background-color .15s ease;
}
.btn:hover { background: var(--print-deep); }
.btn--small {
  min-height: 42px;
  padding: 0 20px;
  font-size: 15px;
}
.btn--big {
  min-height: 62px;
  padding: 0 38px;
  font-size: 19px;
}
.plain {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-weight: 500;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--line);
}
.plain:hover { text-decoration-color: var(--ivory); }

/* ---------- 첫 화면 ---------- */
.top, .hero, .sub { background-image: url("assets/felt.png?v=b40f7566a699"); }
.hero {
  --table: clamp(360px, 46vw, 680px);
  position: relative;
  overflow: hidden;
  border-bottom: 1.5px solid var(--line);
}
.hero__grid {
  display: flex;
  align-items: center;
  min-height: calc(var(--table) + 12px);
  padding-block: 20px 44px;
}
.hero__copy {
  position: relative;
  z-index: 1;
  max-width: 56%;
}
h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(38px, 5.5vw, 82px);
  line-height: 1.16;
  letter-spacing: -.025em;
}
.deck {
  margin-top: clamp(18px, 2vw, 28px);
  max-width: 27em;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.7;
  color: var(--mute);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: clamp(24px, 2.6vw, 36px);
}

/* 테이블과 칩 */
/* 원의 중심이 첫 화면 오른쪽 아래 모서리에 오는 4분의 1 테이블 */
.table {
  position: absolute;
  right: 0; bottom: 0;
  width: var(--table);
  height: var(--table);
}
.table__felt { fill: var(--felt-rise); }
.table__pit { fill: var(--felt-deep); }
.table__line {
  fill: none;
  stroke: var(--print);
  stroke-opacity: .62;
  stroke-width: 1.6;
}
.table__print {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .12em;
  fill: var(--print);

}
.chip__shadow { fill: #04130E; opacity: .5; }
.chip__label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  text-anchor: middle;
}
.chip__label--ink { fill: var(--ink); }
.chip__label--ivory { fill: #FFF9EB; }
.chip__label--print { fill: var(--print); }
.table a { cursor: pointer; }
.table a:focus-visible { outline: none; }
.chip__focus { fill: none; stroke: var(--ivory); stroke-width: 3; opacity: 0; }
.table a:focus-visible .chip__focus { opacity: 1; }

/* ---------- 본문 공통 ---------- */
.section { padding-top: var(--gap); }
h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(27px, 3.2vw, 42px);
  line-height: 1.28;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}
.head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(16px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 52px);
}
.head p { color: var(--mute); max-width: 30em; }
.split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}

/* 게임사 목록: 인쇄선으로 나눈 칸 */
.vendors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.vendors__group h3 {
  margin-bottom: 14px;
  font-family: var(--display);
  font-size: 21px;
  color: var(--print);
}
.felt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5px;
  background: var(--line);
  border: 1.5px solid var(--line);
  border-radius: var(--box);
  overflow: hidden;
}
.felt-grid li {
  display: flex;
  flex-direction: column;
  padding: 20px 22px 22px;
  background: var(--felt);
}
.felt-grid b {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.35;
}
.felt-grid .en {
  margin-top: 2px;
  font-size: 13.5px;
  color: var(--mute);
}
.felt-grid .what {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--mute);
}

/* 연동 방식 */
.modes__tabs {
  display: none;
  width: fit-content;
  padding: 5px;
  margin-bottom: 22px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
}
.js .modes__tabs { display: inline-flex; }
.modes__tabs button {
  min-height: 44px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-weight: 700;
  font-size: 16px;
  color: var(--mute);
  cursor: pointer;
}
.modes__tabs button[aria-selected="true"] {
  background: var(--ivory);
  color: var(--ink);
}
.mode {
  padding: clamp(22px, 3vw, 40px);
  border: 1.5px solid var(--line);
  border-radius: var(--box);
}
.mode + .mode { margin-top: 20px; }
.mode[hidden] { display: none; }
.mode__name {
  margin-bottom: 22px;
  font-family: var(--display);
  font-size: 22px;
  color: var(--print);
}
.js .mode__name { display: none; }
.flow {
  display: flex;
  align-items: stretch;
}
.node {
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-width: 168px;
  padding: 18px 22px;
  border: 1.5px solid var(--line-soft);
  border-radius: 14px;
  background: var(--felt-deep);
}
.node b {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
}
.node--money { border-color: var(--print); }
.money {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: var(--print);
}
.money svg { width: 22px; height: 22px; }
.link {
  flex: 1 1 60px;
  min-width: 60px;
  position: relative;
  align-self: center;
  height: 0;
  border-top: 1.5px solid var(--line);
}
.link::before, .link::after {
  content: "";
  position: absolute;
  top: -5.25px;
  border-top: 4.5px solid transparent;
  border-bottom: 4.5px solid transparent;
}
.link::before { left: 0; border-right: 8px solid var(--print); }
.link::after { right: 0; border-left: 8px solid var(--print); }
.link span {
  position: absolute;
  left: 50%; bottom: 10px;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 20px);
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
  color: var(--mute);
}
.mode__steps {
  counter-reset: s;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 36px);
  margin-top: clamp(26px, 3vw, 40px);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
}
.mode__steps li {
  counter-increment: s;
  position: relative;
  padding-left: 40px;
  line-height: 1.65;
}
.mode__steps li::before {
  content: counter(s);
  position: absolute;
  left: 0; top: -.12em;
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  color: var(--print);
}
.mode__fit {
  margin-top: 18px;
  color: var(--mute);
  max-width: 46em;
}

.process { margin-top: clamp(40px, 5vw, 64px); }
.process h3 {
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: 21px;
}
.process ol {
  counter-reset: p;
  display: grid;
  grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
}
.process li {
  counter-increment: p;
  padding-top: 16px;
  border-top: 1.5px solid var(--line);
}
.process li::before {
  content: counter(p);
  display: block;
  margin-bottom: 8px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  color: var(--print);
}
.process b { display: block; font-size: 17px; }
.process span {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--mute);
}

/* 가격표 */
.price {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1.5px solid var(--line);
  border-radius: var(--box);
  overflow: hidden;
}
.price th, .price td {
  padding: 24px 28px;
  text-align: left;
  vertical-align: middle;
  border-top: 1.5px solid var(--line);
}
.price thead th {
  padding-block: 14px;
  border-top: 0;
  background: var(--felt-deep);
  font-size: 15px;
  font-weight: 500;
  color: var(--mute);
}
.price thead th:first-child { width: 34%; }
.price tbody th {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 18px;
  align-items: center;
  font-weight: 400;
}
.price__chip { grid-row: 1 / span 2; width: 52px; height: 52px; }
.price__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
}
.price__what {
  font-size: 15px;
  line-height: 1.5;
  color: var(--mute);
}
.price td { font-size: 17px; color: var(--mute); }
.price .num {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 2.3vw, 30px);
  letter-spacing: -.01em;
  color: var(--ivory);
  white-space: nowrap;
}
.price tr:target th, .price tr:target td { background: var(--felt-rise); }

.quote {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(16px, 4vw, 64px);
  margin-top: clamp(28px, 3.5vw, 44px);
}
.quote h3 { font-family: var(--display); font-size: 20px; }
.quote ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(20px, 3vw, 48px);
}
.quote li, .tell li {
  position: relative;
  padding: 12px 0 12px 26px;
  border-top: 1px solid var(--line-soft);
  line-height: 1.6;
}
.quote li::before, .tell li::before {
  content: "";
  position: absolute;
  left: 2px; top: 1.36em;
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid var(--print);
}

/* 비교표와 확인 목록 */
.genuine {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.versus {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.versus th, .versus td {
  padding: 18px 20px 18px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
  line-height: 1.6;
}
.versus thead th {
  padding-block: 0 12px;
  font-family: var(--display);
  font-size: 20px;
  border-bottom: 1.5px solid var(--line);
}
.versus thead th:first-child { width: 24%; }
.versus thead th:nth-child(2) { color: var(--print); }
.versus tbody th { font-weight: 700; font-size: 16px; }
.versus td:last-child { color: var(--mute); }
.check {
  padding: clamp(22px, 2.6vw, 32px);
  border: 1.5px solid var(--line);
  border-radius: var(--box);
}
.check h3 { font-family: var(--display); font-size: 20px; }
.check > p { margin-top: 10px; color: var(--mute); font-size: 15.5px; }
.check ol {
  counter-reset: c;
  margin-top: 16px;
}
.check li {
  counter-increment: c;
  position: relative;
  padding: 11px 0 11px 34px;
  border-top: 1px solid var(--line-soft);
  line-height: 1.6;
}
.check li::before {
  content: counter(c);
  position: absolute;
  left: 2px; top: 9px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  color: var(--print);
}
.check .source { margin-top: 14px; font-size: 14px; }
.source a { text-underline-offset: 3px; }

/* 질문 */
.faq details { border-top: 1px solid var(--line-soft); }
.faq details:first-child { border-top: 1.5px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 11px; height: 11px;
  border-right: 2px solid var(--print);
  border-bottom: 2px solid var(--print);
  transform: translateY(-3px) rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq details p {
  padding-bottom: 24px;
  max-width: 40em;
  color: var(--mute);
}

/* 문의 */
.contact {
  margin-top: var(--gap);
  padding-block: clamp(56px, 8vw, 104px);
  background: var(--felt-deep);
  border-top: 1.5px solid var(--line);
}
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.contact h2 { max-width: 15em; }
.contact .btn { margin-top: clamp(24px, 3vw, 36px); }
.contact__id { margin-top: 16px; color: var(--mute); }
.contact__id b { color: var(--ivory); }
.tell label {
  display: block;
  margin-bottom: 10px;
  color: var(--ivory);
  font-family: var(--display);
  font-weight: 700;
}
.tell textarea {
  display: block;
  width: 100%;
  min-height: 11em;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--box);
  background: var(--felt);
  color: var(--ivory);
  font: inherit;
  font-size: 16px;
  line-height: 1.65;
  resize: vertical;
}
.tell textarea:focus-visible { outline: 2px solid var(--print); outline-offset: 3px; }
.tell .btn { margin-top: 14px; cursor: pointer; }
.tell .btn[hidden] { display: none; }
.copy-status { margin-top: 8px; color: var(--soft); font-size: 15px; }
.copy-status:empty { margin: 0; }

/* 꼬리 */
.foot {
  padding-block: 26px 40px;
  background: var(--felt-deep);
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--mute);
}
.foot__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 32px;
}
.foot b {
  margin-right: 8px;
  font-family: var(--display);
  font-size: 16px;
  color: var(--ivory);
}

/* ---------- 좁은 화면 ---------- */
@media (max-width: 1000px) {
  .hero__grid {
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
    padding-bottom: 0;
  }
  .hero__copy { max-width: none; }
  h1 { font-size: clamp(34px, 9.4vw, 72px); }
  .table {
    position: static;
    align-self: flex-end;
    width: min(88vw, 560px);
    height: min(88vw, 560px);
    margin: 12px calc(var(--gutter) * -1) 0 0;
  }
  .head, .split, .genuine, .contact__grid, .quote { grid-template-columns: minmax(0, 1fr); }
  .head { align-items: start; }
  .vendors { grid-template-columns: minmax(0, 1fr); }
  .process ol { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .table__print { display: none; }
  .chip__label { font-size: 23px; }

  .flow { flex-direction: column; align-items: stretch; }
  .node { min-width: 0; }
  .link {
    flex: none;
    align-self: flex-start;
    width: 0;
    min-width: 0;
    height: 52px;
    margin-left: 30px;
    border-top: 0;
    border-left: 1.5px solid var(--line);
  }
  .link::before, .link::after {
    left: -5.25px; right: auto;
    border: 0;
    border-left: 4.5px solid transparent;
    border-right: 4.5px solid transparent;
  }
  .link::before { top: 0; border-bottom: 8px solid var(--print); }
  .link::after { top: auto; bottom: 0; border-top: 8px solid var(--print); }
  .link span {
    left: 18px; bottom: auto; top: 50%;
    transform: translateY(-50%);
    width: max-content;
    max-width: 70vw;
    text-align: left;
  }
  .mode__steps { grid-template-columns: minmax(0, 1fr); }
  .process ol { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .process li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    padding-block: 16px;
  }
  .process li::before { grid-row: 1 / span 2; font-size: 32px; margin: 0; }
  .process b, .process span { grid-column: 2; }

  .price, .price tbody, .price tr, .price th, .price td { display: block; }
  .price thead { display: none; }
  .price tr { padding: 22px 20px; border-top: 1.5px solid var(--line); }
  .price tbody tr:first-child { border-top: 0; }
  .price th, .price td { padding: 0; border: 0; }
  .price tbody th { display: grid; margin-bottom: 16px; }
  .price td {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-block: 9px;
    border-top: 1px solid var(--line-soft);
  }
  .price td::before {
    content: attr(data-col);
    font-size: 15px;
    color: var(--mute);
  }
  .price tr:target { background: var(--felt-rise); }
  .price tr:target th, .price tr:target td { background: none; }
  .quote ul { grid-template-columns: minmax(0, 1fr); }

  .versus, .versus tbody, .versus tr, .versus th, .versus td { display: block; }
  .versus thead { display: none; }
  .versus tr { padding-block: 16px; border-top: 1px solid var(--line-soft); }
  .versus tbody tr:first-child { border-top: 1.5px solid var(--line); }
  .versus th, .versus td { padding: 0; border: 0; }
  .versus tbody th { font-size: 18px; margin-bottom: 10px; }
  .versus td { position: relative; padding-left: 112px; }
  .versus td + td { margin-top: 8px; }
  .versus td::before {
    content: attr(data-col);
    position: absolute;
    left: 0; top: 0;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.85;
  }
}

@media (max-width: 420px) {
  .felt-grid { grid-template-columns: minmax(0, 1fr); }
  .btn--big { width: 100%; padding-inline: 20px; font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .faq summary::after { transition: none; }
}

/* ================= 여러 페이지 공통 ================= */
:root { --soft: #D5DFD6; }

.nav a[aria-current="page"] { color: var(--ivory); box-shadow: inset 0 -1.5px 0 var(--print); }

/* 하위 페이지 첫 화면 */
.sub {
  padding-block: clamp(10px, 1.6vw, 24px) clamp(40px, 5vw, 72px);
  border-bottom: 1.5px solid var(--line);
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 10px;
  font-size: 14.5px;
  color: var(--mute);
}
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.crumbs a { display: inline-block; padding-block: 10px; text-decoration: none; }
.crumbs a:hover, .crumbs [aria-current] { color: var(--ivory); }
.sub h1 {
  margin-top: clamp(14px, 2vw, 28px);
  font-size: clamp(27px, 7.6vw, 70px);
}
.sub .deck { max-width: 34em; }
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5px;
  margin: clamp(30px, 4vw, 52px) 0 0;
  background: var(--line);
  border: 1.5px solid var(--line);
  border-radius: var(--box);
  overflow: hidden;
}
.facts > div { padding: 20px 24px 22px; background: var(--felt); }
.facts dt {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  color: var(--print);
}
.facts dd { margin: 6px 0 0; font-size: 15.5px; line-height: 1.65; color: var(--soft); }

/* 글 구역: 왼쪽 좁은 칸의 제목은 정해 둔 줄바꿈 대신 고르게 나눈다 */
.split > h2 br { display: none; }
h2 .ln { display: inline-block; }
.prose p { max-width: 41em; color: var(--soft); }
.prose p + p { margin-top: 1.05em; }
.prose a, .head a, .note a, .more a {
  color: var(--ivory);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--print);
}
.prose a:hover, .head a:hover, .note a:hover, .more a:hover { text-decoration-color: var(--ivory); }
.more { margin-top: 26px; font-weight: 500; }
.prose .more { margin-top: 1.4em; }
.more a { display: inline-block; padding-block: 8px; margin-right: 28px; }
.note { margin-top: 16px; max-width: 46em; font-size: 15.5px; color: var(--mute); }

.ticks { margin-top: 1.2em; }
.ticks li {
  position: relative;
  padding: 12px 0 12px 26px;
  border-top: 1px solid var(--line-soft);
  line-height: 1.6;
  color: var(--soft);
}
.ticks li:last-child { border-bottom: 1px solid var(--line-soft); }
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px; top: 1.36em;
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid var(--print);
}

/* 카드 격자: 인쇄선으로 나눈 칸에 소제목과 글 */
.felt-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.felt-grid.cards li { padding: 24px 26px 26px; }
.felt-grid h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.35;
}
.felt-grid.cards p {
  margin-top: 10px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--soft);
}
.felt-grid.cards .more { margin-top: auto; padding-top: 14px; }
.felt-grid.cards .more a { margin-right: 0; }
.chipline { display: flex; align-items: center; gap: 12px; }
.chipline svg { flex: none; width: 38px; height: 38px; }

/* 표 */
.data {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1.5px solid var(--line);
  border-radius: var(--box);
  overflow: hidden;
}
.data th, .data td {
  padding: 18px 26px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--line-soft);
  line-height: 1.65;
}
.data thead th {
  padding-block: 13px;
  border-top: 0;
  background: var(--felt-deep);
  font-size: 15px;
  font-weight: 500;
  color: var(--mute);
}
.data tbody th { width: 24%; font-weight: 700; }
.data td { color: var(--soft); }
.data .en { display: block; font-weight: 400; font-size: 13.5px; color: var(--mute); }
.data--vs thead th:nth-child(2) { color: var(--print); font-weight: 700; }
.data--vs td:last-child { color: var(--mute); }

/* 순서 */
.head + .process { margin-top: 0; }

/* 다른 안내로 가는 길 */
.related {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (min-width: 1001px) {
  .related.n14 > :nth-last-child(-n+2) { grid-column: span 2; }
}
.rel {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 14px;
  align-content: start;
  padding: 20px 22px 22px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  transition: background-color .15s ease;
}
.rel:hover { background: var(--felt-rise); }
.rel svg { grid-row: 1 / span 2; width: 36px; height: 36px; }
.rel b {
  align-self: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18.5px;
  line-height: 1.35;
}
.rel span { margin-top: 6px; font-size: 14.5px; line-height: 1.6; color: var(--mute); }

/* 꼬리 메뉴 */
.foot__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 26px;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
}
.foot__nav a { padding-block: 10px; text-decoration: none; }
.foot__nav a:hover, .foot__nav a[aria-current] { color: var(--ivory); }

/* 한 줄 메뉴가 들어갈 자리가 모자라는 폭(1180 미만)부터는 둘째 줄의 가로 띠로 내린다 */
@media (max-width: 1179px) {
  .top { padding-bottom: 0; }
  .top__row { flex-wrap: wrap; row-gap: 12px; }
  .nav {
    order: 3;
    flex: 0 0 calc(100% + var(--gutter) * 2);
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    gap: 24px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: none; padding-block: 11px; }
}

@media (max-width: 1000px) {
  .felt-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .felt-grid.cols-3.odd { grid-template-columns: minmax(0, 1fr); }
  .process ol.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 중간 폭: 다섯 단계는 3칸 + 2칸으로, 아홉 장 카드의 마지막 한 장은 줄 전체로 펴서 빈 칸을 없앤다 */
@media (min-width: 721px) and (max-width: 1000px) {
  .process ol.n5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .process ol.n5 > li { grid-column: span 2; }
  .process ol.n5 > li:nth-child(n+4) { grid-column: span 3; }
}

@media (max-width: 720px) {
  h2 br { display: none; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .felt-grid.cards { grid-template-columns: minmax(0, 1fr); }
  .process ol.n4 { grid-template-columns: minmax(0, 1fr); }
  .related { grid-template-columns: minmax(0, 1fr); }
  .more a { display: block; margin-right: 0; }

  .data, .data tbody, .data tr, .data th, .data td { display: block; }
  .data thead { display: none; }
  .data tr { padding: 18px 20px 20px; border-top: 1.5px solid var(--line); }
  .data tbody tr:first-child { border-top: 0; }
  .data th, .data td { padding: 0; border: 0; }
  .data tbody th { width: auto; margin-bottom: 10px; font-size: 18px; }
  .data td { position: relative; padding-left: 104px; }
  .data td + td { margin-top: 8px; }
  .data td::before {
    content: attr(data-col);
    position: absolute;
    left: 0; top: 0;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.9;
    color: var(--print);
  }
  .data--vs td { padding-left: 120px; }
  .data--vs td:last-child::before { color: var(--ivory); }
}

@media (prefers-reduced-motion: reduce) {
  .rel { transition: none; }
}
