/* biome-ignore-all lint/style/noDescendingSpecificity: 컴포넌트 규칙 뒤에 문맥별 덮어쓰기를 두는 구조라 순서가 의도다 */
/*
 * 첫 화면(/) 전용 스타일. site-v2.css 위에 얹는다.
 * 앱 창 시안은 앱 카드 스타일의 색·모서리·글자 크기를 그대로 옮긴 것이다(CardLayout·CardLine·RemainCard·StartChooser).
 * 인라인 style을 쓰지 않으므로 값은 모두 클래스(nth-child 포함)에 있다.
 */

/* ───────── 히어로 ───────── */

.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52% 64% at 84% 8%, rgb(18 181 161 / 14%), transparent 70%),
    radial-gradient(44% 56% at 8% 0%, rgb(14 165 233 / 9%), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--canvas) 100%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 56px;
  align-items: center;
  padding: 72px 0 56px;
}

.hero-copy .badge {
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(36px, 5.2vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.05em;
  font-weight: 820;
}

.grad-text {
  background: var(--grad-text);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  max-width: 30em;
  margin-top: 24px;
  color: var(--ink-2);
  font-size: 19px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-notes {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 560;
}

.hero-notes li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-notes .icon {
  width: 17px;
  height: 17px;
  color: var(--accent);
  stroke-width: 2.4;
}

.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 40px 0;
}

.stage-glow {
  position: absolute;
  inset: 4% -6%;
  background: radial-gradient(closest-side, rgb(18 181 161 / 20%), rgb(14 165 233 / 6%) 60%, transparent);
  filter: blur(8px);
}

.float {
  position: absolute;
  z-index: 2;
}

.float-remain {
  bottom: 6px;
  left: -4px;
  width: 252px;
}

.float-room {
  top: 4px;
  right: -6px;
  width: 196px;
}

@media (prefers-reduced-motion: no-preference) {
  .float-remain {
    animation: bob 7s ease-in-out infinite;
  }

  .float-room {
    animation: bob 8s ease-in-out -3s infinite;
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

.float-mascot {
  top: -6px;
  left: -18px;
  z-index: 3;
  width: 112px;
}

.lm {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.lm-eye {
  transform-box: fill-box;
  transform-origin: center;
}

.lm-arm {
  transform-box: fill-box;
  transform-origin: 0% 55%;
}

@media (prefers-reduced-motion: no-preference) {
  .lm-float {
    animation: lm-float 3.2s ease-in-out infinite;
  }

  .lm-shadow {
    transform-box: fill-box;
    transform-origin: center;
    animation: lm-shadow 3.2s ease-in-out infinite;
  }

  .lm-eye {
    animation: lm-blink 4.2s infinite;
  }

  .lm:hover .lm-arm {
    animation: lm-wave 0.9s ease-in-out infinite;
  }
}

@keyframes lm-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}

@keyframes lm-shadow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.32;
  }

  50% {
    transform: scale(0.82);
    opacity: 0.2;
  }
}

@keyframes lm-blink {
  0%,
  92%,
  100% {
    transform: scaleY(1);
  }

  95% {
    transform: scaleY(0.1);
  }
}

@keyframes lm-wave {
  0%,
  100% {
    transform: rotate(0);
  }

  50% {
    transform: rotate(-24deg);
  }
}
.works {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
}

.works-label {
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 650;
  white-space: nowrap;
}

.works-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.works-list li {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 650;
  box-shadow: var(--shadow-line);
}

/* ───────── 앱 창 시안 ───────── */

.win {
  position: relative;
  z-index: 1;
  width: min(392px, 100%);
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  background: var(--bg);
  box-shadow: var(--shadow-pop);
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.win-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 12px 0 14px;
  font-size: 13px;
}

.win-bar > b {
  font-weight: 750;
}

.win-bar img {
  border-radius: 5px;
}

.win-grow {
  flex: 1;
}

.remain-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.remain-pill .icon {
  width: 13px;
  height: 13px;
}

.remain-pill b {
  font-variant-numeric: tabular-nums;
  font-weight: 750;
}

.win-pin {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--ink-3);
}

.win-pin .icon {
  width: 16px;
  height: 16px;
}

.win-console {
  display: grid;
  gap: 10px;
  padding: 4px 14px 14px;
  border-bottom: 1px solid var(--line);
}

.win-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 10px 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--canvas);
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
}

.lang-pill .icon {
  width: 15px;
  height: 15px;
}

.lang-pill .icon:first-of-type {
  color: var(--accent);
}

.lang-pill .icon:last-of-type {
  color: var(--ink-3);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
}

.status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.win-stop {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  border-radius: 15px;
  background: var(--bg);
  color: var(--stop);
  font-size: 15.5px;
  font-weight: 750;
  line-height: 1;
  box-shadow: inset 0 0 0 1.5px var(--stop-edge);
}

.win-stop .icon {
  width: 17px;
  height: 17px;
  fill: currentcolor;
}

.win-stop time {
  position: absolute;
  right: 16px;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  opacity: 0.75;
}

.win-sources {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.source {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--bg);
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.15;
}

.source > .icon {
  width: 17px;
  height: 17px;
}

.source-txt {
  display: grid;
  flex: 1;
  min-width: 0;
}

.source small {
  font-size: 11px;
  font-weight: 600;
}

.source.on {
  border-color: var(--accent-edge);
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.source.on small {
  color: #3b9c90;
}

.meter {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
}

.meter i {
  width: 3px;
  border-radius: 2px;
  background: currentcolor;
  transform-origin: bottom;
}

.meter i:nth-child(1) {
  height: 7px;
}

.meter i:nth-child(2) {
  height: 12px;
}

.meter i:nth-child(3) {
  height: 16px;
}

.meter i:nth-child(4) {
  height: 10px;
}

.meter i:nth-child(5) {
  height: 5px;
}

@media (prefers-reduced-motion: no-preference) {
  .meter i {
    animation: meter 1.1s ease-in-out infinite;
  }

  .meter i:nth-child(2) {
    animation-delay: -0.3s;
  }

  .meter i:nth-child(3) {
    animation-delay: -0.6s;
  }

  .meter i:nth-child(4) {
    animation-delay: -0.2s;
  }

  .meter i:nth-child(5) {
    animation-delay: -0.8s;
  }

  .status i {
    animation: pulse-dot 1.6s ease-out infinite;
  }
}

@keyframes meter {
  0%,
  100% {
    transform: scaleY(0.4);
  }

  50% {
    transform: scaleY(1);
  }
}

.win-feed {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 306px;
  padding: 12px;
  overflow: hidden;
  background: var(--canvas);
}

.caps {
  display: grid;
  gap: 8px;
  mask-image: linear-gradient(to bottom, transparent 0, #000 40px);
}

.cap {
  min-width: 0;
  padding: 11px 14px 13px;
  border: 1px solid var(--card-edge);
  border-radius: 15px;
  background: var(--bg);
  box-shadow: var(--shadow-line);
}

.cap-flat {
  margin-top: 14px;
}

@media (prefers-reduced-motion: no-preference) {
  .cap.enter {
    animation: rise 0.28s ease-out;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.cap-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-3);
  font-size: 11.5px;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 6px;
  border-radius: 6px;
  background: #eef2f1;
  color: #4b5d58;
  font-size: 10.5px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0.04em;
}

.tag[data-lang="en"] {
  background: #e8f1ff;
  color: #2563eb;
}

.tag[data-lang="ko"] {
  background: #e3f7ee;
  color: #05875c;
}

.tag[data-lang="ja"] {
  background: #f3ecff;
  color: #7c3aed;
}

.cap-src {
  margin-top: 7px;
  color: var(--accent-ink);
  font-size: 12.5px;
  line-height: 1.5;
}

.cap-tr {
  margin-top: 3px;
  color: var(--ink);
  font-size: 16.5px;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.cap[data-state="live"] {
  border-style: dashed;
  border-color: var(--live-edge);
  background: var(--live-bg);
}

.cap-listening {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-ink);
  font-weight: 700;
}

.cap-listening i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

@media (prefers-reduced-motion: no-preference) {
  .cap-listening i {
    animation: blink 1s ease-in-out infinite;
  }

  .caret {
    animation: blink 0.9s steps(1) infinite;
  }
}

@keyframes blink {
  50% {
    opacity: 0.25;
  }
}

.cap-live {
  margin-top: 6px;
  color: var(--live-ink);
  font-size: 16px;
  font-weight: 520;
  line-height: 1.5;
}

.caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 2px;
  background: var(--accent);
  vertical-align: -0.15em;
}

.win-dock {
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.dock-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 6px 8px 2px;
}

.dock-row span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 650;
}

.dock-row .icon {
  width: 17px;
  height: 17px;
}

.dock-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 12px 10px;
  color: var(--ink-3);
  font-size: 11.5px;
  text-align: center;
}

.dock-privacy .icon {
  width: 12px;
  height: 12px;
}

/* ───────── 앱 화면 조각 ───────── */

.mock {
  border: 1px solid var(--card-edge);
  border-radius: 18px;
  background: var(--bg);
  box-shadow: var(--shadow-line);
}

.mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 13px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  font-size: 13px;
  font-weight: 720;
  line-height: 1;
  box-shadow: 0 6px 14px rgb(18 181 161 / 22%);
}

.mini-btn .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}

.mock-remain {
  padding: 16px 16px 14px;
  border-color: var(--accent-edge);
  background: var(--accent-soft);
  box-shadow: var(--shadow-pop);
}

.remain-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.remain-lbl {
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 650;
}

.remain-num {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

.remain-num b {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.remain-num i {
  margin-right: 5px;
  color: var(--ink-2);
  font-size: 14px;
  font-style: normal;
  font-weight: 650;
}

.remain-meta {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.5;
}

.mock-room {
  padding: 14px 16px;
  border-radius: 18px;
  box-shadow: var(--shadow-pop);
}

.room-lbl {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 650;
}

.room-lbl .icon {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.room-code {
  display: flex;
  gap: 12px;
  margin-top: 4px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.room-code b {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.04em;
}

.room-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 12px;
}

.room-meta .icon {
  width: 13px;
  height: 13px;
}

.mock-chooser {
  padding: 16px;
}

.chooser-title {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.mock-chooser ul {
  display: grid;
  gap: 8px;
}

.mock-chooser li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
}

.mock-chooser li:first-child {
  border-color: var(--accent-edge);
  background: var(--accent-soft);
}

.mock-chooser .icon-tile {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--canvas);
}

.mock-chooser li:first-child .icon-tile {
  background: var(--bg);
}

.mock-chooser .icon-tile .icon {
  width: 18px;
  height: 18px;
}

.chooser-txt {
  display: grid;
  min-width: 0;
  line-height: 1.3;
}

.chooser-txt b {
  font-size: 14px;
  font-weight: 720;
}

.chooser-txt small {
  color: var(--ink-2);
  font-size: 12px;
}

/* ───────── 세 단계 ───────── */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.step-no {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  border-radius: 11px;
  background: var(--grad);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 6px 14px rgb(18 181 161 / 22%);
}

.step h3 {
  font-size: 22px;
}

.step p {
  margin: 10px 0 24px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.7;
}

.step-art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 322px;
  margin-top: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--canvas);
}

.step-art > .mock {
  width: 100%;
}

.mock-install {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
}

.mock-install img {
  border-radius: 12px;
}

.install-txt {
  display: grid;
  flex: 1;
  min-width: 0;
  line-height: 1.3;
}

.install-txt b {
  font-size: 15.5px;
  font-weight: 760;
}

.install-txt small {
  color: var(--ink-2);
  font-size: 12px;
}

.mock-login {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(136px, 1fr));
  gap: 8px;
  padding: 10px;
}

.sso {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.sso-ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.sso-ic svg {
  width: 15px;
  height: 15px;
}

.sso-kakao {
  background: #fee500;
}

.sso-naver {
  background: #03c75a;
}

.sso-google {
  border: 1px solid var(--line);
  background: #fff;
}

.sso-apple {
  background: #111;
}

/* ───────── 기능 ───────── */

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.feat {
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.feat-7 {
  grid-column: span 7;
}

.feat-5 {
  grid-column: span 5;
}

.feat-6 {
  grid-column: span 6;
}

.feat h3 {
  margin-top: 20px;
  font-size: 22px;
}

.feat > p {
  margin: 10px 0 26px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.7;
}

.feat-art {
  margin-top: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--canvas);
}

.lang-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lang-chips li {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 650;
}

.style-tabs {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}

.style-tabs button {
  height: 32px;
  padding: 0 18px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.style-tabs button:hover {
  color: var(--ink);
}

.style-tabs button[aria-selected="true"] {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.style-view {
  margin-top: 14px;
  min-height: 150px;
}

.style-panel {
  display: none;
}

.style-panel.on {
  display: block;
}

.mini-card {
  display: grid;
  gap: 8px;
}

.mini-line {
  display: grid;
  gap: 2px;
  padding: 10px 14px 11px;
  border: 1px solid var(--card-edge);
  border-radius: 13px;
  background: var(--bg);
}

.mini-line small {
  color: var(--accent-ink);
  font-size: 12px;
}

.mini-line b {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.mini-dock {
  position: relative;
  height: 150px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--bg);
}

.mini-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  height: 100%;
  padding: 8px;
}

.mini-tiles i {
  border-radius: 9px;
  background: #dff3ef;
}

.mini-tiles i:nth-child(2) {
  background: #e1f0fa;
}

.mini-tiles i:nth-child(3) {
  background: #e8f6f3;
}

.mini-tiles i:nth-child(4) {
  background: #e6eef8;
}

.mini-bar {
  position: absolute;
  right: 12px;
  bottom: 10px;
  left: 12px;
  display: grid;
  gap: 1px;
  padding: 9px 14px 10px;
  border-radius: 11px;
  background: rgb(14 26 24 / 90%);
  color: #fff;
}

.mini-bar b {
  font-size: 15px;
  font-weight: 650;
}

.mini-bar small {
  color: rgb(255 255 255 / 70%);
  font-size: 11.5px;
}

.mini-chat {
  display: grid;
  gap: 8px;
  padding: 4px 0;
}

.bub {
  max-width: 78%;
  padding: 10px 14px;
  border: 1px solid var(--card-edge);
  border-radius: 16px;
  background: var(--bg);
  font-size: 15.5px;
  font-weight: 620;
  line-height: 1.4;
}

.bub.them {
  justify-self: start;
  border-bottom-left-radius: 5px;
}

.bub.me {
  justify-self: end;
  border-color: var(--accent-edge);
  border-bottom-right-radius: 5px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.room-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--card-edge);
  border-radius: 16px;
  background: var(--bg);
}

.room-card .room-lbl {
  margin-bottom: 2px;
}

.room-card .room-code b {
  font-size: 38px;
}

.room-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 600;
}

.room-note .icon {
  width: 16px;
  height: 16px;
  color: var(--accent-ink);
}

.room-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

.room-chip .icon {
  width: 14px;
  height: 14px;
}

.cam {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(60% 70% at 50% 38%, rgb(255 255 255 / 55%), transparent 70%),
    linear-gradient(160deg, #a7c4cf, #7d9aa6);
}

.cam-person {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 150px;
  height: 160px;
  transform: translateX(-50%);
}

.cam-head {
  position: absolute;
  top: 0;
  left: 50%;
  width: 66px;
  height: 74px;
  border-radius: 50% 50% 46% 46%;
  background: #e9c9b1;
  transform: translateX(-50%);
}

.cam-body {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 78px;
  border-radius: 70px 70px 0 0;
  background: #3d5662;
}

.cam-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgb(255 255 255 / 90%);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
}

.cam-tag i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.cam-sub {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  display: grid;
  gap: 1px;
  padding: 9px 14px 10px;
  border-radius: 11px;
  background: rgb(0 0 0 / 62%);
  color: #fff;
}

.cam-sub b {
  font-size: 15.5px;
  font-weight: 650;
}

.cam-sub small {
  color: rgb(255 255 255 / 65%);
  font-size: 12px;
}

.path-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border: 1px solid var(--card-edge);
  border-radius: 14px;
  background: var(--bg);
}

.path-card > .icon {
  color: var(--accent-ink);
}

.path-card {
  flex-wrap: wrap;
}

.path-card span {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.path-card em {
  margin-left: auto;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 12.5px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.toggle-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--card-edge);
  border-radius: 14px;
  background: var(--bg);
}

.toggle-card span {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
}

.switch {
  position: relative;
  flex: none;
  width: 46px;
  height: 27px;
  border-radius: 999px;
  background: #d5dfdc;
}

.switch b {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgb(0 0 0 / 18%);
}

.switch.on {
  background: var(--accent);
}

.switch.on b {
  left: 22px;
}

/* ───────── 개인정보 ───────── */

.privacy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: center;
}

.privacy-grid .section-head {
  margin-bottom: 0;
}

.privacy-points {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.privacy-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.privacy-points .icon {
  width: 38px;
  height: 38px;
  padding: 9px;
  border-radius: 12px;
  background: var(--bg);
  color: var(--accent-ink);
  box-shadow: var(--shadow-line);
}

.privacy-points p {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.7;
}

.privacy-points b {
  color: var(--ink);
  font-weight: 720;
}

.stores {
  display: grid;
  gap: 16px;
}

.store {
  padding: 22px 24px;
  border: 1px solid var(--card-edge);
  border-radius: var(--r-lg);
  background: var(--bg);
  box-shadow: var(--shadow-card);
}

.store-yes {
  border-color: var(--accent-edge);
}

.store-lbl {
  margin-bottom: 8px;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 750;
}

.store li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.store li:first-child {
  border-top: 0;
}

.store li span {
  font-size: 16px;
  font-weight: 650;
}

.store em {
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--canvas);
  color: var(--ink-2);
  font-size: 12.5px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.store-yes em {
  border-color: var(--accent-edge);
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.store-note {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 14px;
}

/* ───────── 요금 ───────── */

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
}

.plan h3 {
  font-size: 22px;
}

.plan-flags {
  position: absolute;
  top: 28px;
  right: 24px;
  display: flex;
  gap: 6px;
}

.plan-flags .badge {
  height: 28px;
  padding: 0 11px;
  font-size: 12.5px;
}

.plan-recommend {
  border-color: transparent;
  background: var(--grad);
  color: #fff;
}

.plan-desc {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 15px;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  margin-top: 24px;
  font-variant-numeric: tabular-nums;
}

.price b {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.price s {
  color: var(--ink-3);
  font-size: 18px;
  font-weight: 600;
}

.price span {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 560;
}

.price:has(s) span {
  flex-basis: 100%;
}

/* 공급가(부가세 별도) 밑의 실제 결제 금액(D20). 큰 숫자는 부가세를 뺀 공급가다. */
.price-vat {
  margin-top: 4px;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 560;
  font-variant-numeric: tabular-nums;
}

.plan-list {
  display: grid;
  flex: 1;
  align-content: start;
  gap: 12px;
  margin: 26px 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15.5px;
  line-height: 1.5;
}

.plan-list .icon {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--accent);
  stroke-width: 2.4;
}

.plan-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -6px 0 18px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.4;
}

.plan-note .icon {
  width: 18px;
  height: 18px;
}

.plan-best {
  border: 2px solid var(--accent);
  box-shadow:
    0 24px 56px rgb(18 181 161 / 16%),
    var(--shadow-card);
}

.plans-note {
  margin-top: 32px;
  color: var(--ink-2);
  font-size: 14.5px;
  text-align: center;
}

.plans-note-sub {
  margin-top: 6px;
}

/* ───────── 마지막 행동 유도 ───────── */

.final {
  padding-top: 24px;
}

.final-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 52px 56px;
  border: 1px solid var(--accent-edge);
  border-radius: var(--r-xl);
  background:
    radial-gradient(60% 140% at 100% 0%, rgb(14 165 233 / 12%), transparent 60%),
    radial-gradient(60% 140% at 0% 100%, rgb(18 181 161 / 16%), transparent 60%), var(--accent-soft);
}

.final-copy img {
  margin-bottom: 22px;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgb(12 70 62 / 22%);
}

.final-copy h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  letter-spacing: -0.04em;
  font-weight: 800;
}

.final-copy p {
  max-width: 34em;
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 17px;
}

.final-actions {
  display: grid;
  flex: none;
  gap: 12px;
}

/* ───────── 반응형 ───────── */

@media (width <= 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 56px;
  }

  .hero-lead {
    max-width: 36em;
  }

  .hero-stage {
    width: min(560px, 100%);
    margin-inline: auto;
  }

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

@media (width <= 900px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-art {
    min-height: 0;
  }

  .feat-7,
  .feat-5,
  .feat-6 {
    grid-column: span 12;
  }

  .plans {
    grid-template-columns: minmax(0, 1fr);
    width: min(480px, 100%);
    margin-inline: auto;
  }

  .final-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 32px;
  }

  .final-actions {
    width: 100%;
  }
}

@media (width <= 420px) {
  .source small {
    display: none;
  }
}

@media (width <= 640px) {
  .hero-grid {
    padding-top: 40px;
  }

  .hero-lead {
    font-size: 17.5px;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-stage {
    padding: 8px 0 0;
  }

  .float {
    display: none;
  }

  /* 좁은 화면에서도 요정은 창 시안 오른쪽 위에 걸터앉는다. */
  .float.float-mascot {
    top: -50px;
    right: 6px;
    left: auto;
    display: block;
    width: 78px;
  }

  .works {
    padding-bottom: 36px;
  }

  .feat,
  .step {
    padding: 24px 20px;
  }

  .final-card {
    padding: 32px 22px;
  }

  .final-actions .btn {
    width: 100%;
  }

  .plan {
    padding: 28px 22px 24px;
  }

  .plan-flags {
    top: 24px;
    right: 20px;
  }

  .win-feed {
    height: 290px;
  }

  .room-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
