/* Marketing pages: /professionals and /enterprise (25 Nov 2026). Uses only app.css tokens, so light and dark themes both work. */
.xp { --xp-gap: 20px; overflow-x: clip; }
.xp-kicker { font: 700 .78rem/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.xp-center { text-align: center; margin-left: auto; margin-right: auto; }
.xp-center-row { justify-content: center; }

/* Hero */
.xp-hero { position: relative; padding: 44px 0 28px; background:
  radial-gradient(900px 420px at 85% -10%, var(--accent-tint), transparent 70%),
  radial-gradient(600px 300px at -10% 110%, var(--review-tint), transparent 70%); }
.xp-hero-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.xp-hero h1 { font-size: clamp(2rem, 7.4vw, 3.4rem); line-height: 1.04; letter-spacing: -.03em; margin-bottom: .4em; max-width: 15ch; }
.xp-hero-ent h1 { max-width: 17ch; }
.xp-lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 36em; margin-bottom: 0; }
.xp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 14px; }
.xp-actions .btn { min-height: 48px; }
.xp-note { color: var(--ink-soft); font-size: var(--step--1); margin: 0; }
.xp-note a { color: var(--accent); }
.xp-hero-art { position: relative; max-width: 420px; width: 100%; justify-self: center; padding: 6px 0 22px; }
.xp-card { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius-l); box-shadow: var(--shadow-lg); }
.xp-profile, .xp-dash { padding: 20px; }
.xp-profile-top { display: flex; gap: 12px; align-items: center; }
.xp-profile-top b { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.xp-profile-top div span { color: var(--ink-soft); font-size: var(--step--1); }
.xp-avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: 700 1.05rem var(--font-display); color: #fff;
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-navy-2)); }
.xp-verified { display: flex; align-items: center; gap: 8px; margin: 16px 0 12px; padding: 8px 12px; border-radius: var(--radius-m); background: var(--pass-tint); color: var(--pass); font-weight: 600; font-size: var(--step--1); }
.xp-verified svg { width: 18px; height: 18px; flex: none; }
.xp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.xp-chips span { font-size: .78rem; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--info-tint); color: var(--ink-2); }
.xp-mini-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule); }
.xp-mini-row span { font-size: .75rem; color: var(--ink-soft); }
.xp-mini-row b { display: block; font: 700 .95rem var(--font-display); color: var(--ink); }
.xp-float { position: absolute; right: -6px; bottom: 0; padding: 10px 14px; font-size: .82rem; font-weight: 600; display: flex; align-items: center; gap: 8px; border-radius: var(--radius-pill); }
.xp-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand-teal); box-shadow: 0 0 0 4px var(--accent-tint); }
.xp-dot-warn { background: var(--brand-amber); box-shadow: 0 0 0 4px var(--review-tint); }
.xp-art-cap { position: absolute; left: 4px; bottom: 4px; margin: 0; font-size: .7rem; color: var(--ink-soft); letter-spacing: .04em; }
.xp-dash-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.xp-dash-head b { font-family: var(--font-display); }
.xp-dash-head span { font-size: .78rem; color: var(--ink-soft); }
.xp-bar { display: grid; grid-template-columns: 112px 1fr 38px; align-items: center; gap: 10px; font-size: .8rem; line-height: 1.3; margin: 12px 0; color: var(--ink-2); }
.xp-bar-l { line-height: 1.3; }
.xp-track { display: block; height: 8px; border-radius: 99px; background: var(--info-tint); overflow: hidden; }
.xp-fill { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand-teal), var(--brand-teal-bright)); }
.xp-bar b { text-align: right; font-variant-numeric: tabular-nums; }

/* Stat strip */
.xp-strip { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius-l); overflow: hidden; }
.xp-strip li { background: var(--sheet); padding: 16px 18px; }
.xp-strip b { display: block; font: 800 1.35rem/1.1 var(--font-display); letter-spacing: -.02em; }
.xp-strip span { font-size: var(--step--1); color: var(--ink-soft); }

/* On-page links */
.xp-jump { display: flex; gap: 8px; overflow-x: auto; padding-top: 22px; padding-bottom: 4px; scrollbar-width: none; }
.xp-jump::-webkit-scrollbar { display: none; }
.xp-jump a { flex: none; font-size: var(--step--1); font-weight: 600; text-decoration: none; padding: 7px 14px; border: 1px solid var(--rule-strong); border-radius: var(--radius-pill); color: var(--ink-2); background: var(--sheet); }
.xp-jump a:hover { border-color: var(--accent); color: var(--accent); }

/* Feature groups */
.xp-group { padding-top: 48px; scroll-margin-top: 70px; }
.xp-group-head { max-width: 640px; margin-bottom: 22px; }
.xp-group-head h2 { font-size: clamp(1.5rem, 5vw, 2.1rem); margin-bottom: .35em; }
.xp-group-head p:last-child { color: var(--ink-soft); margin: 0; }
.xp-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.xp-feat { position: relative; display: block; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius-l); padding: 20px; text-decoration: none; color: var(--ink); transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
a.xp-feat:hover { border-color: var(--accent); color: var(--ink); box-shadow: var(--shadow); transform: translateY(-2px); }
.xp-feat h3 { font-size: 1.08rem; margin: 14px 0 6px; letter-spacing: -.01em; }
.xp-feat p { color: var(--ink-soft); font-size: .95rem; line-height: 1.55; margin: 0; }
.xp-ic { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent-tint); color: var(--accent); }
.xp-ic svg { width: 22px; height: 22px; }
.xp-badge { position: absolute; top: 18px; right: 18px; font: 700 .68rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border-radius: var(--radius-pill); }
.xp-badge-free { background: var(--pass-tint); color: var(--pass); }
.xp-badge-pro { background: var(--info-tint); color: var(--ink-2); }
.xp-badge-practice { background: var(--accent-tint); color: var(--accent); }
.xp-badge-firm { background: var(--review-tint); color: var(--review); }

/* Dark band (steps, pilot) */
.xp-band { margin-top: 56px; padding: 52px 0; background: var(--brand-navy); color: #E8EEF5; }
.xp-band .xp-kicker { color: var(--brand-teal-bright); }
.xp-band h2 { color: #fff; font-size: clamp(1.5rem, 5vw, 2.1rem); }
.xp-band-lede { color: #C9D4E2; max-width: 40em; }
.xp-steps { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; counter-reset: none; }
.xp-steps li { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-l); padding: 20px; }
.xp-steps li > span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-amber); color: var(--brand-navy); font: 800 1rem var(--font-display); }
.xp-steps h3 { color: #fff; font-size: 1.08rem; margin: 12px 0 6px; }
.xp-steps p { color: #C9D4E2; font-size: .95rem; margin: 0; }
.xp-fine { color: #9FB0C4; font-size: var(--step--1); margin: 0; }

/* Plans */
.xp-plans { padding-top: 56px; scroll-margin-top: 70px; }
.xp-plans .xp-group-head { text-align: center; margin-left: auto; margin-right: auto; }
.xp-perk { max-width: 720px; margin: 0 auto 18px; }
.xp-plan-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.xp-plan { position: relative; display: flex; flex-direction: column; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius-l); padding: 22px; }
.xp-plan.hot { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); }
.xp-plan-flag { position: absolute; top: -12px; left: 20px; font: 700 .7rem/1 var(--font-body); padding: 6px 10px; border-radius: var(--radius-pill); background: var(--brand-teal-ink); color: #fff; }
.xp-plan h3 { font-size: 1.15rem; margin: 0 0 8px; }
.xp-price { font: 800 2rem/1 var(--font-display); letter-spacing: -.03em; margin: 0 0 4px; }
.xp-price small { font: 500 .9rem var(--font-body); color: var(--ink-soft); letter-spacing: 0; }
.xp-sub { color: var(--ink-soft); font-size: var(--step--1); margin: 0 0 12px; min-height: 1.4em; }
.xp-blurb { font-size: .95rem; color: var(--ink-2); flex: 1; }
.xp-monthly { display: block; text-align: center; margin-top: 10px; font-size: var(--step--1); color: var(--accent); }
.xp-table-wrap { margin-top: 28px; overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius-l); background: var(--sheet); -webkit-overflow-scrolling: touch; }
.xp-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .9rem; }
.xp-table th, .xp-table td { padding: 11px 14px; border-bottom: 1px solid var(--rule); text-align: center; vertical-align: middle; }
.xp-table thead th { font-family: var(--font-display); font-size: .95rem; background: var(--paper); position: sticky; top: 0; }
.xp-table tbody th, .xp-table thead th:first-child { text-align: left; font-weight: 500; position: sticky; left: 0; background: var(--sheet); min-width: 210px; }
.xp-table thead th:first-child { background: var(--paper); font-weight: 700; }
.xp-table .xp-sec th { background: var(--paper); font: 700 .72rem/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); padding-top: 14px; }
.xp-table tr:last-child th, .xp-table tr:last-child td { border-bottom: 0; }
.xp-yes { display: inline-grid; place-items: center; color: var(--pass); }
.xp-yes svg { width: 18px; height: 18px; }
.xp-no { color: var(--rule-strong); }
.xp-plans > .hint { margin-top: 14px; max-width: 760px; }

/* Compliance, FAQ, final CTA */
.xp-compliance { padding-top: 48px; }
.xp-comp-box { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius-l); border: 1px solid var(--rule); background: var(--sheet); border-left: 4px solid var(--accent); }
.xp-comp-box .xp-ic { flex: none; }
.xp-comp-box h2 { font-size: 1.15rem; margin: 6px 0 8px; }
.xp-comp-box p { font-size: .92rem; color: var(--ink-2); margin: 0; }
.xp-comp-box a { color: var(--accent); }
.xp-faq { padding-top: 48px; scroll-margin-top: 70px; }
.xp-faq-list { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius-l); padding: 4px 20px; max-width: 860px; }
.xp-faq-list details { padding: 16px 0; }
.xp-faq-list details + details { border-top: 1px solid var(--rule); }
.xp-faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font: 700 1rem/1.4 var(--font-display); }
.xp-faq-list summary::-webkit-details-marker { display: none; }
.xp-faq-list summary::after { content: "+"; flex: none; font-size: 1.35rem; line-height: 1; color: var(--ink-soft); transition: transform .2s ease; }
.xp-faq-list details[open] summary::after { transform: rotate(45deg); }
.xp-faq-list details p { margin: 10px 0 0; color: var(--ink-2); font-size: .95rem; }
.xp-final { padding: 48px 20px 64px; }
.xp-final-box { text-align: center; padding: 36px 22px; border-radius: 22px; color: #fff;
  background: radial-gradient(500px 220px at 90% 0%, rgba(46,196,182,.35), transparent 70%), linear-gradient(135deg, var(--brand-navy), var(--brand-navy-2)); }
.xp-final-box h2 { color: #fff; font-size: clamp(1.4rem, 5vw, 2rem); }
.xp-final-box p { color: #C9D4E2; max-width: 34em; margin: 0 auto; }
.btn.xp-btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); white-space: normal; text-align: center; line-height: 1.3; }
.btn.xp-btn-light:hover { background: rgba(255,255,255,.08); border-color: #fff; color: #fff; }

/* Enterprise: pricing and demo form */
.xp-price-ent { padding-top: 48px; }
.xp-price-box { display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: var(--radius-l); background: var(--sheet); border: 1px solid var(--rule); box-shadow: var(--shadow); }
.xp-price-box h2 { font-size: clamp(1.6rem, 5.5vw, 2.3rem); margin-bottom: .3em; }
.xp-price-box p:last-child { margin: 0; color: var(--ink-2); max-width: 40em; }
.xp-price-box .btn { align-self: flex-start; }
.xp-demo { padding-top: 56px; padding-bottom: 64px; scroll-margin-top: 70px; }
.xp-demo-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
.xp-demo-intro h2 { font-size: clamp(1.5rem, 5vw, 2.1rem); }
.xp-demo-intro > p { color: var(--ink-2); }
.xp-ticks { list-style: none; padding: 0; margin: 0 0 16px; }
.xp-ticks li { position: relative; padding-left: 28px; margin: 8px 0; }
.xp-ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--pass); border-bottom: 2.5px solid var(--pass); transform: rotate(-45deg); }
.xp-form { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius-l); padding: 22px; box-shadow: var(--shadow-lg); }
.xp-form .field { margin-bottom: 14px; }
.xp-form .btn { min-height: 50px; margin-top: 6px; }
.xp-form-note { margin: 12px 0 0; }
.xp-thanks { text-align: center; padding: 36px 24px; }
.xp-thanks .xp-ic { background: var(--pass-tint); color: var(--pass); width: 52px; height: 52px; }
.xp-thanks h3 { margin: 14px 0 8px; }
.xp-thanks p { color: var(--ink-2); margin: 0; }

@media (min-width: 640px) {
  .xp-strip { grid-template-columns: repeat(4, 1fr); }
  .xp-grid { grid-template-columns: repeat(2, 1fr); }
  .xp-plan-grid { grid-template-columns: repeat(2, 1fr); }
  .xp-steps { grid-template-columns: repeat(3, 1fr); }
  .xp-steps-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .xp-hero { padding: 72px 0 48px; }
  .xp-hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .xp-hero-art { justify-self: end; }
  .xp-grid { grid-template-columns: repeat(3, 1fr); }
  .xp-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .xp-plan-grid { grid-template-columns: repeat(4, 1fr); }
  .xp-steps-4 { grid-template-columns: repeat(4, 1fr); }
  .xp-group { padding-top: 64px; }
  .xp-price-box { flex-direction: row; align-items: center; justify-content: space-between; padding: 32px 36px; }
  .xp-price-box .btn { align-self: center; flex: none; }
  .xp-demo-grid { grid-template-columns: .8fr 1.2fr; gap: 48px; }
  .xp-final-box { padding: 52px 40px; }
}
@media (prefers-reduced-motion: reduce) { .xp-feat, .xp-faq-list summary::after { transition: none; } a.xp-feat:hover { transform: none; } }
.xp-swipe { display: none; }
@media (max-width: 639px) {
  .xp-swipe { display: block; margin: 24px 0 -18px; text-align: right; }
  .xp-table { min-width: 540px; font-size: .84rem; }
  .xp-table th, .xp-table td { padding: 9px 10px; }
  .xp-table tbody th, .xp-table thead th:first-child { min-width: 148px; max-width: 160px; box-shadow: 1px 0 0 var(--rule); }
  .xp-comp-box { flex-direction: column; gap: 10px; padding: 20px; }
}
.xp-group > .hint { margin: 16px 0 0; }
@media (max-width: 720px) { .xp-jump a { min-height: 40px; display: inline-flex; align-items: center; } }
