:root {
  --ink: #0a0a0b;
  --ink-soft: #151517;
  --paper: #f0eee6;
  --paper-deep: #e5e2d8;
  --acid: #d8ff58;
  --acid-dark: #596f00;
  --muted: #96968e;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(10, 10, 11, 0.18);
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --header-height: 4.5rem;
  --ui-font: Inter, "Pretendard Variable", Pretendard, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--ui-font);
  -webkit-font-smoothing: antialiased;
}

button,
select,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-family: "Monatendard", monospace;
}

button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
[contenteditable="true"]:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}

::selection {
  background: var(--acid);
  color: var(--ink);
}

/* Toast Message */
.toast-message {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  opacity: 0;
  z-index: 1000;
  background: var(--acid);
  color: var(--ink);
  padding: 0.8rem 1.6rem;
  border-radius: 4px;
  font-family: "Monatendard", monospace;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  max-width: calc(100vw - 2rem);
  text-align: center;
  transition: transform 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 300ms ease;
  pointer-events: none;
}

.toast-message.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  transform: translateY(-160%);
  background: var(--acid);
  color: var(--ink);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line-dark);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark > span:first-child {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  background: var(--acid);
  color: var(--ink);
  font-family: "Monatendard", monospace;
  font-size: 1.1rem;
  font-weight: 800;
}

.brand-label {
  font-family: "Monatendard", monospace;
  font-size: 0.92rem;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 2rem);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Mobile Menu Toggle (hidden on desktop) */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease;
}

.mobile-menu-toggle:hover {
  border-color: var(--acid);
  color: var(--acid);
}

.mobile-menu-toggle .menu-icon-close {
  display: none;
}

.mobile-menu-toggle[aria-expanded="true"] .menu-icon-open {
  display: none;
}

.mobile-menu-toggle[aria-expanded="true"] .menu-icon-close {
  display: block;
}

.site-nav a {
  position: relative;
}

.site-nav a:not(.nav-download):not(.nav-github)::after,
.footer-links a::after,
.text-link::after {
  position: absolute;
  right: 0;
  bottom: -0.3rem;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.footer-links a:hover::after,
.footer-links a:focus-visible::after,
.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-github {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  transition: border-color 180ms ease, color 180ms ease;
}

.nav-github:hover {
  border-color: var(--acid);
  color: var(--acid);
}

.nav-download {
  padding: 0.75rem 1rem;
  background: var(--acid);
  color: var(--ink);
  font-weight: 700;
  transition: background 180ms ease;
}

.nav-download:hover {
  background: #e4ff82;
}

/* IDE / Window Mockup Styles */
.window-mockup {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(18, 18, 20, 0.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background: rgba(26, 26, 30, 0.95);
  border-bottom: 1px solid var(--line-dark);
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.window-tab {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  background: rgba(10, 10, 11, 0.6);
  border-radius: 4px;
  font-family: "Monatendard", monospace;
  font-size: 0.75rem;
  color: var(--paper);
}

.window-tab.active {
  border-bottom: 2px solid var(--acid);
}

.window-title {
  font-family: "Monatendard", monospace;
  font-size: 0.75rem;
  color: #88888e;
}

.window-badge {
  font-family: "Monatendard", monospace;
  font-size: 0.65rem;
  color: var(--acid);
  border: 1px solid rgba(216, 255, 88, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  background: rgba(216, 255, 88, 0.05);
}

/* Hero Section */
.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: calc(var(--header-height) + clamp(3rem, 7vh, 6rem)) var(--gutter) clamp(3rem, 6vh, 5rem);
  grid-template-columns: minmax(0, 1.25fr) minmax(20rem, 0.75fr);
  align-items: center;
  gap: clamp(1rem, 2.5vw, 3rem);
  overflow: hidden;
  background: var(--ink);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-position: center calc(var(--scroll-shift, 0) * 1px);
  background-size: clamp(4rem, 7vw, 8rem) clamp(4rem, 7vw, 8rem);
  mask-image: linear-gradient(90deg, black 0%, transparent 74%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-specimen {
  position: relative;
  z-index: 1;
  min-width: 0;
  align-self: end;
  transform: translateY(clamp(1.5rem, 3vh, 3rem));
}

.eyebrow,
.section-kicker {
  margin: 0 0 1.5rem;
  color: var(--acid);
  font-family: "Monatendard", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0 0 1.5rem;
  font-family: "Monatendard", monospace;
  font-size: clamp(4rem, 9.2vw, 10.2rem);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.072em;
  word-break: keep-all;
  white-space: nowrap;
}

.hero-tagline {
  margin: 0;
  color: #d9d8d2;
  font-family: "Monatendard", monospace;
  font-size: clamp(1.15rem, 2.15vw, 2rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.035em;
}

.hero-actions {
  display: flex;
  margin-top: clamp(2.25rem, 5vh, 4rem);
  align-items: center;
  gap: 1.75rem;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  padding: 0 1.35rem;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button-primary {
  background: var(--acid);
  color: var(--ink);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #e4ff82;
}

.text-link {
  position: relative;
  font-family: "Monatendard", monospace;
  font-size: 0.86rem;
}

.hero-specimen .window-body {
  padding: clamp(1.25rem, 2.5vw, 2.25rem);
}

.hero-code {
  display: grid;
  font-family: "Monatendard", monospace;
  font-size: clamp(0.75rem, 1vw, 0.98rem);
  font-variant-ligatures: contextual;
  grid-template-columns: auto 1fr;
  gap: 0.9rem 1.25rem;
  line-height: 1.6;
}

.hero-code b {
  color: var(--acid);
  font-weight: 500;
}

.hero-code i {
  color: #f0b1c7;
  font-style: normal;
}

.hero-code em {
  color: #82d8ff;
  font-style: normal;
}

.code-muted {
  color: #57575b;
  user-select: none;
}

.code-comment {
  color: #7c9273;
}

.hero-glyphs {
  display: grid;
  margin-top: clamp(2rem, 5vh, 4.5rem);
  grid-template-columns: 2fr 1fr 1fr;
  font-family: "Monatendard", monospace;
  font-size: clamp(4rem, 10vw, 9.5rem);
  font-weight: 300;
  line-height: 0.82;
}

.hero-glyphs span {
  border-right: 1px solid var(--line-dark);
  text-align: center;
}

.hero-glyphs span:first-child {
  color: var(--acid);
}

.hero-glyphs span:last-child {
  border-right: 0;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: 1.5rem;
  display: flex;
  margin: 0;
  align-items: center;
  gap: 0.75rem;
  color: #777778;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.scroll-cue span {
  display: block;
  width: 3rem;
  height: 1px;
  overflow: hidden;
  background: #3e3e40;
}

.scroll-cue span::after {
  display: block;
  width: 55%;
  height: 100%;
  content: "";
  animation: scroll-line 1.8s ease-in-out infinite;
  background: var(--acid);
}

.section-light {
  background: var(--paper);
  color: var(--ink);
}

.statement {
  padding: clamp(6rem, 12vw, 11rem) var(--gutter);
}

.statement .section-kicker,
.facts .section-kicker {
  color: var(--acid-dark);
}

.statement-layout {
  display: grid;
  margin-top: clamp(2.5rem, 6vw, 6rem);
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(3rem, 8vw, 9rem);
}

.statement h2,
.playground h2,
.setup-head h2,
.alignment h2,
.ligature-stage h2,
.nerd-copy h2,
.download h2 {
  margin: 0;
  font-family: "Monatendard", monospace;
  font-weight: 500;
  letter-spacing: -0.055em;
}

.statement h2 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 6vw, 7rem);
  line-height: 1.12;
}

.statement-copy {
  max-width: 34rem;
  align-self: end;
}

.statement-copy > p:first-child {
  margin: 0;
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  line-height: 1.85;
}

.statement-proof {
  margin: 3rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-light);
  font-family: "Monatendard", monospace;
  font-size: 0.82rem;
}

/* Playground Section */
.playground {
  padding: clamp(6rem, 10vw, 10rem) var(--gutter);
  background: var(--ink-soft);
}

.playground-head {
  display: flex;
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.playground h2 {
  font-size: clamp(3rem, 6.5vw, 7rem);
  line-height: 0.95;
}

.playground-head > p {
  max-width: 25rem;
  margin: 0 0 0.5rem;
  color: #a5a5a0;
  font-size: 0.92rem;
  line-height: 1.65;
}

.tester-shell {
  border: 1px solid var(--line-dark);
}

.tester-toolbar {
  display: flex;
  flex-wrap: wrap;
  padding: 1.25rem;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(15, 15, 17, 0.7);
}

.control {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: #89898a;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.control select {
  padding: 0.35rem 0.5rem;
  border: 1px solid #48484b;
  border-radius: 4px;
  outline: 0;
  background: #151518;
  color: var(--paper);
  font-family: "Monatendard", monospace;
  font-size: 0.82rem;
}

.control select:focus-visible {
  border-color: var(--acid);
}

.control-range {
  min-width: 9rem;
}

.control-range > span {
  display: flex;
  justify-content: space-between;
}

.control-range output {
  color: var(--paper);
  font-family: "Monatendard", monospace;
}

.control-range input {
  width: 100%;
  height: 2px;
  accent-color: var(--acid);
}

.control-buttons {
  min-width: 8.25rem;
}

.segmented {
  display: flex;
  gap: 0.2rem;
  background: #111113;
  padding: 2px;
  border-radius: 4px;
  border: 1px solid #333336;
}

.segmented button,
.preset-button {
  padding: 0.3rem 0.6rem;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #77777b;
  cursor: pointer;
  font-family: "Monatendard", monospace;
  font-size: 0.76rem;
  transition: all 180ms ease;
}

.segmented button.is-active,
.preset-button.is-active {
  background: var(--acid);
  color: var(--ink);
  font-weight: 700;
}

.toolbar-switches {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.switch-control {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #a1a1a2;
  cursor: pointer;
  font-family: "Monatendard", monospace;
  font-size: 0.75rem;
}

.switch-control input {
  width: 0.95rem;
  height: 0.95rem;
  margin: 0;
  accent-color: var(--acid);
}

.sample-presets {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--line-dark);
  gap: 0.5rem;
  background: rgba(10, 10, 12, 0.4);
}

.preset-label {
  font-family: "Monatendard", monospace;
  font-size: 0.7rem;
  color: #66666a;
  margin-right: 0.5rem;
}

.tester-editor-wrapper {
  position: relative;
  display: flex;
  min-height: clamp(20rem, 45vw, 32rem);
  background: #0b0c0d;
}

.line-gutter {
  display: none;
  flex-direction: column;
  padding-top: 2rem;
  padding-right: 0.85rem;
  padding-left: 1.25rem;
  background: rgba(0, 0, 0, 0.25);
  border-right: 1px solid var(--line-dark);
  color: #57575b;
  font-family: "Monatendard", monospace;
  font-size: 24px;
  line-height: 1.7;
  user-select: none;
  text-align: right;
  flex-shrink: 0;
}

.tester-editor-wrapper.show-line-numbers .line-gutter {
  display: flex;
}

.line-gutter span {
  display: block;
}

.font-tester {
  width: 100%;
  min-width: 0;
  min-height: clamp(20rem, 45vw, 32rem);
  overflow: auto;
  overflow-wrap: normal;
  padding: 2rem;
  outline: 0;
  background: transparent;
  color: #e9e8e1;
  caret-color: var(--acid);
  font-family: "Monatendard", monospace;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  font-variant-ligatures: contextual;
  line-height: 1.7;
  tab-size: 4;
  transition: background 240ms ease, color 240ms ease;
  white-space: pre;
}

.font-tester[data-theme="light"] {
  background: #ebe9e0;
  color: #111113;
  caret-color: #5d7314;
}

.font-tester:focus-visible {
  box-shadow: inset 0 0 0 2px var(--acid);
}

.tester-caption {
  display: flex;
  margin: 0;
  padding: 0.8rem 1.25rem;
  justify-content: space-between;
  border-top: 1px solid var(--line-dark);
  color: #77777b;
  font-family: "Monatendard", monospace;
  font-size: 0.68rem;
  background: rgba(15, 15, 17, 0.9);
}

.tester-caption span:first-child {
  color: var(--paper);
}

/* Quick Setup Guide Section [신설] */
.quick-setup {
  padding: clamp(6rem, 10vw, 10rem) var(--gutter);
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
}

.setup-head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.setup-head h2 {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  line-height: 1.05;
}

.setup-head > p {
  max-width: 30rem;
  margin: 1.5rem 0 0;
  color: #a0a09c;
  font-size: 1rem;
}

.setup-tabs-wrapper {
  margin-top: 2rem;
}

.setup-nav {
  display: flex;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(20, 20, 24, 0.9);
  overflow-x: auto;
}

.setup-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  border: 0;
  background: transparent;
  color: #88888e;
  cursor: pointer;
  font-family: "Monatendard", monospace;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 180ms ease;
  white-space: nowrap;
}

.setup-tab:hover {
  color: var(--paper);
}

.setup-tab.is-active {
  color: var(--acid);
  border-bottom: 2px solid var(--acid);
  background: rgba(216, 255, 88, 0.04);
}

.setup-content {
  padding: 1.5rem;
  background: #0d0d0f;
}

.setup-panel {
  display: none;
}

.setup-panel.is-active {
  display: block;
}

.code-block-wrapper {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
  background: #141417;
}

.code-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  gap: 1rem;
  border-bottom: 1px solid var(--line-dark);
  font-family: "Monatendard", monospace;
  font-size: 0.75rem;
  color: #99999e;
}

.code-block-header > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-code-btn,
.copy-small-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--paper);
  cursor: pointer;
  font-family: "Monatendard", monospace;
  font-size: 0.72rem;
  transition: all 180ms ease;
}

.copy-code-btn:hover,
.copy-small-btn:hover {
  background: var(--acid);
  color: var(--ink);
  border-color: var(--acid);
}

.code-block-wrapper pre {
  margin: 0;
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  font-family: "Monatendard", monospace;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #e0e0dc;
}

.setup-note {
  margin: 1rem 0 0;
  color: #88888c;
  font-size: 0.82rem;
  line-height: 1.6;
}

/* Alignment Section */
.alignment {
  display: grid;
  padding: clamp(7rem, 12vw, 12rem) var(--gutter);
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(4rem, 9vw, 10rem);
}

.alignment-copy {
  align-self: center;
}

.alignment h2 {
  font-size: clamp(3rem, 4.7vw, 5.6rem);
  line-height: 1.04;
  white-space: nowrap;
}

.alignment-copy > p:last-child {
  max-width: 32rem;
  margin: 2.5rem 0 0;
  color: #a0a09c;
  font-size: 1rem;
  line-height: 1.8;
}

.cell-stage {
  align-self: center;
}

.cell-row {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
}

.cell-row-label span {
  padding-bottom: 0.8rem;
  color: #68686c;
  font-family: "Monatendard", monospace;
  font-size: 0.65rem;
  text-align: center;
  text-transform: uppercase;
}

.cell-row-glyphs {
  border-top: 1px solid #57575b;
  border-bottom: 1px solid #57575b;
  font-family: "Monatendard", monospace;
  font-size: clamp(5rem, 13vw, 13rem);
  font-weight: 300;
  line-height: 1.2;
}

.cell-row-glyphs span {
  display: grid;
  place-items: center;
  border-right: 1px solid #57575b;
}

.cell-row-glyphs .two-cells {
  border-right: 0;
  background: var(--acid);
  color: var(--ink);
}

.cell-ruler {
  display: grid;
  height: 1rem;
  grid-template-columns: repeat(4, 1fr);
}

.cell-ruler span {
  border-right: 1px solid #57575b;
}

.cell-ruler span:first-child {
  border-left: 1px solid #57575b;
}

.cell-equation {
  margin: 2rem 0 0;
  color: #858588;
  font-family: "Monatendard", monospace;
  font-size: 0.78rem;
  text-align: right;
}

/* Ligature Section */
.ligature-stage {
  padding: clamp(5rem, 8vw, 8rem) var(--gutter) clamp(7rem, 11vw, 11rem);
  text-align: center;
}

.ligature-stage h2 {
  font-size: clamp(2.6rem, 5vw, 5.5rem);
}

.ligature-line {
  margin: clamp(3rem, 6vw, 6rem) calc(var(--gutter) * -1) 2rem;
  overflow: hidden;
  color: var(--acid);
  font-family: "Monatendard", monospace;
  font-size: clamp(2.5rem, 8vw, 9rem);
  font-variant-ligatures: contextual;
  line-height: 1.1;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.ligature-note {
  max-width: 35rem;
  margin: 0 auto;
  color: #8d8d8f;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Nerd Stage Section & Icon Grid */
.nerd-stage {
  display: grid;
  padding: clamp(6rem, 10vw, 10rem) var(--gutter);
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(4rem, 9vw, 10rem);
  border-top: 1px solid var(--line-dark);
}

.nerd-copy {
  align-self: center;
}

.nerd-copy h2 {
  font-size: clamp(3rem, 5.2vw, 6rem);
  line-height: 1.02;
}

.nerd-copy > p:last-child {
  max-width: 31rem;
  margin: 2.5rem 0 0;
  color: #919193;
  line-height: 1.8;
}

.nerd-demo {
  min-width: 0;
  align-self: center;
}

.nerd-terminal .window-body {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.terminal-label,
.terminal-result {
  margin: 0;
  color: #6f6f73;
  font-size: 0.72rem;
  font-family: "Monatendard", monospace;
}

.terminal-prompt {
  display: flex;
  margin: 1.5rem 0;
  align-items: stretch;
  flex-wrap: wrap;
  font-family: "Monatendard", monospace;
  font-size: clamp(0.82rem, 1.7vw, 1.25rem);
  line-height: 2.2;
}

.prompt-branch,
.prompt-path {
  padding: 0 0.65rem;
  white-space: nowrap;
}

.prompt-branch {
  background: var(--acid);
  color: var(--ink);
}

.prompt-path {
  background: #2a2a2e;
  color: var(--paper);
}

.prompt-divider {
  width: 1em;
  margin-right: -0.02em;
  font-size: 2.2em;
  line-height: 1;
}

.prompt-divider-acid {
  color: var(--acid);
}

.prompt-divider-dark {
  color: #2a2a2e;
}

.prompt-command {
  padding-left: 0.6rem;
  color: #a9a9a4;
  white-space: nowrap;
}

/* Nerd Icon Grid [신설] */
.nerd-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0.5rem;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--paper);
  cursor: pointer;
  transition: all 180ms ease;
}

.icon-card:hover {
  background: rgba(216, 255, 88, 0.08);
  border-color: var(--acid);
  transform: translateY(-2px);
}

.icon-char {
  font-family: "Monatendard", monospace;
  font-size: 1.8rem;
  color: var(--acid);
  margin-bottom: 0.5rem;
}

.icon-name {
  font-family: "Monatendard", monospace;
  font-size: 0.65rem;
  color: #88888e;
}

/* Facts Section */
.facts {
  display: grid;
  padding: 0 var(--gutter);
  grid-template-columns: repeat(3, 1fr);
}

.fact {
  min-height: 27rem;
  padding: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 4vw, 4rem);
  border-right: 1px solid var(--line-light);
}

.fact:first-child {
  border-left: 1px solid var(--line-light);
}

.fact-value {
  display: block;
  margin-bottom: clamp(5rem, 9vw, 9rem);
  color: var(--acid-dark);
  font-family: "Monatendard", monospace;
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.06em;
}

.fact h3 {
  margin: 0 0 1rem;
  font-family: "Monatendard", monospace;
  font-size: 1.15rem;
  font-weight: 600;
}

.fact p {
  max-width: 18rem;
  margin: 0;
  color: #5c5b57;
  font-size: 0.85rem;
  line-height: 1.65;
}

/* Download Section */
.download {
  display: grid;
  padding: clamp(7rem, 12vw, 12rem) var(--gutter);
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(4rem, 9vw, 10rem);
}

.download-copy {
  align-self: start;
}

.download h2 {
  font-size: clamp(3.3rem, 6.5vw, 7rem);
  line-height: 1;
}

.download-copy > p:last-child {
  max-width: 27rem;
  margin: 2.5rem 0 0;
  color: #999995;
  line-height: 1.7;
}

.download-panel {
  border-top: 1px solid var(--line-dark);
}

.download-main,
.download-secondary {
  display: flex;
  padding: 2rem 0;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-dark);
  transition: color 180ms ease, padding 180ms ease;
}

.download-main:hover,
.download-main:focus-visible,
.download-secondary:hover,
.download-secondary:focus-visible {
  padding-right: 1rem;
  color: var(--acid);
}

.download-main strong,
.download-secondary strong {
  display: block;
  margin-bottom: 0.55rem;
  font-family: "Monatendard", monospace;
  font-size: 1.2rem;
  font-weight: 500;
}

.download-main small,
.download-secondary small {
  color: #828283;
}

.download-arrow {
  font-size: 2.5rem;
}

.install-steps {
  display: grid;
  margin: 3.5rem 0 2rem;
  padding: 0;
  gap: 1rem;
  list-style: none;
}

.install-steps li {
  display: grid;
  color: #b4b4b0;
  font-size: 0.86rem;
  grid-template-columns: 3rem 1fr;
  line-height: 1.65;
}

.install-steps .step-number {
  color: var(--acid);
  font-family: "Monatendard", monospace;
}

.install-steps .step-copy {
  min-width: 0;
}

.install-steps code {
  white-space: nowrap;
}

.checksum {
  display: flex;
  margin: 0;
  padding-top: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  border-top: 1px solid var(--line-dark);
  color: #68686c;
  font-size: 0.7rem;
}

.checksum code {
  flex: 1 1 24rem;
  color: #929294;
  font-family: "Monatendard", monospace;
  overflow-wrap: anywhere;
}

.checksum a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

/* Footer Section */
.site-footer {
  display: grid;
  padding: 4rem var(--gutter) 2rem;
  border-top: 1px solid var(--line-dark);
  color: #8d8d8e;
  grid-template-columns: 1fr auto;
  gap: 3rem;
}

.site-footer strong {
  color: var(--paper);
  font-family: "Monatendard", monospace;
  font-size: 1.1rem;
}

.site-footer p {
  max-width: 32rem;
  font-size: 0.76rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  align-items: start;
  gap: 1.5rem;
  font-size: 0.72rem;
}

.footer-links a {
  position: relative;
}

.copyright {
  margin: 2rem 0 0;
  grid-column: 1 / -1;
}

/* Animations */
.hero-enter {
  opacity: 0;
  animation: hero-rise 800ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.hero-enter-1 { animation-delay: 100ms; }
.hero-enter-2 { animation-delay: 220ms; }
.hero-enter-3 { animation-delay: 380ms; }
.hero-enter-4 { animation-delay: 520ms; }

.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scroll-line {
  0% { transform: translateX(-120%); }
  65%, 100% { transform: translateX(210%); }
}

/* Responsive Media Queries */
@media (max-width: 980px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-specimen {
    align-self: auto;
  }

  .statement-layout,
  .alignment,
  .nerd-stage,
  .download {
    grid-template-columns: 1fr;
  }

  .statement-copy {
    margin-left: auto;
  }

  .download-copy,
  .download-panel {
    min-width: 0;
  }

  .tester-toolbar {
    padding: 1.25rem;
  }

  .alignment-copy > p:last-child {
    max-width: 40rem;
  }

  .cell-stage {
    width: min(100%, 48rem);
    margin-left: auto;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .fact {
    min-height: auto;
    border-right: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
    border-left: 1px solid var(--line-light);
  }

  .fact-value {
    margin-bottom: 4rem;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 4rem;
  }

  .brand-label {
    display: none;
  }

  /* Mobile Menu Toggle */
  .mobile-menu-toggle {
    display: flex;
    z-index: 52;
  }

  .site-nav {
    position: fixed;
    z-index: 51;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: var(--header-height) 2rem 2rem;
    background: rgba(10, 10, 11, 0.97);
    backdrop-filter: blur(24px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms ease, visibility 300ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--line-dark);
    font-size: 1.15rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 300ms ease, transform 300ms ease, color 180ms ease;
  }

  .site-nav.is-open a {
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav.is-open a:nth-child(1) { transition-delay: 80ms; }
  .site-nav.is-open a:nth-child(2) { transition-delay: 130ms; }
  .site-nav.is-open a:nth-child(3) { transition-delay: 180ms; }
  .site-nav.is-open a:nth-child(4) { transition-delay: 230ms; }
  .site-nav.is-open a:nth-child(5) { transition-delay: 280ms; }
  .site-nav.is-open a:nth-child(6) { transition-delay: 330ms; }

  .site-nav a:first-child {
    border-top: 1px solid var(--line-dark);
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    color: var(--acid);
  }

  .site-nav .nav-github {
    border: 0;
    border-bottom: 1px solid var(--line-dark);
    border-radius: 0;
    padding: 1.25rem 0;
    font-size: 1.15rem;
  }

  .site-nav .nav-download {
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    border-bottom: 0;
    border-radius: 6px;
    font-size: 1rem;
  }

  .hero {
    padding-top: calc(var(--header-height) + 4rem);
  }

  .hero-grid {
    mask-image: linear-gradient(180deg, black 0%, transparent 80%);
  }

  .hero-title {
    font-size: clamp(2.8rem, 12vw, 4.2rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.25rem;
  }

  .hero-specimen {
    transform: none;
    margin: 1rem calc(var(--gutter) * -1) 0;
  }

  .hero-code {
    font-size: 0.68rem;
    gap: 0.65rem;
  }

  .hero-glyphs {
    font-size: clamp(3.2rem, 18vw, 6rem);
  }

  .scroll-cue {
    display: none;
  }

  .statement-layout {
    gap: 3rem;
  }

  .sample-presets {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preset-label {
    grid-column: 1 / -1;
    margin-right: 0;
  }

  .preset-button {
    width: 100%;
  }

  .playground-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .playground h2,
  .setup-head h2,
  .alignment h2 {
    font-size: clamp(2.2rem, 10vw, 2.5rem);
    white-space: nowrap;
  }

  .download h2 {
    font-size: clamp(2rem, 8.5vw, 2.35rem);
    white-space: nowrap;
  }

  .setup-content {
    padding: 1rem;
  }

  .font-tester {
    min-height: 25rem;
    padding: 1.25rem;
    font-size: 18px;
    line-height: 1.7;
  }

  .tester-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
  }

  .cell-row-glyphs {
    font-size: clamp(3.5rem, 20vw, 7rem);
  }

  .ligature-line {
    font-size: clamp(2rem, 10vw, 4rem);
  }

  .nerd-copy h2 {
    font-size: clamp(2.4rem, 11vw, 3.4rem);
  }

  .terminal-prompt {
    font-size: 0.78rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  .copyright {
    grid-column: auto;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-enter,
  .reveal {
    opacity: 1;
    transform: none;
  }
}
