/* ============================================
   Zito 소개 페이지 공통 스타일
   (대시보드는 style.css를 그대로 사용)
   ============================================ */

@font-face {
  font-family: 'A2Z';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/A2Z-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'A2Z';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/A2Z-Bold.woff2') format('woff2');
}

:root {
  --background: #ffffff;
  --foreground: #111111;
  --muted: #6b6b6b;
  --line: #e5e5e5;
  --subtle: #f5f5f5;
  --accent: #111111;
  --point: #1f5bd8;
  --point-soft: #e6eefc;
  --danger: #c1462f;
  --footer-bg: #0a0a0a;
  --footer-fg: #f2f2f2;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --background: #0a0a0a;
    --foreground: #f2f2f2;
    --muted: #9a9a9a;
    --line: #2a2a2a;
    --subtle: #151515;
    --accent: #f2f2f2;
    --point: #7fa4e8;
    --point-soft: #131c2e;
    --danger: #e08a72;
    --footer-bg: #f7f7f7;
    --footer-fg: #111111;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --background: #0a0a0a;
  --foreground: #f2f2f2;
  --muted: #9a9a9a;
  --line: #2a2a2a;
  --subtle: #151515;
  --accent: #f2f2f2;
  --point: #7fa4e8;
  --point-soft: #131c2e;
  --danger: #e08a72;
  --footer-bg: #f7f7f7;
  --footer-fg: #111111;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; height: 100%; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0; min-height: 100%; display: flex; flex-direction: column;
  background: var(--background); color: var(--foreground);
  font-family: 'A2Z', system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.7; word-break: keep-all; -webkit-font-smoothing: antialiased;
  transition: background-color .2s ease, color .2s ease;
}
main { flex: 1; overflow-x: hidden; }
a { color: inherit; }
button, input, textarea, select { font-family: inherit; }
img, svg { max-width: 100%; }
h1, h2, h3 { font-weight: 700; margin: 0; text-wrap: balance; }

/* auth.js 호환: 로그인 상태에 따라 붙였다 떼는 클래스 */
.hidden { display: none !important; }

.eyebrow {
  font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}

@keyframes page-fade { from { opacity: 0; } to { opacity: 1; } }
.page-transition { animation: page-fade .45s ease-out; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--foreground); color: var(--background);
  padding: 10px 16px; font-size: 13px; text-decoration: none; transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--foreground); outline-offset: 3px; }

/* ============ HEADER ============ */
header.site-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--background) 92%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
header.site-header .inner {
  max-width: 72rem; margin: 0 auto; padding: 0 20px;
  height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 22px; width: auto; display: block; }
:root[data-theme="dark"] .brand img,
:root[data-theme="dark"] .logo-invert { filter: invert(1); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand img,
  :root:not([data-theme="light"]) .logo-invert { filter: invert(1); }
}

nav.desktop-nav { display: none; align-items: center; gap: 28px; }
.header-actions { display: none; align-items: center; gap: 14px; }
@media (min-width: 820px) {
  nav.desktop-nav { display: flex; }
  .header-actions { display: flex; }
}
nav.desktop-nav a, .header-actions a, .header-actions .text-btn {
  font-size: 13px; color: var(--muted); text-decoration: none; transition: color .15s ease;
  background: none; border: none; padding: 0; cursor: pointer;
}
nav.desktop-nav a:hover, .header-actions a:hover, .header-actions .text-btn:hover,
nav.desktop-nav a[aria-current="page"] { color: var(--foreground); }

.auth-group { display: flex; align-items: center; gap: 14px; }
.header-actions .header-cta {
  border: 1px solid var(--foreground); color: var(--foreground);
  padding: 7px 14px; font-weight: 700;
}
.header-actions .header-cta:hover { background: var(--foreground); color: var(--background); }

.icon-btn {
  display: flex; align-items: center; justify-content: center;
  height: 32px; width: 32px; background: transparent; border: none; color: var(--foreground); cursor: pointer; padding: 0;
}

.hamburger {
  display: flex; height: 32px; width: 32px; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; background: none; border: none; cursor: pointer; padding: 0;
}
@media (min-width: 820px) { .hamburger { display: none; } }
.hamburger span { display: block; height: 1px; width: 20px; background: var(--foreground); transition: transform .25s ease; }
.hamburger.open span.s1 { transform: translateY(3.5px) rotate(45deg); }
.hamburger.open span.s2 { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-nav-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.23,1,.32,1); }
.mobile-nav-wrap.expanded { grid-template-rows: 1fr; }
@media (min-width: 820px) { .mobile-nav-wrap { display: none; } }
.mobile-nav { overflow: hidden; }
.mobile-nav a, .mobile-nav .mobile-row, #mobile-auth a, #mobile-auth button {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  border: none; border-bottom: 1px solid var(--line); padding: 16px 20px; font-size: 13px;
  text-decoration: none; color: var(--foreground); background: none; text-align: left; cursor: pointer;
}
.mobile-nav .sub { color: var(--muted); padding-left: 36px; }

/* ============ LAYOUT ============ */
.wrap { max-width: 52rem; margin: 0 auto; padding: 0 20px; }
.wrap-wide { max-width: 72rem; margin: 0 auto; padding: 0 20px; }

section.block { padding: 64px 0; border-top: 1px solid var(--line); scroll-margin-top: 72px; }
section.block > .eyebrow { display: block; }
section.block h2 { margin-top: 12px; font-size: clamp(20px, 3vw, 26px); max-width: 24ch; line-height: 1.4; }
p.dek { margin-top: 14px; font-size: 14.5px; color: var(--muted); max-width: 56ch; }

/* ============ HERO ============ */
section.hero {
  display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 32px;
  padding: 64px 0 56px;
}
section.hero h1 { margin-top: 16px; max-width: 20ch; font-size: clamp(28px, 4.6vw, 42px); line-height: 1.32; }
section.hero p.lede { margin-top: 20px; max-width: 46ch; font-size: 14.5px; line-height: 1.8; color: var(--muted); }
section.hero p.lede b { color: var(--foreground); }
.hero-badge { width: 112px; height: 112px; flex: none; overflow: hidden; background: #000; }
.hero-badge img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 640px) {
  section.hero { flex-direction: row; align-items: center; justify-content: space-between; padding: 88px 0 64px; }
}
.meta-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.meta-links span { border: 1px solid var(--line); padding: 8px 14px; font-size: 12px; letter-spacing: 0.04em; color: var(--muted); }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--foreground); padding: 11px 20px; font-size: 13.5px; font-weight: 700;
  text-decoration: none; color: var(--foreground); background: transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--foreground); color: var(--background); }
.btn.solid { background: var(--foreground); color: var(--background); }
.btn.solid:hover { background: transparent; color: var(--foreground); }
.btn.block { display: flex; width: 100%; }

/* ============ PRODUCT HERO (메인) ============ */
.product-hero {
  position: relative; overflow: hidden; text-align: center;
  background: var(--h-bg); color: var(--h-fg); padding: 72px 20px 0;
  border-bottom: 1px solid var(--h-line);
  --h-bg: #000000; --h-fg: #f5f5f7; --h-mute: #a1a1a6; --h-line: #2c2c2e;
  --h-chip-bg: rgba(255,255,255,.1); --h-chip-bd: rgba(255,255,255,.14); --h-glow: rgba(90,130,255,.28);
  transition: background-color .2s ease, color .2s ease;
}
:root[data-theme="dark"] .product-hero {
  --h-bg: #ffffff; --h-fg: #111111; --h-mute: #6b6b6b; --h-line: #e5e5e5;
  --h-chip-bg: rgba(255,255,255,.78); --h-chip-bd: rgba(0,0,0,.08); --h-glow: rgba(70,110,255,.16);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .product-hero {
    --h-bg: #ffffff; --h-fg: #111111; --h-mute: #6b6b6b; --h-line: #e5e5e5;
    --h-chip-bg: rgba(255,255,255,.78); --h-chip-bd: rgba(0,0,0,.08); --h-glow: rgba(70,110,255,.16);
  }
}
.ph-copy { position: relative; z-index: 2; max-width: 46rem; margin: 0 auto; }
.ph-title { margin: 0; font-size: clamp(32px, 6vw, 64px); line-height: 1.22; letter-spacing: -0.02em; }
.ph-sub { margin: 22px 0 0; font-size: clamp(21px, 3.2vw, 32px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.35; }
.ph-desc { margin: 12px 0 0; font-size: clamp(14px, 1.8vw, 17px); color: var(--h-mute); line-height: 1.7; }
.ph-cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; min-width: 132px;
  padding: 11px 22px; border-radius: 980px; font-size: 14.5px; font-weight: 700; text-decoration: none;
  border: 1px solid var(--h-fg); color: var(--h-fg); transition: background-color .15s ease, color .15s ease;
}
.pill:hover { background: var(--h-fg); color: var(--h-bg); }
.pill.solid { background: var(--h-fg); color: var(--h-bg); }
.pill.solid:hover { background: transparent; color: var(--h-fg); }

.ph-visual { text-align: left; position: relative; height: clamp(440px, 62vw, 600px); max-width: 60rem; margin: 48px auto 0; }
.ph-glow {
  position: absolute; left: 50%; top: 18%; width: 560px; height: 560px; transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--h-glow), transparent 70%);
  pointer-events: none;
}
.ph-phone {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: clamp(250px, 30vw, 310px); z-index: 2;
  background: #1c1c1e !important; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), inset 0 0 0 2px #3a3a3c !important;
}
.ph-phone .bizcard .lines { gap: 3px; }

.ph-nfc {
  position: absolute; z-index: 3; left: calc(50% - clamp(250px, 30vw, 310px) / 2 - 150px); top: 52%;
  width: clamp(200px, 24vw, 260px); aspect-ratio: 1.586 / 1; border-radius: 14px;
  background: linear-gradient(140deg, #2a2a2c 0%, #0b0b0c 55%, #1a1a1c 100%);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.08);
  transform: rotate(-12deg); color: #d8b04c; text-align: left;
  animation: nfc-float 6s ease-in-out infinite;
}
.ph-nfc img { position: absolute; left: 18px; top: 18px; height: 22px; filter: invert(1); }
.ph-nfc svg { position: absolute; right: 16px; top: 14px; width: 30px; height: 30px; }
.ph-nfc span { position: absolute; left: 18px; bottom: 14px; font-size: 9px; letter-spacing: .2em; color: #8e8e93; }
@keyframes nfc-float { 0%, 100% { transform: rotate(-12deg) translateY(0); } 50% { transform: rotate(-10deg) translateY(-10px); } }

.ph-chip {
  position: absolute; z-index: 4; display: flex; flex-direction: column; gap: 2px; text-align: left;
  background: var(--h-chip-bg); border: 1px solid var(--h-chip-bd);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 16px; padding: 12px 16px; color: var(--h-fg);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.8);
}
.ph-chip b { font-size: 13.5px; }
.ph-chip span { font-size: 11.5px; color: var(--h-mute); }
.ph-chip-a { left: calc(50% + clamp(250px, 30vw, 310px) / 2 + 24px); top: 16%; animation: chip-float 7s ease-in-out infinite; }
.ph-chip-b { left: calc(50% + clamp(250px, 30vw, 310px) / 2 + 10px); top: 46%; animation: chip-float 7s ease-in-out 1.5s infinite; }
@keyframes chip-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.ph-facts {
  position: relative; z-index: 5; list-style: none; margin: -60px auto 0; padding: 0;
  max-width: 60rem; display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--h-line); background: var(--h-bg);
}
.ph-facts li { padding: 26px 16px 30px; display: flex; flex-direction: column; gap: 4px; }
.ph-facts li + li { border-left: 1px solid var(--h-line); }
.ph-facts b { font-size: 15px; }
.ph-facts span { font-size: 12.5px; color: var(--h-mute); }

@media (max-width: 760px) {
  .product-hero { padding-top: 56px; }
  .ph-visual { height: 470px; margin-top: 36px; }
  .ph-phone { width: 250px; }
  .ph-nfc { left: 4%; top: 58%; width: 170px; }
  .ph-chip { display: none; }
  .ph-facts { grid-template-columns: 1fr; margin-top: -40px; }
  .ph-facts li + li { border-left: none; border-top: 1px solid var(--h-line); }
  .ph-facts li { padding: 18px 4px; }
}

/* ============ NARRATIVE ============ */
.lead-copy p { font-size: 16px; line-height: 1.95; max-width: 58ch; margin: 18px 0 0; }
.lead-copy p:first-of-type { margin-top: 16px; }
.lead-copy b { color: var(--foreground); }
.hl { font-weight: 700; color: var(--point); }

/* ============ SIMULATION ============ */
.demo-layout { margin-top: 36px; display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
@media (min-width: 760px) {
  .demo-layout { grid-template-columns: 240px 1fr; gap: 44px; }
  .demo-tabs { position: sticky; top: 96px; }
}

.demo-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.demo-tabs::-webkit-scrollbar { display: none; }
@media (min-width: 760px) { .demo-tabs { flex-direction: column; overflow: visible; } }
.demo-tab {
  flex: none; text-align: left; border: 1px solid var(--line); background: transparent; color: var(--muted);
  padding: 13px 15px; cursor: pointer; font-size: 13px; transition: border-color .15s ease, color .15s ease;
}
.demo-tab .n { font-size: 10.5px; letter-spacing: .1em; color: var(--muted); }
.demo-tab .t { display: block; font-weight: 700; color: var(--foreground); font-size: 14px; }
.demo-tab .d { display: none; margin-top: 3px; font-size: 12px; line-height: 1.5; }
@media (min-width: 760px) { .demo-tab .d { display: block; } }
.demo-tab[aria-selected="true"] { border-color: var(--foreground); }
.demo-tab[aria-selected="true"] .n { color: var(--point); }

.demo-stage { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.demo-caption { font-size: 13px; color: var(--muted); text-align: center; min-height: 3.4em; max-width: 34ch; }
.demo-caption b { color: var(--foreground); }
.demo-controls { display: flex; gap: 8px; }
.demo-controls button {
  border: 1px solid var(--line); background: transparent; color: var(--foreground);
  font-size: 12px; padding: 7px 12px; cursor: pointer;
}
.demo-controls button:hover { border-color: var(--foreground); }

/* 넓은 시뮬레이션 영역: 탭 | 휴대폰 | 바꿔 보기 칸 */
.demo-wide { width: min(72rem, calc(100vw - 40px)); position: relative; left: 50%; transform: translateX(-50%); }
@media (min-width: 1100px) {
  .demo-wide .demo-layout { grid-template-columns: 220px 320px 1fr; align-items: start; gap: 40px; }
}
.sim-top { width: min(100%, 300px); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sim-mode { font-size: 11px; letter-spacing: .1em; padding: 4px 9px; border: 1px solid var(--line); color: var(--muted); }
.sim-mode[data-mode="try"] { border-color: var(--point); color: var(--point); }
.sim-mode[data-mode="try"]::before { content: "● "; }
[hidden] { display: none !important; }

.sim-hint { position: relative; z-index: 6; animation: hint-pulse 1.3s ease-out infinite; }
@keyframes hint-pulse {
  0% { box-shadow: 0 0 0 0 rgba(10,132,255,.75); }
  70% { box-shadow: 0 0 0 12px rgba(10,132,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(10,132,255,0); }
}
.tapdot {
  position: absolute; z-index: 60; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  background: rgba(10,132,255,.35); border: 2px solid rgba(10,132,255,.9); pointer-events: none;
  animation: tapdot .6s ease-out forwards;
}
@keyframes tapdot { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }

.sim-panel { border: 1px solid var(--line); padding: 20px; display: grid; gap: 14px; align-content: start; }
@media (min-width: 1100px) { .sim-panel { position: sticky; top: 96px; } }
.sp-title { margin: 0; font-size: 11px; letter-spacing: .12em; color: var(--point); text-transform: uppercase; font-weight: 700; }
.sp-grid { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.sp-field { display: grid; gap: 4px; font-size: 11.5px; color: var(--muted); }
.sp-field input, .sp-field textarea {
  width: 100%; border: 1px solid var(--line); background: var(--background); color: var(--foreground);
  padding: 8px 10px; font-size: 13px; border-radius: 0; font-family: inherit;
}
.sp-field input:focus, .sp-field textarea:focus { outline: none; border-color: var(--foreground); }
.sp-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12.5px; padding-top: 10px; border-top: 1px solid var(--line); }
.sp-toggle { width: 40px; height: 24px; border-radius: 12px; border: none; background: var(--line); position: relative; cursor: pointer; transition: background-color .2s ease; }
.sp-toggle i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s ease; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.sp-toggle[aria-pressed="true"] { background: #34c759; }
.sp-toggle[aria-pressed="true"] i { transform: translateX(16px); }
.sp-presets { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.sp-presets button { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--background); box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.sp-colors { display: flex; gap: 6px; }
.sp-colors input { width: 34px; height: 26px; padding: 0; border: 1px solid var(--line); background: none; cursor: pointer; }
.sp-note { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.6; }
.sp-btns { display: grid; gap: 8px; }
.nfc-physical {
  position: relative; width: 100%; max-width: 260px; aspect-ratio: 1.586/1; border-radius: 12px; border: none; cursor: pointer;
  background: linear-gradient(140deg, #2a2a2c, #0b0b0c 55%, #1a1a1c); color: #d8b04c; text-align: left;
  box-shadow: 0 16px 30px -16px rgba(0,0,0,.6); transition: transform .2s ease;
}
.nfc-physical:hover { transform: translateY(-3px) rotate(-1deg); }
.nfc-physical svg { position: absolute; right: 14px; top: 12px; width: 26px; height: 26px; }
.nfc-physical .nl { position: absolute; left: 16px; top: 12px; color: #fff; font-weight: 700; font-style: italic; font-size: 20px; }
.nfc-physical .nb { position: absolute; left: 16px; bottom: 12px; font-size: 9px; letter-spacing: .14em; color: #8e8e93; }

/* phone 안 보조 요소 */
.bizcard .lines span { min-width: 0; }
.bizcard .lines em { font-style: normal; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bizcard.vertical { aspect-ratio: 1 / 1.45; width: 58%; margin-left: auto; margin-right: auto; text-align: center; padding: 18px 10px 14px; }
.bizcard.vertical .nm { font-size: 16px; }
.bizcard.vertical .lines { font-size: 8.5px; gap: 3px; }
.bizcard.vertical .lines span { flex-direction: column; gap: 1px; }
.bizcard.vertical .lines svg { display: none; }
.bizcard.vertical .lines em { white-space: normal; overflow-wrap: anywhere; }
.editor .bizcard.vertical { width: 46%; }
.mini-toggle { width: 26px; height: 16px; border-radius: 8px; background: #e5e5ea; position: relative; }
.mini-toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: transform .2s; }
.mini-toggle.on { background: #34c759; }
.mini-toggle.on::after { transform: translateX(10px); }
.fu-chips { display: flex; gap: 6px; }
.fu-chips span { font-size: 10.5px; padding: 5px 10px; border-radius: 14px; background: #f2f2f7; cursor: pointer; }
.fu-chips span.on { background: #000; color: #fff; }
#homeCard, #recvCard, #editSave, #saveBtn { cursor: pointer; }

/* phone frame */
.phone {
  position: relative; width: min(100%, 300px); aspect-ratio: 9 / 19.2;
  background: #0a0a0a; border-radius: 46px; padding: 10px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.45), inset 0 0 0 2px #2b2b2b;
}
:root[data-theme="dark"] .phone { background: #2a2a2a; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), inset 0 0 0 2px #3a3a3a; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .phone { background: #2a2a2a; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), inset 0 0 0 2px #3a3a3a; }
}
.phone-screen {
  position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden;
  background: #f2f2f7; color: #000;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Apple SD Gothic Neo", "A2Z", sans-serif;
  word-break: keep-all; line-height: 1.35;
}
.island {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 30;
  width: 92px; height: 27px; border-radius: 100px; background: #000;
}
.statusbar {
  position: absolute; top: 0; left: 0; right: 0; height: 46px; z-index: 25;
  display: flex; align-items: center; justify-content: space-between; padding: 6px 26px 0 30px;
  font-size: 12.5px; font-weight: 600; color: #000;
}
.statusbar .sb-icons { display: flex; gap: 4px; align-items: center; }
.statusbar .bat { width: 22px; height: 11px; border: 1.3px solid #000; border-radius: 3px; position: relative; padding: 1px; }
.statusbar .bat::after { content: ""; display: block; height: 100%; width: 80%; background: #000; border-radius: 1px; }

/* app screens */
.scr { position: absolute; inset: 0; padding: 52px 0 0; opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.scr.on { opacity: 1; pointer-events: auto; }
.app-head { padding: 22px 18px 0; display: flex; justify-content: space-between; align-items: flex-end; }
.app-head h4 { margin: 0; font-size: 25px; font-weight: 800; letter-spacing: -0.02em; }
.app-head p { margin: 4px 0 0; font-size: 11.5px; color: #8a8a8e; }
.app-head p .cnt { color: #0a84ff; font-weight: 600; }
.round-btns { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.rbtn { width: 30px; height: 30px; border-radius: 50%; background: #000; color: #fff; display: flex; align-items: center; justify-content: center; }
.rbtn.ghost { background: transparent; color: #000; }
.rbtn.grey { background: #8e8e93; }
.rbtn svg { width: 15px; height: 15px; }

.bizcard {
  position: relative; margin: 26px 18px 0; aspect-ratio: 1.8 / 1; border-radius: 14px; color: #fff;
  padding: 16px 16px 14px; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 10px 24px -12px rgba(0,0,0,.45);
  background: linear-gradient(135deg, var(--c1, #111), var(--c2, #3a3a3c));
  transition: background .4s ease, transform .4s cubic-bezier(.23,1,.32,1), opacity .4s ease;
}
.bizcard .nm { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.bizcard .sub { margin-top: 3px; font-size: 10.5px; opacity: .85; }
.bizcard .sub i { font-style: normal; opacity: .5; margin: 0 4px; }
.bizcard .lines { font-size: 9.5px; opacity: .92; display: grid; gap: 2px; }
.bizcard .lines span { display: flex; gap: 6px; align-items: center; }
.bizcard .lines svg { width: 9px; height: 9px; flex: none; }
.dots { display: flex; justify-content: center; gap: 5px; margin-top: 18px; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: #d1d1d6; }
.dots i.on { background: #000; }

.tabbar {
  position: absolute; left: 10px; right: 10px; bottom: 12px; height: 50px; border-radius: 26px;
  background: rgba(255,255,255,.92); box-shadow: 0 4px 18px rgba(0,0,0,.08);
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; padding: 0 4px; z-index: 20;
}
.tabbar div { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 8px; color: #1c1c1e; padding: 5px 0; border-radius: 20px; }
.tabbar div.on { background: #ebebef; }
.tabbar svg { width: 17px; height: 17px; }

/* bottom sheet */
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; top: 45%; background: #fff; border-radius: 22px 22px 0 0;
  padding: 10px 18px 18px; box-shadow: 0 -8px 30px rgba(0,0,0,.08); z-index: 22;
  transform: translateY(105%); transition: transform .45s cubic-bezier(.23,1,.32,1); overflow: hidden;
}
.sheet.up { transform: translateY(0); }
.sheet .grab { width: 36px; height: 4px; border-radius: 4px; background: #d1d1d6; margin: 0 auto 14px; }
.sheet .s-name { font-size: 18px; font-weight: 800; }
.sheet .s-meta { font-size: 11.5px; color: #8a8a8e; margin-top: 2px; }
.views { margin-top: 10px; }
.views .tot { color: #0a84ff; font-weight: 700; font-size: 13px; display: flex; align-items: center; gap: 5px; }
.views .split { margin-top: 3px; display: flex; gap: 12px; font-size: 10.5px; color: #8a8a8e; }
.views .bump { animation: bump .5s ease; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
.s-hr { height: 1px; background: #e5e5ea; margin: 12px 0; }
.s-title { font-size: 12.5px; font-weight: 700; margin-bottom: 8px; }
.share-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.share-grid button {
  border: none; background: #f2f2f7; border-radius: 12px; padding: 14px 0 10px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #000;
  transition: transform .15s ease, background-color .15s ease;
}
.share-grid button:active, .share-grid button.press { transform: scale(.95); background: #e5e5ea; }
.share-grid svg { width: 22px; height: 22px; }
.s-btn { margin-top: 12px; height: 38px; border-radius: 11px; background: #000; color: #fff; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; font-weight: 700; }
.sync { margin-top: 6px; color: #0a84ff; font-size: 10.5px; display: flex; align-items: center; gap: 4px; }
.sync svg { width: 11px; height: 11px; }
.sync.spin svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.memo-box { background: #f2f2f7; border-radius: 10px; padding: 10px 11px; font-size: 11px; line-height: 1.5; min-height: 34px; }
.memo-head { display: flex; justify-content: space-between; align-items: center; }
.memo-head span { color: #0a84ff; font-size: 11px; }
.caret { display: inline-block; width: 1px; height: 12px; background: #0a84ff; vertical-align: -2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.flash { animation: flash 1.2s ease; border-radius: 4px; }
@keyframes flash { 0%, 100% { background: transparent; } 30% { background: rgba(10,132,255,.22); } }

/* toast / overlay / banner */
.toast {
  position: absolute; left: 50%; bottom: 80px; transform: translate(-50%, 20px); z-index: 40;
  background: rgba(0,0,0,.82); color: #fff; font-size: 11px; padding: 8px 14px; border-radius: 20px; white-space: nowrap;
  opacity: 0; transition: opacity .25s ease, transform .25s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.qr-overlay {
  position: absolute; inset: 0; z-index: 35; background: rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.qr-overlay.show { opacity: 1; pointer-events: auto; }
.qr-card { width: 78%; background: #fff; border-radius: 18px; padding: 18px 16px; text-align: center; transform: scale(.94); transition: transform .3s ease; }
.qr-overlay.show .qr-card { transform: scale(1); }
.qr-card .qt { font-size: 13px; font-weight: 800; }
.qr-card canvas, .qr-card svg { width: 100%; height: auto; margin-top: 12px; image-rendering: pixelated; }
.qr-card .qs { font-size: 10px; color: #8a8a8e; margin-top: 8px; }
.banner {
  position: absolute; top: 8px; left: 8px; right: 8px; z-index: 45; border-radius: 18px;
  background: rgba(245,245,247,.96); box-shadow: 0 8px 24px rgba(0,0,0,.18);
  padding: 10px 12px; display: flex; gap: 9px; align-items: flex-start;
  transform: translateY(-130%); transition: transform .5s cubic-bezier(.23,1,.32,1);
}
.banner.show { transform: translateY(0); }
.banner img { width: 26px; height: 26px; border-radius: 7px; flex: none; }
.banner .bt { font-size: 11px; font-weight: 700; display: flex; justify-content: space-between; }
.banner .bt span { font-weight: 400; color: #8a8a8e; font-size: 10px; }
.banner .bb { font-size: 11px; margin-top: 1px; }

/* NFC receive screen */
.nfc-wrap { position: absolute; inset: 52px 0 0; display: flex; flex-direction: column; align-items: center; padding: 26px 18px 0; text-align: center; }
.nfc-wrap h5 { margin: 0; font-size: 17px; font-weight: 800; }
.nfc-wrap p { margin: 6px 0 0; font-size: 11px; color: #8a8a8e; }
.nfc-ring { position: relative; width: 120px; height: 120px; margin-top: 36px; display: flex; align-items: center; justify-content: center; }
.nfc-ring i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #0a84ff; opacity: 0; animation: ring 2s ease-out infinite; }
.nfc-ring i:nth-child(2) { animation-delay: .6s; }
.nfc-ring i:nth-child(3) { animation-delay: 1.2s; }
@keyframes ring { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.2); opacity: 0; } }
.nfc-ring .core { width: 54px; height: 54px; border-radius: 50%; background: #0a84ff; color: #fff; display: flex; align-items: center; justify-content: center; }
.nfc-ring .core svg { width: 26px; height: 26px; }
.tapcard {
  position: absolute; left: 50%; bottom: -40%; width: 64%; aspect-ratio: 1.6/1; border-radius: 10px;
  background: linear-gradient(135deg,#111,#3a3a3c); transform: translateX(-50%) rotate(-8deg);
  transition: bottom .9s cubic-bezier(.23,1,.32,1), opacity .4s ease; box-shadow: 0 10px 30px rgba(0,0,0,.3);
  display: flex; align-items: flex-end; justify-content: flex-end; padding: 10px; color: #d8b04c;
}
.tapcard svg { width: 18px; height: 18px; }
.tapcard.in { bottom: 14%; }
.found { position: absolute; inset: 52px 0 0; padding: 22px 0 0; display: flex; flex-direction: column; }
.found .ok { text-align: center; font-size: 16px; font-weight: 800; }
.found .note { text-align: center; font-size: 10.5px; color: #8a8a8e; margin-top: 4px; }
.found .bizcard { margin-top: 18px; }
.found .actions { margin: auto 18px 26px; display: grid; gap: 8px; }
.found .actions div { height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 700; }
.found .actions .pri { background: #000; color: #fff; }
.found .actions .sec { background: #e5e5ea; color: #000; }
.done { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(242,242,247,.96); z-index: 30; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.done.show { opacity: 1; }
.done .chk { width: 58px; height: 58px; border-radius: 50%; background: #34c759; color: #fff; display: flex; align-items: center; justify-content: center; transform: scale(.4); transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.done.show .chk { transform: scale(1); }
.done .chk svg { width: 28px; height: 28px; }
.done b { margin-top: 12px; font-size: 16px; }
.done span { font-size: 11px; color: #8a8a8e; margin-top: 3px; }

/* card editor */
.editor { position: absolute; inset: 52px 0 0; padding: 10px 14px 0; overflow: hidden; }
.editor .ehead { display: flex; justify-content: space-between; }
.editor .ehead span { background: #fff; border-radius: 16px; padding: 5px 11px; font-size: 11px; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.editor .ehead span.save { color: #0a84ff; font-weight: 700; }
.editor h4 { margin: 10px 2px 0; font-size: 21px; font-weight: 800; }
.editor .lbl { font-size: 10px; color: #8a8a8e; margin: 10px 4px 0; }
.editor .bizcard { margin: 8px 4px 0; }
.form-group { background: #fff; border-radius: 12px; margin-top: 6px; overflow: hidden; }
.form-group .row { padding: 9px 12px; font-size: 11.5px; border-bottom: 1px solid #ececf0; display: flex; justify-content: space-between; align-items: center; min-height: 34px; }
.form-group .row:last-child { border-bottom: none; }
.form-group .row .ph { color: #c4c4c8; }
.swatches { display: flex; gap: 6px; }
.swatches i { width: 16px; height: 16px; border-radius: 50%; display: block; box-shadow: 0 0 0 2px #fff, 0 0 0 3px #d1d1d6; }
.swatches i.on { box-shadow: 0 0 0 2px #fff, 0 0 0 3px #0a84ff; }

/* live controls next to editor */
.live-form { display: grid; gap: 8px; width: min(100%, 300px); }
.live-form label { font-size: 11px; color: var(--muted); letter-spacing: .04em; display: grid; gap: 4px; }
.live-form input {
  border: 1px solid var(--line); background: var(--background); color: var(--foreground);
  padding: 9px 11px; font-size: 13.5px; border-radius: 0;
}
.live-form input:focus { outline: none; border-color: var(--foreground); }
.live-form .colors { display: flex; gap: 8px; }
.live-form .colors button { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--background); box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.live-form .colors button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--foreground); }

/* ============ STEPS ============ */
.steps { margin-top: 32px; position: relative; }
.steps::before { content: ""; position: absolute; left: 15px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.step-row { position: relative; padding: 0 0 36px 44px; }
.step-row:last-child { padding-bottom: 4px; }
.step-row .dotm { position: absolute; left: 8px; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--background); border: 2px solid var(--foreground); }
.step-row h3 { font-size: 16px; }
.step-row p { margin: 8px 0 0; font-size: 13.8px; color: var(--muted); max-width: 56ch; }
.step-row p b { color: var(--foreground); }
.tag { display: inline-block; margin-top: 10px; margin-right: 4px; font-size: 11px; letter-spacing: .05em; color: var(--muted); border: 1px solid var(--line); padding: 3px 8px; }

/* ============ PLANS ============ */
.plan-grid { margin-top: 32px; display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 720px) { .plan-grid { grid-template-columns: repeat(3, 1fr); } }
.plan-card { border: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; transition: border-color .15s ease; }
a.plan-card:hover { border-color: var(--foreground); }
.plan-card.plan-main { border-color: var(--foreground); }
.plan-tag { font-size: 11px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.plan-card.plan-main .plan-tag { color: var(--point); }
.plan-title { font-weight: 700; font-size: 15.5px; margin: 0; }
.plan-price { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin: 4px 0 0; }
.plan-price small { font-size: 12.5px; font-weight: 400; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.plan-desc { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.6; }
.plan-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; font-size: 13px; }
.plan-list li { display: flex; gap: 8px; }
.plan-list li::before { content: "—"; color: var(--muted); flex: none; }
.plan-more { margin-top: auto; padding-top: 12px; font-size: 12.5px; color: var(--muted); }

.enterprise-row { margin-top: 16px; border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 640px) { .enterprise-row { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; } }
.enterprise-tag { margin: 0; font-size: 11px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.enterprise-title { margin: 6px 0 0; font-weight: 700; font-size: 15.5px; }
.enterprise-desc { margin: 6px 0 0; font-size: 13px; color: var(--muted); max-width: 48ch; line-height: 1.6; }

/* plan detail pages */
.price-big { margin-top: 24px; font-size: clamp(30px, 5vw, 44px); font-weight: 700; letter-spacing: -0.02em; }
.price-big small { font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.feature-list { margin-top: 28px; display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature { display: flex; gap: 20px; padding: 20px 0; background: var(--background); }
.feature .fn { flex: none; width: 46px; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--point); padding-top: 3px; }
.feature h3 { font-size: 15.5px; }
.feature p { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }
.page-nav { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }

/* compare table */
.table-wrap { margin-top: 28px; overflow-x: auto; border-top: 1px solid var(--foreground); }
table.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 13px; }
table.compare th, table.compare td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
table.compare th:first-child, table.compare td:first-child { text-align: left; padding-left: 0; }
table.compare thead th { font-size: 11.5px; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
table.compare thead th.main { color: var(--point); }
table.compare tr.group td { padding-top: 26px; font-size: 11px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; border-bottom-color: var(--foreground); }
table.compare .yes::before { content: "●"; font-size: 9px; color: var(--foreground); }
table.compare .no::before { content: "—"; color: var(--muted); }
table.compare td.price { font-weight: 700; }

/* ============ FAQ ============ */
.faq-list { margin-top: 28px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 4px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 700; font-size: 14.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { flex: none; font-size: 18px; font-weight: 400; color: var(--muted); transition: transform .2s ease; }
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item .faq-a { margin: 0 4px 22px; font-size: 13.8px; color: var(--muted); line-height: 1.8; max-width: 62ch; }
.faq-item .faq-a b { color: var(--foreground); }

/* ============ FORMS ============ */
.form { margin-top: 32px; display: grid; gap: 18px; }
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); background: var(--background); color: var(--foreground);
  padding: 12px 13px; font-size: 14px; border-radius: 0; transition: border-color .15s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--foreground); }
.field textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: 12px; color: var(--muted); }
.error-box { border: 1px solid var(--danger); color: var(--danger); padding: 12px 14px; font-size: 13px; }

/* login */
.auth-box { max-width: 380px; margin: 0 auto; padding: 72px 0 80px; }
.auth-box h1 { font-size: clamp(24px, 4vw, 30px); margin-top: 14px; }
.auth-box .dek { margin-top: 10px; }
.divider { display: flex; align-items: center; gap: 12px; margin: 28px 0 18px; font-size: 11px; letter-spacing: .1em; color: var(--muted); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sns-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sns-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px;
  border: 1px solid var(--line); background: var(--background); color: var(--foreground); cursor: pointer; font-size: 13px; font-weight: 700;
}
.sns-btn:hover { border-color: var(--foreground); }
.sns-btn svg { width: 18px; height: 18px; }

/* ============ CLOSING / FOOTER ============ */
.closing { padding: 72px 0 64px; border-top: 1px solid var(--line); }
.closing h2 { font-size: clamp(22px, 3.6vw, 30px); max-width: 18ch; line-height: 1.4; }
.closing p { margin-top: 16px; font-size: 14.5px; color: var(--muted); max-width: 54ch; }

footer.site-footer { background: var(--footer-bg); color: var(--footer-fg); }
footer.site-footer .inner { max-width: 72rem; margin: 0 auto; padding: 44px 20px; display: grid; gap: 28px; }
@media (min-width: 720px) { footer.site-footer .inner { grid-template-columns: 1.4fr 1fr 1fr; } }
footer.site-footer .f-brand img { height: 20px; filter: invert(1); }
:root[data-theme="dark"] footer.site-footer .f-brand img { filter: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) footer.site-footer .f-brand img { filter: none; } }
footer.site-footer .f-copy { margin-top: 14px; font-size: 12px; opacity: .7; line-height: 1.8; }
footer.site-footer h3 { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .55; font-weight: 700; margin-bottom: 10px; }
footer.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
footer.site-footer a { font-size: 12.5px; opacity: .8; text-decoration: none; }
footer.site-footer a:hover { opacity: 1; }
footer.site-footer .social { display: flex; gap: 14px; margin-top: 16px; }
footer.site-footer .social svg { width: 18px; height: 18px; }
footer.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid color-mix(in srgb, var(--footer-fg) 18%, transparent); padding-top: 20px; font-size: 11.5px; opacity: .6; line-height: 1.9; }

/* ============ DOWNLOAD ============ */
.dl-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .dl-grid { grid-template-columns: repeat(3, 1fr); } }
.dl-card { border: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.dl-card .btn { margin-top: auto; }
.dl-qr #dlQrBox { margin-top: 8px; padding: 10px; background: #fff; }
.dl-qr #dlQrBox img, .dl-qr #dlQrBox canvas { display: block; }

/* 휴대폰 안 입력줄 (따라 하기) */
.editor { overflow-y: auto; scrollbar-width: none; padding-bottom: 20px; }
.editor::-webkit-scrollbar { display: none; }
.form-group .row .row-in { width: 100%; border: none; background: transparent; font: inherit; font-size: 11.5px; color: #000; padding: 0; outline: none; }
.form-group .row .row-in::placeholder { color: #c4c4c8; }
.form-group .row:has(.row-in:focus) { background: #f5f9ff; }
#phVert { cursor: pointer; }
#phSw i { cursor: pointer; }

/* 시뮬레이션 보기: 휴대폰이 있는 자리로 이동 (고정 헤더 높이만큼 비움) */
#sim { scroll-margin-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }


/* ============ 플랜 페이지 대시보드 시뮬레이션 ============ */
.pv .eyebrow { display: block; }
.pv-steps { margin: 18px 0 0; padding-left: 20px; display: grid; gap: 4px; font-size: 13.5px; color: var(--muted); max-width: 60ch; }
.pv-steps li::marker { color: var(--foreground); font-weight: 700; }
.pv-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.pv-chips button { border: 1px solid var(--line); background: transparent; color: var(--foreground); padding: 8px 14px; font-size: 13px; cursor: pointer; }
.pv-chips button:hover { border-color: var(--foreground); }
.pv-chips button.on { background: var(--foreground); color: var(--background); border-color: var(--foreground); }
.pv-frame { margin-top: 16px; border: 1px solid var(--foreground); background: #fff; box-shadow: 0 30px 60px -40px rgba(0,0,0,.35); }
.pv-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid #e5e5e5; background: #f6f6f7; font-size: 11.5px; color: #6b6b6b; }
.pv-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d1d1d6; flex: none; }
.pv-bar span { margin-left: 10px; background: #fff; border: 1px solid #e5e5e5; padding: 2px 10px; flex: 1; max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-bar a { margin-left: auto; color: #111; text-decoration: underline; white-space: nowrap; }
.pv-iframe { display: block; width: 100%; height: 780px; border: 0; background: #fff; }
.pv-note { margin: 12px 0 0; font-size: 12px; color: var(--muted); }
@media (max-width: 640px) { .pv-iframe { height: 640px; } .pv-bar span { display: none; } }

/* sim: 통계 탭 */
.st-seg { margin: 12px 18px 0; display: grid; grid-template-columns: 1fr 1fr; background: #ebebef; border-radius: 9px; padding: 2px; font-size: 11px; font-weight: 600; text-align: center; }
.st-seg span { padding: 6px 0; border-radius: 7px; color: #636366; cursor: pointer; }
.st-seg span.on { background: #fff; color: #000; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.st-body { position: absolute; left: 0; right: 0; top: 176px; bottom: 74px; overflow-y: auto; padding: 0 18px; scrollbar-width: none; }
.st-body::-webkit-scrollbar { display: none; }
.st-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 8px; }
.st-kpis div { background: #f2f2f7; border-radius: 10px; padding: 8px 6px; text-align: center; }
.st-kpis b { display: block; font-size: 16px; font-weight: 800; }
.st-kpis small { font-size: 9px; color: #8a8a8e; }
.st-card { background: #f2f2f7; border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; }
.st-card h6 { margin: 0 0 8px; font-size: 10.5px; font-weight: 700; }
.st-bars { height: 58px; display: flex; align-items: flex-end; gap: 2px; }
.st-bars i { flex: 1; background: #c7c7cc; border-radius: 2px 2px 0 0; }
.st-bars i.pk { background: #000; }
.st-ax { display: flex; justify-content: space-between; font-size: 8px; color: #8a8a8e; margin-top: 3px; }
.st-row { display: grid; grid-template-columns: 44px 1fr 30px; align-items: center; gap: 6px; font-size: 9.5px; margin-top: 5px; }
.st-row em { height: 5px; background: #e5e5ea; border-radius: 3px; overflow: hidden; display: block; }
.st-row b { display: block; height: 100%; background: #000; border-radius: 3px; }
.st-row span:last-child { text-align: right; color: #636366; }
.st-sum { display: flex; justify-content: space-between; font-size: 10px; margin-top: 4px; }
.st-sum span { color: #8a8a8e; }
.st-stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; text-align: center; }
.st-stage { background: #fff; border-radius: 8px; padding: 6px 2px; }
.st-stage b { display: block; font-size: 15px; font-weight: 800; }
.st-stage small { display: block; font-size: 8px; color: #8a8a8e; }
.st-stage span { font-size: 8.5px; font-weight: 600; }
.st-mem { display: grid; grid-template-columns: 1fr auto 30px; gap: 8px; align-items: center; font-size: 10px; margin-top: 5px; }
.st-mem small { color: #8a8a8e; font-size: 8.5px; }
.st-mem b { text-align: right; }
.st-map { position: relative; height: 90px; border-radius: 8px; background: repeating-linear-gradient(0deg, #e5e5ea 0 1px, transparent 1px 18px), repeating-linear-gradient(90deg, #e5e5ea 0 1px, transparent 1px 18px), #f7f7fa; }
.st-map i { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #000; box-shadow: 0 0 0 4px rgba(0,0,0,.12); }
