/* ===================================================
   OFFCUT — Tools for editors who actually edit.
   Design tokens & global styles
   =================================================== */

:root {
  /* Brand */
  --acc: #C5F542;            /* 채도 약간 낮춘 형광 라임 */
  --acc-dim: #9DBE36;
  --acc-soft: rgba(197, 245, 66, 0.15);
  --acc-glow: rgba(197, 245, 66, 0.35);

  /* Surface */
  --bg-0: #0A0A0A;
  --bg-1: #111111;
  --bg-2: #161616;
  --bg-3: #1C1C1C;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* Text */
  --tx-0: #F5F5F5;
  --tx-1: rgba(245, 245, 245, 0.72);
  --tx-2: rgba(245, 245, 245, 0.48);
  --tx-3: rgba(245, 245, 245, 0.32);

  /* Type */
  --ff-kr: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --ff-en: "Inter", "Pretendard Variable", system-ui, sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --container: 1240px;
  --pad-x: 24px;
  --radius: 14px;
  --radius-lg: 22px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* ── Aliases — 후기 SPA 섹션이 참조하던 미정의 변수들을 브랜드 토큰에 연결.
        (이전엔 인라인 폴백 #a3ff5f 둘째 그린 / 0s 트랜지션으로 떨어지고 있었음) ── */
  --accent:    var(--acc);
  --text:      var(--tx-0);
  --text-2:    var(--tx-1);
  --text-3:    rgba(245, 245, 245, 0.55); /* tx-3(0.32)는 대비 미달 → 가독 가능선으로 상향 */
  --border:    var(--line);
  --font-mono: var(--ff-mono);
  --dur-fast:  0.18s;
  --dur:       0.25s;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg-0);
  color: var(--tx-0);
  font-family: var(--ff-kr);
  font-feature-settings: "ss01", "cv01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.55;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; padding: 0; margin: 0; }

::selection { background: var(--acc); color: #000; }

/* 키보드 포커스 링 — 전역 (마우스 클릭 시엔 표시 안 됨) */
:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ===== Effects: Noise + Grid ===== */
.noise {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.6'/></svg>");
}

/* CRT-style scanlines — very subtle, slowly drifting */
.scanlines {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.04) 0px,
    rgba(255, 255, 255, 0.04) 1px,
    transparent 1px,
    transparent 3px
  );
  animation: scanline-drift 8s linear infinite;
}
@keyframes scanline-drift {
  0% { background-position: 0 0; }
  100% { background-position: 0 6px; }
}

/* Random screen flicker — toggled by JS adding .is-flicker */
.flicker {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  background:
    linear-gradient(90deg, rgba(255, 0, 80, 0.05), transparent 30%, transparent 70%, rgba(0, 200, 255, 0.05)),
    rgba(255, 255, 255, 0.04);
  mix-blend-mode: screen;
  transition: opacity 0.06s linear;
}
.flicker.is-flicker { opacity: 1; }

/* Hero spotlight — large soft accent halo following cursor */
.spotlight {
  position: fixed;
  top: 0; left: 0;
  width: 520px; height: 520px;
  pointer-events: none;
  z-index: 1;
  transform: translate3d(-50%, -50%, 0);
  background: radial-gradient(circle, var(--acc-glow) 0%, rgba(197,245,66,0.08) 30%, transparent 70%);
  filter: blur(40px);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  mix-blend-mode: screen;
}
.spotlight.is-on { opacity: 0.6; }

/* 모바일/터치 — 항상 켜진 풀스크린 블렌드(noise/scanline/flicker)+블러 spotlight 는
   GPU·배터리만 소모하고 시각 이득은 작다. coarse pointer 거나 좁은 화면이면 끈다.
   (display:none 이라 JS 가 .is-on/.is-flicker 토글해도 화면 비용 0) */
@media (hover: none), (max-width: 700px) {
  .noise, .scanlines, .flicker, .spotlight { display: none; }
}

.grid-bg {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 80%);
}

/* Custom cursor removed — using native pointer */

/* ===================================================
   Navigation
   =================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.4s var(--ease), border-bottom 0.4s var(--ease), padding 0.4s var(--ease);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0);
}
.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding: 10px 0;
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--tx-0);
  font-family: var(--ff-en);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.logo-mark {
  display: inline-flex;
  height: 36px;
  align-items: center;
}
.logo-mark img {
  height: 100%;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 12px var(--acc-glow));
}

/* ----- Logo VHS / RGB-split glitch ----- */
.logo-mark--glitch {
  position: relative;
  isolation: isolate;
}
.logo-mark--glitch .logo-mark__layer {
  height: 36px;
  width: auto;
  display: block;
}
.logo-mark--glitch .logo-mark__layer--base {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 10px var(--acc-glow));
  animation: logo-flicker 7s steps(1) infinite;
}
.logo-mark--glitch .logo-mark__layer--r,
.logo-mark--glitch .logo-mark__layer--g,
.logo-mark--glitch .logo-mark__layer--b {
  position: absolute;
  top: 0; left: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.55;
}
/* red ghost — drifts slow */
.logo-mark--glitch .logo-mark__layer--r {
  filter: drop-shadow(0 0 0 #ff2e6d) brightness(0) saturate(100%) invert(36%) sepia(89%) saturate(6044%) hue-rotate(330deg) brightness(101%) contrast(101%);
  animation: logo-shift-r 3.6s steps(1) infinite;
  z-index: 2;
}
/* green/accent ghost — pulses with brand */
.logo-mark--glitch .logo-mark__layer--g {
  filter: brightness(0) saturate(100%) invert(91%) sepia(35%) saturate(763%) hue-rotate(31deg) brightness(101%) contrast(94%);
  animation: logo-shift-g 4.1s steps(1) infinite;
  z-index: 2;
}
/* cyan ghost */
.logo-mark--glitch .logo-mark__layer--b {
  filter: brightness(0) saturate(100%) invert(70%) sepia(95%) saturate(2876%) hue-rotate(170deg) brightness(101%) contrast(101%);
  animation: logo-shift-b 5.3s steps(1) infinite;
  z-index: 2;
}

/* Slice-mask "channel disturbance" overlay — appears randomly via .is-glitch */
.logo-mark--glitch::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 4px,
    rgba(255,255,255,0.18) 4px,
    rgba(255,255,255,0.18) 5px
  );
  mix-blend-mode: overlay;
  opacity: 0;
  transition: opacity 0.08s linear;
}
.logo-mark--glitch.is-glitch::after { opacity: 1; }
.logo-mark--glitch.is-glitch .logo-mark__layer--base { transform: translateX(2px) skewX(-2deg); }
.logo-mark--glitch.is-glitch .logo-mark__layer--r { transform: translate(-3px, 1px); opacity: 0.9; }
.logo-mark--glitch.is-glitch .logo-mark__layer--b { transform: translate(3px, -1px); opacity: 0.9; }

/* Hover — locked-in stronger glitch + scanline jitter */
.logo-mark--glitch:hover .logo-mark__layer--r { animation-duration: 0.4s; }
.logo-mark--glitch:hover .logo-mark__layer--g { animation-duration: 0.55s; }
.logo-mark--glitch:hover .logo-mark__layer--b { animation-duration: 0.5s; }
.logo-mark--glitch:hover::after { opacity: 0.7; }

@keyframes logo-shift-r {
  0%, 60%, 100% { transform: translate(-1px, 0); opacity: 0.45; }
  62% { transform: translate(-5px, 1px); opacity: 0.9; }
  64% { transform: translate(-2px, -1px); opacity: 0.7; }
  66% { transform: translate(-1px, 0); opacity: 0.45; }
}
@keyframes logo-shift-g {
  0%, 70%, 100% { transform: translate(0, 0); opacity: 0.5; }
  72% { transform: translate(2px, 0); opacity: 0.85; }
  74% { transform: translate(0, 1px); opacity: 0.6; }
}
@keyframes logo-shift-b {
  0%, 80%, 100% { transform: translate(1px, 0); opacity: 0.45; }
  82% { transform: translate(4px, -1px); opacity: 0.85; }
  84% { transform: translate(1px, 0); opacity: 0.5; }
}
@keyframes logo-flicker {
  0%, 97%, 100% { opacity: 1; }
  98% { opacity: 0.6; }
  98.5% { opacity: 1; }
  99% { opacity: 0.4; }
}
.logo-type {
  font-size: 17px;
  letter-spacing: 0.16em;
}
.logo-type.lg { font-size: 32px; }

.nav__menu {
  display: flex;
  gap: 28px;
  font-family: var(--ff-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.nav__menu a {
  color: var(--tx-1);
  position: relative;
  padding: 6px 2px;
  transition: color 0.2s var(--ease);
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--acc);
  transition: width 0.3s var(--ease);
}
.nav__menu a:hover { color: var(--tx-0); }
.nav__menu a:hover::after { width: 100%; }

.nav__burger {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
}
.nav__burger span {
  width: 18px; height: 2px;
  background: var(--tx-0);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===================================================
   Hero
   =================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 100px;
  z-index: 2;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 30%; left: 50%;
  width: 700px; height: 700px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--acc-glow) 0%, transparent 65%);
  filter: blur(60px);
  z-index: -1;
  opacity: 0.45;
  pointer-events: none;
}
.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px var(--pad-x) 80px;
  width: 100%;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--tx-1);
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 32px;
}
.hero__badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 12px var(--acc);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__title {
  font-family: var(--ff-en);
  font-weight: 900;
  font-size: clamp(64px, 16vw, 280px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
}

/* Glitch */
.glitch {
  position: relative;
  display: inline-block;
  color: var(--tx-0);
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.glitch::before {
  color: var(--acc);
  animation: glitch-anim-1 4s infinite linear alternate-reverse;
  clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
  transform: translate(-3px, 0);
  opacity: 0.85;
  mix-blend-mode: screen;
}
.glitch::after {
  color: #ff5e8a;
  animation: glitch-anim-2 5s infinite linear alternate-reverse;
  clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
  transform: translate(3px, 0);
  opacity: 0.5;
  mix-blend-mode: screen;
}
@keyframes glitch-anim-1 {
  0%, 92%, 100% { transform: translate(0, 0); }
  93% { transform: translate(-4px, 1px); }
  95% { transform: translate(2px, -1px); }
  97% { transform: translate(-1px, 2px); }
}
@keyframes glitch-anim-2 {
  0%, 90%, 100% { transform: translate(0, 0); }
  91% { transform: translate(3px, -1px); }
  93% { transform: translate(-2px, 1px); }
  96% { transform: translate(1px, 2px); }
}

.hero__sub {
  font-family: var(--ff-en);
  font-weight: 600;
  font-size: clamp(20px, 3vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--tx-0);
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero__sub-line em {
  font-style: italic;
  color: var(--acc);
}

.hero__desc {
  font-family: var(--ff-kr);
  font-size: 16px;
  color: var(--tx-1);
  max-width: 540px;
  margin: 0 0 36px;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--ff-en);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: all 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background: var(--acc);
  color: #000;
  box-shadow: 0 0 0 1px rgba(197,245,66,0.4);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--acc-glow), 0 0 0 1px rgba(197,245,66,0.6);
}
.btn--ghost {
  border-color: var(--line-strong);
  color: var(--tx-0);
  background: rgba(255, 255, 255, 0.02);
}
.btn--ghost:hover {
  border-color: var(--acc);
  color: var(--acc);
  background: var(--acc-soft);
}
.btn--lg { padding: 18px 32px; font-size: 15px; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-family: var(--ff-en);
}
.hero__stats > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero__stats strong {
  font-size: 28px;
  font-weight: 800;
  color: var(--tx-0);
  letter-spacing: -0.01em;
}
.hero__stats span {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--tx-2);
  text-transform: uppercase;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--tx-2);
}
.hero__scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--acc), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -36px; left: 0;
  width: 100%; height: 36px;
  background: linear-gradient(to bottom, transparent, var(--acc));
  animation: scroll-down 1.8s ease-in-out infinite;
}
@keyframes scroll-down {
  0% { top: -36px; }
  100% { top: 36px; }
}

/* Marquee */
.marquee {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.4);
  padding: 18px 0;
}
.marquee__track {
  display: inline-flex;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--ff-en);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.12em;
  color: var(--tx-0);
  align-items: center;
}
.marquee__track .dot {
  color: var(--acc);
  font-size: 14px;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===================================================
   Section base
   =================================================== */
.section {
  position: relative;
  padding: 140px 0;
  z-index: 2;
}
.section__head {
  margin-bottom: 80px;
  max-width: 880px;
}
.section__label {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--tx-2);
  margin-bottom: 18px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.section__title {
  font-family: var(--ff-en);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--tx-0);
}
.section__title .accent {
  color: var(--acc);
  font-style: italic;
  font-weight: 800;
}

/* ===================================================
   Manifesto
   =================================================== */
.manifesto__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.manifesto__copy p {
  font-family: var(--ff-kr);
  font-size: 18px;
  line-height: 1.75;
  color: var(--tx-1);
  margin: 0 0 18px;
}
.manifesto__copy .hl {
  color: var(--acc);
  font-weight: 600;
}

.manifesto__principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.manifesto__principles li {
  padding: 28px 24px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.manifesto__principles li::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--acc), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.manifesto__principles li:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: var(--bg-2);
}
.manifesto__principles li:hover::before { opacity: 1; }
.manifesto__principles .num {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--acc);
  display: block;
  margin-bottom: 12px;
}
.manifesto__principles h3 {
  font-family: var(--ff-en);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--tx-0);
}
.manifesto__principles p {
  font-size: 14px;
  color: var(--tx-1);
  line-height: 1.6;
  margin: 0;
}

/* ===================================================
   Products
   =================================================== */
.products__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.product-card {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.3s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(197, 245, 66, 0.08), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.product-card:hover {
  border-color: rgba(197, 245, 66, 0.3);
}
.product-card:hover::before { opacity: 1; }
.product-card--alt {
  background: var(--bg-2);
}
.product-card--wide { grid-column: 1 / -1; }

.product-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--tx-2);
  margin-bottom: 36px;
}
.product-card__tag {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.product-card__version { color: var(--acc); }

.product-card__icon {
  color: var(--acc);
  margin-bottom: 24px;
}
.product-card__title {
  font-family: var(--ff-en);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 20px;
}
.product-card__title span {
  color: var(--acc);
  font-style: italic;
}
.product-card__desc {
  font-family: var(--ff-kr);
  font-size: 15px;
  line-height: 1.7;
  color: var(--tx-1);
  margin: 0 0 24px;
  max-width: 480px;
}
.product-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  margin-bottom: 24px;
}
.product-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--tx-0);
}
.dot-acc {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--acc);
  flex-shrink: 0;
}
.product-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-en);
  font-size: 14px;
  font-weight: 600;
  color: var(--acc);
  transition: gap 0.25s var(--ease);
}
.card-link:hover { gap: 12px; }
.card-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--tx-2);
}
.pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ff9f3d;
  box-shadow: 0 0 12px #ff9f3d;
  animation: pulse 1.6s ease-in-out infinite;
}
.pulse--green {
  background: var(--acc);
  box-shadow: 0 0 12px var(--acc);
}

/* ===================================================
   Features
   =================================================== */
.features__tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 40px;
}
.ft-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: transparent;
  border: none;
  border-radius: 999px;
  font-family: var(--ff-en);
  font-size: 13px;
  font-weight: 600;
  color: var(--tx-1);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.ft-tab__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--tx-3);
  transition: background 0.3s var(--ease);
}
.ft-tab.is-active {
  background: var(--acc);
  color: #000;
}
.ft-tab.is-active .ft-tab__dot { background: #000; }

.features__grid {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.features__grid.is-active { display: grid; }

.feature-card {
  position: relative;
  padding: 32px 28px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
  overflow: hidden;
}
.feature-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--acc) 0%, transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-4px);
  background: var(--bg-2);
}
.feature-card:hover::after { opacity: 1; }
.feature-card__num {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--acc);
  display: block;
  margin-bottom: 16px;
}
.feature-card__icon {
  font-size: 32px;
  margin-bottom: 16px;
  filter: grayscale(0.2);
}
.feature-card h3 {
  font-family: var(--ff-en);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--tx-1);
  margin: 0 0 16px;
}
.feature-card code {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--acc);
  background: var(--acc-soft);
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

/* ===================================================
   Workflow
   =================================================== */
.workflow__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.workflow__steps::before {
  content: "";
  position: absolute;
  top: 64px; left: 5%; right: 5%;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--line-strong) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.workflow__steps li {
  position: relative;
  padding: 28px 24px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  z-index: 1;
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease);
}
.workflow__steps li:hover {
  transform: translateY(-4px);
  border-color: var(--acc-dim);
}
.step-num {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--acc);
  display: block;
  margin-bottom: 12px;
}
.step-icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.workflow__steps h3 {
  font-family: var(--ff-en);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--tx-0);
}
.workflow__steps p {
  font-size: 14px;
  color: var(--tx-1);
  margin: 0;
  line-height: 1.6;
}

/* ===================================================
   Tech Stack
   =================================================== */
.tech__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tech__chip {
  padding: 12px 22px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--ff-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--tx-1);
  transition: all 0.25s var(--ease);
}
.tech__chip:hover {
  background: var(--acc-soft);
  border-color: var(--acc);
  color: var(--acc);
  transform: translateY(-2px);
}

/* ===================================================
   Roadmap
   =================================================== */
.roadmap__line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.rm-card {
  padding: 28px 24px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease);
}
.rm-card:hover {
  transform: translateY(-4px);
}
.rm-card--done {
  opacity: 0.7;
}
.rm-card--current {
  background: linear-gradient(180deg, rgba(197, 245, 66, 0.06), var(--bg-1));
  border-color: var(--acc-dim);
  box-shadow: 0 0 0 1px rgba(197, 245, 66, 0.15), 0 16px 48px rgba(197, 245, 66, 0.06);
}
.rm-phase {
  display: block;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--tx-2);
  margin-bottom: 8px;
}
.rm-status {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--tx-3);
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  margin-bottom: 16px;
}
.rm-card--done .rm-status { color: var(--acc); border-color: var(--acc-dim); }
.rm-card--current .rm-status {
  background: var(--acc);
  color: #000;
  border-color: var(--acc);
}
.rm-card h3 {
  font-family: var(--ff-en);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}
.rm-card p {
  font-size: 14px;
  color: var(--tx-1);
  margin: 0;
  line-height: 1.6;
}

/* ===================================================
   CTA
   =================================================== */
.cta {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-0), var(--bg-1));
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  bottom: -200px; left: 50%;
  width: 800px; height: 400px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, var(--acc-glow), transparent 70%);
  filter: blur(60px);
  opacity: 0.4;
  pointer-events: none;
}
.cta__inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta__inner .section__label { margin-bottom: 24px; }
.cta__title {
  font-family: var(--ff-en);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}
.cta__title .accent {
  color: var(--acc);
  font-style: italic;
}
.cta__desc {
  font-family: var(--ff-kr);
  font-size: 17px;
  line-height: 1.7;
  color: var(--tx-1);
  margin: 0 0 40px;
}
.cta__row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}
.cta__meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.cta__meta > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cta__meta span {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--tx-2);
}
.cta__meta strong {
  font-family: var(--ff-en);
  font-size: 14px;
  font-weight: 600;
  color: var(--tx-0);
}

/* ===================================================
   Footer
   =================================================== */
.footer {
  background: var(--bg-0);
  border-top: 1px solid var(--line);
  padding: 80px 0 32px;
  position: relative;
  z-index: 2;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.footer__brand p {
  font-family: var(--ff-en);
  font-style: italic;
  color: var(--tx-2);
  font-size: 14px;
  margin: 12px 0 0;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__cols h4 {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--tx-2);
  margin: 0 0 16px;
  text-transform: uppercase;
}
.footer__cols ul { display: flex; flex-direction: column; gap: 10px; }
.footer__cols a {
  font-size: 14px;
  color: var(--tx-1);
  transition: color 0.2s var(--ease);
}
.footer__cols a:hover { color: var(--acc); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--tx-2);
}
.footer__mono { color: var(--acc); }

/* ===================================================
   Reveal animations
   =================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .glitch::before, .glitch::after { animation: none; }
  .marquee__track { animation: none; }
  .hero__scroll-line::after { animation: none; }
  .scanlines { animation: none; opacity: 0.08; }
  .logo-mark--glitch .logo-mark__layer { animation: none !important; }
  .logo-mark--glitch .logo-mark__layer--r,
  .logo-mark--glitch .logo-mark__layer--g,
  .logo-mark--glitch .logo-mark__layer--b { display: none; }
}

/* ===================================================
   Responsive
   =================================================== */
@media (max-width: 1024px) {
  .section { padding: 100px 0; }
  .section__head { margin-bottom: 56px; }
  .manifesto__grid { gap: 56px; }
}

@media (max-width: 768px) {
  :root { --pad-x: 20px; }
  .nav__menu { display: none; }
  .nav__burger { display: flex; }

  .hero__inner { padding: 32px 20px 56px; }
  .hero__stats { gap: 28px; }
  .hero__stats strong { font-size: 22px; }
  .marquee__track { font-size: 16px; gap: 24px; }

  .section { padding: 80px 0; }
  .section__head { margin-bottom: 40px; }

  .manifesto__grid { grid-template-columns: 1fr; gap: 40px; }
  .manifesto__principles { grid-template-columns: 1fr; }

  .products__grid { grid-template-columns: 1fr; }
  .product-card { padding: 28px 24px; }
  .product-card__title { font-size: 36px; }

  .features__grid.is-active { grid-template-columns: 1fr; }

  .workflow__steps { grid-template-columns: 1fr; }
  .workflow__steps::before { display: none; }

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

  .cta__meta { gap: 24px; }

  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 64px; }
  .hero__sub { font-size: 18px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .features__tabs { width: 100%; justify-content: stretch; }
  .ft-tab { flex: 1; justify-content: center; padding: 12px 16px; }
  .footer__cols { grid-template-columns: 1fr; }
}

/* ────────────────────────────────────────────────────────────────────
   [2026-05-23] SPA tabs + sidebar nav + acct chip + 새 카테고리 styles
   ──────────────────────────────────────────────────────────────────── */

/* ── Top bar — 사이드 toggle (burger) + brand + acct chip ───────── */
.nav__title {
  font-size: 13px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--text-2); margin-left: 8px;
}
.nav__spacer { flex: 1; }
.nav__burger {
  display: inline-flex; flex-direction: column; gap: 4px;
  width: 28px; height: 28px; border: none; background: transparent;
  cursor: pointer; padding: 6px 4px; box-sizing: border-box;
  align-items: center; justify-content: center;
}
.nav__burger span {
  display: block; width: 18px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform var(--dur-fast), opacity var(--dur-fast);
}

/* acct chip — guest = 로그인 ghost, signed = avatar+name+credits */
.acct { display: flex; align-items: center; gap: 8px; position: relative; }
.acct__btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 32px; padding: 0 12px;
  border: 1px solid var(--border, rgba(255,255,255,0.12));
  border-radius: 999px; background: rgba(255,255,255,0.02);
  color: var(--text); font: inherit; font-size: 12px; font-weight: 700;
  cursor: pointer; text-decoration: none; line-height: 1;
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.acct__btn:hover { background: rgba(163,255,95,0.06); border-color: rgba(163,255,95,0.5); }
.acct__btn--primary { background: var(--accent, #a3ff5f); color: #0a0a0a; border-color: transparent; }
.acct__btn--primary:hover { background: var(--accent, #a3ff5f); opacity: 0.92; }
/* 로그인 전/후 guest↔user 버튼 swap — .acct__btn 의 display:inline-flex 가
   기본 [hidden]{display:none} 을 덮어써서 둘 다 보이던 버그 차단. */
.acct__btn[hidden] { display: none; }
.acct__avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 999px;
  background: #0a0a0a; color: var(--accent, #a3ff5f);
  font-size: 11px; font-weight: 900;
}
.acct__name { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct__credits {
  font-family: var(--font-mono, JetBrains Mono);
  font-size: 11px; opacity: 0.7; font-variant-numeric: tabular-nums;
}
.acct__caret {
  opacity: 0.7;
  transition: transform var(--dur-fast);
}
.acct__btn[aria-expanded="true"] .acct__caret { transform: rotate(180deg); }

/* 내 정보 드롭다운 — 기존 prompt() 교체 */
.acct__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 240px;
  background: rgba(15, 15, 17, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border, rgba(255,255,255,0.10));
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 2px 8px rgba(0, 0, 0, 0.3);
  z-index: 200;
  display: flex; flex-direction: column; gap: 2px;
  transform-origin: top right;
  animation: acctMenuIn 0.14s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.acct__menu[hidden] { display: none; }
@keyframes acctMenuIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.acct__menu-item {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 10px 12px;
  background: transparent; border: 0;
  color: var(--text); font: inherit; font-size: 13px; font-weight: 600;
  text-align: left; text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.acct__menu-item:hover,
.acct__menu-item:focus-visible {
  background: rgba(163, 255, 95, 0.10);
  outline: none;
}
.acct__menu-item--danger { color: rgba(255, 130, 130, 0.92); }
.acct__menu-item--danger:hover,
.acct__menu-item--danger:focus-visible {
  background: rgba(255, 80, 80, 0.10);
  color: rgba(255, 150, 150, 1);
}
.acct__menu-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  font-size: 14px; line-height: 1;
  flex-shrink: 0;
}
.acct__menu-sep {
  height: 1px;
  margin: 4px 2px;
  background: var(--border, rgba(255,255,255,0.08));
}

/* ── Sidebar — 항상 보임 (desktop), drawer (mobile) ─────────────── */
.sidebar {
  position: fixed; top: 64px; left: 0; bottom: 0; width: 240px;
  background: rgba(10,10,10,0.85); backdrop-filter: blur(12px);
  border-right: 1px solid var(--border, rgba(255,255,255,0.06));
  padding: 24px 0 16px;
  display: flex; flex-direction: column; gap: 16px;
  z-index: 50;
  transform: translateX(0);
  transition: transform var(--dur, 0.25s) var(--ease-out, ease);
}
.sidebar__menu { list-style: none; padding: 0; margin: 0; }
.sidebar__menu li { margin: 0; }
.sidebar__link {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 24px;
  color: var(--text-2, rgba(255,255,255,0.55));
  text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: -0.01em;
  border-left: 2px solid transparent;
  transition: color var(--dur-fast), background var(--dur-fast), border-color var(--dur-fast);
}
.sidebar__link:hover {
  color: var(--text); background: rgba(255,255,255,0.02);
}
.sidebar__link.is-active {
  color: var(--accent, #a3ff5f);
  background: rgba(163,255,95,0.06);
  border-left-color: var(--accent, #a3ff5f);
}
.sidebar__num {
  font-family: var(--font-mono, JetBrains Mono);
  font-size: 10px; font-weight: 700; opacity: 0.5;
  min-width: 18px;
}
.sidebar__footer {
  margin-top: auto; padding: 16px 24px;
  font-size: 11px; color: var(--text-3, rgba(255,255,255,0.35));
  border-top: 1px solid var(--border, rgba(255,255,255,0.06));
}
.sidebar__footer a {
  color: var(--text-3, rgba(255,255,255,0.35));
  text-decoration: none;
}
.sidebar__footer a:hover { color: var(--accent, #a3ff5f); }

/* main content offset for sidebar */
main#top { padding-left: 240px; }

/* sidebar backdrop (mobile) */
.sidebar-backdrop {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.55); z-index: 49;
  opacity: 0; transition: opacity var(--dur, 0.25s);
}

/* ── Tab swap — 한 tab 만 보임 ──────────────────────────────────── */
.tab { display: none; }
.tab.is-active { display: block; animation: tabFade 0.28s var(--ease-out, ease) both; }
.tab[hidden] { display: none !important; }
.tab.is-active[hidden] { display: block !important; }
@keyframes tabFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Common tab head ────────────────────────────────────────────── */
.container--narrow { max-width: 1080px; padding: 88px 32px 64px; margin: 0 auto; }
.tab__head { text-align: center; margin-bottom: 56px; }
.tab__head .section__label { display: inline-block; margin-bottom: 16px; }
.tab__head .section__title { font-size: clamp(36px, 6vw, 64px); margin-bottom: 20px; }
.tab__lead {
  font-size: 16px; color: var(--text-2, rgba(255,255,255,0.55));
  line-height: 1.7; max-width: 640px; margin: 0 auto;
}

/* ── Pricing ────────────────────────────────────────────────────── */
.pricing-tabs {
  display: inline-flex; gap: 4px;
  padding: 4px; background: var(--bg-2, rgba(255,255,255,0.04));
  border-radius: 999px;
  margin: 0 auto 40px; max-width: max-content;
}
.pricing-tabs__btn {
  padding: 10px 22px; border: none; background: transparent;
  color: var(--text-2, rgba(255,255,255,0.55));
  font: inherit; font-size: 13px; font-weight: 700;
  border-radius: 999px; cursor: pointer;
  transition: all var(--dur-fast);
}
.pricing-tabs__btn.is-active { background: var(--accent, #a3ff5f); color: #0a0a0a; }
.pricing-tabs__btn .badge {
  display: inline-block; margin-left: 6px;
  font-size: 9px; font-weight: 800;
  padding: 2px 6px; background: #0a0a0a; color: var(--accent, #a3ff5f);
  border-radius: 999px;
}
.pricing-tabs__btn.is-active .badge { background: rgba(0,0,0,0.18); color: #0a0a0a; }

.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 100%; margin: 0 auto 40px;
}
.plan-card {
  position: relative;
  padding: 28px 24px 24px;
  background: var(--bg-1, rgba(255,255,255,0.025));
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: 18px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform var(--dur-fast), border-color var(--dur-fast);
}
.plan-card:hover { transform: translateY(-3px); border-color: rgba(163,255,95,0.35); }
.plan-card--featured {
  border-color: var(--accent, #a3ff5f);
  background: linear-gradient(180deg, rgba(163,255,95,0.06), transparent 80%);
  box-shadow: 0 0 0 1px rgba(163,255,95,0.25), 0 16px 40px rgba(163,255,95,0.10);
}
.plan-card__badge {
  position: absolute; top: -10px; right: 20px;
  font-size: 10px; font-weight: 800;
  padding: 4px 10px; background: var(--accent, #a3ff5f); color: #0a0a0a;
  border-radius: 999px; letter-spacing: 0.04em;
}
.plan-card__name {
  font-size: 13px; font-weight: 700;
  color: var(--text-2, rgba(255,255,255,0.55));
  letter-spacing: 0.04em; text-transform: uppercase; margin: 0;
}
.plan-card__price {
  font-size: 14px; color: var(--text-2);
  display: flex; align-items: baseline; gap: 4px;
}
.plan-card__price strong {
  font-size: 40px; font-weight: 900; letter-spacing: -0.03em;
  color: var(--text); font-family: var(--font-mono, JetBrains Mono);
  font-variant-numeric: tabular-nums;
}
.plan-card__period {
  font-size: 12px; color: var(--text-3, rgba(255,255,255,0.35));
  margin-top: -8px;
}
.plan-card__features {
  list-style: none; padding: 0; margin: 8px 0 0;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 13px; color: var(--text-2, rgba(255,255,255,0.55));
}
.plan-card__features li {
  position: relative; padding-left: 18px;
}
.plan-card__features li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 8px; height: 8px;
  background: var(--accent, #a3ff5f); opacity: 0.7;
  clip-path: polygon(0% 50%, 50% 0%, 100% 50%, 50% 100%);
}
.btn--full { width: 100%; justify-content: center; }

.pricing-note {
  margin-top: 32px; padding: 24px;
  background: var(--bg-1, rgba(255,255,255,0.025));
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: 14px;
  font-size: 13px; color: var(--text-2);
}
.pricing-note strong { color: var(--text); font-size: 14px; display: block; margin-bottom: 10px; }
.pricing-note ul {
  list-style: none; padding: 0; margin: 0 0 14px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 24px;
}
.pricing-note li { padding-left: 0; }
.pricing-note .muted { color: var(--text-3, rgba(255,255,255,0.35)); font-size: 12px; margin: 0; }

/* ── Download cards ─────────────────────────────────────────────── */
.dl-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-bottom: 32px;
}
.dl-card {
  padding: 32px;
  background: var(--bg-1, rgba(255,255,255,0.025));
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: 18px;
  display: flex; flex-direction: column; gap: 18px;
}
.dl-card--studio {
  background: linear-gradient(180deg, rgba(163,255,95,0.05), transparent 80%);
  border-color: rgba(163,255,95,0.25);
}
.dl-card__tag {
  display: inline-block; padding: 4px 10px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.06em;
  background: rgba(163,255,95,0.12); color: var(--accent, #a3ff5f);
  border-radius: 4px;
}
.dl-card__head h3 {
  margin: 12px 0 6px; font-size: 24px; font-weight: 900; letter-spacing: -0.02em;
}
.dl-card__head p { font-size: 14px; color: var(--text-2); line-height: 1.6; margin: 0; }
.dl-card__meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  padding: 16px 0; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.dl-card__meta > div { display: flex; flex-direction: column; gap: 2px; }
.dl-card__meta span { font-size: 10px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; }
.dl-card__meta strong { font-size: 13px; color: var(--text); font-weight: 700; }

/* [2026-08-07] 다운로드 전 지원 버전 고지 — 버튼 *위*에 둬서 받기 전에 읽히게 한다.
   경고가 아니라 정보라 붉은 톤/경고 아이콘은 쓰지 않고, 카드 안 인셋 블록으로 조용히 눈에 띄게.
   기존 토큰(--border/--text/--text-2/--text-3)만 사용 — 새 색을 만들지 않는다. */
.dl-card__req {
  margin: 16px 0 0; padding: 11px 13px;
  border: 1px solid var(--border); border-radius: 8px;
  background: rgba(255,255,255,0.03);
  font-size: 13px; line-height: 1.6; color: var(--text-2);
}
.dl-card__req strong { color: var(--text); font-weight: 800; }
.dl-card__req-sub { display: block; margin-top: 5px; font-size: 12px; color: var(--text-3); }

.dl-card__more { font-size: 13px; color: var(--text-2); }
.dl-card__more summary {
  cursor: pointer; padding: 4px 0; font-weight: 700;
  color: var(--text);
}
.dl-card__more summary::marker { color: var(--accent, #a3ff5f); }
.dl-card__more ol, .dl-card__more ul { padding-left: 20px; margin: 8px 0; line-height: 1.7; }
.dl-card__more code {
  font-family: var(--font-mono, JetBrains Mono);
  font-size: 12px; padding: 2px 6px;
  background: rgba(255,255,255,0.06); border-radius: 4px;
}
.dl-note { text-align: center; color: var(--text-3); font-size: 13px; }
.dl-note a { color: var(--accent, #a3ff5f); text-decoration: none; }
.dl-note a:hover { text-decoration: underline; }

/* ── Docs cards ─────────────────────────────────────────────────── */
.docs-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  margin-bottom: 32px;
}
.docs-card {
  padding: 20px 22px;
  background: var(--bg-1, rgba(255,255,255,0.025));
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: 14px;
  transition: transform var(--dur-fast), border-color var(--dur-fast);
}
.docs-card:hover { transform: translateY(-2px); border-color: rgba(163,255,95,0.35); }
.docs-card h3 { font-size: 16px; font-weight: 800; margin: 0 0 8px; letter-spacing: -0.01em; }
.docs-card p { font-size: 13px; color: var(--text-2); line-height: 1.7; margin: 0; }
.docs-note {
  margin-top: 24px; padding: 20px 24px; text-align: center;
  background: var(--bg-2, rgba(255,255,255,0.04));
  border-radius: 12px; font-size: 13px; color: var(--text-2);
}
.docs-note strong { color: var(--text); }
.docs-note a { color: var(--accent, #a3ff5f); text-decoration: none; font-weight: 700; }
.docs-note a:hover { text-decoration: underline; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .sidebar {
    transform: translateX(-100%);
    width: 280px;
    box-shadow: 0 0 80px rgba(0,0,0,0.6);
  }
  .sidebar.is-open { transform: translateX(0); }
  .sidebar-backdrop.is-open { display: block; opacity: 1; }
  main#top { padding-left: 0; }
}

/* [2026-05-24 F1] 상단 가로 네비 메뉴 — 모바일 default hidden, desktop 에서만 노출
   주의: 베이스 정의가 미디어쿼리보다 먼저 와야 함 (소스 순서 = 최종 우선순위). */
.nav__menu {
  display: none;
  list-style: none;
  margin: 0 0 0 24px;
  padding: 0;
  gap: 4px;
  align-items: center;
}
.nav__menu-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #8c8c98;
  text-decoration: none;
  border-radius: 6px;
  transition: color .18s, background .18s;
}
.nav__menu-link:hover { color: #e8e8ec; background: rgba(255,255,255,0.04); }
.nav__menu-link.is-active {
  color: var(--accent, #a3ff5f);
  background: rgba(163,255,95,0.08);
}

@media (min-width: 901px) {
  /* hide burger on desktop */
  .nav__burger { display: none; }

  /* [2026-05-24 F1] desktop 에서 사이드바 hide + main padding-left 0 + 상단 nav 메뉴 노출 */
  .sidebar         { display: none !important; }
  .sidebar-backdrop{ display: none !important; }
  main#top         { padding-left: 0; }
  .nav__menu       { display: flex; }
}

@media (max-width: 720px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
  .docs-grid { grid-template-columns: 1fr; }
  .pricing-note ul { grid-template-columns: 1fr; }
  .container--narrow { padding: 64px 20px 48px; }
  .acct__name { display: none; }
}

/* ── Docs product sections ──────────────────────────────────────── */
.docs-product-head { margin-bottom: 24px; }
.docs-product-tag {
  display: inline-block; padding: 4px 10px; margin-bottom: 10px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(163,255,95,0.1); color: var(--accent, #a3ff5f);
  border-radius: 4px;
}
.docs-product-head--soon .docs-product-tag {
  background: rgba(255,255,255,0.04); color: var(--text-3);
}
.docs-product-title {
  font-size: 22px; font-weight: 700; letter-spacing: -0.02em;
  margin: 0 0 6px; color: var(--text);
}
.docs-product-title strong { color: var(--accent, #a3ff5f); font-weight: 900; }
.docs-product-sub { font-size: 14px; color: var(--text-2); margin: 0; }

.docs-card--soon {
  position: relative; opacity: 0.6;
  border-style: dashed;
}
.docs-card__badge {
  display: inline-block; margin-top: 10px; padding: 2px 8px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.06em;
  background: rgba(255,255,255,0.04); color: var(--text-3);
  border-radius: 999px; text-transform: uppercase;
}

/* ── Coming soon 제품 라인업 ─────────────────────────────────────── */
.products__coming {
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid var(--border, rgba(255,255,255,0.06));
}
.products__coming-label {
  font-size: 11px; font-weight: 800; letter-spacing: 0.12em;
  color: var(--text-3, rgba(255,255,255,0.35));
  text-transform: uppercase; margin-bottom: 16px;
}
.products__coming-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.coming-card {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 20px;
  background: var(--bg-1, rgba(255,255,255,0.015));
  border: 1px solid var(--border, rgba(255,255,255,0.06));
  border-radius: 12px; opacity: 0.75;
  transition: opacity var(--dur-fast), border-color var(--dur-fast);
}
.coming-card:hover { opacity: 1; border-color: rgba(255,255,255,0.12); }
.coming-card__emoji { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.coming-card h4 { font-size: 14px; font-weight: 800; margin: 0 0 4px; letter-spacing: -0.01em; }
.coming-card p { font-size: 12px; color: var(--text-3, rgba(255,255,255,0.4)); margin: 0; line-height: 1.5; }

/* ── Footer extras ──────────────────────────────────────────────── */
.footer__addr {
  margin-top: 8px; font-size: 12px;
  color: var(--text-3, rgba(255,255,255,0.35)); line-height: 1.8;
}
.footer__addr a { color: var(--text-3); text-decoration: none; }
.footer__addr a:hover { color: var(--accent, #a3ff5f); }
.footer__legal {
  padding: 16px 0;
  border-top: 1px solid var(--border, rgba(255,255,255,0.06));
  border-bottom: 1px solid var(--border, rgba(255,255,255,0.06));
  margin-bottom: 28px;
  font-size: 11px; color: var(--text-3, rgba(255,255,255,0.35)); line-height: 1.8;
}
.footer__legal p { margin: 0 0 6px; }
.footer__legal p:last-child { margin: 0; }
.footer__legal strong { color: var(--text-2, rgba(255,255,255,0.55)); }
.footer__legal a { color: var(--text-3); text-decoration: none; }
.footer__legal a:hover { color: var(--accent, #a3ff5f); }
.footer__cols .muted { color: var(--text-3, rgba(255,255,255,0.35)); font-size: 11px; }

/* ── [2026-05-25 #7] 사업자정보 (business-info.js 자동 inject) ── */
.biz-business {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed var(--border, rgba(255,255,255,0.06));
  font-size: 11px;
  color: var(--text-3, rgba(255,255,255,0.35));
  line-height: 1.8;
}
.biz-business__row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-bottom: 4px;
}
.biz-business__row strong {
  color: var(--text-2, rgba(255,255,255,0.55));
  font-weight: 700;
}
.biz-business__row a {
  color: var(--text-3);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.15);
}
.biz-business__row a:hover { color: var(--accent, #a3ff5f); }
.biz-business__meta { opacity: 0.7; margin-top: 4px; }

/* standalone (footer__legal 없는 페이지) 스타일은 shared.css 에서 정의 —
   main.css 박힌 5개 (index/docs/download/library/pricing) 는 모두 footer__legal 있어
   여기에 standalone CSS 두면 dead code. */

@media (max-width: 600px) {
  .products__coming-grid { grid-template-columns: 1fr; }
}

/* ── [2026-05-24 F2] About 섹션 — 미션 3컬럼 ─────────────── */
.about { padding: 80px 0 40px; }
.about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}
.about__col {
  padding: 24px 22px;
  background: rgba(20, 20, 26, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: border-color .25s, transform .25s;
}
.about__col:hover {
  border-color: rgba(163, 255, 95, 0.35);
  transform: translateY(-2px);
}
.about__h {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--accent, #a3ff5f);
  margin: 0 0 12px;
  text-transform: uppercase;
}
.about__col p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-2, #b8b8c4);
  margin: 0;
}
.about__col strong { color: #e8e8ec; font-weight: 700; }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; gap: 16px; }
  .about { padding: 56px 0 24px; }
}

/* ===================================================
   Sub-pages (2026-05-25 — 5 카테고리 = 별도 페이지)
   각 카테고리가 별도 .html 파일. 히어로 없으니 상단 여백 자체 부여.
   =================================================== */
/* page-sub = sub-page body (히어로 없음) — main 의 nav 가림 방지 padding */
.page-sub main { padding-top: 0; }
.subpage { padding: 0; }
/* .container--narrow 가 자체 88px top padding 가지므로 그대로 사용 */
.subpage__head {
  text-align: center;
  margin-bottom: 56px;
}
.subpage__head .section__label { display: inline-block; margin-bottom: 16px; }
.subpage__head .section__title { font-size: clamp(36px, 6vw, 64px); margin-bottom: 20px; }
.subpage__lead {
  font-size: 16px; color: var(--text-2, rgba(255,255,255,0.55));
  line-height: 1.7; max-width: 640px; margin: 0 auto;
}

/* coming-soon placeholder block — pricing / docs / library 공용 */
.subpage--coming { min-height: 70vh; display: flex; align-items: center; }
.subpage--coming > .container,
.subpage--coming > .container--narrow { width: 100%; }
.coming-soon {
  max-width: 560px;
  margin: 0 auto;
  padding: 56px 32px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.005));
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.coming-soon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(163,255,95,0.06), transparent 60%);
  pointer-events: none;
}
.coming-soon > * { position: relative; }
.coming-soon__badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(163, 255, 95, 0.10);
  border: 1px solid rgba(163, 255, 95, 0.35);
  border-radius: 999px;
  color: var(--accent, #a3ff5f);
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
}
.coming-soon__icon {
  font-size: 64px;
  line-height: 1;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 16px rgba(163, 255, 95, 0.20));
  animation: comingFloat 4s ease-in-out infinite;
}
@keyframes comingFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.coming-soon__title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--text);
}
.coming-soon__desc {
  font-size: 15px;
  color: var(--text-2, rgba(255,255,255,0.65));
  line-height: 1.7;
  margin: 0 0 32px;
}
.coming-soon__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.coming-soon__note {
  font-size: 12px;
  color: var(--text-3, rgba(255,255,255,0.4));
  line-height: 1.6;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--border, rgba(255,255,255,0.06));
}
@media (max-width: 600px) {
  .coming-soon { padding: 40px 20px; }
  .coming-soon__icon { font-size: 52px; }
  .coming-soon__actions { flex-direction: column; }
  .coming-soon__actions .btn { width: 100%; }
}

/* ===================================================
   접근성 — prefers-reduced-motion 존중
   (marquee, flicker, glitch, comingFloat 등 모든 무한 애니메이션 정지)
   =================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee__track,
  .flicker,
  .logo-mark--glitch .logo-mark__layer--r,
  .logo-mark--glitch .logo-mark__layer--g,
  .logo-mark--glitch .logo-mark__layer--b,
  .coming-soon__icon { animation: none !important; }
  .spotlight { display: none !important; }
}

/* [2026-07] 헤더 메뉴 5→7개 확장 대응 — 좁은 데스크톱에서 오버플로 방지 */
@media (min-width: 901px) and (max-width: 1120px) {
  .nav__menu { margin-left: 10px; }
  .nav__menu-link { padding: 8px 9px; font-size: 12.5px; }
}
