/* Cender Systems — layout modeled on a modern SaaS marketing site:
   floating header card, 1280px container, 112px section rhythm, tight display headings,
   pill buttons, large-radius cards. Theme: #171329 · #7C3AED · #B69CFF · #F7F6FB. */
:root {
  /* Theme colors */
  --ink: #171329;
  --violet: #7C3AED;
  --lavender: #B69CFF;
  --mist: #F7F6FB;

  /* Derived tints */
  --ink-hover: #2a2445;
  --muted: #6b6880;
  --line: #e7e4f0;
  --line-strong: rgba(23, 19, 41, .13);
  --accent: var(--violet);
  --accent-hover: #6a2bd6;
  --accent-soft: #efe9ff;
  --accent-line: #ddd0ff;
  --soft: var(--mist);
  --white: #ffffff;
  --disabled: #8c8898;

  --font-display: "Urbanist", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --r: 14px;
  --r-xl: 20px;
  --r-2xl: 26px;
  --r-section: 36px;
  --container: 1280px;
  --header-h: 64px;
  --shadow-pop: 0 16px 48px rgba(23, 19, 41, .14), 0 2px 6px rgba(23, 19, 41, .06);
  --shadow-card: 0 1px 2px rgba(23, 19, 41, .04), 0 10px 30px rgba(23, 19, 41, .06);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--accent); }
p { margin: 0 0 14px; }
ul { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: 24px; }
.container-narrow { max-width: 816px; }
.section { padding-block: 112px; }
.section-soft { background: var(--soft); }
.section-white { background: var(--white); }
@media (max-width: 760px) {
  .container { padding-inline: 20px; }
  .section { padding-block: 72px; }
}

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; color: var(--ink); text-wrap: balance; }
.h1 { font-size: 76px; line-height: 1.02; letter-spacing: -0.045em; }
.h2 { font-size: 46px; line-height: 1.08; letter-spacing: -0.04em; }
.h2-lg { font-size: 56px; line-height: 1.06; letter-spacing: -0.045em; }
.h3 { font-size: 25px; line-height: 1.15; letter-spacing: -0.03em; }
.grad {
  display: block;
  background: linear-gradient(180deg, var(--lavender) 0%, var(--violet) 62%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  padding-bottom: .06em;
}
.lead { font-size: 19px; line-height: 1.45; font-weight: 500; color: var(--muted); }
.body { font-size: 16px; line-height: 1.5; font-weight: 500; color: var(--muted); }
.small { font-size: 14px; line-height: 1.45; color: var(--muted); }
.label { display: block; font-size: 16px; font-weight: 500; color: var(--ink); padding-bottom: 12px; }
@media (max-width: 760px) {
  .h1 { font-size: 46px; line-height: 1.04; }
  .h2, .h2-lg { font-size: 36px; }
  .h3 { font-size: 23px; }
  .lead { font-size: 18px; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 6px; width: fit-content; align-self: flex-start;
  font-size: 12.5px; line-height: 16px; font-weight: 600;
  padding: 4px 11px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
}
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 780px; margin-bottom: 56px; }
.section-head .lead, .section-head .body { margin: 0; max-width: 620px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px; padding: 0 38px; border-radius: 999px;
  font-family: var(--font-body); font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-primary:hover { background: var(--ink-hover); border-color: var(--ink-hover); }
.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-violet { background: var(--violet); color: var(--white); border-color: var(--violet); }
.btn-violet:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light:hover { background: var(--accent-soft); border-color: var(--accent-soft); }
.btn-sm { height: 40px; padding: 0 20px; font-size: 15px; }
.btn-block { display: flex; width: 100%; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--disabled); border-color: var(--disabled); color: rgba(255,255,255,.92); cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }
@media (max-width: 560px) {
  .btn-row .btn { flex: 1 1 100%; height: 60px; font-size: 17.5px; }
}

/* ---------- Header (floating card) ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding: env(safe-area-inset-top, 0px) 12px 0;
  pointer-events: none;
}
.header-card {
  pointer-events: auto;
  max-width: 1256px; margin: 0 auto;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 12px 0 26px;
  background: var(--white);
  border: 1px solid var(--line); border-top: 0;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 6px 24px rgba(23, 19, 41, .05);
}
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 27px; letter-spacing: -0.05em; white-space: nowrap; }
.brand .dot { color: var(--violet); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav-link, .nav-trigger {
  display: inline-flex; align-items: center; gap: 4px;
  font: inherit; font-size: 15.5px; font-weight: 500; color: var(--ink);
  padding: 8px 13px; border-radius: var(--r); border: 0; background: none;
  text-decoration: none; cursor: pointer;
}
.nav-link:hover, .nav-trigger:hover, .nav-item.open .nav-trigger { background: var(--soft); }
.nav-link[aria-current="page"] { color: var(--accent); }
.nav-trigger svg { width: 14px; height: 14px; transition: transform .15s ease; }
.nav-item { position: relative; }
.nav-item.open .nav-trigger svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 12px); left: -8px; min-width: 310px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--shadow-pop); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.nav-item.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 10px 12px; border-radius: var(--r); text-decoration: none; color: var(--ink); }
.dropdown a:hover { background: var(--soft); }
.dropdown strong { display: block; font-size: 15px; font-weight: 600; }
.dropdown span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.header-cta { display: flex; align-items: center; gap: 8px; }
.menu-toggle {
  display: none; width: 56px; height: 40px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--white); color: var(--ink);
  cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle[aria-expanded="true"] { background: #eeedf2; border-color: #e3e1ea; }

@media (max-width: 960px) {
  .nav, .header-cta .desk-only { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-card { padding: 0 10px 0 22px; }
}
@media (max-width: 560px) {
  .header-card { gap: 10px; padding: 0 8px 0 18px; }
  .brand { font-size: 24px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .header-cta { gap: 6px; flex: none; }
  .header-cta .btn-sm { height: 38px; padding: 0 16px; font-size: 14.5px; }
  .menu-toggle { width: 48px; height: 38px; }
}
@media (max-width: 350px) {
  .brand { font-size: 22px; }
  .header-cta .btn-sm { padding: 0 12px; }
}

/* ---------- Mobile menu (card below the header) ---------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 55;
  background: linear-gradient(180deg, var(--mist) 0%, var(--mist) 70%, #f1ebff 100%);
  padding: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 12px) 12px calc(12px + env(safe-area-inset-bottom, 0px));
}
.menu-overlay[hidden] { display: none; }
.menu-card {
  position: relative; height: 100%; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: 26px;
}
.menu-panel {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  padding: 36px 28px 28px; overflow-y: auto;
  transition: transform .28s cubic-bezier(.2,.7,.2,1), opacity .2s ease;
}
.menu-panel[hidden] { display: flex; visibility: hidden; opacity: 0; pointer-events: none; }
.menu-panel.main[hidden] { transform: translateX(-12%); }
.menu-panel.sub[hidden] { transform: translateX(12%); }
.menu-list { display: flex; flex-direction: column; }
.menu-row {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 20px 4px; font: inherit; font-family: var(--font-body); font-size: 23px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left;
}
.menu-row svg { width: 24px; height: 24px; color: var(--muted); }
.menu-back {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  font: inherit; font-size: 15px; font-weight: 600; color: var(--muted);
  background: var(--soft); border: 0; border-radius: 999px; padding: 8px 14px 8px 10px; cursor: pointer; margin-bottom: 18px;
}
.menu-back svg { width: 18px; height: 18px; }
.menu-sub-title { font-family: var(--font-display); font-weight: 700; font-size: 32px; letter-spacing: -0.04em; margin: 0 0 12px 4px; }
.menu-sub { display: block; padding: 16px 4px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.menu-sub strong { display: block; font-size: 19px; font-weight: 600; }
.menu-sub span { display: block; font-size: 15px; color: var(--muted); margin-top: 2px; }
.menu-actions { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }
.menu-actions .btn { height: 60px; font-size: 18px; }

/* ---------- Hero (centered) ---------- */
.hero {
  background: linear-gradient(to bottom, var(--mist) 0%, var(--mist) 72%, var(--white) 100%);
  padding-top: calc(var(--header-h) + 96px); padding-bottom: 96px; text-align: center;
}
.hero-copy { display: flex; flex-direction: column; align-items: center; gap: 26px; max-width: 900px; margin: 0 auto; }
.hero-copy .eyebrow { align-self: center; }
.hero-copy .lead { max-width: 600px; margin: 0; }
.hero-copy .btn-row { margin-top: 10px; justify-content: center; width: 100%; }
.hero-window { max-width: 820px; margin: 72px auto 0; text-align: left; }
@media (max-width: 760px) {
  .hero { padding-top: calc(var(--header-h) + 64px); padding-bottom: 72px; }
  .hero-copy { gap: 22px; }
  .hero-window { margin-top: 48px; }
}

.page-hero { background: linear-gradient(to bottom, var(--mist) 70%, var(--white)); padding-top: calc(var(--header-h) + 80px); padding-bottom: 56px; }
.page-hero .inner { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 780px; }
.page-hero .lead { margin: 0; max-width: 640px; }
.page-hero .meta { font-size: 14px; color: var(--muted); margin: 0; }
@media (max-width: 760px) { .page-hero { padding-top: calc(var(--header-h) + 48px); padding-bottom: 32px; } }

/* ---------- Product window (example UI) ---------- */
.window { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2xl); box-shadow: var(--shadow-card); overflow: hidden; min-width: 0; }
.window-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.window-title { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.window-title .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.window-body { padding: 22px; }
.example-tag { font-size: 11.5px; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.segmented { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); }
.segmented [role="tab"] { font: inherit; font-size: 13px; font-weight: 600; color: var(--muted); padding: 6px 14px; border-radius: 999px; border: 0; background: none; cursor: pointer; }
.segmented [role="tab"][aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(23,19,41,.12); }
.msg { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
.msg + .msg { margin-top: 18px; }
.avatar { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--white); background: var(--violet); }
.avatar.alt { background: var(--ink); }
.msg-head { display: flex; align-items: baseline; gap: 8px; font-size: 14px; flex-wrap: wrap; }
.msg-head b { font-weight: 700; }
.msg-head .tag { font-size: 10px; font-weight: 700; padding: 1px 5px; border-radius: 4px; background: var(--soft); color: var(--muted); }
.msg-head time { color: var(--muted); font-size: 12.5px; }
.msg p { font-size: 15px; line-height: 1.45; margin: 2px 0 0; color: var(--ink); }
.summary-card { margin-top: 10px; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; background: var(--white); }
.summary-card h4 { font-family: var(--font-body); font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.check-list { list-style: none; padding: 0; display: grid; gap: 6px; }
.check-list li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ink); }
.check-list svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 2px; }
.pill-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.pill { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); color: var(--ink); }
.pill.urgent { background: #fff1ee; border-color: #f6d3cb; color: #a33a22; }
.pill.ok { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }

/* Phone mockup */
.phone { width: 100%; max-width: 360px; margin-inline: auto; background: var(--white); border: 1px solid var(--line); border-radius: 36px; padding: 14px; box-shadow: var(--shadow-card); }
.phone-screen { background: var(--soft); border-radius: 26px; padding: 18px 16px 22px; min-height: 340px; display: flex; flex-direction: column; gap: 10px; }
.phone-head { text-align: center; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.phone-head b { display: block; color: var(--ink); font-size: 14px; }
.bubble { max-width: 88%; padding: 10px 13px; border-radius: 18px; font-size: 14px; line-height: 1.4; }
.bubble.in { background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 6px; align-self: flex-start; }
.bubble-time { font-size: 11.5px; color: var(--muted); text-align: center; margin: 4px 0; }

/* ---------- Trades strip ---------- */
.strip { padding-block: 32px 64px; text-align: center; }
.strip p { font-size: 14.5px; color: var(--muted); margin-bottom: 20px; }
.strip ul { list-style: none; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 16px 56px; }
.strip li { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 27px; letter-spacing: -0.03em; color: var(--muted); }
.strip li svg { width: 26px; height: 26px; color: var(--accent); }
.strip .strip-more { margin: 22px 0 0; font-size: 15px; color: var(--muted); }
@media (max-width: 560px) {
  .strip ul { gap: 12px 28px; }
  .strip li { font-size: 20px; gap: 7px; }
  .strip li svg { width: 20px; height: 20px; }
}

/* ---------- Statement ---------- */
.statement { background: var(--ink); color: var(--white); border-radius: 0 0 var(--r-section) var(--r-section); padding-block: 112px; text-align: center; }
.statement h2 { color: var(--white); font-size: 54px; line-height: 1.1; letter-spacing: -0.04em; max-width: 960px; margin: 0 auto 38px; }
.rotator { display: block; position: relative; height: 1.15em; overflow: hidden; color: var(--lavender); }
.rotator span { position: absolute; inset: 0; transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .5s ease; transform: translateY(100%); opacity: 0; }
.rotator span.active { transform: none; opacity: 1; }
.rotator span.leaving { transform: translateY(-100%); opacity: 0; }
@media (max-width: 760px) {
  .statement { padding-block: 80px; }
  .statement h2 { font-size: 36px; }
  .rotator { height: 2.3em; }
}

/* ---------- Feature cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .card-grid { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2xl); padding: 32px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card .body { margin: 0; }
.card-visual { margin-top: auto; padding-top: 12px; }
.mini { border: 1px solid var(--line); border-radius: var(--r); background: var(--soft); padding: 14px 16px; font-size: 14px; display: grid; gap: 8px; }
.mini-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mini-row span { color: var(--muted); }
.mini-row b { font-weight: 600; text-align: right; }
.callout { margin-top: 20px; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; align-items: start; padding: 28px 32px; border-radius: var(--r-2xl); background: var(--white); border: 1px solid var(--accent-line); }
.callout .icon { width: 48px; height: 48px; border-radius: var(--r); background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.callout .icon svg { width: 24px; height: 24px; }
.callout p { margin: 4px 0 0; }

/* ---------- Comparison tabs ---------- */
.tabs-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tabs-bar [role="tab"] { font: inherit; font-size: 15px; font-weight: 600; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); cursor: pointer; }
.tabs-bar [role="tab"]:hover { border-color: var(--ink); }
.tabs-bar [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 760px) { .compare { grid-template-columns: minmax(0, 1fr); } }
.compare-col { border-radius: var(--r-2xl); padding: 32px; min-height: 220px; display: flex; flex-direction: column; gap: 14px; }
.compare-col.before { background: var(--white); border: 1px solid var(--line); }
.compare-col.after { background: var(--accent-soft); border: 1px solid var(--accent-line); }
.compare-col .who { font-size: 14px; font-weight: 600; color: var(--muted); }
.compare-col.after .who { color: var(--accent); }
.compare-col p { font-family: var(--font-display); font-weight: 600; font-size: 27px; line-height: 1.2; letter-spacing: -0.03em; margin: 0; color: var(--ink); }
.compare-col.before p { color: var(--muted); }
[role="tabpanel"][hidden] { display: none; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2xl); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.step::before { content: counter(step); width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; font-weight: 700; font-size: 15px; background: var(--accent-soft); color: var(--accent); margin-bottom: 12px; }
.step .body { margin: 0; }
.after-steps { margin-top: 40px; }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 72px; align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 980px) { .split { grid-template-columns: minmax(0, 1fr); gap: 48px; } }
.stack { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.stack > p { margin: 0; }
.consent-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px 26px; font-size: 15px; line-height: 1.55; }
.consent-box p:last-child { margin-bottom: 0; }

/* ---------- ROI band ---------- */
.band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; padding: 48px; border-radius: var(--r-section); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.band .stack { gap: 10px; }
.band-figure { font-size: 15px; color: var(--accent); font-weight: 700; }
@media (max-width: 760px) { .band { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
@media (max-width: 760px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--white); transition: border-color .15s ease; }
.faq-item[open] { border-color: var(--accent-line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 20px 24px; font-size: 18px; font-weight: 600; line-height: 1.4; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { flex: none; width: 26px; height: 26px; border-radius: 999px; background: var(--soft); display: grid; place-items: center; margin-top: 1px; transition: transform .2s ease, background-color .2s ease; }
.faq-item summary .plus svg { width: 12px; height: 12px; }
.faq-item[open] summary .plus { transform: rotate(45deg); background: var(--accent-soft); color: var(--accent); }
.faq-item .answer { padding: 0 24px 22px; }
.faq-item .answer p { margin: 0; color: var(--muted); font-weight: 500; line-height: 1.5; }
.faq-item.extra[hidden] { display: none; }
.faq-more { margin-top: 28px; display: flex; justify-content: center; }

/* ---------- Contact band ---------- */
.cta-band { background: var(--violet); color: var(--white); border-radius: var(--r-section); padding: 72px 64px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.cta-band h2 { color: var(--white); }
.cta-band .lead { color: rgba(255,255,255,.86); }
.cta-band .eyebrow { background: rgba(255,255,255,.16); color: var(--white); }
.cta-band .text-link { color: var(--white); }
@media (max-width: 900px) { .cta-band { grid-template-columns: minmax(0, 1fr); padding: 44px 24px; gap: 32px; } }

/* ---------- Forms ---------- */
.form-card { background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-2xl); padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.form-card label { font-size: 14px; font-weight: 600; margin-top: 10px; }
.form-card label:first-of-type { margin-top: 0; }
.form-card input[type=text], .form-card input[type=email], .form-card input[type=tel], .form-card textarea {
  font: inherit; font-size: 16px; padding: 13px 18px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); color: var(--ink); width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-card textarea { border-radius: 22px; resize: vertical; min-height: 130px; }
.form-card input:focus, .form-card textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.form-card .btn { margin-top: 18px; align-self: flex-start; }
.form-card .consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; font-weight: 400; font-size: 14px; line-height: 1.5; }
.form-card .consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.form-card .note { font-size: 13px; color: var(--muted); margin: 10px 0 0; line-height: 1.45; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .form-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* ---------- Legal pages ---------- */
.legal { padding-block: 24px 96px; }
.legal h2 { font-size: 28px; line-height: 1.15; letter-spacing: -0.03em; margin: 48px 0 12px; }
.legal p, .legal li { font-size: 16.5px; line-height: 1.65; color: #2f2b40; }
.legal ul { padding-left: 22px; display: grid; gap: 8px; margin-bottom: 14px; }
.legal .box { background: var(--soft); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 22px 24px; margin: 12px 0; }
.legal .box p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--soft); border-top: 1px solid var(--line); padding-block: 64px calc(48px + env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
.footer-brand p { color: var(--muted); font-size: 15px; max-width: 320px; margin: 14px 0 0; }
.footer-col h3 { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; color: var(--muted); }
.footer-bottom a { color: var(--muted); }

/* ---------- ROI calculator ---------- */
.calc-section { padding-bottom: 8px; }
.calc-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 920px) { .calc-grid { grid-template-columns: minmax(0, 1fr); } }
.calc-inputs { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2xl); padding: 28px 28px 20px; box-shadow: var(--shadow-card); }
.calc-inputs-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.field { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.field:last-child { border-bottom: 0; padding-bottom: 6px; }
.field-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field label { font-weight: 600; font-size: 15px; line-height: 1.35; }
.field output { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; white-space: nowrap; }
.help { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.range-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 0; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(to right, var(--violet) 0 var(--pct), var(--line) var(--pct) 100%); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 99px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--violet); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: var(--white); border: 2px solid var(--violet); box-shadow: 0 1px 4px rgba(0,0,0,.18); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 2px solid var(--violet); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--violet); outline-offset: 2px; }
input[type="range"]:focus-visible::-moz-range-thumb { outline: 3px solid var(--violet); outline-offset: 2px; }
.calc-results { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.calc-hero { padding: 32px; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--r-2xl); }
.calc-hero .k { font-size: 15px; font-weight: 600; color: var(--muted); }
.calc-hero .v { font-family: var(--font-display); font-weight: 700; color: var(--violet); font-size: clamp(48px, 7vw, 78px); line-height: 1.04; letter-spacing: -0.045em; margin: 8px 0 10px; overflow-wrap: anywhere; }
.calc-hero .s { font-size: 15px; color: var(--muted); }
.calc-hero .s strong { color: var(--ink); }
.calc-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 600px) { .calc-facts { grid-template-columns: minmax(0, 1fr); } }
.calc-fact { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 18px 20px; }
.calc-fact .k { font-size: 13.5px; font-weight: 600; color: var(--muted); line-height: 1.35; }
.calc-fact .v { font-family: var(--font-display); font-weight: 700; font-size: 29px; letter-spacing: -0.03em; margin: 4px 0 2px; }
.calc-fact .s { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.calc-flow { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 20px; }
.calc-flow h3 { font-family: var(--font-body); font-size: 13.5px; font-weight: 600; color: var(--muted); margin: 0 0 12px; }
.calc-steps { display: flex; align-items: stretch; gap: 8px; flex-wrap: wrap; }
.calc-step { flex: 1 1 120px; min-width: 0; background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.calc-step b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 23px; letter-spacing: -0.03em; }
.calc-step span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.calc-step.last b { color: var(--violet); }
.calc-arrow { display: flex; align-items: center; color: var(--muted); flex: none; }
.calc-arrow svg { width: 16px; height: 16px; }
@media (max-width: 600px) { .calc-arrow { display: none; } }
.formula { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 22px 26px; font-size: 17px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--r-xl); }
.formula .op { color: var(--muted); font-weight: 600; }
.formula .term { font-weight: 600; }
.formula .res { font-weight: 700; color: var(--violet); }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; z-index: 70; box-shadow: var(--shadow-pop); }

/* ---------- Book a Demo page ---------- */
.demo-page { background: var(--ink); color: var(--white); min-height: 100vh; min-height: 100dvh; }
.demo-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: calc(28px + env(safe-area-inset-top, 0px)) 28px; }
.demo-top .brand { color: var(--white); font-size: 30px; }
.demo-close { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; color: var(--white); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); text-decoration: none; }
.demo-close:hover { background: rgba(255,255,255,.16); }
.demo-close svg { width: 20px; height: 20px; }
.demo-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 72px; align-items: center; padding-block: 24px calc(72px + env(safe-area-inset-bottom, 0px)); }
.demo-grid > * { min-width: 0; }
@media (min-width: 921px) { .demo-grid { min-height: calc(100vh - 120px); min-height: calc(100dvh - 120px); } }
.demo-pitch { display: flex; flex-direction: column; gap: 28px; }
.demo-pitch h1 { color: var(--white); font-size: 64px; line-height: 1.02; letter-spacing: -0.045em; }
.demo-pitch h1 .grad { display: inline; }
.demo-points { list-style: none; padding: 0; display: grid; gap: 18px; }
.demo-points li { display: flex; gap: 14px; align-items: flex-start; font-size: 19px; line-height: 1.45; color: rgba(255,255,255,.78); }
.demo-points svg { width: 26px; height: 26px; flex: none; color: rgba(255,255,255,.6); margin-top: 1px; }
@media (max-width: 920px) {
  .demo-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .demo-card { order: -1; }
  .demo-pitch h1 { font-size: 44px; }
  .demo-points li { font-size: 17px; }
}

.demo-card { background: var(--mist); color: var(--ink); border-radius: 34px; padding: 40px 36px 30px; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
@media (max-width: 560px) { .demo-card { padding: 30px 22px 24px; border-radius: 30px; } }
.demo-step[hidden] { display: none; }
.demo-step h2 { font-size: 34px; line-height: 1.1; letter-spacing: -0.04em; }
.demo-step .sub { font-size: 18px; line-height: 1.45; color: var(--muted); margin: 10px 0 0; }
.demo-field { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }
.demo-field label { font-size: 17px; font-weight: 500; }
.demo-input, .demo-textarea {
  font: inherit; font-size: 18px; width: 100%; color: var(--ink);
  padding: 18px 26px; background: var(--white); border: 1px solid #e3e0ea; border-radius: 999px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.demo-textarea { border-radius: 26px; min-height: 140px; resize: vertical; line-height: 1.45; }
.demo-select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 56px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171329' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 24px center; background-size: 18px; }
.demo-select:invalid { color: #9a96a6; }
.demo-select option { color: #171329; }
.demo-hint { font-size: 14px; color: #6b6880; margin: -4px 0 0; }
.demo-input::placeholder, .demo-textarea::placeholder { color: #9a96a6; }
.demo-input:focus, .demo-textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px var(--accent-soft); }
.demo-error { font-size: 14px; color: #b42318; min-height: 0; margin: 0; }
.demo-options { margin-top: 28px; display: grid; gap: 12px; border: 0; padding: 0; }
.demo-option { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 19px 26px; background: var(--white); border: 1px solid #e3e0ea; border-radius: 999px; font-size: 18px; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.demo-option:hover { border-color: var(--lavender); }
.demo-option input { position: absolute; opacity: 0; pointer-events: none; }
.demo-option .ring { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #cfc6e6; flex: none; display: grid; place-items: center; transition: border-color .15s ease, background-color .15s ease; }
.demo-option .ring::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--white); transform: scale(0); transition: transform .15s ease; }
.demo-option:has(input:checked) { border-color: var(--violet); box-shadow: 0 0 0 3px var(--accent-soft); }
.demo-option:has(input:checked) .ring { border-color: var(--violet); background: var(--violet); }
.demo-option:has(input:checked) .ring::after { transform: scale(1); }
.demo-option:has(input:focus-visible) { outline: 3px solid var(--violet); outline-offset: 2px; }
.demo-nav { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; margin-top: 32px; }
.demo-nav.single { grid-template-columns: minmax(0, 1fr); }
.demo-nav .btn { height: 58px; font-size: 18px; }
.demo-back { width: 104px; padding: 0; background: var(--white); color: var(--ink); border-color: #e3e0ea; }
.demo-back:hover { border-color: var(--ink); }
.demo-back svg { width: 20px; height: 20px; }
.demo-progress { display: flex; justify-content: center; gap: 10px; margin-top: 34px; }
.demo-progress span { width: 56px; height: 5px; border-radius: 99px; background: #d9d0f3; transition: background-color .25s ease; }
.demo-progress span.done { background: var(--ink); }
.demo-done { text-align: left; }
.demo-done .check { width: 56px; height: 56px; border-radius: 50%; background: var(--violet); color: var(--white); display: grid; place-items: center; margin-bottom: 22px; }
.demo-done .check svg { width: 28px; height: 28px; }
.demo-done .btn { margin-top: 28px; }

/* ---------- Motion ---------- */
.reveal { transition: opacity .6s ease, transform .6s ease; }
.js .reveal.pre { opacity: 0; transform: translateY(16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal.pre { opacity: 1; transform: none; }
}

/* ===================== Brand mark ===================== */
.brand { gap: 9px; }
.brand-mark { width: 30px; height: 30px; flex: none; display: block; }
.demo-top .brand-mark { width: 34px; height: 34px; }
.footer-brand .brand-mark { width: 30px; height: 30px; }
@media (max-width: 560px) { .brand-mark { width: 27px; height: 27px; } }

/* ===================== Stages (gradient backdrops for product scenes) ===================== */
.stage-dark {
  position: relative; border-radius: var(--r-section); overflow: hidden; isolation: isolate;
  background: linear-gradient(165deg, var(--ink) 0%, #24135f 38%, #5b2ad0 72%, var(--lavender) 118%);
}
.stage-dark::before { /* soft light leak */
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 60%; height: 70%; z-index: -1;
  background: radial-gradient(closest-side, rgba(182,156,255,.35), transparent); pointer-events: none;
}
.stage-light {
  position: relative; border-radius: var(--r-2xl); overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 85% 0%, #e7dcff 0%, transparent 60%), linear-gradient(170deg, var(--mist) 0%, var(--accent-soft) 100%);
  border: 1px solid var(--accent-line);
}

/* ===================== Hero scene ===================== */
.hero-stage { max-width: 980px; margin: 72px auto 0; padding: 64px 72px; text-align: left; }
.hero-stage .hero-window { margin: 0; max-width: none; box-shadow: 0 30px 80px rgba(10, 6, 30, .45); }
.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.97); color: var(--ink); border-radius: 18px; padding: 12px 16px;
  box-shadow: 0 18px 44px rgba(10, 6, 30, .35);
}
.float-card small { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; }
.float-card b { display: block; font-size: 14px; line-height: 1.3; }
.float-call { top: 22px; left: 26px; transform: rotate(-2.5deg); }
.float-note { right: 26px; bottom: 22px; transform: rotate(2deg); max-width: 300px; align-items: flex-start; }
.float-note img { width: 34px; height: 34px; border-radius: 9px; flex: none; }
.ring-icon { position: relative; width: 38px; height: 38px; border-radius: 50%; background: #22a06b; color: #fff; display: grid; place-items: center; flex: none; }
.ring-icon svg { width: 18px; height: 18px; }
.ring-icon::before, .ring-icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #22a06b; animation: ring 2s ease-out infinite; }
.ring-icon::after { animation-delay: 1s; }
@keyframes ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.9); opacity: 0; } }
.live-pill { margin-left: 6px; font-size: 11.5px; font-weight: 700; color: #22a06b; background: #e6f6ee; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.avatar.logo { background: none; padding: 0; overflow: hidden; }
.avatar.logo img { width: 36px; height: 36px; display: block; }
@media (max-width: 860px) {
  .hero-stage { padding: 72px 18px 18px; margin-top: 48px; border-radius: 28px; }
  .float-call { top: 16px; left: 16px; transform: none; }
  .float-note { position: relative; right: auto; bottom: auto; transform: none; margin-top: 14px; max-width: none; }
}

/* ===================== What it does: header + hub ===================== */
.wid-head { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; margin-bottom: 56px; }
.wid-head .section-head { margin-bottom: 0; }
@media (max-width: 900px) { .wid-head { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.hub { aspect-ratio: 16 / 9; width: 100%; }
.hub svg.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub-lines path { fill: none; stroke: #a99bd6; stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-dasharray: 4 6; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -20; } }
.hub-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 21%; aspect-ratio: 1; filter: drop-shadow(0 16px 30px rgba(124,58,237,.35)); }
.hub-center img { width: 100%; height: 100%; display: block; }
.hub-node { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px; width: 22%; }
.hub-node .tile { width: 54%; aspect-ratio: 1; min-width: 44px; max-width: 64px; border-radius: 16px; background: var(--white); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(23,19,41,.10); color: var(--violet); }
.hub-node .tile svg { width: 48%; height: 48%; }
.hub-node span { font-size: 12.5px; font-weight: 600; color: var(--ink); text-align: center; line-height: 1.2; }
@media (max-width: 560px) { .hub { aspect-ratio: 1 / 1; } .hub-center { width: 26%; } .hub-node span { font-size: 11px; } .hub-node .tile { border-radius: 12px; min-width: 40px; } .report-tile small { letter-spacing: .02em; font-size: 9.5px; } .report-tile b { font-size: 24px; } }

/* ===================== Card vignettes ===================== */
.vignette { position: relative; border-radius: 20px; padding: 18px; min-height: 176px; display: flex; flex-direction: column; justify-content: center; gap: 10px; overflow: hidden; }
.vignette.stage-light { border: 1px solid var(--accent-line); }
.v-chip-row { display: flex; gap: 6px; flex-wrap: wrap; }
.v-chip { font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--white); color: var(--violet); border: 1px solid var(--accent-line); display: inline-flex; align-items: center; gap: 5px; }
.v-chip svg { width: 12px; height: 12px; }
/* a) greeting */
.v-callbar { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.v-callbar .dot { width: 8px; height: 8px; border-radius: 50%; background: #22a06b; box-shadow: 0 0 0 4px #dff3e8; }
.v-bubble { align-self: flex-start; max-width: 92%; background: var(--white); border-radius: 16px 16px 16px 6px; padding: 11px 14px; font-size: 14px; line-height: 1.4; box-shadow: 0 6px 16px rgba(23,19,41,.06); }
.v-wave { display: flex; align-items: center; gap: 3px; height: 18px; }
.v-wave i { width: 3px; border-radius: 3px; background: var(--violet); animation: wave 1.1s ease-in-out infinite; }
.v-wave i:nth-child(2n) { animation-delay: .15s; } .v-wave i:nth-child(3n) { animation-delay: .3s; }
@keyframes wave { 0%, 100% { height: 4px; } 50% { height: 16px; } }
/* b) calendar */
.v-cal { background: var(--white); border-radius: 16px; padding: 12px; box-shadow: 0 6px 16px rgba(23,19,41,.06); }
.v-cal-head { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; margin-bottom: 8px; }
.v-cal-head span { color: var(--muted); font-weight: 600; }
.v-cal-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
.v-day { font-size: 11px; color: var(--muted); text-align: center; font-weight: 600; }
.v-slot { height: 22px; border-radius: 6px; background: var(--soft); border: 1px dashed #e0dbea; }
.v-slot.busy { background: #ece9f3; border: 0; }
.v-slot.new { background: var(--violet); border: 0; color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; white-space: nowrap; overflow: hidden; box-shadow: 0 6px 14px rgba(124,58,237,.35); animation: drop 3.2s ease-in-out infinite; }
@keyframes drop { 0% { transform: translateY(-14px); opacity: 0; } 18%, 85% { transform: none; opacity: 1; } 100% { opacity: 1; } }
/* c) route */
.v-route { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.v-node { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; text-align: center; }
.v-node .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--white); display: grid; place-items: center; box-shadow: 0 6px 16px rgba(23,19,41,.08); color: var(--ink); }
.v-node .ic.hot { background: var(--ink); color: #fff; }
.v-node .ic svg { width: 22px; height: 22px; }
.v-track { position: relative; height: 2px; background: repeating-linear-gradient(90deg, var(--violet) 0 6px, transparent 6px 12px); background-size: 24px 2px; animation: track .8s linear infinite; }
@keyframes track { to { background-position: 24px 0; } }
.v-track::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--violet); border-right: 0; }
.v-track b { position: absolute; left: 50%; top: -26px; transform: translateX(-50%); font-size: 10.5px; font-weight: 800; letter-spacing: .04em; color: #a33a22; background: #fff1ee; border: 1px solid #f6d3cb; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
/* d) notifications */
.v-notes { display: grid; gap: 8px; }
.v-note { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; background: rgba(255,255,255,.95); border-radius: 14px; padding: 9px 12px; box-shadow: 0 6px 16px rgba(23,19,41,.06); font-size: 13px; line-height: 1.3; }
.v-note img { width: 28px; height: 28px; border-radius: 8px; }
.v-note b { display: block; font-size: 12px; }
.v-note time { font-size: 11px; color: var(--muted); align-self: start; }
.v-note:nth-child(2) { opacity: .88; transform: scale(.98); }
.v-note:nth-child(3) { opacity: .72; transform: scale(.96); }

/* ===================== Pilot: steps + report ===================== */
.pilot-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
@media (max-width: 980px) { .pilot-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.pilot-grid .section-head { margin-bottom: 28px; }
.steps.vertical { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.steps.vertical .step { flex-direction: row; align-items: flex-start; gap: 16px; padding: 20px 22px; }
.steps.vertical .step::before { margin: 0; flex: none; }
.steps.vertical .step > div { display: flex; flex-direction: column; gap: 6px; }
.steps.vertical .h3 { font-size: 21px; }
.report-stage { padding: 40px; }
@media (max-width: 560px) { .report-stage { padding: 18px; border-radius: 28px; } }
.timeline { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.85); font-size: 12.5px; font-weight: 600; margin-bottom: 18px; }
.timeline .bar { position: relative; flex: 1; height: 6px; border-radius: 99px; background: rgba(255,255,255,.18); overflow: hidden; }
.timeline .bar::after { content: ""; position: absolute; inset: 0; width: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--lavender), #fff); transform-origin: left; animation: fill 4s ease-out both; }
@keyframes fill { from { transform: scaleX(.05); } to { transform: scaleX(1); } }
.timeline .done { display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,.14); padding: 4px 10px; border-radius: 999px; color: #fff; }
.timeline .done svg { width: 13px; height: 13px; }
.report { background: var(--white); border-radius: 22px; padding: 22px; box-shadow: 0 30px 70px rgba(10,6,30,.4); }
.report-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.report-head h3 { font-family: var(--font-display); font-size: 20px; letter-spacing: -0.02em; }
.report-head span { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: var(--soft); padding: 3px 9px; border-radius: 999px; }
.report-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.report-tile { border: 1px solid var(--line); border-radius: 14px; padding: 12px; text-align: center; }
.report-tile b { display: block; font-family: var(--font-display); font-size: 28px; letter-spacing: -0.03em; line-height: 1.1; }
.report-tile small { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.report-chart { border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 10px; }
.report-chart h4 { font-family: var(--font-body); font-size: 12.5px; font-weight: 700; margin-bottom: 10px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.report-chart h4 span { display: inline-flex; gap: 12px; font-weight: 600; color: var(--muted); }
.report-chart h4 i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.bars { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 5px; align-items: end; height: 110px; }
.bars .b { position: relative; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--lavender), #8f62f2); }
.bars .b > i { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--violet), #3b1a9a); }
.bars-x { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 5px; margin-top: 6px; font-size: 10px; color: var(--muted); text-align: center; }
.report-note { font-size: 11.5px; color: rgba(255,255,255,.7); margin: 14px 0 0; text-align: center; }

/* ===================== Wordmark ===================== */
.brand .wordmark { display: block; height: 28px; width: auto; }
.demo-top .brand .wordmark { height: 32px; }
.footer-brand .brand .wordmark { height: 28px; }
@media (max-width: 560px) { .brand .wordmark { height: 24px; } }
@media (max-width: 350px) { .brand .wordmark { height: 21px; } }

/* ---------- Form status messages ---------- */
.form-msg { margin-top: 16px; padding: 14px 18px; border-radius: 18px; font-size: 14px; line-height: 1.5; }
.form-msg[hidden] { display: none; }
.form-msg-ok { background: #E8F5EC; color: #1E6B34; }
.form-msg-err { background: #FBEAEA; color: #9B1C1C; }

/* ---------- Legal sub-headings ---------- */
.legal h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.02em; margin: 28px 0 8px; }

/* ---------- Pricing ---------- */
.pricing-hero .inner { align-items: center; text-align: center; margin: 0 auto; }
.pricing-hero .lead { margin-inline: auto; }
.billing-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-card); margin-top: 8px; }
.billing-toggle button { font: inherit; font-size: 15px; font-weight: 600; color: var(--muted); padding: 10px 20px; border-radius: 999px; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.billing-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.save-tag { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.billing-toggle button[aria-pressed="true"] .save-tag { background: var(--lavender); color: var(--ink); }

.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; align-items: stretch; }
@media (max-width: 860px) { .plan-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }
.plan { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2xl); padding: 36px 32px 32px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.plan.featured { border: 2px solid var(--violet); box-shadow: var(--shadow-pop); }
.plan-badge { position: absolute; top: -14px; left: 30px; background: var(--violet); color: var(--white); font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.plan-name { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -0.03em; margin: 0; }
.plan-desc { margin: -8px 0 0; color: var(--muted); font-weight: 500; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price b { font-family: var(--font-display); font-size: 60px; font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.price span { color: var(--muted); font-weight: 600; }
.price-note { margin: -8px 0 0; font-size: 14px; color: var(--muted); min-height: 21px; }
.price-note strong { color: var(--accent); }
.plan-features { list-style: none; padding: 20px 0 0; margin: 0; display: grid; gap: 11px; border-top: 1px solid var(--line); }
.plan-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; line-height: 1.45; color: var(--ink); }
.plan-features li svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }
.plan-features .muted-row { color: var(--muted); }
.plan-fine { text-align: center; font-size: 14px; color: var(--muted); margin: 28px auto 0; max-width: 720px; line-height: 1.55; }
.plan-fine a { color: inherit; }
.checkout-notice { margin: 16px auto 0; max-width: 720px; }

/* ---------- Welcome / setup ---------- */
.setup-card { max-width: 820px; margin: 0 auto; }
.setup-card fieldset { border: 0; padding: 0; margin: 0 0 8px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.setup-card fieldset + fieldset { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 22px; }
.setup-card legend { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; padding: 0; margin-bottom: 4px; }
.setup-card .legend-sub { margin: 0 0 8px; font-size: 14.5px; color: var(--muted); }
.setup-card select, .setup-card input[type=url], .setup-card input[type=number] {
  font: inherit; font-size: 16px; padding: 13px 18px; border: 1px solid var(--line-strong); border-radius: 999px; background-color: var(--white); color: var(--ink); width: 100%;
}
.setup-card select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 48px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171329' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 16px; }
.setup-card select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.setup-card textarea { min-height: 96px; }
.setup-card .hint { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.45; }
.setup-card .row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; }
.setup-card .row-2 > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.setup-card .row-2 label { margin-top: 10px; }
@media (max-width: 640px) { .setup-card .row-2 { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.setup-card .choice-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.setup-card .choice { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 15px; font-weight: 500; margin: 0; cursor: pointer; }
.setup-card .choice input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; }
.setup-card .choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.setup-card .field-err { font-size: 13px; color: #9B1C1C; margin: 2px 0 0; }
.setup-card .field-err[hidden] { display: none; }
.setup-card [aria-invalid="true"] { border-color: #c0392b !important; }
.plan-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--accent-line); font-size: 14px; font-weight: 600; color: var(--ink); }
.plan-chip i { width: 8px; height: 8px; border-radius: 999px; background: #22a35a; display: inline-block; }
.setup-done { max-width: 820px; margin: 0 auto; }
.setup-done[hidden] { display: none; }
.pro-only[hidden] { display: none; }
.pricing-hero .inner > * { align-self: center; }
.setup-card fieldset[hidden] { display: none; }
.setup-card fieldset + fieldset { border-top: 0; box-shadow: 0 -1px 0 var(--line); }
.setup-card fieldset[hidden] + fieldset { box-shadow: none; padding-top: 0; margin-top: 0; }

/* ---------- Pricing: demo line ---------- */
.plan-demo { text-align: center; margin: 28px auto 0; font-size: 16px; font-weight: 600; color: var(--ink); }
.plan-demo a { color: var(--accent); }

/* ---------- Demo page (site theme) ---------- */
.demo-light .demo-grid { min-height: 0; padding-block: 0; align-items: start; gap: 56px; }
.demo-light .demo-card { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.demo-light .demo-step h2 { font-size: 30px; }
.demo-light .demo-option { background: var(--white); }
.demo-light .demo-pitch { gap: 24px; padding-top: 8px; }
.demo-light .demo-points li { color: var(--ink); font-size: 17px; }
.demo-light .demo-points svg { color: var(--accent); }
.demo-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.demo-plan { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--white); text-decoration: none; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; }
.demo-plan:hover { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.demo-plan b { font-family: var(--font-display); font-size: 20px; }
.demo-plan span { color: var(--muted); font-size: 14px; font-weight: 500; }
.demo-plan em { font-style: normal; color: var(--accent); font-weight: 700; font-size: 14px; margin-top: 6px; }
@media (max-width: 420px) { .demo-plans { grid-template-columns: minmax(0, 1fr); } }
.demo-light .page-hero .grad { display: inline; }
.demo-plans { width: 100%; }

/* ---------- Comparison table ---------- */
.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-2xl); border: 1px solid var(--line); background: var(--white); }
.cmp-wrap:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.cmp { width: 100%; min-width: 860px; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.45; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp thead th { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--ink); background: var(--white); white-space: nowrap; }
.cmp tbody th { font-weight: 600; color: var(--ink); width: 19%; min-width: 170px; }
.cmp td { color: var(--muted); font-weight: 500; width: 20.25%; }
.cmp td strong { color: var(--ink); }
.cmp .cmp-us { background: var(--accent-soft); color: var(--ink); }
.cmp thead .cmp-us { display: table-cell; color: var(--accent); }
.cmp thead .cmp-us img { width: 22px; height: 22px; vertical-align: -5px; margin-right: 8px; border-radius: 6px; }
.cmp tbody tr:last-child .cmp-us { border-bottom-left-radius: 0; }
.cmp svg { width: 18px; height: 18px; display: inline-block; vertical-align: -3px; margin-right: 6px; flex: none; }
.cmp .cmp-yes { color: var(--accent); }
.cmp .cmp-no { color: #b0acbd; }
.cmp tbody th:first-child, .cmp thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--white); box-shadow: 1px 0 0 var(--line); }
.cmp-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; text-align: center; }
.cmp-swipe { display: none; font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 10px; }
@media (max-width: 900px) { .cmp-swipe { display: block; } .cmp { font-size: 14px; } .cmp th, .cmp td { padding: 14px 16px; } .cmp tbody th { min-width: 140px; } }
.cmp-link { margin: 28px 0 0; font-weight: 600; }
.cmp-link a { color: var(--accent); }
@media (max-width: 600px) { .cmp { min-width: 740px; } .cmp tbody th { min-width: 118px; width: 118px; } }

/* ---------- Sign-up step (signup.html) ---------- */
.signup-page {
  --deep: #24135F;
  min-height: 100vh; min-height: 100dvh;
  background:
    radial-gradient(900px 600px at 12% -8%, rgba(182, 156, 255, .42), transparent 62%),
    radial-gradient(800px 560px at 100% 105%, rgba(124, 58, 237, .55), transparent 60%),
    linear-gradient(160deg, #24135F 0%, #2e1679 48%, #1a0e46 100%);
  background-color: #24135F;
  color: var(--ink);
  display: flex; flex-direction: column;
}
.signup-header { padding: 22px 28px; }
.signup-header .brand { display: inline-flex; }
.signup-header .wordmark { height: 26px; width: auto; display: block; }
.signup-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px 16px 48px; }
.signup-card {
  width: 100%; max-width: 520px;
  background: var(--white); border-radius: var(--r-2xl);
  border: 1px solid rgba(182, 156, 255, .55);
  box-shadow: 0 30px 80px rgba(10, 4, 40, .45), 0 0 0 6px rgba(182, 156, 255, .12);
  padding: 32px 32px 26px;
}
.signup-top { text-align: center; }
.signup-logo { display: block; width: 44px; height: 44px; margin: 0 auto 12px; }
.signup-tagline { font-size: 13.5px; font-weight: 600; color: var(--muted); margin: 0 0 6px; }
.signup-title { font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 14px; }
.signup-title span { color: var(--violet); }
.signup-points { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; }
.signup-points li { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: #3d3a52; }
.signup-points svg { width: 16px; height: 16px; flex: none; padding: 2px; border-radius: 999px; background: var(--accent-soft); color: var(--violet); box-sizing: content-box; }

.signup-plan { background: var(--mist); border: 1px solid var(--accent-line); border-radius: var(--r-xl); padding: 16px 18px; margin-bottom: 22px; }
.signup-plan-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.signup-plan-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; margin: 0; }
.signup-plan-meta { font-size: 13.5px; color: var(--muted); margin: 2px 0 0; }
.signup-plan-price { text-align: right; white-space: nowrap; }
.signup-plan-price b { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; }
.signup-plan-price span { font-size: 14px; color: var(--muted); margin-left: 2px; }
.signup-plan-controls { margin-top: 12px; flex-wrap: wrap; }
.signup-billing { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.signup-billing button { font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); padding: 7px 14px; min-height: 38px; border-radius: 999px; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.signup-billing button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.signup-billing button[aria-pressed="true"] .save-tag { background: var(--lavender); color: var(--ink); }
.signup-billing .save-tag { font-size: 11px; padding: 2px 7px; }
.signup-change { font-size: 14px; font-weight: 600; color: var(--violet); text-decoration: none; }
.signup-change:hover { text-decoration: underline; }
.signup-plan-note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }

.signup-form { display: flex; flex-direction: column; gap: 14px; }
.signup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.signup-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.signup-field label { font-size: 14px; font-weight: 600; }
.signup-field input {
  font: inherit; font-size: 16px; padding: 12px 18px; height: 50px; width: 100%;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.signup-field input::placeholder { color: #a3a0b3; }
.signup-field input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px var(--accent-soft); }
.signup-field input[aria-invalid="true"] { border-color: #c0392b; }
.signup-field input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px #fbe3e0; }
.signup-tel { position: relative; }
.signup-cc { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 14px; font-weight: 600; color: var(--muted); pointer-events: none; padding-right: 10px; border-right: 1px solid var(--line); line-height: 20px; }
.signup-tel input { padding-left: 76px; }
.signup-err { font-size: 13px; color: #b03a2e; margin: 0 0 0 14px; }
.signup-cta { margin-top: 6px; height: 56px; background: linear-gradient(90deg, #7C3AED, #8f55f5); border-color: transparent; box-shadow: 0 10px 24px rgba(124, 58, 237, .35); }
.signup-cta:hover { background: linear-gradient(90deg, #6a2bd6, #7C3AED); }
.signup-cta[disabled] { background: #9a7be0; border-color: transparent; color: #fff; cursor: progress; box-shadow: none; }
.signup-cta-arrow { transition: transform .15s ease; }
.signup-cta:hover .signup-cta-arrow { transform: translateX(3px); }
.signup-spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: signup-spin .7s linear infinite; }
.signup-cta.is-loading .signup-spinner { display: inline-block; }
.signup-cta.is-loading .signup-cta-arrow { display: none; }
@keyframes signup-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .signup-spinner { animation-duration: 2s; } }
.signup-form-err { font-size: 14px; color: #b03a2e; background: #fdf0ee; border-radius: 14px; padding: 10px 14px; margin: 0; }
.signup-legal { font-size: 13px; color: var(--muted); text-align: center; margin: 0; }
.signup-legal a { color: var(--violet); font-weight: 600; text-decoration: none; }
.signup-legal a:hover { text-decoration: underline; }
.signup-secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #8c8898; margin: -4px 0 0; }
.signup-secure svg { width: 14px; height: 14px; }
.signup-after { max-width: 520px; text-align: center; font-size: 13.5px; color: rgba(255,255,255,.78); margin: 18px 0 0; }
.signup-after a { color: #fff; font-weight: 600; }

@media (max-width: 560px) {
  .signup-header { padding: 16px 18px; }
  .signup-main { padding: 4px 12px 32px; justify-content: flex-start; }
  .signup-card { padding: 24px 18px 20px; border-radius: 22px; }
  .signup-title { font-size: 27px; }
  .signup-points { flex-direction: column; align-items: flex-start; width: fit-content; margin-inline: auto; gap: 6px; }
  .signup-grid { grid-template-columns: 1fr; }
  .signup-plan { padding: 14px; }
  .signup-plan-price b { font-size: 22px; }
}

/* ---------- Accounts: sign-up additions, log in, password reset ---------- */
.signup-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.signup-login { color: rgba(255,255,255,.82); font-size: 14px; text-decoration: none; }
.signup-login strong { color: #fff; }
.signup-login:hover strong { text-decoration: underline; }
.signup-google {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 52px;
  font: inherit; font-size: 15.5px; font-weight: 600; color: var(--ink); background: var(--white);
  border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer; transition: background .15s ease, border-color .15s ease;
}
.signup-google:hover { background: var(--mist); border-color: var(--accent-line); }
.signup-google:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--accent-soft); border-color: var(--violet); }
.signup-or { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: #8c8898; font-size: 13px; font-weight: 600; }
.signup-or::before, .signup-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.signup-pass { position: relative; }
.signup-pass input { padding-right: 76px; }
.signup-pass-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font: inherit; font-size: 13px; font-weight: 700; color: var(--violet); background: none; border: 0; padding: 8px 12px; border-radius: 999px; cursor: pointer; }
.signup-pass-toggle:hover { background: var(--accent-soft); }
.pass-rules { list-style: none; margin: 4px 0 0; padding: 0 0 0 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.pass-rules li { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); transition: color .15s ease; }
.pass-rules svg { width: 14px; height: 14px; padding: 2px; border-radius: 999px; background: #eceaf2; color: #b7b4c4; box-sizing: content-box; flex: none; transition: background .15s ease, color .15s ease; }
.pass-rules li.ok { color: #1d7a45; }
.pass-rules li.ok svg { background: #dcf3e5; color: #1d7a45; }
.pass-rules.show-errors li:not(.ok) { color: #b03a2e; }
.signup-notice { font-size: 14px; border-radius: 14px; padding: 10px 14px; margin: 0 0 16px; background: var(--accent-soft); color: #3b2a77; border: 1px solid var(--accent-line); }
.signup-notice.is-ok { background: #e7f6ed; color: #1d6a3e; border-color: #bfe5cd; }
.signup-notice.is-err { background: #fdf0ee; color: #b03a2e; border-color: #f4cfc9; }
.signup-signedin { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; background: var(--mist); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; margin-bottom: 16px; }
.signup-linkbtn { font: inherit; font-size: 14px; font-weight: 600; color: var(--violet); background: none; border: 0; padding: 0; cursor: pointer; }
.signup-linkbtn:hover { text-decoration: underline; }
.signup-check { text-align: center; padding: 8px 4px; }
.signup-check:focus { outline: none; }
.signup-check-icon { width: 56px; height: 56px; border-radius: 999px; margin: 0 auto 12px; background: var(--accent-soft); color: var(--violet); display: grid; place-items: center; }
.signup-check-icon svg { width: 28px; height: 28px; }
.signup-check-title { font-family: var(--font-display); font-weight: 800; font-size: 24px; margin: 0 0 8px; letter-spacing: -0.02em; }
.signup-check p { font-size: 15px; color: #3d3a52; margin: 0 0 8px; }
.signup-check-small { font-size: 13px !important; color: var(--muted) !important; }
.signup-check a { color: var(--violet); font-weight: 600; }
.auth-card { max-width: 440px; }
.auth-links { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; margin: -2px 0 0; }
.auth-links a { color: var(--violet); font-weight: 600; text-decoration: none; }
.auth-links a:hover { text-decoration: underline; }
.auth-foot { text-align: center; font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.auth-foot a { color: var(--violet); font-weight: 600; text-decoration: none; }
@media (max-width: 560px) { .pass-rules { grid-template-columns: 1fr; } .signup-login { font-size: 13px; } }

/* Header "Log in" link (marketing pages) */
.header-cta .login-link { font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; padding: 8px 10px; border-radius: 999px; }
.header-cta .login-link:hover { color: var(--violet); }

/* ---------- Pricing: 4 tiers, Multi-location strip, feature grid with tooltips ---------- */
.plan-grid.tiers-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1280px; gap: 18px; }
.plan-grid.tiers-4 .plan { padding: 30px 24px 26px; gap: 16px; }
.plan-grid.tiers-4 .plan-name { font-size: 24px; }
.plan-grid.tiers-4 .plan-desc { min-height: 3em; }
.plan-grid.tiers-4 .plan-features li { font-size: 14.5px; }
.plan-grid.tiers-4 .plan-features li span { min-width: 0; }
@media (max-width: 1180px) { .plan-grid.tiers-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; } }
@media (max-width: 640px) { .plan-grid.tiers-4 { grid-template-columns: minmax(0, 1fr); max-width: 560px; } .plan-grid.tiers-4 .plan-desc { min-height: 0; } }
.soon-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: #5b25c4; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 999px; padding: 1px 8px; margin-left: 4px; vertical-align: 1px; white-space: nowrap; }
.plan-multi { max-width: 1280px; margin: 18px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-2xl); padding: 24px 28px; }
.plan-multi .plan-name { font-size: 22px; margin: 0 0 4px; }
.plan-multi .plan-desc { margin: 0; max-width: 720px; }
.plan-multi-cta { display: flex; align-items: center; gap: 16px; flex: none; }
.plan-multi-cta b { font-family: var(--font-display); font-size: 20px; }
@media (max-width: 1180px) { .plan-multi { max-width: 820px; } }
@media (max-width: 640px) { .plan-multi { flex-direction: column; align-items: flex-start; padding: 22px; } .plan-multi-cta { width: 100%; justify-content: space-between; } }

.feat-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-2xl); background: var(--white); -webkit-overflow-scrolling: touch; }
.feat-wrap:focus-visible { outline: 3px solid var(--accent-line); }
.feat-table { width: 100%; min-width: 860px; border-collapse: separate; border-spacing: 0; font-size: 14.5px; }
.feat-table th, .feat-table td { padding: 14px 16px; border-bottom: 1px solid #f1eff7; text-align: center; vertical-align: middle; }
.feat-table thead th { position: sticky; top: 0; background: var(--white); font-family: var(--font-display); font-weight: 800; font-size: 19px; padding-top: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.feat-table thead th .feat-price { display: block; font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--muted); margin: 2px 0 10px; }
.feat-table thead th .btn { width: 100%; max-width: 150px; }
.feat-table tbody th { text-align: left; font-weight: 600; width: 30%; position: sticky; left: 0; background: var(--white); z-index: 1; }
.feat-table .feat-pro { background: #faf7ff; }
.feat-table thead .feat-pro { box-shadow: inset 0 3px 0 var(--violet); }
.feat-table .feat-group th { background: var(--mist); font-family: var(--font-display); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 10px 16px; text-align: left; }
.feat-table .cmp-yes { width: 20px; height: 20px; color: var(--violet); }
.feat-no { color: #b7b4c4; font-weight: 700; }
.feat-name { display: inline-flex; align-items: center; gap: 8px; }
.tip { position: relative; display: inline-flex; }
.tip-btn { width: 18px; height: 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white); color: var(--muted); font: 700 11px/1 var(--font-body); font-style: italic; cursor: help; padding: 0; display: inline-grid; place-items: center; flex: none; }
.tip-btn:hover, .tip-btn:focus-visible { color: var(--violet); border-color: var(--violet); outline: none; }
.tip-text { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); width: 260px; max-width: 70vw; background: var(--ink); color: #fff; font-size: 13px; font-weight: 500; line-height: 1.45; text-align: left; padding: 10px 12px; border-radius: 12px; box-shadow: var(--shadow-pop); opacity: 0; visibility: hidden; transition: opacity .12s ease; z-index: 30; pointer-events: none; }
.tip-text::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--ink); }
.tip:hover .tip-text, .tip-btn:focus-visible + .tip-text, .tip.is-open .tip-text { opacity: 1; visibility: visible; }
@media (max-width: 860px) { .tip-text { left: 0; transform: none; } .tip-text::after { left: 9px; transform: none; } }
/* [hidden] must win over component display rules on account pages */
.signup-page [hidden], .app-body [hidden] { display: none !important; }
