/* Generated from the reviewed design by a one-off port; edit this file directly from now on. */
@font-face { font-family: "Pretendard"; src: url("/fonts/Pretendard-subset.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap }
@font-face { font-family: "Nunito"; src: url("/fonts/Nunito-Black-wordmark.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px }
html, body { overflow-x: clip }
body { margin: 0; word-break: keep-all; overflow-wrap: break-word }
html:lang(en) body { word-break: normal }
img { max-width: 100% }
[hidden] { display: none !important }
/* Locatube site. Layout: one full-height white stage (canvas map + variety-show captions), then full-bleed bands: paper, blue, paper, night, yellow. */
:root {
  --paper: #ffffff; --ink: #252729; --muted: #566170; --line: #dfe5eb; --surface: #f5f7fa;
  --blue: #2563eb; --blue-ink: #1d4ed8; --yellow: #fbbf24; --on-blue: #ffffff; --on-yellow: #252729;
  --night: #111315; --on-night: #f2f4f7; --on-night-muted: #a9b2bd;
  --on-blue-muted: #dbe7ff; --on-blue-line: #5d8bf2; --night-line: #2c3036; --on-yellow-muted: #4d3d0c; --on-yellow-line: #d99f12;
  /* the stage keeps one look in both themes, on purpose */
  --stage: #ffffff; --stage-ink: #252729; --stage-muted: #566170; --stage-line: #dfe5eb; --stage-blue: #2563eb; --stage-yellow: #fbbf24;
  --font-body: "Pretendard", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-caption: "Pretendard", "Noto Sans KR", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-mark: "Nunito", "Noto Sans KR", system-ui, sans-serif;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px)); --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --wide: 1120px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --paper: #0f1011; --ink: #e8eaed; --muted: #a3adba; --line: #2a2e33; --surface: #1a1c1f; --blue-ink: #6b9bff;
  --night: #1c1c1e; --on-night: #f2f4f7; --on-night-muted: #a9b2bd; color-scheme: dark } }
:root[data-theme="dark"] {
  --paper: #0f1011; --ink: #e8eaed; --muted: #a3adba; --line: #2a2e33; --surface: #1a1c1f; --blue-ink: #6b9bff;
  --night: #1c1c1e; --on-night: #f2f4f7; --on-night-muted: #a9b2bd; color-scheme: dark }

* { box-sizing: border-box }
body { background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased }
a { color: inherit }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap }

/* ---------- stage ---------- */
.stage { position: relative; height: clamp(560px, 92vh, 900px); background: var(--stage); color: var(--stage-ink); overflow: hidden; isolation: isolate }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block }
.stage::after { content: ""; position: absolute; inset: auto 0 0 0; height: 270px; pointer-events: none; z-index: 1;
  background: linear-gradient(to top, var(--stage) 8%, transparent) }

/* the logo and the menu stay at the top of the window on every view */
.top { position: fixed; z-index: 15; inset: 0 0 auto 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; pointer-events: none;
  padding-top: calc(14px + env(safe-area-inset-top, 0px)); padding-bottom: 14px; padding-left: var(--gutter-l); padding-right: var(--gutter-r) }
.top > * { pointer-events: auto }
/* once the page has scrolled, the bare wordmark would sit on top of the text below it, so only the round icon stays */
.top .wm { transition: opacity .2s }
.top.scrolled .wm { opacity: 0; visibility: hidden }
@media (prefers-reduced-motion: reduce) { .top .wm { transition: none } }
.wordmark { font-family: var(--font-mark); font-weight: 900; font-size: 26px; letter-spacing: -0.03em; text-decoration: none; line-height: 1; display: inline-flex; align-items: center; gap: 12px; border-radius: 999px }
.wordmark .mark { width: 48px; height: 48px; padding: 4px; border-radius: 50%; display: block; object-fit: cover; background: var(--stage); box-shadow: 0 6px 24px rgba(30, 50, 90, .14) }
.wordmark .wm { display: inline-flex; align-items: baseline; -webkit-text-stroke: 6px var(--stage); paint-order: stroke fill }
.wordmark .loca { color: var(--stage-blue) } .wordmark .tube { color: var(--stage-ink) }
/* beta label: sits on the corner of the round icon, so it stays put when the letters hide (scrolled, narrow screens) */
.wordmark { position: relative }
.wordmark .beta { position: absolute; left: 30px; top: 34px; font-family: var(--font-body); font-size: 11px; font-weight: 800; letter-spacing: .02em; line-height: 1;
  padding: 4px 8px; border-radius: 999px; background: var(--stage-yellow); color: #252729; box-shadow: 0 2px 8px rgba(30, 50, 90, .18) }
.wordmark .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--stage-yellow); margin-left: 3px }
.menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 5px; background: var(--stage); border-radius: 999px; box-shadow: 0 6px 24px rgba(30, 50, 90, .10) }
.menu a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 700; color: var(--stage-ink); white-space: nowrap }
.menu a:hover { background: #eef2f7 }
.menu .on { background: var(--stage-ink); color: var(--stage) }
/* the language menu is its own pill beside the menu, in the same white container style; it opens a short list */
.navs { display: flex; align-items: center; gap: 8px }
.langbtn { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; height: 48px; padding: 0 16px 0 14px; border-radius: 999px;
  background: var(--stage); box-shadow: 0 6px 24px rgba(30, 50, 90, .10); font-size: 14px; font-weight: 700; color: var(--stage-ink); white-space: nowrap }
.langbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none }
.langbtn:hover { background: #eef2f7 }
.lang { position: relative }
.lang summary { list-style: none }
.lang summary::-webkit-details-marker { display: none }
.langbtn .chev { width: 14px; height: 14px; stroke-width: 2.4; transition: transform .18s ease }
.lang[open] .langbtn .chev { transform: rotate(180deg) }
.langmenu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 168px; margin: 0; padding: 6px; list-style: none;
  background: var(--stage); border-radius: 22px; box-shadow: 0 14px 40px rgba(30, 50, 90, .18); transform-origin: top right; animation: langpop .16s ease-out }
.langmenu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 14px; border-radius: 16px;
  text-decoration: none; font-size: 15px; font-weight: 700; color: var(--stage-ink); white-space: nowrap }
.langmenu a:hover { background: #eef2f7 }
.langmenu a.on { background: var(--stage-ink); color: var(--stage) }
.langmenu a:focus-visible { outline: 3px solid var(--stage-blue); outline-offset: -3px }
.langmenu svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; flex: none }
@keyframes langpop { from { opacity: 0; transform: translateY(-6px) scale(.96) } to { opacity: 1; transform: none } }
@media (prefers-reduced-motion: reduce) { .langmenu { animation: none } .langbtn .chev { transition: none } }
/* Japanese pages: kana and kanji come from the Japanese system fonts, not the Korean ones (different glyph shapes) */
html:lang(ja) { --font-body: "Pretendard", "Hiragino Sans", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Yu Gothic", sans-serif; --font-caption: "Pretendard", "Hiragino Sans", "Noto Sans JP", -apple-system, "Yu Gothic", sans-serif }
.langbtn:focus-visible { outline: 3px solid var(--stage-blue); outline-offset: 2px }
@media (max-width: 560px) { .menu a { padding: 8px 10px; font-size: 13px } .langbtn { padding: 0 9px 0 10px; font-size: 13px; gap: 4px } .navs { gap: 4px } }
@media (max-width: 560px) { html:lang(ja) .menu a { padding: 8px 7px; font-size: 12px } }
@media (max-width: 560px) { .top .wordmark { flex: none } }
@media (max-width: 560px) { .menu .opt { display: none } .wordmark .wm { display: none } }

.caption { position: absolute; z-index: 2; left: 0; right: 0; bottom: 140px; text-align: center; pointer-events: none;
  padding-left: var(--gutter-l); padding-right: var(--gutter-r) }
.caption p { margin: 0; display: inline-block; font-family: var(--font-caption); font-weight: 900; font-size: clamp(22px, 4.2vw, 46px); line-height: 1.32; letter-spacing: -0.035em;
  color: var(--stage-ink); -webkit-text-stroke: 8px var(--stage); paint-order: stroke fill; text-wrap: balance; transform-origin: 50% 80% }
.caption p.pop { animation: pop .5s cubic-bezier(.2, 1.6, .4, 1) both }
.caption b, .caption mark { font-weight: 900; background: none; -webkit-text-stroke: 0; position: relative; display: inline-block; padding: 0 .2em; margin: 0 .05em; z-index: 0 }
.caption b { color: var(--stage) } .caption mark { color: var(--stage-ink) }
.caption b::before, .caption mark::before { content: ""; position: absolute; inset: .1em 0 .05em; border-radius: .2em; transform: rotate(-1.6deg); z-index: -1 }
.caption b::before { background: var(--stage-blue) } .caption mark::before { background: var(--stage-yellow) }
@keyframes pop { 0% { transform: scale(.55) rotate(-3deg); opacity: 0 } 60% { opacity: 1 } 100% { transform: none; opacity: 1 } }

.dock { position: absolute; z-index: 3; left: 50%; bottom: 48px; transform: translateX(-50%); display: flex; align-items: center; gap: 4px;
  background: var(--stage); border-radius: 999px; padding: 6px; box-shadow: 0 8px 28px rgba(30, 50, 90, .14) }
.dock .label { background: var(--stage-ink); color: var(--stage); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 700; white-space: nowrap; min-width: 74px; text-align: center }
.dock button { all: unset; box-sizing: border-box; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--stage-ink) }
.dock button:hover { background: #eef2f7 }
.dock button:focus-visible { outline: 3px solid var(--stage-blue); outline-offset: 2px }
.dock svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round }
.dock .edit { width: auto; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 700; gap: 6px; display: inline-flex; align-items: center }

.badge { position: absolute; z-index: 3; right: calc(var(--gutter-r) + 4px); bottom: 48px; display: block; line-height: 0; border-radius: 9px }
.badge img { height: 48px; width: auto; display: block }
@media (max-width: 760px) {
  .dock { left: var(--gutter-l); transform: none } .dock .label { display: none } .dock .edit span { display: none } .dock .edit { width: 36px; padding: 0; justify-content: center }
  .badge { bottom: 50px } .badge img { height: 44px } .caption { bottom: 136px }
}

  box-shadow: -18px 0 50px rgba(0, 0, 0, .18); display: flex; flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px) }
.btn { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line) }
.btn.primary { background: var(--blue); color: var(--on-blue); border-color: transparent }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px }

/* ---------- bands ---------- */
.band { --b-bg: var(--paper); --b-fg: var(--ink); --b-muted: var(--muted); --b-line: var(--line); --b-accent: var(--blue-ink);
  background: var(--b-bg); color: var(--b-fg); padding-block: clamp(92px, 10vw, 128px) clamp(64px, 10vw, 128px) }
.band.blue { --b-bg: var(--blue); --b-fg: var(--on-blue); --b-muted: var(--on-blue-muted); --b-line: var(--on-blue-line); --b-accent: var(--yellow) }
.band.night { --b-bg: var(--night); --b-fg: var(--on-night); --b-muted: var(--on-night-muted); --b-line: var(--night-line); --b-accent: var(--yellow) }
.band.yellow { --b-bg: var(--yellow); --b-fg: var(--on-yellow); --b-muted: var(--on-yellow-muted); --b-line: var(--on-yellow-line); --b-accent: var(--on-yellow) }
.giant span { color: var(--b-accent) }
.in { max-width: var(--wide); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r) }
h1, h2, h3 { text-wrap: balance; margin: 0; letter-spacing: -0.03em }
.giant { font-family: var(--font-body); font-weight: 900; font-size: clamp(38px, 7.4vw, 96px); line-height: 1.08 }
.lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 34em; color: var(--b-muted); margin: 28px 0 0 }
.facts { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px }
.facts li { border: 1px solid var(--b-line); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 700 }

.steps { list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(28px, 4vw, 56px) }
.steps li { min-width: 0 }
.steps .n { font-family: var(--font-mark); font-weight: 900; font-size: 72px; line-height: 1; color: var(--b-accent) }
.steps h3 { font-size: 24px; margin-top: 14px; font-weight: 900 }
.steps p { margin: 10px 0 0; color: var(--b-muted); max-width: 22em }

.feats { list-style: none; margin: clamp(36px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0; border-top: 1px solid var(--b-line) }
.feats li { padding: 28px 24px 30px 0; border-bottom: 1px solid var(--b-line); min-width: 0 }
.feats svg { width: 34px; height: 34px; fill: none; stroke: var(--b-accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
.feats h3 { font-size: 20px; margin-top: 14px; font-weight: 900 }
.feats p { margin: 8px 0 0; color: var(--b-muted); font-size: 15px; max-width: 20em }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px 40px; margin: clamp(40px, 6vw, 72px) 0 0; padding-top: 32px; border-top: 1px solid var(--b-line) }
.stats div { min-width: 0 }
.stats dt { font-family: var(--font-mark); font-weight: 900; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; color: var(--b-accent) }
.stats dd { margin: 8px 0 0; color: var(--b-muted); font-size: 15px; max-width: 18em }
.shot { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 28px; border: 1px solid var(--b-line); box-shadow: 0 24px 60px rgba(15, 25, 50, .16); background: var(--surface) }
.steps .shot { max-width: 300px; margin-bottom: 26px }
.tour { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(20px, 3vw, 44px); margin-top: clamp(36px, 5vw, 64px) }
.tour figure { margin: 0; min-width: 0 }
.tour figcaption { margin-top: 16px; font-weight: 700; font-size: 17px }
.tour figcaption span { display: block; font-weight: 400; font-size: 14px; color: var(--b-muted); margin-top: 4px }
.wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center }
.wide > div { min-width: 0 }
.wide .shot { border-radius: 22px }
@media (max-width: 760px) { .wide { grid-template-columns: 1fr } }

.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(28px, 5vw, 72px); margin-top: clamp(36px, 5vw, 64px) }
.cols > div { min-width: 0 }
.cols h3 { font-size: 20px; font-weight: 900 }
.cols p { color: var(--b-muted); margin: 10px 0 0; max-width: 30em }

.yellow .giant { max-width: 9em }
.soon { margin: 28px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--b-muted) }
.soon span { background: var(--b-fg); color: var(--b-bg); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 900 }
.band.yellow { position: relative; overflow: hidden; isolation: isolate }
.band.yellow .in { position: relative; z-index: 1 }
.bandmap { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: .1; pointer-events: none }
.cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center }
.cta .go { background: var(--on-yellow); color: var(--yellow); padding: 16px 28px; border-radius: 999px; font-weight: 900; text-decoration: none; font-size: 17px }
.cta .plain { padding: 12px 6px; font-weight: 700; text-underline-offset: 4px }

/* ---------- updates page ---------- */
.band.pagetop { padding-top: clamp(124px, 15vw, 190px) }
/* phones: swipe sideways through the screens instead of a tall stack */
@media (max-width: 760px) {
  .steps, .tour { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin-left: calc(-1 * var(--gutter-l)); margin-right: calc(-1 * var(--gutter-r)); padding-left: var(--gutter-l); padding-right: var(--gutter-r); scroll-padding-left: var(--gutter-l) }
  .steps::-webkit-scrollbar, .tour::-webkit-scrollbar { display: none }
  .steps > li, .tour > figure { flex: 0 0 74%; scroll-snap-align: start }
  .steps .shot { max-width: 100% }
}
/* ---------- support page ---------- */
.mail { font-family: var(--font-mark); font-weight: 900; font-size: clamp(26px, 5.2vw, 64px); letter-spacing: -0.03em; line-height: 1.1; margin: clamp(28px, 4vw, 48px) 0 0; overflow-wrap: anywhere; user-select: all }
.mailrow { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; color: var(--b-muted); font-weight: 700 }
.band .btn.onband { background: var(--b-fg); color: var(--b-bg); border-color: transparent }
.faq { margin-top: clamp(36px, 5vw, 64px); border-top: 1px solid var(--b-line) }
.faq details { border-bottom: 1px solid var(--b-line) }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-size: clamp(19px, 2.2vw, 26px); font-weight: 900; letter-spacing: -0.02em }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; font-family: var(--font-mark); font-size: 32px; line-height: 1; color: var(--b-accent); flex: none; transition: transform .2s }
.faq details[open] summary::after { transform: rotate(45deg) }
.faq details p { margin: 0 0 28px; max-width: 40em; color: var(--b-muted); font-size: 17px }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--b-line); border-radius: 8px; padding: 2px 8px; font-size: .9em; overflow-wrap: anywhere }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none } }
.road { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(28px, 5vw, 72px); margin-top: clamp(36px, 5vw, 64px) }
.road > div { min-width: 0 }
.road h3 { display: inline-block; font-size: 14px; font-weight: 900; letter-spacing: 0; background: var(--b-accent); color: var(--b-bg); border-radius: 999px; padding: 5px 14px }
.road ul { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--b-line) }
.road li { padding: 20px 0; border-bottom: 1px solid var(--b-line) }
.road li strong { display: block; font-size: 19px; font-weight: 900; letter-spacing: -0.02em }
.road li span { display: block; margin-top: 6px; color: var(--b-muted); font-size: 15px; max-width: 30em }
.fine { margin: 28px 0 0; font-size: 14px; color: var(--b-muted); max-width: 40em }
.rel { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 24px clamp(28px, 5vw, 72px); margin-top: clamp(36px, 5vw, 64px); padding-top: 32px; border-top: 1px solid var(--b-line) }
.rel > div { min-width: 0 }
.rel .ver { font-family: var(--font-mark); font-weight: 900; font-size: 44px; line-height: 1; color: var(--b-accent) }
.rel time { display: block; margin-top: 10px; color: var(--b-muted); font-size: 14px; font-variant-numeric: tabular-nums }
.rel .tag { display: inline-block; margin-top: 12px; border: 1px solid var(--b-line); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700 }
.rel ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 10px }
.rel li { max-width: 38em }
.inlink { color: inherit; font-weight: 700; text-underline-offset: 4px; white-space: nowrap }
@media (max-width: 760px) { .rel { grid-template-columns: 1fr } }

.foot { background: var(--paper); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); padding-block: 36px 48px }
.foot dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 18px; margin: 12px 0 0 }
.foot dt { font-weight: 700 } .foot dd { margin: 0; min-width: 0; overflow-wrap: anywhere }
.foot p { margin: 0 }

@media (prefers-reduced-motion: reduce) { .caption p.pop { animation: none } }

/* ---------- skip link, footer menu ---------- */
.skip { position: absolute; left: 16px; top: -100px; z-index: 30; background: var(--blue); color: var(--on-blue); padding: 10px 18px; border-radius: 999px; text-decoration: none; font-weight: 700 }
.skip:focus { top: 12px }
.mail a { color: inherit; text-decoration: none }
.foot ul { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px }
.foot ul a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700 }
.foot .copy { margin-top: 14px }

/* ---------- legal pages (privacy, terms): the long-document styles, on the new colours ---------- */
:root { --color-ink: var(--ink); --color-ink-muted: var(--muted); --color-surface: var(--surface); --color-border: var(--line); --color-link: var(--blue-ink);
  --color-chip: #dbeafe; --color-chip-ink: #1d4ed8; --color-warn-bg: #fff7e0; --color-warn-ink: #7a4b00;
  --radius-s: 18px; --radius-m: 26px; --space-xs: 4px; --space-sm: 8px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px;
  --text-s: 0.875rem; --text-m: 1rem; --text-l: 1.125rem; --text-xl: 1.5rem; --text-2xl: clamp(1.75rem, 1.2rem + 2.6vw, 2.75rem); --measure: 68ch }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --color-chip: #1e3a8a; --color-chip-ink: #dbeafe; --color-warn-bg: #3a2e0d; --color-warn-ink: #fbbf24 } }
:root[data-theme="dark"] { --color-chip: #1e3a8a; --color-chip-ink: #dbeafe; --color-warn-bg: #3a2e0d; --color-warn-ink: #fbbf24 }
.doc a { color: var(--color-link); text-underline-offset: 0.18em }
/* legal documents */
.doc { max-width: var(--measure); }
.doc h1 { font-size: var(--text-2xl); line-height: 1.2; letter-spacing: -0.02em; margin: var(--space-lg) 0 var(--space-sm); overflow-wrap: anywhere; }
.doc .meta { color: var(--color-ink-muted); font-size: var(--text-s); margin: 0 0 var(--space-lg); }
.doc h2 { font-size: var(--text-xl); line-height: 1.3; margin: var(--space-xl) 0 var(--space-sm); letter-spacing: -0.01em; scroll-margin-top: 16px; }
.doc h3 { font-size: var(--text-l); margin: var(--space-lg) 0 var(--space-xs); line-height: 1.4; }
.doc p, .doc li, .doc dd { margin: 0 0 var(--space-sm); }
.doc ul, .doc ol { padding-left: 1.3em; margin: 0 0 var(--space-md); }
.doc li { margin-bottom: var(--space-xs); }
.doc dl { margin: 0; }
.doc dt { font-weight: 700; margin-top: var(--space-md); }
.doc dd { margin-left: 0; color: var(--color-ink); }
.toc { background: var(--color-surface); border-radius: var(--radius-m); padding: var(--space-md) var(--space-lg); margin: var(--space-lg) 0; }
.toc h2 { font-size: var(--text-m); margin: 0 0 var(--space-xs); }
.toc ol { margin: 0; padding-left: 1.4em; columns: 1; }
.toc a { display: inline-block; padding: 4px 0; }
.callout { background: var(--color-chip); color: var(--color-chip-ink); border-radius: var(--radius-s); padding: var(--space-md) var(--space-lg); margin: var(--space-md) 0; }
.callout p:last-child { margin-bottom: 0; }
.callout a { color: inherit; font-weight: 600; }
.todo { background: var(--color-warn-bg); color: var(--color-warn-ink); border-radius: var(--radius-s); padding: var(--space-sm) var(--space-md); font-size: var(--text-s); }
.tbl { width: 100%; border-collapse: collapse; margin: var(--space-md) 0; font-size: var(--text-s); line-height: 1.55; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--color-border); }
.tbl th { background: var(--color-surface); font-weight: 700; }
.doc code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.92em; background: var(--color-surface); padding: 1px 6px; border-radius: 8px; }
@media (max-width: 719px) {
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tbl tr { background: var(--color-surface); border-radius: var(--radius-s); padding: var(--space-sm) var(--space-md); margin-bottom: var(--space-md); }
  .tbl td { border: 0; padding: 6px 0; }
  .tbl td::before { content: attr(data-label); display: block; font-weight: 700; color: var(--color-ink-muted); font-size: 0.8125rem; }
}
@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: var(--space-2xl); }
  .toc ol { columns: 2; column-gap: var(--space-xl); }
}


@media print { .skip, .top, .toc { display: none } }
