:root {
  color-scheme: dark;
  --canvas: #09090b;
  --raised: #18181b;
  --quiet: #27272a;
  --border: #303036;
  --text: #fafafa;
  --muted: #a1a1aa;
  --action: #3b82f6;
  --action-hover: #60a5fa;
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--canvas);
  font: 400 16px/1.65 Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2 {
  font-family: "Playfair Display", "Noto Serif KR", serif;
  font-weight: 600;
  letter-spacing: -0.045em;
}
h1 { margin-bottom: 28px; font-size: clamp(44px, 5.6vw, 76px); line-height: 1.08; }
h2 { margin-bottom: 22px; font-size: clamp(36px, 4vw, 58px); line-height: 1.15; }
h3 { margin-bottom: 9px; font-size: 20px; letter-spacing: -0.025em; }

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: white;
  background: var(--action);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header, main, footer {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}
.site-header {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.brand, .site-header nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  text-decoration: none;
}
.brand { gap: 10px; font: 600 14px/1 Pretendard, sans-serif; letter-spacing: .12em; }
.brand span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--text);
  font-family: "Playfair Display", serif;
  letter-spacing: 0;
}
.site-header nav { display: flex; gap: 28px; }
.site-header nav a { color: var(--muted); font-size: 14px; }
.site-header nav a:hover { color: var(--text); }

.hero {
  display: grid;
  min-height: 760px;
  align-items: center;
  gap: 72px;
  grid-template-columns: .86fr 1.14fr;
  padding: 104px 0 120px;
}
.product-name, .section-index, .edition-label {
  margin-bottom: 24px;
  color: var(--action-hover);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-description {
  max-width: 600px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 18px;
}
.download-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-weight: 650;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.button-primary { color: white; background: var(--action); border-color: var(--action); }
.button-primary:hover { background: #2563eb; border-color: #2563eb; }
.button-secondary { background: transparent; }
.button-secondary:hover { background: var(--raised); border-color: #52525b; }
.release-line { display: flex; flex-wrap: wrap; gap: 9px; margin: 0; color: var(--muted); font-size: 13px; }
.product-shot { overflow: hidden; margin: 0; border: 1px solid var(--border); background: var(--raised); box-shadow: 0 32px 90px rgb(0 0 0 / 45%); }

.facts { display: grid; border-block: 1px solid var(--border); grid-template-columns: repeat(4, 1fr); }
.facts div { display: flex; min-height: 124px; flex-direction: column; justify-content: center; padding: 24px 30px; border-right: 1px solid var(--border); }
.facts div:last-child { border-right: 0; }
.facts strong { font-family: "Playfair Display", "Noto Serif KR", serif; font-size: 28px; }
.facts span { color: var(--muted); font-size: 13px; }

.section { padding: 160px 0; }
.section-heading { max-width: 720px; }
.section-heading > p:last-child { color: var(--muted); font-size: 17px; }
.workflow { display: grid; gap: 100px; grid-template-columns: .82fr 1.18fr; }
.workflow-list { margin: 0; padding: 0; border-top: 1px solid var(--border); list-style: none; }
.workflow-list li { display: grid; gap: 30px; padding: 34px 0; border-bottom: 1px solid var(--border); grid-template-columns: 48px 1fr; }
.workflow-list li > span { color: var(--action-hover); font: 600 12px/1.5 Consolas, monospace; }
.workflow-list p { margin: 0; color: var(--muted); }

.editions { border-top: 1px solid var(--border); }
.edition-list { margin-top: 64px; border-top: 1px solid var(--border); }
.edition-list article { display: grid; min-height: 210px; align-items: center; gap: 54px; padding: 38px 0; border-bottom: 1px solid var(--border); grid-template-columns: .8fr 1.25fr .65fr; }
.edition-list article > p { margin: 0; color: var(--muted); }
.edition-label { margin-bottom: 8px; }
.edition-list article a, .checksum-links a { color: var(--action-hover); font-weight: 600; text-underline-offset: 5px; }
.edition-list article a span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 400; }
code { font: 13px/1.5 Consolas, "Cascadia Mono", monospace; }

.usage { border-top: 1px solid var(--border); }
.usage .section-heading { max-width: 960px; }
.usage-steps { margin: 64px 0 0; padding: 0; border-top: 1px solid var(--border); list-style: none; }
.usage-steps li { display: grid; gap: 34px; padding: 36px 0; border-bottom: 1px solid var(--border); grid-template-columns: 52px 1fr; }
.usage-steps li > span { color: var(--action-hover); font: 600 12px/1.5 Consolas, monospace; }
.usage-steps h3 { margin-bottom: 10px; }
.usage-steps p { max-width: 840px; margin: 0; color: var(--muted); }
.usage-steps code { color: #bfdbfe; overflow-wrap: anywhere; }

.details { display: grid; align-items: end; gap: 80px; grid-template-columns: .72fr 1.28fr; }
.detail-shot { overflow: hidden; margin: 0; border: 1px solid var(--border); background: var(--raised); }

.release-section { padding: 150px 0 120px; border-top: 1px solid var(--border); }
.release-section dl { margin: 52px 0 26px; border-top: 1px solid var(--border); }
.release-section dl > div { display: grid; min-height: 72px; align-items: center; border-bottom: 1px solid var(--border); grid-template-columns: 220px 1fr; }
.release-section dt { color: var(--muted); font-size: 13px; }
.release-section dd { margin: 0; }
.release-section code { color: #bfdbfe; overflow-wrap: anywhere; }
.checksum-links { display: flex; flex-wrap: wrap; gap: 24px; }
.release-note { max-width: 780px; margin: 28px 0 0; color: var(--muted); font-size: 13px; }

.support-section { display: grid; align-items: center; gap: 64px; padding: 88px 0; border-top: 1px solid var(--border); grid-template-columns: 1fr auto; }
.support-section h2 { margin-bottom: 14px; font-size: clamp(32px, 3.4vw, 48px); }
.support-section p { max-width: 680px; margin: 0; color: var(--muted); }
.support-section > a { display: inline-flex; min-height: 44px; align-items: center; color: var(--action-hover); font: 600 clamp(20px, 2.2vw, 28px)/1.2 "Playfair Display", serif; text-underline-offset: 7px; }

footer { display: flex; min-height: 110px; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
footer p { margin: 0; }
.footer-links { display: flex; gap: 24px; }
a:focus-visible { outline: 3px solid var(--action-hover); outline-offset: 4px; }

@media (max-width: 960px) {
  .hero, .workflow, .details { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 88px; }
  .workflow, .details { gap: 56px; }
  .edition-list article { gap: 28px; grid-template-columns: .7fr 1.3fr; }
  .edition-list article > a { grid-column: 2; }
  .support-section { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header, main, footer { width: min(var(--max), calc(100% - 28px)); }
  .site-header nav { gap: 14px; }
  .site-header nav a { font-size: 13px; }
  .hero { gap: 50px; padding: 72px 0 88px; }
  h1 { font-size: clamp(40px, 12vw, 56px); }
  .hero-description { font-size: 16px; }
  .download-actions, .button { width: 100%; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div { min-height: 100px; padding: 18px; border-bottom: 1px solid var(--border); }
  .facts div:nth-child(2) { border-right: 0; }
  .facts div:nth-child(n + 3) { border-bottom: 0; }
  .section { padding: 110px 0; }
  .edition-list article { display: block; padding: 34px 0; }
  .edition-list article > p { margin: 24px 0; }
  .release-section dl > div { display: block; padding: 18px 0; }
  .release-section dt { margin-bottom: 5px; }
  .support-section { gap: 30px; padding: 72px 0; }
  footer { min-height: 120px; }
  .footer-links { flex-direction: column; gap: 8px; }
}

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