/* SPE 홈페이지 — 앱 아이콘의 코발트 블루 + 라임 크롭 모서리를 시각 언어로 쓴다. */
:root {
  color-scheme: dark;
  --bg: #04060c;
  --bg-1: #070b16;
  --bg-2: #0b1122;
  --surface: rgba(148, 170, 255, 0.045);
  --surface-2: rgba(148, 170, 255, 0.08);
  --line: rgba(160, 180, 255, 0.11);
  --line-2: rgba(160, 180, 255, 0.2);
  --text: #eef2ff;
  --text-2: #aab4d0;
  --text-3: #6e7896;
  --blue: #2563ff;
  --blue-2: #4f86ff;
  --blue-3: #9db9ff;
  --blue-glow: rgba(37, 99, 255, 0.35);
  --lime: #b6f43a;
  --lime-2: #d6ff7a;
  --lime-glow: rgba(182, 244, 58, 0.28);
  --amber: #ffbf5a;
  --radius: 18px;
  --radius-lg: 28px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--lime); color: #071000; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- 배경 ---------- */
.backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.backdrop::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 120vh;
  background:
    radial-gradient(50% 45% at 72% 18%, rgba(37, 99, 255, 0.30), transparent 70%),
    radial-gradient(35% 30% at 12% 8%, rgba(79, 134, 255, 0.16), transparent 70%),
    radial-gradient(28% 24% at 88% 70%, rgba(182, 244, 58, 0.06), transparent 70%);
}
.backdrop::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(160, 180, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 180, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- 레이아웃 ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
section { position: relative; }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-tight { padding: clamp(64px, 8vw, 104px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-3);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: 0.6; }
.h-display {
  margin: 18px 0 0; font-weight: 800; letter-spacing: -0.045em; line-height: 1.08;
  font-size: clamp(38px, 6.6vw, 84px);
}
.h-section {
  margin: 16px 0 0; font-weight: 750; letter-spacing: -0.035em; line-height: 1.15;
  font-size: clamp(30px, 4.6vw, 54px);
}
.h-card { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.35; font-size: 19px; }
.lead { margin: 22px 0 0; font-size: clamp(17px, 1.8vw, 20px); color: var(--text-2); line-height: 1.7; max-width: 640px; }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.grad {
  background: linear-gradient(100deg, #ffffff 0%, #c9d7ff 45%, var(--blue-3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lime { color: var(--lime); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- 버튼 ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 16px; letter-spacing: -0.01em; white-space: nowrap; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary {
  background: linear-gradient(180deg, #e3ff9b, var(--lime) 55%, #98d824);
  color: #0b1600;
  box-shadow: 0 0 0 1px rgba(214, 255, 122, 0.5) inset, 0 10px 30px -8px var(--lime-glow), 0 0 0 0 var(--lime-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(214, 255, 122, 0.7) inset, 0 16px 40px -10px var(--lime-glow), 0 0 0 6px rgba(182, 244, 58, 0.12); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); color: var(--text); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(160, 180, 255, 0.35); transform: translateY(-2px); }
.btn-blue { background: linear-gradient(180deg, var(--blue-2), var(--blue)); color: #fff; box-shadow: 0 10px 30px -10px var(--blue-glow), 0 0 0 1px rgba(255,255,255,0.12) inset; }
.btn-blue:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px var(--blue-glow), 0 0 0 1px rgba(255,255,255,0.2) inset; }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ---------- 상단 내비 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(4, 6, 12, 0.72); backdrop-filter: saturate(140%) blur(14px); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; font-size: 18px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand small { font-weight: 600; font-size: 13px; color: var(--text-3); letter-spacing: 0; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a { padding: 8px 12px; border-radius: 10px; font-size: 15px; color: var(--text-2); transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,0.04); cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 히어로 ---------- */
.hero { padding: 132px 0 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
.hero-copy { max-width: 1040px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,0.03); font-size: 14px; color: var(--text-2);
}
.hero-badge b { padding: 3px 10px; border-radius: 999px; background: rgba(182, 244, 58, 0.14); color: var(--lime-2); font-weight: 700; font-size: 12px; letter-spacing: 0.02em; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 14px; color: var(--text-3); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime-glow); }

/* 크롭 모서리(앱 아이콘에서 가져온 신호) */
.crop { position: relative; }
.crop > .corner { position: absolute; width: 28px; height: 28px; border: 3px solid var(--lime); pointer-events: none; filter: drop-shadow(0 0 10px var(--lime-glow)); }
.crop > .corner.tl { top: -14px; left: -14px; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.crop > .corner.br { bottom: -14px; right: -14px; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }

/* ---------- 앱 창 목업 ---------- */
.window {
  position: relative; border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 28, 54, 0.92), rgba(9, 13, 28, 0.96));
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255,255,255,0.03) inset, 0 -1px 0 rgba(255,255,255,0.08) inset, 0 30px 90px -50px var(--blue-glow);
}
.window-bar { display: flex; align-items: center; gap: 14px; height: 48px; padding: 0 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.window-dots { display: flex; gap: 7px; }
.window-dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.12); }
.window-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--text-2); }
.window-title img { width: 18px; height: 18px; border-radius: 5px; }
.window-tabs { display: flex; gap: 4px; margin-left: auto; }
.window-tabs span { padding: 5px 11px; border-radius: 8px; font-size: 12px; color: var(--text-3); }
.window-tabs span.on { background: rgba(37, 99, 255, 0.18); color: #cfe0ff; box-shadow: 0 0 0 1px rgba(79, 134, 255, 0.35) inset; }
.window-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 0; }
.window-side { padding: 16px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.side-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.side-card { padding: 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; }
.side-card strong { display: block; font-size: 14px; }
.side-card .faint { font-size: 12px; }
.side-card.patient { position: relative; overflow: hidden; }
.side-card.patient::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 1px var(--lime) inset; opacity: 0; transition: opacity 0.4s; }
.is-identified .side-card.patient::after { opacity: 0.25; box-shadow: 0 0 0 1px var(--line-2) inset; }
.is-identified .side-card.patient.pa::after { opacity: 0.9; box-shadow: 0 0 0 1px var(--lime) inset; }
.side-card.patient { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2px 8px; transition: opacity 0.4s; opacity: 0.55; }
.side-card.patient strong { font-size: 13px; }
.is-identified .side-card.patient { opacity: 1; }
.who-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.who-dot.a { background: var(--blue-2); box-shadow: 0 0 8px var(--blue-glow); }
.who-dot.b { background: var(--lime); box-shadow: 0 0 8px var(--lime-glow); }
.who-dot.c { background: var(--amber); box-shadow: 0 0 8px rgba(255, 191, 90, 0.4); }
.pipeline { margin-top: auto; display: grid; gap: 6px; }
.pipe { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 12.5px; color: var(--text-3); background: rgba(255,255,255,0.02); border: 1px solid transparent; transition: color 0.4s, background 0.4s, border-color 0.4s; }
.pipe i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; position: relative; transition: background 0.4s, border-color 0.4s; }
.pipe.done { color: var(--text); background: rgba(182, 244, 58, 0.07); border-color: rgba(182, 244, 58, 0.22); }
.pipe.done i { background: var(--lime); border-color: var(--lime); }
.pipe.done i::after { content: ""; position: absolute; left: 4.5px; top: 1.5px; width: 4px; height: 8px; border: solid #0b1600; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pipe.run { color: var(--blue-3); border-color: rgba(79, 134, 255, 0.3); }
.pipe.run i { border-top-color: transparent; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.window-main { padding: 16px; min-width: 0; }
.main-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-size: 13px; color: var(--text-2); }
.main-head b { color: var(--text); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; border: 1px solid var(--line-2); color: var(--text-2); background: rgba(255,255,255,0.03); white-space: nowrap; }
.chip.ok { color: var(--lime-2); border-color: rgba(182, 244, 58, 0.35); background: rgba(182, 244, 58, 0.08); }
.chip.hold { color: var(--amber); border-color: rgba(255, 191, 90, 0.35); background: rgba(255, 191, 90, 0.08); }
.chip.blue { color: #cfe0ff; border-color: rgba(79, 134, 255, 0.4); background: rgba(37, 99, 255, 0.14); }

/* 사진 무대: 흩어진 상태 → 3×3 정리 */
.stage { position: relative; aspect-ratio: 3 / 2.05; border-radius: 14px; background: rgba(0,0,0,0.25); border: 1px dashed var(--line); overflow: hidden; }
.stage-label { position: absolute; left: 12px; top: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--text-3); text-transform: uppercase; transition: opacity 0.4s; }
.stage.is-sorted .stage-label { opacity: 0; }
.tile {
  position: absolute; left: 0; top: 0; width: calc((100% - 32px) / 3); height: calc((100% - 32px) / 3);
  border-radius: 10px; overflow: hidden;
  transform: translate(var(--sx), var(--sy)) rotate(var(--sr)) scale(0.82);
  transition: transform 1.1s var(--ease), box-shadow 0.6s, filter 0.6s;
  transition-delay: var(--d, 0s);
  filter: saturate(0.6) brightness(0.8);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.8);
}
.stage.is-sorted .tile { transform: translate(var(--gx), var(--gy)) rotate(0deg) scale(1); filter: none; }
.tile .art { position: absolute; inset: 0; transition: transform 0.9s var(--ease); transition-delay: calc(var(--d, 0s) + 0.5s); transform: rotate(var(--ar, 0deg)) scaleX(var(--af, 1)); }
.stage.is-sorted .tile .art { transform: none; }
.tile .tag { position: absolute; left: 6px; bottom: 6px; padding: 2px 7px; border-radius: 6px; font-size: 10.5px; font-weight: 700; background: rgba(4, 6, 12, 0.7); color: #dfe8ff; opacity: 0; transform: translateY(4px); transition: opacity 0.4s, transform 0.4s; transition-delay: calc(var(--d, 0s) + 0.9s); }
.stage.is-sorted .tile .tag { opacity: 1; transform: none; }
.tile::after { content: ""; position: absolute; inset: 4px; border-radius: 7px; opacity: 0;
  background:
    linear-gradient(var(--lime), var(--lime)) top left / 12px 2px no-repeat,
    linear-gradient(var(--lime), var(--lime)) top left / 2px 12px no-repeat,
    linear-gradient(var(--lime), var(--lime)) bottom right / 12px 2px no-repeat,
    linear-gradient(var(--lime), var(--lime)) bottom right / 2px 12px no-repeat;
  transition: opacity 0.3s; transition-delay: calc(var(--d, 0s) + 1s); }
.stage.is-sorted .tile::after { opacity: 1; }
.tile.is-id { z-index: 2; }
.tile .who { position: absolute; right: 6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; z-index: 2; box-shadow: 0 0 0 2px rgba(4, 6, 12, 0.6); transition: opacity 0.4s; transition-delay: var(--d, 0s); }
.tile .who.a { background: var(--blue-2); }
.tile .who.b { background: var(--lime); }
.tile .who.c { background: var(--amber); }
.stage.is-sorted .tile .who { opacity: 0; }
/* 다른 환자의 사진은 왼쪽 환자 목록으로 빠져나간다 */
.stage.is-sorted .tile.other { transform: translate(calc(-110% - 24px), var(--oy)) rotate(-8deg) scale(0.35); opacity: 0; transition: transform 0.9s var(--ease), opacity 0.6s 0.25s; transition-delay: var(--d, 0s); }

.window-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-3); }
.window-foot .chips { display: flex; gap: 6px; flex-wrap: wrap; }
.window-foot .chip { opacity: 0.35; transition: opacity 0.4s, color 0.4s, border-color 0.4s, background 0.4s; }
.window-foot .chip.ok { opacity: 1; }
.hl { color: var(--text); font-weight: 700; background: linear-gradient(transparent 62%, rgba(182, 244, 58, 0.28) 62%); padding: 0 2px; }
.amber { color: var(--amber); }

/* 하루의 흐름 3박자 */
.beats { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: beat; }
.beat { position: relative; padding: 24px 24px 22px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); overflow: hidden; display: flex; flex-direction: column; }
.beat::before { counter-increment: beat; content: "0" counter(beat); position: absolute; right: 20px; top: 16px; font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.beat:not(:last-child)::after { content: ""; position: absolute; right: -11px; top: 50%; width: 22px; height: 22px; border-radius: 50%; transform: translateY(-50%); background: var(--bg); border: 1px solid var(--line-2); z-index: 1; display: none; }
.beat-when { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--blue-3); }
.beat h3 { margin: 10px 0 0; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.03em; line-height: 1.25; font-weight: 800; }
.beat p { margin: 10px 0 0; color: var(--text-2); font-size: 15px; }
.beat-report { background: linear-gradient(160deg, rgba(182, 244, 58, 0.1), rgba(182, 244, 58, 0.015) 60%); border-color: rgba(182, 244, 58, 0.3); }
.beat-report .beat-when { color: var(--lime-2); }
.beat-pile { position: relative; height: 118px; margin-top: auto; padding-top: 18px; }
.beat-pile .mini { position: absolute; width: 92px; height: 66px; border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 8px 20px -8px rgba(0,0,0,0.8); }
.beat-pile .mini .who { position: absolute; right: 4px; top: 4px; width: 8px; height: 8px; border-radius: 50%; }
.beat-pile .mini .who.a { background: var(--blue-2); } .beat-pile .mini .who.b { background: var(--lime); } .beat-pile .mini .who.c { background: var(--amber); }
.beat-steps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 18px; }
.beat-steps span { padding: 6px 10px; border-radius: 9px; font-size: 12.5px; color: #cfe0ff; background: rgba(37, 99, 255, 0.14); border: 1px solid rgba(79, 134, 255, 0.35); }
.beat-steps span:not(:last-child)::after { content: "→"; margin-left: 8px; color: var(--text-3); }
.report { margin-top: auto; padding-top: 16px; display: grid; gap: 6px; }
.report-row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; background: rgba(0,0,0,0.25); border: 1px solid var(--line); font-size: 13.5px; color: var(--text-2); }
.report-row b { color: var(--text); }
.rule-note { margin: -28px 0 0; font-size: 14.5px; color: var(--text-3); }
.rule-note b { color: var(--text-2); }

/* 실제 화면 캡처 */
.shot { margin: 48px auto 0; max-width: 1000px; }
.shot img { width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--line-2); box-shadow: 0 50px 120px -50px rgba(0,0,0,0.9), 0 30px 90px -60px var(--blue-glow); }
.shot figcaption { margin-top: 14px; text-align: center; font-size: 13px; color: var(--text-3); }

.illus-note { margin-top: 14px; font-size: 12.5px; color: var(--text-3); text-align: center; }

/* ---------- 수작업 vs SPE ---------- */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.vs-card { padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.vs-card.spe { background: linear-gradient(160deg, rgba(37, 99, 255, 0.16), rgba(37, 99, 255, 0.03) 60%); border-color: rgba(79, 134, 255, 0.35); }
.vs-card h3 { margin: 0 0 18px; font-size: 15px; font-family: var(--mono); letter-spacing: 0.08em; color: var(--text-3); text-transform: uppercase; font-weight: 600; }
.vs-card.spe h3 { color: var(--blue-3); }
.vs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.vs-list li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.vs-list li:last-child { border-bottom: 0; }
.vs-list .n { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; color: var(--text-3); background: rgba(255,255,255,0.04); }
.vs-card.manual .vs-list li { color: var(--text-2); }
.vs-card.spe .vs-list .n { background: rgba(182, 244, 58, 0.14); color: var(--lime); }
.vs-sum { margin-top: 18px; font-size: 14px; color: var(--text-3); }
.vs-card.spe .vs-sum { color: var(--lime-2); }

/* ---------- 단계 ---------- */
.steps { display: grid; gap: clamp(72px, 10vw, 128px); margin-top: 72px; }
.step { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.step:nth-child(even) .step-copy { order: 2; }
.step-no { font-family: var(--mono); font-size: 13px; color: var(--lime); letter-spacing: 0.1em; }
.step h3 { margin: 12px 0 0; font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -0.03em; line-height: 1.22; font-weight: 750; }
.step p { margin: 16px 0 0; color: var(--text-2); font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--text-2); font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 6px; background: rgba(182, 244, 58, 0.12); box-shadow: 0 0 0 1px rgba(182, 244, 58, 0.35) inset; }
.ticks li::after { content: ""; position: absolute; left: 6.5px; top: 7.5px; width: 4px; height: 8px; border: solid var(--lime); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.panel { position: relative; border-radius: var(--radius-lg); padding: 22px; background: linear-gradient(180deg, rgba(20, 28, 54, 0.7), rgba(9, 13, 28, 0.85)); border: 1px solid var(--line-2); box-shadow: 0 40px 100px -50px rgba(0,0,0,0.9), 0 30px 80px -60px var(--blue-glow); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.panel-head b { color: var(--text); font-size: 14px; }
.field { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 14px; border-radius: 12px; background: rgba(255,255,255,0.025); border: 1px solid var(--line); font-size: 14px; }
.field + .field { margin-top: 8px; }
.field .k { color: var(--text-3); font-size: 13px; white-space: nowrap; }
.field .v { font-family: var(--mono); font-size: 13px; color: var(--text); text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.switch { width: 40px; height: 24px; border-radius: 999px; background: var(--lime); position: relative; flex: none; box-shadow: 0 0 14px var(--lime-glow); }
.switch::after { content: ""; position: absolute; right: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #0b1600; }
.clock { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 2px; }
.clock b { font-size: 44px; font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 12px; }
.week span { text-align: center; padding: 8px 0; border-radius: 9px; font-size: 12px; color: var(--text-3); background: rgba(255,255,255,0.025); border: 1px solid var(--line); }
.week span.on { color: #cfe0ff; background: rgba(37, 99, 255, 0.16); border-color: rgba(79, 134, 255, 0.38); }

.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-grid .ph { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.mini-grid .ph .tag { position: absolute; left: 5px; bottom: 5px; padding: 1px 6px; border-radius: 5px; font-size: 10px; font-weight: 700; background: rgba(4, 6, 12, 0.72); color: #dfe8ff; }
.mini-grid .ph.flag { box-shadow: 0 0 0 2px var(--amber) inset; }
.mini-grid .ph.fixed { box-shadow: 0 0 0 2px var(--lime) inset; }

.sets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.set { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,0.025); font-size: 13px; }
.set.on { border-color: rgba(79, 134, 255, 0.45); background: rgba(37, 99, 255, 0.12); }
.set b { display: block; font-size: 14px; }

.fix-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 12px; border-radius: 12px; background: rgba(255, 191, 90, 0.06); border: 1px solid rgba(255, 191, 90, 0.25); font-size: 13.5px; color: var(--text-2); flex-wrap: wrap; }
.fix-row .sel { padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(0,0,0,0.3); font-weight: 600; color: var(--text); }
.fix-row .arrow { color: var(--lime); font-weight: 800; }

.log { display: grid; gap: 8px; }
.log-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,0.025); font-size: 14px; }
.log-row .dest { font-weight: 700; }
.log-row .faint { font-size: 12.5px; }
.dest-dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.dest-dot.dw { background: rgba(37, 99, 255, 0.18); color: #cfe0ff; }
.dest-dot.wc { background: rgba(182, 244, 58, 0.14); color: var(--lime-2); }
.dest-dot.hold { background: rgba(255, 191, 90, 0.14); color: var(--amber); }
.dest-dot.xr { background: rgba(157, 185, 255, 0.12); color: var(--blue-3); }

/* ---------- 안전 원칙 ---------- */
.principles { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: 64px; }
.pr { grid-column: span 4; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color 0.3s, transform 0.4s var(--ease), background 0.3s; }
.pr:hover { border-color: var(--line-2); transform: translateY(-3px); background: var(--surface-2); }
.pr.wide { grid-column: span 6; }
.pr .ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 22px; background: rgba(37, 99, 255, 0.14); box-shadow: 0 0 0 1px rgba(79, 134, 255, 0.3) inset; color: var(--blue-3); }
.pr .ico svg { width: 22px; height: 22px; }
.pr p { margin: 10px 0 0; color: var(--text-2); font-size: 15.5px; }
.pr.feature { background: linear-gradient(150deg, rgba(182, 244, 58, 0.1), rgba(182, 244, 58, 0.015) 55%); border-color: rgba(182, 244, 58, 0.28); }
.pr.feature .ico { background: rgba(182, 244, 58, 0.14); box-shadow: 0 0 0 1px rgba(182, 244, 58, 0.35) inset; color: var(--lime); }
.pr .quote, .quote { margin: 0; color: var(--text); font-size: clamp(22px, 2.6vw, 30px); font-weight: 750; letter-spacing: -0.03em; line-height: 1.35; }

/* ---------- 기능 벤토 ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 64px; }
.bx { grid-column: span 2; position: relative; overflow: hidden; padding: 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); min-height: 200px; display: flex; flex-direction: column; }
.bx.w3 { grid-column: span 3; }
.bx.w4 { grid-column: span 4; }
.bx p { margin: 10px 0 0; color: var(--text-2); font-size: 15px; }
.bx .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--text-3); text-transform: uppercase; margin-bottom: 14px; }
.bx .big { margin-top: auto; padding-top: 24px; font-size: 40px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.bx .big small { font-size: 15px; font-weight: 600; color: var(--text-3); letter-spacing: 0; margin-left: 6px; }
.bx.glow::before { content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -80px; border-radius: 50%; background: radial-gradient(circle, var(--blue-glow), transparent 70%); }
.tabs-demo { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 20px; }
.tabs-demo span { padding: 7px 12px; border-radius: 10px; font-size: 13px; border: 1px solid var(--line); color: var(--text-2); background: rgba(255,255,255,0.02); }
.tabs-demo span:first-child { color: #cfe0ff; background: rgba(37, 99, 255, 0.16); border-color: rgba(79, 134, 255, 0.4); }

/* ---------- 연동 ---------- */
.integr { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 56px; }
.ig { padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.ig .logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.ig .logo i { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-style: normal; font-size: 14px; }
.ig p { margin: 12px 0 0; color: var(--text-2); font-size: 15px; }
.ig .need { margin-top: 16px; font-size: 13px; color: var(--text-3); }

/* ---------- 요금 ---------- */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 64px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: transform 0.4s var(--ease), border-color 0.3s; }
.plan:hover { transform: translateY(-4px); border-color: var(--line-2); }
.plan.best { background: linear-gradient(170deg, rgba(37, 99, 255, 0.22), rgba(37, 99, 255, 0.04) 55%); border-color: rgba(79, 134, 255, 0.5); box-shadow: 0 30px 80px -40px var(--blue-glow); }
.plan.trial { background: linear-gradient(170deg, rgba(182, 244, 58, 0.12), rgba(182, 244, 58, 0.015) 55%); border-color: rgba(182, 244, 58, 0.3); }
.plan .badge { position: absolute; top: 18px; right: 18px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--blue); color: #fff; }
.plan .pname { font-size: 15px; color: var(--text-2); font-weight: 600; }
.plan .price { margin-top: 14px; font-size: 34px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; min-height: 42px; }
.plan .price.tbd { font-size: 22px; color: var(--text-2); letter-spacing: -0.02em; padding-top: 8px; }
.plan .per { margin-top: 6px; font-size: 13px; color: var(--text-3); min-height: 20px; }
.plan .ticks { margin-top: 22px; margin-bottom: 26px; }
.plan .ticks li { font-size: 14.5px; }
.plan .btn { margin-top: auto; width: 100%; }
.price-note { margin-top: 22px; text-align: center; font-size: 14px; color: var(--text-3); }

/* ---------- 설치 ---------- */
.install { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 56px; counter-reset: s; }
.inst { position: relative; padding: 26px 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.inst::before { counter-increment: s; content: counter(s, decimal-leading-zero); display: block; font-family: var(--mono); font-size: 13px; color: var(--lime); margin-bottom: 18px; }
.inst h3 { margin: 0; font-size: 18px; letter-spacing: -0.02em; }
.inst p { margin: 10px 0 0; font-size: 14.5px; color: var(--text-2); }
.notice { display: flex; gap: 16px; align-items: flex-start; margin-top: 18px; padding: 20px 22px; border-radius: var(--radius); border: 1px solid rgba(255, 191, 90, 0.28); background: rgba(255, 191, 90, 0.05); font-size: 15px; color: var(--text-2); }
.notice b { color: var(--amber); }
.notice svg { flex: none; width: 22px; height: 22px; color: var(--amber); margin-top: 2px; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.spec { padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.spec .k { font-size: 13px; color: var(--text-3); }
.spec .v { margin-top: 4px; font-weight: 700; font-size: 16px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 56px auto 0; display: grid; gap: 10px; }
.faq details { border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: border-color 0.3s, background 0.3s; }
.faq details[open] { border-color: var(--line-2); background: var(--surface-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border: solid var(--text-3); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-3px); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); border-color: var(--lime); }
.faq .a { padding: 0 22px 22px; color: var(--text-2); font-size: 15.5px; }
.faq .a p { margin: 0; }
.faq .a p + p { margin-top: 10px; }

/* ---------- CTA 밴드 ---------- */
.cta-band { position: relative; overflow: hidden; margin-top: 40px; padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 72px); border-radius: 36px; border: 1px solid rgba(79, 134, 255, 0.35);
  background: radial-gradient(70% 120% at 100% 0%, rgba(37, 99, 255, 0.45), transparent 60%), radial-gradient(50% 90% at 0% 100%, rgba(182, 244, 58, 0.14), transparent 60%), linear-gradient(180deg, #0b1226, #070b18); }
.cta-band .h-section { max-width: 760px; }

/* ---------- 폼 ---------- */
.form-card { padding: clamp(22px, 4vw, 40px); border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(20, 28, 54, 0.6), rgba(9, 13, 28, 0.8)); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.fld label, .fld .lbl { display: block; font-size: 14px; font-weight: 600; color: var(--text-2); margin-bottom: 8px; }
.fld label .req { color: var(--lime); margin-left: 4px; }
.fld input[type="text"], .fld input[type="email"], .fld input[type="tel"], .fld input[type="number"], .fld textarea, .fld select {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.28);
  font-size: 16px; color: var(--text); transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.fld textarea { min-height: 120px; resize: vertical; }
.fld input:focus, .fld textarea:focus, .fld select:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(37, 99, 255, 0.2); background: rgba(0, 0, 0, 0.4); }
.fld .hint { margin-top: 6px; font-size: 13px; color: var(--text-3); }
.fld .err { margin-top: 6px; font-size: 13px; color: #ff8f8f; display: none; }
.fld.invalid input, .fld.invalid textarea { border-color: #ff7a7a; }
.fld.invalid .err { display: block; }
.plan-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.plan-pick label { position: relative; display: block; margin: 0; padding: 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,0.02); cursor: pointer; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; }
.plan-pick input { position: absolute; opacity: 0; pointer-events: none; }
.plan-pick b { display: block; font-size: 17px; color: var(--text); }
.plan-pick span { display: block; margin-top: 4px; font-size: 13px; color: var(--text-3); font-weight: 500; }
.plan-pick label:has(input:checked) { border-color: var(--blue-2); background: rgba(37, 99, 255, 0.14); box-shadow: 0 0 0 3px rgba(37, 99, 255, 0.18); }
.plan-pick label:has(input:focus-visible) { outline: 2px solid var(--lime); outline-offset: 3px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.check { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,0.02); cursor: pointer; font-size: 15px; }
.check input { width: 18px; height: 18px; accent-color: var(--lime); }
.consent { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,0.02); font-size: 13.5px; color: var(--text-2); }
.consent table { width: 100%; border-collapse: collapse; margin: 10px 0 12px; font-size: 13px; }
.consent th, .consent td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.consent th { color: var(--text-3); font-weight: 600; width: 92px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 18px; padding: 16px 18px; border-radius: 14px; font-size: 15px; display: none; }
.form-status.show { display: block; }
.form-status.ok { border: 1px solid rgba(182, 244, 58, 0.4); background: rgba(182, 244, 58, 0.08); color: var(--text); }
.form-status.bad { border: 1px solid rgba(255, 122, 122, 0.4); background: rgba(255, 122, 122, 0.08); color: #ffd1d1; }
.receipt { font-family: var(--mono); font-size: 18px; font-weight: 700; color: var(--lime-2); letter-spacing: 0.04em; }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; }
.flow > div { padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); font-size: 14.5px; color: var(--text-2); }
.flow b { display: block; color: var(--text); font-size: 15.5px; margin-bottom: 6px; }
.flow .n { display: block; font-family: var(--mono); font-size: 12px; color: var(--lime); margin-bottom: 10px; }

/* ---------- 푸터 ---------- */
.footer { margin-top: clamp(80px, 10vw, 128px); padding: 56px 0 48px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-3); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer h4 { margin: 0 0 12px; font-size: 13px; color: var(--text-2); font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--text); }
.biz { display: flex; flex-wrap: wrap; gap: 2px 16px; margin: 14px 0 0; font-size: 13px; line-height: 1.8; }
.biz div { display: inline-flex; gap: 6px; }
.biz dt { color: var(--text-3); }
.biz dd { margin: 0; color: var(--text-2); }
.biz-link { margin-left: 4px; color: var(--blue-3); text-decoration: underline; text-underline-offset: 3px; }
.footer > .wrap > .biz { margin: 0 0 18px; }
.legal-note { margin-top: 32px; font-size: 12.5px; line-height: 1.7; }

/* ---------- 문서 페이지 ---------- */
.doc { max-width: 820px; margin: 0 auto; padding: 132px 0 40px; }
.doc h1 { font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -0.035em; line-height: 1.2; margin: 14px 0 0; }
.doc h2 { margin: 44px 0 12px; font-size: 22px; letter-spacing: -0.02em; }
.doc h3 { margin: 26px 0 8px; font-size: 17px; letter-spacing: -0.01em; color: var(--text); }
.doc p, .doc li { color: var(--text-2); }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { color: var(--text-3); background: rgba(255,255,255,0.02); font-weight: 600; }
.draft-flag { margin-top: 22px; padding: 14px 16px; border-radius: 12px; border: 1px dashed rgba(255, 191, 90, 0.5); color: var(--amber); font-size: 14px; }

/* ---------- 등장 애니메이션 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--rd, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 반응형 ---------- */
@media (max-width: 1080px) {
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .install { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bx, .bx.w3, .bx.w4 { grid-column: span 1; }
  .bx.w4 { grid-column: span 2; }
  .pr, .pr.wide { grid-column: span 6; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .beats { grid-template-columns: minmax(0, 1fr); }
  .beat-pile { height: 80px; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav.is-open { background: rgba(4, 6, 12, 0.96); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
  .nav.is-open .nav-inner { flex-wrap: wrap; height: auto; min-height: 68px; padding-bottom: 18px; }
  .nav.is-open .nav-links { display: grid; order: 3; width: 100%; margin: 0; gap: 2px; }
  .nav.is-open .nav-links a { padding: 14px 8px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav.is-open .nav-cta { display: flex; order: 4; width: 100%; margin: 12px 0 0; }
  .nav.is-open .nav-cta .btn { flex: 1; }
  .nav-inner { height: 68px; }
  .window-body { grid-template-columns: minmax(0, 1fr); }
  .window-side { flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--line); }
  .window-side .side-label { display: none; }
  .window-side .side-card.patient { flex: 1 1 30%; grid-template-columns: auto 1fr; padding: 8px 10px; }
  .window-side .side-card.patient .faint { display: none; }
  .pipeline { margin-top: 0; width: 100%; grid-template-columns: repeat(2, 1fr); }
  .window-tabs { display: none; }
  .step { grid-template-columns: minmax(0, 1fr); }
  .step:nth-child(even) .step-copy { order: 0; }
  .versus { grid-template-columns: minmax(0, 1fr); }
  .integr { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .specs { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .hero { padding-top: 108px; }
  .pricing, .install, .bento, .flow { grid-template-columns: minmax(0, 1fr); }
  .bx.w4 { grid-column: span 1; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .plan-pick { grid-template-columns: minmax(0, 1fr); }
  .btn-row .btn { width: 100%; }
  .window-foot { justify-content: flex-start; }
  .pipeline { grid-template-columns: minmax(0, 1fr); }
  .crop > .corner { width: 20px; height: 20px; }
  .crop > .corner.tl { top: -8px; left: -8px; }
  .crop > .corner.br { bottom: -8px; right: -8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
}
