/* CRM 전용 랜딩 — 컨셉 "Ring → Record → Recall"
   전화 한 통이 한 줄의 기록이 되고, 같은 번호가 다시 오면 그 기록이 먼저 펼쳐진다.
   글꼴은 숫자까지 Pretendard 하나로 쓴다(크기·행간·자간 토큰 체계는 air/ 와 같다). 색은 air 와 겹치지 않게 따로 잡았다: 오버진(night) 바탕, 바이올렛(brand), 코랄(ring = 수신 신호).
   실제 CRM 화면(ref.png)의 톤을 따라 목업은 흰 카드 + 블루 강조로 그린다. */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
main img,
main svg {
  display: block;
  max-width: 100%;
}
p {
  margin: 0;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
}
main ul,
main ol,
main dl,
main dd {
  margin: 0;
  padding: 0;
  list-style: none;
}
b,
strong {
  font-weight: 700;
}
main :focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 3px;
  border-radius: var(--r-ui);
}
.dark :focus-visible,
.dark-800 :focus-visible {
  outline-color: var(--brand-on-dark);
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.ico {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 90;
  padding: 12px 18px;
  border-radius: var(--r-ui);
  background: var(--brand-600);
  color: var(--on-dark-hi);
  font-size: var(--t-micro);
  font-weight: 600;
  line-height: var(--lh-micro);
  letter-spacing: var(--ls-micro);
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip:focus {
  top: 16px;
}

/* ── 섹션 골격 ───────────────────────────── */
.sec {
  position: relative;
  padding: var(--sec-y) var(--gutter);
  scroll-margin-block: 24px;
}
.wrap {
  position: relative;
  z-index: 2;
  max-width: var(--page);
  margin: 0 auto;
}
.sec-mezzo {
  padding-top: var(--sec-y-mezzo);
  padding-bottom: var(--sec-y-mezzo);
}
.sec-surface {
  background: var(--surface-2);
}
.dark {
  background: var(--night-900);
  color: var(--on-dark-hi);
}
.dark-800 {
  background: var(--night-800);
  color: var(--on-dark-hi);
}
.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.plain {
  font-size: var(--t-micro);
  font-weight: 600;
  line-height: var(--lh-micro);
  letter-spacing: var(--ls-plain);
}
.sec-head {
  max-width: 880px;
}
.sec-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.sec-head h2 {
  margin: 0;
  text-wrap: balance;
  font-size: var(--t-h2-f);
  line-height: var(--lh-h2-f);
  letter-spacing: var(--ls-h2-f);
}
.sec-head h2 em {
  font-style: normal;
  color: var(--brand-600);
}
.dark .sec-head h2 em,
.dark-800 .sec-head h2 em {
  color: var(--brand-on-dark);
}
.sec-head .lead {
  margin: 20px 0 0;
  text-wrap: balance;
  max-width: 740px;
  color: var(--ink-2);
  font-size: var(--t-lead);
  letter-spacing: var(--ls-lead);
  line-height: var(--lh-lead);
}
.sec-head.center .lead {
  margin-left: auto;
  margin-right: auto;
}
.dark .sec-head .lead,
.dark-800 .sec-head .lead {
  color: var(--on-dark-mid);
}
.sec-body {
  margin-top: clamp(48px, 6vw, 76px);
}

main .num {
  font-family: var(--font-num);
  letter-spacing: var(--ls-num);
  font-variant-numeric: tabular-nums;
}

main .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 60px;
  padding: 0 28px;
  border: 1.5px solid transparent;
  border-radius: var(--r-ui);
  font-family: inherit;
  font-size: var(--t-body);
  font-weight: 700;
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}
main .btn .ico {
  width: 20px;
  height: 20px;
}
main .btn-primary {
  background: var(--brand-600);
  color: var(--on-dark-hi);
}
main .btn-primary:hover {
  background: var(--brand-700);
  box-shadow: var(--sh-ui);
}
main .btn:disabled {
  opacity: 0.6;
  cursor: progress;
}

.rise {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.48s var(--ease),
    transform 0.48s var(--ease);
}
.rise.is-in {
  opacity: 1;
  transform: none;
}
.rise.d2 {
  transition-delay: 0.08s;
}
.rise.d3 {
  transition-delay: 0.16s;
}

/* 목업 공용 태그(카테고리) — ref.png 의 점 배지를 단순화했다 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 1px 9px;
  border-radius: var(--r-pill);
  background: var(--brand-bg);
  color: var(--brand-600);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0;
  white-space: nowrap;
}
.tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.tag.t-quote {
  background: rgba(15, 118, 110, 0.08);
  color: #0f766e;
}
.tag.t-as {
  background: rgba(220, 38, 38, 0.08);
  color: var(--red-500);
}
.tag.t-buy {
  background: rgba(21, 128, 61, 0.08);
  color: #15803d;
}

/* ── ① 히어로 ─────────────────────────────── */
.hero {
  padding-top: clamp(80px, 9vw, 128px);
  padding-bottom: clamp(96px, 10vw, 144px);
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(52% 58% at 80% 42%, rgba(108, 60, 240, 0.3), transparent 70%),
    radial-gradient(36% 40% at 6% 96%, rgba(194, 65, 12, 0.16), transparent 70%);
}
.hero-glow.q {
  background:
    radial-gradient(48% 60% at 92% 30%, rgba(108, 60, 240, 0.24), transparent 70%),
    radial-gradient(30% 40% at 0% 100%, rgba(194, 65, 12, 0.12), transparent 70%);
}
.hero-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ring-on-dark);
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ring-on-dark);
  animation: blip 1.6s var(--ease) infinite;
}
@keyframes blip {
  0% {
    box-shadow: 0 0 0 0 rgba(253, 186, 116, 0.55);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(253, 186, 116, 0);
  }
}
.hero h1 {
  margin: 20px 0 0;
  font-size: var(--t-display);
  font-weight: 800;
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
}
.hero h1 .ln {
  display: block;
}
.hero h1 em {
  font-style: normal;
  color: var(--brand-on-dark);
}
.hero-lead {
  margin-top: 24px;
  max-width: 30em;
  text-wrap: balance;
  color: var(--on-dark-mid);
  font-size: var(--t-lead);
  line-height: var(--lh-lead);
  letter-spacing: var(--ls-lead);
}
.hero-points {
  margin-top: 28px;
  display: grid;
  gap: 8px;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--on-dark-hi);
  font-size: var(--t-small);
  line-height: var(--lh-small);
  letter-spacing: var(--ls-small);
}
.hero-points .ico {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--ring-on-dark);
}
.hero-cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.hero-cta .btn-primary {
  box-shadow: 0 10px 28px var(--brand-glow);
}
.hero-cta .btn-primary:hover {
  background: var(--brand-500);
  box-shadow: 0 14px 34px var(--brand-glow);
}
.hero-more {
  color: var(--brand-on-dark);
  font-size: var(--t-body);
  font-weight: 600;
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: color 0.2s var(--ease);
}
.hero-more:hover {
  color: var(--on-dark-hi);
}

/* 히어로 데모: 실제 CRM 창을 줄여 그린다. 상태 클래스는 script.js 가 단계별로 붙인다.
   스크립트가 없으면 마크업에 적힌 대로 저장까지 끝난 장면을 보여 준다 */
.hero-demo {
  position: relative;
  padding-top: 44px;
}
.crm-win {
  container-type: inline-size;
  position: relative;
  z-index: 1;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 1px 0 1px rgba(255, 255, 255, 0.18),
    0 14px 24px -10px rgba(8, 4, 20, 0.55),
    0 44px 70px -24px rgba(8, 4, 20, 0.75),
    0 30px 90px -30px rgba(108, 60, 240, 0.6);
}
/* 창 아래 바닥 그림자로 화면에서 살짝 떠 있는 느낌을 준다 */
.hero-demo::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -46px;
  z-index: 0;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(6, 3, 16, 0.75), transparent);
  filter: blur(4px);
  opacity: 0.85;
  pointer-events: none;
}
.win-bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.win-bar > i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(28, 24, 48, 0.16);
}
.win-url {
  flex: 0 1 280px;
  margin-left: 12px;
  height: 24px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 6px;
  background: #fff;
  color: var(--ink-3);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
}
.win-url b {
  color: var(--ink);
  font-weight: 600;
}
.win-body {
  display: grid;
  grid-template-columns: 52px minmax(0, 1.25fr) minmax(0, 1fr);
  height: 540px;
}
.win-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  /* 창 안쪽 메뉴바는 밝게 두어 창 전체가 배경에서 한 판으로 떨어져 보이게 한다 */
  background: var(--paper-cool);
  border-right: 1px solid var(--line);
  color: var(--ink-3);
}
.win-side .ico {
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 8px;
}
.win-side .ico.is-on {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.side-logo {
  width: 22px;
  height: 22px;
  margin-bottom: 4px;
  border-radius: 6px;
  /* 납품처 로고가 들어갈 자리. 비워 두고 크기만 잡는다 */
  background: transparent;
}
.win-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 22px 22px 18px;
  border-right: 1px solid var(--line);
}
.win-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.win-h em {
  font-style: normal;
  color: var(--brand-600);
}
.win-h time {
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 400;
}
.w-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}
.w-field {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line-strong);
  transition:
    border-color 0.25s var(--ease),
    background 0.25s var(--ease);
}
.w-lab {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-3);
  font-size: 12px;
  white-space: nowrap;
}
.w-lab .auto {
  padding: 1px 8px;
  border-radius: var(--r-pill);
  background: var(--ring-bg);
  color: var(--ring-600);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  opacity: 1;
  transition: opacity 0.25s var(--ease);
}
.w-val {
  min-height: 22px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
}
.w-chips {
  display: grid;
  gap: 7px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  padding: 2px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  color: var(--ink-2);
  font-size: 12px;
}
.chip.is-pick {
  border-color: var(--brand-600);
  background: var(--brand-bg);
  color: var(--brand-600);
  font-weight: 600;
}
.w-memo {
  flex: 1;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 7px;
  min-height: 0;
}
.w-memo p {
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.6;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.w-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.w-save {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 16px;
  border-radius: 7px;
  background: var(--brand-600);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition:
    transform 0.15s var(--ease),
    background 0.15s var(--ease);
}
.w-save .ico {
  width: 15px;
  height: 15px;
}
.w-reset {
  color: var(--ink-3);
  font-size: 12px;
}
.win-hist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 22px 16px 0;
  background: var(--paper);
}
.hist-count {
  color: var(--ring-600);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  transition: opacity 0.25s var(--ease);
}
.w-search {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 11px;
  border: 1px solid var(--ring-500);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 0 0 3px var(--ring-bg);
  color: var(--ink-3);
  font-size: 12.5px;
  white-space: nowrap;
  transition:
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.w-search .ico {
  width: 14px;
  height: 14px;
  flex: none;
}
.w-search .ph {
  display: none;
}
.w-search .q {
  color: var(--ink);
  font-weight: 600;
}
.w-list {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, #000 82%, transparent);
}
.w-list li {
  display: grid;
  gap: 3px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.w-list li + li {
  margin-top: 8px;
}
.w-list li p {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--ink-3);
  font-size: 12px;
  white-space: nowrap;
}
.w-list li b {
  color: var(--ink);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.w-list time,
.w-list .tag {
  margin-left: auto;
}
.w-list .tag {
  font-size: 11px;
}
.w-list .ico {
  width: 13px;
  height: 13px;
  flex: none;
  stroke-width: 2;
}
.ico.in {
  color: var(--ring-600);
}
.ico.out {
  color: var(--brand-600);
}
.w-list li[data-tel="other"] {
  display: none;
}
.w-list li.is-new {
  border-color: var(--ring-500);
  box-shadow: 0 0 0 3px var(--ring-bg);
}

/* 수신 알림 · 저장 알림 */
.ring-toast {
  position: absolute;
  top: 0;
  left: -28px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  /* 수신 알림은 가장 앞 층이다. 배경·창과 다른 코랄로 칠해 먼저 눈에 들어오게 한다 */
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  background: linear-gradient(135deg, #ea5a0c, #b93d0b);
  color: #fff;
  box-shadow:
    0 22px 44px rgba(12, 6, 26, 0.45),
    0 10px 34px rgba(249, 115, 22, 0.42);
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.ring-ico {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: #fff;
}
.ring-ico .ico {
  width: 20px;
  height: 20px;
}
.ring-ico .wave {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  animation: ringwave 1.4s var(--ease) infinite;
}
.ring-ico .wave.w2 {
  animation-delay: 0.7s;
}
@keyframes ringwave {
  from {
    transform: scale(1);
    opacity: 0.8;
  }
  to {
    transform: scale(1.9);
    opacity: 0;
  }
}
.ring-txt small {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: 1.4;
}
.ring-txt b {
  display: block;
  font-size: 17px;
  line-height: 1.3;
}
.ring-tag {
  padding: 2px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
}
.saved-toast {
  position: absolute;
  right: 20px;
  bottom: -18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 12px;
  border-radius: var(--r-pill);
  background: var(--ring-600);
  color: #fff;
  font-size: var(--t-fine);
  font-weight: 600;
  line-height: 1.5;
  box-shadow: 0 14px 30px rgba(194, 65, 12, 0.35);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.saved-toast .ico {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

/* 데모 단계 — script.js 가 is-live 를 붙인 뒤에만 단계 규칙이 먹는다 */
.hero-demo.is-live .w-lab .auto,
.hero-demo.is-live .hist-count {
  opacity: 0;
}
.hero-demo.is-live .w-search {
  border-color: var(--line-strong);
  box-shadow: none;
}
.hero-demo.is-live .w-search .ph {
  display: inline;
}
.hero-demo.is-live .w-search .q,
.hero-demo.is-live .w-list li.is-new {
  display: none;
}
.hero-demo.is-live .w-list li[data-tel="other"] {
  display: grid;
}

.hero-demo.is-ring .ring-toast {
  opacity: 1;
  transform: none;
}
.hero-demo.is-ring .ring-ico .ico-3d {
  animation: shake 0.5s ease-in-out infinite;
}
@keyframes shake {
  0%,
  100% {
    transform: rotate(0);
  }
  25% {
    transform: rotate(-14deg);
  }
  75% {
    transform: rotate(14deg);
  }
}
.hero-demo.is-live .w-field.is-typing {
  border-bottom-color: var(--ring-500);
  background: linear-gradient(to top, var(--ring-bg), transparent 70%);
}
.hero-demo.is-live .w-field.is-done .auto {
  opacity: 1;
}
.hero-demo.is-live.is-filter .hist-count {
  opacity: 1;
}
.hero-demo.is-live.is-filter .w-search {
  border-color: var(--ring-500);
  box-shadow: 0 0 0 3px var(--ring-bg);
}
.hero-demo.is-live.is-filter .w-search .ph {
  display: none;
}
.hero-demo.is-live.is-filter .w-search .q {
  display: inline;
}
.hero-demo.is-live.is-filter .w-list li[data-tel="other"] {
  display: none;
}
.hero-demo.is-live.is-filter .w-list li[data-tel="mine"] {
  animation: rise 0.36s var(--ease) both;
}
.hero-demo.is-live.is-memo .w-memo p {
  border-color: var(--brand-600);
  box-shadow: 0 0 0 3px var(--brand-bg);
}
.hero-demo.is-live.is-memo .w-memo p::after {
  content: "";
  display: inline-block;
  width: 1.5px;
  height: 1.1em;
  margin-left: 1px;
  vertical-align: -0.18em;
  background: var(--brand-600);
  animation: caret 0.9s steps(1) infinite;
}
.hero-demo.is-press .w-save {
  transform: scale(0.94);
  background: var(--brand-700);
}
.hero-demo.is-live.is-saved .w-list li.is-new {
  display: grid;
  animation: slot-in 0.5s var(--ease) both;
}
.hero-demo.is-saved .saved-toast {
  opacity: 1;
  transform: none;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes slot-in {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}

/* 좁은 창: 사이드바를 접고 히스토리를 폼 아래로 내린다 */
@container (max-width: 560px) {
  .win-body {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
  }
  .win-side {
    display: none;
  }
  .win-form {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .w-memo p {
    min-height: 66px;
  }
  .win-hist {
    padding-bottom: 14px;
  }
  .w-list {
    flex: none;
    height: 204px;
  }
}

/* ── ② 문제 ─────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px 72px;
  align-items: center;
}
.notes {
  position: relative;
  height: 380px;
}
.sheet {
  position: absolute;
  inset: 26px 64px 40px 40px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-paper);
  background: var(--card);
  box-shadow: var(--sh-paper-near);
  transform: rotate(-2deg);
}
.sheet-name {
  display: block;
  margin-bottom: 12px;
  color: var(--ring-700);
  font-size: var(--t-fine);
  font-style: normal;
  font-weight: 600;
  line-height: 1.5;
}
.cells {
  display: grid;
  grid-template-columns: 0.7fr 1fr 1.6fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.cells i {
  height: 38px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(var(--surface-2), var(--surface-2)) 8px 50% / 60% 6px no-repeat;
}
.cells i:nth-child(3n) {
  background-size: 82% 6px;
}
.cells i:nth-child(5),
.cells i:nth-child(9) {
  background-image: none;
}
.note {
  position: absolute;
  width: 200px;
  padding: 16px 18px 18px;
  background: #fff4b8;
  color: #4b3f14;
  font-size: var(--t-fine);
  line-height: 1.6;
  letter-spacing: var(--ls-micro);
  box-shadow: var(--sh-paper-near);
}
.note b {
  display: block;
  margin-bottom: 4px;
  font-size: var(--t-micro);
}
.note.n1 {
  top: 0;
  right: 0;
  transform: rotate(5deg);
}
.note.n2 {
  left: 0;
  bottom: 6px;
  background: #ffdcc8;
  transform: rotate(-6deg);
}
.note.n3 {
  right: 36px;
  bottom: 0;
  background: #d9ecff;
  transform: rotate(3deg);
}
.pains {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.pains li {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.pain-no {
  color: var(--brand-600);
  font-size: var(--t-micro);
  font-weight: 600;
}
.pains h3 {
  margin-top: 8px;
  font-size: var(--t-h3);
  line-height: var(--lh-h3);
  letter-spacing: var(--ls-h3);
}
.pains p {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: var(--t-small);
  line-height: var(--lh-small);
  letter-spacing: var(--ls-small);
}

/* ── ③ 작동 방식 ──────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.step {
  padding: 16px 16px 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--sh-ui);
}
.step > :not(.step-vis) {
  padding: 0 12px;
}
.step-vis {
  position: relative;
  height: 210px;
  margin-bottom: 26px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--paper-cool);
  font-size: var(--t-fine);
  line-height: 1.5;
}
.step-no {
  color: var(--brand-600);
  font-size: var(--t-fine);
  font-weight: 600;
}
.step h3 {
  margin-top: 6px;
  font-size: var(--t-h3);
  line-height: var(--lh-h3);
  letter-spacing: var(--ls-h3);
  text-wrap: balance;
}
.step h3 + p {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: var(--t-small);
  line-height: var(--lh-small);
  letter-spacing: var(--ls-small);
}
.step h3 + p b {
  color: var(--ink);
}

.v-ring {
  align-items: center;
  gap: 18px;
}
.devs {
  display: flex;
  gap: 10px;
}
.dev {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 10px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--ink-2);
  white-space: nowrap;
}
.dev .ico {
  width: 20px;
  height: 20px;
  color: var(--brand-600);
}
.pop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 14px;
  border: 1.5px solid var(--ring-500);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(194, 65, 12, 0.16);
}
.pop small {
  display: block;
  color: var(--ring-700);
  font-size: 12px;
  font-weight: 600;
}
.pop b {
  display: block;
  font-size: var(--t-micro);
}
.pulse {
  position: relative;
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ring-500);
  animation: blip-g 1.4s var(--ease) infinite;
}
@keyframes blip-g {
  0% {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.5);
  }
  100% {
    box-shadow: 0 0 0 12px rgba(249, 115, 22, 0);
  }
}
.v-write .ln {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 5px 12px;
  border-radius: 8px;
  background: #fff;
}
.v-write .ln i {
  color: var(--ink-3);
  font-size: 12px;
  font-style: normal;
}
.v-write .ln b {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
}
.v-write .linked {
  margin-left: 6px;
  padding: 0 7px;
  border-radius: var(--r-pill);
  background: var(--ring-bg);
  color: var(--ring-600);
  font-size: 11px;
  font-weight: 600;
  vertical-align: 1px;
}
.v-write .ln:not(.memo) b {
  color: var(--ink-2);
}
.v-write .memo {
  padding-top: 9px;
  padding-bottom: 9px;
  outline: 1.5px solid var(--brand-600);
  box-shadow: 0 0 0 4px var(--brand-bg);
}
.caret {
  display: inline-block;
  width: 1.5px;
  height: 1.1em;
  margin-left: 2px;
  vertical-align: -0.2em;
  background: var(--brand-600);
  animation: caret 0.9s steps(1) infinite;
}
.v-save .row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.v-save .row small {
  color: var(--ink-3);
  font-size: 12px;
  white-space: nowrap;
}
.v-save .row .tag {
  margin-left: auto;
}
.v-save .row.new {
  border-color: var(--ring-500);
  box-shadow: 0 0 0 3px var(--ring-bg);
}
.step.is-in .v-save .row.new {
  animation: slot-in 0.6s var(--ease) 0.5s both;
}

/* ── ④ 재수신 ─────────────────────────────── */
.recall-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
}
.recall-keys {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line-on-dark);
  border-radius: var(--r-ui);
  background: var(--line-on-dark);
}
.recall-keys div {
  padding: 16px 20px;
  background: var(--night-800);
}
.recall-keys dt {
  color: var(--brand-on-dark);
  font-size: var(--t-micro);
  font-weight: 700;
  line-height: var(--lh-micro);
}
.recall-keys dd {
  color: var(--on-dark-mid);
  font-size: var(--t-small);
  line-height: var(--lh-small);
}
.recall-panel {
  padding: 24px;
  border-radius: 18px;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 40px 90px rgba(12, 6, 26, 0.45);
}
.rp-search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 10px 0 16px;
  border: 1.5px solid var(--ring-500);
  border-radius: var(--r-ui);
  box-shadow: 0 0 0 4px var(--ring-bg);
  font-size: var(--t-small);
}
.rp-search .ico {
  width: 20px;
  height: 20px;
  color: var(--ink-3);
}
.rp-auto {
  margin-left: auto;
  padding: 2px 12px;
  border-radius: var(--r-pill);
  background: var(--ring-bg);
  color: var(--ring-700);
  font-size: var(--t-fine);
  font-weight: 600;
  white-space: nowrap;
}
.rp-sum {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: var(--t-micro);
  line-height: var(--lh-micro);
}
.rp-sum b {
  color: var(--ink);
}
.rp-list {
  margin-top: 14px;
}
.rp-list li {
  border-top: 1px solid var(--line);
}
.rp-row {
  width: 100%;
  display: grid;
  grid-template-columns: 76px 34px minmax(0, 1fr) auto 20px;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: var(--t-micro);
  line-height: var(--lh-micro);
  text-align: left;
  cursor: pointer;
}
.rp-row:hover .rp-who {
  color: var(--brand-600);
}
.rp-dir {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ring-bg);
  color: var(--ring-600);
}
.rp-dir .ico {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}
.rp-dir.out {
  background: var(--brand-bg);
  color: var(--brand-600);
}
.rp-dir.sms {
  background: var(--brand-bg);
  color: var(--brand-600);
}
.rp-when {
  justify-self: end;
  color: var(--ink-2);
  font-size: var(--t-fine);
}
.rp-who {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s var(--ease);
}
.rp-caret {
  width: 18px;
  height: 18px;
  color: var(--ink-3);
  transition: transform 0.25s var(--ease);
}
.rp-list li.is-open .rp-caret {
  transform: rotate(180deg);
}
.rp-detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}
.rp-list li.is-open .rp-detail {
  grid-template-rows: 1fr;
}
.rp-detail > div {
  overflow: hidden;
  padding-left: 92px;
}
.rp-detail p {
  font-size: var(--t-small);
  line-height: var(--lh-small);
  letter-spacing: var(--ls-small);
}
.rp-detail p:first-child {
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--paper-cool);
}
.rp-detail .rp-meta {
  margin: 8px 0 16px;
  color: var(--ink-3);
  font-size: var(--t-fine);
}
.rp-note {
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
  color: var(--ink-2);
  font-size: var(--t-fine);
  line-height: 1.6;
}

/* ── ⑤ 맞춤 항목 ───────────────────────────── */
.custom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 88px);
  align-items: center;
}
.builder-pick {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pick {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 46px;
  padding: 0 18px 0 12px;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-size: var(--t-micro);
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}
.pick-hint {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  color: var(--brand-600);
  font-size: var(--t-micro);
  font-weight: 700;
  line-height: var(--lh-micro);
  letter-spacing: var(--ls-micro);
}
.pick-hint .ico {
  width: 22px;
  height: 22px;
  animation: tap 1.6s var(--ease) infinite;
}
.pick-hint span {
  color: var(--ink-3);
  font-weight: 400;
}
.pick-hint span::before {
  content: "→ ";
}
@keyframes tap {
  0%,
  100% {
    transform: none;
  }
  50% {
    transform: translateY(3px) scale(0.9);
  }
}
/* 아직 누르지 않은 알약 하나를 숨 쉬듯 표시해 눌러 볼 수 있음을 알린다. 한 번 누르면 script.js 가 뗀다 */
.pick.is-hint {
  border-color: var(--brand-500);
  color: var(--brand-600);
  animation: pick-pulse 1.8s var(--ease) infinite;
}
@keyframes pick-pulse {
  0% {
    box-shadow: 0 0 0 0 var(--brand-mark);
  }
  70%,
  100% {
    box-shadow: 0 0 0 12px rgba(108, 60, 240, 0);
  }
}
.pick:hover {
  border-color: var(--brand-500);
  color: var(--brand-600);
}
.pick .ico {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}
.pick.is-on {
  border-style: solid;
  border-color: var(--brand-600);
  background: var(--brand-600);
  color: #fff;
}
.pick.is-on .ico {
  transform: rotate(45deg);
}
.builder {
  padding: 26px 26px 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--sh-paper);
}
.b-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: var(--t-lead);
  font-weight: 700;
  line-height: var(--lh-h3);
  letter-spacing: var(--ls-h3);
}
.b-head em {
  font-style: normal;
  color: var(--brand-600);
}
.b-head small {
  color: var(--ink-3);
  font-size: var(--t-fine);
  font-weight: 400;
  letter-spacing: 0;
  white-space: nowrap;
}
.b-head small b {
  color: var(--brand-600);
}
.b-form {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
}
.b-field {
  display: grid;
  align-content: start;
  gap: 4px;
  min-width: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-strong);
}
.b-field[hidden] {
  display: none;
}
.b-field.wide {
  grid-column: 1 / -1;
}
/* 선택지 알약이 있는 칸은 알약이 경계를 대신하므로 밑줄을 뺀다 */
.b-field.bare {
  border-bottom: 0;
}
.b-field > span:first-child {
  color: var(--ink-3);
  font-size: var(--t-fine);
  line-height: 1.5;
}
.b-field > b {
  font-size: var(--t-micro);
  font-weight: 600;
  line-height: var(--lh-micro);
}
.b-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.b-chips i,
.b-field .pill {
  padding: 2px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  color: var(--ink-2);
  font-size: var(--t-fine);
  font-style: normal;
  line-height: 1.6;
}
.b-chips i.on {
  border-color: var(--brand-600);
  background: var(--brand-bg);
  color: var(--brand-600);
  font-weight: 600;
}
.b-field .pill {
  border-color: transparent;
  background: rgba(15, 118, 110, 0.08);
  color: #0f766e;
  font-weight: 600;
}
.b-field.memo {
  border-bottom: 0;
}
.b-field.memo b {
  min-height: 72px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-weight: 400;
}
.b-field.is-added {
  animation: field-in 0.45s var(--ease) both;
}
@keyframes field-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
    background: var(--brand-bg);
  }
  to {
    opacity: 1;
    transform: none;
    background: transparent;
  }
}

/* ── ⑥ 문자 · 대시보드 ─────────────────────── */
.report-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.42fr);
  gap: 24px;
}
.sms-card,
.dash {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--sh-ui);
}
.sms-card h3,
.dash h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--t-lead);
  line-height: var(--lh-h3);
  letter-spacing: var(--ls-h3);
}
.sms-card h3 .ico,
.dash h3 .ico {
  color: var(--brand-600);
}
.sms-stage {
  margin-top: 22px;
  padding: 24px 20px;
  display: grid;
  justify-items: start;
  border-radius: var(--r-ui);
  background: var(--paper-cool);
}
.sms-bubble {
  max-width: 92%;
  padding: 12px 16px;
  border-radius: 16px 16px 16px 4px;
  background: #fff;
  box-shadow: var(--sh-ui);
}
.sms-bubble small {
  color: var(--ink-3);
  font-size: 12px;
}
.sms-bubble p {
  margin-top: 2px;
  font-size: var(--t-micro);
  line-height: var(--lh-micro);
}
.sms-link {
  width: 2px;
  height: 30px;
  margin-left: 26px;
  background: repeating-linear-gradient(to bottom, var(--brand-500) 0 4px, transparent 4px 8px);
}
.sms-log {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border: 1.5px solid var(--brand-500);
  border-radius: var(--r-pill);
  background: #fff;
  font-size: var(--t-fine);
}
.card-txt {
  margin-top: 20px;
  color: var(--ink-2);
  font-size: var(--t-small);
  line-height: var(--lh-small);
  letter-spacing: var(--ls-small);
}
.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.dash-range {
  padding: 2px 12px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: var(--t-fine);
  white-space: nowrap;
}
.kpis {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.kpis li {
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  border-radius: var(--r-ui);
  background: var(--paper-cool);
}
.kpis small {
  color: var(--ink-2);
  font-size: var(--t-fine);
  line-height: 1.5;
}
.kpis b {
  font-size: var(--t-h3);
  line-height: 1.2;
}
.kpis i {
  color: var(--ink-3);
  font-size: 12px;
  font-style: normal;
  line-height: 1.5;
}
.kpis i.up,
.kpis i.dn {
  justify-self: end;
}
.kpis i.up,
.kpis i.dn {
  color: #15803d;
  font-weight: 600;
}
.dash-body {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 28px;
}
.dash figure {
  margin: 0;
}
.dash figcaption {
  margin-bottom: 14px;
  color: var(--ink-2);
  font-size: var(--t-fine);
  font-weight: 600;
  line-height: 1.5;
}
.bars {
  height: 150px;
  margin-bottom: 26px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  border-bottom: 1px solid var(--line-strong);
}
.bars span {
  position: relative;
  flex: 1;
  height: calc(var(--v) * 100%);
}
/* 막대 채움만 자라고 아래 시각 라벨은 그대로 두려고 가상 요소로 그린다 */
.bars span::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 4px 4px 0 0;
  background: rgba(108, 60, 240, 0.28);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.7s var(--ease);
  transition-delay: inherit;
}
.bars span.peak::before {
  background: var(--brand-600);
}
.bars i {
  position: absolute;
  white-space: nowrap;
  top: 100%;
  left: 50%;
  margin-top: 6px;
  transform: translateX(-50%);
  color: var(--ink-3);
  font-size: 12px;
  font-style: normal;
  line-height: 1.4;
}
.dash.is-in .bars span::before {
  transform: none;
}
.bars span:nth-child(2) { transition-delay: 0.04s; }
.bars span:nth-child(3) { transition-delay: 0.08s; }
.bars span:nth-child(4) { transition-delay: 0.12s; }
.bars span:nth-child(5) { transition-delay: 0.16s; }
.bars span:nth-child(6) { transition-delay: 0.2s; }
.bars span:nth-child(7) { transition-delay: 0.24s; }
.bars span:nth-child(8) { transition-delay: 0.28s; }
.bars span:nth-child(9) { transition-delay: 0.32s; }
.cats li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
  font-size: var(--t-fine);
  line-height: 1.5;
}
.cats li + li {
  margin-top: 14px;
}
.cats li > i {
  position: relative;
  height: 10px;
  overflow: hidden;
  border-radius: var(--r-pill);
  background: var(--surface-2);
}
.cats li > i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--v) / 0.42 * 100%);
  border-radius: inherit;
  background: var(--brand-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease) 0.2s;
}
.cats li + li > i::before {
  background: var(--brand-500);
  opacity: 0.6;
}
.dash.is-in .cats li > i::before {
  transform: none;
}
.cats b {
  text-align: right;
}
.dash-foot {
  margin-top: 4px;
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: var(--t-fine);
  line-height: 1.5;
}
.xls {
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--ring-bg);
  color: var(--ring-700);
  font-weight: 600;
}

/* ── ⑦ 통신사 API ─────────────────────────── */
.pipe {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px minmax(0, 0.92fr) 40px minmax(0, 1.08fr) 40px minmax(0, 1fr);
  align-items: center;
}
.pipe-col {
  display: grid;
  gap: 12px;
}
.node {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 20px 22px;
  border: 1px solid var(--line-on-dark);
  border-radius: 14px;
  background: rgba(247, 244, 255, 0.04);
  color: var(--on-dark-hi);
}
.node .ico {
  width: 26px;
  height: 26px;
  flex: none;
  color: var(--brand-on-dark);
}
.node b {
  display: block;
  font-size: var(--t-small);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: var(--ls-small);
}
.node small {
  display: block;
  color: var(--on-dark-low);
  font-size: var(--t-fine);
  line-height: 1.5;
  margin-top: 2px;
}
.node.api {
  border-color: rgba(253, 186, 116, 0.4);
  background: rgba(194, 65, 12, 0.14);
}
.node.api b {
  color: var(--ring-on-dark);
}
.node.core {
  min-height: 112px;
  padding: 26px 24px;
  border-color: transparent;
  background: var(--brand-600);
  box-shadow: 0 20px 50px var(--brand-glow);
}
.node.core small {
  color: var(--on-dark-mid);
  font-size: var(--t-fine);
}
.node.core b {
  font-size: var(--t-lead);
  font-weight: 800;
  letter-spacing: var(--ls-h3);
}
.node.sm {
  gap: 12px;
  min-height: 0;
  padding: 14px 18px;
  color: var(--on-dark-hi);
  font-size: var(--t-micro);
  font-weight: 600;
  line-height: 1.5;
}
.node.sm .ico {
  width: 18px;
  height: 18px;
}
.pipe-line {
  position: relative;
  height: 2px;
  overflow: hidden;
  background: var(--line-on-dark);
}
.pipe-line i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -50%;
  width: 50%;
  background: linear-gradient(90deg, transparent, var(--ring-on-dark), transparent);
  animation: flow-x 1.8s linear infinite;
}
@keyframes flow-x {
  to {
    left: 100%;
  }
}
@keyframes flow-y {
  to {
    top: 100%;
  }
}

/* ── ⑧ 비교 ─────────────────────────────── */
.cmp {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--sh-ui);
}
.cmp-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) minmax(0, 1fr);
}
.cmp-row > span {
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: var(--t-small);
  line-height: var(--lh-small);
  letter-spacing: var(--ls-small);
}
.cmp-row > [role="rowheader"] {
  color: var(--ink);
  font-weight: 700;
}
.cmp-row > .ours {
  background: var(--brand-bg);
  color: var(--ink);
}
.cmp-row > .ours b {
  color: var(--brand-700);
}
.cmp-h > span {
  padding-top: 16px;
  padding-bottom: 16px;
  border-top: 0;
  color: var(--ink-3);
  font-size: var(--t-micro);
  font-weight: 700;
}
.cmp-h > .ours {
  background: var(--brand-600);
  color: var(--on-dark-hi);
}

/* ── ⑨ FAQ ─────────────────────────────── */
.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 32px 64px;
  align-items: start;
}
.faq details {
  border-bottom: 1px solid var(--line-strong);
}
.faq details:first-child {
  border-top: 1px solid var(--line-strong);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 4px;
  list-style: none;
  font-size: var(--t-body);
  font-weight: 600;
  line-height: var(--lh-small);
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .ico {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--ink-3);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary .ico {
  transform: rotate(180deg);
}
.faq details p {
  padding: 0 4px 24px;
  color: var(--ink-2);
  font-size: var(--t-small);
  line-height: var(--lh-small);
  letter-spacing: var(--ls-small);
}

/* ── ⑩ 상담 신청 ───────────────────────────── */
.sec-quote {
  overflow: hidden;
}
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
#quote .sec-head h2 {
  margin-top: 0;
}
.cta-tel {
  margin: 28px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--on-dark-hi);
  font-size: var(--t-num-xl);
  font-weight: 700;
  line-height: var(--lh-num-xl);
  letter-spacing: var(--ls-num);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.cta-tel:hover {
  color: var(--brand-on-dark);
}
.cta-tel .ico {
  width: 34px;
  height: 34px;
  flex: none;
  color: var(--brand-on-dark);
}
.cta-hours {
  margin: 12px 0 0;
  color: var(--on-dark-low);
  font-size: var(--t-micro);
  line-height: var(--lh-micro);
  letter-spacing: var(--ls-micro);
}
.form {
  padding: 30px clamp(22px, 3vw, 38px) 32px;
  border-radius: 18px;
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--sh-paper);
}
.form h3 {
  font-size: var(--t-h3);
  line-height: var(--lh-h3);
  letter-spacing: var(--ls-h3);
}
.form-grid {
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}
.field {
  display: grid;
  gap: 6px;
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  color: var(--ink-2);
  font-size: var(--t-micro);
  font-weight: 600;
  line-height: var(--lh-micro);
  letter-spacing: var(--ls-micro);
}
.field label span {
  color: var(--ink-3);
  font-weight: 400;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 11px 14px 10px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: var(--t-body);
  font-weight: 400;
  line-height: var(--lh-body);
  letter-spacing: inherit;
  transition:
    border-color 0.18s var(--ease),
    background 0.18s var(--ease);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background: var(--paper)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23526986' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E")
    right 14px center / 20px no-repeat;
  cursor: pointer;
}
.field textarea {
  min-height: 224px;
  resize: none;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-bottom-width: 2px;
  border-bottom-color: var(--brand-600);
  background-color: var(--brand-bg);
  padding-bottom: 9px;
}
.agree {
  margin: 14px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-2);
  font-size: var(--t-micro);
  line-height: var(--lh-micro);
  letter-spacing: var(--ls-micro);
}
.agree input {
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  flex: none;
  accent-color: var(--brand-600);
}
.form .btn {
  margin-top: 18px;
  width: 100%;
}
.form-note {
  margin: 16px 0 0;
  color: var(--ink-3);
  font-size: var(--t-micro);
  line-height: var(--lh-micro);
  letter-spacing: var(--ls-micro);
  text-align: right;
}
.form-note:empty {
  display: none;
}

/* ── 3D 아이콘(PNG → WebP) ───────────────────
   목업 안 작은 아이콘과 요점 목록의 표시도 같은 3D 세트를 쓴다.
   맞는 그림이 없는 저장·수신/발신 화살표·펼침 꺾쇠만 SVG 로 남긴다 */
.ico-3d {
  flex: none;
  object-fit: contain;
}
.node .ico-3d {
  width: 60px;
  height: 60px;
  margin: -8px -2px -8px -6px;
  filter: drop-shadow(0 6px 12px rgba(12, 6, 26, 0.35));
}
.sms-card h3 .ico-3d,
.dash h3 .ico-3d {
  width: 48px;
  height: 48px;
  margin: -10px -2px -10px -6px;
}
.form {
  position: relative;
}
/* 히어로 CRM 창 사이드바 */
.side-i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  opacity: 0.55;
}
.side-i.is-on {
  background: #fff;
  box-shadow: 0 0 0 1px var(--brand-mark), 0 4px 10px rgba(108, 60, 240, 0.18);
  opacity: 1;
}
.side-i .ico-3d {
  width: 24px;
  height: 24px;
}
.ring-ico .ico-3d {
  position: relative;
  width: 30px;
  height: 30px;
}
.w-search .ico-3d {
  width: 18px;
  height: 18px;
}
/* 작동 방식 STEP 01 */
.dev .ico-3d {
  width: 28px;
  height: 28px;
  margin: -3px 0 -3px -2px;
}
.pop .ico-3d {
  width: 36px;
  height: 36px;
  margin: -6px 0;
  animation: wiggle 1.6s var(--ease) infinite;
}
@keyframes wiggle {
  0%,
  40%,
  100% {
    transform: none;
  }
  8% {
    transform: rotate(-14deg);
  }
  16% {
    transform: rotate(12deg);
  }
  24% {
    transform: rotate(-8deg);
  }
  32% {
    transform: rotate(5deg);
  }
}
/* 자동 필터 · 맞춤 항목 · 문자 · 대시보드 */
.rp-search .ico-3d {
  width: 26px;
  height: 26px;
  margin-left: -4px;
}
.b-head > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.b-head .ico-3d {
  width: 30px;
  height: 30px;
}
.sms-log .ico-3d {
  width: 32px;
  height: 32px;
  margin: -4px 0 -4px -2px;
}
.xls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.xls .ico-3d {
  width: 20px;
  height: 20px;
  margin: -3px 0 -3px -4px;
}
/* 연동 구조도 출력 칸 */
.node.sm .ico-3d {
  width: 32px;
  height: 32px;
  margin: -4px 0 -4px -4px;
  filter: none;
}
/* 목업 밖: 히어로 요점 */
.hero-points li {
  gap: 12px;
}
.hero-points .ico-3d {
  width: 30px;
  height: 30px;
}
.form-icon {
  position: absolute;
  top: -58px;
  right: 22px;
  width: 116px;
  height: 116px;
  pointer-events: none;
  filter: drop-shadow(0 14px 22px rgba(12, 6, 26, 0.35));
}

/* ── 반응형 ─────────────────────────────── */
@media (max-width: 1080px) {
  .hero-wrap,
  .recall-grid,
  .custom-grid,
  .cta-grid,
  .why-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-demo {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
  }
  .ring-toast {
    left: 16px;
  }
  .notes {
    width: 100%;
    max-width: 560px;
  }
  .report-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .faq-wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  /* 연결 구조는 세로로 세운다 */
  .pipe {
    grid-template-columns: minmax(0, 1fr);
    max-width: 640px;
  }
  .pipe-col:first-child {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pipe-line {
    justify-self: center;
    width: 2px;
    height: 36px;
  }
  .pipe-line i {
    left: 0;
    right: 0;
    top: -50%;
    width: auto;
    height: 50%;
    background: linear-gradient(180deg, transparent, var(--ring-on-dark), transparent);
    animation-name: flow-y;
  }
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
  .pains {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .dash-body {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .pc {
    display: none;
  }
  .hero {
    padding-top: 64px;
    padding-bottom: 88px;
  }
  .hero h1 {
    margin-top: 16px;
  }
  .hero-lead {
    margin-top: 18px;
  }
  .hero-points {
    margin-top: 22px;
  }
  .hero-cta {
    margin-top: 28px;
  }
  .hero-cta .btn {
    flex: 1 1 100%;
  }
  .hero-more {
    margin: 0 auto;
    font-size: var(--t-small);
  }
  .hero-demo {
    padding-top: 52px;
  }
  .ring-toast {
    left: 10px;
    right: 10px;
    padding: 8px 12px 8px 8px;
  }
  .ring-ico {
    width: 38px;
    height: 38px;
  }
  .ring-tag {
    margin-left: auto;
  }
  .saved-toast {
    right: 50%;
    transform: translate(50%, 8px);
    white-space: nowrap;
  }
  .hero-demo.is-saved .saved-toast {
    transform: translate(50%, 0);
  }

  .notes {
    height: 330px;
  }
  .sheet {
    inset: 30px 16px 40px 16px;
  }
  .note {
    width: 170px;
    padding: 12px 14px 14px;
  }
  .note.n3 {
    right: 8px;
  }

  .step-vis {
    height: 196px;
  }

  .recall-panel {
    padding: 18px 16px;
    margin: 0 -4px;
  }
  .rp-row {
    grid-template-columns: 68px 30px minmax(0, 1fr) auto 18px;
    gap: 8px;
  }
  .rp-dir {
    width: 32px;
    height: 32px;
  }
  .recall-keys div {
    padding: 14px 16px;
  }

  .builder {
    padding: 20px 18px 24px;
  }
  .b-form {
    grid-template-columns: minmax(0, 1fr);
  }
  .pick {
    height: 42px;
    padding: 0 14px 0 10px;
    font-size: var(--t-fine);
  }

  .sms-card,
  .dash {
    padding: 22px 18px;
  }
  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pipe-col:first-child {
    grid-template-columns: minmax(0, 1fr);
  }
  .node {
    padding: 14px 16px;
  }

  /* 비교표: 항목명을 띠로 올리고 두 칸을 나란히 둔다 */
  .cmp-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cmp-row > span {
    padding: 14px 16px;
    font-size: var(--t-fine);
    line-height: 1.6;
  }
  .cmp-row > [role="rowheader"] {
    grid-column: 1 / -1;
    padding: 10px 16px;
    background: var(--paper-cool);
    font-size: var(--t-fine);
  }
  .cmp-row > [role="cell"] {
    border-top: 0;
  }
  .cmp-h > span:first-child {
    display: none;
  }
  .cmp-h > span {
    padding: 12px 16px;
  }

  .faq summary {
    padding: 18px 2px;
    font-size: var(--t-small);
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .cta-tel .ico {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 440px) {
  .hero h1 {
    font-size: var(--t-h2-mf);
  }
  .ring-tag {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .rise,
  .bars span::before,
  .cats li > i::before {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .eyebrow .dot,
  .ring-ico .wave,
  .pulse,
  .caret,
  .pipe-line i,
  .pick-hint .ico,
  .pop .ico-3d,
  .pick.is-hint,
  .step.is-in .v-save .row.new,
  .b-field.is-added {
    animation: none;
  }
  .rp-detail,
  .rp-caret,
  .faq summary .ico {
    transition: none;
  }
}

/* ── 공통 컴포넌트: 하단 고정 헤더 · 사이트 푸터 · 형제 사이트 이동 독 ──
   air/styles.css 에서 그대로 옮겨 왔다 */

.hdr {
  --hdr-ink: #1c1830;
  --hdr-ink-2: #645e7d;
  --hdr-line: rgba(28, 24, 48, 0.1);
  --hdr-line-2: rgba(28, 24, 48, 0.18);
  --hdr-wash: rgba(28, 24, 48, 0.05);
  --hdr-surface: rgba(255, 255, 255, 0.88);

  --hdr-accent: #6c3cf0;
  --hdr-accent-2: #5527d6;
  --hdr-on-accent: #ffffff;
  --hdr-radius: 10px;
  --hdr-btn-h: 42px;
  --hdr-h: 68px;
  --hdr-gutter: 24px;
  --hdr-page: 1280px;
  --hdr-ease: cubic-bezier(0.4, 0, 0.2, 1);

  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  box-sizing: border-box;
  height: calc(var(--hdr-h) + env(safe-area-inset-bottom));
  padding: 0 var(--hdr-gutter) env(safe-area-inset-bottom);
  color: var(--hdr-ink);
  font-family:
    Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  line-height: 1.5;
  background: var(--hdr-surface);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-top: 1px solid var(--hdr-line);

  box-shadow:
    0 -1px 2px rgba(28, 24, 48, 0.04),
    0 -10px 30px rgba(28, 24, 48, 0.07);
  transition:
    transform 0.3s var(--hdr-ease),
    opacity 0.3s var(--hdr-ease);
}

.hdr *,
.hdr *::before,
.hdr *::after {
  box-sizing: border-box;
}
.hdr img {
  display: block;
  max-width: 100%;
}
.hdr a {
  text-decoration: none;
  color: inherit;
}
.hdr :focus-visible {
  outline: 2px solid var(--hdr-accent);
  outline-offset: 3px;
  border-radius: var(--hdr-radius);
}

.hdr.is-hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.hdr .hdr-wrap {
  max-width: var(--hdr-page);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.hdr-logo {
  display: flex;
  align-items: center;
  border-radius: var(--hdr-radius);
}
.hdr-logo img {
  height: 30px;
  width: auto;
}
.hdr-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hdr-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: var(--hdr-btn-h);
  padding: 0 10px;
  border-radius: var(--hdr-radius);
  color: var(--hdr-ink);
  white-space: nowrap;
  transition:
    background 0.18s var(--hdr-ease),
    color 0.18s var(--hdr-ease);
}
.hdr-tel:hover {
  background: var(--hdr-wash);
}
.hdr-tel svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: var(--hdr-ink-2);
  transition: fill 0.18s var(--hdr-ease);
}
.hdr-tel:hover svg {
  fill: var(--hdr-ink);
}

.hdr-tel .num {
  font-size: var(--t-micro, 16px);
  font-weight: 600;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.hdr .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--hdr-btn-h);
  padding: 0 16px;
  border-radius: var(--hdr-radius);
  font-size: var(--t-micro, 16px);
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.18s var(--hdr-ease),
    border-color 0.18s var(--hdr-ease),
    box-shadow 0.18s var(--hdr-ease);
}

.hdr .btn-store {
  background: #ffffff;
  color: var(--hdr-ink);
  border: 1px solid var(--hdr-line-2);
  box-shadow: 0 1px 2px rgba(28, 24, 48, 0.05);
}

.hdr .btn-store:hover {
  background: var(--hdr-wash);
  transform: none;
}
.hdr .btn-store img {
  width: 18px;
  height: 18px;
  flex: none;
}

.hdr .btn-primary {
  background: var(--hdr-accent);
  color: var(--hdr-on-accent);
  border: 1px solid transparent;
  box-shadow: 0 1px 2px rgba(28, 24, 48, 0.1);
}
.hdr .btn-primary:hover {
  background: var(--hdr-accent-2);
  transform: none;
  box-shadow: 0 2px 8px rgba(28, 24, 48, 0.16);
}

@media (max-width: 720px) {
  .hdr {
    --hdr-h: 60px;
    --hdr-btn-h: 40px;
    --hdr-gutter: 14px;
  }
  .hdr .hdr-wrap {
    gap: 10px;
  }
  .hdr-logo img {
    height: 24px;
  }
  .hdr-cta {
    gap: 7px;
  }
  .hdr-tel {
    padding: 0 6px;
    gap: 6px;
  }
  .hdr .btn {
    padding: 0 13px;
  }
  .hdr .btn-store {
    padding: 0 5px;
  }
  .hdr .btn-store img {
    width: 34px;
    height: 34px;
  }
  .hdr .btn-store .label {
    display: none;
  }
}

@media (max-width: 420px) {
  .hdr-tel {
    padding: 0 8px;
  }
  .hdr-tel .num {
    display: none;
  }
  .hdr-tel svg {
    width: 19px;
    height: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hdr,
  .hdr .btn,
  .hdr-tel,
  .hdr-tel svg {
    transition: none;
  }
}

.ftr {
  --ftr-ink: #4a4463;
  --ftr-ink-2: #807a98;
  --ftr-line: rgba(28, 24, 48, 0.08);
  --ftr-surface: #f3f0f8;

  --ftr-accent: #6c3cf0;
  --ftr-radius: 8px;
  --ftr-gutter: 24px;
  --ftr-page: 1280px;
  --ftr-ease: cubic-bezier(0.4, 0, 0.2, 1);

  box-sizing: border-box;
  padding: 44px var(--ftr-gutter) calc(44px + env(safe-area-inset-bottom));
  color: var(--ftr-ink-2);
  font-family:
    Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;

  font-size: var(--t-micro, 16px);
  letter-spacing: -0.01em;

  background: var(--ftr-surface);
  border-top: 1px solid var(--ftr-line);
}

.ftr *,
.ftr *::before,
.ftr *::after {
  box-sizing: border-box;
}
.ftr img {
  display: block;
  max-width: 100%;
}
.ftr p {
  margin: 0;
}
.ftr nav,
.ftr div {
  margin: 0;
  padding: 0;
}
.ftr :focus-visible {
  outline: 2px solid var(--ftr-accent);
  outline-offset: 3px;
  border-radius: var(--ftr-radius);
}

.ftr .ftr-wrap {
  max-width: var(--ftr-page);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
}

.ftr-info img {
  height: 26px;
  width: auto;
  margin-bottom: 12px;
  opacity: 0.9;
}
.ftr-info p {
  line-height: 1.85;
}
.ftr-info a {
  color: var(--ftr-ink);
  text-decoration: none;
  transition: color 0.18s var(--ftr-ease);
}
.ftr-info a:hover {
  color: var(--ftr-accent);
}

.ftr-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
}
.ftr-sym {
  display: flex;
  gap: 12px;
}
.ftr-sym a {
  display: block;
  border-radius: var(--ftr-radius);
  opacity: 0.9;
  transition: opacity 0.2s var(--ftr-ease);
}
.ftr-sym a:hover {
  opacity: 1;
}
.ftr-sym img {
  width: 30px;
  height: 30px;
}
.ftr-links {
  display: flex;
  gap: 14px;
}
.ftr-links a {
  color: var(--ftr-ink);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s var(--ftr-ease);
}
.ftr-links a:hover {
  color: var(--ftr-accent);
}

@media (max-width: 720px) {
  .ftr {
    --ftr-gutter: 16px;
    padding-top: 36px;
  }
  .ftr .ftr-wrap {
    flex-direction: column;
    gap: 24px;
  }
  .ftr-side {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ftr-info a,
  .ftr-links a,
  .ftr-sym a {
    transition: none;
  }
}

.float-dock,
.float-top {
  --float-size: 52px;
  --float-gap: 16px;
  --float-right: 28px;
  --float-bottom: 28px;
  --float-surface: #ffffff;
  --float-line: #e6e1ef;

  --float-accent: #6c3cf0;
  --float-accent-2: #5527d6;
  --float-ease: cubic-bezier(0.16, 1, 0.3, 1);

  box-sizing: border-box;
  font-family:
    Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}

.float-dock *,
.float-dock *::before,
.float-dock *::after {
  box-sizing: border-box;
}
.float-dock a {
  text-decoration: none;
  color: inherit;
}
.float-dock img {
  display: block;
}
.float-top {
  margin: 0;
  padding: 0;
  font: inherit;
}
.float-dock :focus-visible,
.float-top:focus-visible {
  outline: 2px solid var(--float-accent);
  outline-offset: 3px;
  border-radius: 50%;
}

.float-dock {
  position: fixed;
  right: var(--float-right);
  bottom: var(--float-bottom);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition:
    bottom 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.32s ease;
}

.float-dock.is-lift {
  bottom: calc(var(--float-bottom) + var(--float-size) + var(--float-gap));
}

.float-btn {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}
.float-btn:hover {
  transform: translateY(-3px);
}

.float-sym {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 8px 20px rgba(28, 24, 48, 0.22));
}
.float-sym:hover {
  filter: drop-shadow(0 12px 26px rgba(28, 24, 48, 0.32));
}
.float-sym img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.float-dock .float-sym {
  flex: none;
  width: var(--float-size);
  height: var(--float-size);
  transition:
    height 0.3s var(--float-ease),
    margin-top 0.3s var(--float-ease),
    opacity 0.24s ease,
    transform 0.3s var(--float-ease),
    filter 0.2s ease;
}
.float-dock .float-sym + .float-sym {
  margin-top: var(--float-gap);
}
.float-dock .float-sym:not(:first-child) {
  height: 0;
  margin-top: 0;
  opacity: 0;
  transform: translateY(10px) scale(0.86);
  pointer-events: none;
  overflow: hidden;
}
.float-dock:hover .float-sym:not(:first-child),
.float-dock:focus-within .float-sym:not(:first-child),
.float-dock.is-open .float-sym:not(:first-child) {
  height: var(--float-size);
  margin-top: var(--float-gap);
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.float-dock:hover .float-sym:not(:first-child):hover,
.float-dock:focus-within .float-sym:not(:first-child):hover,
.float-dock.is-open .float-sym:not(:first-child):hover {
  transform: translateY(-3px);
}

.float-top {
  position: fixed;
  right: var(--float-right);
  bottom: var(--float-bottom);
  z-index: 50;
  width: var(--float-size);
  height: var(--float-size);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--float-surface);
  border: 1px solid var(--float-line);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(28, 24, 48, 0.12);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.32s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.float-top.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.float-top:hover {
  background: var(--float-accent);
  border-color: var(--float-accent);
  box-shadow: 0 12px 26px rgba(108, 60, 240, 0.28);
}
.float-top span {
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  color: var(--float-accent);
  transition: color 0.2s ease;
}
.float-top:hover span {
  color: #ffffff;
}

body.dock-dim .float-dock {
  opacity: 0.26;
}

body.dock-dim .float-top.is-show {
  opacity: 0.45;
}
body.dock-dim .float-dock:hover,
body.dock-dim .float-dock:focus-within,
body.dock-dim .float-dock.is-open,
body.dock-dim .float-top.is-show:hover,
body.dock-dim .float-top.is-show:focus-visible {
  opacity: 1;
}

@media (max-width: 768px) {
  .float-dock,
  .float-top {
    --float-right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .float-dock,
  .float-dock .float-sym,
  .float-btn,
  .float-btn:hover,
  .float-top {
    transition: none;
    transform: none;
  }
}

.float-dock,
.float-top {
  --float-bottom: 96px;
}
@media (max-width: 720px) {
  .float-dock,
  .float-top {
    --float-bottom: 84px;
  }
}


@media@media (max-width: 720px) {
  .node .ico-3d {
    width: 44px;
    height: 44px;
  }
  .sms-card h3 .ico-3d,
  .dash h3 .ico-3d {
    width: 42px;
    height: 42px;
  }
  .form-icon {
    top: -44px;
    right: 14px;
    width: 88px;
    height: 88px;
  }
  .form h3 {
    padding-right: 76px;
  }
}

/* FAQ 일러스트: 제목 아래에 조용히 둔다. 좁은 화면에서는 제목 오른쪽에 작게 붙인다 */
.faq-illust {
  width: 240px;
  height: 240px;
  margin-top: 28px;
  filter: drop-shadow(0 18px 28px rgba(28, 24, 48, 0.12));
}
@media (max-width: 1080px) {
  .faq-wrap .sec-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
  }
  .faq-illust {
    width: 104px;
    height: 104px;
    margin: 0;
  }
}
@media (max-width: 720px) {
  .rp-detail > div {
    padding-left: 80px;
  }
}

/* 연동 섹션 리드는 문장마다 한 줄로 두 줄에 담는다 (넓은 화면) */
@media (min-width: 1081px) {
  .sec-connect .sec-head,
  .sec-connect .sec-head .lead {
    max-width: none;
  }
}

/* 개인정보 수집·이용 동의 — 내용 보기 */
.agree label {
  cursor: pointer;
}
.agree .terms summary {
  display: inline-block;
  margin-top: 4px;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.agree .terms summary::-webkit-details-marker {
  display: none;
}
.agree .terms .full {
  margin-top: 8px;
  font-size: 0.92em;
  line-height: 1.7;
  word-break: keep-all;
}

/* 개인정보 동의 내용: 항목과 내용을 두 열로 맞춰 구분 (homepage cs.html과 같은 방식) */
.agree .terms .full dl {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 6px 16px;
  margin: 0;
}
.agree .terms .full dt {
  font-weight: 400;
}
.agree .terms .full dd {
  margin: 0;
}
.agree .terms .full p {
  margin: 10px 0 0;
  font-size: inherit;
  line-height: inherit;
}
@media (max-width: 560px) {
  .agree .terms .full dl {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .agree .terms .full dd {
    margin-bottom: 8px;
  }
}

/* 개인정보 동의: '내용 보기'를 동의 문구와 같은 줄 오른쪽에 둔다 */
.agree > div {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}
.agree > div > label {
  display: block;
  padding-right: 5.5em;
}
.agree .terms summary {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
}
