:root {
  color-scheme: light;
  --ink: #171c1d;
  --muted: #536061;
  --subtle: #6d7879;
  --line: #dfe5e5;
  --paper: #fff;
  --canvas: #f5f8f7;
  --blue: #165bfa;
  --blue-soft: #eff4ff;
  --green: #107461;
  --coral: #c24d45;
  --terminal: #161c1d;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
html, body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); }
body { line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; letter-spacing: 0; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { word-break: keep-all; overflow-wrap: anywhere; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #87a9ff; outline-offset: 4px; }
code, pre, .eyebrow, .mini-label { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; letter-spacing: 0; }
[hidden] { display: none !important; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 12px; transform: translateY(-180%); background: #fff; color: var(--blue); padding: 10px 16px; }
.skip-link:focus { transform: none; }
.site-header { height: 76px; position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 0 max(32px, calc((100% - 1280px) / 2)); border-bottom: 1px solid var(--line); background: #fff; }
.site-brand { display: inline-flex; align-items: center; flex-shrink: 0; width: 120px; height: 42px; overflow: hidden; }
.site-brand img { max-width: none; width: 166px; height: 83px; margin-left: -27px; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 550; }
.site-nav a { color: var(--muted); padding: 12px 0; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--blue); }
.site-header-actions { display: flex; align-items: center; gap: 14px; }
.button { min-height: 48px; padding: 11px 21px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; border: 1px solid transparent; border-radius: 4px; font-size: 14px; font-weight: 650; line-height: 1.5; white-space: normal; }
.button-primary { background: var(--blue); color: #fff; }
.button-primary:hover { background: #084ce7; }
.button-small { min-height: 39px; padding: 8px 15px; font-size: 13px; gap: 12px; }
.button-outline { border-color: #cbd4d3; color: var(--ink); background: transparent; }
.button-outline:hover { background: #eaf1ef; }
.icon-button { width: 40px; height: 40px; padding: 0; display: inline-grid; place-items: center; background: transparent; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); }
.icon-button:hover { color: var(--blue); background: var(--blue-soft); }
.nav-toggle { display: none; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.text-link:hover { color: var(--blue); }
.eyebrow { color: var(--muted); font-size: 11px; font-weight: 500; line-height: 1.5; }
.status-square { display: inline-block; width: 7px; height: 7px; margin-right: 7px; background: var(--green); }
.site-footer { padding: 58px max(32px, calc((100% - 1280px) / 2)) 32px; border-top: 1px solid var(--line); }
.footer-heading { display: grid; grid-template-columns: 160px minmax(180px, 1fr) minmax(0, 2fr); gap: 30px; align-items: start; }
.footer-heading > p { font-size: 14px; line-height: 1.7; color: var(--muted); }
.footer-heading nav { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: end; font-size: 12px; color: var(--muted); }
.footer-heading nav a { display: inline-flex; align-items: center; min-height: 32px; }
.footer-heading nav a:hover { color: var(--blue); }
.footer-merchant { margin-top: 32px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.footer-merchant h2 { margin: 0 0 14px; color: var(--ink); font-size: 13px; font-weight: 600; }
.footer-merchant dl { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0; }
.footer-merchant dl > div { display: grid; gap: 2px; min-width: 0; max-width: 100%; }
.footer-merchant .merchant-wide { flex-basis: 100%; }
.footer-merchant dt { font-weight: 600; }
.footer-merchant dd { margin: 0; word-break: keep-all; overflow-wrap: anywhere; }
.footer-merchant address { font-style: normal; }
.footer-merchant a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: underline; text-underline-offset: 3px; }
.footer-merchant a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; align-items: end; gap: 32px; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 24px; color: var(--subtle); font-size: 11px; }
.footer-bottom p { text-align: right; }
dialog::backdrop { background: rgba(16,23,24,.65); }
@media (max-width: 850px) {
  .site-header { padding: 0 20px; height: 64px; gap: 16px; }
  .site-nav { display: none; position: absolute; top: 63px; left: 0; right: 0; padding: 16px 24px; border-bottom: 1px solid var(--line); background: #fff; }
  .site-nav.open { display: grid; gap: 4px; }
  .nav-toggle { display: inline-grid; }
  .footer-heading { grid-template-columns: 120px minmax(0, 1fr); gap: 24px; }
  .footer-heading nav { grid-column: 1 / -1; justify-content: start; }
}
@media (max-width: 540px) {
  .site-header { padding: 0 16px; gap: 8px; }
  .site-header .button-small { padding: 8px 10px; font-size: 12px; gap: 4px; }
  .site-header-actions { gap: 8px; }
  .site-brand { width: 96px; }
  .site-brand img { width: 142px; height: 71px; margin-left: -25px; }
  .site-footer { padding: 40px 20px 28px; }
  .footer-heading nav { gap: 4px 24px; }
  .footer-heading nav a, .footer-merchant a { min-height: 44px; }
  .footer-bottom { flex-direction: column; align-items: start; gap: 18px; }
  .footer-bottom p { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
