/* Doctify quiz funnel (/quiz/). One screen per step, like a mobile app funnel.
   Same identity as /local-scribe and the phone app: brand blue, the sky-blue wash,
   frosted white cards, DM Sans headings and Geist text. Light mode only. */

@font-face { font-family: 'Geist'; src: url('/assets/fonts/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('/assets/fonts/b6Y37FthZeALduNqHicBT6FutY.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('/assets/fonts/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('/assets/fonts/xYYWaj7wCU5zSQH0eXvSaS19wo.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --brand: #2563eb;
  --brand-2: #3b82f6;
  --brand-ink: #1d4ed8;
  --tint: #eef4ff;
  --tint-2: #dbeafe;
  --navy: #0b1640;
  --night: #03041f;
  --ink: #0f172a;
  --ink-2: #475569;
  --ink-3: #64748b;
  --ink-4: #94a3b8;
  --hair: #e1e8f5;
  --hair-2: #edf1f8;
  --ok: #16a34a;
  --ok-ink: #15803d;
  --ok-tint: #e8f7ee;
  --part: #a16207;
  --part-tint: #fef6e4;
  --no: #b91c1c;
  --no-tint: #fdecec;
  --sky-1: #bfe0fb;
  --sky-2: #d8ebfc;
  --sky-3: #f4f8ff;
  --glass: rgba(255, 255, 255, .74);
  --glass-edge: rgba(255, 255, 255, .92);
  --shadow-card: 0 1px 2px rgba(15, 23, 42, .04), 0 18px 40px -26px rgba(23, 43, 99, .45);
  --shadow-lift: 0 30px 60px -30px rgba(15, 30, 80, .45), 0 10px 24px -14px rgba(15, 30, 80, .18);
  --shadow-btn: inset 0 1px 0 rgba(255, 255, 255, .28), 0 2px 4px rgba(37, 99, 235, .2), 0 10px 22px -6px rgba(37, 99, 235, .45);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --r-card: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --font-h: 'DM Sans', 'Geist', -apple-system, system-ui, sans-serif;
  --font-b: 'Geist', Inter, -apple-system, system-ui, sans-serif;
  --top-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--font-b); color: var(--ink); background: var(--sky-3); min-height: 100vh; min-height: 100dvh; overflow-x: clip; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 3px; border-radius: 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- background wash: sky gradient + slow aurora ---------- */
.qz-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 34%, var(--sky-3) 72%, #fbfdff 100%); }
.qz-bg i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; will-change: transform; }
.qz-bg .b1 { width: 52vmax; height: 52vmax; left: -14vmax; top: -18vmax; background: radial-gradient(closest-side, rgba(96, 165, 250, .55), rgba(96, 165, 250, 0)); animation: qzDrift1 22s ease-in-out infinite alternate; }
.qz-bg .b2 { width: 46vmax; height: 46vmax; right: -16vmax; top: 6vmax; background: radial-gradient(closest-side, rgba(147, 197, 253, .6), rgba(147, 197, 253, 0)); animation: qzDrift2 26s ease-in-out infinite alternate; }
.qz-bg .b3 { width: 40vmax; height: 40vmax; left: 20vmax; bottom: -22vmax; background: radial-gradient(closest-side, rgba(191, 219, 254, .7), rgba(191, 219, 254, 0)); animation: qzDrift1 30s ease-in-out infinite alternate-reverse; }
@keyframes qzDrift1 { to { transform: translate(6vmax, 4vmax) scale(1.08); } }
@keyframes qzDrift2 { to { transform: translate(-5vmax, 6vmax) scale(.94); } }

/* ---------- top bar ---------- */
.qz-top { position: sticky; top: 0; z-index: 50; height: var(--top-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 max(16px, env(safe-area-inset-left)); transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.qz-top.solid { background: rgba(244, 248, 255, .72); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 1px 0 rgba(15, 23, 42, .06); }
.qz-back { justify-self: start; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--glass); border: 1px solid var(--glass-edge); box-shadow: 0 6px 16px -10px rgba(23, 43, 99, .45); color: var(--ink); transition: opacity .25s, transform .25s var(--ease); }
.qz-back:active { transform: scale(.92); }
.qz-back[hidden] { display: flex; opacity: 0; pointer-events: none; transform: translateX(-6px); }
.qz-back svg { width: 18px; height: 18px; }
.qz-logo { display: inline-flex; align-items: center; gap: 8px; line-height: 0; }
.qz-logo img { height: 21px; width: auto; filter: brightness(0); opacity: .9; }
.qz-logo doctify-orb { width: 26px; height: 26px; }
.qz-private { justify-self: end; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ok-ink); background: rgba(255, 255, 255, .7); border: 1px solid var(--glass-edge); padding: 6px 11px; border-radius: 999px; white-space: nowrap; }
.qz-private svg { width: 13px; height: 13px; }
.qz-prog { position: absolute; left: max(16px, calc(50% - 300px)); right: max(16px, calc(50% - 300px)); bottom: 0; height: 4px; border-radius: 999px; background: rgba(37, 99, 235, .12); overflow: hidden; opacity: 1; transition: opacity .3s; }
.qz-prog.off { opacity: 0; }
.qz-prog i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--brand-2), var(--brand)); transition: width .6s var(--ease); }
@media (max-width: 420px) { .qz-private span { display: none; } .qz-private { padding: 7px; } }

/* ---------- stage + screens ---------- */
.qz-stage { position: relative; min-height: calc(100dvh - var(--top-h)); }
.fs { position: relative; width: 100%; min-height: calc(100dvh - var(--top-h)); display: flex; flex-direction: column; padding: 18px 20px calc(120px + env(safe-area-inset-bottom)); }
.fs.out { position: absolute; inset: 0 0 auto 0; pointer-events: none; }
.fs-in { width: 100%; max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; }
.fs-wide .fs-in { max-width: 1120px; }
.fs.enter { animation: fsIn .5s var(--ease) both; }
.fs.enter.back { animation-name: fsInBack; }
.fs.out { animation: fsOut .32s var(--ease) both; }
.fs.out.back { animation-name: fsOutBack; }
@keyframes fsIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes fsInBack { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes fsOut { to { opacity: 0; transform: translateX(-22px); } }
@keyframes fsOutBack { to { opacity: 0; transform: translateX(22px); } }
/* staggered entrance for children */
/* Visible by default; the hidden start lives in the keyframe, so a browser or crawler that skips animations still shows the content. */
.fx { animation: fxIn .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms + 80ms); }
@keyframes fxIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.fs-eyebrow { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.fs-eyebrow .pill { letter-spacing: 0; text-transform: none; font-weight: 600; font-size: 11.5px; color: var(--brand-ink); background: rgba(37, 99, 235, .1); border-radius: 999px; padding: 3px 9px; }
.fs-h { font-family: var(--font-h); font-weight: 500; font-size: clamp(27px, 6.6vw, 40px); line-height: 1.08; letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.fs-h em { font-style: normal; color: var(--brand); }
.fs-sub { font-size: 16.5px; line-height: 1.55; color: var(--ink-2); margin-top: 12px; text-wrap: pretty; }
.fs-sub b { color: var(--ink); font-weight: 600; }
.fs-note { font-size: 12px; line-height: 1.5; color: var(--ink-3); margin-top: 16px; }
.fs-gap { height: 24px; flex: 0 0 auto; }
.center { text-align: center; align-items: center; }
.center .fs-eyebrow { align-self: center; }

/* ---------- bottom CTA bar ---------- */
.fs-cta { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(244, 248, 255, 0), rgba(244, 248, 255, .92) 34%, rgba(244, 248, 255, .98)); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.fs.out .fs-cta { opacity: 0; }
.fs-cta .btn { width: 100%; max-width: 580px; }
.fs-cta small { font-size: 12px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 6px; }
.fs-cta small svg { width: 13px; height: 13px; color: var(--ok); }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 26px; border-radius: 999px; font-size: 16.5px; font-weight: 600; letter-spacing: -.005em; color: #fff; background: linear-gradient(180deg, #3b82f6 0%, #2563eb 55%, #1d4ed8 100%); box-shadow: var(--shadow-btn); overflow: hidden; isolation: isolate; transition: transform .18s var(--ease), box-shadow .25s, opacity .2s, filter .2s; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .35) 48%, transparent 66%); transform: translateX(-120%); z-index: -1; }
.btn:hover::after { animation: btnShine 1.1s var(--ease); }
.btn.shine::after { animation: btnShine 3.6s var(--ease) 1.4s infinite; }
@keyframes btnShine { to { transform: translateX(120%); } }
.btn:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34), 0 4px 8px rgba(37, 99, 235, .2), 0 18px 34px -10px rgba(37, 99, 235, .55); }
.btn:active { transform: scale(.975); }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; filter: saturate(.6); }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn.dark { background: linear-gradient(180deg, #2b2f3a, #0d0f14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 24px -8px rgba(0, 0, 0, .5); }
.btn.ghost { color: var(--ink); background: var(--glass); border: 1px solid var(--glass-edge); box-shadow: 0 8px 20px -14px rgba(23, 43, 99, .5); }
.btn.sm { height: 44px; font-size: 14.5px; padding: 0 18px; }
.btn .spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; text-decoration-color: rgba(37, 99, 235, .35); }

/* ---------- glass card ---------- */
.card { background: var(--glass); border: 1px solid var(--glass-edge); border-radius: var(--r-card); box-shadow: var(--shadow-card); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: rgba(255, 255, 255, .8); border: 1px solid var(--glass-edge); padding: 6px 11px; border-radius: 999px; white-space: nowrap; }
.chip svg { width: 14px; height: 14px; color: var(--brand); }
.chip.ok { color: var(--ok-ink); } .chip.ok svg { color: var(--ok); }

/* ---------- options ---------- */
.opts { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.opt { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 12px 52px 12px 14px; text-align: left; border-radius: 18px; background: var(--glass); border: 1.5px solid var(--glass-edge); box-shadow: 0 1px 2px rgba(15, 23, 42, .03), 0 10px 24px -20px rgba(23, 43, 99, .5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform .2s var(--ease), border-color .2s, background .2s, box-shadow .25s; }
.opt:hover { border-color: rgba(37, 99, 235, .45); background: rgba(255, 255, 255, .9); }
.opt:active { transform: scale(.985); }
.opt .ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 13px; display: flex; align-items: center; justify-content: center; color: var(--brand); background: linear-gradient(180deg, #f3f7ff, #e3edff); border: 1px solid rgba(37, 99, 235, .1); transition: background .25s, color .25s; }
.opt .ic svg { width: 21px; height: 21px; }
.opt .ic img { width: 42px; height: 42px; border-radius: 11px; }
.opt .tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.opt .t { font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.opt .d { font-size: 13px; color: var(--ink-3); line-height: 1.35; }
.opt .tick { position: absolute; right: 16px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; border: 1.5px solid #cdd8ea; background: #fff; display: flex; align-items: center; justify-content: center; color: #fff; transition: all .25s var(--spring); }
.opt.multi .tick { border-radius: 8px; }
.opt .tick svg { width: 13px; height: 13px; opacity: 0; transform: scale(.4); transition: all .25s var(--spring); }
.opt.on { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(37, 99, 235, .12), 0 16px 30px -22px rgba(37, 99, 235, .7); }
.opt.on .ic { background: var(--brand); color: #fff; border-color: var(--brand); }
.opt.on .tick { background: var(--brand); border-color: var(--brand); }
.opt.on .tick svg { opacity: 1; transform: none; }
/* The tap bounce replaces the .fx entrance animation, so the option must stay visible on its own. */
.opt.pop { opacity: 1; transform: none; animation: optPop .45s var(--spring); }
@keyframes optPop { 40% { transform: scale(1.02); } }

/* grid of tiles (specialty) */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 14px 13px; min-height: 96px; border-radius: 18px; text-align: left; background: var(--glass); border: 1.5px solid var(--glass-edge); box-shadow: 0 1px 2px rgba(15, 23, 42, .03), 0 10px 24px -20px rgba(23, 43, 99, .5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform .2s var(--ease), border-color .2s, box-shadow .25s, background .2s; }
.tile:hover { border-color: rgba(37, 99, 235, .45); background: rgba(255, 255, 255, .9); }
.tile:active { transform: scale(.97); }
.tile .ic { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--brand); background: linear-gradient(180deg, #f3f7ff, #e3edff); transition: background .25s, color .25s; }
.tile .ic svg { width: 20px; height: 20px; }
.tile .t { font-size: 14.5px; font-weight: 600; line-height: 1.25; color: var(--ink); }
.tile.on { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.tile.on .ic { background: var(--brand); color: #fff; }

/* yes / no cards */
.yn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.yn .opt { flex-direction: column; align-items: flex-start; padding: 18px 16px 18px; min-height: 150px; gap: 12px; }
.yn .opt .tick { top: 18px; right: 16px; margin-top: 0; }
.yn .opt .ic { width: 48px; height: 48px; border-radius: 15px; }
.yn .opt .ic svg { width: 24px; height: 24px; }
.yn .opt .t { font-size: 17px; }

/* ---------- forms ---------- */
.field { display: block; margin-top: 14px; }
.field > span { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin: 0 0 7px 4px; }
.input { width: 100%; height: 58px; padding: 0 18px; border-radius: 16px; font-size: 17px; background: rgba(255, 255, 255, .92); border: 1.5px solid #d6e0f0; box-shadow: inset 0 1px 2px rgba(15, 23, 42, .04); transition: border-color .2s, box-shadow .2s; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(37, 99, 235, .14); }
.input.bad { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, .12); }
.err { min-height: 20px; font-size: 13px; color: #dc2626; margin: 8px 4px 0; }
.err:empty { min-height: 0; margin: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 380px) { .row2 { grid-template-columns: 1fr; } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); margin-top: 16px; }
.consent svg { flex: 0 0 auto; width: 16px; height: 16px; color: var(--ok); margin-top: 1px; }

/* code boxes */
.code { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 26px; max-width: 420px; }
.code input { width: 100%; height: 64px; text-align: center; font-family: var(--font-h); font-size: 28px; font-weight: 500; border-radius: 16px; background: rgba(255, 255, 255, .92); border: 1.5px solid #d6e0f0; caret-color: var(--brand); transition: border-color .2s, box-shadow .2s, transform .2s; }
.code input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(37, 99, 235, .14); }
.code input.filled { border-color: rgba(37, 99, 235, .55); }
.code.shake { animation: shake .45s; }
.code.ok input { border-color: var(--ok); box-shadow: 0 0 0 4px rgba(22, 163, 74, .14); }
@keyframes shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
.resend { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.resend button { color: var(--brand); font-weight: 600; }
.resend button:disabled { color: var(--ink-4); cursor: default; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; }
.hero h1 { font-family: var(--font-h); font-weight: 500; font-size: clamp(34px, 8.6vw, 60px); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.hero h1 .lead { display: block; font-size: .5em; letter-spacing: -.02em; line-height: 1.25; color: var(--ink-2); margin-bottom: 10px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #1d4ed8, #3b82f6 60%, #60a5fa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vp { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.vp li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; font-weight: 500; color: var(--ink); }
.vp .ic { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: var(--brand); background: rgba(255, 255, 255, .85); border: 1px solid var(--glass-edge); box-shadow: 0 6px 14px -10px rgba(23, 43, 99, .5); }
.vp .ic svg { width: 17px; height: 17px; }
.hero-cta { display: none; margin-top: 28px; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-cta small { font-size: 13px; color: var(--ink-3); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; min-height: calc(100dvh - var(--top-h) - 90px); }
  .fs-hero .fs-cta { display: none; }
  .hero-cta { display: flex; }
  .fs-hero { padding-bottom: 60px; }
}

/* ---------- devices composition ---------- */
.dv { position: relative; width: 100%; aspect-ratio: 1.42; margin: 4px auto 0; }
.dv .mk-mac { position: absolute; left: 0; top: 2%; width: 88%; }
.dv .mk-phone { position: absolute; right: 0; bottom: 0; width: 25%; }
.dv .fchip { position: absolute; z-index: 5; }
.fchip { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--ink); padding: 8px 12px 8px 9px; border-radius: 999px; background: rgba(255, 255, 255, .86); border: 1px solid var(--glass-edge); box-shadow: 0 14px 30px -16px rgba(23, 43, 99, .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); white-space: nowrap; animation: chipFloat 6s ease-in-out infinite; }
.fchip .dot { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--ok); flex: 0 0 auto; }
.fchip .dot svg { width: 12px; height: 12px; }
.fchip .dot.b { background: var(--brand); }
@keyframes chipFloat { 50% { transform: translateY(-6px); } }
.dv .c1 { left: -2%; bottom: 14%; animation-delay: -1s; }
.dv .c2 { right: 14%; top: -3%; animation-delay: -3s; }
.dv .c3 { left: 30%; bottom: -4%; animation-delay: -4.5s; }
@media (max-width: 600px) { .fchip { font-size: 11px; padding: 6px 10px 6px 7px; } .fchip .dot { width: 18px; height: 18px; } .dv .c3 { display: none; } }
.dv.float .mk-mac { animation: devFloat 9s ease-in-out infinite; }
.dv.float .mk-phone { animation: devFloat 7s ease-in-out -2s infinite; }
@keyframes devFloat { 50% { transform: translateY(-8px); } }

/* ---------- Mac mockup ---------- */
.mk-mac { container-type: inline-size; filter: drop-shadow(0 34px 44px rgba(15, 30, 80, .28)); }
.mk-lid { position: relative; margin: 0 6.5%; padding: 2.1% 2.1% 2.6%; border-radius: 3.2cqi 3.2cqi .9cqi .9cqi; background: linear-gradient(180deg, #1e2128, #0b0c10); box-shadow: inset 0 0 0 .25cqi #3c404a, inset 0 0 0 .55cqi #050608; }
.mk-cam { position: absolute; top: .95%; left: 50%; width: .7cqi; height: .7cqi; margin-left: -.35cqi; border-radius: 50%; background: #2a2f3a; box-shadow: 0 0 0 .15cqi #14161c; }
.mk-display { position: relative; aspect-ratio: 16 / 10; border-radius: .7cqi; overflow: hidden; background: #f6f7f9; }
.mk-base { position: relative; height: 2.6cqi; margin-top: -.15cqi; border-radius: .25cqi .25cqi 1.6cqi 1.6cqi / .25cqi .25cqi 2.4cqi 2.4cqi; background: linear-gradient(180deg, #e8eaee 0%, #c9ccd3 38%, #9fa3ac 100%); box-shadow: inset 0 .2cqi .2cqi rgba(255, 255, 255, .7); }
.mk-base i { position: absolute; left: 50%; top: 0; width: 15%; height: 45%; margin-left: -7.5%; border-radius: 0 0 1cqi 1cqi; background: linear-gradient(180deg, #b8bcc4, #d6d9df); }

/* desktop app (matches the real Doctify app: grey sidebar, white rounded panel) */
.ma { position: absolute; inset: 0; display: grid; grid-template-columns: 17% 1fr; font-family: var(--font-b); font-size: 1.24cqi; color: #1f2937; background: #f4f5f7; }
.ma-side { display: flex; flex-direction: column; gap: .2em; padding: 1.2em .7em; }
.ma-brand { display: flex; align-items: center; gap: .5em; font-family: var(--font-h); font-weight: 600; font-size: 1.2em; padding: 0 .4em .9em; color: var(--navy); }
.ma-orb, .mp-orb { display: inline-block; width: 1.25em; height: 1.25em; flex: 0 0 auto; }
.ma-nav { display: flex; align-items: center; gap: .65em; padding: .5em .6em; border-radius: .55em; font-size: .98em; color: #374151; white-space: nowrap; }
.ma-nav svg { width: 1.15em; height: 1.15em; flex: 0 0 auto; color: #4b5563; }
.ma-nav.on { background: #e6e8ee; color: #111827; font-weight: 500; }
.ma-nav.on svg { color: var(--brand); }
.ma-side .grow { flex: 1; }
.ma-main { margin: .7em .7em .7em 0; border-radius: .9em; background: #fff; border: 1px solid #e5e7eb; display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
.ma-bar { display: flex; align-items: center; gap: .9em; padding: .75em 1.1em; border-bottom: 1px solid #eef0f3; }
.ma-bar b { font-weight: 600; font-size: 1.05em; }
.ma-search { margin-left: auto; display: flex; align-items: center; gap: .5em; padding: .45em .8em; border-radius: 999px; border: 1px solid #e5e7eb; color: #9ca3af; font-size: .92em; min-width: 38%; }
.ma-search svg { width: 1em; height: 1em; }
.ma-search kbd { margin-left: auto; font: inherit; font-size: .8em; color: #6b7280; background: #f3f4f6; border-radius: .35em; padding: .1em .45em; }
.ma-new { display: inline-flex; align-items: center; gap: .35em; padding: .45em .8em; border-radius: 999px; border: 1px solid #e5e7eb; font-weight: 500; font-size: .92em; white-space: nowrap; }
.ma-body { flex: 1; display: grid; min-height: 0; }
.ma-cols { grid-template-columns: 30% 1fr; }
.ma-list { border-right: 1px solid #eef0f3; padding: .6em; display: flex; flex-direction: column; gap: .35em; background: #fcfcfd; }
.ma-li { padding: .65em .7em; border-radius: .6em; display: flex; flex-direction: column; gap: .2em; }
.ma-li b { font-size: .95em; font-weight: 600; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ma-li span { font-size: .82em; color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ma-li.on { background: #eef4ff; box-shadow: inset 0 0 0 1px #d4e3ff; }
.ma-doc { padding: 1.2em 1.6em; overflow: hidden; position: relative; }
.ma-doc h4 { font-family: var(--font-h); font-weight: 500; font-size: 1.7em; letter-spacing: -.02em; color: #0f172a; }
.ma-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .45em; margin: .45em 0 .9em; font-size: .86em; color: #6b7280; }
.ma-tag { display: inline-flex; align-items: center; gap: .3em; padding: .15em .6em; border-radius: 999px; background: #eef4ff; color: #1d4ed8; font-weight: 600; font-size: .95em; }
.ma-tag.g { background: #ecfdf3; color: #15803d; }
.ma-tabs { display: inline-flex; gap: .2em; padding: .2em; border-radius: 999px; background: #f3f4f6; font-size: .86em; color: #6b7280; margin-bottom: .9em; }
.ma-tabs span { padding: .25em .8em; border-radius: 999px; }
.ma-tabs span.on { background: #fff; color: #111827; font-weight: 600; box-shadow: 0 .1em .3em rgba(0, 0, 0, .12); }
.ma-sec { margin-bottom: .75em; }
.ma-sec h5 { font-size: .78em; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #64748b; margin-bottom: .3em; }
.ma-sec p, .ma-sec li { font-size: .98em; line-height: 1.45; color: #1f2937; }
.ma-sec ul { padding-left: 1.1em; }
.ma-mention { color: #1d4ed8; background: #eef4ff; border-radius: .3em; padding: 0 .25em; font-weight: 500; }
.ma-caret::after { content: ""; display: inline-block; width: .1em; height: 1.05em; margin-left: .1em; vertical-align: -.15em; background: var(--brand); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ma-rec { position: absolute; right: 1.2em; top: 1.1em; display: inline-flex; align-items: center; gap: .45em; font-size: .85em; font-weight: 600; color: #b91c1c; background: #fff1f1; border: 1px solid #fde0e0; padding: .3em .7em; border-radius: 999px; }
.ma-rec i { width: .55em; height: .55em; border-radius: 50%; background: #ef4444; animation: pulse 1.3s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; transform: scale(.75); } }
.ma-off { position: absolute; right: 1.2em; bottom: 1.1em; display: inline-flex; align-items: center; gap: .45em; font-size: .85em; font-weight: 600; color: #15803d; background: #ecfdf3; padding: .35em .75em; border-radius: 999px; }
.ma-off svg { width: 1em; height: 1em; }
.ma-graph { position: absolute; right: 1.2em; top: 3.4em; width: 30%; aspect-ratio: 1.15; border-radius: .8em; border: 1px solid #eef0f3; background: #fafafa; }
.ma-graph svg { width: 100%; height: 100%; }

/* evidence view */
.ma-ev { grid-template-columns: 1fr 1.08fr; }
.ma-evl { padding: 1.2em 1.4em; border-right: 1px solid #eef0f3; }
.ma-hl { background: linear-gradient(transparent 55%, rgba(250, 204, 21, .45) 55%); border-radius: .1em; }
.ma-evr { padding: 1.1em 1.2em; background: #fbfcff; display: flex; flex-direction: column; gap: .6em; }
.ma-evh { display: flex; align-items: center; gap: .5em; font-weight: 600; font-size: 1em; color: #0f172a; }
.ma-evh span { margin-left: auto; font-size: .8em; font-weight: 600; color: #15803d; background: #ecfdf3; padding: .2em .6em; border-radius: 999px; }
.ma-evc { padding: .75em .85em; border-radius: .75em; background: #fff; border: 1px solid #e6ebf3; box-shadow: 0 .4em 1.2em -.8em rgba(23, 43, 99, .45); display: flex; flex-direction: column; gap: .3em; opacity: 0; transform: translateY(.8em); }
.on-screen .ma-evc { animation: evIn .6s var(--ease) both; }
.on-screen .ma-evc:nth-child(3) { animation-delay: .7s; } .on-screen .ma-evc:nth-child(4) { animation-delay: 1.3s; } .on-screen .ma-evc:nth-child(5) { animation-delay: 1.9s; }
@keyframes evIn { to { opacity: 1; transform: none; } }
.ma-evc .k { font-size: .76em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.ma-evc b { font-size: .98em; font-weight: 600; line-height: 1.3; color: #0f172a; }
.ma-evc span { font-size: .82em; color: #64748b; }
.ma-priv { margin-top: auto; display: flex; align-items: center; gap: .5em; font-size: .82em; color: #475569; background: #f1f5f9; border-radius: .6em; padding: .55em .75em; }
.ma-priv svg { width: 1.1em; height: 1.1em; color: #16a34a; flex: 0 0 auto; }

/* research view */
.ma-rs { grid-template-columns: 1.25fr 1fr; }
.ma-tbl { padding: 1em 1.2em; border-right: 1px solid #eef0f3; overflow: hidden; }
.ma-tbl table { width: 100%; border-collapse: collapse; font-size: .9em; }
.ma-tbl th { text-align: left; font-size: .78em; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #64748b; padding: .45em .4em; border-bottom: 1px solid #eef0f3; }
.ma-tbl td { padding: .5em .4em; border-bottom: 1px solid #f3f4f6; color: #1f2937; white-space: nowrap; font-variant-numeric: tabular-nums; }
.anon { position: relative; display: inline-block; min-width: 6.4em; }
.anon .nm, .anon .id { transition: opacity .5s, transform .5s var(--ease), filter .5s; }
.anon .id { position: absolute; left: 0; top: 0; opacity: 0; transform: translateY(.5em); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: #1d4ed8; font-weight: 600; }
.on-screen .anon .nm { opacity: 0; filter: blur(3px); transform: translateY(-.5em); transition-delay: var(--d, 1s); }
.on-screen .anon .id { opacity: 1; transform: none; transition-delay: var(--d, 1s); }
.ma-chart { padding: 1em 1.2em; display: flex; flex-direction: column; gap: .4em; background: #fbfcff; }
.ma-chart b { font-size: .98em; font-weight: 600; }
.ma-chart span.s { font-size: .8em; color: #64748b; }
.ma-chart svg { width: 100%; height: auto; margin-top: .3em; overflow: visible; }
.ma-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: .35em; font-size: .8em; font-weight: 600; color: #15803d; background: #ecfdf3; border-radius: 999px; padding: .2em .6em; opacity: 0; transition: opacity .5s 2s; }
.on-screen .ma-badge { opacity: 1; }
.ln-path { stroke-dasharray: 400; stroke-dashoffset: 400; }
.on-screen .ln-path { animation: draw 1.6s var(--ease) .9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ln-dot { opacity: 0; } .on-screen .ln-dot { animation: fade .3s 2.4s forwards; }
@keyframes fade { to { opacity: 1; } }

/* ---------- iPhone mockup ---------- */
.mk-phone { container-type: inline-size; position: relative; }
.mk-frame { position: relative; aspect-ratio: 9 / 19.3; border-radius: 15.5cqi; padding: 3.2cqi; background: linear-gradient(145deg, #e9ebf0 0%, #b9bdc6 30%, #f4f5f7 52%, #a8acb6 78%, #d9dce2 100%); box-shadow: inset 0 0 0 .5cqi rgba(0, 0, 0, .12), 0 40px 60px -30px rgba(15, 30, 80, .5), 0 14px 26px -16px rgba(15, 30, 80, .35); }
.mk-frame::before { content: ""; position: absolute; inset: 1.1cqi; border-radius: 14.5cqi; background: #07080b; }
.mk-scr { position: relative; height: 100%; border-radius: 12.6cqi; overflow: hidden; background: linear-gradient(180deg, #bfe0fb 0%, #d8ebfc 38%, #f4f8ff 100%); font-family: var(--font-b); font-size: 4.2cqi; color: var(--ink); }
.mk-island { position: absolute; z-index: 3; top: 2.6cqi; left: 50%; width: 31cqi; height: 9cqi; margin-left: -15.5cqi; border-radius: 99px; background: #000; }
.mk-status { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; height: 12.5cqi; padding: 0 7.5cqi 0 9.5cqi; font-size: 3.8cqi; font-weight: 600; color: #0f172a; }
.mk-status .icons { display: flex; align-items: center; gap: 1.4cqi; }
.mk-status svg { height: 3.2cqi; width: auto; }
.mp { position: absolute; inset: 12.5cqi 0 0 0; display: flex; flex-direction: column; padding: 1.2em 1.05em 0; }
.mp-top { display: flex; align-items: center; justify-content: space-between; gap: .5em; }
.mp-pill { display: inline-flex; align-items: center; gap: .35em; font-size: .72em; font-weight: 600; color: #334155; background: rgba(255, 255, 255, .78); border: 1px solid rgba(255, 255, 255, .9); padding: .35em .7em; border-radius: 999px; white-space: nowrap; }
.mp-pill svg { width: 1em; height: 1em; }
.mp-orbwrap { position: relative; width: 62%; aspect-ratio: 1; margin: 1.3em auto .4em; border-radius: 50%; background: radial-gradient(circle at 50% 45%, rgba(147, 197, 253, .55), rgba(147, 197, 253, .15) 60%, rgba(147, 197, 253, 0) 72%); }
.mp-orbwrap > .fill-orb { position: absolute; inset: 6%; width: 88%; height: 88%; }
.mp-orbwrap .breath { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(59, 130, 246, .35); animation: breath 2.6s ease-out infinite; }
@keyframes orbSpin { to { transform: rotate(360deg); } }
@keyframes breath { 0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, .35); } 100% { box-shadow: 0 0 0 2.2em rgba(59, 130, 246, 0); } }
.mp-time { text-align: center; font-size: .82em; font-weight: 600; color: var(--brand); font-variant-numeric: tabular-nums; }
.mp-h { text-align: center; font-family: var(--font-h); font-weight: 500; font-size: 1.2em; letter-spacing: -.02em; margin-top: .15em; }
.mp-s { text-align: center; font-size: .66em; color: #64748b; margin-top: .25em; display: flex; align-items: center; justify-content: center; gap: .3em; }
.mp-s svg { width: 1em; height: 1em; }
.mp-card { margin-top: .8em; padding: .75em .8em; border-radius: 1em; background: rgba(255, 255, 255, .78); border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 .6em 1.4em -1em rgba(23, 43, 99, .5); font-size: .7em; line-height: 1.45; color: #334155; }
.mp-live { position: relative; max-height: 4.4em; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%); mask-image: linear-gradient(180deg, transparent, #000 40%); }
.mp-live p { animation: liveUp 9s linear infinite; }
@keyframes liveUp { from { transform: translateY(1.5em); } to { transform: translateY(-3.5em); } }
.mp-btn { margin: auto 0 1.4em; height: 2.6em; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: .4em; font-size: .78em; font-weight: 600; color: #fff; background: var(--brand); box-shadow: 0 .6em 1.2em -.6em rgba(37, 99, 235, .8); }
.mp-btn i { width: .7em; height: .7em; border-radius: .15em; background: #fff; }
.mp-wave { display: flex; align-items: center; justify-content: center; gap: .14em; height: 1.4em; margin-top: .45em; }
.mp-wave i { width: .16em; border-radius: 1em; background: var(--brand); opacity: .75; animation: wave 1.1s ease-in-out infinite; }
@keyframes wave { 0%, 100% { height: 20%; } 50% { height: 100%; } }
.mp-greet { margin-top: .9em; font-size: .78em; color: #475569; }
.mp-name { font-family: var(--font-h); font-weight: 500; font-size: 1.55em; letter-spacing: -.02em; line-height: 1.1; }
.mp-search { margin-top: .8em; height: 2.3em; border-radius: 999px; background: rgba(255, 255, 255, .85); display: flex; align-items: center; gap: .45em; padding: 0 .9em; font-size: .7em; color: #94a3b8; }
.mp-search svg { width: 1.1em; height: 1.1em; }
.mp-chips { display: flex; gap: .35em; margin-top: .7em; font-size: .64em; }
.mp-chips span { padding: .4em .8em; border-radius: 999px; background: rgba(255, 255, 255, .85); font-weight: 600; color: #334155; white-space: nowrap; }
.mp-chips span.on { background: var(--brand); color: #fff; }
.mp-note { display: flex; gap: .6em; padding: .7em 0; border-bottom: 1px solid #eef2f8; }
.mp-note:last-child { border-bottom: 0; }
.mp-note .ni { flex: 0 0 auto; width: 1.7em; height: 1.7em; border-radius: .5em; background: #eef4ff; color: var(--brand); display: flex; align-items: center; justify-content: center; }
.mp-note .ni svg { width: 1em; height: 1em; }
.mp-note b { display: block; font-size: 1.05em; color: #0f172a; font-weight: 600; }
.mp-note span { display: block; color: #64748b; font-size: .95em; }
.mp-tabbar { margin-top: auto; height: 4.2em; display: flex; align-items: center; justify-content: space-around; background: rgba(255, 255, 255, .8); border-top: 1px solid rgba(255, 255, 255, .9); margin-left: -1.05em; margin-right: -1.05em; font-size: .6em; color: #64748b; }
.mp-tabbar .rec { width: 3.6em; height: 3.6em; border-radius: 50%; background: var(--brand); box-shadow: 0 .5em 1em -.4em rgba(37, 99, 235, .8); display: flex; align-items: center; justify-content: center; margin-top: -1.6em; }
.mp-tabbar .rec .fill-orb { display: block; width: 64%; height: 64%; }
.mp-tabbar span { display: flex; flex-direction: column; align-items: center; gap: .2em; }
.mp-tabbar svg.ti { width: 1.8em; height: 1.8em; }
.mp-tabbar .on { color: var(--brand); }
.mp-doc { margin-top: .8em; }
.mp-doc h6 { font-family: var(--font-h); font-weight: 500; font-size: 1.3em; letter-spacing: -.02em; line-height: 1.15; }
.mp-doc .meta { display: flex; gap: .4em; align-items: center; margin: .4em 0 .6em; font-size: .62em; color: #64748b; }
.mp-doc .meta i { font-style: normal; color: #15803d; background: #e8f7ee; border-radius: 999px; padding: .15em .6em; font-weight: 600; }
.mp-doc dl { display: flex; flex-direction: column; gap: .55em; }
.mp-doc dt { font-size: .58em; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--brand); }
.mp-doc dd { font-size: .7em; line-height: 1.4; color: #1f2937; }

/* ---------- section blocks ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; } .split.rev > :first-child { order: 2; } }
.visual { position: relative; }
.stage-card { position: relative; padding: 18px; border-radius: 28px; background: rgba(255, 255, 255, .42); border: 1px solid rgba(255, 255, 255, .8); box-shadow: inset 0 0 0 1px rgba(225, 232, 245, .6), 0 30px 60px -40px rgba(23, 43, 99, .5); }
@media (max-width: 600px) { .stage-card { padding: 12px; border-radius: 22px; } }

/* bullet list with icon tiles */
.feats { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.feats li { display: flex; gap: 12px; align-items: flex-start; }
.feats .ic { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: var(--brand); background: rgba(255, 255, 255, .85); border: 1px solid var(--glass-edge); box-shadow: 0 6px 14px -10px rgba(23, 43, 99, .5); }
.feats .ic svg { width: 18px; height: 18px; }
.feats b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.feats span { display: block; font-size: 13.5px; line-height: 1.45; color: var(--ink-3); margin-top: 2px; }

/* ---------- comparison table ---------- */
.cmp { margin-top: 22px; border-radius: var(--r-card); overflow: hidden; background: rgba(255, 255, 255, .86); border: 1px solid var(--glass-edge); box-shadow: var(--shadow-card); }
.cmp-head, .cmp-row { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(var(--n, 3), minmax(0, 1fr)); align-items: stretch; }
.cmp-head > div { padding: 14px 10px 12px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 7px; text-align: center; font-size: 13px; font-weight: 600; color: var(--ink-2); border-bottom: 1px solid var(--hair); }
.cmp-head > div:first-child { align-items: flex-start; justify-content: flex-end; text-align: left; padding-left: 16px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.cmp-head .us { color: var(--brand-ink); background: linear-gradient(180deg, rgba(37, 99, 235, .1), rgba(37, 99, 235, .05)); }
.cmp-logo { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.cmp-logo.txt { background: #f1f5f9; color: #334155; font-family: var(--font-h); font-weight: 600; font-size: 14px; border: 1px solid #e2e8f0; }
.cmp-logo svg, .cmp-logo img { width: 34px; height: 34px; }
.cmp-row { border-bottom: 1px solid var(--hair-2); opacity: 0; transform: translateY(8px); animation: fxIn .5s var(--ease) both; animation-delay: calc(var(--r, 0) * 90ms + 350ms); }
.cmp-row:last-child { border-bottom: 0; }
.cmp-row > div { padding: 12px 10px; display: flex; align-items: center; justify-content: center; gap: 6px; text-align: center; font-size: 12.5px; line-height: 1.3; color: var(--ink-2); }
.cmp-row > div:first-child { justify-content: flex-start; text-align: left; padding-left: 16px; font-size: 14px; font-weight: 600; color: var(--ink); }
.cmp-row > .us { background: rgba(37, 99, 235, .05); color: var(--ink); font-weight: 600; }
.mark { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.mark svg { width: 12px; height: 12px; }
.mark.y { background: var(--ok); color: #fff; }
.mark.n { background: var(--no-tint); color: var(--no); }
.mark.p { background: var(--part-tint); color: var(--part); }
.cmp-row .us .mark.y { box-shadow: 0 0 0 4px rgba(22, 163, 74, .14); animation: markPop .5s var(--spring) both; animation-delay: calc(var(--r, 0) * 90ms + 600ms); }
@keyframes markPop { from { transform: scale(0); } }
.cmp .lbl { display: block; }
@media (max-width: 640px) {
  .cmp-row { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
  .cmp-row > div:first-child { grid-column: 1 / -1; padding: 12px 14px 0; font-size: 13.5px; }
  .cmp-head { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
  .cmp-head > div:first-child { display: none; }
  .cmp-row > div { padding: 8px 6px 12px; flex-direction: column; font-size: 11.5px; }
  .cmp-row > div .lbl { display: block; }
}
.cmp-foot { font-size: 11.5px; line-height: 1.5; color: var(--ink-3); margin-top: 12px; }

/* data-flow diagram */
.flow { display: grid; gap: 12px; margin-top: 18px; }
.lane { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .8); border: 1px solid var(--glass-edge); box-shadow: var(--shadow-card); }
.lane .who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lane .who b { font-size: 13.5px; font-weight: 600; }
.lane .who span { font-size: 12px; color: var(--ink-3); }
.lane .node { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #f1f5f9; color: #334155; flex: 0 0 auto; }
.lane .node svg { width: 20px; height: 20px; }
.lane .wire { position: relative; height: 2px; background: repeating-linear-gradient(90deg, #cbd5e1 0 6px, transparent 6px 11px); }
.lane .wire i { position: absolute; top: -4px; width: 10px; height: 10px; border-radius: 3px; background: #ef4444; animation: packet 2.2s linear infinite; }
.lane .wire i:nth-child(2) { animation-delay: -.73s; } .lane .wire i:nth-child(3) { animation-delay: -1.46s; }
@keyframes packet { from { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { left: calc(100% - 10px); opacity: 0; } }
.lane.safe .wire { background: repeating-linear-gradient(90deg, #a7c4f6 0 6px, transparent 6px 11px); }
.lane.safe .wire i { background: var(--brand); animation-name: packetBounce; animation-duration: 3s; }
@keyframes packetBounce { 0% { left: 0; } 50% { left: calc(100% - 10px); } 100% { left: 0; } }
.lane.safe .node.end { background: #e8f7ee; color: var(--ok); }
.lane.risk .node.end { background: #fdecec; color: var(--no); }
.lane .tag { position: absolute; right: 14px; top: -10px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.lane.risk .tag { color: var(--no); background: #fff; border: 1px solid #f7cdcd; }
.lane.safe .tag { color: var(--ok-ink); background: #fff; border: 1px solid #c6ead3; }

/* ---------- charts ---------- */
.chart { padding: 18px 18px 14px; }
.chart-t { font-size: 14px; font-weight: 600; color: var(--ink); }
.chart-s { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.hbars { position: relative; margin-top: 16px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 16px; align-items: center; }
.hbars .lb { font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.hbars .tr { position: relative; height: 22px; }
.hbars .bar { position: absolute; left: 0; top: 0; height: 22px; width: 0; border-radius: 0 4px 4px 0; transition: width 1.2s var(--ease); }
.hbars .bar.mute { background: #cbd5e1; }
.hbars .bar.hi { background: var(--brand); }
.hbars .val { position: absolute; top: 50%; transform: translate(8px, -50%); font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; transition: left 1.2s var(--ease); left: 0; }
.hbars .axis { grid-column: 2; display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-4); border-top: 1px solid var(--hair); padding-top: 6px; font-variant-numeric: tabular-nums; }
.chart-note { font-size: 11.5px; color: var(--ink-3); margin-top: 12px; line-height: 1.45; }

.cols { display: flex; align-items: flex-end; gap: 22px; height: 150px; margin-top: 14px; padding: 0 6px; border-bottom: 1px solid var(--hair); }
.cols .c { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; }
.cols .c .v { font-size: 15px; font-weight: 600; color: var(--ink); }
.cols .c .b { width: min(56px, 70%); height: 0; border-radius: 4px 4px 0 0; transition: height 1s var(--ease); }
.cols .c .b.hi { background: var(--brand); }
.cols .c .b.mute { background: #cbd5e1; }
.cols-l { display: flex; gap: 22px; padding: 7px 6px 0; }
.cols-l span { flex: 1; text-align: center; font-size: 12px; font-weight: 600; color: var(--ink-3); }

/* evidence filter diagram */
.sieve { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 16px; }
.sieve > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 14px; font-size: 13px; color: var(--ink-2); background: rgba(255, 255, 255, .85); border: 1px solid var(--glass-edge); box-shadow: 0 8px 18px -14px rgba(23, 43, 99, .5); transform-origin: center; opacity: 0; animation: sieveIn .6s var(--ease) both; }
.sieve > div b { color: var(--ink); font-weight: 600; white-space: nowrap; }
.sieve > div:nth-child(1) { width: 100%; animation-delay: .3s; }
.sieve > div:nth-child(2) { width: 86%; animation-delay: .55s; }
.sieve > div:nth-child(3) { width: 72%; animation-delay: .8s; }
.sieve > div:nth-child(4) { width: 58%; animation-delay: 1.05s; background: var(--brand); color: #dbeafe; border-color: var(--brand); }
.sieve > div:nth-child(4) b { color: #fff; }
@keyframes sieveIn { from { opacity: 0; transform: scaleX(.92) translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 480px) { .sieve > div { font-size: 12px; padding: 9px 11px; } .sieve > div:nth-child(2) { width: 92%; } .sieve > div:nth-child(3) { width: 84%; } .sieve > div:nth-child(4) { width: 76%; } }

/* mind map */
.mind { width: 100%; height: auto; font-family: var(--font-b); }
.mind .e path { fill: none; stroke: #9bbcf0; stroke-width: 1.5; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.2s var(--ease) forwards; }
.mind .n rect { fill: #fff; stroke: #bfd3f5; }
.mind .l rect { fill: #eef4ff; }
.mind text { text-anchor: middle; font-size: 12.5px; font-weight: 600; fill: #0f172a; }
.mind text.s { font-size: 10px; font-weight: 500; fill: #64748b; }
.mind .l text { font-size: 10.5px; font-weight: 500; fill: #1e3a8a; }
.mind .c circle { fill: #2563eb; filter: drop-shadow(0 6px 14px rgba(37, 99, 235, .35)); }
.mind .c text { fill: #fff; font-size: 14px; }
.mind .c text.s { fill: #dbeafe; font-size: 11px; }
.mind .n, .mind .l { opacity: 0; animation: fade .5s var(--ease) forwards; }

/* ---------- notes vs Apple Notes ---------- */
.vsn { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: stretch; margin-top: 22px; }
.vsn-card { border-radius: 20px; padding: 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.vsn-card.plain { background: #fffdf5; border: 1px solid #f1e7c4; box-shadow: var(--shadow-card); }
.vsn-card.dfy { background: #fff; border: 1px solid #d6e3fb; box-shadow: 0 0 0 4px rgba(37, 99, 235, .08), var(--shadow-card); }
.vsn-h { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink); }
.vsn-h .lg { width: 26px; height: 26px; border-radius: 7px; overflow: hidden; flex: 0 0 auto; }
.vsn-h .lg svg { width: 26px; height: 26px; }
.vsn-plain { font-family: -apple-system, 'SF Pro Text', 'Helvetica Neue', var(--font-b); font-size: 13px; line-height: 1.55; color: #3f3f46; white-space: pre-line; background-image: repeating-linear-gradient(180deg, transparent 0 19px, #f1e7c4 19px 20px); }
.vsn-arrow { align-self: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-btn); animation: nudge 1.6s ease-in-out infinite; }
.vsn-arrow svg { width: 18px; height: 18px; }
@keyframes nudge { 50% { transform: translateX(3px); } }
.vsn-dfy dl { display: flex; flex-direction: column; gap: 7px; }
.vsn-dfy dt { font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--brand); }
.vsn-dfy dd { font-size: 12.5px; line-height: 1.4; color: #1f2937; }
.vsn-dfy .tags { display: flex; flex-wrap: wrap; gap: 5px; }
.vsn-dfy .tags span { font-size: 10.5px; font-weight: 600; color: var(--brand-ink); background: var(--tint); border-radius: 999px; padding: 2px 8px; }
.vsn-dfy dl > div { opacity: 0; transform: translateY(6px); animation: fxIn .5s var(--ease) both; }
.vsn-dfy dl > div:nth-child(1) { animation-delay: .5s; } .vsn-dfy dl > div:nth-child(2) { animation-delay: .8s; } .vsn-dfy dl > div:nth-child(3) { animation-delay: 1.1s; } .vsn-dfy dl > div:nth-child(4) { animation-delay: 1.4s; }
@media (max-width: 560px) { .vsn { grid-template-columns: 1fr; } .vsn-arrow { transform: rotate(90deg); animation: none; justify-self: center; } }

/* ---------- stays on device ---------- */
.sync { position: relative; display: grid; grid-template-columns: 26% 1fr 56%; align-items: end; gap: 0; }
.sync .mk-phone { width: 100%; }
.sync-wire { position: relative; align-self: center; height: 70px; margin: 0 -4px; }
.sync-wire svg { width: 100%; height: 100%; overflow: visible; }
.sync-wire .lbl { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); font-size: 11px; font-weight: 600; color: var(--ok-ink); background: #fff; border: 1px solid #c6ead3; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.sync-cloud { position: absolute; left: 50%; top: -4%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.sync-cloud .cl { position: relative; width: 54px; height: 38px; color: #94a3b8; }
.sync-cloud .cl svg { width: 100%; height: 100%; }
.sync-cloud .cl::after { content: ""; position: absolute; left: 2px; right: 2px; top: 52%; height: 3px; margin-top: -1.5px; border-radius: 2px; background: #ef4444; box-shadow: 0 0 0 2px #fff; transform: rotate(-32deg) scaleX(0); transform-origin: center; animation: strike .5s var(--ease) 1s forwards; }
@keyframes strike { to { transform: rotate(-32deg) scaleX(1); } }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.trio > div { padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, .82); border: 1px solid var(--glass-edge); box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 8px; }
.trio b { font-size: 14px; font-weight: 600; }
.trio span { font-size: 12.5px; line-height: 1.4; color: var(--ink-3); }
.trio .vis { height: 48px; border-radius: 12px; background: linear-gradient(135deg, #f3f7ff, #e4edff); display: flex; align-items: center; justify-content: center; gap: 4px; color: var(--brand); overflow: hidden; }
.trio .vis svg { width: 22px; height: 22px; }
.trio .vis .w { width: 3px; border-radius: 3px; background: var(--brand); animation: wave 1.1s ease-in-out infinite; }
.trio .vis .lines { width: 70%; display: flex; flex-direction: column; gap: 5px; }
.trio .vis .lines i { height: 4px; border-radius: 4px; background: #bcd2f7; }
.trio .vis .lines i:nth-child(2) { width: 80%; } .trio .vis .lines i:nth-child(3) { width: 55%; background: var(--brand); }
.trio .vis .av { width: 22px; height: 22px; border-radius: 50%; font-size: 9px; font-weight: 700; color: #fff; display: flex; align-items: center; justify-content: center; }
@media (max-width: 560px) { .trio { grid-template-columns: 1fr; } .trio > div { flex-direction: row; align-items: center; gap: 12px; } .trio .vis { flex: 0 0 64px; height: 52px; } .trio > div > div:last-child { display: flex; flex-direction: column; gap: 2px; } }

/* ---------- loading ---------- */
.ld { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 10px; }
.ring { position: relative; width: 172px; height: 172px; margin: 26px auto 8px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .trk { fill: none; stroke: rgba(37, 99, 235, .12); stroke-width: 10; }
.ring .val { fill: none; stroke: url(#ringGrad); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 471; stroke-dashoffset: 471; transition: stroke-dashoffset .25s linear; }
.ring .pct { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-family: var(--font-h); font-size: 24px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.ring-orb { width: 72px; height: 72px; }
.ld-list { list-style: none; width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 8px; margin-top: 18px; text-align: left; }
.ld-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .78); border: 1px solid var(--glass-edge); font-size: 14px; font-weight: 500; color: var(--ink-3); transition: color .3s, background .3s; }
.ld-list li .st { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #cdd8ea; display: flex; align-items: center; justify-content: center; color: #fff; transition: all .3s var(--spring); }
.ld-list li .st svg { width: 12px; height: 12px; opacity: 0; }
.ld-list li.busy .st { border-color: rgba(37, 99, 235, .25); border-top-color: var(--brand); animation: spin .8s linear infinite; }
.ld-list li.done { color: var(--ink); background: #fff; }
.ld-list li.done .st { background: var(--ok); border-color: var(--ok); animation: none; }
.ld-list li.done .st svg { opacity: 1; }
.ld-fact { margin-top: 18px; max-width: 420px; font-size: 13px; line-height: 1.5; color: var(--ink-2); min-height: 40px; transition: opacity .4s; }

/* ---------- how it works ---------- */
.steps { list-style: none; position: relative; display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.steps::before { content: ""; position: absolute; left: 25px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(180deg, var(--brand), rgba(37, 99, 235, .15)); transform-origin: top; animation: grow 1.2s var(--ease) .4s both; }
@keyframes grow { from { transform: scaleY(0); } }
.steps li { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 16px 16px 16px 12px; border-radius: 20px; background: rgba(255, 255, 255, .82); border: 1px solid var(--glass-edge); box-shadow: var(--shadow-card); }
.steps .n { flex: 0 0 auto; width: 28px; height: 28px; margin-left: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #fff; background: var(--brand); box-shadow: 0 0 0 5px #fff, 0 0 0 6px rgba(37, 99, 235, .2); }
.steps b { display: block; font-size: 16px; font-weight: 600; color: var(--ink); }
.steps span.d { display: block; font-size: 13.5px; line-height: 1.45; color: var(--ink-3); margin-top: 3px; }
.steps .when { margin-left: auto; align-self: center; font-size: 11.5px; font-weight: 600; color: var(--brand-ink); background: var(--tint); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.steps li:first-child .when { color: var(--ok-ink); background: var(--ok-tint); }
@media (max-width: 420px) { .steps .when { display: none; } }
.callout { display: flex; gap: 12px; align-items: center; margin-top: 18px; padding: 14px 16px; border-radius: 18px; background: linear-gradient(180deg, #ecfdf3, #e3f8eb); border: 1px solid #c6ead3; font-size: 14.5px; color: #14532d; }
.callout svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--ok); }
.callout b { font-weight: 700; }

/* ---------- offer ---------- */
.plan { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.offer { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 20px; }
@media (min-width: 900px) { .fs-offer .fs-in { max-width: 980px; } .offer { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.price { position: relative; overflow: hidden; padding: 24px 22px 22px; border-radius: 26px; color: #fff; background: var(--night) radial-gradient(120% 80% at 10% 0%, rgba(37, 99, 235, .6), rgba(3, 4, 31, 0) 62%); box-shadow: 0 40px 70px -36px rgba(3, 4, 31, .8); }
.price::after { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 30% at 90% 100%, rgba(96, 165, 250, .3), transparent 70%); pointer-events: none; }
.price-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: #bfdbfe; background: rgba(37, 99, 235, .22); border: 1px solid rgba(147, 197, 253, .35); padding: 6px 12px; border-radius: 999px; }
.price-badge i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px #34d399; animation: pulse 1.6s ease-in-out infinite; }
.price-name { font-size: 15px; font-weight: 600; margin-top: 18px; }
.price-amt { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.price-amt b { font-family: var(--font-h); font-size: clamp(52px, 13vw, 72px); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.price-amt s { font-size: 22px; font-weight: 500; color: rgba(219, 228, 255, .55); text-decoration-thickness: 2px; }
.price-amt em { font-style: normal; font-size: 14px; color: rgba(219, 228, 255, .8); }
.price-terms { font-size: 13.5px; color: rgba(219, 228, 255, .85); margin-top: 6px; }
.price-spots { margin-top: 20px; }
.price-dots { display: flex; gap: 5px; }
.price-dots i { flex: 1; height: 8px; border-radius: 999px; background: linear-gradient(90deg, #60a5fa, #93c5fd); transform-origin: left; animation: dotIn .4s var(--ease) both; }
.price-dots i.taken { background: rgba(255, 255, 255, .14); }
@keyframes dotIn { from { transform: scaleX(0); } }
.price-spots p { font-size: 12.5px; color: rgba(219, 228, 255, .82); margin-top: 9px; }
.price-spots p b { color: #fff; }
.price .btn { width: 100%; margin-top: 20px; color: #0b1030; background: linear-gradient(180deg, #fff, #e6edff); box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 12px 30px -8px rgba(37, 99, 235, .65); }
.price-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; color: rgba(219, 228, 255, .75); margin-top: 10px; }
.price-note svg { width: 14px; height: 14px; color: #34d399; }
.incl { padding: 20px; }
.incl h3 { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.incl ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.incl li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; color: var(--ink); }
.incl li .mark { margin-top: -1px; width: 20px; height: 20px; }
.incl li .mark svg { width: 11px; height: 11px; }

/* ---------- payment ---------- */
.sheet { margin-top: 20px; padding: 6px 18px 18px; }
.sheet-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--hair-2); font-size: 14.5px; color: var(--ink-2); }
.sheet-row b { color: var(--ink); font-weight: 600; }
.sheet-row .r { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sheet-row s { color: var(--ink-4); margin-right: 6px; }
.sheet-row .free { color: var(--ok-ink); font-weight: 600; }
.sheet-row.total { border-bottom: 0; padding-top: 16px; font-size: 16px; }
.sheet-row.total b { font-family: var(--font-h); font-size: 26px; font-weight: 600; letter-spacing: -.02em; color: var(--ok-ink); }
.sheet-row.later { padding-top: 0; border-bottom: 0; font-size: 13px; }
.paymarks { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
.paymarks span { font-size: 11px; font-weight: 700; color: #334155; background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; padding: 4px 8px; letter-spacing: .01em; }
.secure { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.secure svg { flex: 0 0 auto; width: 16px; height: 16px; color: var(--ok); margin-top: 1px; }

/* ---------- done ---------- */
.burst { position: relative; width: 108px; height: 108px; margin: 10px auto 6px; }
.burst .core { position: absolute; inset: 6px; animation: popIn .7s var(--spring) both; }
.burst .tickb { position: absolute; right: 8px; bottom: 8px; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--ok); box-shadow: 0 0 0 3px #fff, 0 6px 14px -4px rgba(22, 163, 74, .6); animation: popIn .6s var(--spring) .45s both; }
.burst .tickb svg { width: 15px; height: 15px; }
.burst i { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 2px; background: var(--c, #3b82f6); opacity: 0; animation: confetti 1.2s var(--ease) var(--dl, .2s) both; }
@keyframes popIn { from { transform: scale(.3); opacity: 0; } }
@keyframes confetti { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(220deg); } }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; margin: 14px -2px 0; scrollbar-width: none; scroll-snap-type: x mandatory; }
.days::-webkit-scrollbar { display: none; }
.day { flex: 0 0 auto; scroll-snap-align: start; width: 72px; padding: 10px 6px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; gap: 2px; background: rgba(255, 255, 255, .85); border: 1.5px solid var(--glass-edge); box-shadow: 0 8px 18px -14px rgba(23, 43, 99, .5); transition: all .2s var(--ease); }
.day .w { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.day .n { font-family: var(--font-h); font-size: 24px; font-weight: 500; color: var(--ink); line-height: 1.1; }
.day .m { font-size: 11.5px; color: var(--ink-3); }
.day.on { background: var(--brand); border-color: var(--brand); box-shadow: 0 12px 24px -12px rgba(37, 99, 235, .8); }
.day.on .w, .day.on .n, .day.on .m { color: #fff; }
.wins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.win { padding: 12px 6px; border-radius: 14px; text-align: center; background: rgba(255, 255, 255, .85); border: 1.5px solid var(--glass-edge); font-size: 13.5px; font-weight: 600; color: var(--ink); transition: all .2s var(--ease); }
.win small { display: block; font-size: 11.5px; font-weight: 500; color: var(--ink-3); margin-top: 2px; }
.win.on { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); color: var(--brand-ink); }
.next { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.next li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.next li .mark { margin-top: 0; }
.booked { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; background: #fff; border: 1px solid #c6ead3; box-shadow: var(--shadow-card); margin-top: 14px; }
.booked .mark { width: 30px; height: 30px; } .booked .mark svg { width: 15px; height: 15px; }
.booked > div b { display: block; font-size: 15px; } .booked > div span { display: block; font-size: 13px; color: var(--ink-3); margin-top: 2px; }

/* ---------- reply screen ---------- */
.typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -.15em; background: var(--brand); animation: blink 1s steps(2) infinite; }
.qa { display: flex; flex-direction: column; gap: 10px; }
.qa .q { align-self: flex-end; max-width: 86%; font-size: 14px; line-height: 1.45; color: #fff; background: var(--brand); padding: 10px 14px; border-radius: 18px 18px 6px 18px; }
.qa .a { align-self: flex-start; max-width: 92%; font-size: 14px; line-height: 1.5; color: var(--ink); background: #fff; border: 1px solid #e6ebf3; padding: 12px 14px; border-radius: 18px 18px 18px 6px; box-shadow: var(--shadow-card); }
.qa .a .src { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.qa .a .src span { font-size: 11px; font-weight: 600; color: var(--brand-ink); background: var(--tint); border-radius: 999px; padding: 2px 8px; }
.qa .a, .qa .q { opacity: 0; animation: fxIn .5s var(--ease) both; }
.qa .q { animation-delay: .3s; } .qa .a { animation-delay: 1.2s; }

/* ---------- misc ---------- */
.toast { position: fixed; z-index: 100; left: 50%; top: calc(var(--top-h) + 10px); transform: translate(-50%, -10px); opacity: 0; pointer-events: none; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 500; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .4); transition: opacity .25s, transform .25s var(--ease); max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.qz-foot { text-align: center; font-size: 11.5px; color: var(--ink-4); padding: 0 20px 18px; }

@media (min-width: 720px) {
  .fs { padding: 34px 32px 140px; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fs-cta { padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
}
@media (min-width: 960px) {
  .fs { padding-top: 40px; }
  .fs-sub { font-size: 17.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .qz-bg i { animation: none; }
}

/* ---------- engine hooks ---------- */
.fill-orb { display: inline-block; line-height: 0; }
.fill-orb doctify-orb, .fill-orb doctify-orb canvas { width: 100% !important; height: 100% !important; }
.fs-cta[hidden] { display: none; }
.fs-cta { transition: transform .35s var(--ease), opacity .3s; }
.fs-cta.in { animation: ctaIn .5s var(--ease) both; }
.fs-cta.hide { transform: translateY(110%); opacity: 0; pointer-events: none; }
@keyframes ctaIn { from { opacity: 0; transform: translateY(20px); } }
@media (min-width: 960px) { body[data-step="hero"] .fs-cta { display: none; } }
.hbars.go .bar { width: var(--w); }
.hbars.go .val { left: var(--w); }
.cols.go .b { height: var(--h); }
.fs-vs_ai .fs-in, .fs-vs_notes .fs-in { max-width: 800px; }
.fs-pay .fs-in, .fs-done .fs-in, .fs-email .fs-in, .fs-verify .fs-in, .fs-name .fs-in { max-width: 560px; }
.fs-loading .fs-in, .fs-how .fs-in { max-width: 600px; }
.hero .fs-eyebrow svg { width: 14px; height: 14px; }
.fs-eyebrow svg { width: 13px; height: 13px; }
noscript p { max-width: 560px; margin: 40px auto; padding: 0 20px; font-size: 16px; line-height: 1.5; }

/* ---------- fixes after review ---------- */
[tabindex="-1"]:focus { outline: none; }
.hbars .val.in { transform: translate(calc(-100% - 10px), -50%); color: var(--ink); }
.sync-lbl { display: flex; justify-content: center; margin-top: 14px; }
.sync-wire .lbl { display: none; }
@media (max-width: 959px) {
  .hero { display: flex; flex-direction: column; gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy > .fs-eyebrow { order: 1; }
  .hero-copy > h1 { order: 2; }
  .hero-copy > .fs-sub { order: 3; }
  .hero > .visual { order: 4; margin: 26px 0 6px; align-self: stretch; width: 100%; }
  .hero-copy > .vp { order: 5; }
  .hero-copy > .hero-trust { order: 6; }
}
.ma-badge svg { width: 1em; height: 1em; }
.trio > div > div { display: flex; flex-direction: column; gap: 2px; }
@media (min-width: 960px) {
  .fs-wide .fs-in { margin: auto; }
  .hero h1 { font-size: clamp(40px, 4.2vw, 56px); }
  .hero h1 .lead { font-size: .46em; }
}

/* ---------- calendar, email and online meetings ---------- */
.ma-mt { grid-template-columns: 34% 1fr; }
.ma-agenda { padding: 1em .9em; border-right: 1px solid #eef0f3; background: #fcfcfd; display: flex; flex-direction: column; gap: .45em; }
.ma-day { font-weight: 600; font-size: .95em; margin-bottom: .2em; }
.ma-ev { display: flex; gap: .6em; padding: .55em .6em; border-radius: .6em; border-left: .22em solid #cbd5e1; background: #fff; }
.ma-ev .t { font-size: .8em; font-weight: 600; color: #64748b; font-variant-numeric: tabular-nums; padding-top: .1em; }
.ma-ev .b { display: flex; flex-direction: column; gap: .1em; min-width: 0; }
.ma-ev b { font-size: .9em; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ma-ev .b span { font-size: .78em; color: #64748b; }
.ma-ev.on { border-left-color: var(--brand); background: #eef4ff; }
.ma-cal-src { margin-top: auto; display: flex; align-items: center; gap: .4em; font-size: .78em; color: #64748b; }
.ma-cal-src svg { width: 1em; height: 1em; }
.ma-live { position: relative; padding: 1em 1.3em; }
.ma-live-h { display: flex; align-items: center; justify-content: space-between; gap: .6em; margin-bottom: .8em; }
.ma-live-h b { font-family: var(--font-h); font-weight: 500; font-size: 1.25em; letter-spacing: -.01em; }
.ma-live .ma-rec { position: static; }
.ma-tr { display: flex; flex-direction: column; gap: .5em; }
.ma-tr p { font-size: .95em; line-height: 1.4; color: #1f2937; }
.ma-tr b { display: block; font-size: .78em; font-weight: 700; color: var(--brand); margin-bottom: .05em; }
.ma-tr p:nth-child(even) b { color: #0f766e; }
.ma-tr p { opacity: 0; transform: translateY(.4em); }
.on-screen .ma-tr p { animation: evIn .5s var(--ease) both; }
.on-screen .ma-tr p:nth-child(2) { animation-delay: .6s; } .on-screen .ma-tr p:nth-child(3) { animation-delay: 1.2s; } .on-screen .ma-tr p:nth-child(4) { animation-delay: 1.8s; }
.mt-wrap { position: relative; padding-bottom: 8px; }
.notif { position: absolute; right: -6px; top: 10%; width: min(290px, 64%); display: flex; gap: 10px; padding: 12px 14px; border-radius: 18px; background: rgba(255, 255, 255, .9); border: 1px solid var(--glass-edge); box-shadow: 0 24px 50px -24px rgba(15, 30, 80, .55); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); opacity: 0; transform: translateX(24px); }
.on-screen .notif { animation: notifIn .6s var(--spring) .9s both; }
@keyframes notifIn { to { opacity: 1; transform: none; } }
.notif-orb { flex: 0 0 auto; width: 30px; height: 30px; margin-top: 1px; }
.notif b { display: block; font-size: 14px; font-weight: 600; }
.notif span { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 1px; }
.notif-btns { display: flex; gap: 6px; margin-top: 9px; }
.notif-btns em, .notif-btns i { font-style: normal; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; }
.notif-btns em { color: #fff; background: var(--brand); }
.notif-btns i { color: var(--ink-2); background: #f1f5f9; }
.mail { margin-top: 14px; padding: 14px 16px; }
.mail-h { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.mail-h svg { width: 17px; height: 17px; color: var(--brand); }
.mail-f { display: flex; gap: 8px; font-size: 13px; color: var(--ink); padding: 7px 0; border-bottom: 1px solid var(--hair-2); }
.mail-f span { width: 58px; color: var(--ink-3); flex: 0 0 auto; }
.mail-b { font-size: 13px; line-height: 1.5; color: var(--ink-2); margin-top: 9px; }
.mail-a { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.mail-a span { font-size: 12px; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid #e2e8f0; border-radius: 999px; padding: 5px 10px; }
.mail-a em { margin-left: auto; font-style: normal; font-size: 11.5px; color: var(--ink-3); }
.apps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.apps span { font-size: 12px; font-weight: 600; color: var(--ink-2); background: rgba(255, 255, 255, .8); border: 1px solid var(--glass-edge); border-radius: 999px; padding: 5px 10px; }
@media (max-width: 600px) { .notif { position: relative; right: auto; top: auto; width: auto; margin: -18px 10px 0; } }
.ma-new svg { width: 1em; height: 1em; }
@media (min-width: 601px) { .notif { top: 46%; right: -10px; } }

.cmp-logo.brand { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; }
.cmp-logo.brand img { width: 22px; height: 22px; }
