:root {
  --brand-ink: #0b1220;
  --brand-navy: #14213a;
  --brand-text: #2d3a50;
  --brand-muted: #667389;
  --brand-line: #dce3ee;
  --brand-canvas: #f5f7fb;
  --brand-surface: #ffffff;
  --brand-blue: #1d5ce5;
  --brand-blue-dark: #1649b9;
  --brand-blue-soft: #eaf1ff;
  --brand-orange: #e85d16;
  --brand-success: #137553;
  --brand-danger: #b42335;
  --brand-font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --brand-radius-sm: 12px;
  --brand-radius-md: 16px;
  --brand-radius-lg: 18px;
  --brand-shadow: 0 24px 70px rgba(20, 33, 58, .12), 0 2px 8px rgba(20, 33, 58, .05);
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; min-width: 320px; color: var(--brand-ink); background: var(--brand-canvas); font-family: var(--brand-font); line-height: 1.65; letter-spacing: -.02em; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; touch-action: manipulation; }
svg { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #78a6ff; outline-offset: 3px; border-radius: 8px; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 14px; color: #fff; background: var(--brand-ink); border-radius: 8px; transform: translateY(-150%); transition: transform 160ms ease; }
.skip-link:focus { transform: translateY(0); }
.public-shell { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.public-header { position: sticky; z-index: 100; top: 0; height: 68px; border-bottom: 1px solid rgba(205, 213, 225, .82); background: rgba(248, 250, 253, .92); backdrop-filter: blur(18px) saturate(150%); }
.public-header__inner { width: min(1280px, calc(100% - 48px)); height: 100%; margin-inline: auto; display: flex; align-items: center; gap: 30px; }
.public-wordmark { min-height: 44px; display: inline-flex; align-items: center; font-size: 20px; line-height: 1; font-weight: 900; letter-spacing: -.05em; }
.public-wordmark b { color: var(--brand-blue); font-size: 27px; }
.public-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.public-nav > a { min-height: 44px; display: inline-flex; align-items: center; color: #4f5c70; font-size: 14px; font-weight: 700; }
.public-nav > a:hover, .public-nav > a[aria-current="page"] { color: var(--brand-blue-dark); }
.public-header__actions { display: flex; align-items: center; gap: 10px; }
.public-menu-button { width: 44px; height: 44px; display: none; place-items: center; padding: 0; color: var(--brand-ink); border: 1px solid var(--brand-line); border-radius: 12px; background: #fff; }
.public-menu-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

.public-button { min-height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: var(--brand-ink); background: #fff; font-size: 14px; font-weight: 800; transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.public-button:hover { transform: translateY(-1px); }
.public-button--primary { color: #fff; background: var(--brand-blue); box-shadow: 0 9px 22px rgba(29, 92, 229, .22); }
.public-button--primary:hover { background: var(--brand-blue-dark); }
.public-button--nav { min-height: 40px; padding-inline: 15px; }
.public-button--secondary { border-color: #bfc9d8; background: #fff; }
.public-button--orange { color: #fff; background: var(--brand-orange); box-shadow: 0 9px 22px rgba(232, 93, 22, .2); }
.public-button--light { color: var(--brand-ink); background: #fff; }

.public-footer { padding: 44px 0 34px; color: #a7b2c3; background: var(--brand-ink); }
.public-footer__top { display: grid; grid-template-columns: 1fr auto; gap: 26px 48px; align-items: center; }
.public-footer .public-wordmark { color: #fff; }
.public-footer__summary { max-width: 520px; margin: 8px 0 0; font-size: 14px; }
.public-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px 24px; font-size: 14px; font-weight: 700; }
.public-footer nav a:hover { color: #fff; }
.public-footer__bottom { grid-column: 1 / -1; margin: 0; padding-top: 22px; border-top: 1px solid #263144; color: #78869a; font-size: 13px; }

@media (max-width: 860px) {
  .public-header { height: 62px; }
  .public-header__inner, .public-shell { width: min(calc(100% - 32px), 1200px); }
  .public-menu-button { display: grid; }
  .public-nav { position: fixed; top: 62px; left: 0; right: 0; margin: 0; padding: 10px 16px 18px; display: none; align-items: stretch; flex-direction: column; gap: 2px; border-bottom: 1px solid var(--brand-line); background: rgba(255,255,255,.98); box-shadow: 0 18px 32px rgba(20,33,58,.12); }
  .public-nav.is-open { display: flex; }
  .public-nav > a { padding: 0 12px; }
  .public-header__actions { margin-left: auto; }
  .public-header__actions > .public-button { display: none; }
  .public-footer__top { grid-template-columns: 1fr; }
  .public-footer nav { justify-content: flex-start; }
  .public-footer__bottom { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
