@font-face {
  font-family: "Hada Sans";
  src: url("/static/fonts/hada-sans/woff2/HadaSans-Thin.woff2?v=1fccc592") format("woff2");
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "Hada Sans";
  src: url("/static/fonts/hada-sans/woff2/HadaSans-ExtraLight.woff2?v=1fccc592") format("woff2");
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "Hada Sans";
  src: url("/static/fonts/hada-sans/woff2/HadaSans-Light.woff2?v=1fccc592") format("woff2");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Hada Sans";
  src: url("/static/fonts/hada-sans/woff2/HadaSans-Regular.woff2?v=1fccc592") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Hada Sans";
  src: url("/static/fonts/hada-sans/woff2/HadaSans-Medium.woff2?v=1fccc592") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Hada Sans";
  src: url("/static/fonts/hada-sans/woff2/HadaSans-SemiBold.woff2?v=1fccc592") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Hada Sans";
  src: url("/static/fonts/hada-sans/woff2/HadaSans-Bold.woff2?v=1fccc592") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Hada Sans";
  src: url("/static/fonts/hada-sans/woff2/HadaSans-ExtraBold.woff2?v=1fccc592") format("woff2");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Hada Sans";
  src: url("/static/fonts/hada-sans/woff2/HadaSans-Black.woff2?v=1fccc592") format("woff2");
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Hada Mono";
  src: url("/static/fonts/hada-mono/woff2/HadaMono-Regular.woff2?v=bfa3deec") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Hada Mono";
  src: url("/static/fonts/hada-mono/woff2/HadaMono-Bold.woff2?v=bfa3deec") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Hada Round";
  src: url("/static/fonts/hada-round/woff2/HadaRound-Light.woff2?v=051d33bb") format("woff2");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Hada Round";
  src: url("/static/fonts/hada-round/woff2/HadaRound-Regular.woff2?v=051d33bb") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Hada Round";
  src: url("/static/fonts/hada-round/woff2/HadaRound-Medium.woff2?v=051d33bb") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Hada Round";
  src: url("/static/fonts/hada-round/woff2/HadaRound-Bold.woff2?v=051d33bb") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Hada Round";
  src: url("/static/fonts/hada-round/woff2/HadaRound-Black.woff2?v=051d33bb") format("woff2");
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Hada Condensed";
  src: url("/static/fonts/hada-condensed/woff2/HadaCondensed-Light.woff2?v=d5347f74") format("woff2");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Hada Condensed";
  src: url("/static/fonts/hada-condensed/woff2/HadaCondensed-Regular.woff2?v=d5347f74") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Hada Condensed";
  src: url("/static/fonts/hada-condensed/woff2/HadaCondensed-Medium.woff2?v=d5347f74") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Hada Condensed";
  src: url("/static/fonts/hada-condensed/woff2/HadaCondensed-Bold.woff2?v=d5347f74") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Hada Condensed";
  src: url("/static/fonts/hada-condensed/woff2/HadaCondensed-ExtraBold.woff2?v=d5347f74") format("woff2");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Hada Batang";
  src: url("/static/fonts/hada-batang/woff2/HadaBatang%5BWeight%5D.woff2?v=95cb09f3") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Dancing Peoples";
  src: url("/static/fonts/dancing-peoples/woff2/DancingPeoples%5BDance%5D.woff2?v=df104f0b") format("woff2");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Dancing Peoples Mono";
  src: url("/static/fonts/dancing-peoples-mono/woff2/DancingPeoplesMono%5BDance%5D.woff2?v=1a9f78e2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "LevelUp";
  src: url("/static/fonts/levelup/woff2/LevelUp-Regular.woff2?v=d0943695") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LevelUp";
  src: url("/static/fonts/levelup/woff2/LevelUp-Italic.woff2?v=d0943695") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "LevelUp";
  src: url("/static/fonts/levelup/woff2/LevelUp-SemiBold.woff2?v=d0943695") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LevelUp";
  src: url("/static/fonts/levelup/woff2/LevelUp-SemiBoldItalic.woff2?v=d0943695") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "LevelUp";
  src: url("/static/fonts/levelup/woff2/LevelUp-Bold.woff2?v=d0943695") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LevelUp";
  src: url("/static/fonts/levelup/woff2/LevelUp-BoldItalic.woff2?v=d0943695") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* First-page subsets. Each file carries only the characters the home page
   prints, so the landing view loads a few tens of kilobytes instead of the
   full Hangul families. A character the subset lacks falls through to the
   complete family on the next line of every stack below. */
@font-face {
  font-family: "Hada Sans Home";
  src: url("/static/fonts/home/woff2/HadaSansHome-Regular.woff2?v=8b7a395f") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Hada Sans Home";
  src: url("/static/fonts/home/woff2/HadaSansHome-Bold.woff2?v=8b7a395f") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Hada Mono Home";
  src: url("/static/fonts/home/woff2/HadaMonoHome-Regular.woff2?v=8b7a395f") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Hada Round Home";
  src: url("/static/fonts/home/woff2/HadaRoundHome-Medium.woff2?v=8b7a395f") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Hada Condensed Home";
  src: url("/static/fonts/home/woff2/HadaCondensedHome-Bold.woff2?v=8b7a395f") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Hada Batang Home";
  src: url("/static/fonts/home/woff2/HadaBatangHome[Weight].woff2?v=8b7a395f") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Dancing Peoples Home";
  src: url("/static/fonts/home/woff2/DancingPeoplesHome[Dance].woff2?v=8b7a395f") format("woff2");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Dancing Peoples Mono Home";
  src: url("/static/fonts/home/woff2/DancingPeoplesMonoHome[Dance].woff2?v=8b7a395f") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "LevelUp Home";
  src: url("/static/fonts/home/woff2/LevelUpHome-Bold.woff2?v=8b7a395f") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ui-font: "Hada Sans", system-ui, sans-serif;
  --ink: var(--podo-text-basic, #15140f);
  --paper: var(--podo-elevation-basic, #f7f1df);
  --paper-deep: #ece0c6;
  --soft: rgba(255, 255, 255, 0.52);
  --acid: var(--podo-color-coral-500, #ff5b36);
  --lime: var(--podo-color-lime-300, #d6ed56);
  --blue: #5f8fe8;
  --pink: #f0a3bd;
  --amber: #efc14e;
  --green: #7fb069;
  /* LevelUp: the partner app's night-blue ground with a cyan signal. */
  --navy: #0f1426;
  --cyan: #3fe0f0;
  --line: rgba(23, 23, 17, 0.2);
  --line-strong: rgba(23, 23, 17, 0.72);
  --radius-pill: var(--podo-radius-control-full, 999px);
  --shadow-panel: 0 24px 70px rgba(21, 20, 15, 0.13);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 12%, color-mix(in srgb, var(--lime) 28%, transparent) 0 18vw, transparent 26vw),
    radial-gradient(circle at 88% 18%, color-mix(in srgb, var(--acid) 22%, transparent) 0 16vw, transparent 24vw),
    linear-gradient(90deg, transparent calc(100% - 1px), var(--line) 1px) 0 0 / 25% 100%,
    linear-gradient(0deg, transparent calc(100% - 1px), rgba(23, 23, 17, 0.08) 1px) 0 0 / 100% 96px,
    var(--paper);
  font-family: var(--ui-font);
  font-variant-numeric: tabular-nums;
}

a { color: inherit; }
button, input { font: inherit; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
[contenteditable]:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.topbar,
.footer,
.nav,
.brand,
.eyebrow,
.hero-meta,
.hero-copy,
.section-title,
.button,
.formats,
.tester-toolbar,
.glyph-toolbar,
.glyph-meta,
.glyph-pager,
.size-label,
.dance-input,
.dance-controls,
.font-copy--hada,
.font-copy--batang,
.font-copy--dancing,
.font-copy--dancing-mono,
.font-copy--mono,
.font-copy--round,
.font-copy--condensed,
.font-copy--levelup,
.webfont-info,
.bundle-strip,
.breadcrumb,
.facts-grid {
  font-family: var(--ui-font);
  font-variation-settings: normal;
}

.font-main--hada,
.font-sample--hada,
.font-card--hada {
  font-family: var(--ui-font);
}

.font-sample--batang,
.font-card--batang {
  font-family: "Hada Batang", "Hada Sans", serif;
  font-weight: 400;
}

.font-main--round,
.font-sample--round,
.font-card--round {
  font-family: "Hada Round", var(--ui-font);
}

.font-main--condensed,
.font-sample--condensed,
.font-card--condensed {
  font-family: "Hada Condensed", var(--ui-font);
}

.font-main--levelup,
.font-sample--levelup,
.font-card--levelup {
  font-family: "LevelUp", var(--ui-font);
}

.font-main--mono,
.font-sample--mono,
.font-card--mono {
  font-family: "Hada Mono", ui-monospace, SFMono-Regular, monospace;
}

.font-sample--dancing,
.font-card--dancing {
  font-family: "Dancing Peoples", "Hada Sans", sans-serif;
  font-weight: 800;
  font-variation-settings: "DANC" 50;
}

.font-sample--dancing-mono,
.font-card--dancing-mono {
  font-family: "Dancing Peoples Mono", ui-monospace, SFMono-Regular, monospace;
  font-weight: 700;
  font-variation-settings: "DANC" 50;
}

.shell { width: min(1440px, 100%); margin: 0 auto; padding: 0 32px; }

/* The landing view prefers the subsets; anything they do not carry falls
   through to the complete family. */
body.home {
  --ui-font: "Hada Sans Home", "Hada Sans", system-ui, sans-serif;
}
body.home .font-card--mono { font-family: "Hada Mono Home", "Hada Mono", ui-monospace, monospace; }
body.home .font-card--round { font-family: "Hada Round Home", "Hada Round", var(--ui-font); }
body.home .font-card--condensed { font-family: "Hada Condensed Home", "Hada Condensed", var(--ui-font); }
body.home .font-card--batang { font-family: "Hada Batang Home", "Hada Batang", serif; }
body.home .font-card--dancing { font-family: "Dancing Peoples Home", "Dancing Peoples", var(--ui-font); }
body.home .font-card--levelup { font-family: "LevelUp Home", "LevelUp", var(--ui-font); }
body.home .font-card--dancing-mono { font-family: "Dancing Peoples Mono Home", "Dancing Peoples Mono", ui-monospace, monospace; }

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

/* An odd number of families would otherwise leave the grid's own background
   showing as an empty cell, so the last card takes the whole row. */
.home-list > .home-item:last-child:nth-child(odd) { grid-column: 1 / -1; }

.home-item {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  background: var(--paper);
  color: inherit;
  text-decoration: none;
  transition: background .18s ease;
}
.home-item:hover { background: #fff; }
.home-item--hada { background: color-mix(in srgb, var(--lime) 34%, var(--paper)); }
.home-item--mono { background: color-mix(in srgb, var(--blue) 26%, var(--paper)); }
.home-item--round { background: color-mix(in srgb, var(--pink) 34%, var(--paper)); }
.home-item--condensed { background: color-mix(in srgb, var(--amber) 34%, var(--paper)); }
.home-item--batang { background: color-mix(in srgb, var(--green) 30%, var(--paper)); }
.home-item--dancing { background: color-mix(in srgb, var(--acid) 26%, var(--paper)); }
/* The two Dance families read as a pair: same hue, one deeper. */
.home-item--dancing-mono { background: color-mix(in srgb, var(--acid) 44%, var(--paper-deep)); }
.home-item--levelup { background: var(--navy); color: var(--paper); }
.home-item--levelup:hover { background: color-mix(in srgb, var(--navy) 84%, var(--cyan)); }
.home-item--levelup .home-preview { color: var(--cyan); font-weight: 700; }
.home-item--levelup:focus-visible { outline-color: var(--cyan); }

.home-preview {
  margin: 8px 0 0;
  font-size: clamp(30px, 3.6vw, 54px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  word-break: keep-all;
}
.home-item--condensed .home-preview { font-weight: 700; }
.home-item--round .home-preview { font-weight: 500; }
.home-item--dancing .home-preview { font-weight: 800; letter-spacing: 0; }
.home-item--dancing-mono .home-preview { font-weight: 700; letter-spacing: 0; }
.home-item--dancing .home-preview span,
.home-item--dancing-mono .home-preview span { display: inline-block; font-variation-settings: "DANC" var(--dance, 50); }

.home-item h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.home-item h2 span { font-weight: 400; opacity: .55; }
.home-desc { margin: 0; font-size: 15px; line-height: 1.6; opacity: .82; }
.home-item strong { margin-top: auto; font-size: 14px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  border-bottom: 1px solid var(--ink);
}

.brand, .nav a { text-decoration: none; }
.brand { flex: none; font-weight: 700; letter-spacing: -0.02em; }
.nav { min-width: 0; display: flex; gap: 24px; overflow-x: auto; white-space: nowrap; font-size: 14px; }
.nav a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover { border-bottom-color: currentColor; }

.eyebrow {
  display: inline-flex;
  padding: 7px 12px 6px;
  border: 1px solid;
  border-radius: var(--radius-pill);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 72px);
  display: grid;
  align-content: space-between;
  row-gap: clamp(28px, 4vh, 56px);
  padding-top: 44px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
}

.hero::after {
  content: "Aa 123\\A 가나다";
  white-space: pre;
  position: absolute;
  right: clamp(20px, 5vw, 80px);
  top: clamp(90px, 13vw, 170px);
  z-index: 0;
  color: rgba(21, 20, 15, 0.07);
  font-size: clamp(90px, 18vw, 260px);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.08em;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.font-main--dancing-mono .hero::after,
.font-main--dancing .hero::after {
  content: "춤\A 춤";
  font-family: "Dancing Peoples", "Hada Sans", sans-serif;
  font-variation-settings: "DANC" 78;
  top: clamp(132px, 15vw, 210px);
  font-size: clamp(80px, 16vw, 230px);
  line-height: 0.9;
}

.font-main--batang .hero::after {
  content: "가\\A Aa";
  font-family: "Hada Batang", "Hada Sans", serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero h1 {
  position: relative;
  max-width: 100%;
  margin: 0;
  font-size: clamp(80px, 16vw, 236px);
  line-height: 0.9;
  letter-spacing: -0.075em;
  font-weight: 700;
}

.font-main--batang .hero h1 {
  font-family: "Hada Batang", "Hada Sans", serif;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.018em;
}

.font-main--mono .hero h1 {
  font-family: "Hada Mono", ui-monospace, monospace;
  font-size: clamp(46px, 10vw, 150px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.font-main--round .hero h1 {
  font-family: "Hada Round", "Hada Sans", sans-serif;
  font-weight: 700;
  line-height: .94;
  letter-spacing: -0.055em;
}

.font-main--condensed .hero h1 {
  font-family: "Hada Condensed", "Hada Sans", sans-serif;
  font-size: clamp(88px, 18vw, 260px);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -0.035em;
}

.font-main--levelup .hero::after {
  content: "업\A Up";
  font-family: "LevelUp", "Hada Sans", sans-serif;
  font-weight: 700;
  font-style: italic;
  color: color-mix(in srgb, var(--navy) 9%, transparent);
}

.font-main--levelup .hero h1 {
  font-family: "LevelUp", "Hada Sans", sans-serif;
  font-weight: 700;
  font-style: italic;
  color: var(--navy);
  line-height: .92;
  letter-spacing: -0.04em;
}

.hero-text { display: grid; gap: 18px; min-width: 0; }
.hero-copy .hero-collab {
  padding: 14px 16px;
  border-left: 4px solid var(--cyan);
  background: var(--navy);
  color: var(--paper);
  font-size: 15px;
  line-height: 1.5;
}
.hero-collab a { color: var(--cyan); text-underline-offset: .16em; }
.hero-collab a:focus-visible { outline-color: var(--cyan); }

.font-main--dancing .hero h1 {
  font-family: "Dancing Peoples", "Hada Sans", sans-serif;
  font-weight: 800;
  font-variation-settings: "DANC" 62;
  max-width: min(1040px, 100%);
  padding-block: 0.08em 0.12em;
  line-height: 1.16;
  letter-spacing: 0;
}

.font-main--dancing-mono .hero::after {
  font-family: "Dancing Peoples Mono", ui-monospace, monospace;
}

.font-main--dancing-mono .hero h1 {
  font-family: "Dancing Peoples Mono", ui-monospace, monospace;
  font-weight: 700;
  font-variation-settings: "DANC" 62;
  max-width: min(1040px, 100%);
  padding-block: 0.08em 0.12em;
  line-height: 1.16;
  letter-spacing: 0;
}

.dance-title span {
  display: inline-block;
  font-variation-settings: "DANC" var(--dance, 62);
  line-height: 0.96;
}

.dance-title br { display: block; }

/* The Korean family name sits above the display lockup inside the h1, set in
   the same family at reading size so the lockup keeps its shape. */
.hero h1 .hero-name {
  display: block;
  margin-bottom: .55em;
  font-size: clamp(20px, 2.4vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  word-break: keep-all;
}
.hero h1 .dance-title { display: block; }

.hero-copy {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 40px;
  align-items: end;
}
.hero-copy > *,
.section-title > * {
  min-width: 0;
}

.hero-copy p { margin: 0; font-size: clamp(18px, 2vw, 28px); line-height: 1.28; }
.hero-copy p,
.section-title p,
.bundle-strip p,
.webfont-info p {
  font-weight: 400;
  word-break: normal;
  overflow-wrap: anywhere;
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-strong);
  font-size: 13px;
}

.section { padding-top: 96px; padding-bottom: 96px; border-bottom: 1px solid var(--ink); }
.section-title { display: flex; justify-content: space-between; align-items: start; gap: 24px; margin-bottom: 56px; }
.section-title h2 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(42px, 7vw, 96px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.section-title p { max-width: 350px; margin: 0; line-height: 1.5; }

/* Section headings on a family page are set in that page's own family. */
.font-main--hada { --family-font: var(--ui-font); }
.font-main--batang { --family-font: "Hada Batang", "Hada Sans", serif; }
.font-main--round { --family-font: "Hada Round", var(--ui-font); }
.font-main--condensed { --family-font: "Hada Condensed", var(--ui-font); }
.font-main--levelup { --family-font: "LevelUp", var(--ui-font); }
.font-main--mono { --family-font: "Hada Mono", ui-monospace, SFMono-Regular, monospace; }
.font-main--dancing { --family-font: "Dancing Peoples", "Hada Sans", sans-serif; }
.font-main--dancing-mono { --family-font: "Dancing Peoples Mono", ui-monospace, SFMono-Regular, monospace; }
.font-main .section-title h2 { font-family: var(--family-font, var(--ui-font)); }

.home-about .section-title,
.at-a-glance .section-title { margin-bottom: 40px; }
.home-about .section-title h2,
.at-a-glance .section-title h2 { font-size: clamp(42px, 6vw, 84px); }
.breadcrumb { margin-bottom: 40px; font-size: 13px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .45; }
.breadcrumb [aria-current="page"] { opacity: .68; }
.facts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border: 1px solid var(--ink); background: var(--soft); }
.facts-grid > div { min-width: 0; padding: 22px 24px; }
.facts-grid > div:nth-child(even) { border-left: 1px solid var(--ink); }
.facts-grid > div:nth-child(n + 3) { border-top: 1px solid var(--ink); }
.facts-grid dt { margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.facts-grid dd { margin: 0; line-height: 1.55; overflow-wrap: anywhere; }

.not-found h1 { max-width: 1050px; font-size: clamp(64px, 12vw, 172px); line-height: .96; }
.not-found .hero-copy a { text-underline-offset: .16em; }

.tester {
  border: 1px solid var(--ink);
  background: var(--soft);
  box-shadow: var(--shadow-panel);
}
.tester-toolbar {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid;
  background: color-mix(in srgb, var(--paper) 72%, white);
}
.tester-toolbar label { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.tester-toolbar input[type="range"] { width: min(220px, 28vw); accent-color: var(--acid); }
.tester-toolbar span {
  min-width: 48px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.tester-text {
  min-height: 300px;
  padding: 28px;
  outline: 0;
  background:
    linear-gradient(0deg, transparent calc(100% - 1px), rgba(21, 20, 15, 0.1) 1px) 0 28px / 100% 1.05em;
  font-size: clamp(58px, 9vw, 136px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}
.tester-text:focus { background: #fff; }
.tester-text.font-sample--mono {
  font-size: clamp(24px, 4vw, 56px);
  letter-spacing: 0;
}

.tester-style { display: flex; gap: 6px; }
.tester-style .button { min-height: 34px; padding: 0 14px; font-size: 13px; }
.tester-text.font-sample--levelup { letter-spacing: -0.025em; }

.tester-text.font-sample--batang {
  line-height: 1.16;
  letter-spacing: -0.012em;
}
.tester-text.font-sample--dancing {
  padding-top: 40px;
  padding-bottom: 40px;
  line-height: 1.2;
  letter-spacing: 0;
}

.download-stack { display: grid; gap: 20px; }
.bundle-strip {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  padding: 22px 24px;
  border: 1px solid var(--ink);
  background: color-mix(in srgb, var(--lime) 30%, var(--soft));
}
.bundle-strip span,
.webfont-info > span {
  display: block;
  margin-bottom: 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.bundle-strip strong {
  display: block;
  font-size: clamp(36px, 5vw, 72px);
  line-height: .95;
  letter-spacing: -0.055em;
}
.bundle-strip p { max-width: 520px; margin: 14px 0 0; line-height: 1.45; }

.weight-list { border-top: 1px solid var(--ink); }
.weight-row { display: grid; grid-template-columns: 140px 1fr auto; gap: 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--ink); }
.weight-row .sample { font-size: clamp(34px, 5vw, 72px); line-height: 1; letter-spacing: -0.045em; }
.formats { display: flex; gap: 8px; }
.formats a, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-pill);
  background: transparent;
  text-decoration: none;
  cursor: pointer;
}
.formats a:hover, .button:hover, .button.active { background: var(--ink); color: var(--paper); }

.metric-board { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid; background: var(--soft); }
.metric { min-height: 240px; padding: 24px; transition: background .18s ease; }
.metric + .metric { border-left: 1px solid; }
.metric strong { display: block; margin-top: 44px; font-size: clamp(42px, 6vw, 82px); line-height: .95; letter-spacing: -0.05em; }
.metric p { max-width: 330px; margin: 28px 0 0; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.metric a { text-decoration: none; }
.metric:hover { background: color-mix(in srgb, var(--lime) 34%, transparent); }

.webfont-panel {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  border: 1px solid var(--ink);
  background: var(--soft);
}
.webfont-info {
  min-width: 0;
  padding: 24px;
}
.webfont-info h3 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}
.webfont-info p { margin: 24px 0 0; line-height: 1.55; }
.webfont-info code { font: .9em ui-monospace, SFMono-Regular, Menlo, monospace; }
.webfont-info dl { margin: 34px 0 0; border-top: 1px solid var(--line-strong); }
.webfont-info dl div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.webfont-info dt { font-size: 12px; text-transform: uppercase; }
.webfont-info dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.code-sample {
  min-width: 0;
  margin: 0;
  padding: 24px;
  overflow: auto;
  border-left: 1px solid var(--ink);
  background: color-mix(in srgb, var(--ink) 94%, var(--blue));
  color: var(--paper);
  font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre;
}
.code-sample code { font: inherit; }

.size-specimens { border-top: 1px solid var(--ink); }
.size-specimen { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--ink); }
.size-label { padding-top: 4px; font-size: 12px; font-variant-numeric: tabular-nums; }
.size-specimen > div { min-width: 0; overflow: hidden; }
.size-specimen p { margin: 0; font-size: var(--sample-size); line-height: 1.18; white-space: nowrap; letter-spacing: -0.025em; }
.size-specimen p + p { margin-top: .2em; }
.size-specimens.font-sample--batang p {
  line-height: 1.32;
  letter-spacing: -0.008em;
}
.size-specimens.font-sample--dancing p {
  line-height: 1.28;
  letter-spacing: 0;
}
.lyric-specimens { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 64px; border: 1px solid var(--ink); }
.lyric-card { min-width: 0; padding: 24px; overflow: hidden; }
.lyric-card + .lyric-card { border-left: 1px solid var(--ink); }
.lyric-card:nth-child(1) { font-weight: 300; background: var(--lime); }
.lyric-card:nth-child(2) { font-weight: 700; background: var(--acid); }
.lyric-card header { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 52px; font-size: 12px; }
.lyric-card p { margin: .36em 0 0; line-height: 1.1; letter-spacing: -0.045em; white-space: nowrap; }

.glyph-browser { border: 1px solid var(--ink); background: var(--soft); box-shadow: var(--shadow-panel); }
.glyph-toolbar { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px; border-bottom: 1px solid var(--ink); }
.glyph-weight { display: flex; align-items: center; gap: 9px; margin-left: auto; padding: 0 4px 0 12px; font-size: 12px; }
.glyph-weight input { width: min(180px, 22vw); accent-color: var(--acid); }
.glyph-weight output { min-width: 46px; font-variant-numeric: tabular-nums; text-align: right; }
.glyph-meta { display: flex; justify-content: space-between; gap: 20px; padding: 18px 20px; border-bottom: 1px solid var(--ink); font-size: 13px; }
.glyph-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.glyph-cell { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: clamp(25px, 3vw, 44px); transition: background .12s ease, color .12s ease; }
.glyph-cell small { position: absolute; top: 5px; left: 6px; color: color-mix(in srgb, var(--ink) 55%, transparent); font: 8px ui-monospace, monospace; }
.glyph-cell:hover { background: var(--ink); color: var(--paper); }
.glyph-cell:hover small { color: color-mix(in srgb, var(--paper) 65%, transparent); }
.glyph-pager { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 18px; }
.glyph-pager span { min-width: 76px; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.glyph-pager button:disabled { opacity: .32; cursor: default; }
.dance-glyph-browser .glyph-grid { font-family: "Dancing Peoples", "Hada Sans", sans-serif; font-weight: 800; font-variation-settings: "DANC" 50; }
.dancing-mono-glyph-browser .glyph-grid { font-family: "Dancing Peoples Mono", ui-monospace, monospace; font-weight: 700; }
.batang-glyph-browser .glyph-grid { font-family: "Hada Batang", "Hada Sans", serif; font-weight: 400; }

.batang-weight-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--ink);
  background: var(--soft);
}
.batang-weight-board article {
  min-width: 0;
  min-height: 340px;
  display: grid;
  align-content: space-between;
  padding: 24px;
  overflow: hidden;
}
.batang-weight-board article + article { border-left: 1px solid var(--ink); }
.batang-weight-board span {
  font: 13px var(--ui-font);
  text-transform: uppercase;
}
.batang-weight-board p {
  margin: 42px 0 0;
  font-family: "Hada Batang", "Hada Sans", serif;
  font-size: clamp(42px, 7vw, 96px);
  line-height: 1.18;
  letter-spacing: -0.012em;
}

.style-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--ink);
  background: var(--ink);
}
.style-board article {
  min-width: 0;
  padding: 24px;
  overflow: hidden;
  background: var(--paper);
}
.style-board article:nth-child(even) { background: color-mix(in srgb, var(--cyan) 14%, var(--paper)); }
.style-board span {
  font: 13px var(--ui-font);
  font-style: normal;
  text-transform: uppercase;
}
.style-board p {
  margin: 28px 0 0;
  font-size: clamp(30px, 4.4vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.figure-board p { font-size: clamp(30px, 3.6vw, 52px); }
.figure-code .code-sample { border: 1px solid var(--ink); border-top: 0; padding-right: 64px; }

.license-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--ink);
  background: var(--soft);
}
.license-board article { min-width: 0; padding: 24px; }
.license-board article + article {
  border-left: 1px solid var(--ink);
  background: color-mix(in srgb, var(--cyan) 12%, var(--paper));
}
.license-board span {
  display: block;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.license-board h3 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  word-break: keep-all;
}
.license-board p { margin: 18px 0 0; line-height: 1.6; overflow-wrap: anywhere; }
.license-board a { text-underline-offset: .16em; }

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--ink);
  background: var(--ink);
  font-family: var(--ui-font);
  font-style: normal;
  font-variation-settings: normal;
}
.faq-item { min-width: 0; padding: 24px; background: var(--paper); }
.faq-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.faq-item h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  word-break: keep-all;
}
.faq-item p { margin: 14px 0 0; line-height: 1.6; overflow-wrap: anywhere; }
.faq-item a { text-underline-offset: .16em; }
.faq-item .code-block { margin-top: 16px; }
.faq-item .code-sample { border: 1px solid var(--ink); border-radius: 12px; padding-right: 52px; }

.dance-stage {
  min-height: 70svh;
  display: grid;
  place-items: center;
  padding: 80px 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 91, 54, 0.32), transparent 34vw),
    linear-gradient(90deg, rgba(247, 241, 223, 0.08) 1px, transparent 1px) 0 0 / 10vw 100%,
    var(--ink);
  color: var(--paper);
}
.dance-title { letter-spacing: 0; overflow: visible; }
.dance-line { display: flex; justify-content: center; align-items: center; white-space: nowrap; font-family: "Dancing Peoples"; font-weight: 800; font-size: clamp(54px, 10vw, 150px); line-height: 1.12; letter-spacing: 0; }
.dance-line span { display: inline-block; font-variation-settings: "DANC" var(--dance, 0); }
/* Dancing Peoples Mono keeps every advance on the cell at every axis value, so
   a stack of dancing rows stays column-aligned while it moves. */
.dance-line--mono { font-family: "Dancing Peoples Mono", ui-monospace, monospace; font-weight: 700; }
.dance-table { display: grid; gap: 6px; justify-items: center; padding: 40px 0; }
.dance-line--table { font-family: "Dancing Peoples Mono", ui-monospace, monospace; font-weight: 700; font-size: clamp(13px, 2.2vw, 30px); line-height: 1.5; }
.dance-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.dance-controls .button { border-color: currentColor; color: inherit; }
.dance-controls .button:hover, .dance-controls .button.active { background: var(--paper); color: var(--ink); }
.dance-input {
  width: min(520px, calc(100vw - 64px));
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: var(--radius-pill);
  background: transparent;
  color: inherit;
  outline: 0;
}
.dance-input:focus { background: var(--paper); color: var(--ink); }

.axis-diagram { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ink); border: 1px solid; }
.axis-state { min-height: 430px; display: grid; place-items: center; background: var(--paper); font-family: "Dancing Peoples"; font-weight: 800; font-size: clamp(72px, 12vw, 170px); }
.axis-diagram--mono .axis-state { font-family: "Dancing Peoples Mono", ui-monospace, monospace; font-weight: 700; }
.axis-state small { align-self: end; justify-self: start; padding: 16px; font: 13px var(--ui-font); }

.footer { display: flex; justify-content: space-between; padding-top: 28px; padding-bottom: 72px; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-links a { text-decoration: underline; text-underline-offset: 3px; }
.footer-links a:focus-visible, .guide-card:focus-visible, .home-guide-list a:focus-visible { outline: 3px solid var(--acid); outline-offset: 3px; }

/* Reading pages use the same ink, grid, and Hada Sans as the specimens. */
.article-main { padding-top: 46px; padding-bottom: 120px; }
.article-main .breadcrumb { margin-bottom: 55px; }
.article-hero { max-width: 920px; padding-bottom: 56px; border-bottom: 1px solid var(--ink); }
.article-hero h1 { max-width: 850px; margin: 20px 0 28px; font-size: clamp(48px, 8vw, 112px); line-height: 1.07; letter-spacing: -.045em; word-break: keep-all; }
.article-lead { max-width: 660px; margin: 0; font-size: clamp(19px, 2.4vw, 28px); line-height: 1.55; word-break: keep-all; }
.article-meta { display: flex; gap: 22px; margin: 34px 0 0; font-size: 13px; opacity: .7; }
.article { max-width: 740px; margin: 68px auto 90px; font-size: 18px; line-height: 1.85; overflow-wrap: anywhere; }
.article h2 { margin: 72px 0 22px; padding-top: 20px; border-top: 1px solid var(--line-strong); font-size: clamp(30px, 4vw, 45px); line-height: 1.28; letter-spacing: -.025em; word-break: keep-all; }
.article h3 { margin: 38px 0 12px; font-size: 24px; line-height: 1.4; }
.article p { margin: 0 0 24px; }
.article ul, .article ol { margin: 0 0 30px; padding-left: 1.35em; }
.article li { margin: 0 0 12px; padding-left: .2em; }
.article a, .hub-intro a, .hub-end a { text-decoration: underline; text-underline-offset: 3px; }
.article table { display: block; width: 100%; margin: 32px 0; border-collapse: collapse; overflow-x: auto; font-size: 15px; line-height: 1.6; }
.article th, .article td { min-width: 150px; padding: 14px 18px; border: 1px solid var(--line-strong); text-align: left; vertical-align: top; }
.article th { background: var(--paper-deep); }
.article pre { max-width: 100%; padding: 22px; background: var(--ink); color: var(--paper); overflow-x: auto; font: 15px/1.7 "Hada Mono", ui-monospace, monospace; }
.article code { font-family: "Hada Mono", ui-monospace, monospace; font-size: .9em; }
.article blockquote { margin: 28px 0; padding: 12px 24px; border-left: 4px solid var(--acid); }
.article figure { margin: 34px 0; }
.article figure img { max-width: 100%; height: auto; }
.article figcaption { margin-top: 8px; font-size: 13px; }
.note-box { margin: 32px 0; padding: 24px 28px; border: 1px solid var(--ink); background: var(--lime); }
.note-box p:last-child { margin-bottom: 0; }
.related { max-width: 740px; margin: 80px auto 0; padding-top: 24px; border-top: 1px solid var(--ink); }
.related h2 { margin: 0 0 18px; font-size: 24px; }
.related ul { list-style: none; margin: 0; padding: 0; }
.related li { margin: 12px 0; }
.ad-slot { max-width: 740px; min-height: 240px; margin: 70px auto; border-top: 1px solid var(--line); text-align: center; }
.ad-slot > span { display: block; padding: 10px; font-size: 12px; }
.hub-intro { max-width: 740px; margin: 56px auto 90px; font-size: 18px; line-height: 1.8; }
.hub-intro p { margin: 0 0 22px; }
.guide-group { padding: 48px 0; border-top: 1px solid var(--ink); }
.guide-group-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 28px; align-items: start; margin-bottom: 28px; }
.guide-group-heading h2 { margin: 0; font-size: clamp(36px, 5vw, 68px); }
.guide-group-heading p { max-width: 690px; margin: 0; font-size: 17px; line-height: 1.7; }
.guide-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--ink); border: 1px solid var(--ink); }
.guide-card { min-width: 0; min-height: 260px; padding: 26px; background: var(--paper); color: var(--ink); text-decoration: none; }
.guide-card:hover { background: var(--lime); }
.guide-card h3 { margin: 22px 0 12px; font-size: clamp(25px, 2.8vw, 35px); line-height: 1.25; }
.guide-card p { margin: 0 0 22px; line-height: 1.6; }
.guide-card time { font-size: 12px; opacity: .7; }
.hub-end { margin-top: 64px; font-size: 17px; line-height: 1.7; }
.home-guide-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.home-guide-list a { display: grid; gap: 8px; padding: 20px 14px; border-bottom: 1px solid var(--ink); color: inherit; text-decoration: none; }
.home-guide-list a:hover { background: var(--lime); }
.home-guide-list strong { font-size: 20px; }
.home-guide-list span { line-height: 1.5; }
.home-guides > p { margin-top: 28px; }

@media (max-width: 760px) {
  .article-main { padding-top: 28px; padding-bottom: 72px; }
  .article-main .breadcrumb { margin-bottom: 32px; }
  .article-hero { padding-bottom: 36px; }
  .article-hero h1 { font-size: clamp(42px, 12vw, 66px); }
  .article { margin: 42px auto 60px; font-size: 16px; line-height: 1.8; }
  .article h2 { margin-top: 50px; }
  .guide-group-heading, .guide-list, .home-guide-list { grid-template-columns: 1fr; }
  .guide-card { min-height: 0; }
  .footer-links { gap: 12px 18px; }
  .home-list { grid-template-columns: minmax(0, 1fr); }
  .home-item { padding: 22px; }
  body { background-size: 50% 100%; }
  .shell { width: 100vw; max-width: 100vw; padding-left: 18px; padding-right: 18px; overflow: hidden; }
  .brand { font-size: 15px; }
  .nav { gap: 8px; font-size: 11px; }
  .hero { min-height: 82svh; row-gap: 24px; padding-top: 44px; }
  .hero::after { top: 132px; right: -22px; font-size: clamp(74px, 30vw, 118px); line-height: .9; }
  .font-main--dancing .hero::after,
  .font-main--dancing-mono .hero::after { top: 170px; right: -30px; font-size: clamp(72px, 29vw, 112px); }
  .hero h1 { max-width: calc(100vw - 36px); font-size: clamp(68px, 24vw, 142px); line-height: .98; letter-spacing: -0.055em; }
  .font-main--batang .hero h1 { font-size: clamp(58px, 17vw, 102px); line-height: 1.08; letter-spacing: -0.012em; }
  .font-main--dancing .hero h1,
  .font-main--dancing-mono .hero h1 { font-size: clamp(56px, 18vw, 104px); line-height: 1.2; padding-block: .1em .16em; }
  .dance-title span { line-height: 1; }
  .hero-copy, .home-list, .metric-board, .webfont-panel, .axis-diagram, .batang-weight-board, .lyric-specimens, .style-board, .license-board { grid-template-columns: 1fr; }
  .license-board article + article { border-left: 0; border-top: 1px solid var(--ink); }
  .faq-list { grid-template-columns: minmax(0, 1fr); }
  .faq-item { padding: 20px; }
  .hero h1 .hero-name { max-width: calc(100vw - 36px); font-size: 20px; letter-spacing: -0.01em; }
  .style-board p { white-space: normal; }
  .hero-copy .hero-collab { max-width: none; font-size: 15px; }
  .hero-copy { gap: 30px; }
  .metric + .metric, .batang-weight-board article + article { border-left: 0; border-top: 1px solid; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .section-title { display: block; }
  .section-title h2 {
    max-width: min(84vw, 340px);
    font-size: clamp(34px, 10.8vw, 56px);
    line-height: 1.16;
    letter-spacing: -0.018em;
    word-break: normal;
    overflow-wrap: anywhere;
  }
  .hero-copy p,
  .section-title p,
  .home-desc,
  .bundle-strip p,
  .webfont-info p {
    max-width: min(82vw, 320px);
    font-size: 18px;
    line-height: 1.45;
  }
  .section-title p { margin-top: 24px; }
  .facts-grid { grid-template-columns: 1fr; }
  .facts-grid > div:nth-child(even) { border-left: 0; }
  .facts-grid > div + div { border-top: 1px solid var(--ink); }
  .not-found h1 { font-size: clamp(48px, 17vw, 88px); line-height: 1.04; }
  .bundle-strip { display: block; }
  .bundle-strip .button { width: 100%; margin-top: 20px; }
  .weight-row { grid-template-columns: 86px 1fr; }
  .weight-row .formats { grid-column: 1 / -1; }
  .formats a { flex: 1; }
  .webfont-info dl div { grid-template-columns: 1fr; gap: 6px; }
  .code-sample { border-left: 0; border-top: 1px solid var(--ink); }
  .tester-toolbar { flex-wrap: wrap; }
  .axis-state { min-height: 260px; }
  .nav a:first-child { display: none; }
  .size-specimen { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; }
  .lyric-card + .lyric-card { border-left: 0; border-top: 1px solid var(--ink); }
  .glyph-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .glyph-weight { width: 100%; margin: 8px 0 0; padding-left: 0; }
  .glyph-weight input { flex: 1; width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home-item,
  .metric,
  .glyph-cell {
    transition: none;
  }
}

/* Copy-enabled code blocks and the webfont code stack */
.webfont-codes {
  min-width: 0;
  display: grid;
  gap: 16px;
  padding: 24px;
  border-left: 1px solid var(--ink);
}
.webfont-code { min-width: 0; display: grid; gap: 8px; }
.webfont-code-label {
  font-family: var(--ui-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.7;
}
.code-block { position: relative; min-width: 0; }
.webfont-codes .code-block .code-sample {
  border: 1px solid var(--ink);
  border-radius: 12px;
  padding-right: 52px;
}
.code-copy {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: var(--paper);
  background: color-mix(in srgb, var(--paper) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--paper) 40%, transparent);
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.code-copy:hover { background: color-mix(in srgb, var(--paper) 28%, transparent); }
.code-copy .icon-check { display: none; }
.code-copy.copied { color: var(--lime); border-color: var(--lime); }
.code-copy.copied .icon-copy { display: none; }
.code-copy.copied .icon-check { display: inline; }
