/* Book a Demo: dark "flight plan" multi-step form. Ported from the Framer code component. */
.demo-page { margin: 0; background: #0F0F10; }
.vdf {
  --bg: #0F0F10; --panel: #161617; --text: #F0F0F0; --muted: #8E8E8E; --line: #2E2E2E;
  --btn-text: #111111; --error: #FF6B6B; --accent: #FF4500;
  --accent-soft: color-mix(in srgb, var(--accent) 12%, var(--panel));
  --accent-mid: color-mix(in srgb, var(--accent) 45%, var(--line));
  --ring: color-mix(in srgb, var(--accent) 28%, transparent);
  position: relative; width: 100%; min-height: 100vh; min-height: 100svh; margin: 0;
  background: var(--bg); color: var(--text); color-scheme: dark;
  container-type: inline-size; box-sizing: border-box;
  display: flex; flex-direction: column; overflow: hidden;
  font-family: var(--font); font-weight: 400; letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.vdf *, .vdf *::before, .vdf *::after { box-sizing: border-box; }
.vdf button { font: inherit; letter-spacing: inherit; margin: 0; }
.vdf svg { display: block; flex: none; }

.vdf ::placeholder { color: var(--muted); opacity: 0.75; }
.vdf button:focus-visible, .vdf a:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.vdf input:focus-visible, .vdf [data-group]:focus { outline: none; }
.vdf input:-webkit-autofill { -webkit-text-fill-color: var(--text); -webkit-box-shadow: 0 0 0 100px var(--panel) inset; caret-color: var(--text); }
.vdf a { text-underline-offset: 3px; }
.vdf button:disabled { cursor: default; }

/* shared label style: mono, uppercase, tracked */
.vdf__label { font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.4; }
.vdf__kicker { color: var(--accent); }
.vdf__kicker--check { display: flex; align-items: center; gap: 6px; }

.vdf__exit { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; color: var(--muted); text-decoration: none; white-space: nowrap; transition: color 0.15s ease; }
.vdf__exit:hover { color: var(--text); }

/* ---------- wide layout (container >= 860px) ---------- */
.vdf__wide { flex: 1 1 auto; width: 100%; max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 300px minmax(0, 1fr); border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.vdf__aside { display: flex; flex-direction: column; padding: 40px 28px 36px 32px; border-right: 1px solid var(--line); min-width: 0; }
.vdf__aside-exit { margin-top: -6px; margin-bottom: 22px; }
.vdf__steps { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.vdf__step { display: grid; grid-template-columns: 26px minmax(0, 1fr) 16px; align-items: start; gap: 10px; width: 100%; padding: 12px 0 12px 14px; text-align: left; background: transparent; border: none; border-left: 2px solid var(--line); cursor: default; color: var(--text); transition: border-color 0.2s ease, opacity 0.2s ease; }
.vdf__step.is-current { border-left-color: var(--accent); }
.vdf__step.is-future { opacity: 0.45; }
.vdf__step.is-clickable { cursor: pointer; }
.vdf__step-num { font-family: var(--mono); font-size: 12px; line-height: 20px; letter-spacing: 0; color: var(--muted); }
.vdf__step.is-current .vdf__step-num { color: var(--accent); }
.vdf__step-body { min-width: 0; }
.vdf__step-q { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 14px; line-height: 20px; letter-spacing: -0.01em; color: var(--text); overflow: hidden; }
.vdf__step-a { display: block; margin-top: 3px; font-family: var(--mono); font-size: 11.5px; line-height: 1.4; letter-spacing: 0; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vdf__step-mark { display: flex; justify-content: center; padding-top: 2px; color: var(--accent); }
.vdf__pulse { width: 7px; height: 7px; margin-top: 5px; border-radius: 4px; background: var(--accent); display: block; animation: vdf-pulse 1.6s ease-in-out infinite; }
.vdf__aside-foot { margin-top: auto; padding-top: 32px; }
.vdf__main { display: flex; flex-direction: column; padding: 40px 56px 48px; min-width: 0; }
.vdf__main .vdf__stage { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; width: 100%; max-width: 640px; padding: 56px 0; }

/* ---------- narrow layout ---------- */
.vdf__narrow { flex: 1 1 auto; width: 100%; max-width: 640px; margin: 0 auto; padding: 20px 20px 28px; display: flex; flex-direction: column; }
.vdf__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; }
.vdf__top .vdf__kicker { text-align: right; }
.vdf__narrow .vdf__progress { margin-top: 12px; }
.vdf__narrow .vdf__stage { padding-top: 40px; padding-bottom: 24px; }
.vdf__narrow-foot { margin-top: auto; padding-top: 24px; }

.vdf__progress { display: flex; gap: 4px; width: 100%; }
.vdf__seg { flex: 1 1 0; height: 3px; border-radius: 2px; background: var(--line); transition: background-color 0.35s ease; }
.vdf__seg.is-current { background: var(--accent-mid); }
.vdf__seg.is-done { background: var(--accent); }

.vdf__foot { font-size: 14px; line-height: 1.5; letter-spacing: -0.01em; color: var(--muted); margin: 0; }
.vdf__foot a { color: var(--accent); text-decoration: underline; }

/* ---------- step content ---------- */
.vdf__pane { width: 100%; }
.vdf__q { font-family: var(--font); font-weight: 500; -webkit-text-stroke: var(--medium-stroke) currentColor; font-size: clamp(26px, 4.2cqw, 42px); line-height: 1.12; letter-spacing: -0.03em; color: var(--text); margin: 16px 0 0; text-wrap: balance; }
.vdf__field { margin-top: 28px; }
.vdf.is-wide .vdf__field { margin-top: 36px; }
.vdf__input { font-family: var(--font); font-weight: 400; letter-spacing: 0; font-size: clamp(18px, 2.2cqw, 22px); line-height: 1.35; color: var(--text); background: var(--panel); border: 1px solid var(--line); box-shadow: none; border-radius: 6px; outline: none; width: 100%; padding: 16px 18px; margin: 0; transition: border-color 0.18s ease, box-shadow 0.18s ease; -webkit-appearance: none; appearance: none; }
.vdf__input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring); }
.vdf__input.has-error, .vdf__input.has-error:focus { border-color: var(--error); box-shadow: none; }

.vdf__choices { display: grid; grid-template-columns: 1fr; gap: 10px; outline: none; }
.vdf.is-wide .vdf__choices { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.vdf__choice { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 60px; padding: 14px 16px 14px 18px; text-align: left; font-family: var(--font); font-weight: 400; letter-spacing: 0; font-size: clamp(16px, 1.7cqw, 18px); line-height: 1.35; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 6px; cursor: pointer; overflow: hidden; transition: background-color 0.15s ease, border-color 0.2s ease, transform 0.15s ease; }
.vdf .vdf__choice { font-family: var(--font); font-weight: 400; font-size: clamp(16px, 1.7cqw, 18px); line-height: 1.35; letter-spacing: 0; }
.vdf__choice:hover { border-color: var(--muted); }
.vdf__choice:active { transform: scale(0.99); }
.vdf__choice[aria-checked="true"] { background: var(--accent-soft); border-color: var(--accent); }
.vdf__choice-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); opacity: 0; transition: opacity 0.15s ease; }
.vdf__choice[aria-checked="true"] .vdf__choice-bar { opacity: 1; }
.vdf__choice-key { font-family: var(--mono); flex: 0 0 auto; min-width: 24px; height: 24px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; letter-spacing: 0; border-radius: 4px; border: 1px solid var(--line); background: transparent; color: var(--muted); }
.vdf__choice[aria-checked="true"] .vdf__choice-key { border-color: var(--accent); background: var(--accent); color: var(--btn-text); }
.vdf__choice-text { flex: 1 1 auto; }

.vdf__error { min-height: 26px; margin-top: 10px; }
.vdf__error-msg { display: flex; align-items: center; gap: 8px; font-size: 15px; line-height: 19px; letter-spacing: 0; color: var(--error); }

.vdf__actions { display: flex; align-items: stretch; gap: 10px; margin-top: 14px; }
.vdf.is-wide .vdf__actions { align-items: center; justify-content: space-between; gap: 16px; }
.vdf__actions-l { display: flex; align-items: center; gap: 16px; }
.vdf__actions-r { display: flex; align-items: center; gap: 18px; }
.vdf .vdf__btn { font-family: var(--font); display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 52px; padding: 0 20px 0 22px; font-size: 16px; font-weight: 500; -webkit-text-stroke: var(--medium-stroke) currentColor; letter-spacing: -0.01em; color: var(--btn-text); background: var(--accent); border: none; border-radius: 6px; cursor: pointer; text-decoration: none; flex: 1 1 auto; min-width: 0; transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease; }
.vdf.is-wide .vdf__btn { flex: 0 0 auto; min-width: 180px; }
.vdf__btn:hover { transform: translateY(-2px); }
.vdf__btn:active { transform: scale(0.98); }
.vdf .vdf__btn:disabled { cursor: progress; opacity: 0.7; transform: none; }
.vdf .vdf__btn--done { width: 100%; }
.vdf.is-wide .vdf__btn--done { width: auto; min-width: 200px; }
.vdf__done-cta { margin-top: 36px; }
.vdf__hint { display: inline-flex; align-items: center; gap: 8px; }
.vdf__keycap { font-family: var(--mono); display: inline-flex; align-items: center; gap: 5px; font-size: 11px; letter-spacing: 0.04em; line-height: 1; padding: 5px 7px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; color: var(--muted); }
.vdf .vdf__back { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.4; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; color: var(--muted); background: transparent; border: none; cursor: pointer; }
.vdf .vdf__back-sq { flex: 0 0 auto; width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; background: transparent; color: var(--text); border: 1px solid var(--line); border-radius: 6px; cursor: pointer; padding: 0; }
.vdf__failed { font-size: 15px; letter-spacing: 0; line-height: normal; color: var(--error); margin: 16px 0 0; }
.vdf__failed a { color: var(--error); }

.vdf__trap { position: absolute; left: -10000px; top: 0; width: 1px; height: 1px; opacity: 0; }
.vdf__sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.vdf__noscript { max-width: 640px; margin: 0 auto; padding: 80px 20px; font-size: 17px; line-height: 1.5; color: var(--text); }
.vdf__noscript a { color: var(--accent); }

/* ---------- motion ---------- */
@keyframes vdf-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes vdf-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes vdf-rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.vdf-in { animation: vdf-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
.vdf-rise { animation: vdf-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s backwards; }
@media (prefers-reduced-motion: reduce) {
  .vdf__pulse { animation: none; }
  .vdf-in, .vdf-rise { animation: vdf-in 0.3s ease backwards; }
  .vdf__seg { transition: none; }
  .vdf__btn:hover, .vdf__btn:active, .vdf__choice:active { transform: none; }
}
