/* Lotswift — marketing site. Soft, light palette; one typeface; no build step. */

:root {
  --bg: #f8f7f3;          /* warm off-white page */
  --surface: #ffffff;
  --surface-soft: #f1f5f2; /* pale sage panels */
  --ink: #1d2b2a;          /* near-black with a green cast */
  --ink-soft: #4c5a58;
  --muted: #7a8785;
  --line: #e4e7e1;
  --accent: #0e7c6b;       /* deep teal */
  --accent-strong: #0a6457;
  --accent-tint: #e2f2ee;
  --sky-tint: #e9f1f8;
  --peach-tint: #fbefe4;
  --amber: #b86a12;
  --amber-tint: #fbf0dc;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgb(29 43 42 / 4%), 0 8px 24px rgb(29 43 42 / 6%);
  --shadow-lg: 0 2px 4px rgb(29 43 42 / 4%), 0 24px 60px rgb(29 43 42 / 10%);
  --max: 1120px;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); line-height: 1.6; font-size: 17px; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.4rem); font-weight: 750; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 36em; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* --- Header -------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 10; background: rgb(248 247 243 / 85%); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 1.2rem; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.brand svg { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-links .btn { color: #fff; }

/* --- Buttons ------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 0.98rem; text-decoration: none; border: 1px solid transparent; transition: background 0.15s, box-shadow 0.15s, transform 0.15s; cursor: pointer; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgb(14 124 107 / 22%); }
.btn-primary:hover { background: var(--accent-strong); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { color: var(--ink); border-color: #cfd5cd; }
.btn-sm { padding: 9px 16px; font-size: 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- Hero ---------------------------------------------------------------- */
.hero { padding: 48px 0 40px; background:
  radial-gradient(900px 420px at 85% 0%, var(--accent-tint) 0%, transparent 60%),
  radial-gradient(700px 380px at 0% 30%, var(--sky-tint) 0%, transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: center; }
/* On wide screens the loop runs a little past the content edge, so it can be big. */
@media (min-width: 1240px) { .hero .loop { margin-right: -64px; } }
.hero h1 { font-size: clamp(2.4rem, 4.1vw, 3.35rem); line-height: 1.06; letter-spacing: -0.035em; margin-bottom: 22px; text-wrap: initial; }
.hero h1 .line { display: block; }
.hero h1 .accent { color: var(--accent); }
.hero .lead { font-size: 1.15rem; line-height: 1.65; max-width: 30em; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 10px; margin-bottom: 22px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 2px rgb(29 43 42 / 4%); font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #3fb68b; box-shadow: 0 0 0 4px rgb(63 182 139 / 18%); }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 0.9rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: '✓'; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); font-size: 0.65rem; font-weight: 700; display: grid; place-items: center; }
.hero .lead { margin-bottom: 28px; }

/* --- Browser frame (dashboard screenshot) ---------------------------------- */
.window-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #f6f6f2; border-bottom: 1px solid var(--line); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #dcdcd6; }
.window-bar .addr { margin-left: 12px; flex: 1; height: 24px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: 0.72rem; color: var(--muted); display: flex; align-items: center; padding: 0 10px; }

/* --- Hero video ----------------------------------------------------------- */
/* --- Hero loop: an animated illustration of the five steps (loop.js) ------
   Drawn at 680×540 and scaled to fit its column, so it looks the same at
   every size. */
.loop { position: relative; margin: 0; }
.loop-fit { position: relative; width: 100%; aspect-ratio: 680 / 540; }
.loop-stage { position: absolute; top: 0; left: 0; width: 680px; height: 540px; transform-origin: 0 0; transform: scale(var(--s, 1)); font-size: 14px; line-height: 1.35; color: var(--ink); }
.video-toggle { position: absolute; right: 4px; bottom: 4px; z-index: 5; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: rgb(255 255 255 / 92%); color: var(--ink); font-size: 0.7rem; cursor: pointer; display: grid; place-items: center; opacity: 0; transition: opacity 0.15s; }
.loop:hover .video-toggle, .loop .video-toggle:focus-visible { opacity: 1; }

.loop-step { position: absolute; top: 0; left: 0; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); }
.loop-num { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.loop-title { font-size: 17px; font-weight: 650; letter-spacing: -0.01em; min-width: 190px; transition: opacity 0.25s; }
.loop-dots { display: flex; gap: 6px; }
.loop-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background 0.3s, transform 0.3s; }
.loop-dots i.done { background: #9fd3c6; }
.loop-dots i.on { background: var(--accent); transform: scale(1.25); }

.loop-window { position: absolute; top: 64px; left: 0; right: 0; height: 462px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.loop-window .addr { font-size: 12px; transition: opacity 0.25s; }
.loop-body { position: absolute; top: 49px; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr 250px; }
.loop-left { position: relative; overflow: hidden; }
.lv { position: absolute; inset: 0; padding: 16px 20px; opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease, transform 0.4s ease; pointer-events: none; }
.lv.show { opacity: 1; transform: none; }

.ph { display: block; border-radius: 8px; }
.p1 { background: linear-gradient(160deg, #cfe3f1 0%, #9fbfd6 55%, #6f8fa6 100%); }
.p1b { background: linear-gradient(160deg, #d6e0f3 0%, #a8b9dc 55%, #7487b0 100%); }
.p2 { background: linear-gradient(160deg, #f3dccb 0%, #d9ae8e 55%, #a77b5d 100%); }
.p3 { background: linear-gradient(160deg, #d8e9dc 0%, #a8cbb2 55%, #6f9a7c 100%); }
.p4 { background: linear-gradient(160deg, #e6e2f0 0%, #bdb5d6 55%, #8a80ad 100%); }
.p5 { background: linear-gradient(160deg, #eceae4 0%, #c9c5ba 55%, #8f8a7e 100%); }
.p6 { background: linear-gradient(160deg, #f1e4d0 0%, #d8c19c 55%, #a58b63 100%); }

/* 1: dealer website */
.site-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.site-head b { font-size: 16px; }
.site-head span { font-size: 12px; color: var(--muted); }
.site-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.site-grid div { border: 1px solid var(--line); border-radius: 10px; padding: 6px; background: #fff; }
.site-grid .ph { aspect-ratio: 16 / 10; margin-bottom: 6px; }
.site-grid b { display: block; font-size: 11.5px; font-weight: 600; }
.site-grid small { font-size: 11px; color: var(--muted); }

/* 2–3: listing form */
.lv-form { display: flex; flex-direction: column; gap: 8px; }
.form-title { font-weight: 650; font-size: 16px; }
.form-photos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; height: 46px; }
.form-photos .ph { height: 46px; }
.form-photos .ph { background-color: var(--surface-soft); transform: scale(0.6); opacity: 0; transition: transform 0.35s cubic-bezier(0.3, 1.4, 0.5, 1), opacity 0.3s; }
.form-photos .ph.in { transform: none; opacity: 1; }
.lv-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.fld { position: relative; border: 1px solid var(--line); border-radius: 10px; padding: 6px 34px 6px 12px; background: #fff; transition: border-color 0.3s, background 0.3s; }
.fld small { display: block; font-size: 11px; color: var(--muted); }
.fld b { display: block; font-size: 14px; font-weight: 600; min-height: 19px; opacity: 0; transform: translateX(-4px); transition: opacity 0.3s, transform 0.3s; }
.fld.desc b { font-weight: 400; font-size: 12px; line-height: 1.4; color: var(--ink-soft); min-height: 34px; }
.fld i { position: absolute; right: 10px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; transform: scale(0); transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1); }
.fld i svg { width: 11px; height: 11px; }
.fld.on { border-color: #bfe0d8; background: #f7fcfa; }
.fld.on b { opacity: 1; transform: none; }
.fld.on i { transform: scale(1); }
.form-publish { margin-top: 2px; align-self: flex-end; padding: 8px 22px; border-radius: 999px; background: var(--surface-soft); border: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: 13px; transition: background 0.3s, color 0.3s, box-shadow 0.3s; }
.form-publish.ready { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 6px 16px rgb(14 124 107 / 22%); }

/* 3–4: published */
.lv-live { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; }
.live-check { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; margin-bottom: 8px; }
.live-check svg { width: 30px; height: 30px; }
.lv-live b { font-size: 20px; }
.lv-live small { color: var(--muted); font-size: 13px; }

/* 5: dashboard */
.lv-dash { display: flex; flex-direction: column; gap: 10px; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-bottom: 4px; }
.dash-kpis div { border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; background: #fff; }
.dash-kpis small { display: block; font-size: 11px; color: var(--muted); }
.dash-kpis b { font-size: 22px; letter-spacing: -0.02em; }
.lv-dash .alert { padding: 11px 14px; font-size: 12px; }
.lv-dash .alert b { font-size: 13px; }

/* Panel */
.loop-panel { position: relative; border-left: 1px solid var(--line); background: #fbfbf8; padding: 16px; overflow: hidden; }
.lp-head b { display: block; font-size: 14px; }
.lp-head small { font-size: 12px; color: var(--muted); }
.lp { position: absolute; top: 62px; left: 16px; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 10px; opacity: 0; transition: opacity 0.35s; }
.lp.show { opacity: 1; }
.lp-h { font-size: 15px; margin-top: 6px; }
.lp-setup small { font-size: 12px; color: var(--muted); margin-top: 4px; }
.lp-input { height: 36px; border: 1px solid var(--line); border-radius: 9px; background: #fff; display: flex; align-items: center; padding: 0 10px; font-size: 12px; white-space: nowrap; overflow: hidden; }
.lp-input.focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.caret { display: inline-block; width: 1px; height: 15px; background: var(--ink); margin-left: 1px; opacity: 0; }
.lp-input.focus .caret { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 1; } }
.lp-btn { flex: none; margin-top: auto; text-align: center; font-size: 13px; font-weight: 600; padding: 10px; border-radius: 999px; background: var(--accent); color: #fff; transition: background 0.2s, transform 0.12s; }
.lp-setup .lp-btn { margin-top: 6px; }
.press { transform: scale(0.95); filter: brightness(0.92); }
.lp-sync { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.lp-sync::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #3fb68b; }
.lp-sync.busy::before { background: var(--amber); animation: pulse 0.8s ease-in-out infinite alternate; }
@keyframes pulse { to { opacity: 0.3; } }
.lp-banner { display: none; flex-direction: column; gap: 7px; padding: 10px 12px; border-radius: 10px; background: var(--accent-tint); border: 1px solid #c6e5dd; font-size: 12px; }
.lp-banner.show { display: flex; }
.lp-yes { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; font-size: 12px; }
.lp-tabs { display: flex; gap: 4px; }
.lp-tabs span { white-space: nowrap; font-size: 11px; padding: 4px 7px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-soft); transition: background 0.25s, color 0.25s; }
.lp-tabs span.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.lp-tabs em { font-style: normal; }
.lp-cards { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 8px; }
.lp-card { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 11px; background: #fff; border: 1px solid var(--line); transition: border-color 0.25s, box-shadow 0.25s, opacity 0.35s, transform 0.35s, max-height 0.4s, padding 0.4s, margin 0.4s; max-height: 80px; animation: card-in 0.4s ease both; }
.lp-card .ph { width: 52px; height: 38px; flex: none; }
.lp-card b { display: block; font-size: 12.5px; }
.lp-card small { display: block; font-size: 11.5px; color: var(--muted); }
.lp-card .tag { display: inline-block; margin-top: 3px; font-size: 10.5px; font-weight: 600; padding: 1px 7px; border-radius: 6px; background: var(--amber-tint); color: var(--amber); }
.lp-card.sel { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.lp-card.out { opacity: 0; transform: translateX(30px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-bottom: -8px; border-width: 0; }
@keyframes card-in { from { opacity: 0; transform: translateY(8px); } }
.lp-toast { position: absolute; left: 16px; right: 16px; bottom: 66px; z-index: 2; padding: 9px 12px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 500; text-align: center; opacity: 0; transform: translateY(8px); transition: opacity 0.3s, transform 0.3s; }
.lp-toast.show { opacity: 1; transform: none; }

/* Floating chips and the pointer */
.loop-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px; padding: 11px 16px 11px 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; transform: translateY(10px) scale(0.96); transition: opacity 0.4s, transform 0.4s cubic-bezier(0.3, 1.3, 0.5, 1); }
.loop-chip.show { opacity: 1; transform: none; }
.loop-chip .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.loop-chip .dot svg { width: 17px; height: 17px; }
.loop-chip b { display: block; font-size: 14px; }
.loop-chip small { font-size: 12px; color: var(--muted); }
.chip-filled { top: 44px; right: -14px; }
.chip-sold { bottom: -4px; left: 40px; }
.loop-cursor { position: absolute; z-index: 4; top: 0; left: 0; width: 22px; height: 22px; transform: translate(var(--cx, 600px), var(--cy, 400px)); transition: transform 0.7s cubic-bezier(0.45, 0, 0.2, 1), opacity 0.3s; filter: drop-shadow(0 2px 3px rgb(0 0 0 / 20%)); }
.loop-cursor.hide { opacity: 0; }
.loop-cursor.click { animation: click 0.3s ease; }
@keyframes click { 50% { width: 19px; height: 19px; } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 48px 0 0; }
.stats div { background: rgb(255 255 255 / 70%); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.stats dt { font-size: 1.5rem; font-weight: 750; letter-spacing: -0.02em; color: var(--accent); }
.stats dd { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

/* --- Book a demo ------------------------------------------------------------ */
.doc .wrap.wide { max-width: var(--max); }
.book { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.book .checks { margin-bottom: 28px; }
.book-alt { color: var(--muted); font-size: 0.92rem; }
.calendar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); min-height: 640px; overflow: hidden; }
.calendar-wait { padding: 40px; text-align: center; color: var(--muted); }

/* --- Sections ------------------------------------------------------------ */
section { padding: 64px 0; }
section[id] { scroll-margin-top: 64px; }
.section-soft { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip { padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.strip ul { list-style: none; margin: 0 auto; padding: 0 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; color: var(--ink-soft); font-size: 0.95rem; }
.strip li { display: flex; align-items: center; gap: 9px; }
.strip svg { width: 18px; height: 18px; color: var(--accent); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 1px 2px rgb(29 43 42 / 3%); }
.section-soft .feature { background: var(--bg); }
.feature p { color: var(--ink-soft); font-size: 0.97rem; margin: 0; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.icon svg { width: 22px; height: 22px; }
.i-teal { background: var(--accent-tint); color: var(--accent); }
.i-sky { background: var(--sky-tint); color: #2f6ea3; }
.i-peach { background: var(--peach-tint); color: #b2603a; }
.i-amber { background: var(--amber-tint); color: var(--amber); }

.timeline { --progress: 0; position: relative; list-style: none; max-width: 820px; margin: 48px auto 0; padding: 0; display: grid; gap: 22px; }
/* The track, and the part of it filled as you scroll. */
.timeline::before, .timeline::after { content: ''; position: absolute; left: 31px; top: 32px; bottom: 32px; width: 2px; border-radius: 2px; background: var(--line); }
.timeline::after { background: var(--accent); transform-origin: top; transform: scaleY(var(--progress)); }
.timeline li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 24px; align-items: start; }
.timeline .num { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); display: grid; place-items: center; font-weight: 750; font-size: 1.05rem; color: var(--muted); letter-spacing: 0.02em; transition: background 0.4s, border-color 0.4s, color 0.4s; }
.timeline li > div { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; }
.timeline h3 { font-size: 1.25rem; margin-bottom: 0.4em; }
.timeline li p { color: var(--ink-soft); margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px !important; }
.tags span { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 0.78rem; color: var(--accent-strong); background: var(--accent-tint); border-radius: 999px; padding: 3px 10px; }
.timeline li.in .num, html:not(.animate) .timeline .num { background: var(--accent); border-color: var(--accent); color: #fff; }
/* Scroll reveal (only when scripts run and motion is welcome). */
.animate .reveal > div { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.animate .reveal .num { opacity: 0; transform: scale(0.6); transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.3, 1.4, 0.5, 1), background 0.4s, border-color 0.4s, color 0.4s; }
.animate .reveal.in > div, .animate .reveal.in .num { opacity: 1; transform: none; }
.animate .reveal.in > div { transition-delay: 0.08s; }
.nowrap { white-space: nowrap; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; color: var(--ink-soft); }
.checks li::before { content: '✓'; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); font-size: 0.75rem; font-weight: 700; display: grid; place-items: center; margin-top: 2px; }
.checks b { color: var(--ink); font-weight: 600; }

.attention { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 22px; display: grid; gap: 12px; }
.attention h4 { margin: 0 0 4px; font-size: 0.95rem; }
.alert { border-radius: 12px; padding: 14px 16px; display: grid; gap: 4px; font-size: 0.86rem; }
.alert b { font-size: 0.9rem; }
.alert small { color: var(--ink-soft); }
.alert-warn { background: var(--amber-tint); border: 1px solid #f0dcb6; }
.alert-sky { background: var(--sky-tint); border: 1px solid #d3e3f1; }
.alert-ok { background: var(--accent-tint); border: 1px solid #c6e5dd; }


/* --- Dashboard screenshots ------------------------------------------------ */
.feature-link { display: block; color: inherit; text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.feature-link:hover { color: inherit; border-color: #bfe0d8; box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-link .more { display: inline-block; margin-top: 12px; color: var(--accent); font-weight: 600; font-size: 0.95rem; }
.shot { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.shot img { width: 100%; height: auto; }
.shot-hero { margin-top: 36px; }
.shot-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; margin-top: 28px; align-items: start; }
.shot-card { margin: 0; }
.shot-card .shot { border-radius: var(--radius); box-shadow: var(--shadow); }
.shot-card figcaption { margin-top: 14px; color: var(--ink-soft); font-size: 0.97rem; }
.shot-card figcaption b { color: var(--ink); }

/* --- Pilot CTA ------------------------------------------------------------ */
.cta { border-radius: 28px; padding: 56px; background:
  radial-gradient(600px 300px at 100% 0%, rgb(255 255 255 / 55%) 0%, transparent 60%),
  linear-gradient(135deg, #dff1ec 0%, #e8f0f7 100%); border: 1px solid #d3e7e1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cta h2 { margin-bottom: 12px; }
.cta p { color: var(--ink-soft); margin: 0; }
.cta .btn-row { justify-content: flex-end; }

/* --- FAQ ------------------------------------------------------------------ */
.faq { max-width: 780px; margin: 32px auto 0; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 1.3rem; line-height: 1; font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--ink-soft); margin: 0 0 18px; }

/* --- Footer --------------------------------------------------------------- */
.site-footer { padding: 48px 0 40px; border-top: 1px solid var(--line); background: var(--surface); font-size: 0.9rem; color: var(--muted); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.fine { margin-top: 28px; font-size: 0.8rem; color: var(--muted); max-width: 760px; }

/* --- Document pages (install, privacy, terms) ---------------------------- */
.doc { padding: 64px 0 88px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.doc h2 { font-size: 1.35rem; margin-top: 2.2em; }
.doc p, .doc li { color: var(--ink-soft); }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin-bottom: 0.5em; }
.updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 2em; }
.note { background: var(--surface-soft); border: 1px solid #dbe6df; border-radius: var(--radius); padding: 18px 20px; color: var(--ink-soft); }
.note b { color: var(--ink); }
.install-steps { counter-reset: step; list-style: none; padding: 0 !important; display: grid; gap: 14px; margin: 28px 0; }
.install-steps li { counter-increment: step; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 18px 64px; margin: 0; }
.install-steps li::before { content: counter(step); position: absolute; left: 20px; top: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); font-weight: 700; display: grid; place-items: center; font-size: 0.9rem; }
.install-steps b { color: var(--ink); }
code, kbd { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 0.88em; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--ink); }
.download-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 26px; box-shadow: var(--shadow); margin: 28px 0; }
.download-card b { display: block; font-size: 1.05rem; }
.download-card small { color: var(--muted); }

/* --- Responsive ------------------------------------------------------------ */
@media (max-width: 960px) {
  .hero-grid, .split, .cta, .shot-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .cta { padding: 40px 32px; }
  .cta .btn-row { justify-content: flex-start; }
  .book { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding-top: 44px; }
  .grid-3 { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 44px 1fr; gap: 14px; }
  .timeline .num { width: 44px; height: 44px; font-size: 0.9rem; }
  .timeline::before, .timeline::after { left: 21px; top: 22px; bottom: 22px; }
  .timeline li > div { padding: 18px 18px; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .stats dt { font-size: 1.25rem; }
  section { padding: 48px 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
