/* gentry company site — static, no build step */
:root {
  --navy-950: #071226;
  --navy-900: #0b1a33;
  --navy-800: #13284b;
  --navy-700: #1e3763;
  --navy-100: #e7ecf5;
  --ink: #0f1b2d;
  --body: #39455a;
  --muted: #667085;
  --line: #e2e7ef;
  --line-strong: #cbd3df;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --accent: #0a7c6e;
  --accent-strong: #08665b;
  --accent-soft: #e2f4f1;
  --dev-text: #8a5a00;
  --dev-bg: #fff3d6;
  --plan-text: #44506a;
  --plan-bg: #edf0f6;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(11, 26, 51, .06), 0 8px 24px rgba(11, 26, 51, .08);
  --wrap: 1160px;
  --gutter: 24px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.72;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--accent-strong); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.32; letter-spacing: -0.022em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.05rem, 4.6vw, 3.35rem); font-weight: 750; line-height: 1.22; }
h2 { font-size: clamp(1.55rem, 2.9vw, 2.15rem); font-weight: 720; }
h3 { font-size: 1.16rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong { color: var(--ink); font-weight: 680; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -64px; z-index: 100; background: var(--navy-900); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip:focus { top: 8px; color: #fff; }
.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; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy-900); text-decoration: none; flex-shrink: 0; }
.brand:hover { color: var(--navy-900); }
.brand-mark { width: 30px; height: 30px; display: block; }
.brand-word { font-size: 1.42rem; font-weight: 780; letter-spacing: -0.045em; line-height: 1; padding-bottom: 2px; }
.site-nav { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 24px; }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav ul a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 560; font-size: .97rem; }
.site-nav ul a:hover { background: var(--bg-soft); color: var(--ink); }
.site-nav ul a[aria-current="page"] { color: var(--accent-strong); background: var(--accent-soft); }
.nav-aside { display: flex; align-items: center; gap: 12px; }
.lang { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .9rem; padding: 6px 8px; border-radius: 6px; }
.lang:hover { color: var(--ink); background: var(--bg-soft); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 10px; font-weight: 650; font-size: 1rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .93rem; }
.btn-primary { background: var(--navy-900); color: #fff; }
.btn-primary:hover { background: var(--navy-700); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-strong); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--navy-700); color: var(--ink); }
.btn-on-dark { background: #fff; color: var(--navy-900); }
.btn-on-dark:hover { background: var(--accent-soft); color: var(--navy-900); }
.btn-line-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .38); }
.btn-line-dark:hover { border-color: #fff; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.arrow::after { content: "→"; font-weight: 500; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy-900); color: #c8d2e3; }
.section-navy h2, .section-navy h3, .section-navy strong { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-strong); font-weight: 700; font-size: .86rem; letter-spacing: .04em; margin-bottom: 14px; }
.eyebrow .num { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); font-size: .78rem; }
.section-navy .eyebrow { color: #7fd9cb; }
.section-navy .eyebrow .num { background: rgba(127, 217, 203, .14); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head p { font-size: 1.06rem; color: var(--body); }
.section-navy .section-head p { color: #c8d2e3; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--body); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 88px; background:
  radial-gradient(1100px 420px at 85% -10%, rgba(10, 124, 110, .09), transparent 60%),
  linear-gradient(180deg, #f7f9fc 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { max-width: 560px; margin-bottom: 32px; }
.hero-note { margin-top: 22px; font-size: .9rem; color: var(--muted); }
.page-hero { padding: 64px 0 56px; background: linear-gradient(180deg, #f7f9fc 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.9rem, 3.8vw, 2.75rem); max-width: 820px; }
.page-hero .lead { max-width: 760px; }
.crumb { font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.crumb a { color: var(--muted); }

/* ---------- grids & cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { margin-bottom: 10px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--navy-100); color: var(--navy-800); display: grid; place-items: center; margin-bottom: 18px; }
.card-icon svg { width: 22px; height: 22px; }
.section-navy .card { background: var(--navy-800); border-color: rgba(255, 255, 255, .08); color: #c8d2e3; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.split-even { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: start; }
.prose { max-width: 760px; }
.prose p { font-size: 1.04rem; }
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 14px; height: 8px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg) translateY(-50%); }
.dash-list { list-style: none; padding: 0; }
.dash-list li { position: relative; padding-left: 18px; margin-bottom: 8px; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: .82em; width: 8px; height: 2px; background: var(--line-strong); }

/* ---------- status chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 680; line-height: 1.5; white-space: nowrap; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip-live { background: var(--accent-soft); color: var(--accent-strong); }
.chip-dev { background: var(--dev-bg); color: var(--dev-text); }
.chip-plan { background: var(--plan-bg); color: var(--plan-text); }
.chip-plan::before { background: transparent; border: 1.5px solid currentColor; width: 6px; height: 6px; }
.chip-rule { background: #fff; color: var(--muted); border: 1px solid var(--line-strong); }
.chip-rule::before { display: none; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-size: .9rem; color: var(--muted); margin-bottom: 24px; }

/* ---------- status table ---------- */
.status-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .97rem; }
.status-table th, .status-table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.status-table thead th { background: var(--bg-soft); color: var(--ink); font-size: .86rem; font-weight: 700; }
.status-table tbody tr:last-child td { border-bottom: 0; }
.status-table td:first-child { color: var(--ink); font-weight: 620; width: 30%; }
.status-table td.st { width: 150px; }
.status-table .note { display: block; color: var(--muted); font-size: .88rem; margin-top: 4px; font-weight: 400; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }

/* ---------- problem / step lists ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 24px; }
.steps li::before { counter-increment: step; content: "0" counter(step); display: block; font-size: .85rem; font-weight: 750; color: var(--accent-strong); margin-bottom: 12px; letter-spacing: .04em; }
.steps h3 { font-size: 1.08rem; }
.steps p { font-size: .96rem; margin: 0; }
.steps-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- flow diagram (AI ↔ human) ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; }
.flow li { position: relative; padding: 0 10px; display: flex; }
.flow li > .node { flex: 1; }
.flow li:first-child { padding-left: 0; }
.flow li:last-child { padding-right: 0; }
.flow .node { position: relative; z-index: 1; background: #fff; border: 1.5px solid var(--navy-700); border-radius: 12px; padding: 16px 14px; min-height: 172px; display: flex; flex-direction: column; gap: 8px; }
.flow .node.is-ai { border-color: var(--accent); background: linear-gradient(180deg, #f2fbf9, #fff); }
.flow .node.is-human { border-color: var(--navy-900); box-shadow: inset 0 0 0 1px var(--navy-900); }
.flow .node.is-planned { border-style: dashed; border-color: #8a96ab; }
.flow .k { font-size: .76rem; font-weight: 750; letter-spacing: .05em; color: var(--muted); }
.flow .t { font-weight: 720; color: var(--ink); font-size: 1.02rem; line-height: 1.35; }
.flow .d { font-size: .88rem; color: var(--body); line-height: 1.55; }
.flow .chip { align-self: flex-start; margin-top: auto; }
.flow li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -10px; width: 20px; border-top: 2px solid var(--navy-700); z-index: 0; }
.flow li.link-planned::after { border-top-style: dashed; border-top-color: #8a96ab; }
.section-navy .flow .node { background: var(--navy-800); border-color: rgba(255, 255, 255, .35); }
.section-navy .flow .node.is-ai { border-color: #7fd9cb; background: rgba(127, 217, 203, .07); }
.section-navy .flow .node.is-human { border-color: #fff; box-shadow: inset 0 0 0 1px #fff; }
.section-navy .flow .node.is-planned { border-color: rgba(255, 255, 255, .45); }
.section-navy .flow .t { color: #fff; }
.section-navy .flow .d { color: #c8d2e3; }
.section-navy .flow .k { color: #95a3bb; }
.section-navy .flow li:not(:last-child)::after { border-top-color: rgba(255, 255, 255, .5); }
.section-navy .flow li.link-planned::after { border-top-color: rgba(255, 255, 255, .45); }
.flow-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: .88rem; }
.flow-legend span { display: inline-flex; align-items: center; gap: 8px; }
.flow-legend i { display: inline-block; width: 28px; border-top: 2px solid currentColor; }
.flow-legend i.dashed { border-top-style: dashed; }

/* ---------- mock product UI (synthetic data) ---------- */
.mock { position: relative; background: #fff; border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; font-size: 13px; line-height: 1.45; color: var(--ink); }
.mock-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #eef1f6; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9d1dd; }
.mock-bar b { margin-left: 8px; font-weight: 600; font-size: 12px; color: var(--muted); }
.sample-badge { position: absolute; top: 6px; right: 10px; z-index: 2; background: var(--navy-900); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; letter-spacing: .02em; }
.mock-body { display: grid; grid-template-columns: 132px minmax(0, 1fr); min-height: 300px; }
.mock-side { background: #f7f9fc; border-right: 1px solid var(--line); padding: 12px 8px; }
.mock-side p { margin: 0 6px 8px; font-size: 11px; font-weight: 700; color: var(--muted); }
.mock-side ul { list-style: none; margin: 0; padding: 0; }
.mock-side li { display: flex; justify-content: space-between; padding: 6px 8px; border-radius: 6px; font-size: 12px; color: var(--body); }
.mock-side li.on { background: var(--navy-900); color: #fff; font-weight: 650; }
.mock-side li span:last-child { color: inherit; opacity: .7; font-variant-numeric: tabular-nums; }
.mock-main { padding: 12px; min-width: 0; }
.mock-tools { display: flex; gap: 6px; margin-bottom: 10px; }
.mock-tools span { height: 26px; border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 0 10px; display: inline-flex; align-items: center; font-size: 11.5px; color: var(--muted); }
.mock-tools span.grow { flex: 1; }
.mock-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.mock-table th { font-size: 11px; color: var(--muted); font-weight: 650; text-align: left; padding: 6px 6px; border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-table td { padding: 8px 6px; border-bottom: 1px solid #eef1f5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; }
.mock-table tr.sel td { background: #f1f8f7; }
.mock-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.st { display: inline-block; padding: 1px 7px; border-radius: 5px; font-size: 11px; font-weight: 700; }
.st-a { background: #e6eefc; color: #1d4ed8; }
.st-b { background: #fff1d6; color: #8a5a00; }
.st-c { background: var(--accent-soft); color: var(--accent-strong); }
.st-d { background: #ece9fb; color: #5b3fc4; }
.st-e { background: #f1f2f5; color: #5a6475; }
.mock-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 0; }
.mock-detail > div { padding: 14px; }
.mock-detail > div + div { border-left: 1px solid var(--line); }
.kv { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 6px 8px; margin: 0; }
.kv dt { color: var(--muted); font-size: 12px; }
.kv dd { margin: 0; font-size: 12.5px; font-weight: 560; min-width: 0; overflow-wrap: anywhere; }
.mock h4 { font-size: 12px; color: var(--muted); margin: 0 0 8px; font-weight: 700; letter-spacing: 0; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 12px 16px; border-left: 2px solid var(--line); margin-left: 4px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 3px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--navy-700); }
.timeline li.ai::before { border-color: var(--accent); }
.timeline .when { display: block; font-size: 11px; color: var(--muted); }
.timeline .what { font-size: 12.5px; }
.timeline .who { font-size: 11px; font-weight: 700; color: var(--navy-700); margin-left: 4px; }
.mock-caption { font-size: .88rem; color: var(--muted); margin-top: 12px; }

.mask-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mask-card { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.mask-card header { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); font-size: .95rem; }
.mask-card .kv { padding: 16px; grid-template-columns: 70px minmax(0, 1fr); }
.mask-card .kv dd { font-size: .95rem; font-variant-numeric: tabular-nums; letter-spacing: .01em; }

.phone-mock { width: 248px; margin: 0 auto; border: 8px solid var(--navy-900); border-radius: 28px; background: #f7f9fc; padding: 14px 10px; box-shadow: var(--shadow); position: relative; font-size: 12.5px; color: var(--ink); }
.phone-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.phone-card .row { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.phone-card .nm { font-weight: 700; }
.phone-card .sub { color: var(--muted); font-size: 11.5px; margin-top: 3px; }

/* ---------- hero record graph ---------- */
.record-graph { position: relative; }
.record-graph .mock { z-index: 1; }

/* ---------- facts / info list ---------- */
.info-list { display: grid; grid-template-columns: 150px minmax(0, 1fr); margin: 0; border-top: 1px solid var(--line); }
.info-list dt, .info-list dd { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.info-list dt { color: var(--muted); font-weight: 600; font-size: .95rem; }
.info-list dd { color: var(--ink); font-weight: 560; min-width: 0; overflow-wrap: anywhere; }
.section-navy .info-list { border-color: rgba(255, 255, 255, .12); }
.section-navy .info-list dt, .section-navy .info-list dd { border-color: rgba(255, 255, 255, .12); }
.section-navy .info-list dt { color: #95a3bb; }
.section-navy .info-list dd { color: #fff; }
.section-navy a { color: #7fd9cb; }

.callout { border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 18px 22px; color: var(--ink); }
.callout p:last-child { margin-bottom: 0; }
.callout-navy { border-left-color: var(--navy-900); background: var(--navy-100); }
.notice { font-size: .92rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 28px; }

.case-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.metric-free { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 24px 0 30px; }
.metric-free div { border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; padding: 14px 16px; }
.metric-free b { display: block; color: #fff; font-size: .98rem; }
.metric-free span { font-size: .88rem; color: #aab6ca; }

.contact-box { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: start; }
.mail-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 18px 0 8px; }
.mail-addr { font-size: clamp(1.15rem, 2.4vw, 1.45rem); font-weight: 720; color: var(--ink); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.copy-status { min-height: 1.5em; font-size: .9rem; color: var(--accent-strong); margin: 0; }
.template { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; font-size: .97rem; }
.template ol { margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); color: #9fadc4; font-size: .93rem; padding: 56px 0 32px; }
.site-footer a { color: #d5deeb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-grid h2 { font-size: .82rem; color: #fff; letter-spacing: .05em; margin-bottom: 12px; font-weight: 700; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 6px; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer .brand:hover { color: #fff; text-decoration: none; }
.footer-legal { padding-top: 24px; font-size: .86rem; line-height: 1.75; }
.footer-legal p { margin: 0 0 4px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
  .flow li:nth-child(3)::after { display: none; }
  .flow li:nth-child(4) { padding-left: 0; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  :root { --gutter: 20px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(11, 26, 51, .1); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav ul a { padding: 13px 10px; font-size: 1.02rem; }
  .nav-aside { justify-content: space-between; padding-top: 14px; margin-top: 8px; border-top: 1px solid var(--line); }
  .hero-grid, .split, .split-even, .case-teaser, .contact-box { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .section { padding: 72px 0; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .hero { padding: 44px 0 56px; }
  .page-hero { padding: 44px 0 40px; }
  .section { padding: 56px 0; }
  .section-tight { padding: 44px 0; }
  .section-head { margin-bottom: 30px; }
  .grid-2, .grid-4, .steps, .steps-6, .mask-compare, .metric-free { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 22px; }
  .btn-row .btn { flex: 1 1 100%; }
  .flow { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .flow li, .flow li:first-child, .flow li:last-child, .flow li:nth-child(4) { padding: 0 0 22px; }
  .flow li:last-child { padding-bottom: 0; }
  .flow li:nth-child(3)::after { display: block; }
  .flow li:not(:last-child)::after { top: auto; bottom: 0; right: auto; left: 28px; width: 0; height: 22px; border-top: 0; border-left: 2px solid var(--navy-700); }
  .flow li.link-planned::after { border-top: 0; border-left-style: dashed; border-left-color: #8a96ab; }
  .section-navy .flow li:not(:last-child)::after { border-left-color: rgba(255, 255, 255, .5); }
  .flow .node { min-height: 0; }
  .mock-body { grid-template-columns: minmax(0, 1fr); }
  .mock-side { display: none; }
  .mock-table .hide-sm { display: none; }
  .mock-detail { grid-template-columns: minmax(0, 1fr); }
  .mock-detail > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .info-list { grid-template-columns: minmax(0, 1fr); }
  .info-list dt { padding-bottom: 0; border-bottom: 0; }
  .info-list dd { padding-top: 4px; }
  .status-table, .status-table tbody, .status-table tr, .status-table td { display: block; width: 100%; }
  .status-table thead { display: none; }
  .status-table tr { border-bottom: 1px solid var(--line); padding: 14px 16px; }
  .status-table tbody tr:last-child { border-bottom: 0; }
  .status-table td, .status-table td:first-child, .status-table td.st { border: 0; padding: 2px 0; width: 100%; }
  .status-table td.st { padding: 6px 0 4px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .phone-mock { width: 100%; max-width: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .nav-toggle { position: static; }
  .site-nav { display: flex !important; }
}

/* =========================================================
   Visual upgrade v2: before/after, intake demo, sync, motion
   All sample values are digit codes; no personal data.
   ========================================================= */
.code { font-variant-numeric: tabular-nums; letter-spacing: .02em; }

/* segmented toggle shared by compare + intake demo */
.compare { container-type: inline-size; }
.compare-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.seg-group { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--navy-100); gap: 4px; }
.section-navy .seg-group { background: rgba(255, 255, 255, .1); }
.seg { border: 0; background: transparent; color: var(--navy-800); font: inherit; font-weight: 650; font-size: .92rem; padding: 8px 14px; border-radius: 9px; cursor: pointer; min-height: 38px; }
.section-navy .seg { color: #c8d2e3; }
.seg[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11, 26, 51, .16); }
.section-navy .seg[aria-pressed="true"] { background: #fff; color: var(--navy-900); }
.badge-static { display: inline-flex; align-items: center; gap: 6px; background: var(--navy-900); color: #fff; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.section-navy .badge-static { background: #fff; color: var(--navy-900); }
.replay { margin-left: auto; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); border-radius: 8px; font: inherit; font-size: .85rem; font-weight: 600; padding: 6px 12px; cursor: pointer; min-height: 34px; }
.section-navy .replay { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.compare-stage { position: relative; }
.compare-stage > .view { margin: 0; min-width: 0; }
.js .compare-stage { overflow: clip; overflow-clip-margin: 32px; }
.js .compare-stage > .view { position: absolute; top: 0; left: 0; right: 0; opacity: 0; visibility: hidden; transform: translateY(8px) scale(.995); transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s; }
.js .compare-stage > .view.is-active { position: relative; opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease, transform .45s ease, visibility 0s; }
html:not(.js) .compare-stage > .view + .view { margin-top: 16px; }
html:not(.js) .seg-group, html:not(.js) .replay { display: none; }
.view-caption { font-size: .88rem; color: var(--muted); margin: 10px 0 0; }
.section-navy .view-caption { color: #aab6ca; }
.pain { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 8px; padding: 0; margin: 10px 0 0; }
.pain li { font-size: .82rem; padding: 3px 10px; border-radius: 999px; background: #fdecec; color: #9b2c2c; font-weight: 600; }
.pain.gain li { background: var(--accent-soft); color: var(--accent-strong); }
.section-navy .pain li { background: rgba(255, 140, 140, .14); color: #ffc9c9; }
.section-navy .pain.gain li { background: rgba(127, 217, 203, .16); color: #9fe6da; }

/* ---------- legacy console look (before) ---------- */
.legacy { border: 1px solid #b9c2cf; background: #fff; font-family: Dotum, "돋움", Gulim, "굴림", "Malgun Gothic", sans-serif; font-size: 11.5px; line-height: 1.4; color: #333; overflow: hidden; border-radius: 4px; }
.legacy-head { background: linear-gradient(180deg, #6b8cc7, #4f72b0); color: #fff; display: flex; align-items: baseline; gap: 8px; padding: 6px 12px; border-bottom: 3px solid #c9d3e6; }
.legacy-head b { font-family: Arial, sans-serif; font-size: 22px; letter-spacing: -.02em; font-weight: 700; }
.legacy-head i { font-style: normal; font-family: Arial, sans-serif; font-size: 15px; color: #bfe6c8; }
.legacy-head span { margin-left: auto; font-size: 11px; opacity: .9; }
.legacy-body { display: grid; grid-template-columns: 112px minmax(0, 1fr); }
.legacy-menu { list-style: none; margin: 0; padding: 8px 0; border-right: 1px solid #dde2ea; background: #fafbfc; }
.legacy-menu li { padding: 5px 8px; border-bottom: 1px solid #eceff3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.legacy-menu li::before { content: "▶"; color: #e8941f; font-size: 8px; margin-right: 4px; vertical-align: 1px; }
.legacy-main { padding: 8px; min-width: 0; }
.legacy-title { border: 1px solid #c8ced8; background: #f3f4f6; padding: 5px 8px; margin-bottom: 6px; }
.legacy-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.legacy-table { border-collapse: collapse; min-width: 900px; width: 100%; }
.legacy-table th { background: #8494ad; color: #fff; font-weight: 400; padding: 5px 4px; border: 1px solid #a5b1c4; white-space: nowrap; }
.legacy-table td { border: 1px solid #d3d8e0; padding: 6px 4px; text-align: center; white-space: nowrap; }
.legacy-table .rr { color: #d32f2f; }
.legacy-table .ph { color: #1a4fd6; text-decoration: underline; }
.legacy-table .ed { color: #0a8a5a; text-decoration: underline; }
.legacy-table .q { display: inline-block; width: 13px; height: 13px; border: 1px solid #8fa3c4; border-radius: 3px; font-size: 9px; line-height: 11px; color: #4f72b0; margin-left: 3px; }
.legacy-box { display: inline-block; width: 11px; height: 11px; border: 1px solid #888; background: #fff; vertical-align: -1px; }

/* legacy input form (before) */
.legacy-form { border-collapse: collapse; width: 100%; min-width: 600px; }
.legacy-form th { width: 112px; background: #eef0f3; font-weight: 400; text-align: center; border: 1px solid #c9ced6; padding: 7px 6px; }
.legacy-form td { border: 1px solid #c9ced6; padding: 6px 8px; }
.fake-input { display: inline-block; height: 20px; border: 1px solid #b4bac4; background: #fff; vertical-align: middle; box-shadow: inset 1px 1px 1px rgba(0, 0, 0, .06); }
.fake-btn { display: inline-block; border: 1px solid #9aa1ab; background: linear-gradient(#fdfdfd, #e3e5e9); padding: 1px 7px; font-size: 11px; margin-left: 4px; vertical-align: middle; }
.fake-radio { display: inline-block; width: 11px; height: 11px; border: 1px solid #777; border-radius: 50%; margin: 0 3px 0 8px; vertical-align: -1px; }
.fake-radio.on { background: radial-gradient(circle, #1a56d6 0 3px, #fff 3.5px); }
.legacy-actions { text-align: right; padding: 8px 0 2px; }

/* ---------- new board (after) ---------- */
.nboard { border: 1px solid var(--line-strong); border-radius: 14px; background: #fff; overflow: hidden; box-shadow: var(--shadow); color: var(--ink); font-size: 13px; line-height: 1.45; }
.nboard-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #f7f9fc; }
.nboard-top b { font-size: 13px; white-space: nowrap; }
.nboard-top .search { flex: 1; min-width: 0; height: 28px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--muted); font-size: 12px; display: flex; align-items: center; padding: 0 10px; white-space: nowrap; overflow: hidden; }
.nboard-body { display: grid; grid-template-columns: 168px minmax(0, 1fr); }
.nrail { padding: 12px; border-right: 1px solid var(--line); background: #fbfcfe; min-width: 0; }
.nrail h4 { margin: 0 0 8px; font-size: 11.5px; color: var(--muted); letter-spacing: 0; }
.dist { display: flex; height: 8px; border-radius: 4px; overflow: hidden; margin-bottom: 12px; gap: 2px; }
.dist i { flex: 1; transform-origin: left; }
.nrail ul { list-style: none; margin: 0; padding: 0; }
.nrail li { display: flex; align-items: center; gap: 8px; padding: 5px 6px; border-radius: 6px; font-size: 12px; }
.nrail li.on { background: var(--navy-900); color: #fff; font-weight: 650; }
.nrail li .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.nrail li .n { margin-left: auto; font-variant-numeric: tabular-nums; opacity: .75; }
.ncards { padding: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-content: start; min-width: 0; }
.ncard { border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; background: #fff; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ncard header { display: flex; justify-content: space-between; align-items: flex-start; gap: 6px; }
.ncard .who { font-weight: 700; font-size: 12.5px; }
.ncard .who small { display: block; font-weight: 500; color: var(--muted); font-size: 10.5px; }
.stepper { list-style: none; margin: 2px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; }
.stepper li { position: relative; padding-top: 9px; font-size: 10px; color: var(--muted); text-align: center; white-space: nowrap; overflow: hidden; }
.stepper li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; border-radius: 3px; background: #e7ebf1; }
.stepper li.done::before { background: var(--accent); transform-origin: left; }
.stepper li.now { color: var(--ink); font-weight: 700; }
.ncard.is-paused .stepper li.done::before { background: #a9b4c6; }
.ncard.is-stopped .stepper li.done::before { background: #d59b9b; }
.nmeta { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 8px; margin: 0; font-size: 11.5px; }
.nmeta dt { color: var(--muted); }
.nmeta dd { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.ntags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: auto; }
.ntag { font-size: 10.5px; font-weight: 650; padding: 1px 7px; border-radius: 999px; background: var(--bg-soft); color: var(--body); border: 1px solid var(--line); }
.ntag.ai { background: var(--accent-soft); color: var(--accent-strong); border-color: transparent; }
.ntag.is-sync { background: #e8eefb; color: #2547a0; border-color: transparent; }
.st-x { background: #fbe9e9; color: #a23b3b; }
.st-p { background: #eef1f6; color: #4a5568; }

@container (max-width: 760px) {
  .nboard-body { grid-template-columns: minmax(0, 1fr); }
  .nrail { border-right: 0; border-bottom: 1px solid var(--line); }
  .nrail ul { display: flex; flex-wrap: wrap; gap: 4px; }
  .nrail li { padding: 3px 8px; border: 1px solid var(--line); }
  .ncards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (max-width: 470px) {
  .ncards { grid-template-columns: minmax(0, 1fr); }
  .legacy-body { grid-template-columns: minmax(0, 1fr); }
  .legacy-menu { display: none; }
}

/* card + bar entrance when the "after" view becomes active */
@keyframes cardIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes growX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.view.is-active .ncard { animation: cardIn .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 90ms + 120ms); }
.view.is-active .stepper li.done::before { animation: growX .45s ease both; animation-delay: calc(var(--i, 0) * 90ms + 380ms + var(--k, 0) * 110ms); }
.view.is-active .dist i { animation: growX .6s ease both; animation-delay: calc(var(--k, 0) * 70ms + 100ms); }

/* ---------- intake demo (paste text, parse, Telegram, CRM) ---------- */
.demo { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, .95fr); gap: 12px; align-items: stretch; }
.demo-panel { position: relative; background: #fff; border: 1px solid var(--line-strong); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px; color: var(--ink); font-size: 13px; line-height: 1.5; min-width: 0; transition: box-shadow .3s, border-color .3s; }
.demo-panel h4 { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 12.5px; color: var(--ink); letter-spacing: 0; }
.demo-panel h4 .n { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--navy-900); color: #fff; font-size: 11px; flex: none; }
.demo-panel .chip { align-self: flex-start; }
.memo { flex: 1; background: #fffdf5; border: 1px dashed #e2c98a; border-radius: 10px; padding: 10px 11px; font-size: 12.5px; color: #4a3f22; white-space: pre-wrap; min-height: 150px; overflow-wrap: anywhere; margin: 0; }
.caret { display: inline-block; width: 2px; height: 1em; background: #4a3f22; vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.parsed { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: f; }
.parsed li { counter-increment: f; display: grid; grid-template-columns: 18px 58px minmax(0, 1fr); gap: 4px; align-items: baseline; font-size: 12px; padding: 3px 6px; border-radius: 6px; background: var(--bg-soft); }
.parsed li::before { content: counter(f) "."; color: var(--muted); font-size: 11px; }
.parsed li span { color: var(--muted); }
.parsed li b { font-weight: 650; min-width: 0; overflow-wrap: anywhere; }
.chat { flex: 1; background: #e9eef5; border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 6px; min-height: 150px; }
.bubble { max-width: 94%; padding: 7px 10px; border-radius: 12px; font-size: 12px; line-height: 1.45; background: #fff; color: var(--ink); box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.bubble.me { align-self: flex-end; background: #d7f3ec; }
.bubble .opts { display: grid; gap: 3px; margin-top: 5px; }
.bubble .opts span { display: block; border: 1px solid var(--line-strong); border-radius: 7px; padding: 2px 8px; text-align: center; font-weight: 600; background: #fff; }
.bubble .opts span.picked { background: var(--accent); color: #fff; border-color: var(--accent); }
.bubble .ok { color: var(--accent-strong); font-weight: 700; }
.crm-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.crm-card .row { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.crm-log { list-style: none; margin: 0; padding: 0; font-size: 11.5px; display: grid; gap: 3px; color: var(--body); }
.crm-log li::before { content: "• "; color: var(--accent); }

/* step-driven reveal (JS sets data-step on .demo-wrap); without JS everything shows */
.js .demo-wrap[data-step] :is(.s1, .s2, .s3, .s4, .s5) { opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; }
.js .demo-wrap[data-step="1"] .s1,
.js .demo-wrap[data-step="2"] :is(.s1, .s2),
.js .demo-wrap[data-step="3"] :is(.s1, .s2, .s3),
.js .demo-wrap[data-step="4"] :is(.s1, .s2, .s3, .s4),
.js .demo-wrap[data-step="5"] :is(.s1, .s2, .s3, .s4, .s5) { opacity: 1; transform: none; }
.js .demo-wrap[data-step] .parsed li { transition-delay: calc(var(--k, 0) * 90ms); }
.demo-panel.is-live { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(10, 124, 110, .15); }
.demo-progress { display: flex; gap: 6px; margin-top: 12px; }
.demo-progress i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; position: relative; }
.demo-progress i.on::after { content: ""; position: absolute; inset: 0; background: var(--accent); animation: growX .5s ease both; transform-origin: left; }
.section-navy .demo-progress i { background: rgba(255, 255, 255, .15); }
html:not(.js) .demo-progress { display: none; }

@container (max-width: 980px) { .demo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (max-width: 560px) { .demo { grid-template-columns: minmax(0, 1fr); } .memo, .chat { min-height: 0; } }

/* ---------- sync diagram ---------- */
.sync { display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr) 96px minmax(0, 1fr); grid-template-rows: auto 56px auto; align-items: center; margin: 8px 0 36px; }
.sync-node { background: #fff; border: 1.5px solid var(--navy-700); border-radius: 14px; padding: 16px; text-align: center; position: relative; z-index: 1; }
.sync-node b { display: block; color: var(--ink); font-size: 1.02rem; }
.sync-node span { display: block; font-size: .86rem; color: var(--muted); margin-top: 2px; }
.sync-node.is-legacy { border-color: #9aa6b8; background: #f6f7f9; }
.sync-node.is-new { border-color: var(--accent); background: linear-gradient(180deg, #f2fbf9, #fff); }
.sync-node.is-overlay { grid-column: 5; grid-row: 3; border-style: dashed; border-color: var(--accent); }
.sync-pipe { position: relative; height: 2px; background: var(--navy-700); margin: 0 6px; }
.sync-pipe em { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); font-style: normal; font-size: .76rem; font-weight: 650; color: var(--navy-700); white-space: nowrap; padding: 0 4px; }
.sync-pipe i { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: travelX 2.4s linear infinite; }
.sync-pipe i:nth-of-type(2) { animation-delay: .8s; }
.sync-pipe i:nth-of-type(3) { animation-delay: 1.6s; }
@keyframes travelX { from { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { left: calc(100% - 10px); opacity: 0; } }
@keyframes travelY { from { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { top: calc(100% - 10px); opacity: 0; } }
@keyframes travelUp { from { top: calc(100% - 10px); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { top: 0; opacity: 0; } }
.sync-vpipe { grid-column: 5; grid-row: 2; justify-self: center; position: relative; width: 2px; height: 100%; border-left: 2px dashed var(--accent); }
.sync-vpipe i { position: absolute; left: -6px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: travelUp 1.8s linear infinite; }
.sync-vpipe em { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: .76rem; font-weight: 650; color: var(--accent-strong); white-space: nowrap; }
.sync-block { grid-column: 1 / 4; grid-row: 3; align-self: center; display: flex; align-items: center; gap: 10px; font-size: .86rem; color: #9b2c2c; }
.sync-block::before { content: "✕"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fdecec; font-weight: 800; flex: none; }
@media (max-width: 860px) {
  .sync { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .sync > * { grid-column: 1 !important; grid-row: auto !important; }
  .sync-pipe { height: 54px; width: 2px; margin: 0 auto; }
  .sync-pipe em { left: 14px; bottom: auto; top: 50%; transform: translateY(-50%); }
  .sync-pipe i { left: -4px; top: 0; animation-name: travelY; }
  .sync-vpipe { height: 54px; }
  .sync-vpipe em { right: auto; left: 14px; }
  .sync-block { margin-top: 16px; justify-content: center; }
}

/* ---------- flow pulse: current path 01, 02, 04, 05, 06 ---------- */
@keyframes nodePulse { 0%, 14% { box-shadow: 0 0 0 0 rgba(10, 124, 110, 0); } 4% { box-shadow: 0 0 0 6px rgba(10, 124, 110, .22); } }
.flow .node.pulse { animation: nodePulse 5s ease-out infinite; animation-delay: calc(var(--i, 0) * 1s); }
.flow .node.is-planned { background-image: repeating-linear-gradient(135deg, rgba(10, 124, 110, .06) 0 8px, transparent 8px 16px); background-size: 200% 200%; animation: drift 8s linear infinite; }
@keyframes drift { to { background-position: 100% 100%; } }

/* ---------- hero timeline stagger ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hero .timeline li { animation: rise .5s ease both; animation-delay: calc(var(--k, 0) * 160ms + 300ms); }
.hero .timeline li.ai::before { animation: aiPing 2.4s ease-out infinite 1.6s; }
@keyframes aiPing { 0% { box-shadow: 0 0 0 0 rgba(10, 124, 110, .45); } 70%, 100% { box-shadow: 0 0 0 8px rgba(10, 124, 110, 0); } }

/* ---------- scroll reveal (JS adds .reveal) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .sync-pipe i, .sync-vpipe i, .flow .node, .hero .timeline li, .hero .timeline li.ai::before,
  .view.is-active .ncard, .view.is-active .stepper li.done::before, .view.is-active .dist i, .caret { animation: none !important; }
  .js .compare-stage > .view { transition: none; transform: none; }
}

/* intake demo: state that changes at the final step */
.js .demo-wrap[data-step]:not([data-step="5"]) .st.s5 { display: none; }
.js .demo-wrap[data-step="5"] .pre5, html:not(.js) .pre5 { display: none; }
.js .demo-wrap[data-step]:not([data-step="5"]) .stepper li.s5fill::before { background: #e7ebf1; }
.js .demo-wrap[data-step="5"] .stepper li.s5fill::before { animation: growX .5s ease both; }
.js .demo-wrap[data-step="4"] .opts .p1, .js .demo-wrap[data-step="5"] .opts .p1, html:not(.js) .opts .p1 { background: var(--accent); color: #fff; border-color: var(--accent); }
