:root {
  color-scheme: dark;
  font-family: Geist, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #09090b;
  color: #e4e4e7;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% -16rem, rgba(16, 185, 129, 0.12), transparent 32rem),
    #09090b;
  line-height: 1.7;
}

a { color: #6ee7b7; text-underline-offset: 0.2em; }
a:hover { color: #a7f3d0; }

a:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #6ee7b7;
  outline-offset: 4px;
  border-radius: 0.2rem;
}

header, main, footer {
  width: min(100% - 2rem, 760px);
  margin-inline: auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid #27272a;
}

header a { color: #d4d4d8; text-decoration: none; }
header a:first-child { font-weight: 700; letter-spacing: -0.02em; }
header nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1rem; font-size: 0.9rem; }

main { padding: 5rem 0 3rem; }
article > p:first-of-type { color: #d4d4d8; font-size: 1.22rem; line-height: 1.65; }

.eyebrow {
  margin: 0 0 1rem;
  color: #6ee7b7;
  font: 600 0.72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, h3 { color: #fafafa; letter-spacing: -0.035em; line-height: 1.15; }
h1 { margin: 0; font-size: clamp(2.35rem, 7vw, 4rem); }
h2 { margin: 3.5rem 0 1rem; font-size: clamp(1.55rem, 5vw, 2.2rem); }
h3 { margin: 2rem 0 0.7rem; font-size: 1.25rem; }
p, li, td { color: #a1a1aa; }
strong, th { color: #e4e4e7; }
ul, ol { padding-left: 1.4rem; }
li + li { margin-top: 0.55rem; }

code {
  border: 1px solid #3f3f46;
  border-radius: 0.28rem;
  background: #18181b;
  padding: 0.08rem 0.3rem;
  color: #d4d4d8;
  font: 0.88em/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
}

pre {
  overflow-x: auto;
  border: 1px solid #3f3f46;
  border-radius: 0.75rem;
  background: #111113;
  padding: 1.2rem;
}

pre code { border: 0; background: transparent; padding: 0; }

.callout {
  margin: 2rem 0;
  border: 1px solid rgba(110, 231, 183, 0.28);
  border-radius: 0.8rem;
  background: rgba(6, 78, 59, 0.12);
  padding: 1.2rem 1.3rem;
}

.callout p { margin: 0; color: #d4d4d8; }

.table-scroll { overflow-x: auto; margin: 1.5rem 0; }

table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th, td {
  border-bottom: 1px solid #3f3f46;
  padding: 0.8rem 0.7rem;
  text-align: left;
  vertical-align: top;
}

th { background: #111113; font-size: 0.78rem; letter-spacing: 0.03em; }

.cta {
  margin-top: 4rem;
  border: 1px solid #3f3f46;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(39, 39, 42, 0.86), rgba(24, 24, 27, 0.72));
  padding: 1.5rem;
}

.cta h2 { margin: 0; font-size: 1.65rem; }
.cta p { margin: 0.75rem 0 1.2rem; }

.button {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  border-radius: 0.55rem;
  background: #d1fae5;
  padding: 0.65rem 1rem;
  color: #064e3b;
  font-weight: 700;
  text-decoration: none;
}

.button:hover { background: #ecfdf5; color: #064e3b; }
.button:active { transform: translateY(1px); }

.related {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #27272a;
}

.related h2 { margin-top: 0; font-size: 1.4rem; }

footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid #27272a;
  color: #a1a1aa;
  font-size: 0.88rem;
}

html[lang="ko"] body {
  word-break: keep-all;
  overflow-wrap: break-word;
}

@media (max-width: 540px) {
  header { align-items: flex-start; }
  header nav { flex-direction: column; gap: 0.3rem; text-align: right; }
  main { padding-top: 3.5rem; }
}
