/* LodgeBoss site. Light theme in the app's own violet -> fuchsia -> orange brand colors. No JavaScript, no external fonts or requests. */
:root {
  --bg: #f8fafc; /* slate-50, same page color as the app itself */
  --bg-deep: #f1f5f9; /* slate-100 */
  --card: #ffffff;
  --card-solid: #ffffff;
  --line: rgba(15, 23, 42, 0.1);
  --text: #0f172a; /* slate-900 */
  --muted: #475569; /* slate-600 */
  --violet: #7c3aed; /* accents, glows -- app's accent-600 */
  --violet-soft: #6d28d9; /* violet text and links on light -- app's sidebar-from */
  --cta: #7c3aed; /* white text on this passes AA */
  --cta-hover: #6d28d9;
  --green: #047857;
  --red: #be123c;
  --fuchsia: #a21caf; /* payment card label + number */
  --band-a: #5b21b6; /* the gradient call-to-action band; white text must pass on both ends */
  --band-b: #c026d3;
  --panel: rgba(255, 255, 255, 0.82); /* frosted section background: text stays readable even over the photo's darkest pixels */
  --panel-tint: rgba(245, 243, 255, 0.86);
  --radius: 24px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; background: var(--bg); }
body {
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI Variable Text", "Segoe UI", ui-sans-serif, system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-soft); text-underline-offset: 3px; }
a:hover { color: #4c1d95; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(139, 92, 246, 0.25); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip { position: absolute; left: -9999px; top: 8px; background: #fff; color: #111; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 24px; height: 72px; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 20px; color: var(--text); text-decoration: none; letter-spacing: -0.02em; }
.brand:hover { color: var(--text); }
.brand img { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3); }
.brand small { color: var(--violet-soft); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; font-size: 10px; display: block; line-height: 1; margin-top: 3px; }
.nav { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 14px; }
.nav a:hover { color: var(--text); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; }
.nav-phone { color: var(--text) !important; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* mobile menu: a <details>, so it works without JavaScript */
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--text); border: 1px solid var(--line); background: #fff; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary .ic { width: 22px; height: 22px; }
.menu[open] summary { background: var(--bg-deep); }
.menu-panel { position: absolute; right: 0; top: 64px; width: min(300px, 100vw - 40px); background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 10px; box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18); }
.menu-panel a { display: block; padding: 12px 14px; border-radius: 12px; color: var(--text); text-decoration: none; font-weight: 700; }
.menu-panel a:hover { background: rgba(124, 58, 237, 0.08); color: var(--violet-soft); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 16px; font-weight: 800; font-size: 16px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; line-height: 1.2;
  transition: transform 0.15s var(--ease), background 0.15s, border-color 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--cta); color: #fff; box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3); }
.btn-primary:hover { background: var(--cta-hover); color: #fff; }
.btn-ghost { background: #fff; color: var(--text); border-color: rgba(15, 23, 42, 0.16); }
.btn-ghost:hover { border-color: var(--violet); color: var(--violet-soft); }
.btn-small { padding: 10px 18px; font-size: 14px; border-radius: 12px; white-space: nowrap; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.mid { justify-content: center; }

/* ---- the photo behind everything ---- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }
/* Twice the viewport tall, so scrolling can pan down through the whole photo (see the animations below). */
.bg-img { position: absolute; left: 0; top: 0; width: 100%; height: 200vh; background: url(/assets/lobby-sm.jpg) center / cover no-repeat; translate: 0 -30vh; }
@media (min-width: 701px) { .bg-img { background-image: url(/assets/lobby.jpg); } }
/* A pure-photo gap between sections, so the picture gets to show. */
.window { height: 44vh; min-height: 300px; }

/* ---- hero ---- */
.hero { position: relative; text-align: center; padding: 72px 0 88px; min-height: min(760px, calc(100vh - 72px)); display: grid; align-items: center; }
.hero .container { position: relative; max-width: 940px; background: var(--panel); border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 40px; padding: 56px 40px 48px; box-shadow: 0 40px 90px -30px rgba(15, 23, 42, 0.45); }
.pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(124, 58, 237, 0.09); border: 1px solid rgba(124, 58, 237, 0.28); color: var(--violet-soft); font-weight: 800; font-size: 12px; padding: 8px 16px; border-radius: 999px; letter-spacing: 0.02em; }
h1 {
  font-size: clamp(38px, 6.4vw, 78px); line-height: 1.04; letter-spacing: -0.035em; margin: 26px auto 22px; font-weight: 900; max-width: 15em;
  color: var(--text);
  background: linear-gradient(135deg, #1e1b4b 0%, #5b21b6 45%, #c026d3 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
@media (forced-colors: active) { h1 { background: none; -webkit-text-fill-color: currentColor; } }
.lead { font-size: clamp(17px, 1.8vw, 21px); color: var(--muted); max-width: 40em; margin: 0 auto 32px; }
.fine { color: var(--muted); font-size: 14px; margin: 22px 0 0; }
.fine span + span::before { content: "·"; margin: 0 8px; color: #94a3b8; }
.hero-contact { margin: 12px 0 0; color: var(--muted); font-size: 15px; }
.hero-contact strong { color: var(--text); }
.hero-contact a { font-weight: 800; white-space: nowrap; }

/* ---- trust strip ---- */
.strip { border-block: 1px solid var(--line); background: var(--panel); }
.strip ul { list-style: none; margin: 0; padding: 22px 0; display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: center; font-weight: 700; color: var(--muted); font-size: 15px; }
.strip li { display: flex; align-items: center; gap: 10px; }
.strip .ic { color: var(--violet); }

/* ---- sections ---- */
section { padding: 96px 0; background: var(--panel); position: relative; }
.section-title { font-size: clamp(28px, 3.8vw, 46px); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 14px; font-weight: 900; color: var(--text); }
.section-sub { color: var(--muted); font-size: 18px; max-width: 40em; margin: 0 0 48px; }
.center { text-align: center; }
.center .section-sub { margin-inline: auto; }
.tint { background: var(--panel-tint); }

/* ---- pain cards ---- */
.pain { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; max-width: 1000px; margin-inline: auto; }
.pain div { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 30px 20px; text-align: center; font-weight: 800; font-size: 15px; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 24px -14px rgba(15, 23, 42, 0.14); }
.pain .ic { width: 38px; height: 38px; color: #8b5cf6; display: block; margin: 0 auto 14px; stroke-width: 1.6; }

/* ---- feature cards ---- */
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 14px 32px -16px rgba(15, 23, 42, 0.16); }
.card h3 { margin: 22px 0 8px; font-size: 20px; letter-spacing: -0.01em; color: var(--text); }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.icon { width: 50px; height: 50px; flex: none; border-radius: 14px; display: grid; place-items: center; }
.icon .ic { width: 24px; height: 24px; }
.i-violet { background: rgba(124, 58, 237, 0.12); color: #6d28d9; }
.i-green { background: rgba(16, 185, 129, 0.14); color: #047857; }
.i-fuchsia { background: rgba(192, 38, 211, 0.12); color: #a21caf; }
.i-orange { background: rgba(249, 115, 22, 0.14); color: #c2410c; }
.i-pink { background: rgba(236, 72, 153, 0.13); color: #be185d; }
.i-slate { background: rgba(100, 116, 139, 0.14); color: #475569; }

.minis { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 24px; }
.mini { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04); }
.mini .icon { width: 42px; height: 42px; border-radius: 12px; }
.mini .icon .ic { width: 20px; height: 20px; }
.mini h3 { margin: 0 0 4px; font-size: 16px; color: var(--text); }
.mini p { margin: 0; color: var(--muted); font-size: 14px; }

.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { padding-left: 32px; position: relative; margin: 10px 0; color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--violet); background: radial-gradient(circle, var(--violet) 0 3px, transparent 3.5px); }

/* ---- compare ---- */
.vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 980px; margin-inline: auto; }
.vs-card { border-radius: 32px; padding: 36px; border: 1px solid; }
.vs-card h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font-size: 24px; letter-spacing: -0.01em; }
.vs-card ul { list-style: none; margin: 0; padding: 0; }
.vs-card li { display: flex; gap: 12px; margin: 16px 0; color: #334155; font-size: 15px; }
.vs-card li strong { color: var(--text); }
.vs-card li .ic { margin-top: 3px; }
.vs-old { background: rgba(244, 63, 94, 0.06); border-color: rgba(244, 63, 94, 0.28); }
.vs-old h3, .vs-old li .ic { color: var(--red); }
.vs-new { background: rgba(16, 185, 129, 0.07); border-color: rgba(16, 185, 129, 0.35); border-top: 3px solid var(--green); }
.vs-new h3, .vs-new li .ic { color: var(--green); }

/* ---- steps ---- */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 24px -14px rgba(15, 23, 42, 0.14); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(124, 58, 237, 0.12); color: var(--violet-soft); font-weight: 900; margin-bottom: 16px; }
.steps strong { display: block; font-size: 18px; margin-bottom: 4px; color: var(--text); }
.steps span { color: var(--muted); }

/* ---- pricing ---- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1080px; margin-inline: auto; }
.plan { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 32px; padding: 36px 32px; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 18px 40px -20px rgba(15, 23, 42, 0.2); }
.plan.featured { border: 2px solid rgba(124, 58, 237, 0.55); box-shadow: 0 24px 60px -20px rgba(124, 58, 237, 0.4); }
.plan .tag { position: absolute; top: 0; right: 0; background: var(--cta); color: #fff; font-size: 10px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 16px; border-radius: 0 0 0 16px; }
.plan h3 { margin: 0; font-size: 20px; color: var(--text); }
.plan .sub { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.price { font-size: 44px; font-weight: 900; letter-spacing: -0.03em; margin: 14px 0 2px; line-height: 1.1; color: var(--text); }
.plan.featured .price { color: var(--violet-soft); }
.price small { display: block; font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-top: 6px; }
.plan .ticks { margin: 22px 0 28px; flex: 1; }
.plan .ticks li { font-size: 14px; }
.plan .btn-row { margin-top: auto; }
.plan .btn { width: 100%; }

/* ---- buying: payment + contact ---- */
.buy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px; max-width: 940px; margin-inline: auto; align-items: stretch; }
.pay-card, .contact-card { background: var(--card); border: 1px solid var(--line); border-radius: 32px; padding: 36px; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 18px 40px -22px rgba(15, 23, 42, 0.2); }
.pay-card { border: 1px solid rgba(162, 28, 175, 0.35); text-align: center; display: flex; flex-direction: column; align-items: center; background: var(--card-solid); }
.label { margin: 0 0 14px; font-size: 12px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.pay-card .label { color: var(--fuchsia); }
/* QR codes need a light quiet zone around them to scan reliably, so the image sits on white. */
.qr { width: min(320px, 100%); height: auto; border-radius: 16px; padding: 10px; margin: 0 auto 8px; background: #fff; border: 1px solid var(--line); }
.qr-save { font-size: 14px; font-weight: 800; margin-bottom: 16px; }
.who { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; color: var(--text); }
.phone { display: block; font-size: clamp(28px, 4vw, 38px); font-weight: 900; letter-spacing: 0.01em; text-decoration: none; margin: 4px 0 14px; font-variant-numeric: tabular-nums; color: var(--violet-soft); }
.phone:hover { color: #4c1d95; }
.pay-card .phone { color: var(--fuchsia); }
.pay-card .phone:hover { color: #701a75; }
.pay-card .note { margin: 0; }
.contact-card .btn-row { margin-bottom: 24px; }
.contact-card .btn { padding: 12px 20px; font-size: 15px; border-radius: 14px; }
.buy-steps { padding-left: 22px; margin: 0 0 14px; color: #334155; }
.buy-steps li { margin: 8px 0; }

/* ---- download + windows help ---- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.help { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04); }
.help h3 { margin: 0 0 10px; font-size: 20px; color: var(--text); }
.help ol { padding-left: 22px; margin: 0; color: #334155; }
.help li { margin: 8px 0; }
.mono { font-family: "Cascadia Mono", Consolas, monospace; font-size: 13px; background: var(--bg-deep); color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: block; overflow-wrap: anywhere; user-select: all; }
.kbd { font-weight: 800; color: #4c1d95; background: rgba(124, 58, 237, 0.1); border: 1px solid rgba(124, 58, 237, 0.3); border-radius: 8px; padding: 1px 8px; white-space: nowrap; }
.note { color: var(--muted); font-size: 14px; }

.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.label-gap { margin: 12px 0 6px; }

/* ---- made by ---- */
.maker { max-width: 820px; margin-inline: auto; background: linear-gradient(135deg, #fff, #f5f3ff); border: 1px solid var(--line); border-left: 5px solid var(--violet); border-radius: 28px; padding: 40px; box-shadow: 0 18px 40px -24px rgba(15, 23, 42, 0.2); }
.maker h2 { margin: 0 0 14px; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.025em; color: var(--text); font-weight: 900; }
.maker h2 em { font-style: normal; color: var(--violet-soft); }
.maker p { color: #334155; margin: 0 0 12px; font-size: 17px; }
.maker .who { margin-top: 20px; font-size: 16px; }

/* ---- FAQ ---- */
.faq { display: grid; gap: 14px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 0 24px; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04); }
.faq details[open] { border-color: rgba(124, 58, 237, 0.35); }
.faq summary { cursor: pointer; font-weight: 800; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 0.2s var(--ease); flex: none; margin: -4px 4px 0 0; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq details p { margin: 0 0 22px; color: var(--muted); }

/* ---- call to action + footer ---- */
.cta { padding: 12vh 0 96px; background: none; }
.cta-card { position: relative; overflow: hidden; text-align: center; border-radius: 40px; padding: 72px 24px; background: linear-gradient(135deg, var(--band-a) 0%, var(--cta) 48%, var(--band-b) 100%); box-shadow: 0 30px 70px -28px rgba(91, 33, 182, 0.55); }
.cta-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, 0.35) 1.5px, transparent 1.5px); background-size: 26px 26px; opacity: 0.35; }
.cta-card > * { position: relative; }
.cta h2 { font-size: clamp(28px, 4vw, 46px); margin: 0 0 12px; letter-spacing: -0.03em; font-weight: 900; color: #fff; }
.cta p { margin: 0 auto 30px; max-width: 34em; color: rgba(255, 255, 255, 0.92); font-size: 18px; }
.cta .btn-row { justify-content: center; }
.cta .btn-primary { background: #fff; color: var(--band-a); box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25); }
.cta .btn-primary:hover { background: #f5f3ff; color: var(--band-a); }
.cta .btn-ghost { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.cta .btn-ghost:hover { background: rgba(255, 255, 255, 0.24); border-color: #fff; color: #fff; }

.site-footer { border-top: 1px solid var(--line); background: var(--panel); color: var(--muted); padding: 48px 0; font-size: 15px; }
.site-footer strong { color: var(--text); }
.site-footer a { color: #334155; }
.site-footer a:hover { color: var(--violet-soft); }
.site-footer .container { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px 24px; flex-wrap: wrap; align-content: flex-start; }
.site-footer small { display: block; margin-top: 10px; color: #64748b; }

/* ---- legal pages ---- */
.legal { background: var(--panel); border-radius: 32px; padding: 48px 44px 56px; margin: 48px auto 80px; box-shadow: 0 30px 70px -30px rgba(15, 23, 42, 0.4); }
.legal h1 { font-size: clamp(32px, 4vw, 44px); margin: 0 0 6px; max-width: none; background: none; -webkit-text-fill-color: currentColor; color: var(--text); letter-spacing: -0.03em; }
.legal h2 { font-size: 22px; margin: 36px 0 8px; letter-spacing: -0.01em; color: var(--text); }
.legal p, .legal li { color: #334155; }
.legal .meta { color: var(--muted); margin: 0 0 8px; }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .two, .plans, .buy-grid, .vs, .site-footer .container { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 48px; }
  .nav a:not(.btn):not(.nav-phone) { display: none; }
  .menu { display: block; }
  .nav { margin-left: auto; gap: 14px; }
  section { padding: 64px 0; }
  .plan, .pay-card, .contact-card, .vs-card { padding: 28px; }
}
@media (max-width: 520px) {
  .nav-phone { font-size: 14px; }
  .pay-card, .contact-card { padding: 24px 20px; }
  .brand small { display: none; }
}
@media (max-width: 420px) {
  .nav-phone { display: none; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .nav .btn { width: auto; }
  .site-header .container { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .faq summary::after { transition: none; } }

/* ---- motion ---------------------------------------------------------------------------------------
   Pure CSS, no JavaScript. Things that play on load or on hover work everywhere. Scroll-linked effects
   (parallax photo, reveal-on-scroll, progress bar) use CSS scroll timelines: Chrome, Edge and Safari 26+.
   Where those aren't supported the page is simply still -- nothing is ever left hidden. */
@keyframes rise-in { from { opacity: 0; translate: 0 36px; } to { opacity: 1; translate: 0 0; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes sheen { from { background-position: 0% 0; } to { background-position: 100% 0; } }
@keyframes glow-pulse { 0%, 100% { box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3); } 50% { box-shadow: 0 10px 44px rgba(217, 70, 239, 0.6); } }

.bg-img { animation: fade-in 1.6s ease-out both; }
.hero .pill { animation: rise-in 0.7s 0.05s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero h1 { animation: rise-in 0.8s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both, sheen 9s 1s ease-in-out infinite alternate; }
.hero .lead { animation: rise-in 0.8s 0.28s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero .btn-row { animation: rise-in 0.8s 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero .fine { animation: rise-in 0.8s 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero .hero-contact { animation: rise-in 0.8s 0.58s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero .btn-primary { animation: glow-pulse 3.2s 1.4s ease-in-out infinite; }

.pain .ic { animation: float 4.2s ease-in-out infinite; }
.pain > :nth-child(2) .ic { animation-delay: -1s; }
.pain > :nth-child(3) .ic { animation-delay: -2s; }
.pain > :nth-child(4) .ic { animation-delay: -3s; }

.card, .plan, .mini, .help, .vs-card, .steps li { transition: transform 0.28s var(--ease), box-shadow 0.28s; }
.card:hover, .plan:hover, .mini:hover, .help:hover, .steps li:hover { transform: translateY(-5px); box-shadow: 0 2px 4px rgba(15, 23, 42, 0.05), 0 26px 50px -18px rgba(91, 33, 182, 0.35); }

.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%); translate: -130% 0; transition: translate 0.7s var(--ease); pointer-events: none; }
.btn-primary:hover::after { translate: 130% 0; }

@supports (animation-timeline: view()) {
  @keyframes bg-pan { from { translate: 0 0; scale: 1.02; } to { translate: 0 -100vh; scale: 1.1; } }
  @keyframes hero-out { to { translate: 0 -80px; scale: 0.95; opacity: 0; } }
  @keyframes drift { from { transform: translateY(30px); } to { transform: translateY(-30px); } }
  @keyframes orb { from { translate: 0 120px; } to { translate: 0 -160px; } }
  @keyframes band-shift { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
  @keyframes progress { to { scale: 1 1; } }

  /* The photo: fixed behind the page, panning down through the whole picture as you scroll. */
  .bg-img { animation: fade-in 1.6s ease-out both, bg-pan linear both; animation-timeline: auto, scroll(root); }

  /* The hero card lifts away and fades as you leave it. */
  .hero .container { animation: hero-out linear both; animation-timeline: scroll(root); animation-range: 0 80vh; }

  /* A rainbow progress line under the header. */
  .site-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, #6d28d9, #d946ef, #fb923c); transform-origin: 0 50%; scale: 0 1; animation: progress linear both; animation-timeline: scroll(root); }

  /* Everything rises into place as it enters the screen; siblings are staggered a little. */
  .section-sub, .card, .mini, .pain > div, .vs-card, .steps li, .plan, .pay-card, .contact-card, .help, .faq details, .maker, .strip li {
    animation: rise-in linear both; animation-timeline: view(); animation-range: entry var(--s, 0%) entry calc(var(--s, 0%) + 70%);
  }
  .grid3 > :nth-child(2), .minis > :nth-child(3n + 2), .steps li:nth-child(2), .plans > :nth-child(2), .strip li:nth-child(2) { --s: 8%; }
  .grid3 > :nth-child(3), .minis > :nth-child(3n), .steps li:nth-child(3), .plans > :nth-child(3), .strip li:nth-child(3) { --s: 16%; }
  .pain > :nth-child(2) { --s: 6%; } .pain > :nth-child(3) { --s: 12%; } .pain > :nth-child(4), .strip li:nth-child(4) { --s: 18%; }

  /* Section titles rise in, then keep drifting at their own speed -- a touch of depth. */
  .section-title { animation: rise-in linear both, drift linear both; animation-timeline: view(), view(); animation-range: entry 0% entry 70%, cover 0% cover 100%; }

  /* The closing band: rises in while its gradient slowly slides. */
  .cta-card { background-size: 170% 170%; animation: rise-in linear both, band-shift linear both; animation-timeline: view(), view(); animation-range: entry 0% entry 70%, cover 0% cover 100%; }

  /* Soft colour orbs that drift at a different speed from the content over them. */
  #features, #pricing, #faq { overflow: hidden; }
  #features::before, #pricing::before, #faq::before { content: ''; position: absolute; width: 560px; height: 560px; border-radius: 50%; pointer-events: none; animation: orb linear both; animation-timeline: view(); }
  #features::before { left: -220px; top: 10%; background: radial-gradient(circle, rgba(251, 146, 60, 0.26), transparent 66%); }
  #pricing::before { right: -220px; top: 4%; background: radial-gradient(circle, rgba(217, 70, 239, 0.24), transparent 66%); }
  #faq::before { left: -200px; bottom: 0; background: radial-gradient(circle, rgba(124, 58, 237, 0.22), transparent 66%); }
  #features > .container, #pricing > .container, #faq > .narrow { position: relative; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .bg-img { translate: 0 -30vh; }
}
