/* ─────────────────────────────────────────────────────────────
   HackByte Workspace — 마케팅 랜딩
   ───────────────────────────────────────────────────────────── */

/* ══ 스크롤 리빌 시스템 ═══════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-soft), transform 0.9s var(--ease-soft),
    filter 0.9s var(--ease-soft), clip-path 1s var(--ease-soft);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
[data-reveal].in {
  opacity: 1;
  transform: none;
  filter: none;
  clip-path: inset(0 0 0 0);
}
[data-reveal="left"] {
  transform: translateX(-46px);
}
[data-reveal="right"] {
  transform: translateX(46px);
}
[data-reveal="scale"] {
  transform: scale(0.92);
}
[data-reveal="blur"] {
  filter: blur(14px);
}
[data-reveal="clip"] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 100% 0);
}
[data-reveal="rise"] {
  transform: translateY(64px);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
    transition: none !important;
  }
}

/* 글자 단위로 솟아오르는 헤드라인 */
.reveal-words .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.reveal-words .word > span {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 0.9s var(--ease-soft);
  transition-delay: calc(var(--wi, 0) * 60ms);
}
.reveal-words.in .word > span {
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal-words .word > span {
    transform: none;
    transition: none;
  }
}

/* ══ HERO ════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding-top: clamp(120px, 18vh, 200px);
  padding-bottom: clamp(60px, 9vh, 120px);
  overflow: hidden;
}
.hero::before {
  /* 아주 옅은 그리드 — 상자가 아니라 배경 결로만 */
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(
    120% 80% at 50% 0%,
    #000 35%,
    transparent 75%
  );
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 35%, transparent 75%);
  opacity: 0.6;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.1),
    transparent 62%
  );
  z-index: -2;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.6);
}
.hero-badge .pill {
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin-top: 22px;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--primary), #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  margin-top: 22px;
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-trust {
  margin-top: 34px;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--faint);
  font-size: 13.5px;
}
.hero-trust b {
  color: var(--text);
  font-weight: 700;
}

/* HERO 우측 — 워크스페이스 콘솔 목업 (보더/쉐도우 최소, 평면 패널) */
.console {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.console-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.console-top .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}
.console-top .path {
  margin-left: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--faint);
}
.console-body {
  display: grid;
  grid-template-columns: 132px 1fr;
}
.console-side {
  border-right: 1px solid var(--line);
  padding: 14px 10px;
  display: grid;
  gap: 3px;
  align-content: start;
}
.console-side .s-item {
  font-size: 12.5px;
  color: var(--muted);
  padding: 7px 10px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.console-side .s-item.active {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-weight: 600;
}
.console-side .s-item .ic {
  width: 5px;
  height: 5px;
  border-radius: 1.5px;
  background: currentColor;
  opacity: 0.6;
}
.console-main {
  padding: 16px;
}
.console-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.kpi .v {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.kpi .l {
  font-size: 11.5px;
  color: var(--faint);
}
.console-rows {
  display: grid;
  gap: 0;
}
.c-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 8px;
  padding: 9px 2px;
  font-size: 12.5px;
  align-items: center;
  border-top: 1px solid var(--line);
}
.c-row.head {
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-top: none;
}
.c-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.c-ava {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.12);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
}
.tag {
  display: inline-flex;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.tag.pro {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
}
.tag.plus {
  background: rgba(100, 116, 139, 0.12);
  color: var(--muted);
}
.tag.live {
  background: rgba(34, 197, 94, 0.13);
  color: #15803d;
}
.bar {
  height: 6px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.bar > i {
  display: block;
  height: 100%;
  background: var(--primary);
  border-radius: inherit;
  width: 0;
  transition: width 1.1s var(--ease-soft);
}
[data-reveal].in .bar > i {
  width: var(--w, 70%);
}

/* 둥둥 떠다니는 미니 노티 */
.float-note {
  position: absolute;
  right: -14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 18px 40px -24px rgba(15, 23, 42, 0.45);
  animation: floaty 5s ease-in-out infinite;
}
.float-note.n1 {
  top: 16%;
}
.float-note.n2 {
  bottom: 12%;
  right: auto;
  left: -18px;
  animation-delay: 1.4s;
}
.float-note .fi {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 15px;
}
.float-note .fi.green {
  background: rgba(34, 197, 94, 0.14);
}
.float-note .fi.blue {
  background: rgba(37, 99, 235, 0.12);
}
.float-note small {
  display: block;
  font-weight: 500;
  color: var(--faint);
  font-size: 11px;
}
@keyframes floaty {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .float-note {
    animation: none;
  }
}

/* ══ 마퀴(흐르는 대상 조직) ══════════════════════════════════ */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 22px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-track span {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 700;
  color: var(--faint);
  letter-spacing: -0.01em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.marquee-track span::after {
  content: "•";
  color: var(--line-strong);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* ══ 스탯 카운터 ═════════════════════════════════════════════ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  padding: 8px clamp(14px, 2.4vw, 34px);
  border-left: 1px solid var(--line);
}
.stat:first-child {
  border-left: none;
  padding-left: 0;
}
.stat .num {
  font-size: clamp(40px, 5.2vw, 64px);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}
.stat .num .u {
  color: var(--primary);
}
.stat .lbl {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}
@media (max-width: 760px) {
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 36px 0;
  }
  .stat {
    padding: 0 22px;
  }
  .stat:nth-child(odd) {
    border-left: none;
    padding-left: 0;
  }
}

/* ══ 대상 조직 행 ════════════════════════════════════════════ */
.audience {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
}
.audience .a-item {
  padding: 28px 18px 26px 0;
  border-bottom: 1px solid var(--line);
}
.audience .a-item .ai {
  font-size: 26px;
  margin-bottom: 14px;
}
.audience .a-item h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}
.audience .a-item p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}
@media (max-width: 900px) {
  .audience {
    grid-template-columns: 1fr 1fr;
  }
  .audience .a-item {
    padding-right: 12px;
  }
}
@media (max-width: 520px) {
  .audience {
    grid-template-columns: 1fr;
  }
}

/* ══ 기능 섹션 (교차 2단) ════════════════════════════════════ */
.feature {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(64px, 9vh, 120px);
  border-top: 1px solid var(--line);
}
.feature:nth-child(even) .feature-media {
  order: -1;
}
.feature-index {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.08em;
}
.feature h3 {
  font-size: clamp(26px, 3.4vw, 40px);
  margin: 14px 0 18px;
}
.feature p.desc {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 46ch;
}
.feature-list {
  list-style: none;
  margin-top: 26px;
  display: grid;
  gap: 0;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
}
.feature-list li:last-child {
  border-bottom: 1px solid var(--line);
}
.feature-list .ck {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
}
.feature-list b {
  font-weight: 600;
}
.feature-list span {
  color: var(--muted);
  font-weight: 400;
}

/* 기능 미디어 패널 — 평면, 얇은 보더만 */
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  font-size: 13.5px;
  font-weight: 700;
}
.panel-head .muted {
  font-weight: 500;
  color: var(--faint);
}
.panel-pad {
  padding: 18px;
}

/* 멤버 테이블 */
.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.tbl th {
  text-align: left;
  color: var(--faint);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 8px;
}
.tbl td {
  padding: 11px 8px;
  border-top: 1px solid var(--line);
}
.tbl tr.sel td {
  background: rgba(37, 99, 235, 0.05);
}
.tbl .nm {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
}

/* 인보이스 */
.invoice .ir {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.invoice .ir:first-child {
  border-top: none;
}
.invoice .ir .lab {
  color: var(--muted);
}
.invoice .ir.total {
  border-top: 2px solid var(--text);
  margin-top: 6px;
  font-weight: 800;
  font-size: 18px;
}
.invoice .ir.discount .amt {
  color: var(--accent);
}
.invoice-foot {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--faint);
  display: flex;
  justify-content: space-between;
}

/* CTF 순위 */
.rank-row {
  display: grid;
  grid-template-columns: 28px 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 11px 4px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.rank-row:first-of-type {
  border-top: none;
}
.rank-row .pos {
  font-weight: 800;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}
.rank-row.top .pos {
  color: var(--primary);
}
.rank-row .who {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 9px;
}
.rank-row .solved {
  color: var(--muted);
  font-size: 12.5px;
}
.rank-row .pts {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: #15803d;
}
.live-badge .blink {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1.4s ease-in-out infinite;
}
@keyframes blink {
  50% {
    opacity: 0.25;
  }
}

/* 문제 출제 리스트 */
.chal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 4px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.chal:first-of-type {
  border-top: none;
}
.chal .ct {
  font-weight: 600;
}
.chal .meta {
  display: flex;
  gap: 7px;
  align-items: center;
}
.lvl {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}
.lvl.e {
  background: rgba(34, 197, 94, 0.13);
  color: #15803d;
}
.lvl.m {
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
}
.lvl.h {
  background: rgba(239, 68, 68, 0.13);
  color: #b91c1c;
}
.st {
  font-size: 11.5px;
  color: var(--faint);
}

/* 진척 리포트 도넛/바 */
.report-grid {
  display: grid;
  gap: 16px;
}
.donut {
  --p: 92;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(
    var(--primary) calc(var(--p) * 1%),
    var(--line) 0
  );
  display: grid;
  place-items: center;
  margin: 4px auto 0;
}
.donut::after {
  content: attr(data-val);
  width: 86px;
  height: 86px;
  background: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
}
.prog {
  display: grid;
  gap: 10px;
}
.prog .pr {
  display: grid;
  gap: 6px;
}
.prog .pr .t {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}
.prog .pr .t b {
  color: var(--text);
}

/* 권한 매트릭스 */
.matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.matrix th,
.matrix td {
  padding: 11px 10px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.matrix th:first-child,
.matrix td:first-child {
  text-align: left;
  color: var(--text);
  font-weight: 600;
}
.matrix thead th {
  border-top: none;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--faint);
}
.matrix .y {
  color: var(--primary);
  font-weight: 800;
}
.matrix .n {
  color: var(--line-strong);
}

@media (max-width: 880px) {
  .feature {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature:nth-child(even) .feature-media {
    order: 0;
  }
}

/* ══ 스크롤리텔링: 도입 흐름 (sticky) ═══════════════════════ */
.flow {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.flow-steps {
  display: grid;
  gap: clamp(40px, 10vh, 120px);
  padding-block: 8vh;
}
.flow-step {
  opacity: 0.32;
  transition: opacity 0.4s var(--ease);
}
.flow-step.active {
  opacity: 1;
}
.flow-step .n {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.1em;
}
.flow-step h3 {
  font-size: clamp(24px, 3vw, 34px);
  margin: 12px 0 14px;
}
.flow-step p {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.7;
  max-width: 42ch;
}
.flow-visual {
  position: sticky;
  top: 22vh;
  height: 56vh;
  display: grid;
  place-items: center;
}
.flow-stage {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 3.4;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-soft);
  overflow: hidden;
}
.flow-card {
  position: absolute;
  inset: 0;
  padding: 26px;
  display: grid;
  align-content: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.flow-card.show {
  opacity: 1;
  transform: none;
}
.flow-card .big {
  font-size: 46px;
}
.flow-card .ttl {
  font-size: 20px;
  font-weight: 800;
}
.flow-mock {
  display: grid;
  gap: 8px;
}
.flow-mock .ln {
  height: 11px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid var(--line);
}
.flow-mock .ln.s {
  width: 60%;
}
.flow-mock .ln.blue {
  background: rgba(37, 99, 235, 0.12);
  border-color: transparent;
  width: 75%;
}
@media (max-width: 880px) {
  .flow {
    grid-template-columns: 1fr;
  }
  .flow-visual {
    display: none;
  }
  .flow-step {
    opacity: 1;
    border-top: 1px solid var(--line);
    padding-top: 28px;
  }
  .flow-steps {
    gap: 0;
    padding-block: 0;
  }
}

/* ══ 비교표 ══════════════════════════════════════════════════ */
.compare {
  width: 100%;
  border-collapse: collapse;
}
.compare th,
.compare td {
  padding: 20px 18px;
  text-align: left;
  border-top: 1px solid var(--line);
  vertical-align: top;
}
.compare thead th {
  border-top: none;
  font-size: 14px;
  color: var(--muted);
}
.compare thead th.hl {
  color: var(--primary);
  font-size: 18px;
  font-weight: 800;
}
.compare tbody td {
  font-size: 15px;
}
.compare td:first-child {
  font-weight: 600;
  color: var(--text);
  width: 32%;
}
.compare td.hl {
  background: linear-gradient(rgba(37, 99, 235, 0.04), rgba(37, 99, 235, 0.04));
}
.compare .muted {
  color: var(--muted);
}
@media (max-width: 720px) {
  .compare th,
  .compare td {
    padding: 14px 10px;
    font-size: 13.5px;
  }
}

/* ══ 비용 계산기 ═════════════════════════════════════════════ */
.calc {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: clamp(36px, 5vh, 56px);
}
.calc-controls {
  display: grid;
  gap: 26px;
}
.seat {
  display: grid;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.seat:last-child {
  border-bottom: none;
}
.seat-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.seat-head .nm {
  font-weight: 700;
  font-size: 17px;
}
.seat-head .pr {
  font-size: 13px;
  color: var(--muted);
}
.seat .sub {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: -4px;
}
.stepper {
  display: flex;
  align-items: center;
  gap: 14px;
}
.stepper button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 10px;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.stepper button:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.stepper input {
  width: 84px;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  border: none;
  font-family: var(--mono);
  background: transparent;
  color: var(--text);
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  margin-top: 4px;
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--line-strong);
}
.range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 3px solid #fff;
}

.calc-out {
  position: sticky;
  top: 92px;
  background: var(--bg-ink);
  color: #fff;
  border-radius: 16px;
  padding: 30px;
}
.calc-out .ttl {
  color: #94a3b8;
  font-size: 14px;
  font-weight: 600;
}
.calc-out .total {
  font-size: clamp(40px, 6vw, 60px);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 6px 0 4px;
}
.calc-out .total .won {
  font-size: 26px;
  color: #93b4ff;
}
.calc-out .note {
  color: #64748b;
  font-size: 13px;
}
.calc-break {
  margin: 22px 0;
  display: grid;
  gap: 0;
}
.calc-break .br {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  color: #cbd5e1;
}
.calc-break .br b {
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.calc-break .br.free b {
  color: var(--accent);
}
.calc-out .btn {
  width: 100%;
}
@media (max-width: 880px) {
  .calc {
    grid-template-columns: 1fr;
  }
  .calc-out {
    position: static;
  }
}

/* ══ 후기 / 인용 ═════════════════════════════════════════════ */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.quote {
  padding: 6px clamp(20px, 3vw, 40px);
  border-left: 1px solid var(--line);
}
.quote:first-child {
  border-left: none;
  padding-left: 0;
}
.quote .mark {
  font-size: 44px;
  line-height: 0.6;
  color: var(--primary);
  font-weight: 800;
}
.quote blockquote {
  font-size: 18px;
  line-height: 1.66;
  margin: 18px 0 22px;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.quote .who {
  display: flex;
  align-items: center;
  gap: 12px;
}
.quote .who .av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 800;
}
.quote .who .nm {
  font-weight: 700;
  font-size: 14.5px;
}
.quote .who .ro {
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 880px) {
  .quotes {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .quote {
    border-left: none;
    padding-left: 0;
  }
}

/* ══ FAQ ═════════════════════════════════════════════════════ */
.faq {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 4px;
  background: none;
  border: none;
  font: inherit;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  text-align: left;
  color: var(--text);
  cursor: pointer;
}
.faq-q .pm {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  position: relative;
  color: var(--primary);
}
.faq-q .pm::before,
.faq-q .pm::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.faq-q .pm::before {
  top: 50%;
  left: 4px;
  right: 4px;
  height: 2px;
  transform: translateY(-50%);
}
.faq-q .pm::after {
  left: 50%;
  top: 4px;
  bottom: 4px;
  width: 2px;
  transform: translateX(-50%);
}
.faq-item.open .pm::after {
  transform: translateX(-50%) scaleY(0);
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}
.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}
.faq-a > div {
  overflow: hidden;
}
.faq-a p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  max-width: 70ch;
  padding: 0 4px 28px;
}

/* ══ 최종 CTA ════════════════════════════════════════════════ */
.cta {
  position: relative;
  background: var(--bg-ink);
  color: #fff;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      60% 80% at 20% 0%,
      rgba(37, 99, 235, 0.4),
      transparent 60%
    ),
    radial-gradient(50% 70% at 90% 100%, rgba(56, 189, 248, 0.22), transparent 60%);
  opacity: 0.7;
}
.cta .wrap {
  position: relative;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.cta h2 {
  font-size: clamp(32px, 5vw, 60px);
  letter-spacing: -0.04em;
}
.cta p {
  color: #cbd5e1;
  font-size: 18px;
  margin-top: 18px;
  max-width: 46ch;
  line-height: 1.7;
}
.cta-actions {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cta-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 28px;
}
.cta-card .row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 15px;
}
.cta-card .row:first-child {
  border-top: none;
}
.cta-card .row .ic {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(37, 99, 235, 0.2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.cta-card .row small {
  display: block;
  color: #94a3b8;
  font-size: 12.5px;
}
@media (max-width: 880px) {
  .cta-grid {
    grid-template-columns: 1fr;
  }
}

/* ══ 도입 문의 폼 ════════════════════════════════════════════ */
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 6vw, 80px);
}
.contact .info p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 38ch;
}
.contact .info ul {
  list-style: none;
  margin-top: 26px;
  display: grid;
  gap: 0;
}
.contact .info li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 15px;
}
.contact .info li .ic {
  width: 20px;
  color: var(--primary);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
}
.field {
  display: grid;
  gap: 8px;
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
.field label .req {
  color: var(--primary);
}
.field input,
.field textarea,
.field select {
  font: inherit;
  font-size: 15px;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field textarea {
  resize: vertical;
  min-height: 110px;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}
.form-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.form-foot .note {
  font-size: 13px;
  color: var(--faint);
}
.form-msg {
  grid-column: 1 / -1;
  font-size: 14px;
  padding: 13px 16px;
  border-radius: 10px;
  display: none;
}
.form-msg.ok {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  color: #15803d;
}
@media (max-width: 880px) {
  .contact {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* 섹션 헤더 공통 */
.sec-head {
  max-width: 64ch;
  margin-bottom: clamp(40px, 6vh, 72px);
}
.sec-head .h-section {
  margin: 16px 0 18px;
}
.sec-head.center {
  margin-inline: auto;
  text-align: center;
}
.sec-head.center .eyebrow {
  justify-content: center;
}
.sec-head.center .lead {
  margin-inline: auto;
}
