:root {
  --bg: #f6f1e7;
  --bg-deep: #efe6d7;
  --surface: rgba(255, 252, 246, 0.9);
  --surface-strong: #fffdf8;
  --ink: #182118;
  --ink-soft: #566354;
  --line: rgba(24, 33, 24, 0.1);
  --accent: #0b8a74;
  --accent-deep: #08594c;
  --signal: #ec6f26;
  --shadow: 0 18px 48px rgba(40, 34, 26, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --content-width: min(1180px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 0%, rgba(236, 111, 38, 0.18), transparent 22%),
    radial-gradient(circle at 92% 4%, rgba(11, 138, 116, 0.16), transparent 22%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  color: var(--ink);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

pre,
code {
  font-family: "SFMono-Regular", "JetBrains Mono", Consolas, monospace;
}

.site-shell {
  width: var(--content-width);
  margin: 0 auto;
  padding: 22px 0 72px;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  margin-bottom: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 24px rgba(40, 34, 26, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--signal) 100%);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-name {
  font-size: 0.96rem;
  font-weight: 700;
}

.brand-sub,
.section-kicker,
.feature-tag,
.badge,
.roadmap-label,
.json-caption {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
}

.brand-sub,
.panel-note,
.section-body,
.info-card p,
.feature-card p,
.artifact-card p,
.roadmap-card li,
.proof-list li {
  color: var(--ink-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--ink-soft);
}

.site-nav a:hover {
  color: var(--ink);
}

.lang-picker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 4px 6px 4px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink-soft);
}

.lang-picker span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lang-picker select {
  min-width: 154px;
  height: 38px;
  padding: 0 36px 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font: inherit;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, white 50%),
    linear-gradient(135deg, white 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.lang-picker select:focus {
  outline: 2px solid rgba(11, 138, 116, 0.35);
  outline-offset: 2px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 24px;
  align-items: start;
}

.panel,
.info-card,
.feature-card,
.artifact-card,
.step-card,
.roadmap-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy,
.terminal-panel,
.proof-panel,
.cta-card {
  padding: 30px;
}

.badge,
.section-kicker,
.feature-tag,
.roadmap-label,
.json-caption {
  color: var(--accent-deep);
  font-weight: 700;
}

.badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(11, 138, 116, 0.1);
  margin-bottom: 18px;
}

.hero h1,
.section-heading h2,
.panel-title,
.cta-card h2 {
  margin: 0;
  text-wrap: balance;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.9rem, 7vw, 5.2rem);
  font-family: "Newsreader", Georgia, serif;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.section-heading h2,
.panel-title,
.cta-card h2 {
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.03;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.hero-lede,
.section-body,
.cta-card .section-body {
  max-width: 62ch;
  margin: 20px 0 0;
  font-size: 1.04rem;
  line-height: 1.8;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: white;
  box-shadow: 0 10px 26px rgba(11, 138, 116, 0.24);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.stat-card {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(24, 33, 24, 0.08);
}

.stat-value {
  display: block;
  font-size: 1.7rem;
  font-weight: 700;
}

.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.hero-side {
  display: grid;
  gap: 18px;
}

.panel-topline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.panel-note {
  margin: 0;
  font-size: 0.92rem;
}

.terminal-window {
  overflow: hidden;
  border-radius: 22px;
  background: #0f1a15;
  color: #d6f5df;
}

.terminal-chrome {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  background: #17251e;
}

.terminal-chrome span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.terminal-chrome span:nth-child(1) {
  background: #ff7e34;
}

.terminal-chrome span:nth-child(2) {
  background: #f0c24f;
}

.terminal-chrome span:nth-child(3) {
  background: #1eb996;
}

.terminal-window pre,
.json-card pre,
.step-card pre {
  margin: 0;
  overflow: auto;
  font-size: 0.9rem;
  line-height: 1.7;
}

.terminal-window pre {
  padding: 20px;
}

.proof-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78)),
    radial-gradient(circle at top right, rgba(236, 111, 38, 0.12), transparent 35%);
}

.panel-title {
  margin-top: 8px;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

.proof-list {
  margin: 18px 0 0;
  padding-left: 20px;
  line-height: 1.8;
  text-wrap: pretty;
}

.section {
  margin-top: 72px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-top: 10px;
}

.three-up,
.feature-grid,
.quickstart-grid,
.roadmap-grid {
  display: grid;
  gap: 18px;
}

.three-up {
  grid-template-columns: repeat(3, 1fr);
}

.info-card,
.artifact-card,
.step-card,
.roadmap-card {
  padding: 24px;
}

.info-card h3,
.feature-card h3,
.artifact-card h3,
.step-card h3 {
  margin: 0 0 10px;
  font-size: 1.16rem;
}

.info-card p,
.feature-card p,
.artifact-card p,
.roadmap-card li {
  margin: 0;
  line-height: 1.75;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  padding: 24px;
}

.feature-card-highlight {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82)),
    radial-gradient(circle at top right, rgba(11, 138, 116, 0.14), transparent 38%);
}

.artifact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(320px, 1.12fr);
  gap: 18px;
  align-items: stretch;
}

.artifact-list {
  display: grid;
  gap: 16px;
}

.json-card {
  height: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #0f1a15;
  color: #d6f5df;
}

.json-caption {
  margin: 0;
  padding: 18px 20px 0;
  color: #8bd5c5;
}

.json-card pre {
  padding: 18px 20px 22px;
}

.quickstart-grid {
  grid-template-columns: repeat(3, 1fr);
}

.step-number {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(236, 111, 38, 0.12);
  color: var(--signal);
  font-size: 0.78rem;
  font-weight: 700;
}

.step-card pre {
  padding: 16px;
  border-radius: 16px;
  background: #18231d;
  color: #f0fff4;
}

.roadmap-grid {
  grid-template-columns: repeat(3, 1fr);
}

.roadmap-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

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

html[lang="ko"] .hero h1,
html[lang="ko"] .section-heading h2,
html[lang="ko"] .panel-title,
html[lang="ko"] .cta-card h2 {
  font-family:
    "Apple SD Gothic Neo",
    "Noto Sans KR",
    "Pretendard",
    "Manrope",
    sans-serif;
  line-height: 1.1;
  letter-spacing: -0.045em;
  word-break: keep-all;
  line-break: strict;
}

html:is([lang="ja"], [lang="zh"], [lang="es"], [lang="pt-BR"]) .section-heading h2,
html:is([lang="ja"], [lang="zh"], [lang="es"], [lang="pt-BR"]) .panel-title,
html:is([lang="ja"], [lang="zh"], [lang="es"], [lang="pt-BR"]) .cta-card h2 {
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.08;
}

html[lang="ko"] .hero h1 {
  max-width: 15ch;
}

html[lang="ko"] .hero-lede,
html[lang="ko"] .section-body,
html[lang="ko"] .cta-card .section-body,
html[lang="ko"] .info-card p,
html[lang="ko"] .feature-card p,
html[lang="ko"] .artifact-card p,
html[lang="ko"] .roadmap-card li,
html[lang="ko"] .proof-list li,
html[lang="ko"] .brand-sub,
html[lang="ko"] .panel-note,
html[lang="ko"] .stat-label {
  word-break: keep-all;
  line-break: strict;
}

.roadmap-now {
  background: linear-gradient(180deg, rgba(11, 138, 116, 0.12), rgba(255, 255, 255, 0.88));
}

.roadmap-next {
  background: linear-gradient(180deg, rgba(236, 111, 38, 0.1), rgba(255, 255, 255, 0.88));
}

.roadmap-later {
  background: linear-gradient(180deg, rgba(24, 33, 24, 0.04), rgba(255, 255, 255, 0.88));
}

.cta-card .section-body {
  margin-top: 16px;
}

.panel,
.info-card,
.feature-card,
.artifact-card,
.step-card,
.roadmap-card,
.site-header {
  animation: rise-in 520ms ease both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .hero,
  .artifact-layout,
  .feature-grid,
  .quickstart-grid,
  .roadmap-grid,
  .three-up {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 820px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 28px;
  }

  .header-actions {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    gap: 14px;
  }

  .lang-picker {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .three-up,
  .feature-grid,
  .quickstart-grid,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --content-width: min(100% - 20px, 1180px);
  }

  .site-shell {
    padding-top: 16px;
  }

  .hero-copy,
  .terminal-panel,
  .proof-panel,
  .cta-card,
  .info-card,
  .feature-card,
  .artifact-card,
  .step-card,
  .roadmap-card {
    padding: 22px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 13vw, 4.1rem);
  }

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

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, auto);
  }
}
