:root {
  --bg: #05080b;
  --panel: #121920;
  --line: #1e2a36;
  --text: #e8eef4;
  --muted: #8b98a7;
  --mint: #12b886;
  --mint2: #63e6be;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* top nav */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 32px;
  transition: background .3s;
}
.top.scrolled { background: rgba(5, 8, 11, .72); backdrop-filter: blur(12px); }
.logo { font-weight: 800; letter-spacing: -.02em; font-size: 18px; }
.logo span { color: var(--mint); font-weight: 600; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px;
  border: 1px solid transparent;
  transition: transform .2s, background .2s, border-color .2s, color .2s;
}
.btn.primary { background: var(--mint); color: #06110d; }
.btn.primary:hover { transform: translateY(-2px); background: var(--mint2); }
.btn.ghost { border-color: rgba(255, 255, 255, .18); color: var(--text); }
.btn.ghost:hover { border-color: var(--mint); color: var(--mint2); }
.top .btn { padding: 9px 16px; font-size: 14px; }
.top-links { display: flex; gap: 8px; }

/* hero */
.hero {
  user-select: none; -webkit-user-select: none;
  position: relative; min-height: 100vh;
  display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(ellipse at 50% 40%, #0a1711 0%, var(--bg) 62%);
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 28vh;
  background: linear-gradient(transparent, var(--bg)); pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; text-align: center; padding: 0 24px; max-width: 820px; }
.hero-inner::before {
  content: ""; position: absolute; inset: -18% -12%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(5, 8, 11, .85), rgba(5, 8, 11, 0));
}
.eyebrow {
  color: var(--mint); font-weight: 700; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(46px, 8vw, 100px); line-height: 1.02;
  font-weight: 900; letter-spacing: -.04em; color: #ffffff;
  text-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #20d49b, #96f5d6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.actions { display: flex; gap: 12px; margin-top: calc(56px + clamp(24px, 3vw, 30px)); justify-content: center; flex-wrap: wrap; }

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .3); border-radius: 14px; z-index: 1;
}
.scroll-hint i {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--mint); animation: wheel 1.6s infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}

/* sections */
.section { max-width: 1040px; margin: 0 auto; padding: 110px 24px; }
.section-head { margin-bottom: 44px; }
.section h2 { font-size: clamp(32px, 4.5vw, 52px); font-weight: 900; letter-spacing: -.03em; }

.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: calc(var(--i, 0) * 45ms);
}
.reveal.in { opacity: 1; transform: none; }

/* steps */
.steps { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.step {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel);
  transition: border-color .2s, transform .2s, opacity .7s ease;
}
.step.in:hover { border-color: var(--mint); transform: translateY(-3px); }
.step .num {
  font-variant-numeric: tabular-nums; font-weight: 800; font-size: 13px;
  color: var(--mint); background: rgba(18, 184, 134, .12);
  padding: 4px 8px; border-radius: 8px; min-width: 40px; text-align: center; margin-top: 2px;
}
.step.read .num { color: var(--muted); background: rgba(139, 152, 167, .14); }
.step h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.step p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.legend { margin-top: 20px; color: var(--muted); font-size: 13px; display: flex; gap: 8px; align-items: center; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.legend i.read { background: rgba(139, 152, 167, .6); }
.legend i.code { background: var(--mint); margin-left: 10px; }

/* result mock */
.browser {
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: #fff; color: #212529;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; background: #161d26; border-bottom: 1px solid var(--line);
}
.chrome i { width: 11px; height: 11px; border-radius: 50%; }
.chrome i:nth-child(1) { background: #ff5f57; }
.chrome i:nth-child(2) { background: #febc2e; }
.chrome i:nth-child(3) { background: #28c840; }
.chrome span {
  flex: 1; margin-left: 10px; text-align: center;
  background: #0f141b; color: var(--muted); font-size: 12px; padding: 5px 10px; border-radius: 6px;
}

.blog { font-size: 14px; }
.blog-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 32px; }
.blog-logo { font-family: "Fira Mono", ui-monospace, Menlo, Consolas, monospace; font-weight: 700; font-size: 22px; }
.blog-tools { display: flex; align-items: center; gap: 14px; }
.blog-tools .icon {
  width: 36px; height: 36px; border-radius: 50%; background: #f1f3f5;
  display: grid; place-items: center; font-size: 18px;
}
.blog-tools .write { padding: 6px 16px; border: 1px solid #212529; border-radius: 999px; font-weight: 700; }
.blog-tools .avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #12b886, #63e6be); }
.blog-tabs { display: flex; gap: 28px; padding: 6px 32px 0; border-bottom: 1px solid #f1f3f5; }
.blog-tabs span { padding: 10px 4px; color: #868e96; font-weight: 600; }
.blog-tabs .on { color: #212529; border-bottom: 2px solid #212529; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 32px; background: #f8f9fa; }
.card {
  background: #fff; border-radius: 6px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .04);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 12px 20px rgba(0, 0, 0, .1); }
.thumb { aspect-ratio: 16 / 9; }
.thumb.t1 { background: linear-gradient(135deg, #12b886, #0b7a58 60%, #063d2c); }
.thumb.t2 { background: linear-gradient(135deg, #4c6ef5, #364fc7 60%, #1b2a6b); }
.thumb.t3 { background: linear-gradient(135deg, #f59f00, #e8590c 60%, #862e9c); }
.card .body { padding: 16px; }
.card h4 { font-size: 16px; margin-bottom: 8px; }
.card p { color: #495057; font-size: 14px; line-height: 1.5; height: 63px; overflow: hidden; margin-bottom: 12px; }
.card .meta { font-size: 12px; color: #868e96; }
.card .foot {
  display: flex; justify-content: space-between;
  padding: 10px 16px; border-top: 1px solid #f1f3f5; font-size: 12px; color: #868e96;
}
.card .foot b { color: #212529; }

footer { padding: 40px 24px 60px; text-align: center; color: var(--muted); font-size: 13px; }

@media (max-width: 720px) {
  .top { padding: 14px 18px; }
  .steps { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; padding: 20px; }
  .blog-head, .blog-tabs { padding-left: 18px; padding-right: 18px; }
  .section { padding: 80px 18px; }
}
