/* Syncc marketing homepage ("/"). Written for Syncc: plain CSS, no framework or third-party code.
 * Colours come from theme.css tokens (so BRAND_COLOR and both themes apply), plus the Slot Grid logo colours.
 * The hero demo (.demo) is a live HTML mock of the product. It is laid out at a fixed "native" size in em
 * and its font-size is derived from the container width (container query units), so it scales crisply
 * with no JavaScript and no layout shift. public/home.js only drives the scripted loop.
 * Look follows the promo video: near-black + red aurora, grain, Inter throughout (uppercase tracked
 * eyebrows, italic accents with a glowing red underline). */
:root {
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.22, 1, .36, 1);
  --ease-inout: cubic-bezier(.65, 0, .35, 1);
  --ease-over: cubic-bezier(.34, 1.4, .44, 1);
  --logo-cell: #7048e8;
  --logo-ink: #171717;
  --lp-hero-bg: radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--accent) 7%, var(--bg)), var(--bg) 70%);
  --lp-card: color-mix(in srgb, var(--card) 86%, transparent);
  --lp-glow: color-mix(in srgb, var(--accent) 45%, transparent);
  --grain-opacity: .05;
}
:root[data-theme="dark"] { --logo-cell: #a08bf5; --logo-ink: #ffffff; --grain-opacity: .07;
  --lp-hero-bg: radial-gradient(120% 70% at 50% 0%, #120808, var(--bg) 70%); }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; font-family: var(--font-sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: hidden; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--accent-tint); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: .35rem; }
.icon { width: 1em; height: 1em; flex: 0 0 auto; display: inline-block; vertical-align: -0.125em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -3rem; z-index: 100; background: var(--btn); color: var(--btn-ink); padding: .5rem .9rem; border-radius: .5rem; text-decoration: none; transition: top .2s; }
.skip:focus { top: 1rem; }
.sf-logo { --sf-logo-cell: var(--logo-cell); --sf-logo-ink: var(--logo-ink); }

/* ---------- Accent: Inter italic in the accent colour with a soft glowing underline (as in the video) ---------- */
.accent-serif { font-family: var(--font-sans); font-style: italic; font-weight: inherit; letter-spacing: inherit; color: var(--accent);
  position: relative; display: inline-block; padding: 0 .04em; white-space: nowrap; }
.accent-serif::after { content: ''; position: absolute; left: .04em; right: .04em; bottom: .02em; height: .06em; min-height: 2px; border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--accent) 18%, var(--accent) 82%, transparent);
  box-shadow: 0 0 .5em var(--lp-glow), 0 0 1.2em var(--lp-glow); opacity: .9; }
/* The one exception to Inter: "seconds." in "Booked in seconds." (hero headline and the demo's done
 * screen) keeps the Instrument Serif Italic accent from the promo video. Self-hosted, see /fonts/instrument-serif/. */
.accent-serif.accent-seconds { font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 400;
  letter-spacing: -0.01em; font-size: 1.12em; }
.lp-h1 .accent-serif.accent-seconds { letter-spacing: -0.03em; }

/* ---------- Buttons ---------- */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; height: 2.5rem; padding: 0 1rem; border-radius: .6rem; font: inherit; font-size: .9rem; font-weight: 550;
  text-decoration: none; white-space: nowrap; letter-spacing: -0.01em; transition: transform .2s var(--ease-out), background .2s, box-shadow .25s, color .2s; }
.lp-btn.lg { height: 3rem; padding: 0 1.35rem; font-size: 1rem; border-radius: .7rem; }
.lp-btn .icon { transition: transform .25s var(--ease-out); }
.lp-btn:hover .icon { transform: translateX(3px); }
.lp-btn:active { transform: scale(.97); }
.lp-btn.primary { background: var(--accent-fill); color: var(--on-accent); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--on-accent) 25%, transparent), 0 .4rem 1.4rem -0.3rem var(--lp-glow); }
.lp-btn.primary:hover { background: var(--accent-strong); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--on-accent) 25%, transparent), 0 .6rem 2rem -0.3rem var(--lp-glow); }
:root[data-theme="dark"] .lp-btn.primary:hover { background: var(--accent-fill); filter: brightness(1.12); }
.lp-btn.ghost { color: var(--ink); background: color-mix(in srgb, var(--card) 60%, transparent); box-shadow: inset 0 0 0 1px var(--line-strong); }
.lp-btn.ghost:hover { background: var(--surface); }

/* Theme toggle (same markup as the app pages). */
.theme-toggle { width: 2.5rem; height: 2.5rem; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: .6rem;
  background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: background .15s, transform .2s; }
.theme-toggle:hover { background: var(--surface); }
.theme-toggle:active { transform: scale(.94); }
.theme-toggle svg { width: 18px; height: 18px; display: block; }
.theme-toggle .icon-moon, [data-theme="dark"] .theme-toggle .icon-sun { display: block; }
.theme-toggle .icon-sun, [data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ---------- Nav ---------- */
/* Sticky the whole time. At the top of the page it is fully transparent and the hero runs underneath it
   (negative bottom margin = its own height, so nothing below moves); once the page is scrolled a few pixels,
   home.js sets data-scrolled and a theme-aware translucent background, blur and hairline fade in. */
.lp-nav { --lp-nav-h: 4rem; position: sticky; top: 0; z-index: 30; margin-bottom: calc(-1 * var(--lp-nav-h) - 1px);
  background: transparent; border-bottom: 1px solid transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.lp-nav[data-ready] { transition: background-color .28s var(--ease-out, ease), border-color .28s var(--ease-out, ease), box-shadow .28s var(--ease-out, ease), backdrop-filter .28s var(--ease-out, ease), -webkit-backdrop-filter .28s var(--ease-out, ease); }
.lp-nav[data-scrolled] { background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: color-mix(in srgb, var(--line) 70%, transparent); box-shadow: 0 6px 24px -18px rgb(0 0 0 / .45); }
:root:not([data-theme="dark"]) .lp-nav[data-scrolled] { background: color-mix(in srgb, var(--bg) 78%, transparent); box-shadow: 0 6px 24px -20px rgb(15 15 30 / .25); }
/* Sentinel for the IntersectionObserver: when it leaves the viewport the page is scrolled past 12px. */
.lp-nav-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 12px; pointer-events: none; visibility: hidden; }
/* Three columns: logo left, section links centred on the page (equal side columns), actions right. */
.lp-nav-in { max-width: 76rem; margin: 0 auto; height: var(--lp-nav-h); padding: 0 1.5rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.lp-logo { display: inline-flex; justify-self: start; border-radius: .4rem; }
.logo-lockup { height: 1.875rem; width: auto; display: block; }
.lp-links { display: flex; gap: .25rem; justify-self: center; }
.lp-links a { color: var(--muted); text-decoration: none; font-size: .875rem; font-weight: 500; padding: .4rem .7rem; border-radius: .5rem; transition: color .15s, background .15s; }
.lp-links a:hover { color: var(--ink); background: var(--surface); }
.lp-nav-end { justify-self: end; display: flex; align-items: center; gap: .6rem; }

/* ---------- Layout ---------- */
.lp-wrap { max-width: 76rem; margin: 0 auto; padding: 0 1.5rem; position: relative; }
.lp-wrap.narrow { max-width: 56rem; }
.lp-sec { padding: 7rem 0 0; overflow-x: clip; } /* clip: scattered illustration parts never widen the page (and sticky still works) */
.lp-kicker, .lp-eyebrow { font-family: var(--font-sans); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
:root:not([data-theme="dark"]) .lp-kicker, :root:not([data-theme="dark"]) .lp-eyebrow { color: var(--accent-ink); }
.lp-h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.05; letter-spacing: -0.045em; margin-top: .9rem; max-width: 22ch; }
.lp-h2 .accent-serif { letter-spacing: -0.02em; }

/* ---------- Hero ---------- */
.lp-hero { position: relative; padding: calc(4.5rem + 4rem + 1px) 0 0; text-align: center; background: var(--lp-hero-bg); isolation: isolate; }
.fx { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.fx > span { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.fx-a { width: 46rem; height: 30rem; left: 50%; top: -12rem; margin-left: -34rem; background: color-mix(in srgb, var(--accent) 30%, transparent); animation: drift-a 22s ease-in-out infinite alternate; }
.fx-b { width: 38rem; height: 26rem; left: 50%; top: -6rem; margin-left: 2rem; background: color-mix(in srgb, var(--accent-fill) 24%, transparent); animation: drift-b 26s ease-in-out infinite alternate; }
.fx-c { width: 60rem; height: 22rem; left: 50%; top: 30rem; margin-left: -30rem; background: color-mix(in srgb, var(--accent) 14%, transparent); animation: drift-c 30s ease-in-out infinite alternate; }
:root:not([data-theme="dark"]) .fx > span:not(.fx-grain) { opacity: .55; }
.fx > .fx-grain { inset: 0; border-radius: 0; filter: none; opacity: var(--grain-opacity); mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
:root[data-theme="dark"] .fx > .fx-grain { mix-blend-mode: soft-light; opacity: .14; }
@keyframes drift-a { to { transform: translate3d(8%, 14%, 0) scale(1.12); } }
@keyframes drift-b { to { transform: translate3d(-12%, 18%, 0) scale(.92); } }
@keyframes drift-c { to { transform: translate3d(6%, -10%, 0) scale(1.1); } }
.lp-eyebrow { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .85rem; border-radius: 99px; background: color-mix(in srgb, var(--card) 70%, transparent); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted) !important; letter-spacing: .1em; }
.lp-eyebrow .dot { width: .45rem; height: .45rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--lp-glow); animation: ping 2.6s var(--ease-out) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 var(--lp-glow); } 70%, 100% { box-shadow: 0 0 0 .5rem transparent; } }
.lp-h1 { font-size: clamp(3rem, 9vw, 6.75rem); line-height: .98; letter-spacing: -0.06em; font-weight: 650; margin: 1.6rem auto 0; }
.lp-h1 .accent-serif { letter-spacing: -0.03em; padding-right: .08em; }
.lp-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 40rem; margin: 1.6rem auto 0; line-height: 1.55; }
.lp-ctas { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 2.2rem; }
.lp-trust { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.6rem; color: var(--muted); font-size: .85rem; }
.lp-trust li { display: inline-flex; align-items: center; gap: .45rem; }
.lp-trust .icon { color: var(--accent); }
.lp-demo-wrap { max-width: 76rem; margin: 3.25rem auto 0; padding: 0 1.5rem; position: relative; }
.lp-demo-wrap::before { content: ''; position: absolute; left: 10%; right: 10%; top: 8%; bottom: -6%; border-radius: 50%; background: color-mix(in srgb, var(--accent) 22%, transparent); filter: blur(70px); z-index: -1; }

/* ---------- Demo frame ----------
 * Native size: 75em x 45em (1200 x 720 at 16px). The canvas font-size is the frame width / 75. */
.demo { container-type: inline-size; position: relative; border-radius: 1.1rem; padding: 1px; text-align: left;
  background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 16%, transparent), color-mix(in srgb, var(--ink) 4%, transparent) 40%, color-mix(in srgb, var(--accent) 30%, transparent));
  box-shadow: var(--shadow-lift), 0 2.5rem 6rem -2rem color-mix(in srgb, var(--accent) 25%, transparent); }
.demo-canvas { --u: calc(100cqw / 75); font-size: var(--u); width: 75em; height: 45em; position: relative; overflow: hidden; border-radius: calc(1.1rem - 1px);
  background: var(--card); color: var(--ink); font-family: var(--font-sans); line-height: 1.4; user-select: none; -webkit-user-select: none;
  transition: opacity .6s var(--ease-soft); }
.demo-canvas .icon { width: 1.1em; height: 1.1em; }
.demo-canvas[data-fade] { opacity: 0; }
.demo-canvas b { font-weight: 600; }
.dm-bar { height: 2.75em; display: flex; align-items: center; padding: 0 1em; gap: 1em; border-bottom: 1px solid var(--line); background: var(--surface); }
.dm-dots { display: flex; gap: .45em; width: 6em; }
.dm-dots i { width: .75em; height: .75em; border-radius: 50%; background: color-mix(in srgb, var(--ink) 16%, transparent); }
.dm-bar-end { width: 6em; }
.dm-url { flex: 1; max-width: 26em; margin: 0 auto; height: 1.85em; border-radius: .55em; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; justify-content: center; gap: .4em;
  font-size: .8125em; color: var(--muted); white-space: nowrap; overflow: hidden; }
.dm-url .icon { width: .95em; height: .95em; }
.dm-url-host { color: var(--ink); }
.dm-url-admin, [data-view="admin"] .dm-url-book { display: none; }
[data-view="admin"] .dm-url-admin { display: inline; }
.dm-stage { position: relative; height: 42.25em; }
.dm-book, .dm-admin { position: absolute; inset: 0; transition: opacity .55s var(--ease-soft), transform .7s var(--ease-out), filter .55s; }
.dm-admin { opacity: 0; transform: translateY(1.5em) scale(.985); filter: blur(4px); pointer-events: none; }
[data-view="admin"] .dm-admin { opacity: 1; transform: none; filter: none; }
[data-view="admin"] .dm-book { opacity: 0; transform: scale(.97); filter: blur(4px); }

/* Booking page */
.dm-book { display: grid; grid-template-columns: 19em 1fr; }
.dm-info { padding: 2.25em 2em; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 1em; }
.dm-host { display: flex; align-items: center; gap: .65em; color: var(--muted); }
.dm-host > span:last-child { font-size: .9375em; }
.dm-avatar { width: 2.6em; height: 2.6em; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-fill)); color: var(--on-accent); font-weight: 650; }
.dm-info h4 { font-size: 1.75em; letter-spacing: -0.035em; line-height: 1.1; font-weight: 650; }
.dm-chips { display: flex; flex-direction: column; gap: .6em; color: var(--muted); }
.dm-chips span { display: inline-flex; align-items: center; gap: .55em; font-size: .9375em; }
.dm-desc { color: var(--muted); font-size: .875em; line-height: 1.55; padding-top: 1.1em; border-top: 1px solid var(--line); }
.dm-picked { margin-top: auto; display: flex; align-items: center; gap: .6em; padding: .75em .9em; border-radius: .75em; background: var(--accent-tint); color: var(--accent-ink);
  opacity: 0; transform: translateY(.6em); transition: opacity .4s, transform .5s var(--ease-out); }
:root[data-theme="dark"] .dm-picked { color: var(--accent); }
.dm-picked span { font-size: .9375em; font-weight: 600; }
[data-step="slot"] .dm-picked, [data-step="form"] .dm-picked, [data-step="sending"] .dm-picked, [data-step="done"] .dm-picked { opacity: 1; transform: none; }

.dm-pane { position: relative; display: grid; grid-template-columns: 1fr 14.5em; gap: 2em; padding: 2.25em 2.25em; }
.dm-cal-head { display: flex; align-items: baseline; gap: .35em; margin-bottom: 1.1em; }
.dm-cal-head b { font-size: 1.25em; letter-spacing: -0.02em; }
.dm-cal-head > span:not(.dm-cal-nav) { color: var(--muted); font-size: 1.25em; }
.dm-cal-nav { margin-left: auto; display: flex; gap: .4em; color: var(--muted); }
.dm-cal-nav .icon { width: 2em; height: 2em; padding: .45em; border-radius: .5em; box-shadow: inset 0 0 0 1px var(--line); }
.dm-week, .dm-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .4em; }
.dm-week span { text-align: center; color: var(--muted); font-family: var(--font-sans); font-size: .6875em; letter-spacing: .08em; text-transform: uppercase; padding-bottom: .9em; }
.dm-day { aspect-ratio: 1; border-radius: .7em; display: grid; place-items: center; font-size: .9375em; color: var(--ink-disabled); position: relative; font-variant-numeric: tabular-nums;
  transition: background .25s, color .25s, transform .3s var(--ease-over), box-shadow .25s; }
.dm-day.out { visibility: hidden; }
.dm-day.open { color: var(--ink); font-weight: 600; background: var(--surface); }
.dm-day.open::after { content: ''; position: absolute; bottom: 18%; width: .3em; height: .3em; border-radius: 50%; background: var(--accent); }
.dm-day.today { box-shadow: inset 0 0 0 1px var(--line-strong); }
.dm-day.is-hover { transform: scale(1.06); box-shadow: inset 0 0 0 1.5px var(--ink); }
.demo-canvas:not([data-step="pick"]) .dm-day.is-target { background: var(--accent-fill); color: var(--on-accent); box-shadow: 0 .4em 1.2em -0.3em var(--lp-glow); }
.demo-canvas:not([data-step="pick"]) .dm-day.is-target::after { background: var(--on-accent); }

.dm-slots-head { display: flex; align-items: baseline; gap: .35em; margin-bottom: 1.1em; font-size: 1.25em; letter-spacing: -0.02em; }
.dm-slots-head b { font-weight: 600; }
.dm-tz { margin-left: auto; display: inline-flex; gap: .3em; align-items: center; color: var(--muted); font-size: .55em; letter-spacing: 0; }
.dm-hint { color: var(--muted); font-size: .875em; padding: 1em; border-radius: .8em; border: 1px dashed var(--line-strong); text-align: center; display: none; }
.dm-slot-list { display: flex; flex-direction: column; gap: .5em; }
.dm-slot { --d: calc(var(--i) * 45ms); height: 2.75em; position: relative; display: flex; gap: .4em; border-radius: .65em; transition: opacity .35s var(--d), transform .45s var(--ease-out) var(--d); }
.dm-slot-t { flex: 1; display: grid; place-items: center; border-radius: .65em; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 40%, var(--line)); color: var(--accent-ink); font-weight: 600; font-size: .9375em; font-variant-numeric: tabular-nums;
  transition: background .25s, color .25s, flex .45s var(--ease-out), box-shadow .25s; }
:root[data-theme="dark"] .dm-slot-t { color: var(--accent); }
.dm-next { flex: 0 0 0; overflow: hidden; display: grid; place-items: center; border-radius: .65em; background: var(--accent-fill); color: var(--on-accent); font-weight: 600; font-size: .9375em;
  transition: flex .45s var(--ease-out), opacity .3s; opacity: 0; }
.dm-slot.is-hover .dm-slot-t { box-shadow: inset 0 0 0 1.5px var(--accent); background: var(--accent-tint); }
[data-step="slot"] .dm-slot.is-target .dm-slot-t, [data-step="form"] .dm-slot.is-target .dm-slot-t { background: var(--btn); color: var(--btn-ink); box-shadow: none; }
[data-step="slot"] .dm-slot.is-target .dm-next, [data-step="form"] .dm-slot.is-target .dm-next { flex: 1; opacity: 1; }
.dm-next.is-hover { filter: brightness(1.1); }
[data-step="pick"] .dm-slot { opacity: 0; transform: translateY(.5em); transition-delay: 0s; }
[data-step="pick"] .dm-slots-head { opacity: .35; }
[data-step="pick"] .dm-hint { display: block; }
[data-step="pick"] .dm-slot-list { position: absolute; visibility: hidden; }

/* Form and confirmation cover the calendar + slots pane. */
.dm-form, .dm-done { position: absolute; inset: 0; background: var(--card); padding: 2.25em; opacity: 0; transform: translateX(2em); pointer-events: none;
  transition: opacity .45s var(--ease-soft), transform .6s var(--ease-out); }
[data-step="form"] .dm-form, [data-step="sending"] .dm-form { opacity: 1; transform: none; }
[data-step="done"] .dm-done { opacity: 1; transform: none; }
.dm-form { display: flex; flex-direction: column; gap: 1.1em; }
.dm-form > * { width: 100%; max-width: 32em; }
.dm-form-head { display: flex; flex-direction: column; gap: .3em; margin-bottom: .4em; }
.dm-form-head b { font-size: 1.25em; letter-spacing: -0.02em; }
.dm-form-head span { color: var(--muted); font-size: .9375em; }
.dm-field { display: flex; flex-direction: column; gap: .45em; }
.dm-field > span:first-child { font-size: .8125em; font-weight: 600; color: var(--ink-2); }
.dm-field em { font-style: normal; font-weight: 400; color: var(--muted); }
.dm-input { height: 2.9em; border-radius: .65em; box-shadow: inset 0 0 0 1px var(--line-strong); background: var(--bg); display: flex; align-items: center; padding: 0 .9em; transition: box-shadow .2s; }
.dm-input.tall { height: 4.4em; }
.dm-field.is-focus .dm-input { box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 .25em var(--accent-tint); }
.dm-typed { font-size: .9375em; white-space: pre; }
.dm-caret { width: 1px; height: 1.2em; background: var(--ink); margin-left: 1px; opacity: 0; }
.dm-field.is-focus .dm-caret { opacity: 1; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.dm-btn { margin-top: .4em; height: 3em; border-radius: .7em; background: var(--accent-fill); color: var(--on-accent); display: grid; place-items: center; font-weight: 600; position: relative;
  box-shadow: 0 .5em 1.4em -0.5em var(--lp-glow); transition: transform .2s var(--ease-out), filter .2s; }
.dm-btn.is-hover { filter: brightness(1.1); }
.dm-btn.is-press { transform: scale(.97); }
.dm-btn-label, .dm-spin { grid-area: 1 / 1; }
.dm-spin { width: 1.2em; height: 1.2em; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--on-accent) 35%, transparent); border-top-color: var(--on-accent); opacity: 0; }
[data-step="sending"] .dm-btn-label { opacity: 0; }
[data-step="sending"] .dm-spin { opacity: 1; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.dm-done { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .8em; }
.dm-check { position: relative; width: 5em; height: 5em; margin-bottom: .6em; }
.dm-check svg { width: 100%; height: 100%; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.dm-check circle { stroke: var(--accent); stroke-width: 3; stroke-dasharray: 145; stroke-dashoffset: 145; fill: var(--accent-tint); }
.dm-check path { stroke: var(--accent); stroke-width: 4; stroke-dasharray: 36; stroke-dashoffset: 36; }
[data-step="done"] .dm-check circle { stroke-dashoffset: 0; transition: stroke-dashoffset .6s var(--ease-out) .1s; }
[data-step="done"] .dm-check path { stroke-dashoffset: 0; transition: stroke-dashoffset .4s var(--ease-out) .5s; }
.dm-check i { position: absolute; left: 50%; top: 50%; width: .35em; height: .35em; margin: -.175em; border-radius: 50%; background: var(--accent); opacity: 0; }
[data-step="done"] .dm-check i { animation: spark .8s var(--ease-out) .45s both; }
.dm-check i:nth-child(2) { --a: 0deg; } .dm-check i:nth-child(3) { --a: 60deg; } .dm-check i:nth-child(4) { --a: 120deg; }
.dm-check i:nth-child(5) { --a: 180deg; } .dm-check i:nth-child(6) { --a: 240deg; } .dm-check i:nth-child(7) { --a: 300deg; }
@keyframes spark { 0% { opacity: 1; transform: rotate(var(--a)) translateX(2em) scale(1); } 100% { opacity: 0; transform: rotate(var(--a)) translateX(4.2em) scale(.3); } }
.dm-done-title { font-size: 2.6em; letter-spacing: -0.045em; font-weight: 650; line-height: 1.05; }
.dm-done-when { font-size: 1.0625em; font-weight: 600; }
.dm-done-sent { display: inline-flex; align-items: center; gap: .5em; color: var(--muted); font-size: .875em; }
.dm-meet { margin-top: .6em; display: inline-flex; align-items: center; gap: .6em; padding: .45em .5em .45em .9em; border-radius: 99em; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--font-sans); font-size: .875em; opacity: 0; transform: translateY(.6em) scale(.96); transition: opacity .4s, transform .5s var(--ease-over); }
.dm-meet .icon { color: var(--accent); }
.dm-meet b { font-family: var(--font-sans); background: var(--btn); color: var(--btn-ink); padding: .25em .8em; border-radius: 99em; font-size: .95em; }
[data-step="done"] .dm-meet { opacity: 1; transform: none; transition-delay: .8s; }
[data-step="done"] .dm-done-title, [data-step="done"] .dm-done-when, [data-step="done"] .dm-done-sent { animation: rise .6s var(--ease-out) both; }
[data-step="done"] .dm-done-when { animation-delay: .1s; } [data-step="done"] .dm-done-sent { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(.8em); } }

/* Admin dashboard */
.dm-admin { display: flex; flex-direction: column; background: var(--bg); }
.dm-adm-top { display: flex; align-items: center; gap: .6em; padding: .9em 2em; border-bottom: 1px solid var(--line); }
.dm-adm-mark { width: 1.6em; height: 1.6em; }
.dm-adm-top > b { font-size: 1.0625em; letter-spacing: -0.035em; font-weight: 650; }
.dm-tabs { display: flex; gap: .2em; margin-left: 1.5em; padding: .2em; border-radius: .7em; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.dm-tabs span { font-size: .8125em; padding: .4em .85em; border-radius: .55em; color: var(--muted); }
.dm-tabs span.on { background: var(--card); color: var(--ink); box-shadow: var(--shadow-xs); font-weight: 600; }
.dm-adm-head { padding: 1.75em 2em .25em; display: flex; align-items: baseline; gap: 1em; }
.dm-adm-head b { font-size: 1.75em; letter-spacing: -0.04em; }
.dm-adm-head span { color: var(--muted); font-size: .9375em; }
.dm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; padding: 1.1em 2em; }
.dm-stat { padding: 1em 1.2em; border-radius: 1em; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-xs); display: flex; flex-direction: column; gap: .3em; }
.dm-stat span { display: inline-flex; gap: .45em; align-items: center; color: var(--muted); font-size: .8125em; }
.dm-stat b { font-size: 2em; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.dm-stat b.is-bump { color: var(--accent); }
.dm-list { margin: .4em 2em 0; border-radius: 1em; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-xs); overflow: hidden; display: grid; grid-template-rows: auto; }
.dm-row { display: grid; grid-template-columns: 3.4em 1fr auto auto; align-items: center; gap: 1.1em; padding: .9em 1.2em; border-top: 1px solid var(--line); }
.dm-row:first-child { border-top: 0; }
.dm-date { width: 3.4em; height: 3.4em; border-radius: .75em; background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; }
.dm-date b { font-size: 1.25em; font-variant-numeric: tabular-nums; }
.dm-date span { font-family: var(--font-sans); font-size: .625em; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.dm-who { display: flex; flex-direction: column; gap: .15em; min-width: 0; }
.dm-who b { font-size: .9375em; }
.dm-who span { font-size: .8125em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-pill { display: inline-flex; align-items: center; gap: .4em; font-size: .75em; padding: .3em .7em; border-radius: 99em; background: var(--surface); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.dm-join { display: inline-flex; align-items: center; gap: .35em; font-size: .8125em; font-weight: 600; padding: .45em .85em; border-radius: .55em; background: var(--btn); color: var(--btn-ink); }
.dm-join .icon { width: .95em; height: .95em; }
/* The new booking lands at the top: rows below slide down as it grows in. */
.dm-new { position: relative; background: linear-gradient(90deg, var(--accent-tint), transparent 70%); }
.dm-new::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.dm-new .dm-date { background: var(--accent-fill); }
.dm-new .dm-date b, .dm-new .dm-date span { color: var(--on-accent); }
.dm-new .dm-join { background: var(--accent-fill); color: var(--on-accent); }
.demo-canvas[data-landed="0"] .dm-new { margin-top: -5.2em; opacity: 0; transform: scale(.97); }
.demo-canvas[data-landed="1"] .dm-new { transition: margin-top .6s var(--ease-out), opacity .45s .15s, transform .6s var(--ease-over) .1s; }
.dm-new .dm-join.is-hover { filter: brightness(1.12); }
.dm-toast { position: absolute; right: 2em; top: 4.6em; display: flex; align-items: center; gap: .6em; padding: .75em 1em; border-radius: .9em; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lift);
  opacity: 0; transform: translateY(-.8em) scale(.97); transition: opacity .35s, transform .5s var(--ease-over); }
.dm-toast .icon { color: var(--ok); width: 1.3em; height: 1.3em; }
.dm-toast span { font-size: .8125em; color: var(--muted); }
.dm-toast b { color: var(--ink); margin-right: .35em; }
.demo-canvas[data-toast="1"] .dm-toast { opacity: 1; transform: none; }

/* Cursor: Mac-style arrow with a red click ring. Positioned by home.js in canvas pixels. */
.dm-cursor { position: absolute; left: 0; top: 0; width: 1.6em; height: 1.6em; z-index: 5; pointer-events: none; opacity: 0; transform: translate3d(70em, 46em, 0);
  transition: transform var(--move, 800ms) var(--ease-inout), opacity .3s; filter: drop-shadow(0 .15em .3em rgba(0, 0, 0, .35)); }
.demo-canvas[data-cursor="1"] .dm-cursor { opacity: 1; }
.dm-cursor svg { width: 100%; height: 100%; display: block; position: relative; z-index: 1; }
.dm-cursor path { fill: #fff; stroke: #111; stroke-width: 1.3; stroke-linejoin: round; }
.dm-click { position: absolute; left: .3em; top: .2em; width: 2.4em; height: 2.4em; margin: -1.2em; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; }
.dm-cursor.is-click .dm-click { animation: click-ring .55s var(--ease-out); }
.dm-cursor.is-click svg { animation: click-press .25s var(--ease-out); }
@keyframes click-ring { from { opacity: 1; transform: scale(.3); } to { opacity: 0; transform: scale(1.3); } }
@keyframes click-press { 50% { transform: scale(.85); } }

/* Intro: the window settles in and its parts stagger in, once. */
.demo-canvas[data-intro] .dm-info > *, .demo-canvas[data-intro] .dm-cal, .demo-canvas[data-intro] .dm-slots { animation: rise .8s var(--ease-out) both; }
.demo-canvas[data-intro] .dm-info > :nth-child(2) { animation-delay: .06s; } .demo-canvas[data-intro] .dm-info > :nth-child(3) { animation-delay: .12s; }
.demo-canvas[data-intro] .dm-info > :nth-child(4) { animation-delay: .18s; } .demo-canvas[data-intro] .dm-cal { animation-delay: .15s; }
.demo-canvas[data-intro] .dm-slots { animation-delay: .25s; }
.demo-canvas[data-intro] .dm-day { animation: pop .5s var(--ease-over) both; animation-delay: calc(.2s + var(--n, 0) * 12ms); }
@keyframes pop { from { opacity: 0; transform: scale(.7); } }

/* Narrow frames (phones): a phone-shaped layout of the same product, 26em wide. */
@container (max-width: 640px) {
  .demo-canvas { --u: calc(100cqw / 26); width: 26em; height: 50em; }
  .dm-dots, .dm-bar-end { display: none; }
  .dm-url { max-width: none; }
  .dm-stage { height: 47.25em; }
  .dm-book { display: flex; flex-direction: column; }
  .dm-info { border-right: 0; border-bottom: 1px solid var(--line); padding: 1.25em 1.4em; gap: .55em; }
  .dm-info h4 { font-size: 1.4em; }
  .dm-chips { flex-direction: row; flex-wrap: wrap; gap: .4em 1em; }
  .dm-chips span { font-size: .8125em; }
  .dm-desc, .dm-picked, .dm-host > span:last-child { display: none; }
  .dm-avatar { width: 2em; height: 2em; font-size: .85em; }
  .dm-pane { display: flex; flex-direction: column; gap: 1.2em; padding: 1.25em 1.4em; flex: 1; }
  .dm-cal-head { margin-bottom: .6em; }
  .dm-week span { padding-bottom: .5em; }
  .dm-week, .dm-grid { gap: .3em; }
  .dm-slots-head { margin-bottom: .7em; font-size: 1.05em; }
  .dm-slot-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45em; }
  .dm-slot:nth-child(n+7) { display: none; }
  .dm-next { display: none; }
  .dm-form, .dm-done { padding: 1.4em; }
  .dm-done-title { font-size: 2.1em; }
  .dm-meet { font-size: .75em; }
  .dm-adm-top { padding: .9em 1.4em; }
  .dm-tabs span:not(.on) { display: none; }
  .dm-tabs { margin-left: auto; }
  .dm-adm-head { padding: 1.3em 1.4em .1em; flex-direction: column; gap: .2em; }
  .dm-stats { padding: 1em 1.4em; gap: .6em; }
  .dm-stat { padding: .8em .8em; }
  .dm-stat span { font-size: .6875em; }
  .dm-stat span .icon { display: none; }
  .dm-stat b { font-size: 1.6em; }
  .dm-list { margin: .2em 1.4em 0; }
  .dm-row { grid-template-columns: 3em 1fr auto; gap: .8em; padding: .8em 1em; }
  .dm-date { width: 3em; height: 3em; }
  .dm-pill { display: none; }
  .demo-canvas[data-landed="0"] .dm-new { margin-top: -4.6em; }
  .dm-toast { left: 1.4em; right: 1.4em; top: auto; bottom: 1.4em; }
}

/* ---------- Sections ---------- */
.lp-steps .n { font-family: var(--font-sans); font-size: .8rem; color: var(--accent); letter-spacing: .1em; }
.lp-steps h3, .ft-item h3, .lp-int h3 { font-size: 1.125rem; letter-spacing: -0.025em; margin-top: .9rem; }
.lp-steps p, .ft-item p, .lp-int p { color: var(--muted); font-size: .9375rem; margin-top: .5rem; line-height: 1.6; }
.lp-ic { width: 2.6rem !important; height: 2.6rem !important; padding: .6rem; border-radius: .75rem; color: var(--accent); background: var(--accent-tint); }
.lp-int { margin-top: 3rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.lp-int-item { display: flex; gap: 1.1rem; padding: 1.6rem; border-radius: 1.375rem; background: var(--lp-card); box-shadow: inset 0 0 0 1px var(--line); }
.lp-int-item > .icon { width: 2.75rem; height: 2.75rem; padding: .65rem; border-radius: .8rem; flex: 0 0 auto; color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.lp-int-item h3 { margin-top: .1rem; }
.lp-note { margin-top: 1.5rem; display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .9rem; }
.lp-note .icon { color: var(--ok); }

/* ---------- Illustrations (src/illustrations.js) ----------
 * Original inline SVGs in the Slot Grid style. Colours are classes on theme tokens, so both themes and BRAND_COLOR apply.
 * Each one sits in an .ill-panel beside the copy it illustrates. public/scroll-art.js scatters the [data-part]s and
 * reassembles them on scroll (inline transform/opacity only); this stylesheet never moves a part, so no-JS and
 * reduced motion show the assembled picture. */
.ill-panel { position: relative; border-radius: 1.375rem; padding: clamp(.75rem, 2.4vw, 1.75rem); box-shadow: inset 0 0 0 1px var(--line);
  background: radial-gradient(70% 62% at 50% 46%, color-mix(in srgb, var(--logo-cell) 11%, transparent), transparent 72%),
    radial-gradient(circle at 1px 1px, var(--grid-dot) 1px, transparent 1.6px) 0 0 / 22px 22px, var(--lp-card); }
.ill-panel.sm { padding: clamp(.6rem, 1.8vw, 1.1rem); }
.ill, [data-xp] svg { display: block; overflow: visible; }
.ill { width: 100%; height: auto; }
[data-xp] [data-part] { transform-box: fill-box; transform-origin: 50% 50%; }
.ill .i-card { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.25; }
.ill .i-cardhi { fill: color-mix(in srgb, var(--ink) 7%, var(--surface)); stroke: var(--line-strong); stroke-width: 1.25; }
.ill .i-row { fill: color-mix(in srgb, var(--ink) 4%, var(--surface)); }
.ill .i-off { fill: color-mix(in srgb, var(--ink) 10%, transparent); }
.ill .i-p2 { fill: color-mix(in srgb, var(--logo-cell) 30%, transparent); }
.ill .i-pf { fill: var(--logo-cell); }
.ill .i-acc, .ill .i-accf { fill: var(--accent-fill); }
.ill .i-slot { fill: color-mix(in srgb, var(--logo-cell) 8%, transparent); stroke: color-mix(in srgb, var(--logo-cell) 55%, transparent); stroke-width: 1.4; }
.ill .i-busy { fill: color-mix(in srgb, var(--ink) 4%, transparent); stroke: var(--line-strong); stroke-width: 1.2; stroke-dasharray: 4 4; }
.ill .i-btn { fill: color-mix(in srgb, var(--logo-cell) 22%, transparent); stroke: color-mix(in srgb, var(--logo-cell) 60%, transparent); stroke-width: 1.3; }
.ill .i-btn2, .ill .i-ghost { fill: none; stroke: var(--line-strong); stroke-width: 1.3; }
.ill .i-ghost { stroke-dasharray: 5 5; }
.ill .i-ink { fill: color-mix(in srgb, var(--ink) 80%, transparent); }
.ill .i-inkf { fill: var(--ink); }
.ill .i-mute { fill: color-mix(in srgb, var(--muted) 45%, transparent); }
.ill .i-onf { fill: var(--on-accent); opacity: .9; }
.ill .i-onf2 { fill: var(--on-accent); opacity: .55; }
.ill .i-okc, .ill .i-okf { fill: var(--ok); }
.ill .i-hole { fill: var(--surface); }
.ill .i-st { fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ill .i-st.i-onst { stroke: #fff; stroke-width: 2.4; }
.ill .i-wire { fill: none; stroke: var(--line-strong); stroke-width: 1.25; }
.ill .i-gridl { stroke: var(--line); stroke-width: 1; }
.ill .i-dash, .ill .i-arrow { fill: none; stroke: color-mix(in srgb, var(--logo-cell) 70%, transparent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ill .i-dash { stroke-dasharray: 5 6; }
.ill .i-buf { stroke: color-mix(in srgb, var(--ink) 30%, transparent); stroke-width: 1.25; stroke-dasharray: 3 5; }
.ill .i-strike { stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; }
.ill .i-strike-lg { stroke: var(--accent); stroke-width: 3; opacity: .85; }
.ill .i-hand { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.ill .i-cursor { fill: var(--ink); stroke: var(--bg); stroke-width: 1.5; stroke-linejoin: round; }
.ill .i-cursor.i-cursor2 { fill: var(--logo-cell); }
.ill .i-hubc, .ill .i-tagc { stroke: color-mix(in srgb, var(--accent) 55%, transparent); stroke-width: 1.5; }
.ill .i-tailc { stroke: none; }
.ill .i-t { font-family: var(--font-sans); font-size: 14px; font-weight: 600; fill: var(--ink); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.ill .i-sm { font-size: 12.5px; }
.ill .i-md { font-size: 17px; }
.ill .i-ring { fill: none; stroke: var(--accent); stroke-width: 1.6; }
.ill .i-wire2 { fill: none; stroke: color-mix(in srgb, var(--logo-cell) 55%, transparent); stroke-width: 1.2; }
.ill .i-ghostbg { fill: var(--surface); }
.ill .i-lg { font-size: 17px; }
.ill .i-on { fill: var(--on-accent); }
.ill .i-dim { fill: var(--muted); }

/* How it works. Default (no JS, reduced motion, narrow or short screens): three cards, each with its picture on top. */
.lp-steps { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.lp-steps li { padding: .6rem; border-radius: 1.375rem; background: var(--lp-card); box-shadow: inset 0 0 0 1px var(--line); position: relative; display: flex; flex-direction: column; }
.how-ill { border-radius: 1rem; }
.how-txt { padding: 1.1rem 1.15rem 1.2rem; }
.how-stage { display: none; }
/* Wide screens with motion and scripting: the section pins and steps through one scene per step.
 * Must match PIN_MQ in public/scroll-art.js. */
@media (min-width: 961px) and (min-height: 620px) and (prefers-reduced-motion: no-preference) and (scripting: enabled) {
  .how-pin { height: 300vh; }
  .how-sticky { position: sticky; top: var(--how-top, 4rem); height: calc(100vh - var(--how-top, 4rem)); display: flex; align-items: center; }
  .how-in { width: 100%; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4rem; align-items: center; }
  .how-steps { grid-template-columns: 1fr; gap: 0; margin-top: 2.25rem; }
  .how-steps li { display: block; padding: 1.05rem 0 1.05rem 1.6rem; border-radius: 0; background: none; box-shadow: inset 2px 0 0 var(--line); position: static;
    transition: opacity .45s var(--ease-out), box-shadow .45s var(--ease-out); }
  .how-steps li .how-txt { padding: 0; }
  .how-steps li h3 { font-size: 1.3rem; margin-top: .5rem; }
  .lp-how[data-active] .how-steps li:not([data-on]) { opacity: .38; }
  .how-steps li[data-on] { box-shadow: inset 2px 0 0 var(--accent); }
  .how-stage { display: block; grid-column: 2; aspect-ratio: 4 / 3; padding: 0; }
  .how-ill { position: absolute; right: 1.5rem; top: 50%; width: calc((100% - 3rem - 4rem) * 6 / 11); margin-top: calc((100% - 3rem - 4rem) * 6 / 11 * -.375);
    padding: 0; background: none; box-shadow: none; z-index: 1; }
  .how-steps li:not(:first-child) .how-ill { visibility: hidden; } /* scroll-art.js shows each scene in turn */
  .lp-how[data-active] .how-steps li .how-ill { visibility: visible; }
  .how-bar { position: absolute; left: 1.5rem; right: 1.5rem; bottom: -1.4rem; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
  .how-bar i { position: absolute; inset: 0; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--how-p, 0)); }
}

/* Features: three groups, each a picture beside three short items; the picture side alternates. */
.ft-rows { margin-top: 3.5rem; display: grid; gap: 5rem; }
.ft-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.ft-row:nth-child(even) > .ill-panel { order: 2; }
.ft-label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: .4rem; }
.ft-item { display: flex; gap: 1.1rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.ft-item:last-child { padding-bottom: 0; }
.ft-item h3 { margin-top: .15rem; }
.int-row { margin-top: 3rem; }
.int-row .lp-int { margin-top: 0; grid-template-columns: 1fr; gap: .75rem; }
.int-row .lp-int-item { padding: 1.15rem 1.3rem; }
.int-row .lp-note { margin-top: .5rem; }

/* Compare and pricing: the heading with a small picture beside it. */
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 23rem); gap: 2.5rem; align-items: end; }

/* FAQ: heading and picture on the left (sticky), questions on the right. */
.faq-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.faq-side { position: sticky; top: 6rem; }
.faq-side .ill-panel { margin-top: 2.25rem; max-width: 24rem; }
.faq-in .lp-faq { margin-top: .5rem; }
.outro-xp { display: inline-flex; }

.lp-table-wrap { margin-top: 2.5rem; border-radius: 1.375rem; box-shadow: inset 0 0 0 1px var(--line); overflow-x: auto; background: var(--lp-card); }
.lp-table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 34rem; }
.lp-table th, .lp-table td { text-align: left; padding: 1.05rem 1.4rem; border-top: 1px solid var(--line); vertical-align: top; }
.lp-table thead th { border-top: 0; font-size: .8rem; font-family: var(--font-sans); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 500; }
.lp-table thead th:nth-child(2) { color: var(--accent); }
.lp-table tbody th { font-weight: 500; color: var(--muted); width: 34%; }
.lp-table td:nth-child(2) { font-weight: 600; background: color-mix(in srgb, var(--accent) 5%, transparent); }
.lp-table td:nth-child(3) { color: var(--ink-2); }
.lp-foot { margin-top: 1rem; color: var(--muted); font-size: .8rem; }

.lp-sub { margin-top: 1rem; color: var(--muted); max-width: 40rem; font-size: 1.0625rem; }
.lp-plans { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: stretch; }
.lp-price { padding: 2rem; border-radius: 1.6rem; position: relative; background: var(--lp-card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; display: flex; flex-direction: column; }
.lp-price.hot { box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lift); }
.lp-price.hot::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, var(--accent), transparent 35%, transparent 65%, color-mix(in srgb, var(--accent) 60%, transparent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.lp-price-top { display: flex; flex-direction: column; gap: 1.25rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.lp-price h3 { font-size: 1.4rem; letter-spacing: -0.04em; font-weight: 650; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.lp-tag { font-family: var(--font-sans); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; padding: .3em .7em; border-radius: 99em; background: var(--accent-tint); color: var(--accent); }
.lp-price-top p { color: var(--muted); margin-top: .3rem; }
.lp-price-num { display: flex; flex-direction: column; gap: .3rem; }
.lp-price-num .amt { font-size: 2.6rem; font-weight: 650; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.lp-price-num .amt small { font-size: .95rem; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: .2rem; }
.lp-price-num .per { color: var(--ink-2); font-size: .875rem; }
.lp-price-num .usd { color: var(--muted); font-size: .8125rem; }
.lp-price ul { list-style: none; padding: 0; margin: 1.5rem 0 1.75rem; display: grid; gap: .7rem; flex: 1 1 auto; align-content: start; }
.lp-price li { display: flex; gap: .6rem; align-items: flex-start; font-size: .9375rem; }
.lp-price li .icon { color: var(--accent); margin-top: .2rem; flex: 0 0 auto; }
.lp-price-note { margin-top: 1.1rem; color: var(--muted); font-size: .85rem; }
.lp-vs { margin-top: 2.5rem; padding: 1.75rem; border-radius: 1.375rem; background: var(--lp-card); box-shadow: inset 0 0 0 1px var(--line); }
.lp-vs h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.015em; }
.lp-vs-t { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .9rem; }
.lp-vs-t th, .lp-vs-t td { text-align: left; padding: .65rem .5rem; border-top: 1px solid var(--line); vertical-align: top; }
.lp-vs-t thead th { border-top: 0; font-family: var(--font-sans); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.lp-vs-t td:last-child, .lp-vs-t thead th:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lp-vs-t tbody th { font-weight: 550; }
.lp-vs-t td { color: var(--ink-2); }
.lp-vs-t tr.me th, .lp-vs-t tr.me td { color: var(--accent); font-weight: 650; background: color-mix(in srgb, var(--accent) 5%, transparent); }

.lp-faq { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.lp-faq details { border-bottom: 1px solid var(--line); }
.lp-faq summary { list-style: none; cursor: pointer; padding: 1.35rem 0; font-size: 1.0625rem; font-weight: 550; letter-spacing: -0.015em; display: flex; justify-content: space-between; gap: 1rem; align-items: center; border-radius: .4rem; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq .pm { width: 1.75rem; height: 1.75rem; flex: 0 0 auto; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong); position: relative; transition: transform .35s var(--ease-out), background .2s; }
.lp-faq .pm::before, .lp-faq .pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: .7rem; height: 1.5px; margin: -.75px 0 0 -.35rem; background: var(--ink); border-radius: 2px; }
.lp-faq .pm::after { transform: rotate(90deg); transition: transform .35s var(--ease-out); }
.lp-faq details[open] .pm { background: var(--accent-tint); transform: rotate(180deg); }
.lp-faq details[open] .pm::after { transform: rotate(0deg); }
.lp-faq details p { color: var(--muted); padding: 0 3rem 1.4rem 0; line-height: 1.65; }
.lp-faq details[open] p { animation: rise .5s var(--ease-out); }

/* ---------- Outro (the video's end card) ---------- */
.lp-outro { position: relative; margin-top: 8rem; padding: 7rem 0 7.5rem; text-align: center; isolation: isolate; overflow: hidden; border-top: 1px solid var(--line); }
.lp-outro .fx-a { top: 20%; margin-left: -23rem; }
.lp-outro .fx-b { top: 10%; margin-left: -10rem; }
.lp-outro-mark { display: inline-flex; align-items: center; gap: 1rem; font-size: clamp(2.6rem, 6vw, 4.25rem); font-weight: 650; letter-spacing: -0.05em; }
.lp-outro-mark .logo-mark { width: 1.1em; height: 1.1em; }
.lp-rule { display: block; width: min(22rem, 70%); height: 2px; margin: 1.6rem auto; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); box-shadow: 0 0 1rem var(--lp-glow); }
.lp-outro-line { font-size: clamp(1.25rem, 2.6vw, 1.75rem); letter-spacing: -0.03em; font-weight: 550; }

.lp-footer { border-top: 1px solid var(--line); padding: 1.75rem 0 2.25rem; font-size: .875rem; color: var(--muted); }
.lp-footer .lp-wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.lp-foot-brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font-weight: 550; }
.lp-foot-brand .logo-mark { width: 1.25rem; height: 1.25rem; }
.lp-footer nav { display: flex; gap: 1.25rem; }
.lp-footer a { text-decoration: none; }
.lp-footer a:hover { color: var(--ink); }

/* Scroll reveal: home.js hides only what starts below the fold, so nothing flashes and no-JS shows everything. */
.rv.rv-wait { opacity: 0; transform: translateY(1.25rem); filter: blur(4px); }
.rv.rv-in { opacity: 1; transform: none; filter: none; transition: opacity .8s var(--ease-out), transform .9s var(--ease-out), filter .8s var(--ease-out); transition-delay: var(--rv-d, 0s); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) { .lp-links a { padding: .4rem .5rem; } .lp-nav-end { gap: .5rem; } }
@media (max-width: 960px) {
  .lp-links { display: none; }
  .lp-nav-in { grid-template-columns: auto 1fr; }
  .lp-steps { grid-template-columns: 1fr; max-width: 34rem; }
  .lp-steps li { flex-direction: row; align-items: center; gap: .25rem; }
  .lp-steps li .how-ill { flex: 0 0 44%; }
  .ft-row, .faq-in { grid-template-columns: 1fr; gap: 2rem; }
  .ft-row > .ill-panel, .ft-row:nth-child(even) > .ill-panel { order: 0; max-width: 34rem; }
  .ft-rows { gap: 4rem; }
  .faq-side { position: static; }
  .faq-side .ill-panel { max-width: 20rem; }
  .sec-head { grid-template-columns: minmax(0, 1fr) minmax(0, 16rem); }
}
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .lp-nav { --lp-nav-h: 3.65rem; }
  .lp-nav-in { padding: 0 1rem; gap: .75rem; }
  .logo-lockup { height: 1.6rem; }
  .lp-nav-end .lp-btn { height: 2.35rem; padding: 0 .8rem; font-size: .85rem; }
  .lp-wrap, .lp-demo-wrap { padding: 0 1.1rem; }
  .lp-hero { padding-top: calc(3.5rem + 3.65rem + 1px); }
  .lp-h1 { font-size: clamp(2.9rem, 14vw, 4rem); }
  .lp-ctas .lp-btn { flex: 1 1 100%; }
  .lp-demo-wrap { margin-top: 2.75rem; }
  .demo { border-radius: 1.4rem; }
  .demo-canvas { border-radius: calc(1.4rem - 1px); }
  .lp-sec { padding-top: 5rem; }
  .lp-int, .lp-plans { grid-template-columns: 1fr; }
  .lp-steps li { flex-direction: column; align-items: stretch; }
  .lp-steps li .how-ill { flex: none; }
  .sec-head { grid-template-columns: 1fr; gap: 1.75rem; }
  .sec-head .ill-panel { max-width: 20rem; }
  .ft-rows { gap: 3.5rem; margin-top: 2.5rem; }
  .lp-price, .lp-vs { padding: 1.5rem; }
  .lp-vs-t td:nth-child(2), .lp-vs-t thead th:nth-child(2) { display: none; }
  .lp-faq details p { padding-right: 0; }
  .lp-table { min-width: 0; }
  .lp-table thead { display: none; }
  .lp-table tr { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
  .lp-table tbody tr:first-child { border-top: 0; }
  .lp-table th, .lp-table td { border-top: 0; padding: .85rem 1rem; }
  .lp-table tbody th { grid-column: 1 / -1; width: auto; padding-bottom: 0; font-size: .8125rem; }
  .lp-table td::before { content: attr(data-label); display: block; font-family: var(--font-sans); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: .25rem; }
  .lp-table td:nth-child(2)::before { color: var(--accent); }
  .lp-table td:nth-child(2) { background: none; }
  .lp-outro { margin-top: 5.5rem; padding: 5rem 0; }
  .lp-footer .lp-wrap { flex-direction: column; align-items: flex-start; }
}

/* ---------- Reduced motion: the demo shows its static state; nothing drifts or slides. ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lp-nav, .lp-nav[data-ready] { transition: none !important; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .fx > span { animation: none !important; }
  .rv.rv-wait { opacity: 1; transform: none; filter: none; }
}
@media print { .lp-nav, .fx, .theme-toggle { display: none !important; } }

/* Tabular figures (Inter 'tnum') wherever numbers should line up: demo calendar and slots,
   booking rows, stats, prices and the comparison table. */
.dm-day, .dm-slot-t, .dm-date b, .dm-stat b, .dm-done-when, .lp-price-num, .lp-vs-t td:last-child { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; }
