* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { font-family: var(--dv-font-latin), var(--dv-font-ko); font-size: 1rem; line-height: 1.75; word-break: keep-all; overflow-wrap: anywhere; }
a { text-underline-offset: .22em; }
.skip { position: fixed; top: -10rem; left: 1rem; z-index: 10; padding: .8rem 1rem; background: var(--dv-color-bg-surface); }
.skip:focus { top: 1rem; }
.topbar { border-bottom: 1px solid var(--dv-color-border-subtle); background: var(--dv-color-bg-surface); }
.topbar-inner { max-width: 1280px; padding: 1.1rem 2rem; margin: auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.topbar a { font-size: .875rem; text-decoration: none; }
.edition { font-size: .875rem; color: var(--dv-color-text-muted); }
.highlight-examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-block: 1.5rem; scroll-margin-top: 2rem; }
.highlight-examples figure { margin: 0; padding: 1.5rem; border-radius: 8px; min-width: 0; }
.highlight-swatch { background: var(--dv-color-surface-blue); color: var(--dv-color-deep-violet); border: 1px solid var(--dv-color-deep-violet); }
.highlight-examples .highlight-badge { display: inline-block; font-size: .875rem; font-weight: 600; border: 1px solid currentColor; padding: .25rem .65rem; }
.highlight-examples .highlight-hex { font-size: 1.125rem; }
.highlight-hex strong { display: block; font-size: 1.5rem; }
.highlight-on-dark { background: var(--dv-color-deep-violet); color: #FFFFFF; border: 1px solid var(--dv-color-deep-violet); }
.highlight-examples .highlight-sample { font-size: 1.4rem; line-height: 1.8; font-weight: 500; }
.highlight-sample mark { background: var(--dv-color-highlight-yellow); color: var(--dv-color-deep-violet); padding: .1em .18em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.highlight-examples figcaption { font-size: .8125rem; line-height: 1.6; color: inherit; }
@media (max-width: 640px) { .highlight-examples { grid-template-columns: 1fr; } }
.guide-controls { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.language-switch { display: flex; border: 1px solid var(--dv-color-border-strong); border-radius: 6px; overflow: hidden; }
.language-switch a { min-height: 44px; display: flex; align-items: center; padding: .4rem .85rem; }
.language-switch a[aria-current="page"] { background: var(--dv-color-action-primary); color: var(--dv-color-action-on-primary); }
.language-switch a:focus-visible { outline-offset: -3px; }
.share-link { min-height: 44px; border: 1px solid var(--dv-color-border-strong); border-radius: 6px; padding: .4rem .85rem; font: inherit; font-size: .875rem; color: var(--dv-color-text-link); background: var(--dv-color-bg-surface); cursor: pointer; }
.share-link:hover { background: var(--dv-color-bg-subtle); }
.share-link:disabled { cursor: wait; }
.share-feedback { max-width: 1280px; margin: auto; padding-inline: 2rem; font-size: .875rem; }
#share-status:not(:empty) { display: block; padding-block: .25rem .75rem; }
#share-fallback { padding-bottom: 1rem; }
#share-fallback label { display: block; margin-bottom: .5rem; }
#share-url { width: 100%; padding: .75rem; font: inherit; color: var(--dv-color-text-primary); background: var(--dv-color-bg-canvas); border: 1px solid var(--dv-color-border-strong); border-radius: 6px; }
[hidden] { display: none !important; }
:lang(en) body { word-break: normal; }
.layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 4rem; max-width: 1280px; padding: 3rem 2rem 6rem; margin: auto; }
.sidebar { align-self: start; position: sticky; top: 2rem; max-height: calc(100vh - 4rem); overflow-y: auto; }
.toc-title { font-size: .875rem; font-weight: 600; margin: 0 0 1rem; color: var(--dv-color-text-muted); }
.toc { list-style: none; padding: 0; margin: 0; }
.toc li { margin: 0 0 .4rem; }
.toc a { display: block; padding: .55rem .75rem; border-left: 2px solid var(--dv-color-border-subtle); text-decoration: none; font-size: .875rem; color: var(--dv-color-text-secondary); }
.toc a:hover, .toc a:focus-visible { color: var(--dv-color-text-link); border-left-color: var(--dv-color-text-link); background: var(--dv-color-bg-subtle); }
.toc-downloads { border-top: 1px solid var(--dv-color-border-subtle); margin-top: 1.5rem; padding-top: 1rem; }
.toc-downloads a { display: block; margin: .5rem 0; font-size: .875rem; }
main { min-width: 0; max-width: 880px; }
.eyebrow { color: var(--dv-color-text-link); font-size: .875rem; font-weight: 600; margin: 0 0 1rem; }
h1 { font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1.25; letter-spacing: -.02em; margin: 0 0 1.5rem; font-weight: 500; }
h2 { font-size: 1.6rem; font-weight: 500; line-height: 1.4; margin: 4rem 0 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--dv-color-border-subtle); }
h3 { font-size: 1.2rem; font-weight: 500; line-height: 1.5; margin: 2.25rem 0 1rem; }
p { margin: 0 0 1rem; }
main > p { color: var(--dv-color-text-secondary); }
strong { font-weight: 600; }
li { margin: .45rem 0; }
ul, ol { padding-left: 1.3rem; }
.summary { display: flex; gap: 1.5rem; flex-wrap: wrap; margin: 1.5rem 0 2rem; padding: 1rem 0; border-block: 1px solid var(--dv-color-border-subtle); color: var(--dv-color-text-secondary); font-size: .875rem; }
.summary strong { color: var(--dv-color-text-primary); font-size: 1.25rem; margin-right: .25rem; }
.tablewrap { max-width: 100%; overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--dv-color-border-subtle); border-radius: 8px; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: .9375rem; line-height: 1.65; }
th, td { padding: 1rem; vertical-align: top; border-bottom: 1px solid var(--dv-color-border-subtle); min-width: 140px; }
th { font-weight: 500; background: var(--dv-color-bg-subtle); }
tr:last-child td { border-bottom: 0; }
.rule { background: var(--dv-color-bg-surface); border: 1px solid var(--dv-color-border-subtle); border-radius: 12px; padding: 1.75rem; margin: 1.5rem 0; }
.rule h3 { margin: .25rem 0 1rem; }
.rule-id { font-size: .875rem; color: var(--dv-color-text-muted); }
.rule-intro { font-weight: 500; }
.example-label { margin-top: 1.25rem; color: var(--dv-color-text-primary); }
.examples { border-left: 3px solid var(--dv-color-border-strong); padding: .25rem 0 .25rem 1.5rem; color: var(--dv-color-text-secondary); }
.alternative { background: var(--dv-color-bg-subtle); border-radius: 8px; padding: 1rem 1.25rem; margin: 1.5rem 0; }
.alternative p:last-child { margin-bottom: 0; }
.rule-notes { font-size: .9375rem; color: var(--dv-color-text-secondary); }
.rule details { border-top: 1px solid var(--dv-color-border-subtle); padding-top: .75rem; margin-top: 1rem; font-size: .875rem; color: var(--dv-color-text-muted); }
summary { cursor: pointer; min-height: 2.5rem; }
.mobile-toc { display: none; }
.footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--dv-color-border-subtle); font-size: .875rem; }
:target { scroll-margin-top: 1rem; }
@media (max-width: 900px) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 2rem 1.5rem 4rem; }
  .sidebar { display: none; }
  .mobile-toc { display: block; border-bottom: 1px solid var(--dv-color-border-subtle); padding: .85rem 1.5rem; background: var(--dv-color-bg-surface); }
  .mobile-toc > summary { font-weight: 500; }
  .mobile-toc .toc { padding: .75rem 0; }
  .topbar-inner { padding-inline: 1.5rem; }
}
@media (max-width: 480px) {
  .layout { padding-inline: 1.25rem; }
  .rule { padding: 1.25rem; }
  h2 { font-size: 1.4rem; }
  .summary { gap: 1rem; }
  th, td { padding: .8rem; }
}
@media print {
  @page { size: A4; margin: 16mm; }
  :root { color-scheme: light; }
  body, main, .rule { background: var(--dv-color-neutral-0) !important; color: var(--dv-color-neutral-900) !important; }
  .sidebar, .mobile-toc, .topbar, .skip, .footer, .summary { display: none; }
  .layout { display: block; padding: 0; }
  main { max-width: none; }
  body { font-size: 10pt; }
  h1 { font-size: 24pt; }
  h2 { font-size: 17pt; margin-top: 20pt; }
  h3 { font-size: 13pt; }
  h2, h3 { break-after: avoid; }
  .rule { border-color: var(--dv-color-neutral-200); padding: 12pt; margin-block: 12pt; }
  .tablewrap { overflow: visible; }
  table { font-size: 9pt; }
  th, td { min-width: 0; padding: 7pt; }
  tr { break-inside: avoid; }
  thead { display: table-header-group; }
  p, li { orphans: 3; widows: 3; }
  .rule details { display: none; }
}
.wordmark-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin:28px 0; scroll-margin-top:100px; }
.wordmark-card { min-width:0; border:1px solid #dce4eb; border-radius:16px; padding:24px; background:#fff; }
.wordmark-card h4 { margin:0 0 12px; color:#201748; font-size:16px; }
.wordmark-role { color:#526078; font-size:14px; }
.family-hierarchy { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:28px 0; }
.family-tier { background:var(--tier-bg); color:var(--tier-fg); border:1px solid #cbd4df; border-radius:12px; padding:28px; }
.family-tier .tier-label { font-size:13px; margin:0 0 24px; }
.family-tier img { display:block; width:100%; height:48px; object-fit:contain; object-position:left center; margin-bottom:28px; }
.family-tier .tier-headline { font-size:19px; line-height:1.5; font-weight:500; }
.family-tier .tier-tone { font-size:13px; margin:0; }
@media(max-width:650px) { .family-hierarchy { grid-template-columns:1fr; } }
.wordmark-preview { display:flex; align-items:center; justify-content:center; min-height:136px; padding:24px 0; }
.wordmark-preview img { display:block; width:100%; height:auto; max-height:90px; object-fit:contain; }
.outline-wordmark-preview { margin:1.5rem 0; padding:clamp(16px,4vw,32px); border:1px solid #dce4eb; border-radius:16px; background:#FFFFFF; }
.outline-wordmark-preview img { display:block; width:100%; max-width:760px; height:auto; margin:16px auto 24px; }
.outline-wordmark-preview figcaption { color:#526078; font-size:13px; text-align:center; }
.wordmark-downloads { list-style:none; margin:0; padding:0; font-size:13px; }
.wordmark-downloads li { display:flex; flex-wrap:wrap; align-items:center; gap:10px; padding:10px 0; border-top:1px solid #edf0f4; }
.wordmark-downloads span { flex-basis:100%; color:#526078; }
.wordmark-downloads a { display:inline-flex; align-items:center; min-height:44px; padding:4px 0; color:#3D2683; }
@media(max-width:1080px) { .wordmark-grid { grid-template-columns:1fr; } }
.motion-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin:28px 0; scroll-margin-top:100px; }
.motion-card { min-width:0; margin:0; border:1px solid #dce4eb; border-radius:16px; overflow:hidden; background:#fff; }
.motion-card figcaption { padding:24px 24px 16px; }
.motion-card h4 { margin:0 0 8px; font-size:18px; color:#201748; }
.motion-card p { margin:0; font-size:14px; color:#526078; }
.motion-stage { background:#eaf7fb; }
.motion-stage video, .motion-stage img { display:block; width:100%; height:auto; }
.motion-stage .motion-static { display:none; }
.motion-downloads { display:flex; align-items:center; flex-wrap:wrap; gap:18px; padding:12px 24px; }
.motion-downloads span { margin-right:auto; color:#526078; font-size:13px; }
.motion-downloads a { display:inline-flex; align-items:center; min-height:44px; font-size:14px; color:#3D2683; }
@media(max-width:1080px) { .motion-grid { grid-template-columns:1fr; } }
@media(prefers-reduced-motion:reduce) {
  .motion-stage video { display:none; }
  .motion-stage .motion-static { display:block; }
}
@media print {
  .motion-stage video, .motion-downloads { display:none; }
  .motion-stage .motion-static { display:block; }
  .motion-card { break-inside:avoid; }
}
