:root {
  --navy-950: #081d21;
  --navy-900: #102a2e;
  --navy-850: #17363a;
  --navy-800: #204247;
  --ink-950: #152223;
  --ink-800: #2b3b3d;
  --ink-650: #526366;
  --ink-500: #758487;
  --line: #dbe1dc;
  --line-soft: #e9ece7;
  --ivory: #f4f1e9;
  --ivory-dark: #e9e4d8;
  --paper: #fffefa;
  --white: #ffffff;
  --sage: #7fa795;
  --sage-soft: #e5efe9;
  --blue: #36718c;
  --blue-soft: #e8f1f4;
  --amber: #ba7a28;
  --amber-soft: #f8eedf;
  --red: #b44c42;
  --red-soft: #f7e8e5;
  --shadow-sm: 0 8px 24px rgba(15, 35, 36, .06);
  --shadow-md: 0 24px 70px rgba(8, 29, 33, .12);
  --content: 1240px;
  --font: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink-950);
  background: var(--ivory);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p { margin-top: 0; }

button,
a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid #63a7bd;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: 12px;
  padding: 10px 16px;
  border-radius: 4px;
  background: var(--white);
  color: var(--navy-900);
  font-weight: 800;
  box-shadow: var(--shadow-sm);
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.site-shell {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.section { padding: 124px 0; }

.section-number {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--navy-800);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
}

.section-number.light { color: #a9c2b8; }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.01em;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; gap: 14px; padding: 0 18px; font-size: 13px; }
.button-large { min-height: 58px; padding: 0 30px; }
.button-dark { background: var(--navy-900); color: var(--white); }
.button-dark:hover { background: var(--navy-800); }
.button-primary { background: #b5ca69; color: var(--navy-950); }
.button-primary:hover { background: #c5d77e; }
.button-light { background: var(--paper); color: var(--navy-900); }
.button-light:hover { background: var(--white); }
.button-outline-light { border-color: rgba(255,255,255,.36); color: var(--white); }
.button-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  line-height: 1;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  width: 31px;
  height: 31px;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 3px;
  padding: 6px;
  border-radius: 4px;
  background: var(--navy-900);
}

.brand-mark span { display: block; background: #b5ca69; }
.brand-mark span:nth-child(1) { height: 7px; }
.brand-mark span:nth-child(2) { height: 13px; }
.brand-mark span:nth-child(3) { height: 19px; }

.brand-copy { display: grid; gap: 4px; }
.brand-copy strong { font-size: 14px; letter-spacing: .13em; }
.brand-copy small { color: var(--ink-500); font-size: 8px; letter-spacing: .08em; }

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay { transition-delay: 0s; }

/*
 * Full-page captures must not depend on animation frames, scroll position or
 * viewport observers. The normal page already keeps every section visible;
 * capture mode additionally freezes decorative motion and fixed UI chrome.
 */
html.capture-mode {
  scroll-behavior: auto;
  scrollbar-gutter: stable;
}

html.static-capture-mode {
  scroll-behavior: auto;
  scrollbar-gutter: stable;
}

.capture-mode *,
.capture-mode *::before,
.capture-mode *::after {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

.capture-mode .reveal {
  opacity: 1 !important;
  transform: none !important;
}

.capture-mode .skip-link:not(:focus) { transform: translateY(-160%) !important; }
.capture-mode .skip-link:focus { transform: translateY(0) !important; }

.capture-mode .site-header { position: absolute; }
.capture-mode .dashboard-sidebar { position: absolute; }
.capture-mode .dashboard-header { position: relative; top: auto; }
.capture-mode .mobile-nav,
.capture-mode .notification-panel { position: absolute; }

.static-capture-mode *,
.static-capture-mode *::before,
.static-capture-mode *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

.static-capture-mode .site-header { position: absolute; }

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