/* [코대리] 홈페이지와 소개서의 한국어·영어 백서 다운로드 영역을 꾸민다. */
.whitepaper-section {
  --wp-gold: #e0c493;
  --wp-text: #f1f0ed;
  --wp-muted: #b4bdc9;
  width: min(1280px, calc(100% - 112px));
  margin: 24px auto 72px;
  color: var(--wp-text);
  scroll-margin-top: 110px;
}
.whitepaper-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 76px);
  padding: clamp(28px, 4.5vw, 62px);
  background: radial-gradient(ellipse at 0 0, #34405252, transparent 65%), #111824;
  border: 1px solid #c5d2df29;
  border-top-color: #e0c49380;
  border-radius: 12px;
}
.whitepaper-intro, .whitepaper-files { min-width: 0; }
.whitepaper-brand {
  display: block;
  width: 150px;
  max-width: 100%;
  height: auto;
  margin-bottom: 28px;
  mix-blend-mode: screen;
}
.whitepaper-kicker {
  margin: 0 0 16px;
  color: var(--wp-gold);
  font: 11px/1.7 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .12em;
}
.whitepaper-intro h2 {
  margin: 0 0 21px;
  color: var(--wp-text);
  font-size: clamp(29px, 3vw, 42px);
  line-height: 1.38;
  letter-spacing: -.045em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.whitepaper-intro > p:last-child {
  margin: 0;
  max-width: 44ch;
  color: var(--wp-muted);
  font-size: 14px;
  line-height: 1.9;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.whitepaper-files { display: grid; align-content: center; gap: 14px; }
.whitepaper-file {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 17px;
  min-height: 120px;
  padding: 22px;
  border: 1px solid #c7d4e02e;
  border-radius: 7px;
  background: #ffffff03;
  color: var(--wp-text);
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease;
}
.whitepaper-file:hover { background: #e0c4930a; border-color: #e0c49394; }
.whitepaper-file:focus-visible { outline: 2px solid var(--wp-gold); outline-offset: 5px; }
.whitepaper-language {
  display: grid;
  place-items: center;
  width: 40px;
  height: 50px;
  border: 1px solid #e0c49366;
  border-radius: 2px 9px 2px 2px;
  color: var(--wp-gold);
  font: 12px/1 "SFMono-Regular", Consolas, monospace;
}
.whitepaper-file-copy { display: grid; min-width: 0; gap: 5px; }
.whitepaper-file-title { font-size: 17px; font-weight: 600; line-height: 1.5; }
.whitepaper-file-meta { color: var(--wp-muted); font-size: 11px; line-height: 1.8; }
.whitepaper-file-action { color: var(--wp-gold); font-size: 12px; line-height: 1.7; }
.whitepaper-file-copy > span { overflow-wrap: anywhere; word-break: keep-all; }
.whitepaper-download-icon { width: 22px; height: 22px; color: var(--wp-gold); }
.whitepaper-note { margin: 3px 0 0; color: var(--wp-muted); font-size: 12px; line-height: 1.85; }
.overview-page .whitepaper-section { width: 100%; margin: 50px 0 0; }
.overview-page .whitepaper-panel { gap: 32px; padding: 38px; }
.overview-page .whitepaper-intro h2 { font-size: 30px; }
@media (max-width: 1000px) {
  .whitepaper-panel { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .whitepaper-intro > p:last-child { max-width: 64ch; }
  .whitepaper-brand { margin-bottom: 22px; }
}
@media (max-width: 680px) {
  .whitepaper-section { width: calc(100% - 40px); margin-block: 12px 46px; }
  .whitepaper-panel, .overview-page .whitepaper-panel { padding: 25px 22px; gap: 27px; }
  .whitepaper-intro h2, .overview-page .whitepaper-intro h2 { font-size: 29px; }
  .whitepaper-brand { width: 126px; }
  .whitepaper-file { grid-template-columns: 32px minmax(0, 1fr) 20px; gap: 12px; padding: 20px 15px; }
  .whitepaper-language { width: 32px; height: 43px; font-size: 10px; }
  .whitepaper-file-title { font-size: 16px; }
  .whitepaper-file-meta { font-size: 11px; }
  .whitepaper-download-icon { width: 20px; height: 20px; }
  .whitepaper-note { font-size: 12px; }
}
@media (max-width: 359px) {
  .whitepaper-section { width: calc(100% - 32px); }
  .whitepaper-panel, .overview-page .whitepaper-panel { padding-inline: 19px; }
  .whitepaper-file { grid-template-columns: minmax(0, 1fr) 20px; }
  .whitepaper-language { display: none; }
}
@media (prefers-reduced-motion: reduce) { .whitepaper-file { transition: none; } }
html[data-motion="paused"] .whitepaper-file { transition: none; }
@media print { .whitepaper-section { display: none !important; } }
