/* ==========================================================================
   CPIMO S00 외부 홍보 랜딩 [intro] — 확정 시안 motion-logo3/assets/css/style.css 사본.
   원본 규칙은 그대로 두고, 플랫폼 연결에 필요한 규칙만 맨 아래 "platform additions" 에 더했다.
   CPIMO motion homepage
   dark ink + vermilion(stamp) accent, Pretendard, GSAP ScrollTrigger + Lenis
   radius rule: panels/cards 28px, inner surfaces 12~18px, buttons·chips·inputs pill
   ========================================================================== */

:root {
  --bg: #0f131a;
  --bg-2: #131821;
  --surface: #171d27;
  --surface-2: #1d2430;
  --surface-3: #262e3b;
  --line: rgba(244, 242, 238, .1);
  --line-2: rgba(244, 242, 238, .2);
  --text: #f4f2ee;
  --text-2: #b8bec7;
  --text-3: #8b929d;
  --paper: #f2f1ec;
  --paper-2: #e6e4dd;
  --ink: #141418;
  --ink-2: #45454d;
  --ink-3: #6b6b73;
  --accent: #c6ef6b;
  --accent-hi: #d6f78c;
  --accent-deep: #46710f;
  --accent-soft: #d6f394;
  --accent-ink: #12200a;
  --peach: #e3f5c3;

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --pill: 999px;

  --header-h: 72px;
  --gutter: clamp(20px, 4vw, 48px);
  --maxw: 1320px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;

  /* hero vanishing point */
  --vpx: 76%;
  --vpy: 44%;
}

@media (max-width: 899px) {
  :root { --header-h: 60px; }
}
@media (max-width: 767px), (max-width: 1023px) and (max-aspect-ratio: 1/1) {
  :root { --vpx: 50%; --vpy: 25%; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: -.01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
.is-menu body { overflow: hidden; }

/* film grain, fixed and non-interactive */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
code { font-family: inherit; white-space: nowrap; }
::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1em; height: 1em; fill: currentColor; flex-shrink: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; left: 16px; top: -64px; z-index: 100;
  padding: 12px 18px; border-radius: var(--pill);
  background: var(--paper); color: var(--ink); font-weight: 700; text-decoration: none;
  transition: top .3s var(--ease-out);
}
.skip:focus { top: 16px; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- buttons ---------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--pill);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: color .35s var(--ease-out), box-shadow .35s, background-color .35s;
}
.btn .i { width: 18px; height: 18px; transition: transform .45s var(--ease-out); }
.btn:hover .i { transform: translateX(3px); }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .5s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(.97); }

.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent::before { background: var(--paper); }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost::before { background: var(--text); }
.btn--ghost:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--text); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink::before { background: var(--paper); }
.btn--ink:hover { color: var(--ink); }

.btn--sm { height: 42px; padding: 0 18px; font-size: 15px; gap: 8px; }
.btn--sm .i { width: 16px; height: 16px; }
.btn--lg { height: 60px; padding: 0 30px; font-size: 17.5px; }
.btn--xl { height: 72px; padding: 0 40px; font-size: 19px; }
.btn--xl .i { width: 22px; height: 22px; }

/* ---------- progress + header ---------- */
.progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: transform .6s var(--ease-out), background-color .4s, border-color .4s, backdrop-filter .4s;
}
.header.is-scrolled {
  background: rgba(15, 19, 26, .74);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-color: var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.is-menu .header { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }

.header__inner {
  height: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: flex-end;
  padding-top: 8px;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  padding-bottom: 10px;
}
.logo__spark { color: var(--accent); }

.nav { display: flex; gap: 2px; margin-left: 18px; }
.nav a {
  padding: 8px 14px;
  border-radius: var(--pill);
  color: var(--text-2);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .25s, background-color .25s;
}
.nav a:hover, .nav a.is-active { color: var(--text); background: rgba(255, 255, 255, .07); }

.header__actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.login {
  height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--pill);
  background: transparent;
  color: var(--text-2);
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  transition: color .25s, background-color .25s;
}
.login:hover { color: var(--text); background: rgba(255, 255, 255, .07); }

.menu-btn {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-left: 4px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
}
.menu-btn span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .45s var(--ease-out), top .45s var(--ease-out);
}
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1023px) {
  .nav, .login { display: none; }
  .menu-btn { display: inline-block; }
  .header .btn--sm { height: 44px; }
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  height: 100dvh;
  padding: calc(var(--header-h) + 28px) var(--gutter) max(28px, env(safe-area-inset-bottom));
  background: var(--bg);
  visibility: hidden;
  clip-path: circle(0% at calc(100% - 42px) 30px);
  transition: clip-path .75s var(--ease-out), visibility 0s .75s;
}
.menu.is-open {
  visibility: visible;
  clip-path: circle(150% at calc(100% - 42px) 30px);
  transition: clip-path .75s var(--ease-out), visibility 0s 0s;
}
.menu__nav { display: grid; gap: 2px; }
.menu__nav a {
  display: block;
  padding: 8px 0;
  color: var(--text);
  font-size: clamp(30px, 8.6vw, 46px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.2;
  text-decoration: none;
}
.menu__nav a:active { color: var(--accent); }
.menu__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.menu__foot .btn { height: 56px; }

/* ---------- HERO ---------- */
.hero { position: relative; }
.hero__stage {
  --hero-shade: 1;
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(95% 80% at var(--vpx) var(--vpy), #141d18 0%, #10161a 40%, var(--bg) 72%);
}
.hero__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: var(--hero-shade, 1);
  background:
    linear-gradient(90deg, rgba(15, 19, 26, .9) 0%, rgba(15, 19, 26, .62) 36%, rgba(15, 19, 26, 0) 64%),
    linear-gradient(0deg, rgba(15, 19, 26, .75) 0%, rgba(15, 19, 26, 0) 26%);
}
.hero__glow {
  position: absolute;
  left: var(--vpx);
  top: var(--vpy);
  z-index: 0;
  width: 72vmax;
  height: 72vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 247, 140, .62) 0%, rgba(198, 239, 107, .22) 24%, rgba(198, 239, 107, .06) 44%, rgba(198, 239, 107, 0) 64%);
  opacity: .55;
  transform: translate(-50%, -50%) scale(.6);
  pointer-events: none;
}
.hero__space {
  position: absolute;
  inset: 0;
  z-index: 0;
  perspective: 900px;
  perspective-origin: var(--vpx) var(--vpy);
  pointer-events: none;
}
.hero__world {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform-origin: var(--vpx) var(--vpy);
}
.fly {
  position: absolute;
  left: var(--vpx);
  top: var(--vpy);
  width: var(--w);
  visibility: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.fly img { width: 100%; height: auto; }

.fcard {
  border-radius: 22px;
  padding: 20px 22px 18px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .75);
}
.fcard__tag {
  display: inline-flex;
  align-items: center;
  height: 27px;
  padding: 0 12px;
  border-radius: var(--pill);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.fcard__tag--ink { background: var(--ink); color: var(--paper); }
.fcard__tag--line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.fcard__title {
  margin: 12px 0 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -.035em;
}
.fcard__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 12px 0 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-3);
}
.fcard__meta .i { width: 16px; height: 16px; }
.fcard__lines { display: grid; gap: 9px; margin-top: 16px; }
.fcard__lines i { display: block; width: var(--w); height: 9px; border-radius: 5px; background: currentColor; opacity: .16; }
.fcard__lines i.is-redact { opacity: 1; background: var(--ink); }
.fcard--dark { background: #1e2531; color: var(--text); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 40px 80px -30px rgba(0, 0, 0, .75); }
.fcard--dark .fcard__lines i.is-redact { background: var(--paper); }
.fcard--accent { background: var(--accent); color: var(--accent-ink); }
.fcard--accent .fcard__meta { color: rgba(28, 10, 4, .72); }
.fcard--post { background: #1e2531; color: var(--text); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 40px 80px -30px rgba(0, 0, 0, .75); }
.fcard--post .fcard__title { margin: 0; font-size: 21px; font-weight: 700; }
.fcard--post .fcard__meta { color: var(--text-3); }

.fchip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border-radius: var(--pill);
  background: #1e2531;
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 24px 50px -20px rgba(0, 0, 0, .7);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.fchip .i { width: 19px; height: 19px; color: var(--accent); }
.fchip--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 24px 50px -20px rgba(198, 239, 107, .6); }
.fchip--accent .i { color: currentColor; }
.fchip--search { background: var(--paper); color: var(--ink); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7); }
.fchip--search .i { color: var(--ink-3); }

.fbubble {
  display: inline-block;
  padding: 16px 24px;
  border-radius: 28px 28px 28px 6px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .65);
}
.fbubble--paper { background: var(--paper); color: var(--ink); border-radius: 28px 28px 6px 28px; }

.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: calc(var(--header-h) + 28px) var(--gutter) clamp(40px, 8vh, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 clamp(18px, 3vh, 30px);
  padding: 8px 16px 8px 12px;
  border-radius: var(--pill);
  background: rgba(198, 239, 107, .13);
  color: var(--accent-soft);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.2;
}
.hero__eyebrow .i { width: 18px; height: 18px; }
.hero__title {
  margin: 0;
  font-size: clamp(34px, 6.2vw, 98px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.05em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line > span { display: inline-block; }
.hero__mark {
  position: relative;
  z-index: 0;
  background: none;
  color: inherit;
  white-space: nowrap;
}
.hero__mark::before {
  content: "";
  position: absolute;
  left: -.05em;
  right: -.05em;
  bottom: .04em;
  z-index: -1;
  height: .34em;
  border-radius: 3px;
  background: var(--accent);
  transform: scaleX(var(--mark, 1));
  transform-origin: 0 50%;
}
.hero__lead {
  margin: clamp(20px, 3.4vh, 34px) 0 0;
  max-width: 47em;
  font-size: clamp(16px, 1.34vw, 19.5px);
  line-height: 1.75;
  color: var(--text-2);
  text-wrap: pretty;
}
.hero__lead span { display: block; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 4.4vh, 44px); }

.hero__outro {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 72px var(--gutter) 100px;
  text-align: center;
  visibility: hidden;
  opacity: 0;
}
.hero__outro-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--accent-soft);
  font-size: 14px;
  font-weight: 650;
}
.hero__outro-kicker span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero__outro-title {
  margin: 0;
  font-size: clamp(36px, 5.2vw, 78px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.hero__outro-title em { color: var(--accent); font-style: normal; }
.hero__outro-lead {
  margin: 24px 0 0;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.7;
  color: var(--text-2);
  text-wrap: pretty;
}
.hero__outro-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.hero__outro-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  background: rgba(23, 29, 39, .8);
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  transition: border-color .2s, background-color .2s;
}
.hero__outro-links a:hover { border-color: var(--accent); background: rgba(198, 239, 107, .12); }
.hero__outro-links .i { width: 18px; height: 18px; color: var(--accent-soft); }
.hero__outro-next {
  position: absolute;
  bottom: 90px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--text-2);
  font-size: 13px;
  text-decoration: none;
}
.hero__outro-next .i { width: 16px; height: 16px; color: var(--accent); }
html:not(.motion) .hero__outro { display: none; }

@media (max-width: 767px), (max-width: 1023px) and (max-aspect-ratio: 1/1) {
  .hero__stage::after {
    background:
      linear-gradient(0deg, rgba(15, 19, 26, .96) 0%, rgba(15, 19, 26, .82) 42%, rgba(15, 19, 26, 0) 66%);
  }
  .hero__content { justify-content: flex-end; padding-bottom: max(32px, env(safe-area-inset-bottom)); }
  .hero__lead span { display: inline; }
  .hero__outro { padding-top: 100px; }
}
@media (max-width: 767px) {
  .hero__actions .btn { flex: 1 1 0; padding: 0 16px; height: 56px; font-size: 16.5px; }
  .fbubble { font-size: 19px; }
  .hero__outro-kicker { margin-bottom: 18px; font-size: 12px; }
  .hero__outro-lead { margin-top: 20px; font-size: 14px; }
  .hero__outro-links { gap: 6px; margin-top: 24px; }
  .hero__outro-links a { gap: 5px; padding: 10px 8px; font-size: 13px; }
  .hero__outro-links .i { width: 16px; height: 16px; }
  .hero__outro-next { bottom: 80px; font-size: 12px; }
}
@media (min-width: 768px) and (max-height: 700px) {
  .hero__outro-title { font-size: clamp(40px, 4.6vw, 64px); }
  .hero__outro-kicker { margin-bottom: 16px; }
  .hero__outro-lead { margin-top: 18px; }
  .hero__outro-links { margin-top: 20px; }
  .hero__outro-next { bottom: 70px; }
}

/* ---------- band (single marquee) ---------- */
.band-wrap {
  position: relative;
  z-index: 5;
  margin: -72px 0 -42px;
  padding: 42px 0;
  overflow: hidden;
  pointer-events: none;
}
.band {
  position: relative;
  margin: 0 -4vw;
  padding: clamp(14px, 1.5vw, 22px) 0;
  background: var(--accent);
  color: var(--accent-ink);
  transform: rotate(-2.4deg);
  overflow: hidden;
  box-shadow: 0 30px 90px -30px rgba(198, 239, 107, .65);
}
.band__track { display: flex; width: max-content; will-change: transform; }
.band__group { display: flex; flex-shrink: 0; list-style: none; margin: 0; padding: 0; }
.band__group li {
  display: inline-flex;
  align-items: center;
  gap: .42em;
  padding-right: 1.3em;
  font-size: clamp(21px, 2.6vw, 40px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.25;
  white-space: nowrap;
}
.band__group .i { width: .92em; height: .92em; }

/* ---------- section shared ---------- */
.sec-title {
  margin: 0;
  font-size: clamp(32px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.048em;
  text-wrap: balance;
}
.sec-lead {
  margin: clamp(14px, 1.6vw, 22px) 0 0;
  max-width: 36em;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.7;
  color: var(--text-2);
  text-wrap: pretty;
}
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .w > span { display: inline-block; }

.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: clamp(28px, 3vw, 40px);
  padding: 10px 0;
  border-bottom: 1.5px solid var(--line-2);
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .3s, gap .4s var(--ease-out);
}
.more .i { width: 18px; height: 18px; color: var(--accent); }
.more:hover { gap: 14px; border-color: var(--accent); }

/* ---------- HELP (console) ---------- */
.help {
  position: relative;
  padding: clamp(120px, 14vw, 200px) 0 clamp(90px, 11vw, 150px);
}
.help .container { perspective: 1600px; }
.console {
  position: relative;
  isolation: isolate;
  margin-top: clamp(36px, 5vw, 64px);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, #192029, #141922);
  box-shadow: inset 0 0 0 1px var(--line), 0 70px 140px -70px rgba(0, 0, 0, .9);
  overflow: hidden;
  transform-origin: 50% 0;
}
.console::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(560px circle at var(--mx, 78%) var(--my, -12%), rgba(198, 239, 107, .15), transparent 62%);
  transition: opacity .4s;
}
.console__tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 10px;
  border-bottom: 1px solid var(--line);
}
.console__indicator {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  width: 0;
  height: 0;
  border-radius: 16px;
  background: var(--accent);
  pointer-events: none;
}
.tab {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 58px;
  padding: 0 12px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--text-2);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -.02em;
  white-space: nowrap;
  cursor: pointer;
  transition: color .35s, background-color .35s;
}
.tab .i { width: 20px; height: 20px; }
.tab:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.tab[aria-selected="true"] { color: var(--accent-ink); background: transparent; }
html:not(.js) .tab[aria-selected="true"] { background: var(--accent); }

.console__panels { display: grid; grid-template-columns: minmax(0, 1fr); }
.panel {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: start;
  padding: clamp(28px, 4.2vw, 60px);
}
.panel.is-hidden { visibility: hidden; opacity: 0; pointer-events: none; }
.panel__q h3 {
  margin: 0;
  font-size: clamp(27px, 3.1vw, 44px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.042em;
  text-wrap: balance;
}
.panel__q p {
  margin: 18px 0 0;
  max-width: 27em;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.75;
  color: var(--text-2);
  text-wrap: pretty;
}
.panel__q strong { color: var(--accent); font-weight: 800; }
.panel__note { margin: 18px 0 0; font-size: 15px; line-height: 1.7; color: var(--text-3); text-wrap: pretty; }

.search label { display: block; margin-bottom: 12px; font-size: 14.5px; font-weight: 700; color: var(--text-2); }
.search__field {
  position: relative;
  display: flex;
  align-items: center;
  height: 70px;
  padding: 0 8px 0 24px;
  border-radius: var(--pill);
  background: #10141c;
  box-shadow: inset 0 0 0 1.5px var(--line-2);
  transition: box-shadow .3s;
}
.search__field:focus-within { box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 6px rgba(198, 239, 107, .16); }
.search__field.is-invalid { box-shadow: inset 0 0 0 2px var(--accent-soft); }
.search__icon { width: 22px; height: 22px; color: var(--text-3); }
.search__field input {
  flex: 1;
  width: 0;
  min-width: 0;
  height: 100%;
  padding: 0 14px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.02em;
  -webkit-appearance: none;
  appearance: none;
}
.search__field input::-webkit-search-cancel-button { display: none; }
.search__ph {
  position: absolute;
  left: 60px;
  top: 50%;
  display: flex;
  align-items: center;
  transform: translateY(-50%);
  color: var(--text-3);
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity .2s;
}
.search__caret { width: 2px; height: 1.15em; margin-left: 3px; background: var(--accent); animation: blink 1s steps(1) infinite; }
.search__field.has-value .search__ph { opacity: 0; }
.search__submit {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--pill);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 16.5px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color .3s, transform .2s;
}
.search__submit .i { width: 18px; height: 18px; }
.search__submit:hover { background: var(--accent-hi); }
.search__submit:active { transform: scale(.96); }
.search__error { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; color: var(--accent-soft); font-size: 14.5px; font-weight: 600; }
.search__error .i { width: 18px; height: 18px; }
.search__error[hidden] { display: none; }
.search__help { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--text-3); }
.search__help li { display: inline-flex; align-items: center; gap: 6px; }
.search__help .i { width: 16px; height: 16px; }

.result {
  margin-top: 18px;
  padding: 22px 24px;
  border-radius: 22px;
  background: #1e2531;
  box-shadow: inset 0 0 0 1px var(--line);
}
.result[hidden] { display: none; }
.result--idle { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); border: 0; }
.result--idle .result__head { color: var(--text-2); font-size: 16px; }
.result--idle .result__head > .i { color: var(--text-3); }
.result--idle p { color: var(--text-3); font-size: 14.5px; }
.skel--idle { margin-top: 16px; }
.skel--idle i { animation: none; background: rgba(255, 255, 255, .06); }
.result__head { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.result__head > .i { width: 22px; height: 22px; color: var(--accent); }
.result__q { display: inline-block; max-width: 11em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.result__badge { margin-left: auto; padding: 4px 10px; border-radius: var(--pill); background: rgba(255, 255, 255, .08); color: var(--text-2); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.result p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.7; color: var(--text-2); text-wrap: pretty; }
.skel { display: grid; gap: 12px; }
.skel i {
  display: block;
  height: 14px;
  border-radius: 7px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .06) 25%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .06) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.1s linear infinite;
}

.actions-list { display: grid; gap: 12px; }
.action {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 22px;
  background: #1e2531;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text);
  text-decoration: none;
  transition: background-color .3s, transform .45s var(--ease-out);
}
.action:hover { background: #252d3a; transform: translateX(4px); }
.action__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: rgba(198, 239, 107, .14); color: var(--accent); }
.action__icon .i { width: 23px; height: 23px; }
.action__text { display: grid; gap: 2px; }
.action__text strong { font-size: 17.5px; font-weight: 800; letter-spacing: -.025em; }
.action__text span { font-size: 14.5px; line-height: 1.55; color: var(--text-3); }
.action__go { width: 20px; height: 20px; color: var(--text-3); transition: transform .45s var(--ease-out), color .3s; }
.action:hover .action__go { transform: translateX(4px); color: var(--accent); }

.checklist { display: grid; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }
.checklist li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 18px;
  background: #1e2531;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.checklist__box { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); }
.checklist__box .i { width: 16px; height: 16px; }

.files { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.file-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  border: 0;
  border-radius: 18px;
  background: #1e2531;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -.02em;
  text-align: left;
  cursor: pointer;
  transition: background-color .3s;
}
.file-row > .i:first-child { width: 22px; height: 22px; color: var(--accent); }
.file-row__dl { width: 20px; height: 20px; margin-left: auto; color: var(--text-3); transition: transform .4s var(--ease-out), color .3s; }
.file-row:hover { background: #252d3a; }
.file-row:hover .file-row__dl { transform: translateY(3px); color: var(--text); }

@media (max-width: 899px) {
  .console__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tab { height: 52px; font-size: 15.5px; }
  .panel { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 479px) {
  .tab { gap: 8px; padding: 0 8px; font-size: 15px; }
  .tab .i { width: 18px; height: 18px; }
  .search__field { height: 62px; padding-left: 18px; }
  .search__field input { font-size: 16.5px; padding: 0 10px; }
  .search__ph { left: 50px; font-size: 16.5px; }
  .search__submit { height: 48px; padding: 0 18px; font-size: 15.5px; }
  .search__submit .i { display: none; }
}

/* ---------- GUIDE (sticky stack) ---------- */
.guide { position: relative; padding: clamp(90px, 11vw, 160px) 0 clamp(70px, 9vw, 130px); }
.stack { margin-top: clamp(40px, 5vw, 72px); }
.stack__sentinel { display: block; height: 0; }
.qcard {
  --top: calc(var(--header-h) + 18px + var(--i) * 14px);
  position: sticky;
  top: var(--top);
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  align-items: center;
  gap: clamp(20px, 4vw, 64px);
  min-height: min(660px, calc(100svh - var(--header-h) - 56px));
  margin-top: clamp(20px, 3vw, 40px);
  padding: clamp(30px, 5vw, 76px);
  border-radius: clamp(26px, 3vw, 40px);
  overflow: hidden;
  transform-origin: 50% 0;
}
.stack > .stack__sentinel:first-child + .qcard { margin-top: 0; }
.qcard__shade { position: absolute; inset: 0; z-index: 3; background: #06080c; opacity: 0; pointer-events: none; }
.qcard--accent { background: var(--accent); color: var(--accent-ink); }
.qcard--paper { background: var(--paper); color: var(--ink); }
.qcard--dark { background: #1a202b; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.qcard--peach { background: var(--peach); color: var(--ink); }

.qcard__q {
  margin: 0;
  font-size: clamp(30px, 4.5vw, 68px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.052em;
  text-wrap: balance;
}
.qcard__a {
  margin: clamp(18px, 2vw, 28px) 0 0;
  max-width: 26em;
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 500;
  line-height: 1.75;
  text-wrap: pretty;
}
.qcard--accent .qcard__a { color: #1a2b0b; }
.qcard--paper .qcard__a { color: var(--ink-2); }
.qcard--dark .qcard__a { color: var(--text-2); }
.qcard--peach .qcard__a { color: #33452a; }

.qcard__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  margin-top: clamp(24px, 3vw, 40px);
  padding: 0 24px;
  border-radius: var(--pill);
  background: var(--ink);
  color: var(--paper);
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -.02em;
  text-decoration: none;
  transition: transform .45s var(--ease-out), background-color .3s, color .3s;
}
.qcard__cta .i { width: 18px; height: 18px; transition: transform .45s var(--ease-out); }
.qcard__cta:hover .i { transform: translateX(4px); }
.qcard__cta:active { transform: scale(.97); }
.qcard--dark .qcard__cta { background: var(--accent); color: var(--accent-ink); }
.qcard--accent .qcard__cta:hover, .qcard--paper .qcard__cta:hover, .qcard--peach .qcard__cta:hover { background: #000; }
.qcard--dark .qcard__cta:hover { background: var(--accent-hi); }
.qcard--accent :focus-visible, .qcard--paper :focus-visible, .qcard--peach :focus-visible { outline-color: var(--ink); }

.qcard__art {
  position: relative;
  justify-self: center;
  width: min(100%, 560px);
  aspect-ratio: 1;
  margin: 0;
}
.qcard__art::before {
  content: "";
  position: absolute;
  inset: 14%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .42), rgba(255, 255, 255, 0) 68%);
}
.qcard--dark .qcard__art::before { background: radial-gradient(circle, rgba(198, 239, 107, .32), rgba(198, 239, 107, 0) 68%); }
.qcard__art img { width: 100%; height: 100%; object-fit: contain; }

@media (max-width: 767px) {
  .qcard {
    --top: calc(var(--header-h) + 12px + var(--i) * 10px);
    grid-template-columns: 1fr;
    align-content: start;
    gap: 4px;
    min-height: calc(100svh - var(--header-h) - 44px);
    padding: 26px 24px 30px;
  }
  .qcard__art { order: -1; justify-self: start; width: min(58%, 250px); margin: -6px 0 0 -10px; }
  .qcard__q { font-size: clamp(28px, 8.2vw, 36px); }
}

/* ---------- PROCESS (pinned scene) ---------- */
.process { position: relative; overflow-x: clip; background: linear-gradient(180deg, var(--bg) 0%, #121720 18%, #121720 82%, var(--bg) 100%); }
.process__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 110px);
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: calc(var(--header-h) + 24px) var(--gutter) 36px;
}
.process .sec-title { font-size: clamp(30px, 4.2vw, 60px); }
.steps { position: relative; display: grid; gap: 2px; margin: clamp(26px, 4.5vh, 48px) 0 0; padding: 0; list-style: none; }
.steps::before, .steps::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 38px;
  bottom: 38px;
  width: 2px;
  margin-left: -1px;
  border-radius: 2px;
  background: var(--line);
}
.steps::after { background: var(--accent); transform: scaleY(var(--p, 0)); transform-origin: 50% 0; }
.step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 13px 0;
  opacity: .42;
  transition: opacity .5s var(--ease-out);
}
.step.is-active { opacity: 1; }
.step.is-done { opacity: .66; }
.step__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
  color: var(--text-2);
  font-size: 17px;
  font-weight: 800;
  transition: background-color .4s, color .4s, box-shadow .4s;
}
.step.is-active .step__num { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 7px rgba(198, 239, 107, .18); }
.step.is-done .step__num { background: var(--text); color: var(--ink); box-shadow: none; }
.step h3 { margin: 7px 0 3px; font-size: clamp(19px, 1.7vw, 24px); font-weight: 800; line-height: 1.35; letter-spacing: -.032em; }
.step p { margin: 0; max-width: 30em; font-size: 15.5px; line-height: 1.65; color: var(--text-2); text-wrap: pretty; }
.steps__bar { display: none; }

/* Keep number discs opaque so the progress line cannot show through them. */
@media (min-width: 900px) {
  .motion .step { --step-opacity: .42; opacity: 1; }
  .motion .step.is-active { --step-opacity: 1; }
  .motion .step.is-done { --step-opacity: .66; opacity: 1; }
  .motion .step > div { opacity: var(--step-opacity); transition: opacity .5s var(--ease-out); }
  .motion .step__num {
    background: color-mix(in srgb, var(--bg-2) 42%, #121720);
    color: color-mix(in srgb, var(--text-2) 42%, #121720);
    box-shadow: inset 0 0 0 1.5px rgba(244, 242, 238, .084);
  }
  .motion .step.is-done .step__num {
    background: color-mix(in srgb, var(--text) 66%, #121720);
    color: color-mix(in srgb, var(--ink) 66%, #121720);
  }
}

.process__stage {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  max-height: 660px;
  min-height: 0;
  perspective: 1600px;
}
.doc-fit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 440px;
  height: 560px;
  margin: -280px 0 0 -220px;
  transform: scale(var(--doc-scale, 1));
  transform-origin: 50% 50%;
}
.doc { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.doc__face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  padding: 26px 28px;
  border-radius: 26px;
  background: var(--paper);
  color: var(--ink);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 60px 110px -40px rgba(0, 0, 0, .85);
}
.doc__back { transform: rotateY(180deg); display: flex; flex-direction: column; justify-content: center; padding: 38px 36px; }
.doc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1.5px dashed rgba(20, 20, 24, .16);
}
.doc__head strong { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.doc__status {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: var(--pill);
  background: rgba(20, 20, 24, .07);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 800;
  transition: background-color .35s, color .35s;
}
.doc__status[data-state="1"] { background: var(--ink); color: var(--paper); }
.doc__status[data-state="2"], .doc__status[data-state="3"] { background: var(--accent); color: var(--accent-ink); }
.field { display: grid; gap: 5px; margin-bottom: 13px; }
.field__label { font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.field__value {
  min-height: 42px;
  margin: 0;
  padding: 9px 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(20, 20, 24, .08);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.5;
}
.field--story .field__value { min-height: 118px; font-size: 15px; font-weight: 500; line-height: 1.72; }
.redact { position: relative; white-space: nowrap; }
.redact__bar {
  position: absolute;
  left: -3px;
  right: -3px;
  top: 50%;
  height: 1.3em;
  margin-top: -.65em;
  border-radius: 4px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.type-caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 1px; vertical-align: -.16em; background: var(--accent); animation: blink 1s steps(1) infinite; }
.attach { display: grid; gap: 8px; }
.attach__file {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(20, 20, 24, .08);
  font-size: 14px;
  font-weight: 700;
}
.attach__file > .i { width: 20px; height: 20px; color: var(--accent-deep); }
.attach__file code { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.attach__ok {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  margin-left: auto;
  padding: 0 9px;
  border-radius: var(--pill);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 800;
}
.attach__ok .i { width: 13px; height: 13px; }
.doc__scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 130px;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(198, 239, 107, 0) 0%, rgba(198, 239, 107, .14) 76%, rgba(198, 239, 107, .95) 98%, rgba(198, 239, 107, 0) 100%);
  transform: translateY(-100%);
}
.doc__watermark {
  position: absolute;
  left: 50%;
  top: 63%;
  padding: 4px 18px;
  border: 4px solid currentColor;
  border-radius: 14px;
  color: var(--accent);
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -.03em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(-16deg);
  mix-blend-mode: multiply;
}
.pub .tag { font-size: 14px; }
.pub__title { margin: 18px 0 0; font-size: 27px; font-weight: 800; line-height: 1.36; letter-spacing: -.045em; text-wrap: balance; }
.pub__desc { margin: 16px 0 0; font-size: 15.5px; line-height: 1.75; color: var(--ink-2); text-wrap: pretty; }
.pub__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid rgba(20, 20, 24, .1);
  font-size: 14px;
  color: var(--ink-3);
}
.pub-chip {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border-radius: var(--pill);
  background: var(--text);
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -.02em;
  white-space: nowrap;
  box-shadow: 0 24px 50px -14px rgba(0, 0, 0, .7);
  opacity: 0;
  transform: translate(-50%, -50%);
}
.pub-chip .i { width: 18px; height: 18px; color: var(--accent-deep); }
.pub-chip--b { background: var(--accent); color: var(--accent-ink); }
.pub-chip--b .i { color: currentColor; }

@media (max-width: 899px) {
  .process__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto minmax(0, 1fr) auto auto;
    align-items: stretch;
    gap: 10px;
    padding: calc(var(--header-h) + 18px) var(--gutter) 22px;
  }
  .process__intro { display: contents; }
  .process .sec-title { order: 1; font-size: clamp(26px, 7vw, 34px); }
  .process .sec-lead { order: 2; margin-top: 0; font-size: 15px; }
  .process__stage { order: 3; max-height: none; height: auto; }
  .steps { order: 4; min-height: 124px; margin: 0; }
  .steps__bar { order: 5; display: block; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
  .steps__bar span { display: block; height: 100%; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
  .steps::before, .steps::after { display: none; }
  .step { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
  .step.is-active { opacity: 1; transform: none; }
  .step.is-done { opacity: 0; }
  .step p { font-size: 15px; }
}

/* ---------- CASES ---------- */
.cases { position: relative; padding: clamp(100px, 12vw, 180px) 0 clamp(80px, 10vw, 140px); }
.cases__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--pill);
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--line-2);
  color: var(--text-2);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.02em;
  cursor: pointer;
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.filter:hover { color: var(--text); box-shadow: inset 0 0 0 1.5px var(--text-3); }
.filter[aria-pressed="true"] { background: var(--text); color: var(--ink); box-shadow: none; }

.case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(16px, 1.8vw, 24px);
  margin-top: clamp(32px, 4vw, 56px);
}
.case {
  position: relative;
  display: grid;
  border-radius: var(--r-lg);
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
  transition: opacity .5s var(--ease-out), filter .5s var(--ease-out);
}
.case.is-dim { opacity: .26; filter: grayscale(1); }
.case--lead { grid-row: span 2; grid-template-rows: auto minmax(0, 1fr); }
.case:not(.case--lead) { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
.case__art {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0;
  overflow: hidden;
  background: radial-gradient(90% 90% at 50% 38%, #ffffff 0%, #ebe9e2 72%);
}
.case--lead .case__art { aspect-ratio: 16 / 11; }
.case:not(.case--lead) .case__art { min-height: 250px; }
.case__art img { width: 88%; height: auto; transition: transform .9s var(--ease-out); }
.case--lead .case__art img { width: 62%; }
.case:hover .case__art img { transform: scale(1.07) rotate(-3deg); }
.case__body { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: clamp(22px, 2.4vw, 34px); }
.case h3 { margin: 4px 0 0; font-size: clamp(20px, 1.7vw, 25px); font-weight: 800; line-height: 1.4; letter-spacing: -.038em; text-wrap: balance; }
.case--lead h3 { font-size: clamp(24px, 2.4vw, 34px); }
.case h3 a {
  color: inherit;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size .55s var(--ease-out);
}
.case h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.case:hover h3 a { background-size: 100% 2px; }
.case h3 a:focus-visible { outline: none; }
.case:has(h3 a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 4px; }
.case p { margin: 0; font-size: 15.5px; line-height: 1.72; color: var(--ink-2); text-wrap: pretty; }
.case__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(20, 20, 24, .1);
  font-size: 14px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 13px;
  border-radius: var(--pill);
  background: var(--ink);
  color: var(--paper);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.same { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.same .i { width: 18px; height: 18px; }
.same b { color: var(--accent-deep); font-weight: 800; }

.stamp {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1px;
  width: 98px;
  height: 98px;
  border: 2.5px solid currentColor;
  border-radius: 50%;
  background: rgba(242, 241, 236, .72);
  box-shadow: inset 0 0 0 4px rgba(242, 241, 236, .9), inset 0 0 0 5.5px currentColor;
  color: var(--accent-deep);
  font-size: 14px;
  letter-spacing: -.02em;
  pointer-events: none;
  transform: rotate(-12deg);
}
.stamp .i { width: 22px; height: 22px; }
.stamp b { font-weight: 900; }
.stamp--doc { top: 26px; right: 26px; }
@media (min-width: 600px) {
  .case:not(.case--lead) .stamp { top: 14px; left: 14px; right: auto; width: 88px; height: 88px; font-size: 13px; }
}

@media (max-width: 899px) {
  .case-grid { grid-template-columns: 1fr; }
  .case--lead { grid-row: auto; }
}
@media (max-width: 599px) {
  .case:not(.case--lead) { grid-template-columns: 1fr; }
  .case:not(.case--lead) .case__art { min-height: 0; aspect-ratio: 16 / 10; }
  .case:not(.case--lead) .case__art img { width: 56%; }
  .case--lead .case__art img { width: 64%; }
  .stamp { width: 84px; height: 84px; font-size: 12.5px; }
  .stamp .i { width: 19px; height: 19px; }
}

/* ---------- POPULAR ---------- */
.popular { position: relative; padding: clamp(70px, 9vw, 130px) 0 clamp(80px, 10vw, 150px); }
.posts { margin: clamp(26px, 4vw, 50px) 0 0; padding: 0; list-style: none; }
.posts li + li .post::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--line);
}
.post {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto 26px;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  padding: clamp(20px, 2.4vw, 32px) clamp(10px, 1.4vw, 22px);
  color: var(--text);
  text-decoration: none;
  transition: color .45s var(--ease-out);
}
.post::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 20px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform .55s var(--ease-out);
}
.post:hover::before, .post:focus-visible::before { transform: scaleY(1); }
.post:hover, .post:focus-visible { color: var(--accent-ink); }
.post:focus-visible { outline: none; }
.post__rank { font-size: 15px; font-weight: 800; color: var(--text-3); font-variant-numeric: tabular-nums; transition: color .45s; }
.post__title { font-size: clamp(19px, 2.3vw, 32px); font-weight: 700; line-height: 1.38; letter-spacing: -.038em; transition: transform .55s var(--ease-out); text-wrap: balance; }
.post__count { display: inline-flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 700; color: var(--text-2); font-variant-numeric: tabular-nums; transition: color .45s; }
.post__count .i { width: 19px; height: 19px; }
.post__go { width: 24px; height: 24px; color: var(--text-3); transition: transform .55s var(--ease-out), color .45s; }
.post:hover .post__rank, .post:hover .post__count, .post:hover .post__go,
.post:focus-visible .post__rank, .post:focus-visible .post__count, .post:focus-visible .post__go { color: var(--accent-ink); }
.post:hover .post__title { transform: translateX(10px); }
.post:hover .post__go { transform: rotate(45deg); }

@media (max-width: 599px) {
  .post { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; padding: 20px 6px; }
  .post__go { display: none; }
  .post__count { font-size: 14px; }
}

/* ---------- STATS ---------- */
.stats { position: relative; isolation: isolate; overflow: hidden; padding: clamp(70px, 9vw, 140px) 0; }
.stats::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: 100vmax;
  height: 100vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 239, 107, .2) 0%, rgba(198, 239, 107, .05) 38%, rgba(198, 239, 107, 0) 62%);
  transform: translate(-50%, -50%);
}
.stat {
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 2vw, 30px);
  max-width: 1640px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  white-space: nowrap;
}
.stat:nth-of-type(2) { justify-content: flex-end; }
.stat:nth-of-type(3) { justify-content: center; }
.stat__num {
  display: inline-flex;
  font-size: clamp(88px, 17vw, 280px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.065em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.stat:nth-of-type(2) .stat__num { color: transparent; -webkit-text-stroke: clamp(1.5px, .22vw, 3px) var(--text); }
.stat:nth-of-type(3) .stat__num { color: var(--accent); }
.stat__label { padding-top: .95em; font-size: clamp(16px, 1.7vw, 24px); font-weight: 800; letter-spacing: -.025em; color: var(--accent); }
.stat:nth-of-type(3) .stat__label { color: var(--text); }
.odo { display: inline-block; height: 1em; overflow: hidden; }
.odo__strip { display: flex; flex-direction: column; }
.odo__strip > span, .odo__sep { display: block; height: 1em; line-height: 1; }

/* ---------- CTA ---------- */
.cta { position: relative; }
.cta__stage {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
}
.cta__fill {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(85% 75% at 50% 42%, #d8f88f 0%, var(--accent) 46%, #a8d652 100%);
  clip-path: circle(72% at 50% 50%);
}
.cta__inner { max-width: 1120px; padding: 0 var(--gutter); text-align: center; color: var(--accent-ink); }
.cta__title {
  max-width: 13em;
  margin: 0 auto;
  font-size: clamp(34px, 6vw, 94px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.052em;
  text-wrap: balance;
}
.cta__text {
  max-width: 44em;
  margin: clamp(20px, 2.4vw, 32px) auto 0;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 500;
  line-height: 1.75;
  color: #16260a;
  text-wrap: pretty;
}
.cta__text span { display: block; }
.cta .btn { margin-top: clamp(28px, 3.4vw, 44px); }
@media (max-width: 767px) {
  .cta__text span { display: inline; }
}
.cta :focus-visible { outline-color: var(--ink); }

/* ---------- FOOTER ---------- */
.footer { position: relative; overflow: hidden; padding-top: clamp(64px, 8vw, 110px); background: var(--bg); }
.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.footer__nav { display: flex; flex-wrap: wrap; gap: 0 18px; margin: -12px -4px; }
.footer__nav a { display: inline-block; padding: 12px 4px; color: var(--text-2); font-size: 15px; font-weight: 600; text-decoration: none; transition: color .25s; }
.footer__nav a:hover { color: var(--text); }
.footer__notice { display: grid; gap: 6px; max-width: 62em; margin-top: 28px; }
.footer__notice p { margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--text-3); text-wrap: pretty; }
.footer__copy { margin: 22px 0 0; font-size: 13px; color: var(--text-3); }
.footer__mark {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: clamp(40px, 6vw, 80px);
  padding-top: .04em;
  overflow: hidden;
  color: #1e2531;
  font-size: clamp(110px, 30vw, 470px);
  font-weight: 900;
  line-height: .76;
  letter-spacing: -.08em;
  user-select: none;
}
.footer__mark span { display: inline-block; }
.footer__mark .footer__spark { align-self: flex-start; color: var(--accent); letter-spacing: 0; }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(560px, calc(100vw - 32px));
  padding: 14px 20px;
  border-radius: 20px;
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .6);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, calc(100% + 40px));
  transition: transform .6s var(--ease-out), opacity .4s, visibility 0s .6s;
  pointer-events: none;
}
.toast .i { width: 20px; height: 20px; color: var(--accent-deep); }
.toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: transform .6s var(--ease-out), opacity .3s, visibility 0s; }

/* ---------- motion pre-states (only while JS drives motion) ---------- */
.motion .hero__title .line > span { transform: translateY(112%); }
.motion .hero__eyebrow, .motion .hero__lead, .motion .hero__actions { opacity: 0; }
.motion .hero__mark { --mark: 0; }
.motion .reveal { opacity: 0; transform: translateY(28px); }

/* ---------- static layout when motion is off (reduced motion / no script) ---------- */
html:not(.motion) .process__inner { height: auto; min-height: 0; padding-top: clamp(90px, 10vw, 140px); padding-bottom: clamp(60px, 8vw, 110px); }
html:not(.motion) .process__stage { height: 600px; }
html:not(.motion) .step { opacity: 1; }
@media (max-width: 899px) {
  html:not(.motion) .steps { min-height: 0; }
  html:not(.motion) .step { position: static; opacity: 1; transform: none; }
  html:not(.motion) .steps__bar { display: none; }
  html:not(.motion) .process__stage { height: 470px; }
}

@keyframes blink { 50% { opacity: 0; } }
@keyframes shimmer { to { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   platform additions [intro] — 플랫폼 연결로 생긴 요소만. 원본 규칙은 위에서 고치지 않았다.
   ========================================================================== */

/* 헤더의 "커뮤니티 가기"는 원본 로그인 버튼 자리·모양을 그대로 쓴다 */
a.login { display: inline-flex; align-items: center; text-decoration: none; white-space: nowrap; }
@media (max-width: 1023px) { a.login { display: none; } }
a.file-row { text-decoration: none; }
.btn { text-decoration: none; }

/* 마지막 행동 유도: 제보하기 + 커뮤니티 둘러보기 */
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(28px, 3.4vw, 44px); }
.cta .cta__actions .btn { margin-top: 0; }
.btn--line { background: transparent; color: var(--accent-ink); box-shadow: inset 0 0 0 2px var(--accent-ink); }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: var(--paper); }
@media (max-width: 767px) {
  .cta__actions { flex-direction: column; align-items: stretch; max-width: 360px; margin-inline: auto; }
  .cta__actions .btn--xl { height: 62px; font-size: 17.5px; }
}

/* 사례 카드: 공개 단계를 적용한 업체 표시명 */
.case__meta:has(.case__company) { flex-wrap: wrap; row-gap: 4px; }
.case__company { order: -1; flex: 1 0 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; color: var(--ink-2); }
.case__meta time { white-space: nowrap; }

/* 공개 사례가 아직 없을 때 */
.cases__empty {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(32px, 4vw, 56px);
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.cases__empty img { flex: none; width: clamp(110px, 12vw, 150px); height: auto; border-radius: var(--r-md); }
.cases__empty p { margin: 0; color: var(--text-2); font-size: 16px; line-height: 1.7; text-wrap: pretty; }
.cases__empty .cases__empty-title { margin-bottom: 6px; color: var(--text); font-size: clamp(19px, 1.8vw, 24px); font-weight: 800; letter-spacing: -.03em; }
@media (max-width: 599px) {
  .cases__empty { flex-direction: column; align-items: flex-start; }
}
.posts__empty { margin: clamp(26px, 4vw, 50px) 0 0; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 17px; text-wrap: pretty; }

/* 숫자 요약의 집계 기준 */
.stats__asof { max-width: 1640px; margin: clamp(28px, 3vw, 44px) auto 0; padding: 0 var(--gutter); color: var(--text-3); font-size: 14.5px; line-height: 1.7; text-align: center; text-wrap: pretty; }

/* 제보 절차 4단계: 업체 공식 답변(진초록 바탕 + 연두 글씨) */
.pub-answer {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 34px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #285744;
  color: #dfedaa;
  font-size: 14.5px;
  line-height: 1.6;
}
.pub-answer p { margin: 6px 0 0; }
.pub-answer__badge { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: -.02em; }
.pub-answer__badge .i { width: 15px; height: 15px; }
.doc__status[data-state="4"] { background: #285744; color: #dfedaa; }

/* 바닥글 약관·정책 줄 */
.footer__legal { display: flex; flex-wrap: wrap; gap: 0 18px; margin: 16px -4px 0; }
.footer__legal a { display: inline-block; padding: 8px 4px; color: var(--text-2); font-size: 14.5px; font-weight: 600; text-decoration: none; transition: color .25s; }
.footer__legal a b { font-weight: 800; color: var(--text); }
.footer__legal a.is-strong { color: var(--accent); }
.footer__legal a:hover { color: var(--text); }

/* 모바일 하단 고정: 제보하기 · 커뮤니티 가기 (S00 모바일) */
.mdock { display: none; }
@media (max-width: 767px) {
  .mdock {
    position: fixed;
    inset: auto 0 0;
    z-index: 48;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px var(--gutter) max(10px, env(safe-area-inset-bottom));
    background: rgba(15, 19, 26, .86);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    backdrop-filter: blur(16px) saturate(150%);
    border-top: 1px solid var(--line);
    transform: translateY(110%);
    transition: transform .5s var(--ease-out);
  }
  .mdock .btn { height: 50px; padding: 0 12px; font-size: 16px; }
  .mdock.is-on, html:not(.js) .mdock { transform: none; }
  .is-menu .mdock { transform: translateY(110%); }
  .footer { padding-bottom: 76px; }
  html:not(.js) .hero__content { padding-bottom: 104px; }
}

/* 스크립트가 꺼진 경우: 절차 장면을 처리된 상태로 보여 준다(가림 막대·사본 표시) */
html:not(.js) .redact__bar { transform: scaleX(1); }
html:not(.js) .doc__watermark { opacity: .9; }
html:not(.js) .type-caret { display: none; }
@media (max-width: 899px) { html:not(.js) .doc-fit { --doc-scale: .84; } }
@media (max-width: 599px) { html:not(.js) .doc-fit { --doc-scale: .74; } }
