:root {
  color-scheme: dark;
  --bg: #050b10;
  --surface: #09131b;
  --surface-raised: #0d1a24;
  --primary: #087bff;
  --primary-deep: #1269ed;
  --cyan: #20a9ff;
  --lime: #c5ff3d;
  --amber: #ff8a00;
  --text: #f7f9fc;
  --muted: #a4afb9;
  --line: #24323d;
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 88% 8%, rgba(8, 123, 255, 0.2), transparent 32rem),
    radial-gradient(circle at 5% 52%, rgba(32, 169, 255, 0.08), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, Pretendard, "Noto Sans KR", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #79c8ff;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--text);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--lime);
  color: #071018;
  font-weight: 900;
}

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

.shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(36, 50, 61, 0.8);
  background: rgba(5, 11, 16, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 950;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(121, 200, 255, 0.35);
  border-radius: 10px;
  background: linear-gradient(145deg, var(--primary), var(--cyan));
  box-shadow: 0 8px 24px rgba(8, 123, 255, 0.32);
  color: #fff;
  font-weight: 1000;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  background: var(--surface-raised);
  color: var(--text);
}

.hero {
  padding: 88px 0 52px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--lime);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.22;
  text-wrap: balance;
}

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(38px, 7vw, 72px);
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(23px, 3vw, 32px);
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.lead {
  max-width: 770px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 22px);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(9, 19, 27, 0.82);
  color: #dbe5ed;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 16px rgba(197, 255, 61, 0.65);
}

.section {
  padding: 24px 0 72px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.card {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(13, 26, 36, 0.96), rgba(9, 19, 27, 0.96));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.card p,
.card li {
  color: #c7d0d8;
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.card ul {
  margin: 14px 0 0;
  padding-left: 1.25rem;
}

.card li + li {
  margin-top: 8px;
}

.card strong {
  color: var(--text);
}

.wide {
  grid-column: 1 / -1;
}

.accent {
  border-color: rgba(8, 123, 255, 0.56);
  background:
    linear-gradient(140deg, rgba(8, 123, 255, 0.14), rgba(13, 26, 36, 0.95) 48%),
    var(--surface-raised);
}

.notice {
  margin: 0 0 18px;
  padding: 16px 18px;
  border-left: 4px solid var(--cyan);
  border-radius: 0 10px 10px 0;
  background: rgba(32, 169, 255, 0.09);
  color: #dbeeff;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-raised);
  color: var(--text);
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  box-shadow: 0 10px 28px rgba(8, 123, 255, 0.25);
}

.button:hover {
  color: #fff;
  transform: translateY(-1px);
}

code {
  overflow-wrap: anywhere;
  padding: 0.18em 0.42em;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #071018;
  color: #d9efff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}

.site-footer {
  padding: 30px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.footer-row p {
  margin: 0;
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 28px, var(--max));
  }

  .nav {
    min-height: 64px;
  }

  .nav-links a {
    padding-inline: 9px;
    font-size: 14px;
  }

  .hero {
    padding-top: 62px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .wide {
    grid-column: auto;
  }

  .card {
    padding: 21px;
  }

  .footer-row {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .brand span:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
