:root {
  --bg: #0b0e14;
  --bg-alt: #11151f;
  --panel: #161b27;
  --line: #232a39;
  --text: #e6eaf2;
  --muted: #9aa6bd;
  --accent: #5b8cff;
  --accent-2: #36d0a8;
  --warn: #f2b455;
  --radius: 14px;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", "Apple SD Gothic Neo",
               "Noto Sans KR", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 14, 20, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  padding: 14px clamp(16px, 4vw, 48px);
}
.brand { font-weight: 700; font-size: 20px; }
.logo { color: var(--accent); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 14px; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  background: transparent; border: 1px solid var(--line); color: var(--muted);
  border-radius: 999px; padding: 5px 12px; font-size: 12px; cursor: pointer; font-weight: 600;
}
.lang-toggle .sep { margin: 0 4px; opacity: .4; }
.lang-toggle .active { color: var(--accent); }

/* buttons */
.btn {
  display: inline-block; border-radius: 10px; padding: 12px 20px;
  font-weight: 600; font-size: 15px; cursor: pointer; transition: transform .12s, background .15s, border-color .15s;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #4a7df5; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }

/* hero */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(48px, 9vw, 110px) clamp(16px, 4vw, 48px) clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.badge {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em;
  color: var(--accent-2); background: rgba(54, 208, 168, .1);
  border: 1px solid rgba(54, 208, 168, .25); border-radius: 999px; padding: 5px 12px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(30px, 4.6vw, 52px); margin: 0 0 18px; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.fineprint { color: var(--muted); font-size: 12.5px; opacity: .85; }
.hero-visual { position: relative; }
.hero-visual img {
  width: 100%; border-radius: var(--radius); border: 1px solid var(--line);
  background: #000; box-shadow: 0 24px 60px rgba(0,0,0,.5); display: block;
}
.visual-cap {
  position: absolute; bottom: 10px; right: 12px;
  font-size: 11px; color: #cdd6e6; background: rgba(0,0,0,.55);
  padding: 3px 8px; border-radius: 6px;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}

/* sections */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 7vw, 88px) clamp(16px, 4vw, 48px); }
/* alt 섹션: 콘텐츠 박스는 일반 .section과 완전히 동일(max-width·margin·padding 그대로 상속) →
   정렬선·폭 100% 일치. 배경만 좌우로 풀-블리드: box-shadow 스프레드를 clip-path로 가로만 확장
   (레이아웃·스크롤에 영향 없음, 100vw 가로스크롤 문제도 없음). */
.section-alt {
  background: var(--bg-alt);
  box-shadow: 0 0 0 100vw var(--bg-alt);
  clip-path: inset(0 -100vw);
}
.section h2 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 10px; }
.section-sub, .prose { color: var(--muted); max-width: 720px; margin: 0 0 28px; }

/* cards */
.cards { display: grid; gap: 20px; margin-top: 28px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin: 0 0 10px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.card-cta .btn { margin-top: 18px; }

/* metrics */
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 8px 0 22px; }
.metric {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.metric-val { font-size: 34px; font-weight: 800; color: var(--accent); letter-spacing: -.02em; }
.metric-title { font-weight: 700; margin: 6px 0 8px; }
.metric-desc { margin: 0; color: var(--muted); font-size: 13.5px; }

/* quick start */
.quick { margin-top: 16px; }
.quick summary { cursor: pointer; color: var(--accent); font-size: 14px; font-weight: 600; }
.quick pre {
  margin: 12px 0 0; background: #0a0d13; border: 1px solid var(--line); border-radius: 10px;
  padding: 14px; overflow-x: auto; font-size: 13px; color: #cdd6e6;
}

/* features */
.block-title { font-size: 20px; margin: 8px 0 6px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 22px 0 8px; }
.feature {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px;
}
.feature h4 { margin: 0 0 7px; font-size: 15.5px; }
.feature h4::before { content: "▸ "; color: var(--accent-2); }
.feature p { margin: 0; color: var(--muted); font-size: 13px; }

/* more banner */
.more-banner {
  margin: 32px 0 8px; padding: 22px 24px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(91,140,255,.12), rgba(54,208,168,.10));
  border: 1px solid rgba(91,140,255,.28);
}
.more-banner h3 { margin: 0 0 6px; font-size: 18px; }
.more-banner p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* timeline */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.timeline.two { grid-template-columns: repeat(2, 1fr); }
.tl-item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.tl-dot { display: inline-block; width: 12px; height: 12px; border-radius: 999px; margin-bottom: 12px; }
.tl-dot.next { background: var(--accent); }
.tl-dot.vision { background: var(--warn); }
.tl-item h3 { margin: 0 0 8px; font-size: 17px; }
.tl-item p { margin: 0; color: var(--muted); font-size: 14px; }

/* startup */
.cloud-badges { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0; }
.cloud {
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 18px;
  color: var(--muted); font-weight: 600; background: var(--panel);
}
.link-arrow { color: var(--accent); font-weight: 600; }

/* footer */
.footer {
  border-top: 1px solid var(--line); padding: 40px clamp(16px, 4vw, 48px);
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  max-width: var(--max); margin: 0 auto;
}
.footer p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.footer-meta { text-align: right; }

/* responsive */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .cards.three, .cards.two, .metrics, .timeline { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .footer { flex-direction: column; }
  .footer-meta { text-align: left; }
}

/* on-premises 배너 */
.onprem-banner {
  margin-top: 28px; padding: 22px 24px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(54,208,168,.12), rgba(91,140,255,.08));
  border: 1px solid rgba(54,208,168,.30);
  display: flex; gap: 18px; align-items: flex-start;
}
.onprem-badge {
  flex: 0 0 auto; font-size: 12px; font-weight: 700; letter-spacing: .03em;
  color: #0b0e14; background: var(--accent-2); border-radius: 999px;
  padding: 5px 12px; margin-top: 2px;
}
.onprem-banner h3 { margin: 0 0 6px; font-size: 18px; }
.onprem-banner p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* 벤치 상세 비교 (자세히 보기) */
.bench-details { margin: 4px 0 18px; }
.bench-details > summary {
  cursor: pointer; color: var(--accent); font-weight: 600; font-size: 14.5px;
  padding: 6px 0; list-style: none; user-select: none;
}
.bench-details > summary::before { content: "▸ "; }
.bench-details[open] > summary::before { content: "▾ "; }
.bench-method { color: var(--muted); font-size: 13px; margin: 8px 0 14px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.bench-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 560px; }
.bench-table th, .bench-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.bench-table thead th { color: var(--muted); font-weight: 600; background: var(--panel); }
.bench-table tbody tr:last-child td { border-bottom: 0; }
.bench-table td:first-child { color: var(--text); font-weight: 500; }
.bench-table .td-xcs { color: var(--accent); font-weight: 600; }
.bench-table .td-threads { color: var(--text); font-variant-numeric: tabular-nums; text-align: center; }
.bench-table th:nth-child(4) { text-align: center; }
.bench-table td { color: var(--muted); }

.subblock-title { font-size: 15px; font-weight: 600; margin: 22px 0 4px; }

/* 측정 환경(노트북 공개 + HPC 타깃 프레이밍) */
.env-box {
  margin-top: 22px; padding: 18px 20px; border-radius: var(--radius);
  background: var(--bg-alt); border: 1px solid var(--line);
  display: flex; gap: 16px; align-items: flex-start;
}
.env-badge {
  flex: 0 0 auto; font-size: 12px; font-weight: 700; letter-spacing: .03em;
  color: var(--muted); background: var(--panel); border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 12px; margin-top: 2px;
}
.env-specs { margin: 0 0 6px; color: var(--text); font-size: 14px; font-weight: 500; }
.env-note { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
