/* Lead X 2.0: midnight indigo, soft violet, and cool porcelain. */
:root {
  --lx-ink: #17213b;
  --lx-deep: #151b36;
  --lx-lime: #c9bcff;
  --lx-cream: #f7f8fc;
  --lx-muted: #5e6880;
  --lx-line: #dfe3f0;
  --surface: #fff;
  --canvas: #f7f8fc;
  --forest: #5140b7;
  --forest-dark: #131a33;
  --leaf: #5942c8;
  --lime: #c9bcff;
  --text: #1b2440;
  --muted-text: #5e6880;
  --edge: #dfe3f0;
  --shadow-soft: 0 16px 44px rgba(36, 35, 91, .08);
  --shadow-raised: 0 26px 65px rgba(32, 31, 90, .14);
}
body { background: var(--canvas); color: var(--text); }
button:focus-visible, a:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline-color: #8270e7;
}
input:focus, select:focus { border-color: #7966dc; box-shadow: 0 0 0 3px rgba(121, 102, 220, .16); }

/* Public brand and hero. */
.public-site { background: #f7f8fc; color: #17213b; }
.public-header { background: #11182f; }
.public-brand-mark { background: #c9bcff; color: #171b37; }
.public-brand-accent { color: #c9bcff; }
.public-nav a { color: #c4c9e1; }
.public-nav a:hover, .public-nav a:focus-visible { border-color: #c9bcff; }
.public-button { background: #c9bcff; border-color: #c9bcff; color: #161b37; box-shadow: 0 12px 30px rgba(20, 17, 65, .18); }
.public-button:hover { background: #e0d8ff; border-color: #e0d8ff; }
.public-hero { background: radial-gradient(circle at 77% 44%, #343062 0, #1c2546 38%, #10172d 79%); }
.public-kicker { color: #e1dafd; border-color: rgba(201, 188, 255, .32); }
.public-live-dot { background: #c9bcff; box-shadow: 0 0 0 4px rgba(201, 188, 255, .15); }
.public-hero h1 em, .public-final-cta h2 em { color: #c9bcff; }
.public-hero-copy > p { color: #c8cee3; }
.public-text-link span { color: #c9bcff; }
.public-hero-note { color: #b6c0db; }
.public-note-rule { background: #aaa0e7; }
.public-visual-glow { background: rgba(138, 118, 241, .35); }
.public-preview-shell { background: #fbfbff; box-shadow: 0 34px 90px rgba(3, 7, 35, .56); }
.public-preview-sidebar { background: #151e3a; color: #b7c1df; }
.public-preview-logo { background: #c9bcff; color: #171b37; }
.public-preview-sidebar > span.active { background: #393761; color: #e0d8ff; }
.public-preview-sidebar .public-preview-bottom { color: #c9bcff; }
.public-preview-main { color: #233052; }
.public-preview-heading small, .public-preview-list em { color: #5942c8; }
.public-preview-avatar, .public-preview-list i { background: #eeeaff; color: #5942c8; }
.public-preview-metrics strong { color: #302b69; }
.public-floating-card { background: #fbfaff; color: #222b49; box-shadow: 0 18px 42px rgba(5, 8, 37, .43); }
.public-floating-icon { background: #ede8ff; color: #5942c8; }

/* Public content and plans. */
.public-value-strip { background: #e6e1fa; color: #3d357a; }
.public-strip-separator { color: #7763cd; }
.public-value-strip {
  display: block; min-height: 76px; padding: 0; overflow: hidden;
  white-space: nowrap; text-align: left;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.public-value-track { display: flex; width: max-content; min-height: 76px; align-items: center; }
.public-value-group { display: flex; flex: none; align-items: center; justify-content: space-around; gap: clamp(22px, 4vw, 64px); padding-right: clamp(22px, 4vw, 64px); }
.public-value-group > span { flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .public-value-track { animation: lx-principles-loop 28s linear infinite; }
  .public-value-strip:hover .public-value-track { animation-play-state: paused; }
  @keyframes lx-principles-loop { to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) {
  .public-value-strip { min-height: 76px; white-space: normal; mask-image: none; }
  .public-value-track { width: 100%; }
  .public-value-group:first-child { width: 100%; flex-wrap: wrap; justify-content: center; padding: 16px; }
  .public-value-group[aria-hidden="true"] { display: none; }
}
@media (max-width: 600px) {
  #appShell .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #appShell .stats button[data-metric-view] { min-height: 118px; padding: 15px 14px; }
  #appShell .stats button[data-metric-view] span { max-width: 11rem; font-size: 11px; }
  #appShell .stats button[data-metric-view] strong { font-size: 27px; }
  #appShell .stats button[data-metric-view] small { display: block; font-size: 10px; }
  .public-value-strip, .public-value-track { min-height: 68px; }
  .public-value-group { gap: 25px; padding-right: 25px; font-size: 9px; letter-spacing: 1.3px; }
}
.table-scroll-hint { display: none; color: #5d5688; font-size: 11px; font-weight: 700; margin: -4px 0 10px; }
.explore-more {
  display: block; width: fit-content; min-height: 46px; margin: 17px auto 0;
  padding: 11px 20px; border: 1px solid #cbc4ed; border-radius: 999px;
  background: #fff; color: #473698; font: inherit; font-size: 12px; font-weight: 800;
  box-shadow: 0 10px 24px rgba(31, 29, 83, .065); cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.explore-more:hover { transform: translateY(-2px); border-color: #7768d2; box-shadow: 0 16px 28px rgba(31, 29, 83, .12); }
.explore-more:focus-visible { outline: 3px solid #7465dc; outline-offset: 3px; }
.review-button, .review-actions button, .draft-button, .send-button,
.government-tabs button, .dialog-close { min-height: 44px; }
.government-tabs button { display: inline-flex; align-items: center; }
@media (min-width: 651px) and (max-width: 950px) {
  #appShell .rail-link { position: relative; }
  #appShell .rail-link::after {
    content: attr(aria-label); position: absolute; z-index: 5; left: calc(100% + 13px);
    top: 50%; transform: translate(-5px, -50%); padding: 9px 12px;
    border-radius: 8px; background: #25264d; color: #fff;
    font-size: 12px; white-space: nowrap; opacity: 0; pointer-events: none;
    box-shadow: 0 10px 24px rgba(18, 20, 50, .2);
    transition: opacity .16s ease, transform .16s ease;
  }
  #appShell .rail-link:hover::after, #appShell .rail-link:focus-visible::after {
    opacity: 1; transform: translate(0, -50%);
  }
}
@media (max-width: 700px) {
  .table-scroll-hint { display: block; }
  #appShell .table-wrap th:first-child, #appShell .table-wrap td:first-child {
    position: sticky; left: 0; z-index: 1; background: #fff;
    box-shadow: 7px 0 12px -10px rgba(24, 25, 63, .5);
  }
  #appShell .table-wrap th:first-child { z-index: 2; background: #f6f7fc; }
  #appShell tbody tr:hover td:first-child { background: #f6f4ff; }
  #appShell .topbar { gap: 8px; flex-wrap: wrap; }
  #appShell .mail-connection { display: inline-flex; max-width: 122px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .explore-more { transition: none; } .explore-more:hover { transform: none; } }
.public-section h2 em { color: #5942c8; }
.public-section .public-section-label, .public-feature-number, .pricing-eyebrow { color: #5140b7; }
.public-section-intro p, .public-workflow-copy p, .public-vision p,
.public-pricing-heading p, .public-feature-card p, .public-steps p,
.pricing-card > p, .pricing-amount span, .pricing-disclaimer { color: #5e6880; }
.public-feature-card { border-color: #e2e5f1; }
.public-feature-symbol { background: #eeeaff; color: #5942c8; }
.public-workflow { background: #eceefa; }
.public-button-dark { background: #242b53; border-color: #242b53; color: #fff; }
.public-button-dark:hover { background: #39346f; border-color: #39346f; }
.public-steps, .public-steps li { border-color: #d6d9ec; }
.public-steps li > span { color: #5140b7; }
.public-vision { background: #f7f8fc; }
.public-vision { grid-template-columns: minmax(230px, .82fr) minmax(0, 1.6fr); align-items: center; gap: clamp(30px, 5vw, 80px); overflow: hidden; }
.public-vision-intro { min-width: 0; }
.public-vision-intro .public-section-label { display: block; padding: 0; }
.public-vision-intro h2 { margin-top: 20px; }
.public-vision-intro p { max-width: 390px; margin-top: 18px; font-size: 14px; line-height: 1.65; }
.vision-controls { display: flex; align-items: center; gap: 9px; margin-top: 25px; }
.vision-controls button {
  display: grid; place-items: center; width: 43px; height: 43px;
  border: 1px solid #c9c4e9; border-radius: 50%; background: #fff;
  color: #44358f; font: inherit; font-size: 18px; cursor: pointer;
  transition: background-color .18s ease, transform .18s ease;
}
.vision-controls button:hover { background: #eeeaff; transform: translateY(-2px); }
.vision-controls button:focus-visible, .vision-track:focus-visible { outline: 3px solid #7465dc; outline-offset: 3px; }
.vision-controls span { margin-left: 5px; color: #665f85; font-size: 11px; font-weight: 700; }
.vision-track {
  display: flex; gap: 14px; min-width: 0; padding: 9px 5px 14px;
  overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory;
  scrollbar-color: #afa3e7 transparent; scrollbar-width: thin;
}
.vision-card {
  flex: 0 0 clamp(230px, 23vw, 290px); min-height: 264px; padding: 24px;
  border: 1px solid #e0deee; border-radius: 17px; background: #fff;
  box-shadow: 0 12px 30px rgba(35, 32, 88, .075); scroll-snap-align: start;
}
.vision-card-planned { background: #eeebfa; border-color: #d8d0f3; }
.vision-state { color: #5844b5; font-size: 10px; font-weight: 800; letter-spacing: 1.5px; }
.vision-card h3 { margin: 28px 0 11px; color: #202949; font-size: 21px; line-height: 1.17; letter-spacing: -.04em; }
.public-vision .vision-card p { margin: 0; color: #5c667e; font-size: 12px; line-height: 1.65; }
@media (max-width: 900px) {
  .public-vision { grid-template-columns: 1fr; gap: 19px; }
  .public-vision-intro p { max-width: 670px; }
  .vision-track { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .vision-controls button { transition: none; } .vision-controls button:hover { transform: none; } }
.public-pricing { background: #eceefa; }
.public-pricing-heading h2 em { color: #5942c8; }
.currency-switch { border-color: #d5d8ec; background: #fbfbff; }
.currency-option:not(.active) { color: #554c91; }
.currency-option.active { background: #292c59; color: #fff; box-shadow: 0 5px 12px rgba(38, 39, 90, .19); }
.pricing-card { border-color: #dfe2ef; }
.pricing-card li { color: #414b65; }
.pricing-card li::before { color: #5942c8; }
.pricing-card li em { color: #5848ad; }
.pricing-card-premium { border-color: #292c61; background: radial-gradient(circle at 95% 0%, #56468b 0, #292b5a 48%, #181d3a 100%); color: #fff; box-shadow: 0 20px 42px rgba(39, 38, 99, .27); }
.pricing-card-premium .pricing-eyebrow, .pricing-card-premium li::before { color: #d6caff; }
.pricing-card-premium > p, .pricing-card-premium .pricing-amount span { color: #d1d5ea; }
.pricing-card-premium li { color: #ecebfd; }
.pricing-card-premium li em { color: #d8ceff; }
.pricing-card-premium .plan-details { border-top-color: rgba(255,255,255,.42); }
.pricing-card-premium .plan-details summary,
.pricing-card-premium .plan-details p { color: #f6f4ff; }
.pricing-card-premium .plan-details summary:hover { color: #d6caff; }
.plan-details { border-color: #dfe2ef; color: #38405f; }
.plan-details summary:hover { color: #5140b7; }
.public-final-cta { background: #151b36; }
.public-final-cta .public-section-label { color: #d2c8ff; }
.public-footer { background: #0d1429; }
.public-footer p, .public-footer > span { color: #b2bad3; }
.public-footer-owner a:hover { color: #d6caff; }

/* Private workspace, sign-in, and working surfaces. */
#appShell { background: #f7f8fc; color: #1b2440; }
#appShell .rail { background: #141b36; border-color: #34375c; }
#appShell .brand-mark { background: #c9bcff; color: #171b37; }
#appShell .brand-x { color: #c9bcff; }
#appShell .rail-label { color: #a0a8ca; }
#appShell .rail-link { color: #c5c9e5; }
#appShell .rail-link span { color: #beb1fa; }
#appShell .rail-link.selected { background: #dcd4ff; color: #292253; }
#appShell .rail-link.selected span { color: #5140b7; }
#appShell .rail-link:not(.selected):hover { background: #33365f; }
#appShell .rail-bottom { color: #bbc2dd; }
#appShell .rail-bottom .rail-dot { background: #c9bcff; }
#appShell .topbar { border-color: #e2e4f0; }
#appShell .breadcrumb-home, #appShell .breadcrumb strong { color: #39336e; }
#appShell .security-pill { background: #f0edff; border-color: #e0dafa; color: #5140b7; }
#appShell .mail-connection.connected { background: #e9f6f1; color: #21644b; }
#appShell .mail-connection.disconnected { background: #fff3e5; color: #81521e; }
#appShell .text-button { color: #5140b7; }
#appShell .text-button:hover { color: #382b93; }
#appShell .tier-pill { background: #ece8ff; border-color: #ddd5ff; color: #5140b7; }
#appShell .hero-banner { background: radial-gradient(circle at 76% 46%, #4b4182 0, #272d60 41%, #171d3b 100%); box-shadow: 0 20px 45px rgba(37, 34, 91, .2); }
#appShell .hero-banner .eyebrow.light { color: #d9cdff; }
#appShell .hero-banner p { color: #d4d9ee; }
.hero-review-link { border-color: #c6bbf7; color: #f5f2ff; }
.hero-review-link span { color: #d6caff; }
#appShell .orbit-a, #appShell .orbit-b { border-color: rgba(220, 211, 255, .52); }
#appShell .orbit-c { background: #c9bcff; color: #292253; box-shadow: 0 0 50px rgba(201, 188, 255, .3); }
#appShell .stats article { border-color: #e1e4f0; }
#appShell .stats button[data-metric-view] { display: flex; flex-direction: column; align-items: flex-start; text-align: left; font: inherit; cursor: pointer; min-width: 0; padding: 18px; border: 1px solid #e1e4f0; border-radius: 14px; background: #fff; color: #1b2440; }
#appShell .stats button[data-metric-view]:nth-child(2) { background: #f3f0ff; border-color: #ded7fc; }
#appShell .stats button[data-metric-view]:hover, #appShell .stats button[data-metric-view][aria-pressed="true"] { border-color: #7f72df; box-shadow: 0 15px 32px rgba(37, 34, 91, .13); transform: translateY(-2px); }
#appShell .stats button[data-metric-view]:focus-visible { outline: 3px solid #7465dc; outline-offset: 3px; }
#appShell .stats button[data-metric-view] strong { display: block; font-size: 30px; line-height: 1.12; margin: 9px 0 5px; }
#appShell .stats button[data-metric-view] span { font-size: 12px; font-weight: 700; }
#appShell .stats button[data-metric-view] small { font-size: 10px; line-height: 1.4; }
#appShell .stats article:nth-child(2) { background: #f3f0ff; border-color: #ded7fc; }
#appShell .stats strong, #appShell .page-heading h1 { color: #1b2440; }
#appShell .stats span, #appShell .stats small, #appShell .page-heading p { color: #5e6880; }
#appShell .eyebrow { color: #5140b7; }
#appShell .filters input, #appShell .filters select { border-color: #d8ddeb; }
#appShell .table-wrap { border-color: #dfe3f0; }
#appShell th { background: #f6f7fc; color: #58627e; }
#appShell td { color: #526078; }
#appShell tbody tr:hover { background: #f6f4ff; }
#appShell tbody tr:focus-within { background: #efecff; }
#appShell .buyer { color: #222b49; }
#appShell .score, #appShell .source-link { color: #5140b7; }
#appShell .status-tag { background: #eeebff; border-color: #ded7fb; color: #5543ad; }
#appShell .status-tag.sent { background: #e9f0fc; border-color: #d3e1f7; color: #345f9b; }
#appShell .empty-state::before { color: #8f7ce6; }
#appShell .mobile-workspace-nav { border-color: #dfe3f0; }
#appShell .mobile-workspace-nav a { color: #514773; }
#appShell .mobile-workspace-nav a.selected { background: #ece8ff; color: #443294; }
#appShell .team-section { border-color: #dfe3f0; }
#appShell .team-list li, #appShell .invite-result { background: #f0edff; color: #493997; }
#appShell .auth-view { background: radial-gradient(circle at 27% 62%, #e8e3ff 0, transparent 42%), #f7f8fc; }
#appShell .auth-intro em { color: #6450cf; }
#appShell .auth-proof span { background: #fdfcff; border-color: #ded9f0; color: #534b84; }
#appShell .auth-card { border-color: #dedff0; }
#appShell .auth-card .card-overline { color: #5942c8; }
#appShell .auth-card .muted, #appShell .auth-card .small-note { color: #5e6880; }
#appShell .auth-card label { color: #3d4560; }
#appShell .auth-card input { border-color: #d5daea; color: #1b2440; }
#appShell .auth-card input:focus { border-color: #7966dc; box-shadow: 0 0 0 4px rgba(121, 102, 220, .14); }
#appShell .auth-card .primary-button { background: #5140b7; }
#appShell .auth-card .primary-button:hover { background: #45339e; box-shadow: 0 9px 20px rgba(55, 40, 154, .2); }
#appShell .auth-card .switch-button, .auth-back { color: #5140b7; }
#appShell .auth-card .switch-button:hover { background: #f0edff; }

/* Dialogs and explicit-action controls retain their semantic meaning. */
.review-dialog { border-color: #dfe2f0; color: #202944; }
.review-dialog::backdrop { background: rgba(10, 13, 35, .65); }
.review-dialog .eyebrow { color: #5942c8; }
.dialog-close { background: #efedfb; color: #4a4382; }
.dialog-close:hover { background: #e4defb; }
.review-facts, .send-panel { border-color: #e1e4f0; }
.review-facts dt, .review-label { color: #5b6380; }
.review-button, .review-actions button, .draft-button { border-color: #d8d2f5; background: #f4f1ff; color: #5140b7; }
.review-button:hover, .review-actions button:hover, .draft-button:hover { background: #ebe5ff; }
.review-actions button[data-decision=apply], .send-button { background: #5140b7; border-color: #5140b7; color: #fff; }
.review-actions button[data-decision=apply]:hover, .send-button:hover { background: #423199; }
.review-label input, .review-label textarea, #proposalText,
.team-invite-form input { border-color: #d6daeb; }
.review-label input:focus, .review-label textarea:focus,
.team-invite-form input:focus { border-color: #7966dc; box-shadow: 0 0 0 4px rgba(121, 102, 220, .13); }
#proposalText { background: #faf9ff; }
.proposal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.proposal-actions .draft-button { white-space: normal; text-align: center; }
.proposal-actions .ai-proposal-button { border-color: #5140b7; background: #5140b7; color: #fff; }
.proposal-actions .ai-proposal-button:hover { background: #423199; color: #fff; }
.proposal-actions .draft-button:disabled { cursor: wait; opacity: .65; transform: none; }
.proposal-plan-note { margin: 10px 0 14px; color: #5e6880; font-size: 12px; line-height: 1.5; }
.proposal-origin { margin: 15px 0 8px; color: #453997; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
#proposalError { margin: 10px 0; }
@media (max-width: 520px) { .proposal-actions .draft-button { width: 100%; } }

/* Weightless depth stays on decorative layers, not tables or controls. */
@media (prefers-reduced-motion: no-preference) {
  .public-hero-visual { perspective: 1100px; }
  .public-preview-shell {
    transform: perspective(1100px) translate3d(0, var(--hero-lift, 0px), 0)
      rotateX(var(--hero-tilt-x, 3deg)) rotateY(var(--hero-tilt-y, -5deg)) rotateZ(-2deg);
    transition: transform .22s ease-out, box-shadow .22s ease-out;
    will-change: transform;
  }
  .public-floating-card { animation: lx-float 5.5s ease-in-out infinite; }
  .public-hero-visual::before {
    border-color: rgba(207, 196, 255, .33);
    background: conic-gradient(from 20deg, transparent 0deg 75deg, rgba(207, 196, 255, .22) 76deg 78deg, transparent 79deg 185deg, rgba(207, 196, 255, .22) 186deg 188deg, transparent 189deg);
  }
  #appShell .hero-orbit {
    transform: scale(.87) translate3d(0, var(--workspace-parallax, 0px), 0);
    animation: lx-orbit-drift 7s ease-in-out infinite;
    will-change: transform;
  }
  #appShell .orbit-a { background: conic-gradient(from 15deg, transparent 0deg 80deg, rgba(214, 202, 255, .18) 81deg 83deg, transparent 84deg); animation: lx-orbit-spin 28s linear infinite; }
  #appShell .orbit-b { background: conic-gradient(from 95deg, transparent 0deg 110deg, rgba(214, 202, 255, .2) 111deg 113deg, transparent 114deg); animation: lx-orbit-spin 22s linear reverse infinite; }
  #appShell .orbit-c { animation: lx-float 5s ease-in-out infinite; }
  #appShell .stats article { transition: transform .25s ease-out, box-shadow .25s ease-out; }
  #appShell .stats article:hover { transform: translateY(-4px); box-shadow: 0 20px 38px rgba(37, 34, 91, .14); }
  @keyframes lx-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
  @keyframes lx-orbit-drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
  @keyframes lx-orbit-spin { to { rotate: 360deg; } }
}
@media (prefers-reduced-motion: reduce) {
  .public-preview-shell, .public-floating-card, #appShell .hero-orbit,
  #appShell .orbit-a, #appShell .orbit-b, #appShell .orbit-c,
  #appShell .stats article { animation: none !important; transition: none !important; translate: none !important; rotate: none !important; }
}
@media (max-width: 650px) {
  .public-preview-shell { transform: none !important; }
}
.government-discoveries { margin-top: 3rem; scroll-margin-top: 2rem; }
.government-discoveries .section-title label { display: grid; gap: .35rem; font-size: .8rem; font-weight: 700; }
.government-discoveries select { min-width: 12rem; padding: .65rem .8rem; border: 1px solid #c7c4df; border-radius: .7rem; background: #fff; color: #252345; }
.government-tabs { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.25rem 0; }
.government-tabs button { border: 1px solid #c7c4df; border-radius: 999px; padding: .55rem .9rem; background: #fff; color: #38345f; cursor: pointer; }
.government-tabs button[aria-pressed="true"] { background: #39316d; border-color: #39316d; color: #fff; }
.government-tabs label { display: inline-flex; align-items: center; gap: .35rem; padding: .55rem; color: #38345f; }
.industry-form { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem; margin: 1rem 0; }
.industry-form label { display: grid; gap: .35rem; min-width: min(100%, 15rem); font-size: .8rem; font-weight: 700; }
.industry-form input { padding: .65rem .8rem; border: 1px solid #c7c4df; border-radius: .7rem; background: #fff; color: #252345; }
.government-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: .85rem; }
.government-card { padding: 1.15rem; border: 1px solid #dfddef; border-radius: 1rem; background: #fff; box-shadow: 0 10px 25px rgba(37,34,91,.06); }
.government-card small { color: #59538a; font-weight: 700; }
.government-card h3 { margin: .55rem 0; color: #262346; font-size: 1.05rem; }
.government-card p { margin: .4rem 0; color: #625d79; }
.government-card a { display: inline-block; margin-top: .45rem; color: #4e3cac; font-weight: 700; }

/* Premium polish: one visual language from the public site into the workspace. */
.public-header { border-bottom: 1px solid rgba(216, 209, 255, .13); }
.public-hero { isolation: isolate; }
.public-hero::after {
  content: ""; position: absolute; inset: auto -12% -38% 40%; height: 70%;
  border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(ellipse, rgba(136, 112, 244, .17), transparent 68%);
}
.public-hero-grid {
  opacity: .55;
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 85%, transparent);
}
.hero-signal-field { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-signal-field::before {
  content: ""; position: absolute; width: min(72vw, 920px); aspect-ratio: 1;
  right: -16%; top: 1%; border: 1px solid rgba(194, 183, 255, .22);
  border-radius: 50%;
  background: conic-gradient(from 45deg, transparent 0deg 45deg, rgba(159, 140, 255, .14) 75deg,
    transparent 135deg 225deg, rgba(180, 157, 255, .09) 260deg, transparent 310deg);
  box-shadow: inset 0 0 100px rgba(130, 111, 237, .09), 0 0 90px rgba(130, 111, 237, .06);
}
.hero-signal-field::after {
  content: ""; position: absolute; width: min(48vw, 620px); aspect-ratio: 1;
  right: 1%; top: 19%; border: 1px solid rgba(205, 195, 255, .25);
  border-radius: 50%; box-shadow: 0 0 0 80px rgba(136, 120, 247, .025);
}
.hero-signal-point {
  position: absolute; width: 7px; height: 7px; border-radius: 50%;
  background: #d9ceff; box-shadow: 0 0 0 7px rgba(194, 177, 255, .09), 0 0 25px rgba(194, 177, 255, .55);
}
.hero-signal-point.point-one { right: 14%; top: 16%; }
.hero-signal-point.point-two { right: 43%; top: 59%; width: 5px; height: 5px; }
.hero-signal-point.point-three { right: 6%; top: 77%; width: 5px; height: 5px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-signal-field::before { animation: lx-signal-orbit 42s linear infinite; }
  .hero-signal-field::after { animation: lx-signal-breathe 11s ease-in-out infinite; }
  .hero-signal-point { animation: lx-signal-pulse 5s ease-in-out infinite; }
  .hero-signal-point.point-two { animation-delay: 1.6s; }
  .hero-signal-point.point-three { animation-delay: 3.2s; }
  @keyframes lx-signal-orbit { to { transform: rotate(360deg); } }
  @keyframes lx-signal-breathe { 50% { transform: scale(1.07); opacity: .55; } }
  @keyframes lx-signal-pulse { 50% { opacity: .35; transform: scale(.7); } }
}
@media (max-width: 900px) {
  .hero-signal-field::before { width: 760px; right: -220px; top: 24%; }
  .hero-signal-field::after { width: 480px; right: -20px; top: 38%; }
}
@media (max-width: 700px) {
  .hero-signal-field::before { width: 690px; right: -460px; top: 22%; }
  .hero-signal-field::after { width: 420px; right: -255px; top: 35%; }
  .hero-signal-point.point-two { display: none; }
}
.public-kicker { backdrop-filter: blur(10px); }
.public-hero-actions .public-button, .public-header-actions .public-button {
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.public-hero-actions .public-button:hover, .public-header-actions .public-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 19px 38px rgba(6, 7, 37, .27);
}
.public-feature-card, .pricing-card, .government-card {
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.public-feature-card:hover, .pricing-card:hover, .government-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(28, 29, 78, .13);
  border-color: #b9adee;
}
.pricing-card-premium:hover { border-color: #d4c7ff; box-shadow: 0 26px 55px rgba(32, 30, 83, .31); }
.motion-enhanced .pricing-card.is-visible:hover { transform: translateY(-4px); }
#appShell .rail { box-shadow: 12px 0 36px rgba(21, 27, 54, .08); }
#appShell .topbar { background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); }
#appShell .hero-banner { border: 1px solid rgba(226, 218, 255, .25); }
#appShell .stats button[data-metric-view] {
  position: relative; overflow: hidden;
  box-shadow: 0 8px 26px rgba(34, 35, 88, .045);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
#appShell .stats button[data-metric-view]::after {
  content: "↗"; position: absolute; top: 15px; right: 17px;
  font-size: 16px; font-weight: 600; color: #7569bf;
}
#appShell .stats button[data-metric-view][aria-pressed="true"] {
  background: #f0edff; border-color: #7f72df;
}
#appShell .stats button[data-metric-view] small { font-size: 11px; }
#appShell .table-wrap, #appShell .team-section { box-shadow: 0 12px 38px rgba(33, 34, 85, .055); }
#appShell tbody tr { transition: background-color .16s ease; }
#appShell .auth-card { box-shadow: 0 28px 70px rgba(28, 29, 78, .13); }
.government-tabs button:hover { background: #f0edff; border-color: #897bdc; }
.government-tabs button[aria-pressed="true"]:hover { background: #39316d; }
.government-tabs button:focus-visible, .government-card a:focus-visible {
  outline: 3px solid #7465dc; outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .public-feature-card, .pricing-card, .government-card,
  #appShell .stats button[data-metric-view], #appShell tbody tr { transition: none !important; }
  .public-feature-card:hover, .pricing-card:hover, .government-card:hover,
  #appShell .stats button[data-metric-view]:hover { transform: none !important; }
  .public-hero-actions .public-button:hover,
  .public-header-actions .public-button:hover { transform: none !important; }
}
