:root {
  --bg: #08090d;
  --bg-elev: #0e1117;
  --bg-card: #12161e;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f6f8;
  --muted: #9aa3b2;
  --dim: #6e7787;
  --teal: #5eead4;
  --teal-2: #2dd4bf;
  --purple: #a78bfa;
  --green: #34d399;
  --amber: #fbbf24;
  --red: #f87171;
  --max: 1120px;
  --radius: 16px;
  --sans: Inter, "Noto Sans KR", ui-sans-serif, system-ui, sans-serif;
  --display: Syne, Inter, "Noto Sans KR", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.skip {
  position: absolute; left: -999px; top: 8px;
}
.skip:focus { left: 8px; background: #fff; color: #000; padding: 8px 12px; z-index: 100; }

/* background atmosphere */
.glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(900px 480px at 15% -10%, rgba(45, 212, 191, 0.10), transparent 55%),
    radial-gradient(700px 420px at 90% 8%, rgba(167, 139, 250, 0.10), transparent 50%),
    linear-gradient(180deg, #08090d 0%, #08090d 100%);
}
.glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
}

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
main, header, footer { position: relative; z-index: 1; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(8, 9, 13, 0.72);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 650; letter-spacing: -0.02em;
  font-size: 15px;
}
.brand img, .brand svg { width: 28px; height: 28px; }
.nav {
  display: flex; gap: 18px; margin-left: 12px;
  font-size: 13.5px; color: var(--muted);
}
.nav a { text-decoration: none; }
.nav a:hover { color: var(--text); }
.header-right {
  margin-left: auto;
  display: flex; align-items: center; gap: 12px;
}
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid rgba(94, 234, 212, 0.35);
  background: rgba(16, 40, 36, 0.7);
  color: var(--teal);
  font-size: 12px;
  font-weight: 550;
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0.01em;
}
.pill::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal-2);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.18);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary {
  background: var(--text);
  color: #0b0d10;
}
.btn.primary:hover { background: #fff; }
.btn.ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255,255,255,0.03);
}
.btn.ghost:hover { border-color: rgba(255,255,255,0.28); }
.btn.small { padding: 7px 12px; font-size: 13px; }

/* hero */
.hero {
  padding: 88px 0 36px;
  text-align: left;
}
.kicker {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--teal);
  font-weight: 500;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
h1 {
  font-family: var(--display);
  font-weight: 750;
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 0 0 22px;
  max-width: 16ch;
}
.lede {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
  max-width: 46rem;
  margin: 0 0 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.waitlist {
  margin: 18px 0 0;
  color: var(--dim);
  font-size: 13px;
}

/* figures */
.preview, .diagram {
  margin: 48px 0 0;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.preview img, .diagram img { width: 100%; }
figcaption {
  font-size: 12.5px;
  color: var(--dim);
  padding: 12px 16px 14px;
  border-top: 1px solid var(--line);
  letter-spacing: 0.01em;
}

/* sections */
section.block { padding: 88px 0 0; }
section.block h2 {
  font-family: var(--display);
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0 0 16px;
}
.section-lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 46rem;
  margin: 0 0 36px;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 12px;
  font-weight: 500;
}

/* incident */
.incident {
  border: 1px solid rgba(248, 113, 113, 0.28);
  background: linear-gradient(180deg, rgba(248,113,113,0.08), rgba(248,113,113,0.03));
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 0 0 40px;
}
.incident strong { color: #fecaca; font-weight: 650; }
.incident p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.incident .count {
  font-family: var(--display);
  font-size: 42px;
  letter-spacing: -0.04em;
  color: #fecaca;
  line-height: 1;
  margin: 0 0 6px;
}

/* cards */
.grid {
  display: grid;
  gap: 14px;
}
.grid.five { grid-template-columns: repeat(5, 1fr); }
.grid.two { grid-template-columns: 1fr 1fr; }
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 18px 16px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.card p { margin: 0; color: var(--muted); font-size: 13.5px; }

/* pipeline */
.pipeline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 28px;
}
.step {
  font-family: var(--mono);
  font-size: 12px;
  background: #161b24;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 8px 11px;
  color: var(--text);
}
.step.accent { border-color: rgba(94,234,212,0.35); color: var(--teal); }
.arrow { color: var(--dim); font-size: 14px; }
.subrow { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip {
  font-size: 12.5px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  border-radius: 999px;
  padding: 6px 11px;
  color: var(--muted);
}
.chip.ui { color: var(--text); border-color: rgba(167,139,250,0.3); background: rgba(167,139,250,0.08); }
.chip.adapt { color: var(--teal); border-color: rgba(94,234,212,0.22); }

/* roadmap */
.timeline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.time-card { padding: 22px; }
.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 12px;
  font-weight: 500;
}
.tag.now { background: rgba(52,211,153,0.12); color: var(--green); border: 1px solid rgba(52,211,153,0.28); }
.tag.next { background: rgba(167,139,250,0.12); color: var(--purple); border: 1px solid rgba(167,139,250,0.28); }
.time-card ul { margin: 12px 0 0; padding: 0 0 0 18px; color: var(--muted); }
.time-card li { margin: 6px 0; }

/* pricing */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.price {
  padding: 26px 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--bg-card);
}
.price.paid {
  border-color: rgba(94,234,212,0.28);
  background: linear-gradient(180deg, rgba(45,212,191,0.07), rgba(18,22,30,0.9));
}
.price .plan {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 8px;
}
.price h3 { font-family: var(--display); font-size: 28px; letter-spacing: -0.03em; margin: 0 0 10px; }
.price p, .price li { color: var(--muted); }
.price ul { margin: 12px 0 0; padding: 0 0 0 18px; }
.planned-note { margin: 14px 0 0; color: var(--dim); font-size: 13px; }

/* footer */
.site-footer {
  margin-top: 100px;
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
  color: var(--dim);
  font-size: 13.5px;
}
.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
}
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

@media (max-width: 900px) {
  .grid.five { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .timeline, .price-grid, .grid.two { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  h1 { max-width: none; }
}
@media (max-width: 560px) {
  .grid.five { grid-template-columns: 1fr; }
  .wrap, .header-inner, .footer-inner { width: calc(100% - 28px); }
  .pill { display: none; }
  section.block { padding-top: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
