:root {
  color-scheme: light;
  --paper: #fff;
  --surface: #f9fafb;
  --fill: #f2f4f6;
  --tint: #e8f3ff;
  --line: #e5e8eb;
  --ink: #191f28;
  --ink-2: #333d4b;
  --muted: #4e5968;
  --subtle: #8b95a1;
  --accent: #3182f6;
  --accent-hover: #1b64da;
  --accent-ink: #1b64da;
  --deep: #0b3fb8;
  --night: #17171c;
  --focus: #1b64da;
  --radius-card: 24px;
  --radius-visual: 40px;
  --page-width: 1120px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  font-family: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 88px; }
body { margin: 0; overflow-x: clip; }
main:focus { outline: none; }
h1, h2, h3, p, figure, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, p, summary, dd, dt { word-break: keep-all; overflow-wrap: break-word; }
a { color: inherit; text-underline-offset: .19em; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
img { display: block; width: 100%; height: auto; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 20;
  padding: 8px 15px;
  background: var(--paper);
  border-radius: 10px;
}

.wrap { width: min(var(--page-width), calc(100% - 64px)); margin-inline: auto; }

/* ---------- header ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 11;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #7cc0ff);
  transform: scaleX(var(--progress, 0));
  transform-origin: 0 50%;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  background: #fffc;
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 6px 24px #191f280a; }

.navbar, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.navbar { min-height: 64px; }
.navbar a { text-decoration: none; }

.brand { display: inline-flex; gap: 9px; align-items: center; font-size: 1.08rem; letter-spacing: -.03em; }
.brand-mark {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: linear-gradient(140deg, #5aa2ff, var(--accent) 55%, var(--deep));
  transition: transform .5s var(--spring);
}
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.08); }
.brand-mark::before, .brand-mark::after {
  content: "";
  position: absolute;
  top: 12px;
  width: 11px;
  height: 2px;
  border-radius: 4px;
  background: #fff;
}
.brand-mark::before { left: 5px; transform: rotate(-52deg); }
.brand-mark::after { right: 5px; transform: rotate(52deg); }

.navbar nav, .footer-inner > div {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.4vw, 18px);
  font-size: .95rem;
  font-weight: 500;
  color: var(--muted);
}
.navbar nav a { padding: 8px 12px; border-radius: 10px; transition: background .2s, color .2s; }
.navbar nav a:hover { background: var(--fill); color: var(--ink); }
.navbar nav a.is-current { color: var(--accent-ink); background: var(--tint); }
.footer-inner a:hover { color: var(--accent-ink); }

/* ---------- buttons ---------- */
.button, .copy-button {
  position: relative;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 8px;
  padding: 10px 18px;
  border: 0;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s var(--ease), background .2s, box-shadow .25s;
}
.button { background: var(--accent); color: #fff; }
.button:hover { background: var(--accent-hover); box-shadow: 0 10px 24px #3182f640; transform: translateY(-2px); }
.button:active, .copy-button:active { transform: scale(.96); }
.button span { display: inline-block; transition: transform .3s var(--spring); }
.button:hover span { transform: translateY(3px); }
.button--large { min-height: 56px; padding-inline: 26px; border-radius: 18px; font-size: 1.06rem; }
.button--small { min-height: 38px; padding-inline: 14px; border-radius: 11px; font-size: .88rem; background: var(--tint); color: var(--accent-ink); }
.button--small:hover { background: #d3e7ff; box-shadow: none; }
.button--quiet { background: #ffffffb8; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.button--quiet:hover { background: #fff; box-shadow: inset 0 0 0 1px #c9d1da, 0 10px 24px #191f2812; }
.button--invert { background: #fff; color: var(--accent-ink); }
.button--invert:hover { background: #fff; box-shadow: 0 12px 30px #06225c59; }
.copy-button {
  min-height: 36px;
  min-width: 62px;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: .84rem;
  background: var(--paper);
  color: var(--accent-ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.copy-button:hover { background: var(--tint); }
.copy-button.is-done { background: var(--accent); color: #fff; box-shadow: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  width: min(1480px, calc(100% - 32px));
  margin: 8px auto 0;
  text-align: center;
  border-radius: 44px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #f3f8ff 0, #e6f0ff 100%);
  padding: clamp(56px, 6.4vw, 96px) 16px clamp(28px, 3vw, 44px);
}
.hero-aurora { position: absolute; inset: 0; z-index: -1; filter: blur(70px); }
.hero-aurora i { position: absolute; border-radius: 50%; }
.hero-aurora i:nth-child(1) { width: 46%; aspect-ratio: 1; left: -8%; top: 22%; background: #b7d6ff; }
.hero-aurora i:nth-child(2) { width: 40%; aspect-ratio: 1; right: -6%; top: -8%; background: #d9d3ff; }
.hero-aurora i:nth-child(3) { width: 52%; aspect-ratio: 1.4; left: 24%; bottom: -22%; background: #9cc8ff; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 7px 14px 7px 12px;
  border-radius: 99px;
  background: #ffffffb3;
  box-shadow: inset 0 0 0 1px #ffffffd9, 0 4px 14px #1b64da14;
  color: var(--accent-ink);
  font-size: .86rem;
  font-weight: 650;
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); }

h1 {
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 6.6vw, 5.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.045em;
}
h1 .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
h1 .line > span { display: block; }
h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent) 10%, #5a6bff 50%, var(--accent) 90%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description, .section-heading > p:last-child {
  max-width: 36rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.24rem);
  line-height: 1.62;
}
.hero-description { max-width: 42rem; margin-inline: auto; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.hero-visual { position: relative; width: min(100%, 620px); margin: clamp(8px, 2vw, 24px) auto 0; }
.hero-halo {
  position: absolute;
  inset: 12% 6% 2%;
  border-radius: 50%;
  background: radial-gradient(closest-side, #ffffffe6, #ffffff00);
}
.visual-layer {
  position: relative;
  transform: perspective(900px) translate3d(var(--mx, 0px), var(--my, 0px), 0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease);
}
.visual-layer img { filter: drop-shadow(0 30px 28px #1b52c133); }

.hero-chips { position: absolute; inset: 0; pointer-events: none; }
.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 12px;
  border-radius: 99px;
  background: #ffffffc7;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px #fff, 0 12px 28px #1b52c11f;
  color: var(--ink-2);
  font-size: .9rem;
  font-weight: 650;
  white-space: nowrap;
}
.chip i { width: 18px; height: 18px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain; }
.chip--1 { left: -14%; top: 22%; }
.chip--2 { right: -13%; top: 12%; }
.chip--3 { left: -9%; bottom: 20%; }
.chip--4 { right: -15%; bottom: 30%; }

.hero-stats {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 0;
  margin-top: clamp(8px, 2vw, 20px);
  padding: 14px 8px;
  border-radius: 22px;
  background: #ffffff99;
  box-shadow: inset 0 0 0 1px #ffffffd9;
  text-align: center;
}
.hero-stats > div { display: flex; flex-direction: column-reverse; padding-inline: clamp(18px, 3vw, 38px); }
.hero-stats > div + div { border-left: 1px solid #1b64da1f; }
.hero-stats dt { color: var(--muted); font-size: .84rem; }
.hero-stats dd { font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hero-stats dd span { color: var(--accent-ink); }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  padding-block: 26px 0;
  -webkit-mask-image: linear-gradient(90deg, #0000, #000 12%, #000 88%, #0000);
  mask-image: linear-gradient(90deg, #0000, #000 12%, #000 88%, #0000);
}
.marquee-track { display: flex; width: max-content; gap: 10px; padding-right: 10px; }
.marquee span {
  padding: 9px 18px;
  border-radius: 99px;
  background: var(--fill);
  color: var(--muted);
  font-size: .93rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- sections ---------- */
.section { padding-block: clamp(72px, 9.5vw, 140px); }
.section--tinted { background: var(--surface); }
.section-heading { margin-bottom: 36px; }
.section-heading--center { text-align: center; }
.section-heading--center > p:last-child { margin-inline: auto; }
.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 99px;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink-2);
  font-size: .9rem;
  font-weight: 650;
}
.section-heading h2, .cta h2 {
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.26;
  letter-spacing: -.04em;
  font-weight: 750;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
}
.split .section-heading { margin-bottom: 0; }

/* ---------- demo window ---------- */
.demo {
  position: relative;
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--line), 0 30px 70px -20px #1b52c133, 0 12px 26px -12px #191f2814;
  overflow: hidden;
}
.demo-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.demo-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d1d6db; }
.demo-bar span { margin-left: 8px; color: var(--subtle); font: 500 .8rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.demo-body { display: grid; gap: 16px; padding: clamp(16px, 2.4vw, 26px); }

.demo-prompt {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-left: auto;
  max-width: 94%;
  padding: 14px 14px 14px 18px;
  border-radius: 22px 22px 6px 22px;
  background: var(--accent);
  color: #fff;
}
#sample-prompt { min-height: 3.2em; font-size: .98rem; font-weight: 550; line-height: 1.6; }
#sample-prompt.is-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -.16em;
  background: #fff;
}
.demo-prompt .copy-button { background: #ffffff2e; color: #fff; box-shadow: none; }
.demo-prompt .copy-button:hover { background: #ffffff4d; }
.demo-prompt .copy-button.is-done { background: #fff; color: var(--accent-ink); }

.demo-agents { display: flex; flex-wrap: wrap; gap: 7px; }
.demo-agents li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px 7px 9px;
  border-radius: 99px;
  background: var(--tint);
  color: var(--accent-ink);
  font-size: .84rem;
  font-weight: 650;
  transition: opacity .35s, transform .45s var(--spring), background .3s, color .3s;
}
.demo-agents li::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain;
}
.demo-agents li.is-wait { opacity: 0; transform: translateY(8px) scale(.9); }
.demo-agents li.is-busy { background: var(--fill); color: var(--muted); }
.demo-agents li.is-busy::before { background: none; border: 2px solid #c4ccd6; border-top-color: var(--accent); }

.demo-report {
  padding: clamp(16px, 2.2vw, 24px);
  border-radius: 20px;
  background: var(--surface);
  transition: opacity .5s, transform .6s var(--ease);
}
.demo-report.is-wait { opacity: 0; transform: translateY(14px); }
.demo-report header p { color: var(--accent-ink); font-size: .86rem; font-weight: 700; }
.demo-report h3 { margin: 2px 0 12px; font-size: clamp(1.2rem, 2.2vw, 1.6rem); letter-spacing: -.035em; }
.demo-report dl > div {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 10px;
  padding-block: 10px;
  border-top: 1px solid var(--line);
  font-size: .93rem;
  transition: opacity .45s, transform .5s var(--ease);
}
.demo-report dl > div.is-wait { opacity: 0; transform: translateX(-10px); }
.demo-report dt { font-weight: 700; }
.demo-report dd { color: var(--muted); }
.demo-replay {
  position: absolute;
  top: 8px;
  right: 10px;
  padding: 5px 10px;
  border: 0;
  border-radius: 9px;
  background: none;
  color: var(--subtle);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
}
.demo-replay:hover { background: var(--fill); color: var(--ink-2); }

/* ---------- feature showcase ---------- */
.showcase {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(28px, 6vw, 96px);
  margin-top: clamp(72px, 9vw, 130px);
}
.showcase-visual, .local-visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 7 / 9;
  max-height: 600px;
  width: 100%;
  border-radius: var(--radius-visual);
  overflow: hidden;
  background: linear-gradient(160deg, #4a93ff, #2f6fe8 60%, #2456c9);
  transition: background .6s;
}
.showcase-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--v1, #4a93ff), var(--v2, #2456c9));
  transition: opacity .7s;
}
.showcase-visual img {
  position: relative;
  width: 78%;
  filter: drop-shadow(0 30px 30px #0a2a7a66);
  transition: rotate .9s var(--spring), scale .9s var(--spring);
  rotate: var(--tilt, 0deg);
  scale: var(--zoom, 1);
}
.showcase-visual[data-active="1"] { --v1: #5b7cff; --v2: #3a3fd1; --tilt: -7deg; --zoom: 1.05; }
.showcase-visual[data-active="2"] { --v1: #2f9bff; --v2: #1668d6; --tilt: 6deg; --zoom: .97; }
.showcase-visual[data-active="3"] { --v1: #6aa8ff; --v2: #2b61d9; --tilt: -3deg; --zoom: 1.08; }

.feature { position: relative; border-bottom: 1px solid var(--line); }
.feature h3 { font-size: inherit; }
.feature button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 6px;
  border: 0;
  background: none;
  color: var(--subtle);
  font-size: clamp(1.25rem, 2.3vw, 1.75rem);
  font-weight: 750;
  letter-spacing: -.035em;
  text-align: left;
  cursor: pointer;
  transition: color .3s, padding .4s var(--ease);
}
.feature button::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform .4s var(--ease);
}
.feature button:hover, .feature.is-active button { color: var(--ink); }
.feature.is-active button::after { transform: translateY(4px) rotate(225deg); }
.feature-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.feature-body > p {
  overflow: hidden;
  padding-inline: 6px;
  color: var(--muted);
  font-size: 1.06rem;
  opacity: 0;
  transition: opacity .4s, padding .5s var(--ease);
}
.feature.is-active .feature-body { grid-template-rows: 1fr; }
.feature.is-active .feature-body > p { opacity: 1; padding-bottom: 26px; }
.feature-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* ---------- cards ---------- */
.card-grid, .setup-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.setup-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.tool-card, .setup-card, .data-path {
  position: relative;
  border-radius: var(--radius-card);
  background: var(--fill);
  padding: clamp(20px, 2.4vw, 30px);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s, background .3s;
}
.glow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 0%), #3182f629, transparent 70%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.glow-card:hover { transform: translateY(-6px); background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -18px #1b52c138; }
.glow-card:hover::before { opacity: 1; }
.card-index { display: block; margin-bottom: clamp(28px, 4vw, 56px); color: var(--accent); font-size: .92rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.tool-card h3, .setup-card h3, .data-path h3 {
  position: relative;
  margin-bottom: 8px;
  font-size: clamp(1.12rem, 1.7vw, 1.36rem);
  line-height: 1.36;
  letter-spacing: -.035em;
  font-weight: 750;
}
.tool-card p, .setup-card p, .data-path p, .setup-notes p { position: relative; color: var(--muted); font-size: .98rem; }

.heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.heading-visual { flex: none; width: clamp(150px, 22vw, 270px); margin: 0 3% 12px 0; }
.heading-visual img { filter: drop-shadow(0 22px 22px #1b52c12e); }

.command {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  padding: 9px 9px 9px 16px;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  min-width: 0;
}
.command > div { min-width: 0; }
.command--install { margin-top: 16px; padding: 18px 18px 18px 26px; border-radius: var(--radius-card); background: var(--night); box-shadow: none; color: #fff; }
.command--install p { font-weight: 700; }
.command--install span { margin-left: 7px; color: #9aa4b2; font-size: .8rem; font-weight: 500; }
.command--install code { color: #8cc2ff; }
.command--install code::before { content: "$ "; color: #6b7684; }
.command--install .copy-button { background: #ffffff1f; color: #fff; box-shadow: none; }
.command--install .copy-button:hover { background: #ffffff33; }
code { color: var(--accent-ink); font: 500 .88rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }

/* ---------- local ---------- */
.local-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; gap: clamp(28px, 6vw, 96px); }
.local-visual { background: linear-gradient(165deg, #eef4ff, #dbe8ff); }
.local-visual img { width: 84%; filter: drop-shadow(0 26px 26px #1b52c12e); }
.local-paths { display: grid; gap: 12px; }
.data-path { background: var(--paper); padding-left: clamp(54px, 6vw, 72px); }
.data-path::before {
  content: "";
  position: absolute;
  left: clamp(18px, 2.2vw, 26px);
  top: clamp(22px, 2.5vw, 32px);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain;
}
.data-path:hover { transform: translateX(6px); box-shadow: 0 16px 36px -18px #1b52c133; }

/* ---------- setup + cta ---------- */
.setup-notes { margin-top: 22px; text-align: center; }
.setup-notes p + p { margin-top: 4px; }
.cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: center;
  margin-top: clamp(48px, 6vw, 84px);
  padding: clamp(32px, 5vw, 68px);
  border-radius: var(--radius-visual);
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(120deg, #2f7df4, #2a5fe0 55%, #3b46d6);
  color: #fff;
}
.cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 60%;
  aspect-ratio: 1;
  right: -10%;
  top: -40%;
  border-radius: 50%;
  background: radial-gradient(closest-side, #8cc2ff99, #8cc2ff00);
}
.cta h2 { margin-bottom: 8px; }
.cta p { margin-bottom: 26px; color: #d6e6ff; font-size: 1.05rem; }
.cta img { width: min(100%, 300px); justify-self: center; margin-block: -6% -10%; filter: drop-shadow(0 26px 26px #06225c66); }

.site-footer { background: var(--surface); }
.footer-inner { padding-block: 26px; font-size: .9rem; }
.footer-inner p span { margin-left: 6px; color: var(--muted); }

/* ---------- origin (how it was made) ---------- */
.recipe { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: clamp(10px, 1.6vw, 20px); }
.recipe-card { border-radius: var(--radius-visual); background: var(--paper); padding: clamp(24px, 3.4vw, 44px); }
.recipe-card--accent { background: linear-gradient(150deg, #2f7df4, #2a5fe0 60%, #3b46d6); color: #fff; }
.recipe-count { color: var(--accent); font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.recipe-card--accent .recipe-count { color: #fff; }
.recipe-card h3 { margin: 12px 0 8px; font-size: clamp(1.25rem, 2.1vw, 1.6rem); letter-spacing: -.035em; font-weight: 750; }
.recipe-card > p:not(.recipe-count) { color: var(--muted); }
.recipe-card--accent > p:not(.recipe-count) { color: #d6e6ff; }
.recipe-op {
  align-self: center;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
}
.repo-list { display: grid; gap: 8px; margin-top: 22px; }
.repo-list a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 12px;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--fill);
  font-weight: 700;
  text-decoration: none;
  transition: background .25s, transform .35s var(--ease), box-shadow .35s;
}
.repo-list a span { color: var(--muted); font-size: .86rem; font-weight: 500; }
.repo-list a:hover { background: var(--tint); transform: translateX(6px); box-shadow: inset 0 0 0 1px #3182f640; }
.skill-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.skill-chips li {
  padding: 8px 13px;
  border-radius: 99px;
  background: #ffffff24;
  box-shadow: inset 0 0 0 1px #ffffff33;
  font: 500 .82rem/1.3 ui-monospace, SFMono-Regular, Consolas, monospace;
  transition: background .25s, transform .35s var(--spring);
}
.skill-chips li:hover { background: #ffffff40; transform: translateY(-3px); }
.recipe-result { margin-top: clamp(22px, 3vw, 36px); text-align: center; font-size: clamp(1.2rem, 2.3vw, 1.7rem); font-weight: 750; letter-spacing: -.035em; }
.recipe-result span { margin-right: 8px; color: var(--accent); }
.recipe-result small { display: block; margin-top: 6px; color: var(--muted); font-size: .95rem; font-weight: 500; letter-spacing: 0; }

/* ---------- grow (drive + wiki) ---------- */
.section--sky { background: linear-gradient(180deg, #f3f8ff, #eaf2ff); }
.grow-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: clamp(28px, 6vw, 96px); }
.grow-steps { display: grid; gap: 12px; counter-reset: step; }
.grow-steps li {
  position: relative;
  counter-increment: step;
  padding: clamp(18px, 2.2vw, 26px) clamp(18px, 2.2vw, 26px) clamp(18px, 2.2vw, 26px) clamp(64px, 6.4vw, 80px);
  border-radius: var(--radius-card);
  background: #ffffffcc;
  box-shadow: inset 0 0 0 1px #fff;
  transition: transform .45s var(--ease), box-shadow .45s;
}
.grow-steps li::before {
  content: counter(step);
  position: absolute;
  left: clamp(18px, 2.2vw, 26px);
  top: clamp(18px, 2.2vw, 26px);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}
.grow-steps li:hover { transform: translateX(6px); box-shadow: inset 0 0 0 1px #fff, 0 16px 36px -18px #1b52c140; }
.grow-steps h3 { margin-bottom: 4px; font-size: clamp(1.1rem, 1.7vw, 1.3rem); letter-spacing: -.035em; font-weight: 750; }
.grow-steps p { color: var(--muted); font-size: .98rem; }
.command--ask { margin-top: 14px; padding: 14px 12px 14px 20px; border-radius: 20px 20px 20px 6px; background: var(--accent); box-shadow: none; color: #fff; }
.command--ask p { font-weight: 550; }
.command--ask .copy-button { background: #ffffff2e; color: #fff; box-shadow: none; }
.command--ask .copy-button:hover { background: #ffffff4d; }
.command--ask .copy-button.is-done { background: #fff; color: var(--accent-ink); }

.wiki-visual { position: relative; padding-bottom: 96px; }
.wiki-visual img { width: 86%; margin-inline: auto; filter: drop-shadow(0 28px 28px #1b52c133); }
.drive-stack { position: absolute; left: 6%; right: 6%; bottom: 0; height: 132px; }
.drive-stack li {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 0 0 1px #e5e8eb, 0 18px 36px -18px #1b52c14d;
  font-size: .95rem;
  transform-origin: 50% 100%;
  transition: transform .9s var(--spring), opacity .6s;
}
.drive-stack li:nth-child(1) { transform: translateY(-36px) scale(.88); opacity: .6; }
.drive-stack li:nth-child(2) { transform: translateY(-18px) scale(.94); opacity: .85; }
.drive-stack i { flex: none; width: 26px; height: 20px; border-radius: 5px 7px 6px 6px; background: linear-gradient(160deg, #7cc0ff, var(--accent)); }
.drive-stack b { font-weight: 700; }
.drive-stack span { margin-left: auto; color: var(--muted); font-size: .84rem; }

@media (prefers-reduced-motion: no-preference) {
  .wiki-visual img { animation: bob 7s ease-in-out infinite; }
  .js .wiki-visual:not(.is-in) .drive-stack li { transform: translateY(40px) scale(.8); opacity: 0; }
  .wiki-visual .drive-stack li:nth-child(1) { transition-delay: .55s; }
  .wiki-visual .drive-stack li:nth-child(2) { transition-delay: .4s; }
  .wiki-visual .drive-stack li:nth-child(3) { transition-delay: .25s; }
  .js .recipe-op { rotate: -180deg; }
  .js .recipe-op.is-in { rotate: 0deg; transition: opacity .8s var(--ease), translate .9s var(--ease), scale .9s var(--ease), rotate 1s var(--spring); transition-delay: calc(var(--i, 0) * 90ms); }
}

@media (max-width: 700px) {
  .recipe, .grow-layout { grid-template-columns: 1fr; }
  .recipe-op { justify-self: center; }
  .wiki-visual img { width: 62%; }
  .wiki-visual { margin-top: 8px; }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .js [data-reveal] {
    opacity: 0;
    translate: 0 32px;
    scale: .985;
    transition: opacity .8s var(--ease), translate .9s var(--ease), scale .9s var(--ease), transform .45s var(--ease), box-shadow .45s, background .3s;
    transition-delay: calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), 0s, 0s, 0s;
  }
  .js [data-reveal].is-in { opacity: 1; translate: none; scale: none; }

  h1 .line > span { animation: rise 1s var(--ease) both; }
  h1 .line:nth-child(2) > span { animation-delay: .12s; }
  h1 em { animation: sheen 6s linear 1s infinite; }
  .hero-badge { animation: fade-up .8s var(--ease) both; }
  .hero-description { animation: fade-up .9s var(--ease) .28s both; }
  .hero-actions { animation: fade-up .9s var(--ease) .4s both; }
  .hero-stats { animation: fade-up .9s var(--ease) .75s both; }
  .hero-visual { animation: pop 1.2s var(--ease) .35s both; }
  .visual-layer img { animation: bob 6s ease-in-out 1.4s infinite; }
  .hero-halo { animation: breathe 6s ease-in-out infinite; }
  .pulse::after { animation: ping 2s ease-out infinite; }

  .chip { animation: chip-in .8s var(--spring) both, drift 7s ease-in-out infinite; }
  .chip--1 { animation-delay: .9s, 1.7s; }
  .chip--2 { animation-delay: 1.05s, 1.85s; animation-duration: .8s, 8s; }
  .chip--3 { animation-delay: 1.2s, 2s; animation-duration: .8s, 9s; }
  .chip--4 { animation-delay: 1.35s, 2.15s; animation-duration: .8s, 7.5s; }

  .hero-aurora i { animation: wander 16s ease-in-out infinite alternate; }
  .hero-aurora i:nth-child(2) { animation-duration: 20s; animation-direction: alternate-reverse; }
  .hero-aurora i:nth-child(3) { animation-duration: 24s; }

  .marquee-track { animation: marquee 38s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }

  .demo-agents li.is-busy::before { animation: spin .7s linear infinite; }
  #sample-prompt.is-typing::after { animation: blink .9s steps(1) infinite; }

  .feature-list.is-live .feature.is-active .feature-progress { animation: fill 5.5s linear forwards; }
  .feature-list:hover .feature-progress, .feature-list:focus-within .feature-progress { animation-play-state: paused; }

  .cta img, .heading-visual img, .local-visual img, .team-visual img { animation: bob 7s ease-in-out infinite; }
  [data-parallax] { translate: 0 var(--py, 0px); }
}

@keyframes rise { from { transform: translateY(110%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(60px) scale(.86); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(1.2deg); } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.1); opacity: .55; } }
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(3.2); opacity: 0; } }
@keyframes chip-in { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes wander { from { transform: translate(0, 0) scale(1); } to { transform: translate(9%, -7%) scale(1.18); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes sheen { to { background-position: -220% 0; } }
@keyframes spin { to { transform: rotate(1turn); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes fill { to { transform: scaleX(1); } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .chip--1, .chip--3 { left: 0; }
  .chip--2, .chip--4 { right: 0; }
}

@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-index { margin-bottom: 22px; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 112px; }
  .wrap { width: calc(100% - 40px); }
  .navbar { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding-top: 8px; }
  .navbar nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 2px; margin-inline: -8px; font-size: .88rem; }
  .navbar nav a { padding: 9px 8px; white-space: nowrap; }
  .hero { width: calc(100% - 20px); border-radius: 32px; padding: 44px 14px 24px; }
  .hero-actions { flex-direction: column; align-items: stretch; padding-inline: 6px; }
  .hero-visual { width: min(100%, 440px); margin-top: 26px; }
  .chip { padding: 7px 12px 7px 9px; font-size: .78rem; }
  .chip i { width: 15px; height: 15px; }
  .chip--1 { top: -4%; }
  .chip--2 { top: 4%; }
  .chip--3 { bottom: 4%; }
  .chip--4 { bottom: 14%; }
  .hero-stats { display: grid; margin-top: 22px; }
  .hero-stats > div { padding-inline: 12px; }
  .split, .showcase, .local-layout, .setup-grid, .cta { grid-template-columns: 1fr; }
  .showcase-visual, .local-visual { aspect-ratio: 5 / 4; border-radius: 30px; }
  .showcase-visual img, .local-visual img { width: 58%; }
  .heading-row { align-items: center; }
  .heading-visual { width: 104px; margin: 0; }
  .desktop-break { display: none; }
  .command--install { padding: 16px 14px 16px 18px; }
  .cta { border-radius: 30px; text-align: center; }
  .cta img { order: -1; width: 170px; margin-block: -8px 6px; }
  .footer-inner { flex-wrap: wrap; }
  .footer-inner > div { column-gap: 16px; }
}

@media (max-width: 380px) {
  .wrap { width: calc(100% - 32px); }
  .card-grid { gap: 10px; }
  .tool-card { padding: 16px 14px; }
  .heading-visual { display: none; }
}

/* 해설 방송 */
.broadcast-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.broadcast-player { margin: 0; }
.broadcast-player figcaption strong { color: var(--ink); margin-right: 6px; }
@media (max-width: 860px) { .broadcast-grid { grid-template-columns: 1fr; } }
.broadcast-player video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-card); background: var(--night); box-shadow: 0 24px 60px rgba(25, 31, 40, .14); }
.broadcast-player figcaption { margin-top: 14px; text-align: center; color: var(--muted); font-size: 15px; }
.broadcast-actions { justify-content: center; margin: 24px 0 8px; }
@media (max-width: 640px) { .broadcast-player { margin-top: 28px; } .broadcast-player video { border-radius: 16px; } }

.broadcast-choices { margin-top: 28px; }
.broadcast-choices + .command { margin-top: 16px; }
.broadcast-choices .report-group { background: #fff; }
