/* Centrx marketing site. Layered on tokens → base → components; never redefines a token. */
.site {
  --container: 1200px;
  --gutter: 24px;
  --section-y: 120px;
  --header-h: 64px;
  height: auto;
  min-height: 100%;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
}
@media (max-width: 720px) { .site { --gutter: 16px; --section-y: 76px; } }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; position: relative; }
.section.tint { background: var(--surface); }
.section.tight { padding-top: 0; }

[data-i] { display: inline-flex; width: 18px; height: 18px; flex-shrink: 0; }
[data-i] > svg { width: 100%; height: 100%; }

.skip { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 8px 12px; border-radius: var(--r); background: var(--ink); color: #fff; font-size: 14px; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.display { font-size: clamp(40px, 6.2vw, 76px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 600; text-wrap: balance; }
.h2 { font-size: clamp(28px, 3.8vw, 44px); line-height: 1.08; letter-spacing: -0.032em; font-weight: 600; text-wrap: balance; }
.h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.015em; font-weight: 600; }
.h4 { font-size: 16px; line-height: 1.4; letter-spacing: -0.01em; font-weight: 600; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.body-muted { color: var(--muted); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head .lead { margin-top: 16px; }

/* Brand bullet: the logo's hexagon, small, in the brand gradient. Used instead of check icons. */
.rings-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.rings-list li { position: relative; padding-left: 22px; font-size: 15.5px; color: var(--ink-2); }
.rings-list li::before, .plan-list li::before, .pf-list li::before { content: ""; position: absolute; left: 1px; top: .5em; width: 8px; height: 9px; background: var(--brand-gradient); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

/* ---------- Buttons ---------- */
.btn-xl { height: 48px; padding: 0 20px; font-size: 15.5px; border-radius: 8px; }
.btn .nudge { transition: transform 160ms var(--ease); }
.btn:hover .nudge { transform: translateX(2px); }
.btn-dark { background: #fff; border-color: #fff; color: var(--ink); }
.btn-dark:hover { background: #EEF1F6; }
.btn-outline-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.24); box-shadow: none; }
.btn-outline-dark:hover { background: rgba(255,255,255,.08); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; height: var(--header-h); background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(8px); -webkit-backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid transparent; transition: border-color 200ms var(--ease); }
.site-header.scrolled, .site-header.open { border-bottom-color: var(--border); }
.site-header .container { display: flex; align-items: center; gap: 24px; height: 100%; }
.site-brand { display: inline-flex; align-items: center; color: var(--ink); }
.site-brand .brand-logo { display: block; width: auto; height: 34px; }
.foot-brand .brand-logo { height: 38px; }
.site-brand:hover { text-decoration: none; }
.site-nav { display: flex; gap: 2px; margin: 0 auto; }
.site-nav a { padding: 7px 12px; border-radius: var(--r); color: var(--ink-2); font-size: 14.5px; font-weight: 500; transition: background var(--t), color var(--t); }
.site-nav a:hover { color: var(--ink); background: var(--surface); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.site-actions { display: flex; gap: 8px; align-items: center; }
.nav-toggle { display: none; width: 40px; height: 40px; margin-left: auto; border: 1px solid var(--border); border-radius: var(--r); background: var(--bg); color: var(--ink); align-items: center; justify-content: center; }
.nav-sheet { display: none; }
@media (max-width: 860px) {
  .site-nav, .site-actions { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.open .nav-sheet { display: block; }
  .nav-sheet { position: absolute; left: 0; right: 0; top: var(--header-h); background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: 0 16px 32px rgba(16,24,40,.08); padding: 8px var(--gutter) 20px; animation: rise 180ms var(--ease); }
  .nav-sheet a:not(.btn) { display: block; padding: 12px 4px; border-bottom: 1px solid var(--border); color: var(--ink); font-weight: 500; font-size: 16px; }
  .nav-sheet a:not(.btn):hover { text-decoration: none; color: var(--accent); }
  .nav-sheet .sheet-cta { display: grid; gap: 8px; margin-top: 16px; }
}

/* ---------- Hero (editorial: headline left, pitch right, product below) ---------- */
.hero { position: relative; padding: 96px 0 0; overflow: hidden; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: end; position: relative; z-index: 1; }
.hero-top .display { max-width: 10ch; }
.hero-side .lead { max-width: 460px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.micro { margin-top: 14px; font-size: 13.5px; color: var(--faint); }
.hero-stage { position: relative; margin-top: 72px; }
.hero-top.wide-left { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
@media (max-width: 900px) { .hero-top, .hero-top.wide-left { grid-template-columns: minmax(0, 1fr); gap: 20px; } .hero-top .display { max-width: 12ch; } }

/* Typed headline: phrases type in, pause, backspace. A hidden sizer holds the height so nothing jumps. */
.hero-top .display.typer-h1 { max-width: none; font-size: clamp(38px, 5.2vw, 66px); }
/* The typed headline is shorter than the copy beside it; top-align it so it doesn't sink under empty space. */
.hero-top:has(> .typer-h1) { align-items: start; }
.hero:has(.typer-h1) { padding-top: 64px; }
.typer { display: grid; color: var(--accent); }
.typer-text { background: var(--brand-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.typer > * { grid-area: 1 / 1; }
.typer-size { visibility: hidden; white-space: nowrap; }
.typer-text { white-space: nowrap; }
.caret { display: inline-block; width: .055em; min-width: 3px; height: .8em; margin-left: .07em; vertical-align: -.04em; border-radius: 2px; background: var(--accent); animation: caret-blink 1.05s steps(1) infinite; }
.typer.typing .caret { animation: none; }
@keyframes caret-blink { 50% { opacity: 0; } }
@media (max-width: 560px) { .typer-size, .typer-text { white-space: normal; } }
@media (max-width: 720px) { .hero { padding-top: 56px; } .hero-stage { margin-top: 44px; } }

/* The logo's hexagon, echoed as quiet nested outlines behind the product. */
.rings { position: absolute; left: 74%; top: 0; width: 0; height: 0; pointer-events: none; z-index: 0; }
.rings i { position: absolute; left: 0; top: 0; aspect-ratio: 100 / 112; background: var(--border); transform: translate(-50%, -50%) rotate(-8deg);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 112' preserveAspectRatio='none'%3E%3Cpath d='M50 1.5 98.5 29.5v53L50 110.5 1.5 82.5v-53z' fill='none' stroke='%23000' stroke-width='1.2' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 112' preserveAspectRatio='none'%3E%3Cpath d='M50 1.5 98.5 29.5v53L50 110.5 1.5 82.5v-53z' fill='none' stroke='%23000' stroke-width='1.2' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.rings i:nth-child(1) { width: 360px; background: var(--blue-300); }
.rings i:nth-child(2) { width: 640px; }
.rings i:nth-child(3) { width: 920px; }
.rings i:nth-child(4) { width: 1200px; }
.page-hero .rings { top: 30%; left: 90%; }
.dark .rings { left: 92%; top: 26%; }

/* ---------- Product mock (browser frame around real panel parts) ---------- */
.mock { position: relative; z-index: 1; border: 1px solid var(--border-strong); border-radius: 14px; background: var(--bg); box-shadow: 0 40px 80px -24px rgba(16,24,40,.18), 0 12px 24px -8px rgba(16,24,40,.06); overflow: hidden; text-align: left; font-size: 14px; line-height: 1.5; }
.hero .mock { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }
.mock-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--border); background: var(--surface); }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.mock-url { flex: 0 1 320px; margin: 0 auto; height: 24px; border-radius: 6px; background: var(--bg); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--muted); }
.mock-url [data-i] { width: 12px; height: 12px; color: var(--success); }
.mock-body { display: grid; grid-template-columns: 208px minmax(0, 1fr); min-height: 440px; }
.mock-side { border-right: 1px solid var(--border); background: var(--surface); padding: 12px 10px; }
.mock-ws { display: flex; align-items: center; gap: 10px; padding: 6px 8px 14px; }
.mock-ws .monogram { width: 28px; height: 28px; font-size: 11px; border-radius: 7px; }
.mock-ws b { display: block; font-size: 13px; font-weight: 600; line-height: 1.2; }
.mock-ws small { font-size: 11.5px; color: var(--muted); }
.mock-nav { display: grid; gap: 1px; }
.mock-nav > span { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 10px; border-radius: 6px; font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.mock-nav > span [data-i] { color: var(--muted); }
.mock-nav > span.on { background: var(--accent-tint); color: var(--accent); }
.mock-nav > span.on [data-i] { color: var(--accent); }
.mock-main { padding: 22px 26px 28px; min-width: 0; }
.mock-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.mock-top h3 { font-size: 18px; letter-spacing: -0.015em; }
.mock-top p { font-size: 13px; color: var(--muted); }
.mock .kpis { margin-bottom: 16px; }
.mock .kpi { padding: 14px 16px; }
.mock .kpi-value { font-size: 22px; }
.mock-split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; }
.chart { display: block; width: 100%; height: 170px; }
.chart .grid-line { stroke: var(--border); stroke-dasharray: 2 4; }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { fill: url(#chartFill); }
.chart .reveal-rect { transform: scaleX(0); transform-origin: 0 0; transition: transform 1500ms var(--ease); }
.chart.drawn .reveal-rect { transform: scaleX(1); }
.mini-list { display: grid; }
.mini-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13px; min-width: 0; }
.mini-row:last-child { border-bottom: 0; }
.mini-row .grow { min-width: 0; }
.mini-row b { font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-row small { color: var(--muted); font-size: 12px; }
.mini-row .amt { font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap; }
.mock-toast { position: absolute; right: 24px; bottom: 24px; z-index: 2; opacity: 0; transform: translateY(8px); transition: opacity 260ms var(--ease), transform 260ms var(--ease); animation: none; }
.mock-toast.in { opacity: 1; transform: none; }
.mock-toast svg { color: #6CE9A6; }
@media (max-width: 900px) {
  .mock-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .mock-side { display: none; }
  .mock-split { grid-template-columns: minmax(0, 1fr); }
  .mock-split > :last-child { display: none; }
}
@media (max-width: 560px) {
  .mock-main { padding: 16px; }
  .mock-toast { left: 12px; right: 12px; bottom: 12px; }
  .mock .kpi-value { font-size: 18px; }
  .mock .kpi { padding: 12px; }
}

/* ---------- Product tour (tabs + real UI) ---------- */
.tour { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 56px; align-items: start; }
.tour-tabs { display: grid; }
.tour-tab { position: relative; display: block; width: 100%; text-align: left; background: none; border: 0; border-left: 1px solid var(--border); padding: 16px 0 16px 22px; color: var(--muted); cursor: pointer; }
.tour-tab b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.015em; color: var(--faint); transition: color 200ms var(--ease); }
.tour-tab:hover b { color: var(--ink-2); }
.tour-tab .desc { display: block; font-size: 15px; line-height: 1.55; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 320ms var(--ease), opacity 320ms var(--ease), margin 320ms var(--ease); }
.tour-tab.on b { color: var(--ink); }
.tour-tab.on .desc { max-height: 96px; opacity: 1; margin-top: 6px; }
.tour-bar { position: absolute; left: -1px; top: 0; width: 2px; height: 100%; background: var(--accent); transform-origin: top; transform: scaleY(0); }
.tour-tab.on .tour-bar { animation: tour-fill var(--dur, 6500ms) linear forwards; }
.tour.paused .tour-tab.on .tour-bar { animation-play-state: paused; }
.tour.manual .tour-tab.on .tour-bar { animation: none; transform: scaleY(1); }
@keyframes tour-fill { to { transform: scaleY(1); } }
.tour-stage { position: relative; min-height: 460px; padding: 44px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); display: grid; align-items: center; }
.tour-pane { width: 100%; max-width: 540px; margin: 0 auto; }
.tour-pane:not([hidden]) { animation: pane-in 420ms var(--ease); }
@keyframes pane-in { from { opacity: 0; transform: translateY(10px); } }
.tour-more { margin-top: 32px; max-width: 640px; color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) {
  .tour { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .tour-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .tour-tabs::-webkit-scrollbar { display: none; }
  .tour-tab { flex-shrink: 0; width: auto; border: 1px solid var(--border); border-radius: 999px; padding: 0 14px; height: 36px; display: inline-flex; align-items: center; background: var(--bg); }
  .tour-tab b { font-size: 14px; color: var(--ink-2); }
  .tour-tab .desc, .tour-bar { display: none; }
  .tour-tab.on { background: var(--ink); border-color: var(--ink); }
  .tour-tab.on b { color: #fff; }
  .tour-stage { padding: 20px; min-height: 0; }
}

/* Mini visuals used inside the tour and feature sections */
.timeline { display: grid; position: relative; }
.timeline-item { display: flex; gap: 12px; padding: 8px 0; font-size: 13px; position: relative; }
.timeline-item::before { content: ""; position: absolute; left: 11px; top: 30px; bottom: -8px; width: 1px; background: var(--border); }
.timeline-item:last-child::before { display: none; }
.timeline-dot { width: 23px; height: 23px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg); display: grid; place-items: center; color: var(--muted); flex-shrink: 0; position: relative; z-index: 1; }
.timeline-dot [data-i] { width: 12px; height: 12px; }
.timeline-dot.accent { color: var(--accent); border-color: var(--accent-tint-2); background: var(--accent-tint); }
.timeline-dot.success { color: var(--success); border-color: #ABEFC6; background: var(--success-tint); }
.timeline-item b { font-weight: 500; }
.timeline-item small { display: block; color: var(--faint); font-size: 12px; }
.meter-stack { display: grid; gap: 14px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 88px; }
.bars i { flex: 1; border-radius: 3px 3px 0 0; background: var(--accent-tint-2); transform-origin: bottom; transform: scaleY(.08); transition: transform 700ms var(--ease); transition-delay: calc(var(--k, 0) * 50ms); }
.bars i.hi { background: var(--accent); }
.is-in .bars i { transform: scaleY(var(--h, .5)); }
.auto-flow { display: grid; gap: 8px; }
.auto-step { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg); font-size: 13px; }
.auto-step [data-i] { color: var(--accent); width: 16px; height: 16px; }
.auto-step .faint { margin-left: auto; font-size: 12px; }
.auto-join { width: 1px; height: 10px; background: var(--border-strong); margin-left: 20px; }
.thumb { width: 100%; aspect-ratio: 4 / 3; border-radius: 6px; background: var(--surface-2); display: grid; place-items: center; color: var(--faint); }
.thumb [data-i] { width: 28px; height: 28px; }
.pop { box-shadow: var(--shadow-pop); }

/* ---------- AI Assistant mocks (home tour, features): question → typing → answer ---------- */
.ai-mark { display: inline-flex; }
.ai-mark .brand-mark { width: 18px; height: 18px; }
.ai-thread { display: grid; gap: 12px; padding: 18px; }
.ai-msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; }
.ai-msg.out { justify-self: end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.ai-msg.in { justify-self: start; background: var(--surface-2); color: var(--ink); border-bottom-left-radius: 4px; }
.ai-msg.card { justify-self: stretch; max-width: none; padding: 14px; border: 1px solid var(--border); border-radius: 12px; border-bottom-left-radius: 4px; background: var(--bg); color: var(--ink-2); }
.ai-msg.card .mini-list { margin-top: 6px; }
.ai-reply { position: relative; display: grid; }
.ai-reply.end { justify-items: end; }
.ai-typing { position: absolute; top: 0; left: 0; display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 14px; border-bottom-left-radius: 4px; background: var(--surface-2); }
.ai-reply.end .ai-typing { left: auto; right: 0; border-radius: 14px; border-bottom-right-radius: 4px; background: var(--accent-tint-2); }
.ai-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: ai-dot 1s ease-in-out infinite; }
.ai-typing i:nth-child(2) { animation-delay: .15s; }
.ai-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ai-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
.ai-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ai-by { justify-self: end; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.ai-by .brand-mark { width: 14px; height: 14px; }
.ai-input { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 42px; margin: 0 18px 18px; padding: 0 6px 0 14px; border: 1px solid var(--border-strong); border-radius: 10px; font-size: 13.5px; color: var(--faint); }
.ai-send { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: #fff; }
.ai-send [data-i] { width: 15px; height: 15px; }
.js [data-ai-chat] .s1, .js [data-ai-chat] .s2, .js [data-ai-chat] .s3, .js [data-ai-chat] .ai-typing { opacity: 0; transform: translateY(6px); }
[data-ai-chat].play .s1 { animation: ai-in 420ms var(--ease) 150ms forwards; }
[data-ai-chat].play .ai-typing { animation: ai-in 300ms var(--ease) 650ms forwards, ai-gone 220ms var(--ease) 1900ms forwards; }
[data-ai-chat].play .s2 { animation: ai-in 450ms var(--ease) 2000ms forwards; }
[data-ai-chat].play .s3 { animation: ai-in 450ms var(--ease) 2350ms forwards; }
@keyframes ai-in { to { opacity: 1; transform: none; } }
@keyframes ai-gone { to { opacity: 0; } }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split .lead { margin-top: 16px; }
.stage { position: relative; padding: 44px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 40px; } .split.flip > :first-child { order: 0; } }
@media (max-width: 520px) { .stage { padding: 20px; } }

/* Pay card (customer payment page) */
.paycard { max-width: 360px; margin: 0 auto; border: 1px solid var(--border); border-radius: 14px; background: var(--bg); box-shadow: var(--shadow-pop); overflow: hidden; }
.paycard-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.paycard-body { padding: 18px; }
.paycard-amt { font-size: 34px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.paycard-lines { margin-top: 14px; display: grid; gap: 8px; font-size: 13.5px; }
.paycard-lines div { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-2); }
.paycard-lines .muted { color: var(--muted); }
.paycard .btn { margin-top: 18px; }
.paycard-state { position: relative; height: 22px; }
.paycard-state .badge { position: absolute; right: 0; top: 0; transition: opacity 240ms var(--ease), transform 240ms var(--ease); }
.paycard-state .badge.gone { opacity: 0; transform: translateY(-4px); }

/* Phone + email */
.phone-mock { width: 290px; max-width: 100%; margin: 0 auto; border: 1px solid var(--border-strong); border-radius: 32px; background: var(--bg); box-shadow: var(--shadow-pop); padding: 10px; }
.phone-screen { border-radius: 24px; border: 1px solid var(--border); overflow: hidden; }
.phone-head { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 12px 12px; border-bottom: 1px solid var(--border); background: var(--surface); font-size: 12px; color: var(--muted); }
.phone-head .avatar { width: 36px; height: 36px; }
.phone-head b { color: var(--ink); font-size: 13px; font-weight: 600; }
.phone-body-m { padding: 16px 12px 22px; min-height: 230px; display: flex; flex-direction: column; gap: 8px; }
.bubble { max-width: 88%; padding: 10px 13px; border-radius: 16px 16px 16px 4px; background: #E9EBEF; font-size: 13.5px; line-height: 1.45; opacity: 0; transform: translateY(6px); transition: opacity 320ms var(--ease), transform 320ms var(--ease); }
.bubble.me { align-self: flex-end; background: var(--accent); color: #fff; border-radius: 16px 16px 4px 16px; }
.bubble.in { opacity: 1; transform: none; }
.bubble-meta { font-size: 11px; color: var(--faint); text-align: center; margin: 2px 0; }

/* Roles matrix */
.roles { border: 1px solid var(--border); border-radius: 12px; background: var(--bg); box-shadow: var(--shadow-pop); overflow: hidden; font-size: 13.5px; color: var(--ink); }
.roles-row { display: grid; grid-template-columns: minmax(0, 1fr) 72px 72px 72px; align-items: center; min-height: 48px; padding: 0 16px; border-bottom: 1px solid var(--border); }
.roles-row:last-child { border-bottom: 0; }
.roles-row.head { min-height: 40px; background: var(--surface); font-size: 12.5px; color: var(--muted); font-weight: 500; }
.roles-row > :not(:first-child) { justify-self: center; }
.roles .switch { pointer-events: none; }
@media (max-width: 480px) { .roles-row { grid-template-columns: minmax(0, 1fr) 52px 52px 52px; padding: 0 10px; font-size: 12.5px; } }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 14px; background: var(--bg); padding: 28px; }
.plan.popular { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 24px 48px -24px rgba(32, 100, 219, .28); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan-name { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.plan-tag { margin-top: 6px; color: var(--muted); font-size: 14.5px; min-height: 46px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 22px; }
.price-amt { font-size: 46px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; display: inline-block; transition: opacity 180ms var(--ease), transform 180ms var(--ease); }
.price-amt.swap { opacity: 0; transform: translateY(6px); }
.price-per { color: var(--muted); font-size: 14px; }
.price-note { margin-top: 8px; font-size: 13px; color: var(--faint); min-height: 20px; }
.plan .btn { margin-top: 22px; }
.plan .sub-btn { margin-top: 8px; }
.plan-list { list-style: none; padding: 22px 0 0; margin: 22px 0 0; border-top: 1px solid var(--border); display: grid; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.plan-list li { position: relative; padding-left: 20px; }
.plan-list li.inherit { padding-left: 0; font-weight: 600; color: var(--ink); }
.plan-list li.inherit::before { display: none; }
.plan-list code, .body-muted code, .answer code { font-family: var(--mono); font-size: 12.5px; background: var(--surface-2); border-radius: 4px; padding: 1px 5px; overflow-wrap: anywhere; }
.plans-foot { display: flex; gap: 8px 16px; align-items: center; flex-wrap: wrap; margin-top: 24px; color: var(--muted); font-size: 14.5px; }
@media (max-width: 960px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; } .plan-tag { min-height: 0; } }
/* Four plans: one row on wide screens, two by two in between. Pack rows stay at three. */
@media (min-width: 961px) {
  .plans[data-plans] { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .plans[data-plans] .plan { padding: 24px; }
  .plans[data-plans] .price-amt { font-size: 38px; }
}
@media (min-width: 961px) and (max-width: 1180px) { .plans[data-plans] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* The mark drawn large and faint, like the watermark on the brand board */
.ghost-mark { fill: var(--blue-400); overflow: visible; }
.ghost-mark path { transition: transform 700ms var(--ease); }
.pc-mark { position: absolute; z-index: -1; right: -40px; top: 50%; width: 400px; height: 400px; transform: translateY(-50%); opacity: .1; transition: opacity 700ms var(--ease); }
.side-card.custom:hover .pc-mark { opacity: .16; }
.side-card.custom:hover .gm-0 { transform: translate(-36px, -30px); }
.side-card.custom:hover .gm-1 { transform: translate(36px, 30px); }

.pc-tag { display: inline-flex; align-items: center; height: 22px; margin-left: 2px; padding: 0 9px; border: 1px solid var(--accent-tint-2); border-radius: 999px; background: rgba(255, 255, 255, .75); font-size: 12px; font-weight: 500; color: var(--accent); }

/* Free plan: one wide, quiet card under the paid plans. The 2% note beside the button is the case for upgrading. */
.plan-free { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.45fr) minmax(0, .95fr); gap: 32px; align-items: center; margin-top: 16px; padding: 24px 28px;
  border: 1px dashed var(--border-strong); border-radius: 14px; background: var(--surface); }
.pf-head .price { margin-top: 10px; }
.pf-head .price-amt { font-size: 38px; }
.pf-head .plan-tag { min-height: 0; }
.pf-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; margin: 0; padding: 0; font-size: 14px; color: var(--ink-2); }
.pf-list li { position: relative; padding-left: 18px; }
.pf-list li::before { background: var(--border-strong); }
.pf-fee { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.pf-pct { flex: none; display: grid; place-items: center; min-width: 46px; height: 30px; padding: 0 8px; border-radius: 8px; background: var(--warn-tint); color: var(--warn); font-size: 14px; font-weight: 600; }
.pf-side .btn { margin-top: 16px; }
@media (max-width: 960px) { .plan-free { grid-template-columns: minmax(0, 1fr); gap: 20px; max-width: 520px; } }
@media (max-width: 560px) { .plan-free { padding: 22px; } .pf-list { grid-template-columns: minmax(0, 1fr); } }

/* Billing toggle + crown */
.billing-toggle { display: inline-flex; align-items: center; gap: 12px; padding-top: 18px; margin-top: 24px; }
.billing-toggle .segmented { padding: 3px; border-radius: 8px; }
.billing-toggle .segmented button { position: relative; height: 36px; padding: 0 18px; font-size: 14px; border-radius: 6px; }
.save-pill { display: inline-flex; align-items: center; white-space: nowrap; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--success-tint); color: var(--success); font-size: 12.5px; font-weight: 600; }
.crown { position: absolute; left: 50%; top: -17px; width: 20px; height: 14px; pointer-events: none; transform: translateX(-50%); animation: crown-bob 2.8s ease-in-out infinite; transform-origin: 50% 100%; }
.crown svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 1px 1px rgba(181, 71, 8, .25)); transition: transform 260ms var(--ease); }
.segmented button.on .crown svg { transform: scale(1.15); }
.crown .spark { transform-box: fill-box; transform-origin: center; animation: twinkle 2.8s ease-in-out infinite; }
.crown .spark.b { animation-delay: 1.4s; }
@keyframes crown-bob { 0%, 100% { transform: translate(-50%, 0) rotate(-5deg); } 50% { transform: translate(-50%, -2px) rotate(5deg); } }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.3); } 45%, 55% { opacity: 1; transform: scale(1); } }

/* ---------- Pricing page ---------- */
.price-hero { padding: 80px 0 48px; }
.price-hero .display { font-size: clamp(38px, 5vw, 60px); }
.price-hero .lead { max-width: 560px; margin-top: 16px; }
.price-hero .billing-toggle { margin-top: 10px; }
.hero-offer { margin-top: 14px; font-size: 14.5px; color: var(--muted); }
.hero-offer[hidden] { display: none; }
.hero-offer b { font-weight: 600; color: var(--ink); }
.hero-offer a { margin-left: 4px; font-weight: 600; white-space: nowrap; }

/* Four paid plans, each kept to what sets it apart */
.price-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.price-card { padding: 24px; }
.price-card .plan-tag { min-height: 44px; font-size: 14px; }
.price-card .price-amt { font-size: 40px; }
.price-card .plan-list { gap: 9px; font-size: 14px; }
.price-card.popular { background: linear-gradient(180deg, var(--accent-tint) 0, var(--bg) 180px); }
@media (max-width: 1100px) { .price-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .price-cards { grid-template-columns: minmax(0, 1fr); } .price-card .plan-tag { min-height: 0; } }

/* Free and Custom: two slim cards under the paid plans */
.plan-sides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.side-card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; padding: 22px 24px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.side-card.custom { border-color: var(--accent-tint-2); background: linear-gradient(125deg, #EAF2FF 0%, #F8FBFF 55%, #E4F0FF 100%); }
.side-card .pc-mark { right: -60px; width: 280px; height: 280px; }
.side-head { display: flex; align-items: center; gap: 10px; }
.side-price { margin-left: auto; font-size: 24px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.side-price small { margin-left: 2px; font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.side-head .pc-tag { margin-left: auto; }
.side-text { max-width: 470px; margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }
.side-fee { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.side-fee b { font-weight: 600; color: var(--warn); }
.side-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 16px; }
.price-includes { max-width: 920px; margin-top: 20px; font-size: 14.5px; color: var(--muted); }
.price-includes b { font-weight: 600; color: var(--ink); }
.price-includes a { margin-left: 4px; font-weight: 600; white-space: nowrap; }
@media (max-width: 760px) { .plan-sides { grid-template-columns: minmax(0, 1fr); } .side-card { padding: 20px; } .side-cta .btn { flex: 1 1 auto; } }

/* Add-ons: three groups, an icon and short intro beside the cards (above them on smaller screens).
   Brand blues carry the section: a soft wash behind it, hexagon icon badges like the logo, blue prices. */
#addons { background: radial-gradient(55% 45% at 100% 0%, rgba(107, 177, 252, .2), transparent 70%), radial-gradient(45% 35% at 0% 100%, rgba(32, 100, 219, .08), transparent 70%), var(--surface); }
.addon-group { display: grid; grid-template-columns: minmax(0, 290px) minmax(0, 1fr); gap: 20px 48px; padding: 44px 0; border-top: 1px solid #DCE6F5; }
.addon-group:first-child { padding-top: 0; border-top: 0; }
.ag-icon { display: grid; place-items: center; width: 44px; height: 48px; margin-bottom: 16px; background: var(--brand-gradient); color: #fff;
  clip-path: path("M16.7 2.9Q22 0 27.3 2.9L38.7 9.1Q44 12 44 18L44 30Q44 36 38.7 38.9L27.3 45.1Q22 48 16.7 45.1L5.3 38.9Q0 36 0 30L0 18Q0 12 5.3 9.1Z"); }
.ag-side .h3 { font-size: 21px; }
.ag-side p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.ag-from { display: inline-block; height: 30px; line-height: 30px; margin-top: 16px; padding: 0 12px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--accent-tint-2); font-size: 13.5px; color: var(--muted); }
.ag-from b { font-weight: 600; color: var(--accent); }
@media (min-width: 961px) { .ag-side { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.ag-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: stretch; }

.ao-card { position: relative; overflow: hidden; display: flex; flex-direction: column; min-width: 0; padding: 22px 20px 20px; border: 1px solid #DCE6F5; border-radius: 16px; background: var(--bg);
  box-shadow: 0 1px 2px rgba(6, 43, 113, .04), 0 14px 30px -20px rgba(32, 100, 219, .3); transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease); }
.ao-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--brand-gradient); }
.ao-card:hover { transform: translateY(-2px); border-color: var(--accent-tint-2); box-shadow: 0 1px 2px rgba(6, 43, 113, .05), 0 22px 40px -22px rgba(32, 100, 219, .45); }
.ao-card.wide { grid-column: 1 / -1; }
.ao-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ao-icon { flex: none; display: grid; place-items: center; width: 36px; height: 40px; background: linear-gradient(135deg, #EEF5FF, #D5E7FE); color: var(--accent);
  clip-path: path("M13.6 2.4Q18 0 22.4 2.4L31.6 7.6Q36 10 36 15L36 25Q36 30 31.6 32.4L22.4 37.6Q18 40 13.6 37.6L4.4 32.4Q0 30 0 25L0 15Q0 10 4.4 7.6Z"); }
.ao-head p, .ao-text { margin-top: 10px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.ao-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; }
.ao-price { white-space: nowrap; }
.ao-price .num { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; background: var(--brand-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ao-price small, .ao-table td > small:not(.ao-rate) { margin-left: 2px; font-size: 13px; color: var(--muted); }
.ao-table { width: 100%; margin: 14px 0; border-collapse: separate; border-spacing: 0; }
.ao-table th, .ao-table td { padding: 12px 0; border-top: 1px solid var(--border); vertical-align: top; }
.ao-table th { text-align: left; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.ao-table th small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; line-height: 1.45; color: var(--muted); }
.ao-table th .pill-plan { margin-left: 8px; vertical-align: 1px; background: var(--accent); color: #fff; }
.ao-table td { padding-left: 16px; text-align: right; white-space: nowrap; }
.ao-table td .num { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; color: var(--blue-700); }
/* The most popular pack: a blue band with the brand bar on its left edge */
.ao-table tr.popular th, .ao-table tr.popular td { border-top-color: transparent; background: var(--accent-tint); }
.ao-table tr.popular th { padding-left: 12px; border-radius: 10px 0 0 10px; box-shadow: inset 3px 0 0 var(--accent); }
.ao-table tr.popular td { padding-right: 12px; border-radius: 0 10px 10px 0; }
.ao-table tr.popular + tr th, .ao-table tr.popular + tr td { border-top-color: transparent; }
.ao-rate { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ao-incl { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--accent); font-size: 13px; font-weight: 600; color: #fff; }
.ao-note { display: flex; gap: 8px; align-items: flex-start; margin-top: auto; padding: 10px 12px; border-radius: 10px; background: var(--accent-tint); font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.ao-note svg { flex: none; margin-top: 1px; color: var(--accent); }
.ao-facts { display: grid; margin: 16px 0 0; }
.ao-facts div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px dashed #D5E1F3; font-size: 13.5px; }
.ao-facts dt { font-weight: 500; color: var(--blue-700); }
.ao-facts dd { margin: 0; color: var(--ink); }
.ao-facts a { font-weight: 600; }
@media (min-width: 1100px) {
  /* The number card spans the row, so its three options sit side by side as tiles */
  .ao-card.wide .ao-table tbody { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .ao-card.wide .ao-table tr { display: flex; flex-direction: column; padding: 14px; border: 1px solid var(--accent-tint-2); border-radius: 12px; background: linear-gradient(180deg, #F4F8FF, var(--bg)); }
  .ao-card.wide .ao-table th, .ao-card.wide .ao-table td { padding: 0; border: 0; text-align: left; }
  .ao-card.wide .ao-table td { margin-top: auto; padding-top: 10px; }
  .ao-card.wide .ao-table td .ao-rate { display: inline; margin-left: 6px; }
}
@media (max-width: 960px) { .addon-group { grid-template-columns: minmax(0, 1fr); padding: 32px 0; } .ag-icon { margin-bottom: 12px; } }
@media (max-width: 640px) {
  .ag-cards { grid-template-columns: minmax(0, 1fr); }
  .ao-card { padding: 20px 16px 16px; }
  .ao-facts div { grid-template-columns: 92px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .ao-card { transition: none; } .ao-card:hover { transform: none; } }

/* Estimator: tucked into a disclosure under the add-ons */
.est-details { margin-top: 40px; border: 1px solid #DCE6F5; border-radius: 16px; background: var(--bg); box-shadow: 0 14px 30px -20px rgba(32, 100, 219, .3); }
.est-details > summary { display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer; list-style: none; }
.est-details > summary > span:nth-child(2) { flex: 1; min-width: 0; }
.est-details > summary::-webkit-details-marker { display: none; }
.est-details summary b { display: block; font-size: 16px; font-weight: 600; color: var(--ink); }
.est-details summary small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted); }
.est-details summary > [data-i] { color: var(--accent); transition: transform 200ms var(--ease); }
.est-details[open] summary > [data-i] { transform: rotate(45deg); }
.est-details[open] .est-panel { animation: rise 220ms var(--ease); }
.est-details .est-panel { margin: 0; border: 0; border-top: 1px solid var(--border); border-radius: 0 0 14px 14px; box-shadow: none; }
.est-details .est-panel > .panel-head { display: none; }

/* Estimator: the form on the left, the bill on the right */
.est-panel .panel-head { padding: 16px 20px; }
.est { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.est-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; align-content: start; padding: 20px; }
.est-form .field + .field { margin-top: 0; }
.est-form .label output { color: var(--ink); font-weight: 600; }
.est-form .input { font-size: 15px; }
.est-range { width: 100%; height: 24px; margin: 4px 0 0; accent-color: var(--accent); cursor: pointer; }
.est-range:disabled { cursor: not-allowed; opacity: .5; }
.est-toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r-lg); cursor: pointer; }
.est-toggle b { display: block; font-size: 14px; font-weight: 500; color: var(--ink); }
.est-toggle small { display: block; margin-top: 1px; font-size: 12.5px; color: var(--muted); }
.est-toggle:has(input:disabled) { cursor: default; }
.est-bill { display: flex; flex-direction: column; padding: 20px; border-left: 1px solid var(--border); border-radius: 0 0 var(--r-lg) 0; background: var(--surface); }
.est-line { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; font-weight: 500; color: var(--ink); animation: pack-in 260ms var(--ease) both; }
.est-line:first-child { padding-top: 0; }
.est-line small { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 400; color: var(--muted); }
.est-line .num { white-space: nowrap; }
.est-total { display: flex; align-items: baseline; gap: 4px; padding-top: 14px; }
.est-total span { flex: 1; font-size: 14px; font-weight: 600; color: var(--ink); }
.est-total b { font-size: 32px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.est-total small { font-size: 13.5px; color: var(--muted); }
.est-tip { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }
.est-bill .btn { margin-top: 18px; }
.est-foot { margin-top: 12px; font-size: 12.5px; color: var(--faint); }

@media (max-width: 960px) {
  .est { grid-template-columns: minmax(0, 1fr); }
  .est-bill { border-left: 0; border-top: 1px solid var(--border); border-radius: 0 0 var(--r-lg) var(--r-lg); }
}
@media (max-width: 560px) {
  .est-form { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 16px; }
  .est-bill { padding: 16px; }
}

/* Comparison table */
.compare-switch { display: none; margin-bottom: 16px; }
.compare { border: 1px solid var(--border); border-radius: 14px; background: var(--bg); }
.compare table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; table-layout: fixed; }
.compare th, .compare td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
.compare thead th { position: sticky; top: var(--header-h); z-index: 2; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-weight: 600; font-size: 15px; padding-top: 18px; padding-bottom: 18px; }
.compare thead th:first-child { border-top-left-radius: 14px; }
.compare thead th:last-child { border-top-right-radius: 14px; }
.compare thead th small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.compare th:first-child, .compare td:first-child { width: 34%; color: var(--ink-2); }
.compare td { color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.compare { scroll-margin-top: calc(var(--header-h) + 16px); }
.compare tr.group td { padding: 0; background: var(--surface); }
.compare tr.group button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 18px; border: 0; background: transparent; text-align: left; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; }
.compare tr.group button small { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.compare tr.group button [data-i] { margin-left: auto; color: var(--muted); display: inline-flex; transition: transform 200ms var(--ease), color 200ms var(--ease); }
.compare tr.group button:hover { background: var(--surface-2); }
.compare .cgroup.open tr.group button [data-i] { transform: rotate(45deg); color: var(--accent); }
.compare .cgroup tr.row { display: none; }
.compare .cgroup.open tr.row { display: table-row; animation: rise 220ms var(--ease) both; }
.compare-all { display: block; width: 100%; padding: 14px 18px; border: 0; border-radius: 0 0 14px 14px; background: transparent; font: inherit; font-size: 14px; font-weight: 600; color: var(--accent); cursor: pointer; }
.compare-all:hover { background: var(--surface); }
.compare .yes { color: var(--accent); display: inline-flex; }
.compare .no { color: var(--border-strong); display: inline-flex; }
.compare .yes [data-i], .compare .no [data-i] { width: 18px; height: 18px; }
@media (max-width: 720px) {
  .compare-switch { display: flex; }
  .compare table { table-layout: auto; }
  .compare th:first-child, .compare td:first-child { width: 58%; }
  .compare [data-col]:not(.show) { display: none; }
  .compare thead th.show { border-top-right-radius: 14px; }
  .compare th, .compare td { padding: 12px 14px; }
  .compare tr.group button, .compare-all { padding-left: 14px; padding-right: 14px; }
}

/* FAQ: heading left, answers right */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; align-items: start; }
.faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin: 0; }
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 2px; cursor: pointer; list-style: none; font-weight: 500; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary [data-i] { color: var(--muted); transition: transform 200ms var(--ease); }
.faq details[open] summary [data-i] { transform: rotate(45deg); color: var(--accent); }
.faq .answer { padding: 0 2px 22px; color: var(--muted); font-size: 15.5px; max-width: 680px; }
.faq details[open] .answer { animation: rise 220ms var(--ease); }
@media (min-width: 1100px) { .faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; align-items: start; } .faq summary { font-size: 15.5px; } .faq .answer { font-size: 14.5px; } }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; } .faq-wrap .section-head { position: static; } }

/* ---------- Dark band ---------- */
.dark { background: radial-gradient(70% 90% at 88% 0%, rgba(32, 100, 219, .30), transparent 70%), radial-gradient(50% 70% at 0% 100%, rgba(6, 43, 113, .45), transparent 70%), var(--night); color: #C9D1DE; position: relative; overflow: hidden; }
.dark .h2, .dark .h3, .dark .h4, .dark h2, .dark h3 { color: #fff; }
.dark .lead { color: #9AA4B5; }
.dark .rings i { background: rgba(255,255,255,.08); }
.dark .rings i:nth-child(1) { background: rgba(107, 177, 252, .3); }
.sec-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; position: relative; z-index: 1; }
.ledger { margin: 36px 0 0; display: grid; }
.ledger div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.1); }
.ledger dt { color: #fff; font-weight: 500; font-size: 15px; }
.ledger dd { margin: 0; color: #9AA4B5; font-size: 15px; }
@media (max-width: 900px) { .sec-split { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (max-width: 480px) { .ledger div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
.cta-band { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-top: 120px; padding-top: 56px; border-top: 1px solid rgba(255,255,255,.1); }
.cta-band .lead { margin-top: 12px; max-width: 520px; }
.cta-band .hero-cta { margin-top: 0; }
.cta-band.solo { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 88px 0 72px; overflow: hidden; }
@media (max-width: 720px) { .page-hero { padding: 52px 0 40px; } }

/* Features page */
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.subnav .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-top: 10px; padding-bottom: 10px; }
.subnav .chips::-webkit-scrollbar { display: none; }
.subnav .chip { flex-shrink: 0; transition: background var(--t), color var(--t), border-color var(--t); }
.subnav .chip:hover { text-decoration: none; }
.feature { scroll-margin-top: calc(var(--header-h) + 64px); }
.feature + .feature { border-top: 1px solid var(--border); }
.gated { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 24px; }
.gated .tag { height: auto; min-height: 28px; padding: 3px 10px; font-size: 13px; gap: 8px; white-space: normal; line-height: 1.35; max-width: 100%; }
.gated .tag:has(.pill-plan) { padding-right: 4px; }
.gated a.tag:hover { text-decoration: none; border-color: var(--border-strong); }
.integr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.integr .panel { display: flex; align-items: center; gap: 12px; padding: 14px; }
.integr .panel small { display: block; color: var(--muted); font-size: 12px; }
.integr .panel { min-height: 64px; }
.integr-logo { flex: none; width: 22px; height: 22px; fill: currentColor; }
.integr .panel + .panel { margin-top: 0; }
@media (max-width: 520px) { .integr { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.form-card { padding: 32px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg); box-shadow: var(--shadow-pop); }
.form-card .input, .form-card .select { height: 42px; font-size: 15px; }
.form-card .textarea { font-size: 15px; }
.form-card .btn[type="submit"] { margin-top: 24px; }
.form-legal { margin-top: 14px; font-size: 12.5px; color: var(--faint); }
.form-done { text-align: center; padding: 32px 8px; animation: rise 260ms var(--ease); }
.done-ring { width: 48px; height: 48px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--success-tint); color: var(--success); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (max-width: 520px) { .form-card { padding: 22px; } }

/* Launch waitlist popup (site.js): the panel's modal. Cenbot waves from a panel in the Custom plan
   card's sky colours, with the countdown in a speech bubble; the form sits beside it, and under it on phones. */
.wl-open { overflow: hidden; }
.wl { padding: 16px; }
.wl-modal { display: grid; grid-template-columns: 250px minmax(0, 1fr); width: min(720px, 100%); overflow: hidden auto; }
.wl-art { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 14px; padding: 28px 20px 0;
  background: linear-gradient(125deg, #EAF2FF 0%, #F8FBFF 48%, #E4F0FF 100%); box-shadow: inset -1px 0 0 rgba(32, 100, 219, .12); }
.wl-mark { position: absolute; z-index: -1; left: -80px; top: -60px; width: 330px; height: 330px; opacity: .1; }
.wl-say { position: relative; align-self: stretch; margin: 0; padding: 11px 14px; border: 1px solid rgba(32, 100, 219, .16); border-radius: 14px; background: var(--bg);
  box-shadow: 0 10px 22px -14px rgba(32, 100, 219, .5); font-size: 14px; font-weight: 500; line-height: 1.45; color: var(--ink); }
/* The bubble's tail points at Cenbot's head */
.wl-say::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 12px; height: 12px; margin-left: -6px; background: var(--bg);
  border: solid rgba(32, 100, 219, .16); border-width: 0 1px 1px 0; transform: rotate(45deg); }
.wl-pop { animation: wl-pop 380ms var(--ease) 350ms both; transform-origin: 50% 100%; }
@keyframes wl-pop { from { opacity: 0; transform: translateY(6px) scale(.94); } }
.wl-bot { display: block; width: 150px; height: auto; margin-bottom: -4px; animation: wl-float 5s ease-in-out infinite; }
@keyframes wl-float { 50% { transform: translateY(-5px); } }
.wl-body { align-self: center; padding: 34px 30px 26px; }
.wl-body > .h3 { padding-right: 28px; }
.wl-body > .body-muted { margin-top: 8px; font-size: 15px; }
.wl-body form { margin-top: 20px; }
.wl-x { position: absolute; top: 10px; right: 10px; }
.wl-row { display: flex; gap: 8px; }
.wl-row .input { flex: 1; min-width: 0; height: 42px; font-size: 15px; }
.wl-row .btn { height: 42px; flex: none; }
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wl .form-done { padding: 8px 0 4px; }
.wl .form-done .h3:focus { outline: none; }
@media (prefers-reduced-motion: reduce) { .wl-pop, .wl-bot { animation: none; } }
/* Phones: a short band on top, Cenbot on the left with the bubble beside him */
@media (max-width: 640px) {
  .wl-modal { grid-template-columns: minmax(0, 1fr); }
  .wl-art { flex-direction: row; align-items: flex-end; justify-content: center; gap: 12px; height: 150px; padding: 18px 52px 0 16px; box-shadow: inset 0 -1px 0 rgba(32, 100, 219, .12); }
  .wl-mark { left: auto; right: -90px; top: -110px; }
  .wl-bot { order: -1; flex: none; width: 92px; }
  .wl-say { align-self: center; flex: 0 1 230px; font-size: 13.5px; }
  .wl-say::after { left: -7px; bottom: auto; top: 50%; margin: -6px 0 0; border-width: 0 0 1px 1px; }
  .wl-pop { transform-origin: 0 50%; }
  .wl-body { padding: 22px 20px 20px; }
}
@media (max-width: 480px) {
  .wl-row { flex-direction: column; }
  .wl-row .input { flex: none; }
}

/* Legal */
.legal-wrap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 2px; font-size: 14px; }
.legal-toc a { color: var(--muted); padding: 5px 0; }
.legal-toc a:hover { color: var(--ink); text-decoration: none; }
.legal { max-width: 740px; }
.legal h2 { font-size: 21px; margin-top: 48px; letter-spacing: -0.015em; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal h3 { font-size: 16px; margin-top: 24px; }
.legal p, .legal li { color: var(--ink-2); font-size: 15.5px; line-height: 1.7; }
.legal p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.legal .ph { background: var(--warn-tint); color: var(--warn); border-radius: 4px; padding: 0 4px; font-weight: 500; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); color: var(--ink-2); line-height: 1.55; }
.legal th { color: var(--muted); font-weight: 500; font-size: 13px; background: var(--surface); }
.table-scroll { overflow-x: auto; margin-top: 4px; }
@media (max-width: 900px) { .legal-wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; } .legal-toc { display: none; } }

/* ---------- People (drawn by assets/js/people.js) ---------- */
.pp { --pp-ink: var(--ink); --pp-fill: var(--bg); --pp-tint: var(--accent-tint-2); --pp-accent: var(--accent); --pp-ground: var(--border-strong);
  display: block; width: 100%; height: auto; overflow: visible; fill: none; stroke: var(--pp-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pp .f { fill: var(--pp-fill); }
.pp .t { fill: var(--pp-tint); }
.pp .a { fill: var(--pp-accent); }
.pp .k { fill: var(--pp-ink); stroke: none; }
.pp .li { fill: none; stroke: var(--pp-fill); }
.pp .li.t { stroke: var(--pp-tint); }
.pp .li.a { stroke: var(--pp-accent); }
.pp .gl { stroke: var(--pp-ground); stroke-width: 1.5; }
.dark .pp { --pp-ink: #E9EEF5; --pp-fill: var(--ink); --pp-tint: #1D3A78; --pp-ground: rgba(255,255,255,.14); }
[data-person] { display: block; pointer-events: none; }
/* Someone leaning on the top edge of a window or card; the box clips them so they rise from behind it. */
.peek { position: absolute; z-index: 2; bottom: 100%; overflow: hidden; }
.hero-stage .peek { right: calc(var(--gutter) + 6%); width: 104px; }
.form-card { position: relative; }
.form-card .peek { right: 40px; width: 96px; --peek-delay: 800ms; }
.tour-foot { display: flex; align-items: flex-end; gap: 40px; margin-top: 32px; }
.tour-foot .tour-more { margin-top: 0; }
/* The negative margin lets the courier stand taller than the paragraph without pushing it down. */
.tour-foot [data-person] { flex: none; width: 64px; margin-top: -32px; }
.cta-person { position: absolute; right: 7%; bottom: 100%; width: 76px; }
.stage-person { position: absolute; z-index: 1; left: 7%; bottom: 0; width: 88px; }
.cta-person .gl, .stage-person .gl { display: none; }
.faq-person { width: 132px; margin-top: 48px; }
@media (max-width: 860px) { .faq-person { display: none; } }
@media (max-width: 720px) {
  .hero-stage .peek { width: 84px; }
  .tour-foot { gap: 16px; }
  .tour-foot [data-person] { width: 56px; }
  .cta-person { width: 62px; }
}
@media (max-width: 560px) { .stage-person { display: none; } }

/* ---------- 404 ---------- */
.nf { position: relative; padding: 72px 0 104px; overflow: hidden; }
.nf .hero-top { align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.nf-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; font-size: 14.5px; color: var(--muted); }

/* The scene: a giant 4◯4 standing on the ground, the zero is the Centrx mark, two people puzzling over it. */
.nf-stage { position: relative; height: 320px; display: flex; align-items: flex-end; justify-content: center; clip-path: inset(-400px -12% 0 -12%); }
.nf-stage::after { content: ""; position: absolute; left: -4%; right: -4%; bottom: 0; height: 1.5px; border-radius: 1px; background: var(--border-strong); }
.nf-num { position: relative; display: flex; align-items: flex-end; font-size: clamp(100px, 15vw, 210px); font-weight: 600; letter-spacing: -0.06em; line-height: .74; color: var(--ink); user-select: none; }
.nf-num > span { display: block; }
.nf-zero { position: relative; width: .74em; height: .74em; margin: 0 .05em 0 .02em; }
.nf-zero svg { position: relative; z-index: 1; display: block; width: 100%; height: 100%; }
.nf-rip { position: absolute; inset: 0; border: 2px solid var(--accent); border-radius: 50%; opacity: 0; animation: nf-rip 4.8s var(--ease) infinite; }
.nf-rip:nth-child(2) { animation-delay: 1.6s; }
.nf-rip:nth-child(3) { animation-delay: 3.2s; }
@keyframes nf-rip { 0% { transform: scale(.9); opacity: .4; } 100% { transform: scale(2.7); opacity: 0; } }
.nf-p { position: absolute; bottom: 0; z-index: 2; }
.nf-p .gl { display: none; }
.nf-p .pp { transform-origin: 50% 100%; animation: nf-sway 4.4s ease-in-out infinite; }
.nf-left { left: 0; width: 86px; }
.nf-right { right: 0; width: 92px; }
.nf-right .pp { animation-delay: -2.2s; }
.nf-flip { transform: scaleX(-1); }
@keyframes nf-sway { 0%, 100% { transform: rotate(-1.4deg); } 50% { transform: rotate(1.4deg); } }
/* Thought bubble over the person checking their phone; sized from the person so it scales with them. */
.nf-q { position: absolute; left: 64%; top: -16%; display: grid; place-items: center; width: 34%; aspect-ratio: 1; border: 2px solid var(--ink); border-radius: 50% 50% 50% 6px; background: var(--bg); color: var(--accent); font-size: clamp(14px, 1.4vw, 18px); font-weight: 700; line-height: 1; animation: nf-q 3.2s ease-in-out infinite; }
@keyframes nf-q { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@media (max-width: 1100px) { .nf-left { width: 72px; } .nf-right { width: 78px; } }
@media (max-width: 900px) { .nf .hero-top { grid-template-columns: minmax(0, 1fr); } .nf-stage { order: -1; height: 280px; margin-bottom: 36px; } }
@media (max-width: 560px) {
  .nf { padding: 48px 0 72px; }
  .nf-stage { height: 200px; margin-bottom: 28px; }
  .nf-left { width: 64px; }
  .nf-right { width: 70px; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg); padding: 64px 0 40px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid p { color: var(--muted); margin-top: 14px; max-width: 300px; }
.foot-col h3 { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.foot-col a { display: block; color: var(--muted); padding: 4px 0; }
.foot-col a:hover { color: var(--ink); text-decoration: none; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--faint); font-size: 13.5px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero-stage .mock { opacity: 0; transform: translateY(28px); transition: opacity 1000ms var(--ease) 150ms, transform 1000ms var(--ease) 150ms; }
.js .hero-stage.is-in .mock { opacity: 1; transform: none; }
.js .rings i { opacity: 0; transition: opacity 1400ms var(--ease); }
.js .rings i:nth-child(2) { transition-delay: 150ms; }
.js .rings i:nth-child(3) { transition-delay: 300ms; }
.js .rings i:nth-child(4) { transition-delay: 450ms; }
.js .rings.is-in i:nth-child(1), .js .rings.is-in i:nth-child(2) { opacity: 1; }
.js .rings.is-in i:nth-child(3) { opacity: .7; }
.js .rings.is-in i:nth-child(4) { opacity: .45; }
.js .peek .pp { transform: translateY(100%); transition: transform 700ms var(--ease) var(--peek-delay, 1100ms); }
.js .is-in > .peek .pp { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .hero-stage .mock { opacity: 1; transform: none; transition: none; }
  .js .peek .pp { transform: none; transition: none; }
  .nf-rip, .nf-p .pp, .nf-q { animation: none; }
  .ghost-mark path { transition: none; }
  .est-line, .est-details[open] .est-panel { animation: none; }
  .js [data-ai-chat] .s1, .js [data-ai-chat] .s2, .js [data-ai-chat] .s3 { opacity: 1; transform: none; animation: none; }
  [data-ai-chat] .ai-typing { display: none; }
  .js .rings i { opacity: 1; transition: none; }
  .chart .reveal-rect { transition: none; }
  .bars i, .bubble, .mock-toast, .price-amt, .paycard-state .badge, .tour-tab .desc { transition: none; }
  .bars i { transform: scaleY(var(--h, .5)); }
  .caret { display: none; }
  .crown, .crown .spark, .tour-pane:not([hidden]), .faq details[open] .answer, .nav-sheet, .form-done, .compare .cgroup.open tr.row { animation: none; }
  .compare tr.group button [data-i], .est-details summary [data-i] { transition: none; }
  .crown .spark { opacity: 1; }
}

/* ---------- Pricing on phones: tighter rhythm, a full-width plan switch on the table ---------- */
@media (max-width: 720px) {
  .site[data-page="pricing"] { --section-y: 56px; }
  [data-page="pricing"] .page-hero { padding: 40px 0 28px; }
  [data-page="pricing"] .section-head { margin-bottom: 28px; }
  [data-page="pricing"] .section-head .lead { margin-top: 10px; font-size: 16px; }
  .compare-switch { justify-content: stretch; }
  .compare-switch .segmented { display: flex; width: 100%; padding: 3px; border-radius: 8px; }
  .compare-switch .segmented button { flex: 1 1 auto; height: 36px; padding: 0 6px; font-size: 13.5px; border-radius: 6px; }
  [data-page="pricing"] .price-card { padding: 22px; }
  [data-page="pricing"] .plan-list { margin-top: 18px; padding-top: 18px; gap: 8px; }
  [data-page="pricing"] .est-details { margin-top: 28px; }
  [data-page="pricing"] .est-details > summary { padding: 16px; }
  [data-page="pricing"] .faq summary { padding: 16px 2px; font-size: 15.5px; }
  [data-page="pricing"] .faq .answer { font-size: 15px; padding-bottom: 18px; }
  [data-page="pricing"] .cta-band .hero-cta { width: 100%; }
  [data-page="pricing"] .cta-band .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- Help center: hub with search, guides on the legal reading layout ---------- */
.help-search { position: relative; display: block; max-width: 560px; margin-top: 28px; }
.help-search [data-i] { position: absolute; left: 17px; top: 50%; display: flex; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.help-search input::-webkit-search-cancel-button { cursor: pointer; }
.help-search input { width: 100%; height: 52px; padding: 0 18px 0 46px; border: 1px solid var(--border-strong); border-radius: 26px; background: var(--bg); font: inherit; font-size: 16px; color: var(--ink);
  box-shadow: 0 1px 2px rgba(16,24,40,.04); transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease); }
.help-search input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); }
.help-search input::placeholder { color: var(--faint); }
.help-hub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; }
.help-cat.wide { grid-column: 1 / -1; max-width: 720px; }
.help-cat .h4 { font-size: 15px; font-weight: 600; color: var(--muted); }
.help-list { margin-top: 12px; border-top: 1px solid var(--border); }
.help-link { display: block; padding: 16px 2px; border-bottom: 1px solid var(--border); color: inherit; transition: background-color 160ms var(--ease); }
.help-link:hover { text-decoration: none; background: var(--surface); }
.help-link b { display: block; font-size: 16.5px; font-weight: 500; color: var(--ink); }
.help-link:hover b { color: var(--accent); }
.help-link span { display: block; margin-top: 3px; font-size: 14.5px; color: var(--muted); }
.help-none { margin-top: 12px; color: var(--muted); }
.help-more { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border); color: var(--muted); font-size: 15.5px; }
.help-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); }
.help-crumbs a { color: var(--muted); }
.help-crumbs a:hover { color: var(--accent); }
.help-crumbs span[aria-hidden] { color: var(--faint); }
.page-hero.help-hero { padding-bottom: 40px; }
.help-hero .display { max-width: none; font-size: clamp(34px, 5vw, 56px); }
.help-hero .lead { margin-top: 14px; max-width: 640px; }
.legal ol { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.legal ol li::marker { color: var(--muted); font-weight: 600; }
.legal .callout { margin-top: 20px; font-size: 14.5px; line-height: 1.6; }
.legal .callout + h2 { margin-top: 40px; }
.legal code { font-family: var(--mono); font-size: 13px; background: var(--surface-2); border-radius: 4px; padding: 1px 5px; overflow-wrap: anywhere; }
.legal .table-wrap { overflow-x: auto; }
.help-related { margin-top: 56px; }
.help-related .h4 { font-size: 15px; font-weight: 600; color: var(--muted); }
.help-related .help-list { margin-top: 10px; }
@media (max-width: 860px) { .help-hub { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (max-width: 720px) {
  .page-hero.help-hero { padding: 36px 0 24px; }
  .help-search { margin-top: 20px; }
  .help-link { padding: 14px 2px; }
  .help-link b { font-size: 16px; }
  .legal p, .legal li { font-size: 15px; }
  .legal h2 { margin-top: 36px; font-size: 19px; }
  .legal table { font-size: 13.5px; }
  .legal th, .legal td { padding: 10px 8px; }
}
@media (prefers-reduced-motion: reduce) { .help-link, .help-search input { transition: none; } }

/* ---------- Features: Online Store editor preview ---------- */
.store-mock { --store: #1F4E3D; }
.store-edit { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 12px; padding: 12px; }
.store-blocks { display: grid; align-content: start; gap: 6px; }
.store-block { display: flex; align-items: center; gap: 6px; padding: 7px 8px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg); font-size: 12.5px; color: var(--ink-2); }
.store-block [data-i] { width: 14px; height: 14px; color: var(--faint); display: inline-flex; }
.store-block.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); color: var(--ink); transform: translateX(6px) rotate(-1deg); background: var(--bg); }
.store-swatches { display: flex; gap: 6px; }
.store-swatches i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.store-swatches i:first-child { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--store); }
.store-preview { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--bg); }
.store-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-bottom: 1px solid var(--border); font-size: 12px; }
.store-top span { color: var(--muted); font-size: 11px; white-space: nowrap; }
.store-hero { padding: 14px 10px; background: var(--store); color: #fff; }
.store-hero b { display: block; font-size: 15px; }
.store-hero span { display: block; margin-top: 2px; font-size: 11.5px; opacity: .85; }
.store-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 10px; }
.store-grid b { display: block; margin-top: 6px; font-size: 11.5px; font-weight: 500; color: var(--ink); }
.store-grid span:not(.thumb) { font-size: 11.5px; color: var(--muted); }
.store-grid .thumb [data-i] { width: 20px; height: 20px; }
@media (max-width: 520px) { .store-mock .panel-head .mono { display: none; } .store-edit { grid-template-columns: minmax(0, 1fr); } .store-blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); } .store-blocks .xs, .store-swatches { grid-column: 1 / -1; } .store-block.on { transform: none; } }

/* ---------- Features: Inbox preview ---------- */
.inbox-body { display: grid; grid-template-columns: 188px minmax(0, 1fr); }
.inbox-list { border-right: 1px solid var(--border); }
.inbox-row { display: grid; gap: 3px; padding: 11px 12px; border-bottom: 1px solid var(--border); font-size: 13px; }
.inbox-row b { font-weight: 600; color: var(--ink); }
.inbox-row.on { background: var(--accent-tint); }
.inbox-row .badge { justify-self: start; margin-top: 3px; }
.inbox-thread { display: grid; align-content: start; gap: 10px; padding: 14px; font-size: 13px; }
.inbox-who { display: grid; gap: 1px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.inbox-who b { font-size: 14px; }
.inbox-msg { max-width: 88%; padding: 9px 11px; border-radius: 12px; line-height: 1.45; }
.inbox-msg.in { background: var(--surface-2); color: var(--ink); border-bottom-left-radius: 4px; }
.inbox-msg.out { justify-self: end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.inbox-note { padding: 8px 10px; border: 1px dashed #F2C879; border-radius: 8px; background: var(--warn-tint); color: var(--warn); font-size: 12.5px; line-height: 1.45; }
.inbox-assign { justify-self: center; }
@media (max-width: 520px) { .inbox-body { grid-template-columns: minmax(0, 1fr); } .inbox-list { border-right: 0; border-bottom: 1px solid var(--border); } .inbox-row:nth-child(n+3) { display: none; } }

/* Files mock (features): colored folders, a few files and the storage meter, like the panel's Files page. */
.files-mock .fd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.files-mock .fd { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; min-width: 0; }
.files-mock .fd svg { grid-row: span 2; }
.files-mock .fd b, .files-mock .fl b { font-size: 13.5px; font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files-mock .fd span, .files-mock .fl > span:last-child { font-size: 12px; color: var(--muted); }
.files-mock .fl-list { display: grid; margin-top: 14px; border-top: 1px solid var(--border); }
.files-mock .fl { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); min-width: 0; }
.files-mock .fl b { flex: 1; }
.files-mock .fk { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; color: var(--kc); background: color-mix(in srgb, var(--kc) 12%, transparent); }
.files-mock .fk [data-i] { width: 16px; height: 16px; }
.files-mock .btn [data-i] { width: 14px; height: 14px; }
@media (max-width: 420px) { .files-mock .fd-grid { grid-template-columns: minmax(0, 1fr); } }
