:root {
  color-scheme: light;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --fs-xxs: 11px;
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-base: 14px;
  --fs-md: 16px;
  --fs-lg: 20px;
  --fs-xl: 24px;
  --fs-2xl: 32px;
  --radius: 8px;
  --ink: #07111f;
  --ink-2: #111827;
  --panel: #101827;
  --panel-2: #1b2434;
  --muted: #667085;
  --soft: #eef3f7;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --line: #d8e0ea;
  --line-soft: #edf1f6;
  --white: #ffffff;
  --lime: #a6ff3d;
  --lime-2: #72df32;
  --green: #00a884;
  --red: #ff4d6d;
  --blue: #4779d9;
  --cyan: #28a7c7;
  --gold: #d7ad68;
  --chart-grid: #d8e0ea;
  --chart-axis: #667085;
  --chart-primary: #a6ff3d;
  --chart-secondary: #00a884;
  --chart-tertiary: #4779d9;
  --chart-warning: #d7ad68;
  --chart-danger: #ff4d6d;
  --shadow: 0 18px 46px rgba(17, 24, 39, 0.12);
  --shadow-soft: 0 10px 24px rgba(17, 24, 39, 0.08);
  font-family: var(--font-sans);
}

/* Landing FAQ accordion cleanup - desktop */
.marketing-site .faq-section .faq-grid {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.marketing-site .faq-section .faq-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  padding: 0;
}

.marketing-site .faq-section .faq-card summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  list-style: none;
  padding: 22px 24px;
}

.marketing-site .faq-section .faq-card summary::-webkit-details-marker {
  display: none;
}

.marketing-site .faq-section .faq-card summary::marker {
  content: "";
}

.marketing-site .faq-section .faq-card summary strong {
  color: #07111f;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.25;
  margin: 0;
}

.marketing-site .faq-section .faq-card summary span {
  align-items: center;
  background: rgba(166, 255, 61, 0.18);
  border: 1px solid rgba(0, 168, 132, 0.24);
  border-radius: 999px;
  color: #00a884;
  display: inline-flex;
  flex: 0 0 30px;
  font-size: 19px;
  font-weight: 950;
  height: 30px;
  justify-content: center;
  transition: transform 0.18s ease, background 0.18s ease;
}

.marketing-site .faq-section .faq-card[open] summary span {
  transform: rotate(45deg);
}

.marketing-site .faq-section .faq-card p {
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  color: #5f6b80;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.58;
  margin: 0;
  padding: 0 24px 22px;
}

/* Final polish layer */
::selection {
  background: rgba(166, 255, 61, 0.35);
  color: var(--ink);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  min-height: 100vh;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.page-title h1,
.panel-header h2,
.modal-head h2,
.goals-head h2 {
  color: var(--ink);
  font-family: var(--font-sans);
  letter-spacing: 0;
  line-height: 1.16;
}

.page-title h1 { font-size: var(--fs-xl); }
.panel-header h2,
.modal-head h2,
.goals-head h2 { font-size: var(--fs-lg); }

p,
small,
label,
input,
select,
textarea,
button,
td,
th {
  font-family: var(--font-sans);
}

button,
.pill,
.kicker,
th,
.field,
.group-stat,
.goal-box,
.summary-card small {
  letter-spacing: 0;
}

th,
.field,
.group-stat,
.goal-box,
.summary-card small,
.panel-header p,
.movement-history-head p,
.goals-head p {
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 850;
}

td,
.panel,
.summary-card,
.objective-card,
.home-monitor-card,
.goal-card {
  font-size: var(--fs-base);
}

.pill,
.row-action,
.quote-copy,
.kicker,
.drawer-kicker {
  font-size: var(--fs-xs);
  font-weight: 900;
}

button,
a,
input,
select,
textarea,
summary,
.asset-target-input,
.asset-quota-empty,
.asset-situation-select,
.market-pill,
.summary-card,
.snapshot-card,
.objective-card,
.home-monitor-card,
.goal-card,
.category-summary-row {
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px rgba(166, 255, 61, 0.24), 0 0 0 1px var(--lime-2);
}

button:hover:not(:disabled),
.profile-button:hover,
.theme-toggle:hover,
.quote-refresh:hover,
.category-summary-row:hover,
.market-pill:hover,
.goal-card:hover,
.summary-card:hover,
.home-monitor-card:hover {
  transform: translateY(-1px);
}

.primary-btn:hover:not(:disabled),
.dark-btn:hover:not(:disabled),
.link-btn:hover,
.monitor-add.primary:hover {
  filter: saturate(1.04) brightness(1.02);
  box-shadow: 0 16px 34px rgba(166, 255, 61, 0.22), var(--shadow-soft);
}

.ghost-btn:hover:not(:disabled),
.quote-refresh:hover:not(:disabled),
.profile-button:hover,
.theme-toggle:hover,
.light-btn:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--lime-2) 42%, var(--line));
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.09);
}

button:disabled,
select:disabled,
input:disabled {
  cursor: not-allowed;
}

.boot-skeleton {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 35% 25%, rgba(166,255,61,0.2), transparent 22rem),
    linear-gradient(135deg, #070b16, #121928 58%, #071014);
}

.boot-panel {
  width: min(520px, 100%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 28px;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 28px 80px rgba(0,0,0,0.28);
}

.boot-logo,
.boot-line,
.boot-grid span,
.skeleton {
  overflow: hidden;
  position: relative;
  background: rgba(255,255,255,0.12);
}

.boot-logo::after,
.boot-line::after,
.boot-grid span::after,
.skeleton::after {
  animation: shimmer 1.35s infinite;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.26), transparent);
  content: "";
  inset: 0;
  position: absolute;
  transform: translateX(-100%);
}

.boot-logo {
  width: 170px;
  height: 48px;
  border-radius: 8px;
  margin-bottom: 26px;
}

.boot-line {
  height: 18px;
  width: 62%;
  border-radius: 999px;
  margin-top: 12px;
}

.boot-line.wide {
  width: 86%;
  height: 26px;
}

.boot-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
}

.boot-grid span {
  border-radius: 8px;
  min-height: 82px;
}

@keyframes shimmer {
  100% { transform: translateX(100%); }
}

.skeleton {
  border-radius: 8px;
  min-height: 18px;
  background: color-mix(in srgb, var(--line-soft) 78%, var(--surface));
}

.toast { animation: toastIn 180ms ease; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-backdrop.show .modal-card { animation: modalIn 180ms ease; }
.modal-backdrop.stable .modal-card { animation: none; }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.field input,
.field select,
.movement-filters input,
.movement-filters select,
.filters select,
.monitor-controls select,
.dividend-chart-controls select,
.provent-filter-row select,
.wealth-chart-tools select,
.hero-value-head select,
.hero-period-control select,
.hero-chart-filters select,
.asset-target-input,
.asset-avg-input,
.asset-quota-input,
.asset-situation-select,
.allocation-target-row input,
.allocation-add-row select {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
}

.field input::placeholder,
.movement-filters input::placeholder,
.asset-target-input::placeholder {
  color: color-mix(in srgb, var(--muted) 72%, transparent);
}

table {
  border-collapse: separate;
  border-spacing: 0;
}

tbody tr:hover td {
  background: color-mix(in srgb, var(--lime) 4%, var(--surface-2));
}

.chart-tooltip,
.asset-hover-chart,
.provent-donut-tooltip {
  pointer-events: none;
}

.asset-hover-chart,
.provent-donut-tooltip {
  backdrop-filter: blur(14px);
}

.login-feedback:not(:empty) {
  background: rgba(255, 77, 109, 0.08);
  border: 1px solid rgba(255, 77, 109, 0.24);
  border-radius: 8px;
  padding: 10px 12px;
}

.quote-refresh:disabled {
  background:
    linear-gradient(90deg, var(--surface), color-mix(in srgb, var(--lime) 14%, var(--surface)), var(--surface));
  background-size: 220% 100%;
  animation: loadingSweep 1.4s infinite linear;
}

@keyframes loadingSweep {
  from { background-position: 0 0; }
  to { background-position: 220% 0; }
}

html[data-theme="dark"] body {
  background: var(--soft);
}

html[data-theme="dark"] .app-shell {
  background:
    radial-gradient(circle at 88% -12%, rgba(166,255,61,0.13), transparent 24rem),
    linear-gradient(180deg, #070b12, #0b111c 45%, #070b12);
}

html[data-theme="dark"] .workspace,
html[data-theme="dark"] .page,
html[data-theme="dark"] .monitor-panel {
  color: var(--ink);
}

html[data-theme="dark"] .snapshot-card,
html[data-theme="dark"] .summary-snapshot-grid .snapshot-card,
html[data-theme="dark"] .panel,
html[data-theme="dark"] .chart-card,
html[data-theme="dark"] .portfolio-summary-combo,
html[data-theme="dark"] .composition-card,
html[data-theme="dark"] .performance-card,
html[data-theme="dark"] .movement-card,
html[data-theme="dark"] .movement-chart-card,
html[data-theme="dark"] .dividend-card,
html[data-theme="dark"] .dividend-side,
html[data-theme="dark"] .dividend-table-card,
html[data-theme="dark"] .wealth-chart-card,
html[data-theme="dark"] .objective-card,
html[data-theme="dark"] .home-monitor-card,
html[data-theme="dark"] .modal-card,
html[data-theme="dark"] .market-pill,
html[data-theme="dark"] .monitor-empty,
html[data-theme="dark"] .confirm-box div,
html[data-theme="dark"] .goal-detail-history,
html[data-theme="dark"] .goal-month-row,
html[data-theme="dark"] .goal-month-card,
html[data-theme="dark"] .distribution-modal-list,
html[data-theme="dark"] .distribution-modal-donut {
  background: color-mix(in srgb, var(--surface) 94%, #000);
  border-color: var(--line);
  color: var(--ink);
}

html[data-theme="dark"] .notification-read-btn {
  background: #1d293a;
  border-color: #2a3950;
  color: #eef5ff;
}

html[data-theme="dark"] .notification-copy strong,
html[data-theme="dark"] .notifications-empty strong {
  color: #f7fbff;
}

html[data-theme="dark"] .notification-copy:hover strong {
  color: var(--lime);
}

html[data-theme="dark"] .login-card {
  background: rgba(14, 21, 33, 0.96);
}

html[data-theme="dark"] .field,
html[data-theme="dark"] .modal-helper,
html[data-theme="dark"] .monitor-head span,
html[data-theme="dark"] .monitor-head small,
html[data-theme="dark"] .monitor-head p,
html[data-theme="dark"] .page-kicker,
html[data-theme="dark"] .data-status strong,
html[data-theme="dark"] .data-status small {
  color: var(--muted);
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea,
html[data-theme="dark"] .ghost-btn,
html[data-theme="dark"] .quote-refresh,
html[data-theme="dark"] .monitor-add,
html[data-theme="dark"] .monitor-ticker,
html[data-theme="dark"] .icon-only,
html[data-theme="dark"] .monitor-save-target,
html[data-theme="dark"] .asset-target-input,
html[data-theme="dark"] .asset-avg-input,
html[data-theme="dark"] .asset-quota-input,
html[data-theme="dark"] .asset-situation-select,
html[data-theme="dark"] .view-toggle,
html[data-theme="dark"] .segmented,
html[data-theme="dark"] .segmented-control,
html[data-theme="dark"] .distribution-toggle {
  background: var(--surface-2);
  border-color: var(--line);
  color: var(--ink);
}

html[data-theme="dark"] .segmented button.active,
html[data-theme="dark"] .segmented-control button.active,
html[data-theme="dark"] .distribution-toggle button.active,
html[data-theme="dark"] .view-toggle button.active {
  background: #1b2638;
  color: var(--ink);
}

html[data-theme="dark"] th,
html[data-theme="dark"] td,
html[data-theme="dark"] .asset-table th,
html[data-theme="dark"] .asset-table td {
  border-color: var(--line);
}

html[data-theme="dark"] tbody tr:hover td,
html[data-theme="dark"] td:first-child,
html[data-theme="dark"] td {
  background: color-mix(in srgb, var(--surface-2) 86%, #000);
}

html[data-theme="dark"] .monitor-prices span,
html[data-theme="dark"] .monitor-prices em,
html[data-theme="dark"] .monitor-meta-row.readonly div,
html[data-theme="dark"] .monitor-target-block,
html[data-theme="dark"] .priority-chip,
html[data-theme="dark"] .monitor-footer span,
html[data-theme="dark"] .objective-message,
html[data-theme="dark"] .goal-box,
html[data-theme="dark"] .objective-grid div,
html[data-theme="dark"] .total-bar,
html[data-theme="dark"] .metric-mini,
html[data-theme="dark"] .category-legend-item,
html[data-theme="dark"] .provent-summary-total,
html[data-theme="dark"] .allocation-target-row {
  background: var(--surface-2);
  border-color: var(--line);
}

html[data-theme="dark"] .monitor-actions div,
html[data-theme="dark"] .asset-hover-chart,
html[data-theme="dark"] .provent-donut-tooltip {
  background: rgba(14, 21, 33, 0.96);
  border-color: var(--line);
  color: var(--ink);
}

/* Landing page pricing polish */
.marketing-site .premium-pricing-section {
  background:
    radial-gradient(circle at 88% 8%, rgba(166, 255, 61, 0.18), transparent 24rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 247, 244, 0.92));
  border: 1px solid rgba(158, 177, 198, 0.36);
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.12);
  color: #07101f;
  margin: 36px auto 72px;
  padding: clamp(34px, 5vw, 64px);
}

.marketing-site .premium-pricing-section .pricing-headline {
  align-items: end;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0 0 28px;
  max-width: none;
}

.marketing-site .premium-pricing-section .pricing-headline .eyebrow {
  background: rgba(166, 255, 61, 0.12);
  border-color: rgba(166, 255, 61, 0.42);
  color: #a6ff3d;
  grid-column: 1 / -1;
}

.marketing-site .premium-pricing-section .pricing-headline h2 {
  color: #ffffff;
  font-size: clamp(34px, 4.4vw, 56px);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
  max-width: 760px;
}

.marketing-site .premium-pricing-section .pricing-headline p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  font-weight: 750;
  grid-column: 1;
  line-height: 1.55;
  margin: 0;
  max-width: 680px;
}

.marketing-site .pricing-headline-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  grid-column: 2;
  grid-row: 2 / span 2;
  justify-content: flex-end;
}

.marketing-site .pricing-headline-actions .pricing-trial-btn {
  margin: 0;
  min-height: 54px;
  white-space: nowrap;
}

.marketing-site .pricing-headline-actions .pricing-full-note {
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(166, 255, 61, 0.24);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
  color: #172033;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  max-width: 390px;
  padding: 14px 16px;
}

.marketing-site .pricing-headline-actions .pricing-full-note strong {
  color: #07101f;
  font-size: 13px;
  font-weight: 950;
}

.marketing-site .pricing-headline-actions .pricing-full-note span {
  color: #526176;
  font-size: 13px;
  font-weight: 850;
}

.marketing-site .premium-pricing-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.marketing-site .premium-pricing-grid .price-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(158, 177, 198, 0.42);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.09);
  min-height: 0;
  padding: clamp(24px, 3vw, 34px);
}

.marketing-site .premium-pricing-grid .price-card:hover {
  border-color: rgba(0, 168, 132, 0.45);
  box-shadow: 0 28px 74px rgba(15, 23, 42, 0.14);
  transform: translateY(-3px);
}

.marketing-site .premium-pricing-grid .price-card.featured {
  background:
    radial-gradient(circle at 82% 0%, rgba(166, 255, 61, 0.16), transparent 23rem),
    linear-gradient(145deg, #07101f, #132033);
  border-color: rgba(166, 255, 61, 0.55);
  box-shadow: 0 28px 90px rgba(0, 168, 132, 0.18);
}

.marketing-site .plan-card-top {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.marketing-site .premium-pricing-grid .price-card .plan-card-top span {
  color: #66738a;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.marketing-site .premium-pricing-grid .price-card.featured .plan-card-top span {
  color: rgba(255, 255, 255, 0.72);
}

.marketing-site .plan-card-top em {
  background: rgba(166, 255, 61, 0.14);
  border: 1px solid rgba(0, 168, 132, 0.24);
  border-radius: 999px;
  color: #007b64;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  padding: 8px 11px;
}

.marketing-site .price-card.featured .plan-card-top em {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.86);
}

.marketing-site .premium-pricing-grid .price-card > strong {
  color: #07101f;
  display: block;
  font-size: clamp(54px, 6vw, 82px);
  letter-spacing: 0;
  line-height: 0.95;
  margin: 28px 0 20px;
}

.marketing-site .premium-pricing-grid .price-card.featured > strong {
  color: #ffffff;
}

.marketing-site .premium-pricing-grid .price-card p {
  color: #5f6b80;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.55;
  margin: 0 0 24px;
  max-width: 480px;
  min-height: 0;
}

.marketing-site .premium-pricing-grid .price-card.featured p {
  color: rgba(255, 255, 255, 0.76);
}

.marketing-site .plan-included-note {
  background: linear-gradient(135deg, rgba(166, 255, 61, 0.18), rgba(0, 168, 132, 0.10));
  border: 1px solid rgba(0, 168, 132, 0.22);
  border-radius: 14px;
  color: #0f513f;
  font-size: 14px;
  font-weight: 950;
  margin: 0 0 18px;
  padding: 15px 16px;
}

.marketing-site .price-card.featured .plan-included-note {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
}

.marketing-site .price-card.featured .plan-economy-highlight {
  background:
    linear-gradient(135deg, rgba(166, 255, 61, 0.24), rgba(0, 168, 132, 0.16));
  border: 1px solid rgba(166, 255, 61, 0.42);
  border-radius: 18px;
  color: #ffffff;
  margin: 0 0 18px;
  padding: 18px 20px;
}

.marketing-site .price-card.featured .plan-economy-highlight span {
  color: rgba(255, 255, 255, 0.76);
  display: block;
  font-size: 14px;
  font-weight: 950;
  margin-bottom: 8px;
}

.marketing-site .price-card.featured .plan-economy-highlight strong {
  color: #ffffff;
  display: block;
  font-size: clamp(46px, 5.4vw, 68px);
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0;
}

.marketing-site .premium-pricing-grid .pricing-link {
  border-radius: 12px;
  min-height: 56px;
  width: 100%;
}

@media (max-width: 980px) {
  .marketing-site .premium-pricing-section .pricing-headline,
  .marketing-site .premium-pricing-grid {
    grid-template-columns: 1fr;
  }

  .marketing-site .pricing-headline-actions {
    grid-column: auto;
    grid-row: auto;
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .marketing-site .premium-pricing-section {
    border-radius: 18px;
    margin: 24px 12px 48px;
    padding: 28px 18px;
  }

  .marketing-site .pricing-headline-actions,
  .marketing-site .pricing-headline-actions .pricing-trial-btn {
    width: 100%;
  }

  .marketing-site .premium-pricing-grid .price-card > strong,
  .marketing-site .price-card.featured .plan-economy-highlight strong {
    font-size: 48px;
  }
}

@media (max-width: 860px) {
  .marketing-site .marketing-nav {
    align-items: center !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
  }

  .marketing-site .marketing-menu-toggle {
    display: inline-flex !important;
  }

  .marketing-site .marketing-nav-panel {
    display: none !important;
    grid-column: 1 / -1 !important;
    grid-template-columns: 1fr !important;
    overflow: visible !important;
  }

  .marketing-site .marketing-nav-panel.open {
    display: grid !important;
  }

  .marketing-site .marketing-actions {
    display: none !important;
    grid-column: 1 / -1 !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }

  .marketing-site .marketing-actions.open {
    display: grid !important;
  }

  .marketing-site .marketing-hero,
  .marketing-site .feature-story-card,
  .marketing-site .feature-story-card.reverse,
  .marketing-site .pricing-headline,
  .marketing-site .final-cta-card {
    grid-template-columns: 1fr !important;
  }

  .marketing-site .feature-story-card.reverse .feature-story-copy {
    order: 0 !important;
  }

  .marketing-site .desktop-frame,
  .marketing-site .feature-story-shot {
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* Landing mobile polish. Desktop rules stay untouched above this point. */
.marketing-menu-toggle {
  display: none;
}

@media (max-width: 860px) {
  .marketing-site {
    overflow-x: hidden;
  }

  .marketing-site .marketing-nav {
    align-items: center;
    background: rgba(8, 15, 29, 0.96);
    border-radius: 0;
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr auto;
    margin: 0;
    padding: 14px 16px;
    position: sticky;
    top: 0;
    z-index: 90;
  }

  .marketing-site .marketing-brand {
    justify-self: start;
  }

  .marketing-site .marketing-brand img {
    height: auto;
    max-width: 148px;
  }

  .marketing-site .marketing-menu-toggle {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    height: 44px;
    justify-content: center;
    justify-self: end;
    padding: 0;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    width: 44px;
  }

  .marketing-site .marketing-menu-toggle span {
    background: #ffffff;
    border-radius: 999px;
    display: block;
    height: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    width: 18px;
  }

  .marketing-site .marketing-menu-toggle.open {
    background: rgba(166, 255, 61, 0.15);
    border-color: rgba(166, 255, 61, 0.45);
  }

  .marketing-site .marketing-menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .marketing-site .marketing-menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .marketing-site .marketing-menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .marketing-site .marketing-nav-panel,
  .marketing-site .marketing-actions {
    grid-column: 1 / -1;
  }

  .marketing-site .marketing-nav-panel {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 18px;
    box-shadow: 0 22px 50px rgba(2, 6, 23, 0.24);
    display: none;
    gap: 6px;
    grid-template-columns: 1fr;
    overflow: hidden;
    padding: 8px;
    width: 100%;
  }

  .marketing-site .marketing-nav-panel.open {
    display: grid;
  }

  .marketing-site .marketing-nav-panel a {
    border-radius: 12px;
    color: #0b1220;
    display: block;
    font-size: 14px;
    font-weight: 900;
    padding: 13px 14px;
    text-decoration: none;
  }

  .marketing-site .marketing-nav-panel a:hover,
  .marketing-site .marketing-nav-panel a:focus-visible {
    background: rgba(166, 255, 61, 0.16);
    color: #0f513f;
    outline: none;
  }

  .marketing-site .marketing-actions {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 18px;
    box-shadow: 0 22px 50px rgba(2, 6, 23, 0.18);
    display: none;
    gap: 10px;
    grid-template-columns: 1fr;
    padding: 10px;
    width: 100%;
  }

  .marketing-site .marketing-actions.open {
    display: grid;
  }

  .marketing-site .marketing-actions button {
    justify-content: center;
    min-height: 48px;
    width: 100%;
  }

  .marketing-site .marketing-login {
    background: #f8fafc;
    border-color: #d6e0ec;
    color: #0b1220;
  }

  .marketing-site .marketing-hero {
    display: grid;
    gap: 28px;
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 36px 16px 48px;
  }

  .marketing-site .marketing-copy {
    max-width: none;
  }

  .marketing-site .marketing-copy h1,
  .marketing-site .clarity-section h2,
  .marketing-site .honest-tool-section h2,
  .marketing-site .pricing-headline h2,
  .marketing-site .final-cta h2,
  .marketing-site .section-title h2 {
    font-size: clamp(32px, 9vw, 48px);
    line-height: 1.02;
    max-width: 100%;
  }

  .marketing-site .marketing-copy p,
  .marketing-site .section-title p,
  .marketing-site .pricing-headline p,
  .marketing-site .final-cta p {
    font-size: 16px;
    line-height: 1.55;
  }

  .marketing-site .marketing-cta,
  .marketing-site .marketing-cta button {
    width: 100%;
  }

  .marketing-site .trial-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
  }

  .marketing-site .landing-hero-device {
    display: block;
    min-height: auto;
    padding: 0;
  }

  .marketing-site .desktop-frame {
    border-radius: 18px;
    left: auto;
    position: relative;
    top: auto;
    transform: none;
    width: 100%;
  }

  .marketing-site .desktop-frame img,
  .marketing-site .feature-story-shot img {
    height: auto;
    max-height: 360px;
    object-fit: cover;
    object-position: left top;
    width: 100%;
  }

  .marketing-site .mobile-frame {
    display: none;
  }

  .marketing-site .clarity-section,
  .marketing-site .feature-showcase,
  .marketing-site .honest-tool-section,
  .marketing-site .premium-section,
  .marketing-site .pricing-section,
  .marketing-site .faq-section,
  .marketing-site .final-cta {
    padding: 56px 16px;
  }

  .marketing-site .clarity-grid,
  .marketing-site .honest-tool-grid,
  .marketing-site .premium-grid,
  .marketing-site .faq-grid,
  .marketing-site .pricing-grid {
    grid-template-columns: 1fr;
  }

  .marketing-site .clarity-card,
  .marketing-site .honest-tool-card,
  .marketing-site .premium-card,
  .marketing-site .faq-card {
    border-radius: 18px;
    min-height: auto;
    padding: 22px;
  }

  .marketing-site .feature-story-card,
  .marketing-site .feature-story-card.reverse {
    border-radius: 22px;
    gap: 22px;
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .marketing-site .feature-story-card.reverse .feature-story-copy {
    order: 0;
  }

  .marketing-site .feature-story-shot {
    border-radius: 18px;
    overflow: hidden;
    width: 100%;
  }

  .marketing-site .pricing-headline {
    border-radius: 22px;
    gap: 22px;
    grid-template-columns: 1fr;
    padding: 28px 20px;
    text-align: left;
  }

  .marketing-site .pricing-headline-actions,
  .marketing-site .pricing-trial-btn,
  .marketing-site .pricing-full-note {
    width: 100%;
  }

  .marketing-site .premium-pricing-grid .price-card {
    border-radius: 22px;
    min-height: auto;
    padding: 26px 22px;
  }

  .marketing-site .price-card.featured {
    transform: none;
  }

  .marketing-site .premium-pricing-grid .price-card > strong,
  .marketing-site .price-card.featured .plan-economy-highlight strong {
    font-size: clamp(46px, 14vw, 64px);
  }

  .marketing-site .final-cta-card {
    border-radius: 24px;
    grid-template-columns: 1fr;
    padding: 34px 20px;
    text-align: left;
  }

  .marketing-site .final-cta-actions {
    align-items: stretch;
    width: 100%;
  }

  .marketing-site .final-cta-actions button,
  .marketing-site .final-cta-secondary {
    text-align: center;
    width: 100%;
  }

  .marketing-site .disclaimer-section {
    margin: 0 16px 36px;
    padding: 20px;
  }
}

@media (max-width: 520px) {
  .marketing-site .marketing-copy h1,
  .marketing-site .clarity-section h2,
  .marketing-site .honest-tool-section h2,
  .marketing-site .pricing-headline h2,
  .marketing-site .final-cta h2,
  .marketing-site .section-title h2 {
    font-size: 34px;
  }

  .marketing-site .eyebrow,
  .marketing-site .section-kicker,
  .marketing-site .price-card .badge {
    max-width: 100%;
    white-space: normal;
  }

  .marketing-site .feature-story-copy h3 {
    font-size: 34px;
    line-height: 1.02;
  }

  .marketing-site .feature-story-card,
  .marketing-site .feature-story-card.reverse {
    margin-left: 0;
    margin-right: 0;
  }

  .marketing-site .desktop-frame img,
  .marketing-site .feature-story-shot img {
    max-height: 300px;
  }

  .marketing-site .pricing-section {
    padding-left: 12px;
    padding-right: 12px;
  }

  .marketing-site .premium-pricing-grid .price-card {
    padding: 24px 18px;
  }
}

/* Landing pricing block - definitive contrast fix */
.marketing-site #planos.premium-pricing-section {
  background:
    radial-gradient(circle at 82% 0%, rgba(166, 255, 61, 0.18), transparent 25rem),
    linear-gradient(135deg, #07101f 0%, #0f1c2c 56%, #152a24 100%) !important;
  color: #ffffff !important;
}

.marketing-site #planos.premium-pricing-section .pricing-headline .eyebrow {
  background: rgba(166, 255, 61, 0.12) !important;
  border-color: rgba(166, 255, 61, 0.46) !important;
  color: #a6ff3d !important;
}

.marketing-site #planos.premium-pricing-section .pricing-headline h2 {
  color: #ffffff !important;
}

.marketing-site #planos.premium-pricing-section .pricing-headline p {
  color: rgba(255, 255, 255, 0.82) !important;
}

.marketing-site #planos.premium-pricing-section .pricing-headline-actions .pricing-full-note {
  align-items: flex-start !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(166, 255, 61, 0.30) !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18) !important;
  color: #172033 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  line-height: 1.35 !important;
  max-width: 390px !important;
  padding: 14px 16px !important;
}

.marketing-site #planos.premium-pricing-section .pricing-headline-actions .pricing-full-note strong {
  color: #07101f !important;
}

.marketing-site #planos.premium-pricing-section .pricing-headline-actions .pricing-full-note span {
  color: #526176 !important;
}

/* Landing pricing block - definitive contrast fix */
.marketing-site #planos.premium-pricing-section {
  background:
    radial-gradient(circle at 82% 0%, rgba(166, 255, 61, 0.18), transparent 25rem),
    linear-gradient(135deg, #07101f 0%, #0f1c2c 56%, #152a24 100%) !important;
  color: #ffffff !important;
}

.marketing-site #planos.premium-pricing-section .pricing-headline .eyebrow {
  background: rgba(166, 255, 61, 0.12) !important;
  border-color: rgba(166, 255, 61, 0.46) !important;
  color: #a6ff3d !important;
}

.marketing-site #planos.premium-pricing-section .pricing-headline h2 {
  color: #ffffff !important;
}

.marketing-site #planos.premium-pricing-section .pricing-headline p {
  color: rgba(255, 255, 255, 0.82) !important;
}

.marketing-site #planos.premium-pricing-section .pricing-headline-actions .pricing-full-note {
  align-items: flex-start !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(166, 255, 61, 0.30) !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18) !important;
  color: #172033 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  line-height: 1.35 !important;
  max-width: 390px !important;
  padding: 14px 16px !important;
}

.marketing-site #planos.premium-pricing-section .pricing-headline-actions .pricing-full-note strong {
  color: #07101f !important;
}

.marketing-site #planos.premium-pricing-section .pricing-headline-actions .pricing-full-note span {
  color: #526176 !important;
}

/* Final landing pricing contrast and copy hierarchy */
.marketing-site .premium-pricing-section .pricing-headline .eyebrow {
  background: rgba(166, 255, 61, 0.12);
  border-color: rgba(166, 255, 61, 0.42);
  color: #a6ff3d;
}

.marketing-site .premium-pricing-section .pricing-headline h2 {
  color: #ffffff;
}

.marketing-site .premium-pricing-section .pricing-headline p {
  color: rgba(255, 255, 255, 0.78);
}

.marketing-site .premium-pricing-section .pricing-headline-actions .pricing-full-note {
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(166, 255, 61, 0.24);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
  color: #172033;
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.35;
  max-width: 390px;
  padding: 14px 16px;
}

.marketing-site .premium-pricing-section .pricing-headline-actions .pricing-full-note strong {
  color: #07101f;
  font-size: 13px;
  font-weight: 950;
}

.marketing-site .premium-pricing-section .pricing-headline-actions .pricing-full-note span {
  color: #526176;
  font-size: 13px;
  font-weight: 850;
}

/* Pricing headline contrast polish */
.marketing-site .premium-pricing-section .pricing-headline .eyebrow {
  background: rgba(166, 255, 61, 0.12);
  border-color: rgba(166, 255, 61, 0.42);
  color: #a6ff3d;
}

.marketing-site .premium-pricing-section .pricing-headline h2 {
  color: #ffffff;
}

.marketing-site .premium-pricing-section .pricing-headline p {
  color: rgba(255, 255, 255, 0.82);
}

.marketing-site .premium-pricing-section .pricing-headline-actions .pricing-full-note {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.55);
  color: #172033;
}

/* Final landing CTA polish */
.marketing-site .final-cta {
  background: transparent;
  border: 0;
  color: inherit;
  margin: 0 auto;
  max-width: 1220px;
  padding: 64px 20px 76px;
  text-align: left;
}

.marketing-site .final-cta-card {
  align-items: center;
  background:
    radial-gradient(circle at 88% 8%, rgba(166, 255, 61, 0.22), transparent 22rem),
    linear-gradient(135deg, #07101f 0%, #102033 58%, #13241f 100%);
  border: 1px solid rgba(166, 255, 61, 0.24);
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(7, 16, 31, 0.24);
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  overflow: hidden;
  padding: clamp(34px, 5vw, 64px);
  position: relative;
}

.marketing-site .final-cta-card::before {
  background: linear-gradient(180deg, #a6ff3d, #00a884);
  content: "";
  inset: 24px auto 24px 0;
  position: absolute;
  width: 4px;
}

.marketing-site .final-cta .eyebrow {
  background: rgba(166, 255, 61, 0.14);
  border: 1px solid rgba(166, 255, 61, 0.36);
  color: #a6ff3d;
  display: inline-flex;
  margin: 0 0 18px;
  width: fit-content;
}

.marketing-site .final-cta h2 {
  color: #ffffff;
  font-size: clamp(34px, 4.5vw, 58px);
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 18px;
  max-width: 780px;
  text-align: left;
}

.marketing-site .final-cta p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.55;
  margin: 0;
  max-width: 720px;
  text-align: left;
}

.marketing-site .final-cta-actions {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.marketing-site .final-cta-actions .primary-btn {
  border-radius: 14px;
  min-height: 58px;
  padding: 0 24px;
  white-space: normal;
  width: 100%;
}

.marketing-site .final-cta-secondary {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 950;
  justify-content: center;
  min-height: 54px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.marketing-site .final-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.marketing-site .final-cta-actions small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 820px) {
  .marketing-site .final-cta {
    padding: 40px 14px 56px;
  }

  .marketing-site .final-cta-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }

  .marketing-site .final-cta-card::before {
    inset: 0 24px auto;
    height: 4px;
    width: auto;
  }
}

/* Landing pricing cards: clean monthly + premium lifetime */
.marketing-site .premium-pricing-grid {
  align-items: stretch;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.marketing-site .premium-pricing-grid .price-card {
  border: 1px solid rgba(94, 113, 141, 0.22);
  border-radius: 20px;
  box-shadow: 0 26px 70px rgba(7, 16, 31, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 410px;
  padding: clamp(26px, 3vw, 34px);
}

.marketing-site .premium-pricing-grid .price-card.featured {
  background:
    radial-gradient(circle at 88% 10%, rgba(166, 255, 61, 0.12), transparent 18rem),
    #0d1828;
  border: 1px solid rgba(166, 255, 61, 0.5);
  box-shadow: 0 28px 90px rgba(0, 168, 132, 0.18);
}

.marketing-site .premium-pricing-grid .price-card.featured > small {
  align-self: flex-start;
  background: rgba(166, 255, 61, 0.14);
  border: 1px solid rgba(166, 255, 61, 0.36);
  border-radius: 999px;
  color: #a6ff3d;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  margin: 0 0 18px;
  padding: 7px 12px;
}

.marketing-site .plan-card-top {
  align-items: flex-start;
  display: block;
  margin-bottom: 18px;
}

.marketing-site .plan-card-top em {
  color: #5f6b82;
  display: block;
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
  margin-top: 6px;
}

.marketing-site .premium-pricing-grid .price-card .plan-card-top span,
.marketing-site .premium-pricing-grid .price-card.featured .plan-card-top span {
  color: #07101f;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: none;
}

.marketing-site .premium-pricing-grid .price-card.featured .plan-card-top span {
  color: #ffffff;
}

.marketing-site .premium-pricing-grid .price-card.featured .plan-card-top em {
  color: rgba(255, 255, 255, 0.74);
}

.marketing-site .premium-pricing-grid .price-card > strong {
  color: #07101f;
  font-size: clamp(54px, 6vw, 76px);
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0 0 22px;
}

.marketing-site .premium-pricing-grid .price-card.featured > strong {
  color: #ffffff;
}

.marketing-site .premium-pricing-grid .price-card p {
  color: #5f6b82;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.55;
  margin: 0 0 26px;
  max-width: 420px;
}

.marketing-site .premium-pricing-grid .price-card.featured p {
  color: rgba(255, 255, 255, 0.82);
}

.marketing-site .premium-pricing-grid .price-card.featured p b {
  color: #a6ff3d;
  font-weight: 950;
}

.marketing-site .plan-benefits {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: auto 0 22px;
  padding: 0;
}

.marketing-site .plan-benefits li {
  align-items: center;
  color: #07101f;
  display: flex;
  font-size: 15px;
  font-weight: 950;
  gap: 9px;
}

.marketing-site .price-card.featured .plan-benefits li {
  color: #ffffff;
}

.marketing-site .plan-benefits li::before {
  background: #a6ff3d;
  border: 4px solid rgba(166, 255, 61, 0.22);
  border-radius: 999px;
  box-sizing: content-box;
  content: "";
  flex: 0 0 auto;
  height: 6px;
  width: 6px;
}

.marketing-site .premium-pricing-grid .pricing-link {
  border-radius: 10px;
  min-height: 56px;
  width: 100%;
}

@media (max-width: 820px) {
  .marketing-site .premium-pricing-grid {
    grid-template-columns: 1fr;
  }

  .marketing-site .premium-pricing-grid .price-card {
    min-height: auto;
  }
}

/* Landing final override: bloco 2 em fundo claro */
.marketing-site .clarity-section {
  background:
    radial-gradient(circle at 86% 8%, rgba(166,255,61,0.22), transparent 24rem),
    linear-gradient(180deg, #f4f9fb 0%, #edf5f8 100%) !important;
  border-bottom: 1px solid rgba(112,129,154,0.18);
  border-top: 1px solid rgba(112,129,154,0.18);
  color: #0b1424 !important;
}

.marketing-site .clarity-section .eyebrow {
  background: rgba(166,255,61,0.18);
  border-color: rgba(54,170,85,0.38);
  color: #008862;
}

.marketing-site .clarity-section h2 {
  color: #0b1424 !important;
  text-shadow: none !important;
}

.marketing-site .clarity-grid article {
  background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(255,255,255,0.88));
  border-color: rgba(179,194,212,0.72);
  box-shadow: 0 24px 60px rgba(15,23,42,0.08);
}

.marketing-site .clarity-grid article:hover {
  border-color: rgba(0,168,132,0.34);
  box-shadow: 0 28px 70px rgba(15,23,42,0.12);
}

.marketing-site .clarity-grid strong {
  color: #07101f;
}

.marketing-site .clarity-grid p {
  color: #56657a;
}

/* Landing final override: bloco 2 em fundo claro */
.marketing-site .clarity-section {
  background:
    radial-gradient(circle at 86% 8%, rgba(166,255,61,0.22), transparent 24rem),
    linear-gradient(180deg, #f4f9fb 0%, #edf5f8 100%) !important;
  border-bottom: 1px solid rgba(112,129,154,0.18);
  border-top: 1px solid rgba(112,129,154,0.18);
  color: #0b1424 !important;
}

.marketing-site .clarity-section .eyebrow {
  background: rgba(166,255,61,0.18);
  border-color: rgba(54,170,85,0.38);
  color: #008862;
}

.marketing-site .clarity-section h2 {
  color: #0b1424 !important;
  text-shadow: none !important;
}

.marketing-site .clarity-grid article {
  background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(255,255,255,0.88));
  border-color: rgba(179,194,212,0.72);
  box-shadow: 0 24px 60px rgba(15,23,42,0.08);
}

.marketing-site .clarity-grid article:hover {
  border-color: rgba(0,168,132,0.34);
  box-shadow: 0 28px 70px rgba(15,23,42,0.12);
}

.marketing-site .clarity-grid strong {
  color: #07101f;
}

.marketing-site .clarity-grid p {
  color: #56657a;
}

/* Landing: bloco de clareza em fundo claro */
.marketing-site .clarity-section {
  background:
    radial-gradient(circle at 86% 8%, rgba(166,255,61,0.22), transparent 24rem),
    linear-gradient(180deg, #f4f9fb 0%, #edf5f8 100%);
  border-bottom: 1px solid rgba(112,129,154,0.18);
  border-top: 1px solid rgba(112,129,154,0.18);
  color: #0b1424;
}

.marketing-site .clarity-section .eyebrow {
  background: rgba(166,255,61,0.18);
  border-color: rgba(54, 170, 85, 0.38);
  color: #008862;
}

.marketing-site .clarity-section h2 {
  color: #0b1424;
  text-shadow: none;
}

.marketing-site .clarity-grid article {
  background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(255,255,255,0.88));
  border-color: rgba(179,194,212,0.72);
  box-shadow: 0 24px 60px rgba(15,23,42,0.08);
}

.marketing-site .clarity-grid article:hover {
  border-color: rgba(0, 168, 132, 0.34);
  box-shadow: 0 28px 70px rgba(15,23,42,0.12);
}

.marketing-site .clarity-grid strong {
  color: #07101f;
}

.marketing-site .clarity-grid p {
  color: #56657a;
}

/* Landing page trust section */
.marketing-site .honest-tool-section {
  background: #eef5f8;
  border-top: 1px solid rgba(12, 20, 34, 0.08);
  color: #0b1424;
  padding: clamp(72px, 9vw, 116px) clamp(20px, 7vw, 104px);
}

.marketing-site .honest-tool-section h2 {
  color: #0b1424;
  font-size: clamp(38px, 5.2vw, 72px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0 0 30px;
  max-width: 760px;
}

.marketing-site .honest-tool-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.marketing-site .honest-tool-grid article {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.98), rgba(255,255,255,0.82)),
    radial-gradient(circle at 12% 0%, rgba(166,255,61,0.14), transparent 42%);
  border: 1px solid rgba(112, 129, 154, 0.28);
  border-radius: 8px;
  box-shadow: 0 22px 44px rgba(12, 20, 34, 0.08);
  min-height: 166px;
  padding: 26px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.marketing-site .honest-tool-grid article:hover {
  border-color: rgba(166,255,61,0.7);
  box-shadow: 0 28px 60px rgba(12, 20, 34, 0.12);
  transform: translateY(-3px);
}

.marketing-site .honest-tool-grid strong {
  color: #050b16;
  display: block;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.12;
  margin-bottom: 14px;
}

.marketing-site .honest-tool-grid p {
  color: #5f6b80;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
  margin: 0;
}

.marketing-site .pricing-headline {
  display: grid;
  gap: 14px;
}

.marketing-site .pricing-headline .pricing-trial-btn {
  justify-self: start;
  margin-top: 4px;
}

.marketing-site .pricing-full-note {
  color: rgba(255, 255, 255, 0.76);
  display: block;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.45;
  max-width: 760px;
}

.marketing-site .plan-complete-badge,
.marketing-site .plan-economy-highlight {
  border-radius: 8px;
  font-weight: 950;
  line-height: 1.35;
  padding: 14px 16px;
}

.marketing-site .plan-complete-badge {
  background: #eef7ff;
  border: 1px solid rgba(59, 130, 246, 0.18);
  color: #1f4f8f;
}

.marketing-site .price-card.featured .plan-complete-badge {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.9);
}

.marketing-site .plan-economy-highlight {
  background: rgba(166, 255, 61, 0.16);
  border: 1px solid rgba(166, 255, 61, 0.38);
  color: #eaffd2;
  font-size: 17px;
}

.marketing-site .plan-economy-highlight strong {
  color: var(--lime);
  display: inline;
  font-size: inherit;
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .marketing-site .honest-tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .marketing-site .honest-tool-section {
    padding: 56px 18px;
  }

  .marketing-site .honest-tool-grid {
    grid-template-columns: 1fr;
  }
}

/* Landing page final premium override - scoped to marketing only */
.marketing-site {
  --landing-dark: #070d18;
  --landing-mid: #0c1524;
  --landing-card: rgba(255,255,255,0.92);
  --landing-border: #d9e4ee;
  --landing-shadow: 0 24px 70px rgba(15,23,42,0.12);
  background:
    radial-gradient(circle at 78% 6%, rgba(166,255,61,0.18), transparent 28rem),
    radial-gradient(circle at 8% 24%, rgba(0,168,132,0.16), transparent 26rem),
    linear-gradient(180deg, var(--landing-dark) 0%, var(--landing-mid) 42%, #f5f9fc 42%, #f8fbfd 100%);
  color: #fff;
  overflow: hidden;
}

.marketing-site .marketing-nav {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1240px;
  padding: 22px 28px;
  position: relative;
  z-index: 4;
}

.marketing-site .marketing-brand {
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.marketing-site .marketing-brand img {
  display: block;
  height: 46px;
  object-fit: contain;
  width: auto;
}

.marketing-site .marketing-nav nav {
  align-items: center;
  backdrop-filter: blur(20px);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  display: flex;
  gap: 4px;
  padding: 6px;
}

.marketing-site .marketing-nav a {
  border-radius: 999px;
  color: rgba(255,255,255,0.76);
  font-size: 13px;
  font-weight: 850;
  padding: 9px 12px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.marketing-site .marketing-nav a:hover {
  background: rgba(166,255,61,0.12);
  color: var(--lime);
  transform: translateY(-1px);
}

.marketing-site .marketing-actions,
.marketing-site .marketing-cta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.marketing-site .marketing-login,
.marketing-site .marketing-secondary {
  align-items: center;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
  display: inline-flex;
  justify-content: center;
  min-height: 48px;
  text-decoration: none;
}

.marketing-site .marketing-login:hover,
.marketing-site .marketing-secondary:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
}

.marketing-site .landing-hero {
  align-items: center;
  display: grid;
  gap: 58px;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  margin: 0 auto;
  max-width: 1240px;
  padding: 60px 28px 88px;
}

.marketing-site .marketing-copy h1 {
  color: #fff;
  font-size: clamp(48px, 7vw, 86px);
  letter-spacing: 0;
  line-height: 0.95;
  margin: 22px 0;
  max-width: 790px;
}

.marketing-site .marketing-copy p {
  color: rgba(255,255,255,0.76);
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 720;
  line-height: 1.55;
  margin: 0 0 28px;
  max-width: 690px;
}

.marketing-site .eyebrow {
  align-items: center;
  background: rgba(166,255,61,0.12);
  border: 1px solid rgba(166,255,61,0.28);
  border-radius: 999px;
  color: var(--lime);
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
  padding: 9px 13px;
  text-transform: uppercase;
}

.marketing-site .trial-strip {
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  display: flex;
  gap: 14px;
  margin-top: 22px;
  max-width: 560px;
  padding: 14px 16px;
}

.marketing-site .trial-strip strong {
  color: var(--lime);
  font-size: 15px;
  font-weight: 950;
  white-space: nowrap;
}

.marketing-site .trial-strip span {
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  font-weight: 800;
}

.marketing-site .landing-hero-device {
  animation: landingFloatIn 0.85s ease 0.14s both;
  min-height: 545px;
  position: relative;
}

.marketing-site .landing-hero-device .device-glow {
  background:
    radial-gradient(circle, rgba(166,255,61,0.22), transparent 44%),
    radial-gradient(circle, rgba(0,168,132,0.16), transparent 54%);
  filter: blur(18px);
  inset: 18% -12% 0 8%;
  position: absolute;
}

.marketing-site .desktop-frame,
.marketing-site .mobile-frame {
  background: linear-gradient(145deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.17);
  box-shadow: 0 40px 110px rgba(0,0,0,0.42);
  overflow: hidden;
  position: absolute;
}

.marketing-site .desktop-frame {
  border-radius: 22px;
  inset: 30px 0 auto 0;
  padding: 12px;
}

.marketing-site .desktop-frame img,
.marketing-site .product-shot img {
  aspect-ratio: 16 / 9.25;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  object-position: top left;
  width: 100%;
}

.marketing-site .mobile-frame {
  background: #0a1220;
  border-radius: 26px;
  bottom: 0;
  padding: 10px;
  right: 22px;
  width: min(190px, 32%);
}

.marketing-site .mobile-frame img {
  border-radius: 17px;
  display: block;
  height: 320px;
  object-fit: cover;
  object-position: top center;
  width: 100%;
}

.marketing-site .differentiator-bar,
.marketing-site .identity-section,
.marketing-site .product-presentation,
.marketing-site .feature-grid-section,
.marketing-site .evolution-section,
.marketing-site .objective-section,
.marketing-site .comparison-section,
.marketing-site .premium-section,
.marketing-site .pricing-section,
.marketing-site .faq-section,
.marketing-site .disclaimer-section {
  margin: 0 auto;
  max-width: 1240px;
  padding-left: 28px;
  padding-right: 28px;
}

.marketing-site .differentiator-bar {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding-bottom: 96px;
}

.marketing-site .differentiator-bar span {
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  color: rgba(255,255,255,0.86);
  display: flex;
  font-size: 13px;
  font-weight: 900;
  justify-content: center;
  min-height: 44px;
  padding: 10px 12px;
  text-align: center;
}

.marketing-site .differentiator-bar span::before,
.marketing-site .outcome-list span::before {
  background: var(--lime);
  border-radius: 50%;
  content: "";
  flex: 0 0 auto;
  height: 7px;
  margin-right: 9px;
  width: 7px;
}

.marketing-site .identity-section,
.marketing-site .product-presentation,
.marketing-site .feature-grid-section,
.marketing-site .evolution-section,
.marketing-site .objective-section,
.marketing-site .comparison-section,
.marketing-site .premium-section,
.marketing-site .pricing-section,
.marketing-site .faq-section {
  color: var(--ink);
  padding-bottom: 112px;
}

.marketing-site .section-title {
  margin-bottom: 34px;
}

.marketing-site .section-title h2,
.marketing-site .pricing-headline h2,
.marketing-site .final-cta h2 {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 60px);
  letter-spacing: 0;
  line-height: 1.02;
  margin: 15px 0 12px;
  max-width: 920px;
}

.marketing-site .section-title p,
.marketing-site .pricing-headline p,
.marketing-site .final-cta p {
  color: var(--muted);
  font-size: 16px;
  font-weight: 760;
  line-height: 1.58;
  margin: 0;
  max-width: 760px;
}

.marketing-site .identity-grid,
.marketing-site .feature-grid,
.marketing-site .premium-grid,
.marketing-site .faq-grid,
.marketing-site .objective-grid,
.marketing-site .comparison-grid,
.marketing-site .pricing-grid {
  display: grid;
  gap: 16px;
}

.marketing-site .identity-grid,
.marketing-site .feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.marketing-site .premium-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.marketing-site .objective-grid,
.marketing-site .faq-grid,
.marketing-site .comparison-grid,
.marketing-site .pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.marketing-site .identity-grid article,
.marketing-site .feature-grid article,
.marketing-site .premium-grid article,
.marketing-site .faq-grid article,
.marketing-site .evolution-metrics article,
.marketing-site .objective-grid article,
.marketing-site .comparison-card,
.marketing-site .price-card {
  background: var(--landing-card);
  border: 1px solid var(--landing-border);
  border-radius: 18px;
  box-shadow: var(--landing-shadow);
  padding: 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.marketing-site .identity-grid article:hover,
.marketing-site .feature-grid article:hover,
.marketing-site .premium-grid article:hover,
.marketing-site .faq-grid article:hover,
.marketing-site .objective-grid article:hover,
.marketing-site .comparison-card:hover,
.marketing-site .price-card:hover {
  border-color: rgba(0,168,132,0.38);
  box-shadow: 0 28px 80px rgba(15,23,42,0.14);
  transform: translateY(-3px);
}

.marketing-site .identity-grid strong,
.marketing-site .feature-grid strong,
.marketing-site .premium-grid strong,
.marketing-site .faq-grid strong,
.marketing-site .comparison-card span,
.marketing-site .objective-grid strong {
  color: var(--ink);
  display: block;
  font-size: 19px;
  font-weight: 950;
  line-height: 1.18;
  margin-bottom: 10px;
}

.marketing-site .identity-grid p,
.marketing-site .feature-grid p,
.marketing-site .premium-grid p,
.marketing-site .faq-grid p,
.marketing-site .comparison-card p,
.marketing-site .objective-grid em {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  font-weight: 740;
  line-height: 1.55;
  margin: 0;
}

.marketing-site .identity-grid article span,
.marketing-site .feature-grid article span {
  align-items: center;
  background: #eef6ff;
  border-radius: 12px;
  color: #4676df;
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  height: 34px;
  justify-content: center;
  margin-bottom: 18px;
  width: 44px;
}

.marketing-site .product-presentation {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1.16fr) minmax(340px, 0.84fr);
}

.marketing-site .product-shot,
.marketing-site .evolution-board,
.marketing-site .pricing-headline,
.marketing-site .final-cta {
  background:
    radial-gradient(circle at 80% 20%, rgba(166,255,61,0.2), transparent 20rem),
    linear-gradient(135deg, #0b1321, #111d2f);
  border: 1px solid rgba(255,255,255,0.13);
  box-shadow: 0 34px 92px rgba(15,23,42,0.22);
}

.marketing-site .product-shot {
  border-radius: 24px;
  overflow: hidden;
  padding: 14px;
}

.marketing-site .outcome-list {
  display: grid;
  gap: 12px;
}

.marketing-site .outcome-list span {
  align-items: center;
  background: #fff;
  border: 1px solid var(--landing-border);
  border-radius: 14px;
  color: #1f2b3d;
  display: flex;
  font-size: 14px;
  font-weight: 900;
  padding: 14px;
}

.marketing-site .evolution-board {
  border-radius: 28px;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  padding: 24px;
}

.marketing-site .evolution-chart-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  min-height: 360px;
  padding: 24px;
}

.marketing-site .chart-header {
  align-items: center;
  color: rgba(255,255,255,0.72);
  display: flex;
  font-size: 13px;
  font-weight: 900;
  justify-content: space-between;
}

.marketing-site .chart-header strong {
  color: var(--lime);
}

.marketing-site .fake-chart {
  align-items: end;
  background: repeating-linear-gradient(to top, rgba(255,255,255,0.1) 0 1px, transparent 1px 54px);
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(7, 1fr);
  height: 270px;
  margin-top: 28px;
}

.marketing-site .fake-chart span {
  background: linear-gradient(180deg, var(--lime), var(--green));
  border-radius: 12px 12px 0 0;
  height: var(--h);
}

.marketing-site .evolution-metrics {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.marketing-site .evolution-metrics article {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
  box-shadow: none;
}

.marketing-site .evolution-metrics span,
.marketing-site .evolution-metrics em {
  color: rgba(255,255,255,0.62);
  display: block;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.marketing-site .evolution-metrics strong {
  color: #fff;
  display: block;
  font-size: 24px;
  margin: 8px 0 4px;
}

.marketing-site .objective-progress {
  background: #e8eef4;
  border-radius: 999px;
  height: 12px;
  margin: 20px 0 16px;
  overflow: hidden;
}

.marketing-site .objective-progress span {
  background: linear-gradient(90deg, var(--lime), var(--green));
  border-radius: inherit;
  display: block;
  height: 100%;
}

.marketing-site .objective-grid b {
  color: var(--green);
  display: block;
  font-size: 30px;
  margin-bottom: 4px;
}

.marketing-site .comparison-card.premium,
.marketing-site .price-card.featured {
  background: linear-gradient(135deg, #0b1321, #172237);
  border-color: rgba(166,255,61,0.36);
}

.marketing-site .comparison-card.premium span,
.marketing-site .comparison-card.premium p,
.marketing-site .price-card.featured span,
.marketing-site .price-card.featured strong,
.marketing-site .price-card.featured p,
.marketing-site .price-card.featured li {
  color: #fff;
}

.marketing-site .comparison-card p,
.marketing-site .price-card li {
  align-items: center;
  display: flex;
  gap: 10px;
}

.marketing-site .comparison-card p::before,
.marketing-site .price-card li::before {
  background: var(--lime);
  border-radius: 999px;
  content: "";
  flex: 0 0 auto;
  height: 8px;
  width: 8px;
}

.marketing-site .comparison-card.muted p::before {
  background: #ff4d73;
}

.marketing-site .pricing-headline,
.marketing-site .price-card {
  padding: 30px;
}

.marketing-site .pricing-headline {
  border-radius: 28px;
  margin-bottom: 18px;
}

.marketing-site .pricing-headline h2,
.marketing-site .pricing-headline p {
  color: #fff;
}

.marketing-site .price-card span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.marketing-site .price-card strong {
  color: var(--ink);
  display: block;
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1;
  margin: 12px 0;
}

.marketing-site .price-card ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.marketing-site .price-card.featured {
  transform: translateY(-8px);
}

.marketing-site .pricing-link {
  min-height: 50px;
  padding: 0 18px;
  text-decoration: none;
  width: 100%;
}

.marketing-site .disclaimer-section {
  background: #fff;
  border: 1px solid var(--landing-border);
  border-left: 5px solid var(--green);
  border-radius: 18px;
  box-shadow: var(--landing-shadow);
  color: var(--ink);
  margin-bottom: 70px;
  padding: 24px 28px;
}

.marketing-site .final-cta {
  border-radius: 32px 32px 0 0;
  color: #fff;
  max-width: none;
  padding: 98px 28px;
  text-align: center;
}

.marketing-site .final-cta h2,
.marketing-site .final-cta p {
  color: #fff;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1040px) {
  .marketing-site .landing-hero,
  .marketing-site .product-presentation,
  .marketing-site .evolution-board {
    grid-template-columns: 1fr;
  }

  .marketing-site .landing-hero-device {
    min-height: 470px;
  }

  .marketing-site .differentiator-bar,
  .marketing-site .premium-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .marketing-site .marketing-nav {
    align-items: stretch;
    flex-direction: column;
    padding: 18px 16px;
  }

  .marketing-site .marketing-nav nav {
    overflow-x: auto;
    width: 100%;
  }

  .marketing-site .marketing-actions,
  .marketing-site .marketing-actions button,
  .marketing-site .marketing-cta,
  .marketing-site .marketing-cta button,
  .marketing-site .marketing-cta a {
    width: 100%;
  }

  .marketing-site .landing-hero,
  .marketing-site .identity-section,
  .marketing-site .product-presentation,
  .marketing-site .feature-grid-section,
  .marketing-site .evolution-section,
  .marketing-site .objective-section,
  .marketing-site .comparison-section,
  .marketing-site .premium-section,
  .marketing-site .pricing-section,
  .marketing-site .faq-section,
  .marketing-site .disclaimer-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .marketing-site .landing-hero {
    gap: 34px;
    padding-top: 34px;
  }

  .marketing-site .marketing-copy h1 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .marketing-site .differentiator-bar,
  .marketing-site .identity-grid,
  .marketing-site .feature-grid,
  .marketing-site .premium-grid,
  .marketing-site .objective-grid,
  .marketing-site .faq-grid,
  .marketing-site .comparison-grid,
  .marketing-site .pricing-grid,
  .marketing-site .evolution-metrics {
    grid-template-columns: 1fr;
  }

  .marketing-site .landing-hero-device {
    min-height: 360px;
  }

  .marketing-site .desktop-frame {
    top: 10px;
  }

  .marketing-site .mobile-frame {
    right: 8px;
    width: 138px;
  }

  .marketing-site .mobile-frame img {
    height: 235px;
  }

  .marketing-site .price-card.featured {
    transform: none;
  }
}

/* Landing page transformation refresh */
.marketing-site {
  --landing-dark: #070d18;
  --landing-mid: #0c1524;
  --landing-card: rgba(255, 255, 255, 0.88);
  --landing-border: rgba(148, 163, 184, 0.24);
  --landing-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  background:
    radial-gradient(circle at 78% 6%, rgba(166, 255, 61, 0.18), transparent 28rem),
    radial-gradient(circle at 8% 24%, rgba(0, 168, 132, 0.16), transparent 26rem),
    linear-gradient(180deg, var(--landing-dark) 0%, var(--landing-mid) 42%, #f5f9fc 42%, #f8fbfd 100%);
  color: #fff;
  min-height: 100vh;
  overflow: hidden;
}

.marketing-site .marketing-nav {
  align-items: center;
  animation: landingFadeUp 0.55s ease both;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1240px;
  padding: 22px 28px;
  position: relative;
  z-index: 4;
}

.marketing-site .marketing-brand {
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.marketing-site .marketing-brand img {
  display: block;
  height: 46px;
  object-fit: contain;
  width: auto;
}

.marketing-site .marketing-nav nav {
  align-items: center;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  display: flex;
  gap: 4px;
  padding: 6px;
}

.marketing-site .marketing-nav a {
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 850;
  padding: 9px 12px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.marketing-site .marketing-nav a:hover {
  background: rgba(166, 255, 61, 0.12);
  color: var(--lime);
  transform: translateY(-1px);
}

.marketing-site .marketing-actions,
.marketing-site .marketing-cta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.marketing-site .marketing-login,
.marketing-site .marketing-secondary {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  display: inline-flex;
  justify-content: center;
  min-height: 48px;
  text-decoration: none;
}

.marketing-site .marketing-login:hover,
.marketing-site .marketing-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.marketing-site .primary-btn {
  box-shadow: 0 18px 45px rgba(121, 255, 43, 0.22);
}

.marketing-site .landing-hero {
  align-items: center;
  display: grid;
  gap: 58px;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  margin: 0 auto;
  max-width: 1240px;
  padding: 60px 28px 88px;
}

.marketing-site .marketing-copy {
  animation: landingFadeUp 0.7s ease 0.08s both;
}

.marketing-site .eyebrow {
  align-items: center;
  background: rgba(166, 255, 61, 0.12);
  border: 1px solid rgba(166, 255, 61, 0.28);
  border-radius: 999px;
  color: var(--lime);
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
  padding: 9px 13px;
  text-transform: uppercase;
}

.marketing-site .marketing-copy h1 {
  color: #fff;
  font-size: clamp(48px, 7vw, 86px);
  letter-spacing: 0;
  line-height: 0.95;
  margin: 22px 0 22px;
  max-width: 790px;
}

.marketing-site .marketing-copy p {
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 720;
  line-height: 1.55;
  margin: 0 0 28px;
  max-width: 690px;
}

.marketing-site .trial-strip {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  display: flex;
  gap: 14px;
  margin-top: 22px;
  max-width: 560px;
  padding: 14px 16px;
}

.marketing-site .trial-strip strong {
  color: var(--lime);
  font-size: 15px;
  font-weight: 950;
  white-space: nowrap;
}

.marketing-site .trial-strip span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.landing-hero-device {
  animation: landingFloatIn 0.85s ease 0.14s both;
  min-height: 545px;
  position: relative;
}

.landing-hero-device .device-glow {
  background:
    radial-gradient(circle, rgba(166, 255, 61, 0.22), transparent 44%),
    radial-gradient(circle, rgba(0, 168, 132, 0.16), transparent 54%);
  filter: blur(18px);
  inset: 18% -12% 0 8%;
  position: absolute;
}

.marketing-site .desktop-frame,
.marketing-site .mobile-frame {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.17);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.42);
  overflow: hidden;
  position: absolute;
}

.marketing-site .desktop-frame {
  border-radius: 22px;
  inset: 30px 0 auto 0;
  padding: 12px;
}

.marketing-site .desktop-frame img,
.marketing-site .feature-story-shot img,
.marketing-site .product-shot img {
  display: block;
  object-fit: cover;
  object-position: top left;
  width: 100%;
}

.marketing-site .desktop-frame img {
  aspect-ratio: 16 / 9.25;
  border-radius: 12px;
}

.marketing-site .screen-browser {
  align-items: center;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  font-size: 11px;
  font-weight: 900;
  gap: 7px;
  letter-spacing: 0.08em;
  padding: 0 0 10px;
  text-transform: uppercase;
}

.marketing-site .screen-browser i {
  background: #ff756f;
  border-radius: 999px;
  height: 8px;
  width: 8px;
}

.marketing-site .screen-browser i:nth-child(2) { background: #ffd166; }
.marketing-site .screen-browser i:nth-child(3) { background: #78db9a; }
.marketing-site .screen-browser span { margin-left: auto; }

.marketing-site .mobile-frame {
  background: #0a1220;
  border-radius: 26px;
  bottom: 0;
  padding: 10px;
  right: 22px;
  width: min(190px, 32%);
}

.marketing-site .mobile-frame img {
  border-radius: 17px;
  display: block;
  height: 320px;
  object-fit: cover;
  object-position: top center;
  width: 100%;
}

.differentiator-bar,
.identity-section,
.product-presentation,
.feature-grid-section,
.evolution-section,
.objective-section,
.comparison-section,
.premium-section,
.pricing-section,
.faq-section,
.disclaimer-section,
.final-cta {
  margin: 0 auto;
  max-width: 1240px;
  padding-left: 28px;
  padding-right: 28px;
}

.differentiator-bar {
  animation: landingFadeUp 0.65s ease 0.22s both;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding-bottom: 96px;
}

.differentiator-bar span {
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  display: flex;
  font-size: 13px;
  font-weight: 900;
  justify-content: center;
  min-height: 44px;
  padding: 10px 12px;
  text-align: center;
}

.differentiator-bar span::before,
.outcome-list span::before {
  background: var(--lime);
  border-radius: 50%;
  content: "";
  height: 7px;
  margin-right: 9px;
  width: 7px;
}

.marketing-site .section-title {
  margin-bottom: 34px;
}

.marketing-site .section-title h2,
.pricing-headline h2,
.final-cta h2 {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 60px);
  letter-spacing: 0;
  line-height: 1.02;
  margin: 15px 0 12px;
  max-width: 920px;
}

.marketing-site .section-title p,
.pricing-headline p,
.final-cta p {
  color: var(--muted);
  font-size: 16px;
  font-weight: 760;
  line-height: 1.58;
  margin: 0;
  max-width: 760px;
}

.identity-section,
.product-presentation,
.feature-grid-section,
.evolution-section,
.objective-section,
.comparison-section,
.premium-section,
.pricing-section,
.faq-section {
  color: var(--ink);
  padding-bottom: 112px;
}

.identity-grid,
.feature-grid,
.premium-grid,
.faq-grid {
  display: grid;
  gap: 16px;
}

.identity-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.identity-grid article,
.feature-grid article,
.premium-grid article,
.faq-grid article,
.evolution-metrics article,
.objective-grid article,
.comparison-card,
.price-card {
  background: var(--landing-card);
  border: 1px solid #d9e4ee;
  border-radius: 18px;
  box-shadow: var(--landing-shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.identity-grid article,
.feature-grid article,
.premium-grid article,
.faq-grid article {
  animation: landingFadeUp 0.6s ease var(--delay, 0ms) both;
  padding: 24px;
}

.identity-grid article:hover,
.feature-grid article:hover,
.premium-grid article:hover,
.faq-grid article:hover,
.objective-grid article:hover,
.comparison-card:hover,
.price-card:hover {
  border-color: rgba(0, 168, 132, 0.38);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.14);
  transform: translateY(-3px);
}

.identity-grid article span,
.feature-grid article span {
  align-items: center;
  background: #eef6ff;
  border-radius: 12px;
  color: #4676df;
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  height: 34px;
  justify-content: center;
  margin-bottom: 18px;
  width: 44px;
}

.identity-grid strong,
.feature-grid strong,
.premium-grid strong,
.faq-grid strong,
.comparison-card span,
.objective-grid strong {
  color: var(--ink);
  display: block;
  font-size: 19px;
  font-weight: 950;
  line-height: 1.18;
  margin-bottom: 10px;
}

.identity-grid p,
.feature-grid p,
.premium-grid p,
.faq-grid p,
.comparison-card p,
.objective-grid em {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  font-weight: 740;
  line-height: 1.55;
  margin: 0;
}

.product-presentation {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1.16fr) minmax(340px, 0.84fr);
}

.product-shot {
  background:
    linear-gradient(135deg, rgba(166, 255, 61, 0.18), rgba(0, 168, 132, 0.08)),
    #0c1422;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  box-shadow: 0 36px 95px rgba(15, 23, 42, 0.2);
  overflow: hidden;
  padding: 14px;
}

.product-shot img {
  aspect-ratio: 16 / 9.2;
  border-radius: 16px;
}

.product-copy h2 {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.03;
  margin: 16px 0 14px;
}

.product-copy p {
  color: var(--muted);
  font-size: 16px;
  font-weight: 760;
  line-height: 1.58;
  margin: 0 0 22px;
}

.outcome-list {
  display: grid;
  gap: 12px;
}

.outcome-list span {
  align-items: center;
  background: #fff;
  border: 1px solid #d9e4ee;
  border-radius: 14px;
  color: #1f2b3d;
  display: flex;
  font-size: 14px;
  font-weight: 900;
  padding: 14px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.evolution-board {
  background:
    radial-gradient(circle at 20% 0%, rgba(166, 255, 61, 0.22), transparent 25rem),
    linear-gradient(135deg, #0a1321, #111c2c);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  box-shadow: 0 36px 95px rgba(15, 23, 42, 0.24);
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  padding: 24px;
}

.evolution-section .section-title h2,
.evolution-section .section-title p {
  color: var(--ink);
}

.evolution-chart-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  min-height: 360px;
  padding: 24px;
}

.chart-header {
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  font-size: 13px;
  font-weight: 900;
  justify-content: space-between;
}

.chart-header strong {
  color: var(--lime);
  font-size: 15px;
}

.fake-chart {
  align-items: end;
  background:
    repeating-linear-gradient(to top, rgba(255,255,255,0.1) 0 1px, transparent 1px 54px);
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(7, 1fr);
  height: 270px;
  margin-top: 28px;
}

.fake-chart span {
  background: linear-gradient(180deg, var(--lime), var(--green));
  border-radius: 12px 12px 0 0;
  box-shadow: 0 10px 30px rgba(166, 255, 61, 0.18);
  height: var(--h);
}

.evolution-metrics {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.evolution-metrics article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
  padding: 20px;
}

.evolution-metrics span,
.evolution-metrics em {
  color: rgba(255, 255, 255, 0.62);
  display: block;
  font-size: 12px;
  font-weight: 900;
}

.evolution-metrics strong {
  color: #fff;
  display: block;
  font-size: 24px;
  margin: 8px 0 4px;
}

.objective-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.objective-grid article {
  padding: 24px;
}

.objective-progress {
  background: #e8eef4;
  border-radius: 999px;
  height: 12px;
  margin: 20px 0 16px;
  overflow: hidden;
}

.objective-progress span {
  background: linear-gradient(90deg, var(--lime), var(--green));
  border-radius: inherit;
  display: block;
  height: 100%;
}

.objective-grid b {
  color: var(--green);
  display: block;
  font-size: 30px;
  margin-bottom: 4px;
}

.comparison-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.comparison-card {
  padding: 28px;
}

.comparison-card span {
  font-size: 24px;
  margin-bottom: 20px;
}

.comparison-card p {
  align-items: center;
  display: flex;
  gap: 10px;
  margin: 12px 0;
}

.comparison-card p::before {
  border-radius: 999px;
  content: "";
  height: 9px;
  width: 9px;
}

.comparison-card.muted p::before {
  background: #ff4d73;
}

.comparison-card.premium {
  background: linear-gradient(135deg, #0c1524, #172336);
  border-color: rgba(166, 255, 61, 0.28);
}

.comparison-card.premium span,
.comparison-card.premium p {
  color: #fff;
}

.comparison-card.premium p::before {
  background: var(--lime);
}

.premium-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pricing-section {
  padding-bottom: 112px;
}

.pricing-headline {
  background:
    radial-gradient(circle at 80% 20%, rgba(166, 255, 61, 0.2), transparent 20rem),
    #0b1321;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 28px;
  box-shadow: 0 34px 92px rgba(15, 23, 42, 0.22);
  margin-bottom: 18px;
  padding: 34px;
}

.pricing-headline h2,
.pricing-headline p {
  color: #fff;
}

.pricing-headline p {
  color: rgba(255, 255, 255, 0.74);
}

.pricing-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.price-card {
  padding: 30px;
}

.price-card span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-card strong {
  color: var(--ink);
  display: block;
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1;
  margin: 12px 0;
}

.price-card p {
  color: var(--muted);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.52;
  margin: 0 0 18px;
}

.price-card ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.price-card li {
  align-items: center;
  color: #2b384c;
  display: flex;
  font-size: 14px;
  font-weight: 850;
  gap: 10px;
}

.price-card li::before {
  background: var(--lime);
  border-radius: 999px;
  content: "";
  height: 7px;
  width: 7px;
}

.price-card.featured {
  background: linear-gradient(135deg, #0b1321, #172237);
  border-color: rgba(166, 255, 61, 0.36);
  transform: translateY(-8px);
}

.price-card.featured small {
  background: rgba(166, 255, 61, 0.16);
  border: 1px solid rgba(166, 255, 61, 0.28);
  border-radius: 999px;
  color: var(--lime);
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  margin-bottom: 14px;
  padding: 8px 11px;
}

.price-card.featured span,
.price-card.featured strong,
.price-card.featured p,
.price-card.featured li {
  color: #fff;
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.disclaimer-section {
  background: #fff;
  border: 1px solid #d9e4ee;
  border-left: 5px solid var(--green);
  border-radius: 18px;
  box-shadow: var(--landing-shadow);
  color: var(--ink);
  margin-bottom: 70px;
  padding: 24px 28px;
}

.disclaimer-section strong {
  display: block;
  font-size: 17px;
  font-weight: 950;
  margin-bottom: 8px;
}

.disclaimer-section p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 740;
  line-height: 1.56;
  margin: 0;
}

.final-cta {
  background:
    radial-gradient(circle at 20% 20%, rgba(166, 255, 61, 0.18), transparent 22rem),
    linear-gradient(135deg, #0b1321, #111d2f);
  border-radius: 32px 32px 0 0;
  color: #fff;
  max-width: none;
  padding-bottom: 98px;
  padding-top: 98px;
  text-align: center;
}

.final-cta h2 {
  color: #fff;
  margin-left: auto;
  margin-right: auto;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.76);
  margin: 0 auto 24px;
}

@keyframes landingFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes landingFloatIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marketing-site *,
  .marketing-site *::before,
  .marketing-site *::after {
    animation-duration: 0.001ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1040px) {
  .marketing-site .landing-hero,
  .product-presentation,
  .evolution-board {
    grid-template-columns: 1fr;
  }

  .landing-hero-device {
    min-height: 470px;
  }

  .differentiator-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .identity-grid,
  .feature-grid,
  .premium-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .marketing-site {
    background:
      radial-gradient(circle at 82% 5%, rgba(166, 255, 61, 0.16), transparent 20rem),
      linear-gradient(180deg, var(--landing-dark) 0%, var(--landing-mid) 33%, #f5f9fc 33%, #f8fbfd 100%);
  }

  .marketing-site .marketing-nav {
    align-items: stretch;
    flex-direction: column;
    padding: 18px 16px;
  }

  .marketing-site .marketing-nav nav {
    overflow-x: auto;
    width: 100%;
  }

  .marketing-site .marketing-actions,
  .marketing-site .marketing-actions button,
  .marketing-site .marketing-cta,
  .marketing-site .marketing-cta button,
  .marketing-site .marketing-cta a {
    width: 100%;
  }

  .marketing-site .landing-hero,
  .differentiator-bar,
  .identity-section,
  .product-presentation,
  .feature-grid-section,
  .evolution-section,
  .objective-section,
  .comparison-section,
  .premium-section,
  .pricing-section,
  .faq-section,
  .disclaimer-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .marketing-site .landing-hero {
    gap: 30px;
    padding-top: 34px;
  }

  .marketing-site .marketing-copy h1 {
    font-size: clamp(40px, 13vw, 56px);
  }

  .marketing-site .trial-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-hero-device {
    min-height: 370px;
  }

  .marketing-site .desktop-frame {
    top: 0;
  }

  .marketing-site .mobile-frame {
    right: 8px;
    width: 138px;
  }

  .marketing-site .mobile-frame img {
    height: 230px;
  }

  .differentiator-bar,
  .identity-grid,
  .feature-grid,
  .evolution-metrics,
  .objective-grid,
  .comparison-grid,
  .premium-grid,
  .pricing-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .identity-section,
  .product-presentation,
  .feature-grid-section,
  .evolution-section,
  .objective-section,
  .comparison-section,
  .premium-section,
  .pricing-section,
  .faq-section {
    padding-bottom: 78px;
  }

  .evolution-board,
  .pricing-headline {
    border-radius: 22px;
    padding: 18px;
  }

  .fake-chart {
    gap: 8px;
    height: 220px;
  }

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 720px) {
  .notification-row {
    align-items: flex-start;
    grid-template-columns: 14px 1fr;
  }

  .notification-read-btn {
    grid-column: 2;
    justify-self: start;
    width: 100%;
  }

  .notifications-modal {
    max-height: 90vh;
  }
}

.auth-tabs {
  background: #eef3f8;
  border: 1px solid #d7e2ee;
  border-radius: 10px;
  display: grid;
  gap: 6px;
  grid-template-columns: 1fr 1fr;
  margin: 4px 0 18px;
  padding: 5px;
}

.auth-tabs button {
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #53627a;
  cursor: pointer;
  font-weight: 950;
  min-height: 40px;
}

.auth-tabs button.active {
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15,23,42,0.10);
  color: var(--ink);
}

.auth-heading + input + h2,
.auth-heading ~ h2 {
  display: none;
}

.auth-heading h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.auth-heading p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
  margin: 0 0 20px;
}

.trial-start-note {
  align-items: center;
  background: linear-gradient(135deg, rgba(166,255,61,0.18), rgba(0,168,132,0.08));
  border: 1px solid rgba(0,168,132,0.20);
  border-radius: 8px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin: 4px 0 14px;
  padding: 12px;
}

.trial-start-note strong {
  color: #08775f;
  font-size: 13px;
  font-weight: 950;
}

.trial-start-note span {
  color: #53627a;
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

html[data-theme="dark"] .auth-tabs,
html[data-theme="dark"] .trial-start-note {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}

html[data-theme="dark"] .auth-tabs button.active {
  background: rgba(166,255,61,0.14);
  color: var(--lime);
}

/* Landing contrast correction */
.marketing-site .screen-showcase .section-title h2,
.marketing-site .marketing-section .section-title h2 {
  color: #f8fafc;
  text-shadow: 0 2px 18px rgba(0,0,0,0.28);
}

.marketing-site .screen-showcase .section-title p,
.marketing-site .marketing-section .section-title p {
  color: rgba(248,250,252,0.78);
}

.marketing-site .screen-showcase {
  background:
    linear-gradient(145deg, rgba(11,19,34,0.96), rgba(18,31,50,0.94));
  border-color: rgba(255,255,255,0.14);
}

/* Landing polish final priority */
.marketing-site {
  background:
    radial-gradient(circle at 76px 120px, rgba(166,255,61,0.15), transparent 19rem),
    radial-gradient(circle at 88% 10%, rgba(0,168,132,0.18), transparent 25rem),
    linear-gradient(180deg, #07101c 0%, #0b1322 56%, #f3f8fb 56%, #eef5f8 100%);
  color: #ffffff;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.marketing-nav {
  backdrop-filter: blur(18px);
  background: rgba(7, 16, 28, 0.74);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  max-width: none;
  padding: 18px max(24px, calc((100vw - 1180px) / 2));
  position: sticky;
  top: 0;
  z-index: 20;
}

.marketing-nav nav {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px;
  gap: 6px;
  padding: 6px;
}

.marketing-nav a {
  border-radius: 999px;
  color: rgba(255,255,255,0.78);
  padding: 9px 12px;
}

.marketing-nav a:hover {
  background: rgba(166,255,61,0.12);
  color: #ffffff;
}

.marketing-login {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.24);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.marketing-hero {
  gap: 52px;
  padding-top: 64px;
}

.marketing-copy .eyebrow,
.section-title .eyebrow,
.final-cta .eyebrow {
  background: rgba(166,255,61,0.13);
  border: 1px solid rgba(166,255,61,0.30);
  border-radius: 999px;
  color: var(--lime);
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  padding: 9px 12px;
  text-transform: uppercase;
}

.marketing-copy h1 {
  max-width: 760px;
  text-wrap: balance;
}

.marketing-copy p {
  color: rgba(255,255,255,0.82);
  font-size: 19px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.trust-row span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  color: rgba(255,255,255,0.82);
  font-size: 12px;
  font-weight: 900;
  padding: 8px 10px;
}

.screen-showcase {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(17,24,39,0.07);
  color: var(--ink);
  margin: -26px auto 0;
  max-width: 1180px;
  padding: 34px;
  position: relative;
}

.screen-showcase .section-title p,
.section-title p,
.payment-note p,
.final-cta p {
  color: #53627a;
}

.screen-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.screen-card {
  background: linear-gradient(145deg, #0b1322, #172338);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 34px 90px rgba(0,0,0,0.28);
}

.screen-card h3,
.screen-browser,
.screen-sidebar,
.screen-main,
.screen-chip,
.screen-row strong,
.screen-row span {
  color: #ffffff;
}

.screen-card p {
  color: rgba(255,255,255,0.68);
}

.screen-main,
.screen-sidebar,
.screen-row {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.10);
}

.screen-chip {
  background: rgba(166,255,61,0.14);
  color: var(--lime);
}

.feature-card,
.price-card,
.payment-note,
.trial-banner {
  background: rgba(255,255,255,0.96);
  border: 1px solid #d7e2ee;
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(15,23,42,0.08);
}

.feature-card {
  border-left: 4px solid var(--green);
}

.price-card.featured {
  background: linear-gradient(145deg, #0b1322, #203a63);
  border-color: rgba(166,255,61,0.36);
  box-shadow: 0 28px 70px rgba(11,19,34,0.24);
}

.trial-banner,
.final-cta {
  border-left: 4px solid var(--lime);
}

.final-cta {
  background:
    radial-gradient(circle at 12% 30%, rgba(166,255,61,0.18), transparent 18rem),
    linear-gradient(135deg, #0b1322, #14233a);
  border-color: rgba(166,255,61,0.22);
  border-radius: 14px;
  color: #ffffff;
  margin: 0 auto 54px;
  max-width: 1180px;
}

.final-cta h2 {
  color: #ffffff;
  text-wrap: balance;
}

.final-cta p {
  color: rgba(255,255,255,0.76);
}

@media (max-width: 860px) {
  .screen-showcase {
    margin-top: 0;
    padding: 22px;
  }
}

@media (max-width: 620px) {
  .screen-grid {
    grid-template-columns: 1fr;
  }

  .marketing-nav nav {
    border-radius: 10px;
  }
}

/* Published landing polish */
.marketing-site {
  background:
    radial-gradient(circle at 76px 120px, rgba(166,255,61,0.15), transparent 19rem),
    radial-gradient(circle at 88% 10%, rgba(0,168,132,0.18), transparent 25rem),
    linear-gradient(180deg, #07101c 0%, #0b1322 56%, #f3f8fb 56%, #eef5f8 100%);
  color: #ffffff;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.marketing-nav {
  backdrop-filter: blur(18px);
  background: rgba(7, 16, 28, 0.74);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  max-width: none;
  padding: 18px max(24px, calc((100vw - 1180px) / 2));
  position: sticky;
  top: 0;
  z-index: 20;
}

.marketing-nav nav {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px;
  gap: 6px;
  padding: 6px;
}

.marketing-nav a {
  border-radius: 999px;
  color: rgba(255,255,255,0.78);
  padding: 9px 12px;
}

.marketing-nav a:hover {
  background: rgba(166,255,61,0.12);
  color: #ffffff;
}

.marketing-login {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.24);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.marketing-hero {
  gap: 52px;
  padding-top: 64px;
}

.marketing-copy .eyebrow,
.section-title .eyebrow,
.final-cta .eyebrow {
  background: rgba(166,255,61,0.13);
  border: 1px solid rgba(166,255,61,0.30);
  border-radius: 999px;
  color: var(--lime);
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  padding: 9px 12px;
  text-transform: uppercase;
}

.marketing-copy h1 {
  max-width: 760px;
  text-wrap: balance;
}

.marketing-copy p {
  color: rgba(255,255,255,0.82);
  font-size: 19px;
}

.trial-strip {
  background: rgba(255,255,255,0.08);
  border-color: rgba(166,255,61,0.26);
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.trust-row span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  color: rgba(255,255,255,0.82);
  font-size: 12px;
  font-weight: 900;
  padding: 8px 10px;
}

.product-preview,
.screen-card {
  box-shadow: 0 34px 90px rgba(0,0,0,0.34);
}

.marketing-section,
.pricing-section,
.payment-note,
.screen-showcase,
.final-cta {
  color: var(--ink);
  max-width: 1180px;
}

.screen-showcase {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(17,24,39,0.07);
  margin-top: -26px;
  padding: 34px;
  position: relative;
}

.screen-showcase .section-title span,
.screen-showcase .section-title h2,
.screen-showcase .section-title p,
.feature-card span,
.price-card p,
.payment-note p,
.final-cta p {
  text-shadow: none;
}

.screen-showcase .section-title span {
  color: var(--green);
  font-weight: 950;
}

.screen-showcase .section-title p,
.section-title p,
.payment-note p,
.final-cta p {
  color: #53627a;
}

.screen-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.screen-card {
  background: linear-gradient(145deg, #0b1322, #172338);
  border: 1px solid rgba(255,255,255,0.10);
}

.screen-card h3,
.screen-card p,
.screen-browser,
.screen-sidebar,
.screen-main,
.screen-chip,
.screen-row strong,
.screen-row span {
  color: #ffffff;
}

.screen-card p {
  color: rgba(255,255,255,0.68);
}

.screen-main,
.screen-sidebar {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.10);
}

.screen-chip {
  background: rgba(166,255,61,0.14);
  color: var(--lime);
}

.screen-row {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.10);
}

.feature-card,
.price-card,
.payment-note,
.trial-banner {
  background: rgba(255,255,255,0.96);
  border: 1px solid #d7e2ee;
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(15,23,42,0.08);
}

.feature-card {
  border-left: 4px solid var(--green);
}

.price-card.featured {
  background: linear-gradient(145deg, #0b1322, #203a63);
  border-color: rgba(166,255,61,0.36);
  box-shadow: 0 28px 70px rgba(11,19,34,0.24);
}

.trial-banner,
.final-cta {
  border-left: 4px solid var(--lime);
}

.final-cta {
  background:
    radial-gradient(circle at 12% 30%, rgba(166,255,61,0.18), transparent 18rem),
    linear-gradient(135deg, #0b1322, #14233a);
  border-color: rgba(166,255,61,0.22);
  border-radius: 14px;
  color: #ffffff;
  margin-bottom: 54px;
}

.final-cta h2 {
  color: #ffffff;
  text-wrap: balance;
}

.final-cta p {
  color: rgba(255,255,255,0.76);
}

@media (max-width: 860px) {
  .screen-showcase {
    margin-top: 0;
    padding: 22px;
  }
}

@media (max-width: 620px) {
  .screen-grid {
    grid-template-columns: 1fr;
  }

  .marketing-nav nav {
    border-radius: 10px;
  }
}

/* Commercial landing refresh */
.marketing-site {
  background:
    radial-gradient(circle at 85% 7%, rgba(166,255,61,0.20), transparent 22rem),
    radial-gradient(circle at 8% 24%, rgba(0,168,132,0.20), transparent 24rem),
    linear-gradient(180deg, #070b12 0%, #101827 50%, #eef5f8 50%, #f6fafc 100%);
  color: #ffffff;
  overflow-x: hidden;
}
.marketing-nav {
  max-width: 1240px;
  padding: 24px 28px;
}
.marketing-brand img {
  height: 54px;
  width: 188px;
}
.marketing-nav nav {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px;
  padding: 8px 14px;
}
.marketing-nav a {
  color: rgba(255,255,255,0.82);
  font-size: 13px;
}
.marketing-login,
.marketing-secondary {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  color: #ffffff;
}
.marketing-login:hover,
.marketing-secondary:hover {
  background: rgba(255,255,255,0.16);
  color: #ffffff;
}
.marketing-hero {
  max-width: 1240px;
  padding-bottom: 58px;
}
.marketing-copy .eyebrow,
.light-title .eyebrow {
  color: var(--lime);
}
.marketing-copy h1 {
  color: #ffffff;
  font-size: clamp(38px, 5.3vw, 66px);
  max-width: 780px;
}
.marketing-copy p {
  color: rgba(255,255,255,0.82);
  font-size: 18px;
  max-width: 680px;
}
.hero-benefits {
  color: rgba(255,255,255,0.86);
  display: grid;
  gap: 8px;
  list-style: none;
  margin: -6px 0 0;
  max-width: 680px;
  padding: 0;
}
.hero-benefits li {
  align-items: center;
  display: flex;
  font-size: 16px;
  font-weight: 800;
  gap: 10px;
  line-height: 1.35;
}
.hero-benefits li::before {
  background: var(--lime);
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(166,255,61,0.12);
  content: "";
  flex: 0 0 auto;
  height: 7px;
  width: 7px;
}
.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.hero-trust-row span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  color: rgba(255,255,255,0.82);
  font-size: 12px;
  font-weight: 900;
  padding: 8px 11px;
}
.trial-strip {
  background: rgba(166,255,61,0.14);
  border-color: rgba(166,255,61,0.38);
}
.trial-strip span {
  color: rgba(255,255,255,0.84);
}
.product-preview {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04)),
    #0b1220;
  border-color: rgba(255,255,255,0.18);
  border-radius: 14px;
}
.product-preview-real {
  gap: 12px;
  overflow: hidden;
  padding: 14px;
}
.product-preview-real img {
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  display: block;
  object-fit: cover;
  object-position: top left;
  width: 100%;
}
.preview-metric {
  background: rgba(255,255,255,0.07);
}
.preview-grid span,
.preview-top span {
  background: rgba(255,255,255,0.10);
}
.screen-showcase {
  background: #0e1624;
  color: #ffffff;
  margin: 0 auto;
  padding: 58px 28px 70px;
}
.screen-showcase .section-title {
  margin-left: auto;
  margin-right: auto;
  max-width: 1240px;
}
.screen-showcase h2 {
  color: #ffffff;
}
.screen-showcase .section-title .eyebrow {
  color: var(--lime);
}
.screen-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1240px;
}
.screen-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 12px;
  box-shadow: 0 22px 50px rgba(0,0,0,0.22);
  overflow: hidden;
}
.screen-browser {
  align-items: center;
  background: rgba(7,11,18,0.66);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  display: flex;
  gap: 6px;
  padding: 10px 12px;
}
.screen-browser i {
  border-radius: 999px;
  display: block;
  height: 8px;
  width: 8px;
}
.screen-browser i:nth-child(1) { background: #ff6b86; }
.screen-browser i:nth-child(2) { background: #f2b84b; }
.screen-browser i:nth-child(3) { background: var(--lime); }
.screen-browser span {
  color: rgba(255,255,255,0.72);
  font-size: 11px;
  font-weight: 950;
  margin-left: auto;
  text-transform: uppercase;
}
.screen-shot-wrap {
  background: rgba(7,11,18,0.52);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  height: 260px;
  overflow: hidden;
}
.screen-shot-wrap img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transform: scale(1.01);
  width: 100%;
}
.screen-card:nth-child(5) {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 0.72fr 1fr;
}
.screen-card:nth-child(5) .screen-browser {
  grid-column: 1 / -1;
}
.screen-card:nth-child(5) .screen-shot-wrap {
  border-bottom: 0;
  border-right: 1px solid rgba(255,255,255,0.10);
  height: 340px;
}
.screen-card:nth-child(5) .screen-shot-wrap img {
  object-fit: contain;
  object-position: top center;
}
.screen-caption {
  display: grid;
  gap: 12px;
  padding: 18px;
}
.screen-caption strong {
  color: #ffffff;
  font-size: 22px;
  font-weight: 950;
}
.screen-caption p {
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.5;
  margin: 0;
}
.screen-content {
  display: grid;
  grid-template-columns: 44px 1fr;
  min-height: 210px;
}
.screen-sidebar {
  background:
    linear-gradient(180deg, rgba(166,255,61,0.20), transparent 26%),
    rgba(7,11,18,0.34);
  border-right: 1px solid rgba(255,255,255,0.10);
}
.screen-main {
  display: grid;
  gap: 12px;
  padding: 16px;
}
.screen-main strong {
  color: #ffffff;
  font-size: 20px;
  font-weight: 950;
}
.screen-main p {
  color: rgba(255,255,255,0.70);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
  margin: 0;
}
.screen-bars {
  display: grid;
  gap: 8px;
}
.screen-bars b {
  background: linear-gradient(90deg, var(--lime), var(--green));
  border-radius: 999px;
  display: block;
  height: 10px;
}
.screen-chips {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.screen-chips em {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  color: rgba(255,255,255,0.86);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  padding: 7px 9px;
}
.marketing-section,
.pricing-section {
  background: transparent;
  max-width: 1240px;
}
.section-title h2,
.payment-note h2 {
  color: #07111f;
}
.feature-card,
.price-card,
.payment-note {
  background: #ffffff;
  border-color: #d5e0ec;
}
.feature-card {
  border-left: 4px solid var(--lime);
}
.feature-card strong,
.price-card span {
  color: #07111f;
}
.feature-card span,
.price-card p,
.payment-note p {
  color: #55657a;
}
.trial-banner {
  align-items: center;
  background: linear-gradient(135deg, rgba(166,255,61,0.20), rgba(0,168,132,0.10));
  border: 1px solid rgba(0,168,132,0.20);
  border-radius: 10px;
  display: flex;
  gap: 14px;
  margin: 0 0 16px;
  padding: 14px 16px;
}
.trial-banner strong {
  color: #0f5138;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}
.trial-banner span {
  color: #44546a;
  font-size: 14px;
  font-weight: 750;
}
.price-card {
  min-height: 260px;
}
.price-card.featured {
  border-color: rgba(166,255,61,0.40);
  box-shadow: 0 22px 60px rgba(0,168,132,0.18);
}
.payment-note {
  border-left: 5px solid var(--green);
}
.payment-note .ghost-btn {
  background: #0b1220;
  border-color: #0b1220;
  color: #ffffff;
}
.payment-note .ghost-btn:hover {
  background: #18243a;
}
.final-cta {
  background:
    radial-gradient(circle at 75% 15%, rgba(166,255,61,0.18), transparent 18rem),
    #0b1220;
  color: #ffffff;
  margin: 0;
  padding: 60px 24px 72px;
  text-align: center;
}
.final-cta h2 {
  color: #ffffff;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.03;
  margin: 10px auto 22px;
  max-width: 760px;
}
.final-cta .eyebrow {
  color: var(--lime);
}

@media (max-width: 980px) {
  .screen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screen-card:nth-child(5) {
    grid-template-columns: 1fr;
  }

  .screen-card:nth-child(5) .screen-shot-wrap {
    border-bottom: 1px solid rgba(255,255,255,0.10);
    border-right: 0;
  }
}

@media (max-width: 620px) {
  .screen-grid {
    grid-template-columns: 1fr;
  }

  .screen-shot-wrap,
  .screen-card:nth-child(5) .screen-shot-wrap {
    height: 230px;
  }

  .trial-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .marketing-nav nav {
    border-radius: 8px;
    flex-wrap: wrap;
  }
}

/* Product marketing site */
.marketing-site {
  background:
    radial-gradient(circle at 82% 6%, rgba(166,255,61,0.18), transparent 25rem),
    radial-gradient(circle at 12% 42%, rgba(0,168,132,0.16), transparent 22rem),
    linear-gradient(180deg, #070b12, #0d1420 54%, #f3f8fb 54%);
  color: #ffffff;
  min-height: 100vh;
}
.marketing-nav {
  align-items: center;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 24px;
}
.marketing-brand {
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.marketing-brand img {
  display: block;
  height: 48px;
  object-fit: contain;
  width: 170px;
}
.marketing-nav nav {
  align-items: center;
  display: flex;
  gap: 22px;
}
.marketing-nav a {
  color: rgba(255,255,255,0.76);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}
.marketing-nav a:hover { color: var(--lime); }
.marketing-actions,
.marketing-cta {
  align-items: center;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.marketing-login {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  color: #ffffff;
}
.marketing-hero {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  margin: 0 auto;
  max-width: 1180px;
  padding: 42px 24px 76px;
}
.marketing-copy h1 {
  color: #ffffff;
  font-size: clamp(44px, 6vw, 76px);
  letter-spacing: 0;
  line-height: 0.95;
  margin: 14px 0 18px;
  max-width: 740px;
}
.marketing-copy p {
  color: rgba(255,255,255,0.76);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
  margin: 0 0 24px;
  max-width: 620px;
}
.trial-strip {
  align-items: center;
  background: rgba(166,255,61,0.12);
  border: 1px solid rgba(166,255,61,0.30);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  margin-top: 22px;
  max-width: 520px;
  padding: 12px 14px;
}
.trial-strip strong {
  color: var(--lime);
  font-size: 14px;
  font-weight: 950;
  white-space: nowrap;
}
.trial-strip span {
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  font-weight: 800;
}
.product-preview {
  background: linear-gradient(145deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px;
  box-shadow: 0 34px 90px rgba(0,0,0,0.35);
  display: grid;
  gap: 18px;
  padding: 22px;
}
.preview-top,
.preview-grid {
  align-items: center;
  display: flex;
  justify-content: space-between;
}
.preview-top span,
.preview-grid span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  color: rgba(255,255,255,0.78);
  font-size: 12px;
  font-weight: 900;
  padding: 8px 10px;
}
.preview-top b {
  color: var(--lime);
  font-size: 12px;
  text-transform: uppercase;
}
.preview-metric {
  background: rgba(7,11,18,0.42);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 18px;
}
.preview-metric small,
.preview-metric em {
  color: rgba(255,255,255,0.68);
  display: block;
  font-style: normal;
  font-weight: 800;
}
.preview-metric strong {
  color: #ffffff;
  display: block;
  font-size: 44px;
  font-weight: 950;
  margin: 8px 0;
}
.preview-metric em { color: #00d4a1; }
.preview-chart {
  align-items: end;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(6, 1fr);
  height: 180px;
}
.preview-chart i {
  background: linear-gradient(180deg, var(--lime), var(--green));
  border-radius: 8px 8px 0 0;
  box-shadow: 0 14px 34px rgba(166,255,61,0.18);
}
.marketing-section,
.pricing-section,
.payment-note {
  color: var(--ink);
  margin: 0 auto;
  max-width: 1180px;
  padding: 52px 24px;
}
.section-title {
  margin-bottom: 22px;
  max-width: 680px;
}
.section-title h2,
.payment-note h2 {
  color: var(--ink);
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 0;
  line-height: 1.05;
  margin: 8px 0 0;
}
.feature-grid,
.pricing-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.feature-card,
.price-card,
.payment-note {
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 18px 45px rgba(17,24,39,0.07);
}
.feature-card {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 18px;
}
.feature-card strong,
.price-card span {
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
}
.feature-card span,
.price-card p,
.payment-note p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
.pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.price-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  position: relative;
}
.price-card strong {
  color: var(--ink);
  font-size: 42px;
  font-weight: 950;
}
.price-card.featured {
  background: linear-gradient(145deg, #0b1220, #17263e);
  color: #ffffff;
}
.price-card.featured small {
  background: rgba(166,255,61,0.15);
  border: 1px solid rgba(166,255,61,0.28);
  border-radius: 999px;
  color: var(--lime);
  font-size: 11px;
  font-weight: 950;
  padding: 6px 9px;
  width: max-content;
}
.price-card.featured span,
.price-card.featured strong {
  color: #ffffff;
}
.price-card.featured p {
  color: rgba(255,255,255,0.72);
}
.payment-note {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 42px;
}
.payment-note div {
  max-width: 800px;
}
.login-back {
  justify-content: center;
  margin-top: 10px;
  width: 100%;
}
.trial-badge {
  align-items: center;
  background: rgba(166,255,61,0.18);
  border: 1px solid rgba(0,168,132,0.28);
  border-radius: 999px;
  color: #0f5138;
  display: inline-flex;
  flex-direction: column;
  font-size: 11px;
  font-weight: 950;
  gap: 2px;
  line-height: 1.2;
  min-height: 40px;
  padding: 6px 14px;
  text-align: center;
  white-space: normal;
}
.trial-badge span {
  color: var(--green);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.trial-badge.active-plan {
  flex-direction: row;
  min-height: 36px;
  white-space: nowrap;
}
.trial-badge.expired {
  background: #fff4f6;
  border-color: #ffd4dc;
  color: var(--red);
}
html[data-theme="dark"] .trial-badge {
  background: rgba(166,255,61,0.13);
  border-color: rgba(166,255,61,0.28);
  color: var(--lime);
}
html[data-theme="dark"] .trial-badge.expired {
  background: rgba(255,77,109,0.14);
  border-color: rgba(255,77,109,0.28);
  color: #ff8aa0;
}

.trial-blurred {
  filter: blur(8px);
  pointer-events: none;
  user-select: none;
}

.plans-backdrop {
  z-index: 80;
}

.plans-modal-card {
  max-width: 900px;
}

.modal-kicker {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.plans-intro {
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  margin: 0 0 18px;
}

.plans-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.plan-option {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(15,23,42,0.08);
  padding: 22px;
}

.plan-option.featured {
  background:
    radial-gradient(circle at 82% 12%, rgba(166,255,61,0.18), transparent 14rem),
    linear-gradient(135deg, #0b1321, #172237);
  border-color: rgba(166,255,61,0.34);
  color: #fff;
}

.plan-option small {
  background: rgba(166,255,61,0.16);
  border: 1px solid rgba(166,255,61,0.28);
  border-radius: 999px;
  color: var(--lime);
  display: inline-flex;
  font-size: 11px;
  font-weight: 950;
  margin-bottom: 12px;
  padding: 7px 10px;
}

.plan-option span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan-option strong {
  color: var(--ink);
  display: block;
  font-size: 42px;
  line-height: 1;
  margin: 10px 0;
}

.plan-option p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  margin: 0 0 16px;
}

.plan-option ul {
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.plan-option li {
  align-items: center;
  color: #334155;
  display: flex;
  font-size: 13px;
  font-weight: 850;
  gap: 9px;
}

.plan-option li::before {
  background: var(--lime);
  border-radius: 50%;
  content: "";
  flex: 0 0 auto;
  height: 7px;
  width: 7px;
}

.plan-option.featured span,
.plan-option.featured strong,
.plan-option.featured p,
.plan-option.featured li {
  color: #fff;
}

.plans-comparison {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
  overflow: hidden;
}

.plans-comparison div {
  background: #fff;
  display: grid;
  gap: 4px;
  padding: 16px;
}

.plans-comparison strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
}

.plans-comparison span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.plans-logout {
  margin-top: 16px;
  width: 100%;
}

html[data-theme="dark"] .plans-comparison,
html[data-theme="dark"] .plans-comparison div {
  background: var(--surface-2);
  border-color: var(--line);
}

html[data-theme="dark"] .plan-option:not(.featured) {
  background: var(--surface-2);
  border-color: var(--line);
}

html[data-theme="dark"] .plan-option li,
html[data-theme="dark"] .plans-intro,
html[data-theme="dark"] .plans-comparison span {
  color: var(--muted);
}

html[data-theme="dark"] .plan-option strong,
html[data-theme="dark"] .plans-comparison strong {
  color: var(--ink);
}

.plans-modal-card .pricing-link {
  min-height: 48px;
  text-decoration: none;
  width: 100%;
}

/* Landing page requested copy/layout refinements */
.marketing-site .clarity-section {
  background:
    radial-gradient(circle at 86% 18%, rgba(166,255,61,0.10), transparent 24rem),
    linear-gradient(135deg, #070b12 0%, #0d1624 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0;
  color: #fff;
  max-width: none;
  padding: 86px max(28px, calc((100vw - 1240px) / 2)) 96px;
}

.marketing-site .clarity-section .eyebrow {
  background: rgba(166,255,61,0.13);
  border-color: rgba(166,255,61,0.34);
  color: var(--lime);
}

.marketing-site .clarity-section h2 {
  color: #fff;
  font-size: clamp(40px, 5.4vw, 68px);
  letter-spacing: 0;
  line-height: 1.05;
  margin: 18px 0 28px;
  max-width: 760px;
  text-shadow: none;
}

.marketing-site .clarity-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1240px;
}

.marketing-site .clarity-grid article {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(216,227,238,0.96);
  border-radius: 12px;
  box-shadow: 0 22px 60px rgba(0,0,0,0.22);
  padding: 24px;
  transform: translateY(0);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.marketing-site .clarity-grid article:hover {
  border-color: rgba(166,255,61,0.55);
  box-shadow: 0 30px 75px rgba(0,0,0,0.28);
  transform: translateY(-4px);
}

.marketing-site .clarity-grid strong {
  color: #07111f;
  display: block;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.2;
  margin-bottom: 12px;
}

.marketing-site .clarity-grid p {
  color: #5f6d82;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.55;
  margin: 0;
}

.marketing-site .marketing-actions .primary-btn.compact {
  white-space: normal;
}

html[data-theme="dark"] .guide-button {
  background: linear-gradient(135deg, rgba(166,255,61,0.14), rgba(0,168,132,0.12));
  border-color: rgba(166,255,61,0.28);
  color: var(--lime);
}

html[data-theme="dark"] .guide-intro,
html[data-theme="dark"] .guide-note,
html[data-theme="dark"] .guide-step-card {
  background: color-mix(in srgb, var(--surface-2) 88%, #000);
  border-color: var(--line);
  color: var(--ink);
}

@media (max-width: 860px) {
  .top-actions .guide-button {
    width: 100%;
    justify-content: center;
  }

  .top-actions .trial-badge {
    justify-content: center;
    width: 100%;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }

  .plans-grid,
  .plans-comparison {
    grid-template-columns: 1fr;
  }

  .marketing-site .clarity-section {
    padding: 64px 18px 72px;
  }

  .marketing-site .clarity-grid {
    grid-template-columns: 1fr;
  }

  .marketing-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .marketing-nav nav,
  .marketing-actions,
  .marketing-cta {
    width: 100%;
  }

  .marketing-actions button,
  .marketing-cta button {
    flex: 1;
  }

  .marketing-hero,
  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .marketing-copy h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .payment-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 520px) {
  .marketing-site {
    background:
      radial-gradient(circle at 80% 4%, rgba(166,255,61,0.16), transparent 18rem),
      linear-gradient(180deg, #070b12, #0d1420 48%, #f3f8fb 48%);
  }

  .marketing-nav,
  .marketing-hero,
  .marketing-section,
  .pricing-section,
  .payment-note {
    padding-left: 16px;
    padding-right: 16px;
  }

  .marketing-nav nav {
    gap: 12px;
    overflow-x: auto;
  }

  .trial-strip,
  .preview-top,
  .preview-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .preview-metric strong {
    font-size: 34px;
  }
}

/* Landing page v3 */
.marketing-site {
  background:
    radial-gradient(circle at 84% 8%, rgba(166,255,61,0.20), transparent 28rem),
    radial-gradient(circle at 12% 34%, rgba(0,168,132,0.18), transparent 26rem),
    linear-gradient(180deg, #070b12 0%, #0c1422 48%, #f1f7fa 48%, #f7fbfd 100%);
  color: #ffffff;
}

.marketing-site .marketing-nav {
  max-width: 1240px;
  padding: 22px 28px;
}

.marketing-site .marketing-nav nav {
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 999px;
  gap: 6px;
  padding: 7px;
}

.marketing-site .marketing-nav a {
  border-radius: 999px;
  color: rgba(255,255,255,0.78);
  padding: 9px 12px;
}

.marketing-site .marketing-nav a:hover {
  background: rgba(166,255,61,0.12);
  color: var(--lime);
}

.marketing-site .marketing-hero {
  align-items: center;
  gap: 52px;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  max-width: 1240px;
  padding: 54px 28px 88px;
}

.marketing-site .marketing-copy h1 {
  font-size: clamp(44px, 6.2vw, 78px);
  letter-spacing: 0;
  line-height: 0.96;
  max-width: 790px;
}

.marketing-site .marketing-copy p {
  color: rgba(255,255,255,0.78);
  font-size: 19px;
  line-height: 1.55;
  max-width: 700px;
}

.marketing-site .marketing-secondary {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  text-decoration: none;
}

.marketing-site .hero-trust-row span {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
}

.hero-device {
  min-height: 520px;
  position: relative;
}

.device-glow {
  background:
    radial-gradient(circle, rgba(166,255,61,0.24), transparent 42%),
    radial-gradient(circle, rgba(0,168,132,0.18), transparent 50%);
  filter: blur(12px);
  inset: 18% -8% 0 12%;
  position: absolute;
}

.desktop-frame,
.mobile-frame {
  background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 36px 90px rgba(0,0,0,0.36);
  overflow: hidden;
  position: absolute;
}

.desktop-frame {
  border-radius: 18px;
  inset: 36px 0 auto 0;
  padding: 12px;
}

.desktop-frame img {
  aspect-ratio: 16 / 9.3;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  object-position: top left;
  width: 100%;
}

.mobile-frame {
  background: #0b1220;
  border-radius: 24px;
  bottom: 4px;
  padding: 10px;
  right: 22px;
  width: min(190px, 32%);
}

.mobile-frame img {
  border-radius: 16px;
  display: block;
  height: 320px;
  object-fit: cover;
  object-position: top center;
  width: 100%;
}

.problem-section,
.clarity-section,
.feature-showcase,
.trust-section,
.faq-section,
.disclaimer-section {
  color: var(--ink);
  margin: 0 auto;
  max-width: 1240px;
  padding: 66px 28px;
}

.marketing-site .problem-section,
.marketing-site .clarity-section,
.marketing-site .feature-showcase {
  color: #ffffff;
}

.marketing-site .problem-section h2,
.marketing-site .clarity-section h2,
.marketing-site .feature-showcase h2 {
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0,0,0,0.25);
}

.marketing-site .problem-section p,
.marketing-site .clarity-section .section-title p,
.marketing-site .feature-showcase .section-title p {
  color: rgba(255,255,255,0.76);
}

.problem-section {
  align-items: start;
  display: grid;
  gap: 34px;
  grid-template-columns: 0.95fr 1.05fr;
}

.problem-copy h2,
.clarity-section h2,
.feature-showcase h2,
.trust-section h2,
.faq-section h2 {
  color: var(--ink);
  font-size: clamp(31px, 4.5vw, 52px);
  line-height: 1.04;
  margin: 10px 0 12px;
  max-width: 850px;
}

.problem-copy p,
.section-title p {
  color: var(--muted);
  font-size: 16px;
  font-weight: 760;
  line-height: 1.55;
}

.pain-grid,
.clarity-grid,
.trust-grid,
.faq-grid {
  display: grid;
  gap: 14px;
}

.pain-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pain-grid span,
.clarity-grid article,
.trust-grid article,
.faq-grid article {
  background: rgba(255,255,255,0.92);
  border: 1px solid #d8e3ee;
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(15,23,42,0.06);
}

.pain-grid span {
  align-items: center;
  color: #2a3748;
  display: flex;
  font-size: 15px;
  font-weight: 900;
  gap: 10px;
  min-height: 70px;
  padding: 16px;
}

.pain-grid span::before,
.feature-story-copy li::before,
.price-card li::before {
  background: var(--lime);
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(166,255,61,0.13);
  content: "";
  flex: 0 0 auto;
  height: 7px;
  width: 7px;
}

.clarity-grid,
.trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.clarity-grid article,
.trust-grid article,
.faq-grid article {
  padding: 22px;
}

.clarity-grid strong,
.trust-grid strong,
.faq-grid strong {
  color: var(--ink);
  display: block;
  font-size: 19px;
  font-weight: 950;
  line-height: 1.2;
  margin-bottom: 10px;
}

.clarity-grid p,
.trust-grid p,
.faq-grid p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.55;
  margin: 0;
}

.feature-showcase {
  padding-top: 34px;
}

.feature-story {
  display: grid;
  gap: 22px;
}

.feature-story-card {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d8e3ee;
  border-radius: 18px;
  box-shadow: 0 24px 65px rgba(15,23,42,0.08);
  display: grid;
  gap: 28px;
  grid-template-columns: 0.88fr 1.12fr;
  overflow: hidden;
  padding: 24px;
}

.feature-story-card.reverse {
  grid-template-columns: 1.12fr 0.88fr;
}

.feature-story-card.reverse .feature-story-copy {
  order: 2;
}

.feature-story-copy span {
  color: var(--green);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.feature-story-copy h3 {
  color: var(--ink);
  font-size: clamp(27px, 4vw, 42px);
  line-height: 1.04;
  margin: 8px 0 12px;
}

.feature-story-copy p {
  color: var(--muted);
  font-size: 16px;
  font-weight: 760;
  line-height: 1.55;
  margin: 0 0 16px;
}

.feature-story-copy ul,
.price-card ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-story-copy li,
.price-card li {
  align-items: center;
  color: #314057;
  display: flex;
  font-size: 14px;
  font-weight: 850;
  gap: 10px;
}

.feature-story-shot {
  background:
    radial-gradient(circle at 76% 18%, rgba(166,255,61,0.14), transparent 20rem),
    #0c1422;
  border-radius: 14px;
  overflow: hidden;
  padding: 12px;
}

.feature-story-shot img {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  object-position: top left;
  width: 100%;
}

.screen-showcase {
  border-radius: 0;
  margin-top: 30px;
}

.trust-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.pricing-section {
  color: var(--ink);
  max-width: 1240px;
  padding: 66px 28px;
}

.pricing-grid {
  align-items: stretch;
  gap: 18px;
}

.price-card {
  border-radius: 18px;
  padding: 28px;
}

.price-card strong {
  font-size: clamp(38px, 6vw, 58px);
}

.price-card.featured {
  transform: translateY(-8px);
}

.price-card.featured li {
  color: rgba(255,255,255,0.86);
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.disclaimer-section {
  padding-top: 18px;
}

.disclaimer-section {
  background: #ffffff;
  border: 1px solid #d8e3ee;
  border-left: 5px solid var(--green);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(15,23,42,0.06);
  margin-bottom: 42px;
  padding: 22px 24px;
}

.disclaimer-section strong {
  color: var(--ink);
  display: block;
  font-size: 16px;
  font-weight: 950;
  margin-bottom: 6px;
}

.disclaimer-section p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.55;
  margin: 0;
}

.final-cta p {
  color: rgba(255,255,255,0.76);
  font-size: 17px;
  font-weight: 760;
  line-height: 1.5;
  margin: -8px auto 22px;
  max-width: 620px;
}

@media (max-width: 980px) {
  .marketing-site .marketing-hero,
  .problem-section,
  .feature-story-card,
  .feature-story-card.reverse {
    grid-template-columns: 1fr;
  }

  .feature-story-card.reverse .feature-story-copy {
    order: 0;
  }

  .hero-device {
    min-height: 420px;
  }

  .clarity-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .marketing-site .marketing-nav {
    padding: 18px 16px;
  }

  .marketing-site .marketing-nav nav {
    overflow-x: auto;
    width: 100%;
  }

  .marketing-site .marketing-hero,
  .problem-section,
  .clarity-section,
  .feature-showcase,
  .trust-section,
  .pricing-section,
  .faq-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .marketing-site .marketing-copy h1 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .hero-device {
    min-height: 360px;
  }

  .desktop-frame {
    top: 10px;
  }

  .mobile-frame {
    right: 8px;
    width: 138px;
  }

  .mobile-frame img {
    height: 235px;
  }

  .pain-grid,
  .clarity-grid,
  .trust-grid,
  .faq-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive QA final lock */
@media (max-width: 860px) {
  html,
  body,
  .app-shell {
    max-width: 100%;
    overflow-x: hidden;
  }

  .side-nav {
    max-width: 100vw;
    overflow: hidden;
  }

  .notification-entry {
    margin: 0;
  }

  .side-nav nav {
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .side-nav nav::-webkit-scrollbar {
    display: none;
  }

  .top-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .top-actions .data-status,
  .top-actions .quote-refresh,
  .top-actions .primary-btn,
  .top-actions .theme-toggle,
  .top-actions .profile-button,
  .top-actions .logout-button {
    width: 100%;
  }

  .top-actions .data-status {
    grid-column: 1 / -1;
  }

  .proof-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wealth-chart-body,
  .donut-layout,
  .provent-donut-grid,
  .distribution-modal-grid,
  .home-monitor-card,
  .category-summary-row,
  .group-head {
    grid-template-columns: 1fr;
  }

  .dividend-chart-head,
  .provent-panel-head,
  .movement-history-head,
  .section-head,
  .panel-header,
  .goals-head,
  .wealth-chart-top {
    align-items: stretch;
    flex-direction: column;
  }

  .dividend-chart-controls,
  .provent-filter-row,
  .movement-filters,
  .wealth-chart-tools,
  .filters {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .dividend-chart-controls select,
  .provent-filter-row select,
  .movement-filters input,
  .movement-filters select,
  .wealth-chart-tools select,
  .filters select {
    width: 100%;
  }

  .table-scroll,
  .monitor-table-wrap,
  .provent-history-scroll,
  .provent-table .table-scroll,
  .performance-table-panel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .modal-backdrop {
    align-items: flex-end;
    padding: 10px;
  }

  .modal-card {
    border-radius: 8px 8px 0 0;
    max-height: min(92vh, 820px);
    width: 100%;
  }

  .modal-body {
    max-height: calc(92vh - 76px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

@media (max-width: 520px) {
  .top-actions,
  .proof-row,
  .hero-breakdown {
    grid-template-columns: 1fr;
  }

  .hero-main strong {
    font-size: clamp(36px, 13vw, 52px);
    overflow-wrap: anywhere;
  }

  .hero-band,
  .panel,
  .summary-card,
  .objective-card,
  .home-monitor-card,
  .portfolio-summary-combo,
  .wealth-chart-card,
  .provent-summary-card,
  .dividend-evolution-panel,
  .movement-card,
  .movement-chart-card,
  .performance-card,
  .goal-card {
    padding: 14px;
  }

  .hero-actions,
  .objective-actions,
  .goal-card-actions,
  .modal-actions {
    flex-direction: column;
  }

  .hero-actions button,
  .objective-actions button,
  .goal-card-actions button,
  .modal-actions button {
    width: 100%;
  }
}

/* Responsive QA pass */
@media (max-width: 860px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .app-shell {
    display: block;
    overflow-x: hidden;
  }

  .side-nav {
    position: sticky;
    top: 0;
    z-index: 18;
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
    max-width: 100vw;
    overflow: hidden;
    padding: 12px;
  }

  .side-nav .brand {
    width: 132px;
    height: 36px;
  }

  .side-nav nav {
    display: flex;
    gap: 8px;
    grid-column: 1 / -1;
    margin: 0 -4px;
    max-width: 100%;
    overflow-x: auto;
    padding: 0 4px 4px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .side-nav nav::-webkit-scrollbar {
    display: none;
  }

  .side-tab {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 13px;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .topbar {
    gap: 14px;
    min-height: auto;
  }

  .top-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .proof-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-actions .data-status,
  .top-actions .quote-refresh,
  .top-actions .primary-btn,
  .top-actions .theme-toggle,
  .top-actions .profile-button,
  .top-actions .logout-button {
    width: 100%;
  }

  .top-actions .data-status {
    grid-column: 1 / -1;
  }

  .quote-refresh,
  .theme-toggle,
  .profile-button,
  .logout-button,
  .primary-btn.compact {
    min-height: 42px;
  }

  .hero-band {
    min-height: 0;
  }

  .hero-main strong {
    font-size: clamp(36px, 13vw, 52px);
    overflow-wrap: anywhere;
  }

  .wealth-chart-card {
    min-height: 0;
  }

  .wealth-chart-body {
    grid-template-columns: 1fr;
  }

  .wealth-chart-list {
    max-height: 230px;
    overflow: auto;
  }

  .summary-snapshot-grid,
  .rent-cards,
  .movement-metrics,
  .objective-grid,
  .goal-grid,
  .provent-total-grid {
    grid-template-columns: 1fr;
  }

  .home-monitor-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .home-monitor-stats {
    align-items: stretch;
    width: 100%;
  }

  .home-monitor-card .link-btn,
  .portfolio-summary-combo .link-btn,
  .objective-actions button,
  .goal-card-actions button {
    width: 100%;
  }

  .category-summary-row,
  .group-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .category-summary-row > *,
  .group-head > * {
    min-width: 0;
  }

  .donut-layout,
  .provent-donut-grid,
  .distribution-modal-grid {
    grid-template-columns: 1fr;
  }

  .donut-stage {
    min-height: 330px;
    overflow: hidden;
  }

  .donut-callout {
    font-size: 12px;
    max-width: 120px;
  }

  .donut-lines {
    opacity: 0.72;
  }

  .provent-donut-grid {
    gap: 22px;
  }

  .provent-legend {
    padding-left: 8px;
  }

  .dividend-chart-head,
  .provent-panel-head,
  .movement-history-head,
  .section-head,
  .panel-header,
  .goals-head {
    align-items: stretch;
    flex-direction: column;
  }

  .dividend-chart-controls,
  .provent-filter-row,
  .movement-filters,
  .wealth-chart-tools,
  .filters {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .dividend-chart-controls select,
  .provent-filter-row select,
  .movement-filters input,
  .movement-filters select,
  .wealth-chart-tools select,
  .filters select {
    width: 100%;
  }

  .table-scroll,
  .monitor-table-wrap,
  .provent-history-scroll,
  .provent-table .table-scroll,
  .performance-table-panel,
  .movement-history-panel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table-scroll::after,
  .monitor-table-wrap::after,
  .provent-history-scroll::after {
    color: var(--muted);
    content: "Arraste para ver mais";
    display: block;
    font-size: 11px;
    font-weight: 900;
    padding: 8px 4px 0;
    text-align: right;
  }

  .modal-backdrop {
    align-items: flex-end;
    padding: 10px;
  }

  .modal-card {
    border-radius: 8px 8px 0 0;
    max-height: min(92vh, 820px);
    width: 100%;
  }

  .modal-body {
    max-height: calc(92vh - 76px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .modal-actions {
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    bottom: 0;
    padding-top: 10px;
    position: sticky;
    z-index: 2;
  }
}

@media (max-width: 520px) {
  .content {
    padding: 14px 10px 24px;
  }

  .page-kicker {
    font-size: 10px;
  }

  .topbar h1 {
    font-size: 22px;
  }

  .top-actions {
    grid-template-columns: 1fr;
  }

  .hero-band,
  .panel,
  .summary-card,
  .objective-card,
  .home-monitor-card,
  .portfolio-summary-combo,
  .wealth-chart-card,
  .provent-summary-card,
  .dividend-evolution-panel,
  .movement-card,
  .movement-chart-card,
  .performance-card,
  .goal-card {
    padding: 14px;
  }

  .hero-breakdown {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .objective-actions,
  .goal-card-actions,
  .modal-actions {
    flex-direction: column;
  }

  .hero-actions button,
  .objective-actions button,
  .goal-card-actions button,
  .modal-actions button {
    width: 100%;
  }

  .wealth-chart-top,
  .wealth-range-tabs,
  .wealth-chart-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .wealth-range-tabs button {
    width: 100%;
  }

  .hero-spark canvas,
  .dividend-chart-wrap canvas,
  .movement-chart-wrap canvas,
  .line-chart-wrap canvas {
    min-height: 240px;
  }

  .provent-donut,
  .distribution-donut-large,
  .donut {
    max-width: 260px;
  }

  .provent-legend div {
    grid-template-columns: auto 1fr auto;
  }

  .distribution-modal-list {
    min-width: 0;
  }

  .login-card {
    padding: 22px;
  }

  .login-card h2 {
    font-size: 24px;
  }
}

html[data-theme="dark"] .monitor-actions button {
  color: var(--ink);
}

html[data-theme="dark"] .monitor-actions button:hover {
  background: #1b2638;
}

html[data-theme="dark"] .primary-btn:hover:not(:disabled),
html[data-theme="dark"] .dark-btn:hover:not(:disabled),
html[data-theme="dark"] .link-btn:hover {
  box-shadow: 0 14px 34px rgba(166,255,61,0.16), 0 10px 24px rgba(0,0,0,0.24);
}

html[data-theme="dark"] .ghost-btn:hover:not(:disabled),
html[data-theme="dark"] .quote-refresh:hover:not(:disabled),
html[data-theme="dark"] .profile-button:hover,
html[data-theme="dark"] .theme-toggle:hover {
  box-shadow: 0 12px 28px rgba(0,0,0,0.26);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Final override pass */
html[data-theme="dark"] .app-shell {
  background:
    radial-gradient(circle at 88% -12%, rgba(166,255,61,0.13), transparent 24rem),
    linear-gradient(180deg, #070b12, #0b111c 45%, #070b12);
}

html[data-theme="dark"] .snapshot-card,
html[data-theme="dark"] .summary-snapshot-grid .snapshot-card,
html[data-theme="dark"] .panel,
html[data-theme="dark"] .chart-card,
html[data-theme="dark"] .portfolio-summary-combo,
html[data-theme="dark"] .composition-card,
html[data-theme="dark"] .performance-card,
html[data-theme="dark"] .movement-card,
html[data-theme="dark"] .movement-chart-card,
html[data-theme="dark"] .dividend-card,
html[data-theme="dark"] .dividend-side,
html[data-theme="dark"] .dividend-table-card,
html[data-theme="dark"] .wealth-chart-card,
html[data-theme="dark"] .objective-card,
html[data-theme="dark"] .home-monitor-card,
html[data-theme="dark"] .modal-card,
html[data-theme="dark"] .market-pill,
html[data-theme="dark"] .monitor-empty,
html[data-theme="dark"] .confirm-box div,
html[data-theme="dark"] .goal-detail-history,
html[data-theme="dark"] .goal-month-row,
html[data-theme="dark"] .goal-month-card,
html[data-theme="dark"] .distribution-modal-list,
html[data-theme="dark"] .distribution-modal-donut {
  background: color-mix(in srgb, var(--surface) 94%, #000);
  border-color: var(--line);
  color: var(--ink);
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea,
html[data-theme="dark"] .ghost-btn,
html[data-theme="dark"] .quote-refresh,
html[data-theme="dark"] .monitor-add,
html[data-theme="dark"] .monitor-ticker,
html[data-theme="dark"] .icon-only,
html[data-theme="dark"] .monitor-save-target,
html[data-theme="dark"] .asset-target-input,
html[data-theme="dark"] .asset-quota-input,
html[data-theme="dark"] .asset-situation-select,
html[data-theme="dark"] .view-toggle,
html[data-theme="dark"] .segmented,
html[data-theme="dark"] .segmented-control,
html[data-theme="dark"] .distribution-toggle {
  background: var(--surface-2);
  border-color: var(--line);
  color: var(--ink);
}

html[data-theme="dark"] tbody tr:hover td,
html[data-theme="dark"] td:first-child,
html[data-theme="dark"] td {
  background: color-mix(in srgb, var(--surface-2) 86%, #000);
}

html[data-theme="dark"] .monitor-actions div,
html[data-theme="dark"] .asset-hover-chart,
html[data-theme="dark"] .provent-donut-tooltip {
  background: rgba(14, 21, 33, 0.96);
  border-color: var(--line);
  color: var(--ink);
}

/* Landing final override: bloco 2 em fundo claro */
.marketing-site .clarity-section {
  background:
    radial-gradient(circle at 86% 8%, rgba(166,255,61,0.22), transparent 24rem),
    linear-gradient(180deg, #f4f9fb 0%, #edf5f8 100%) !important;
  border-bottom: 1px solid rgba(112,129,154,0.18);
  border-top: 1px solid rgba(112,129,154,0.18);
  color: #0b1424 !important;
}

.marketing-site .clarity-section .eyebrow {
  background: rgba(166,255,61,0.18);
  border-color: rgba(54,170,85,0.38);
  color: #008862;
}

.marketing-site .clarity-section h2 {
  color: #0b1424 !important;
  text-shadow: none !important;
}

.marketing-site .clarity-grid article {
  background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(255,255,255,0.88));
  border-color: rgba(179,194,212,0.72);
  box-shadow: 0 24px 60px rgba(15,23,42,0.08);
}

.marketing-site .clarity-grid article:hover {
  border-color: rgba(0,168,132,0.34);
  box-shadow: 0 28px 70px rgba(15,23,42,0.12);
}

.marketing-site .clarity-grid strong {
  color: #07101f;
}

.marketing-site .clarity-grid p {
  color: #56657a;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f7fbff;
  --ink-2: #e5edf7;
  --muted: #9aa8bd;
  --soft: #070b12;
  --surface: #0e1521;
  --surface-2: #121b2a;
  --line: #253247;
  --line-soft: #1b2638;
  --white: #101827;
  --chart-grid: #253247;
  --chart-axis: #9aa8bd;
  --chart-primary: #a6ff3d;
  --chart-secondary: #00a884;
  --chart-tertiary: #7da2ff;
  --chart-warning: #d7ad68;
  --chart-danger: #ff6b86;
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.24);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--soft); color: var(--ink); }
button, input, select { font: inherit; }
button { cursor: pointer; }

.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(420px, 1.05fr) minmax(480px, 0.95fr);
  background:
    radial-gradient(circle at 18% 10%, rgba(166, 255, 61, 0.22), transparent 24rem),
    radial-gradient(circle at 80% 80%, rgba(40, 167, 199, 0.18), transparent 28rem),
    linear-gradient(135deg, #070b16, #121928 58%, #071014);
  color: white;
}

.brand-panel {
  padding: 38px clamp(28px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 44px;
}

.brand { display: inline-flex; align-items: center; width: 176px; height: 44px; overflow: hidden; }
.brand-logo { display: block; width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.eyebrow {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(166, 255, 61, 0.28);
  background: rgba(166, 255, 61, 0.1);
  color: #d7ffad;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.login-copy h1 { max-width: 720px; margin: 18px 0 0; font-size: clamp(42px, 5vw, 76px); line-height: 0.98; letter-spacing: 0; }
.login-copy em { color: var(--lime); font-style: normal; }
.login-copy p { max-width: 600px; color: rgba(255,255,255,0.76); margin: 24px 0 0; font-size: 18px; line-height: 1.6; }
.proof-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 920px; }
.proof-card { border: 1px solid rgba(255,255,255,0.16); border-radius: 8px; padding: 18px; background: rgba(255,255,255,0.07); box-shadow: inset 0 1px rgba(255,255,255,0.08); }
.proof-card strong { display: block; font-size: 16px; line-height: 1.2; color: var(--lime); }
.proof-card span { display: block; color: rgba(255,255,255,0.72); font-size: 13px; font-weight: 800; line-height: 1.4; margin-top: 10px; }

.login-side { display: grid; place-items: center; padding: 30px; }
.login-card {
  width: min(460px, 100%);
  background: rgba(255,255,255,0.96);
  color: var(--ink);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 26px 80px rgba(0,0,0,0.32);
}
.login-card-logo { height: 54px; margin-bottom: 18px; display: flex; align-items: center; }
.login-card-logo img { width: 180px; height: 54px; object-fit: contain; object-position: left center; }
.login-card h2 { margin: 0 0 8px; font-size: 28px; }
.login-card p { margin: 0 0 24px; color: var(--muted); line-height: 1.5; }
.login-note { display: block; margin-top: 14px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.login-feedback { min-height: 0; margin-top: 12px; color: #ff4d73; font-size: 13px; font-weight: 800; line-height: 1.45; }
.login-feedback:empty { display: none; }

.auth-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 11, 22, 0.74);
  backdrop-filter: blur(12px);
}

.auth-modal-dialog {
  position: relative;
  width: min(480px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

.auth-modal-dialog .login-card {
  width: 100%;
  box-shadow: none;
}

.auth-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-weight: 950;
}

.auth-modal-close:hover,
.auth-modal-close:focus-visible {
  border-color: var(--lime-2);
  box-shadow: 0 0 0 4px rgba(166, 255, 61, 0.18);
  outline: none;
}

.field { display: grid; gap: 8px; margin-bottom: 14px; font-size: 13px; font-weight: 900; color: #43506a; }
.field input, .field select {
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 0 14px;
  color: var(--ink);
  background: var(--surface);
  outline: none;
}
.field input:focus, .field select:focus { border-color: var(--lime-2); box-shadow: 0 0 0 4px rgba(166,255,61,0.18); }

.field-hint {
  margin: -4px 0 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.primary-btn, .dark-btn, .ghost-btn, .light-btn, .danger-btn, .success-btn, .icon-btn {
  border: 0;
  min-height: 42px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 950;
}
.primary-btn { width: 100%; min-height: 50px; background: linear-gradient(135deg, var(--lime), var(--lime-2)); color: #071014; box-shadow: 0 14px 30px rgba(166,255,61,0.28); }
.primary-btn:disabled, .dark-btn:disabled { cursor: wait; opacity: 0.72; }
.primary-btn.compact, .light-btn.compact, .danger-btn.compact, .success-btn.compact { width: auto; min-height: 42px; padding: 0 16px; }
.dark-btn { background: #222a35; color: white; padding: 0 18px; }
.ghost-btn { background: var(--surface); color: var(--ink); border: 1px solid var(--line); padding: 0 14px; }
.light-btn { background: rgba(255,255,255,0.14); color: white; border: 1px solid rgba(255,255,255,0.2); padding: 0 16px; }
.danger-btn { background: linear-gradient(135deg, #ff5c7a, #d92b4a); color: white; padding: 0 18px; }
.success-btn { background: linear-gradient(135deg, var(--lime), var(--green)); color: #071014; padding: 0 18px; box-shadow: 0 12px 24px rgba(166,255,61,0.22); }
.icon-btn { width: 42px; background: rgba(255,255,255,0.08); color: white; border: 1px solid rgba(255,255,255,0.12); }

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  background:
    radial-gradient(circle at 90% -10%, rgba(166,255,61,0.18), transparent 24rem),
    linear-gradient(180deg, var(--soft), var(--surface-2));
}

.side-nav {
  position: sticky;
  top: 0;
  height: 100vh;
  background: linear-gradient(180deg, #09101c, #121928 54%, #0a0f19);
  color: white;
  padding: 22px 18px;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 22px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.side-user { border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.06); border-radius: 8px; padding: 14px; display: grid; gap: 7px; }
.side-user strong { font-size: 15px; }
.side-user span { color: rgba(255,255,255,0.64); font-size: 12px; font-weight: 800; }
.notification-entry {
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  color: rgba(255,255,255,0.82);
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: 34px 1fr auto;
  margin: 0;
  padding: 10px;
  text-align: left;
  width: 100%;
}
.notification-entry:hover,
.notification-entry:focus-visible {
  background: rgba(166,255,61,0.10);
  border-color: rgba(166,255,61,0.55);
  outline: none;
}
.notification-entry.has-unread {
  border-color: rgba(166,255,61,0.45);
}
.notification-icon {
  align-items: center;
  background: rgba(166,255,61,0.14);
  border-radius: 999px;
  color: var(--lime);
  display: flex;
  font-weight: 950;
  height: 34px;
  justify-content: center;
  width: 34px;
}
.notification-entry strong {
  color: #fff;
  display: block;
  font-size: 13px;
}
.notification-entry small {
  color: rgba(255,255,255,0.68);
  display: block;
  font-size: 11px;
  margin-top: 2px;
}
.notification-entry em {
  align-items: center;
  background: var(--lime);
  border-radius: 999px;
  color: #07101f;
  display: flex;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  height: 24px;
  justify-content: center;
  min-width: 24px;
  padding: 0 7px;
}
.side-nav nav { display: grid; align-content: start; gap: 8px; }
.side-tab {
  border: 0;
  min-height: 44px;
  background: transparent;
  color: rgba(255,255,255,0.68);
  border-radius: 8px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  font-weight: 850;
  text-align: left;
}
.side-tab.active { background: rgba(166,255,61,0.12); color: white; }

.workspace { min-width: 0; }
.topbar {
  min-height: 84px;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 16px;
  backdrop-filter: blur(16px);
}
.page-kicker { color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.topbar h1 { margin: 4px 0 0; font-size: 24px; letter-spacing: 0; }
.title-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.title-action-btn {
  background: linear-gradient(135deg, var(--lime), var(--lime-2));
  border: 1px solid rgba(7, 17, 31, 0.12);
  border-radius: 8px;
  color: #071014;
  min-height: 34px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(166,255,61,0.28);
}
.title-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(166,255,61,0.34), 0 0 0 4px rgba(166,255,61,0.14);
}
.top-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.data-status {
  color: var(--muted);
  display: grid;
  gap: 2px;
  min-width: 190px;
  text-align: right;
}
.data-status strong {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.1;
}
.data-status small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.quote-refresh {
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
  border-radius: 7px;
  white-space: nowrap;
  border-width: 2px;
  border-color: #c8d3e2;
  box-shadow: 0 2px 7px rgba(17, 24, 39, 0.06);
}
.profile-button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  min-height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 5px;
  font-weight: 950;
}
.theme-toggle {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.06);
}
.theme-toggle span {
  align-items: center;
  background: #eef4ff;
  border-radius: 999px;
  color: #111827;
  display: inline-flex;
  height: 26px;
  justify-content: center;
  width: 26px;
}
html[data-theme="dark"] .theme-toggle span {
  background: rgba(166,255,61,0.15);
  color: var(--lime);
}
.guide-button {
  align-items: center;
  background: linear-gradient(135deg, rgba(166,255,61,0.16), rgba(0,168,132,0.10));
  border: 1px solid rgba(0,168,132,0.28);
  border-radius: 999px;
  color: #0f5138;
  display: inline-flex;
  font-size: 13px;
  font-weight: 950;
  min-height: 44px;
  padding: 0 16px;
  box-shadow: 0 10px 22px rgba(0,168,132,0.10);
}
.guide-button:hover {
  transform: translateY(-1px);
  border-color: rgba(0,168,132,0.46);
  box-shadow: 0 14px 28px rgba(0,168,132,0.16), 0 0 0 4px rgba(166,255,61,0.14);
}
.guide-button:focus-visible {
  outline: 3px solid rgba(166,255,61,0.36);
  outline-offset: 2px;
}
.logout-button {
  border: 1px solid #ffd4dc;
  background: #fff4f6;
  color: var(--red);
  min-height: 36px;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 950;
}
.logout-button:hover { background: #ffe8ee; }

.onboarding-modal { width: min(780px, 100%); }
.onboarding-start-modal { width: min(560px, 100%); }
.notifications-modal { width: min(720px, 100%); }
.notifications-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.notifications-head h2 { margin-top: 4px; }
.notifications-body {
  display: grid;
  gap: 0;
  max-height: min(62vh, 560px);
  overflow: auto;
  padding-top: 6px;
}
.notification-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 14px;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  padding: 14px 0;
}
.notification-row > i {
  background: #dbe7f4;
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(219,231,244,.35);
  height: 18px;
  width: 18px;
}
.notification-row.success > i {
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(166,255,61,.18);
}
.notification-row.info > i {
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(71,121,217,.14);
}
.notification-row.attention > i {
  background: #f4bd4f;
  box-shadow: 0 0 0 5px rgba(244,189,79,.18);
}
.notification-row.danger > i {
  background: #ff4f78;
  box-shadow: 0 0 0 5px rgba(255,79,120,.16);
}
.notification-row.read { opacity: .62; }
.notification-copy {
  background: none;
  border: 0;
  cursor: pointer;
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 0;
  text-align: left;
}
.notification-copy span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.notification-copy strong {
  color: var(--ink);
  font-size: 15px;
}
.notification-copy small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}
.notification-copy:hover strong { color: var(--blue); }
.notification-read-btn {
  background: #eef5f8;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
  padding: 9px 12px;
  white-space: nowrap;
}
.notification-read-btn:hover {
  background: #e7f0f4;
  border-color: var(--line);
}
.notification-read-btn:disabled {
  cursor: default;
  opacity: .55;
}
.notifications-actions { padding: 16px 20px 20px; }
.notifications-empty {
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  padding: 22px;
}
.notifications-empty strong {
  color: var(--ink);
  display: block;
  margin-bottom: 6px;
}
.onboarding-modal .modal-head {
  align-items: flex-start;
}
.onboarding-modal .modal-head p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  margin: 4px 0 0;
}
.guide-intro,
.guide-note {
  background: linear-gradient(135deg, rgba(166,255,61,0.12), rgba(71,121,217,0.08));
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 14px;
}
.guide-intro strong,
.guide-note strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}
.guide-intro span,
.guide-note span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.guide-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 14px 0;
}
.guide-step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  gap: 8px;
  min-height: 164px;
  padding: 16px;
  text-align: left;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.guide-step-card small {
  color: var(--green);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}
.guide-step-card strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
  line-height: 1.15;
}
.guide-step-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}
.guide-step-card em {
  align-self: end;
  color: var(--green);
  font-size: 13px;
  font-style: normal;
  font-weight: 950;
}
.guide-step-card:hover {
  border-color: rgba(0,168,132,0.42);
  box-shadow: 0 18px 34px rgba(17,24,39,0.10);
  transform: translateY(-2px);
}
.guide-step-card:focus-visible {
  outline: 3px solid rgba(166,255,61,0.32);
  outline-offset: 2px;
}

.onboarding-choice-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.onboarding-choice-actions .primary-btn,
.onboarding-choice-actions .ghost-btn {
  width: 100%;
}

@media (max-width: 620px) {
  .onboarding-choice-actions {
    grid-template-columns: 1fr;
  }
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lime), #fff);
  color: #11151f;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 950;
  object-fit: cover;
}
.avatar-lg { width: 52px; height: 52px; font-size: 16px; }
.avatar-xl { width: 92px; height: 92px; font-size: 24px; }

.monitor-panel {
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
  padding: 10px 24px 12px;
}
.monitor-panel.collapsed {
  padding-bottom: 10px;
}
.monitor-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 8px;
}
.monitor-head span {
  display: block;
  color: #43506a;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.monitor-head small {
  color: #7c8798;
  display: block;
  font-size: 11px;
  font-weight: 800;
  margin-top: 3px;
}
.monitor-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.monitor-controls select {
  border: 1px solid var(--line);
  background: white;
  border-radius: 7px;
  color: var(--ink);
  min-height: 30px;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 850;
}
.monitor-add {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: 7px;
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 950;
}
.monitor-add.primary {
  border-color: #101827;
  background: #101827;
  color: white;
}
.monitor-add:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.market-ribbon {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 0 2px;
}
.market-pill {
  min-width: 300px;
  max-width: 340px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  padding: 12px;
  display: grid;
  gap: 10px;
  box-shadow: 0 1px 0 rgba(17,24,39,0.03);
}
.monitor-card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.monitor-card-head > div {
  min-width: 0;
}
.monitor-card-head strong {
  color: var(--muted);
  display: block;
  font-size: 12px;
  line-height: 1.25;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.monitor-ticker {
  width: 74px;
  min-height: 30px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 7px;
  color: var(--ink);
  display: inline-grid;
  font-size: 12px;
  font-weight: 950;
  place-items: center;
  text-transform: uppercase;
}
.monitor-delete {
  border: 1px solid #ffd4dc;
  background: #fff4f6;
  color: var(--red);
  border-radius: 7px;
  width: 30px;
  height: 30px;
  font-weight: 950;
}
.monitor-prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.monitor-prices span,
.monitor-prices em {
  border: 1px solid var(--line-soft);
  background: #f8fafc;
  border-radius: 8px;
  display: grid;
  gap: 3px;
  font-size: 14px;
  font-style: normal;
  font-weight: 950;
  padding: 8px;
  white-space: nowrap;
}
.monitor-prices small,
.monitor-status-row small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
}
.monitor-target-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.monitor-target-row label,
.monitor-alert {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}
.monitor-target {
  width: 88px;
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 7px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}
.monitor-target:disabled {
  background: #eef2f7;
  color: #9aa4b2;
}
.monitor-status-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.status-pill {
  border-radius: 999px;
  display: inline-flex;
  padding: 5px 9px;
  width: fit-content;
  font-size: 11px;
  font-weight: 900;
}
.status-pill.neutral { background: #edf2f7; color: #5b6678; }
.status-pill.very-below { background: #e5f6ef; color: #00795e; }
.status-pill.below { background: #edf9e4; color: #3e8d13; }
.status-pill.near { background: #fff7df; color: #9a6a00; }
.status-pill.hit { background: #e6f1ff; color: #0054b8; }
.status-pill.above { background: #fff1e4; color: #b55500; }
.status-pill.very-above { background: #ffe8ee; color: var(--red); }
.monitor-meta-row {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 8px;
}
.monitor-meta-row.readonly div {
  border: 1px solid var(--line-soft);
  background: #f8fafc;
  border-radius: 7px;
  min-height: 46px;
  padding: 7px 8px;
}
.monitor-meta-row.readonly span {
  color: var(--muted);
  display: block;
  font-size: 10px;
  font-weight: 900;
  margin-bottom: 3px;
}
.monitor-meta-row.readonly strong {
  color: var(--ink);
  display: block;
  font-size: 12px;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.monitor-alert {
  align-items: center;
  display: flex;
  gap: 7px;
}
.monitor-alert-text {
  border: 1px solid #d6eadf;
  background: #f0fbf5;
  border-radius: 7px;
  color: var(--green);
  font-size: 11px;
  font-weight: 950;
  padding: 7px 8px;
}
.monitor-empty {
  border: 1px dashed var(--line);
  background: white;
  border-radius: 8px;
  min-width: min(560px, 100%);
  padding: 18px;
}
.monitor-empty strong { display: block; margin-bottom: 6px; }
.monitor-empty p { color: var(--muted); margin: 0 0 14px; }
.compact-empty { min-width: 340px; }

.monitor-head p,
.monitor-head em {
  color: #637086;
  display: block;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
  margin: 4px 0 0;
}
.monitor-head em {
  color: var(--ink);
  font-size: 13px;
}
.view-toggle {
  background: #edf2f7;
  border-radius: 8px;
  display: flex;
  gap: 3px;
  padding: 3px;
}
.view-toggle button {
  border: 0;
  border-radius: 6px;
  color: #617087;
  font-size: 12px;
  font-weight: 950;
  min-height: 26px;
  padding: 0 9px;
}
.view-toggle button.active {
  background: white;
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(17,24,39,0.08);
}
.market-ribbon.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
}
.market-ribbon.table,
.market-ribbon.compact {
  display: block;
  overflow: visible;
}
.market-ribbon.cards .market-pill {
  max-width: none;
  min-width: 0;
}
.market-pill {
  border-top-width: 4px;
}
.market-pill.positive { border-top-color: #18a77a; }
.market-pill.attention { border-top-color: #f2b84b; }
.market-pill.distant { border-top-color: #ff5370; }
.market-pill.neutral { border-top-color: #c8d2df; }
.monitor-actions {
  position: relative;
}
.monitor-actions summary {
  border: 1px solid var(--line);
  border-radius: 7px;
  cursor: pointer;
  display: grid;
  font-weight: 950;
  height: 30px;
  list-style: none;
  place-items: center;
  width: 32px;
}
.monitor-actions summary::-webkit-details-marker { display: none; }
.monitor-actions div {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  min-width: 160px;
  padding: 6px;
  position: absolute;
  right: 0;
  top: 36px;
  z-index: 5;
}
.monitor-actions button {
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  min-height: 30px;
  padding: 0 9px;
  text-align: left;
}
.monitor-actions button:hover { background: #f3f6fb; }
.monitor-actions .monitor-remove { color: var(--red); }
.monitor-main-line {
  align-items: end;
  display: flex;
  justify-content: space-between;
}
.monitor-main-line small,
.target-label span,
.target-scale span,
.target-copy span {
  color: var(--muted);
  display: block;
  font-size: 10px;
  font-weight: 900;
}
.monitor-main-line strong {
  color: var(--ink);
  display: block;
  font-size: 22px;
  margin-top: 3px;
}
.monitor-main-line > span {
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  padding: 5px 8px;
}
.monitor-target-block {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  display: grid;
  gap: 9px;
  padding: 10px;
}
.target-label {
  align-items: center;
  display: flex;
  gap: 8px;
}
.target-label strong {
  color: var(--ink);
  font-size: 14px;
  margin-left: auto;
}
.icon-only,
.monitor-save-target {
  border: 1px solid var(--line);
  background: white;
  border-radius: 6px;
  color: var(--ink);
  font-weight: 950;
  min-height: 26px;
  padding: 0 8px;
}
.target-scale {
  align-items: center;
  display: grid;
  gap: 7px;
  grid-template-columns: auto 1fr auto;
}
.target-track {
  background: linear-gradient(90deg, #dbe7f3 0 62%, #fff3d9 62% 86%, #dff7e9 86% 100%);
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}
.target-track i {
  background: #111827;
  border-radius: inherit;
  display: block;
  height: 100%;
}
.target-copy {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.target-copy strong {
  color: var(--ink);
  font-size: 13px;
}
.priority-chip,
.monitor-footer span {
  background: #f3f6fb;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: #59677a;
  font-size: 11px;
  font-weight: 900;
  padding: 5px 8px;
}
.monitor-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.monitor-table-wrap {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: auto;
}
.monitor-table {
  border-collapse: collapse;
  min-width: 980px;
  width: 100%;
}
.monitor-table th,
.monitor-table td {
  border-bottom: 1px solid var(--line-soft);
  padding: 12px;
  text-align: left;
  vertical-align: middle;
}
.monitor-table th {
  background: #f4f7fb;
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}
.monitor-table td {
  font-size: 13px;
  font-weight: 850;
}
.monitor-table td span {
  color: var(--muted);
  display: block;
  font-size: 11px;
  margin-top: 3px;
}
.monitor-compact-list {
  display: grid;
  gap: 8px;
}
.monitor-compact-item {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1.2fr auto auto 1fr auto;
  padding: 10px 12px;
}
.monitor-compact-item strong span {
  color: var(--muted);
  display: block;
  font-size: 11px;
  margin-top: 2px;
}
.monitor-compact-item em {
  font-style: normal;
  font-weight: 950;
}
.monitor-compact-item small {
  color: var(--muted);
  font-weight: 850;
}

.content {
  padding: clamp(16px, 1.35vw, 24px);
  max-width: none;
  width: 100%;
  margin: 0;
}
.view { display: none; }
.view.active { display: block; }
.grid { display: grid; gap: 16px; }

.hero-band {
  min-height: 330px;
  color: white;
  background:
    linear-gradient(135deg, rgba(166,255,61,0.16), transparent 38%),
    linear-gradient(135deg, #08111f, #152033 62%, #0a111b);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(560px, 1.18fr);
  align-items: stretch;
  gap: 22px;
  box-shadow: var(--shadow);
}
.hero-value-head {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-top: 16px;
}
.hero-value-head span {
  color: rgba(255,255,255,0.78);
  font-size: 16px;
  font-weight: 900;
}
.hero-value-head select,
.hero-period-control select,
.hero-chart-filters select {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  color: white;
  min-height: 34px;
  padding: 0 10px;
  font-weight: 900;
}
.hero-value-head option,
.hero-period-control option,
.hero-chart-filters option {
  color: #111827;
}
.hero-main strong { display: block; font-size: clamp(38px, 5vw, 62px); margin-top: 12px; letter-spacing: 0; }
.hero-main p { line-height: 1.55; margin: 10px 0 0; font-size: 16px; font-weight: 950; }
.hero-change-copy {
  display: grid;
  gap: 3px;
  line-height: 1.35;
  margin-top: 12px;
}
.hero-change-copy span {
  display: block;
  font-size: 15px;
  font-weight: 950;
}
.hero-change-copy small {
  color: rgba(255,255,255,0.78);
  display: block;
  font-size: 13px;
  font-weight: 850;
}
.hero-empty-copy {
  display: grid;
  gap: 4px;
  line-height: 1.35;
  margin-top: 12px;
}
.hero-empty-copy span {
  color: rgba(255,255,255,0.9);
  display: block;
  font-size: 15px;
  font-weight: 950;
}
.hero-empty-copy small {
  color: rgba(255,255,255,0.68);
  display: block;
  font-size: 13px;
  font-weight: 850;
}
.hero-breakdown {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  display: grid;
  gap: 12px 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
  min-height: 112px;
  padding: 16px;
}
.hero-breakdown-title {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.86);
  display: block;
  font-size: 13px;
  font-weight: 950;
  grid-column: 1 / -1;
  margin-bottom: 0;
  padding-bottom: 10px;
}
.hero-breakdown span {
  color: rgba(255,255,255,0.58);
  display: block;
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 5px;
}
.hero-breakdown .hero-breakdown-title {
  color: rgba(255,255,255,0.86);
  font-size: 13px;
  font-weight: 950;
  margin-bottom: 0;
}
.hero-breakdown strong {
  color: white;
  font-size: 16px;
  margin: 0;
}
.hero-actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.hero-signal { display: none; }
.hero-spark {
  min-height: 280px;
  min-width: 0;
}
.hero-spark canvas {
  cursor: crosshair;
  display: block;
  height: 230px;
  min-height: 230px;
  width: 100%;
}
.wealth-chart-card {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025)),
    radial-gradient(circle at 28% 16%, rgba(166,255,61,0.13), transparent 34%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  min-height: 280px;
  overflow: hidden;
  padding: 16px;
}
.wealth-chart-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}
.wealth-chart-top span {
  color: rgba(255,255,255,0.62);
  display: block;
  font-size: 11px;
  font-weight: 900;
}
.wealth-chart-top strong {
  color: white;
  display: block;
  font-size: 18px;
  margin-top: 4px;
}
.wealth-range-tabs {
  align-items: center;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.wealth-range-tabs button,
.wealth-info {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 999px;
  color: white;
  cursor: pointer;
  font-weight: 950;
  min-height: 38px;
  min-width: 58px;
  padding: 0 16px;
}
.wealth-range-tabs button.active {
  background: #6559f6;
  border-color: #6559f6;
  box-shadow: 0 10px 26px rgba(101,89,246,0.34);
}
.wealth-info {
  align-items: center;
  border-color: rgba(255,255,255,0.45);
  color: rgba(255,255,255,0.72);
  display: inline-flex;
  justify-content: center;
  min-width: 30px;
  min-height: 30px;
  padding: 0;
}
.wealth-chart-tools {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.wealth-chart-tools label {
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 900;
}
.wealth-chart-tools select {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  color: white;
  min-height: 34px;
  padding: 0 12px;
  font-weight: 900;
}
.wealth-chart-tools option { color: #111827; }
.wealth-chart-mode {
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  display: flex;
  height: 32px;
  gap: 8px;
  padding: 3px;
}
.wealth-chart-mode span,
.wealth-chart-mode strong {
  align-items: center;
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-size: 14px;
  height: 24px;
  justify-content: center;
  width: 34px;
}
.wealth-chart-mode strong {
  background: #6559f6;
}
.wealth-chart-body {
  align-items: stretch;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
}
.wealth-chart-list {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: grid;
  align-content: start;
  gap: 0;
  min-width: 0;
  padding: 10px;
}
.wealth-chart-list header {
  margin-bottom: 6px;
}
.wealth-chart-list header span {
  color: rgba(255,255,255,0.58);
  display: block;
  font-size: 10px;
  font-weight: 900;
}
.wealth-chart-list header strong {
  color: white;
  display: block;
  font-size: 14px;
  margin-top: 2px;
}
.wealth-chart-list div {
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  display: flex;
  gap: 10px;
  justify-content: space-between;
  min-height: 30px;
}
.wealth-chart-list span {
  color: rgba(255,255,255,0.72);
  font-size: 11px;
  font-weight: 850;
}
.wealth-chart-list strong {
  color: white;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}
.wealth-chart-list footer {
  align-self: end;
  margin-top: 14px;
  text-align: right;
}
.wealth-chart-list footer strong {
  display: block;
  font-size: 19px;
  line-height: 1;
  margin-bottom: 7px;
}
.wealth-chart-list footer span {
  color: rgba(255,255,255,0.7);
  font-size: 10px;
  font-weight: 950;
}

.home-monitor-card {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(17,24,39,0.03);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(220px, 0.75fr) auto minmax(240px, 1fr) auto;
  margin: 16px 0;
  padding: 18px 20px;
}
.home-monitor-card span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 900;
}
.home-monitor-card strong {
  display: block;
  font-size: 22px;
  margin-top: 4px;
}
.home-monitor-stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.home-monitor-stats span {
  background: #f4f7fb;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: #59677a;
  padding: 7px 10px;
}
.dynamic-monitor-card {
  grid-template-columns: minmax(220px, 0.7fr) minmax(420px, 1.6fr) auto;
}
.dynamic-monitor-card .home-monitor-stats {
  gap: 10px;
}
.monitor-signal {
  align-items: center;
  display: inline-flex !important;
  gap: 8px;
  line-height: 1.2;
}
.monitor-signal i {
  border-radius: 999px;
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 13%, transparent);
  display: inline-block;
  flex: 0 0 auto;
  height: 9px;
  width: 9px;
}
.monitor-signal small {
  color: inherit;
  font-size: 11px;
  font-weight: 850;
  opacity: 0.78;
}
.monitor-signal.opportunity {
  background: color-mix(in srgb, var(--lime) 13%, white);
  border-color: color-mix(in srgb, var(--lime) 34%, var(--line));
  color: #276f0b;
}
.monitor-signal.opportunity i { background: var(--lime); }
.monitor-signal.attention {
  background: #fff7df;
  border-color: #f3d37d;
  color: #8a6200;
}
.monitor-signal.attention i { background: #f2b84b; }
.monitor-signal.closest {
  background: color-mix(in srgb, var(--blue) 11%, white);
  border-color: color-mix(in srgb, var(--blue) 28%, var(--line));
  color: #2459b7;
}
.monitor-signal.closest i { background: var(--blue); }
.home-monitor-card p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
  margin: 0;
}
.link-btn {
  background: #101827;
  border: 1px solid #101827;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  font-size: 13px;
  font-weight: 950;
  min-height: 40px;
  padding: 0 14px;
}
.monitor-page-note {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  display: grid;
  gap: 5px;
  margin-top: 16px;
  padding: 16px 18px;
}
.monitor-page-note strong {
  color: var(--ink);
  font-size: 18px;
}

.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 16px 0; }
.insight, .metric, .panel, .asset-group, .summary-card, .rent-card, .goal-card, .mini-asset {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(17,24,39,0.03);
}
.insight { padding: 18px; position: relative; overflow: hidden; }
.insight::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--lime); }
.insight.gold::before { background: var(--gold); }
.insight.blue::before { background: var(--blue); }
.insight.green::before { background: var(--green); }
.insight span { color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.insight strong { display: block; margin: 8px 0 6px; font-size: 18px; }
.insight p { margin: 0; color: var(--muted); line-height: 1.45; }

.objective-card {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface-2) 72%, transparent), transparent 46%),
    var(--surface);
  border: 1px solid color-mix(in srgb, var(--line) 82%, var(--blue));
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(17,24,39,0.07);
  display: grid;
  gap: 14px;
  margin: 16px 0;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.objective-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue), var(--green));
}
.objective-card > * {
  position: relative;
}
.objective-card.empty {
  align-items: center;
  grid-template-columns: 1fr auto;
}
.objective-card span,
.goal-meta-line span,
.drawer-kicker {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.objective-card h2 {
  font-size: 24px;
  margin: 6px 0;
}
.objective-card p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}
.objective-head {
  align-items: start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}
.objective-percent {
  background: #101827;
  border-radius: 999px;
  color: white;
  padding: 8px 12px;
  white-space: nowrap;
}
.objective-progress {
  background: var(--line-soft);
  border-radius: 999px;
  height: 14px;
  overflow: hidden;
}
.objective-progress i {
  background: linear-gradient(90deg, var(--lime), var(--green));
  display: block;
  height: 100%;
}
.objective-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.objective-grid div {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}
.objective-grid strong {
  display: block;
  font-size: 15px;
  margin-top: 5px;
}
.objective-grid small {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 850;
  margin-top: 4px;
}
.objective-message {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}
.objective-message strong {
  color: var(--ink);
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.objective-actions,
.goal-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 16px; }
.legacy-summary-hidden { display: none; }
.metric { padding: 18px; min-height: 138px; display: grid; align-content: start; gap: 8px; }
.metric span { color: var(--muted); font-size: 13px; font-weight: 900; }
.metric strong { font-size: 25px; }
.metric p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.positive { color: var(--green); }
.negative { color: var(--red); }
.pill { border-radius: 999px; padding: 4px 9px; background: #eef2f8; font-size: 12px; font-weight: 900; display: inline-flex; gap: 5px; align-items: center; width: fit-content; font-style: normal; }
.pill.green { color: var(--green); background: #e4faf4; }
.pill.red { color: var(--red); background: #ffeaf0; }
.pill.blue { color: #0054b8; background: #e7f0ff; }

.summary-snapshot-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr 1fr 1.25fr;
  margin-bottom: 16px;
}
.portfolio-page-summary .summary-snapshot-grid {
  margin-bottom: 18px;
}
#view-posicoes,
#view-posicoes .portfolio-page-summary,
#view-posicoes .summary-snapshot-grid,
#view-posicoes .asset-group,
#view-posicoes .table-scroll {
  max-width: none;
  width: 100%;
}
.snapshot-card {
  align-items: flex-start;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  min-height: 132px;
  overflow: hidden;
  padding: 18px;
  position: relative;
}
.snapshot-card::before {
  background: linear-gradient(180deg, var(--blue), var(--lime), var(--green));
  border-radius: 999px;
  bottom: 10px;
  content: "";
  left: 0;
  position: absolute;
  top: 10px;
  width: 4px;
}
.snapshot-card p {
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
  margin: 0 0 10px;
}
.snapshot-card strong {
  color: var(--ink);
  display: block;
  font-size: 22px;
  line-height: 1.15;
}
.snapshot-card small {
  color: var(--muted);
  display: block;
  font-size: 13px;
  line-height: 1.35;
  margin-top: 10px;
}
.snapshot-icon {
  align-items: center;
  background: #f0f2f7;
  border-radius: 999px;
  color: #59667e;
  display: inline-flex;
  flex: 0 0 34px;
  font-size: 11px;
  font-weight: 950;
  height: 34px;
  justify-content: center;
}
.snapshot-value-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.snapshot-split {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.snapshot-card-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-left: 18px;
}
.snapshot-card-split > div + div {
  border-left: 1px solid var(--line);
  padding-left: 22px;
}

.category-summary-list {
  display: grid;
  gap: 10px;
}
.category-summary-row {
  align-items: center;
  background: #fbfcff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 1.35fr 0.7fr 1.1fr 0.9fr 0.9fr 1.1fr;
  min-height: 76px;
  padding: 14px 16px;
}
.category-summary-row small {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 850;
  margin-bottom: 5px;
}
.category-summary-row strong {
  color: var(--ink);
  display: block;
  font-size: 15px;
}
.category-summary-name {
  align-items: center;
  display: flex;
}
.category-summary-name strong {
  font-size: 16px;
  font-weight: 950;
}

.dashboard-grid { grid-template-columns: 1.45fr 0.95fr; margin-top: 16px; }
.dashboard-grid-single { grid-template-columns: 1fr; }
.panel { padding: 22px 24px; min-width: 0; background: var(--surface); border-color: var(--line); }
.panel-header, .section-head, .goals-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 20px; }
.panel h2, .section-head h2, .goals-head h2 { margin: 0; font-size: 22px; letter-spacing: 0; }
.section-head p, .sell-center p { margin: 6px 0 0; color: var(--muted); line-height: 1.5; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters select { border: 1px solid var(--line); background: var(--surface); border-radius: 8px; min-height: 40px; padding: 0 12px; color: var(--ink); }
.chart-wrap { height: 300px; }
.line-chart-wrap { height: 390px; }
.dividend-evolution-panel {
  padding-bottom: 18px;
}
.provent-main-grid {
  align-content: start;
  gap: 16px;
}
.provent-main-grid .dividend-evolution-panel {
  align-self: start;
  margin-top: 0;
}
.dividend-chart-head {
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 0;
  padding-bottom: 12px;
}
.dividend-chart-controls {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.segmented-control {
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  display: flex;
  gap: 4px;
  padding: 4px;
}
.segmented-control button {
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  min-height: 32px;
  padding: 0 18px;
}
.segmented-control button.active {
  background: var(--surface);
  color: var(--blue);
  box-shadow: 0 8px 18px rgba(17,24,39,0.08);
}
.dividend-chart-controls select {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  min-height: 40px;
  padding: 0 14px;
  font-weight: 850;
}
.dividend-chart-legend {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: center;
  padding: 18px 0 2px;
}
.dividend-chart-legend span {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  gap: 7px;
  font-size: 12px;
  font-weight: 850;
}
.dividend-chart-legend span::before {
  border-radius: 4px;
  content: "";
  height: 14px;
  width: 14px;
}
.dividend-chart-legend .received::before { background: var(--lime); }
.dividend-chart-legend .pending::before { background: rgba(166,255,61,0.28); border: 1px solid rgba(166,255,61,0.38); }
.dividend-chart-wrap {
  height: 335px;
}
.dividend-chart-wrap canvas {
  cursor: pointer;
  display: block;
  width: 100%;
}
.legend { display: flex; justify-content: center; gap: 18px; margin-bottom: 10px; color: #394254; font-size: 13px; }
.legend span::before { content: ""; width: 24px; height: 14px; border-radius: 4px; display: inline-block; vertical-align: -2px; margin-right: 6px; background: var(--green); }
.legend span:nth-child(2)::before { background: #92e6be; }
.portfolio-summary-combo {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(520px, 1.4fr) minmax(360px, 0.8fr);
}
.donut-layout {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  min-height: 100%;
  padding: 8px 0 0;
}
.donut-stage {
  min-height: 300px;
  position: relative;
  width: min(390px, 100%);
}
.donut { width: min(220px, 62%); aspect-ratio: 1; border-radius: 50%; left: 50%; margin: 0; position: absolute; top: 50%; transform: translate(-50%, -50%); background: conic-gradient(var(--blue) 0 54%, var(--green) 54% 78%, var(--lime-2) 78% 100%); box-shadow: 0 18px 38px rgba(15,23,42,0.10), inset 0 0 0 1px rgba(255,255,255,0.2); }
.donut.small { width: 180px; }
.donut::after { content: ""; position: absolute; inset: 29%; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-soft), 0 8px 24px rgba(15,23,42,0.1); }
.donut::before { content: "Carteira"; position: absolute; inset: 39%; z-index: 1; display: grid; place-items: center; color: var(--muted); font-size: 12px; font-weight: 950; text-transform: uppercase; }
.donut-lines {
  inset: 0;
  pointer-events: none;
  position: absolute;
  width: 100%;
  height: 100%;
}
.donut-lines line {
  stroke: #0b1220;
  stroke-width: .45;
  vector-effect: non-scaling-stroke;
}
.donut-callout {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  position: absolute;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}
.donut-callout.right { transform: translate(0, -50%); }
.donut-callout.left { transform: translate(-100%, -50%); }
/* Legacy allocation-row styles retained for older cached markup. */
.allocation-row strong {
  color: var(--ink);
  display: grid;
  font-size: 15px;
  gap: 2px;
  justify-items: end;
}
.allocation-row strong small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}
.swatch { width: 14px; height: 14px; border-radius: 3px; display: inline-block; margin-right: 8px; vertical-align: -2px; }

.portfolio-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
.mini-asset { padding: 16px; display: grid; gap: 7px; }
.mini-asset span { color: var(--muted); font-size: 12px; font-weight: 900; }
.mini-asset strong { font-size: 20px; }
.mini-asset em { font-style: normal; font-weight: 900; }

.asset-group { overflow: hidden; margin-bottom: 16px; }
.asset-group[open] { box-shadow: var(--shadow); }
.group-head {
  cursor: pointer;
  display: grid;
  grid-template-columns: 1.35fr repeat(5, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 18px 24px;
  list-style: none;
}
.group-head::-webkit-details-marker { display: none; }
.group-name { display: flex; align-items: center; gap: 12px; font-size: 21px; font-weight: 950; }
.group-chevron {
  align-items: center;
  color: currentColor;
  display: inline-flex;
  font-size: 22px;
  font-weight: 950;
  height: 18px;
  justify-content: center;
  line-height: 1;
  opacity: .72;
  transition: transform .2s ease;
  width: 14px;
}
.asset-group[open] .group-chevron { transform: rotate(90deg); }
.group-column-btn {
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 8px;
  color: var(--surface);
  cursor: pointer;
  font-weight: 950;
  min-height: 36px;
  padding: 0 14px;
  white-space: nowrap;
}
.group-stat { text-align: center; color: #6a7893; font-size: 13px; font-weight: 850; }
.group-stat strong { display: block; margin-top: 5px; color: var(--ink); font-size: 16px; }
.metric-info-label {
  align-items: center;
  display: inline-flex;
  gap: 4px;
  justify-content: center;
  min-width: 0;
}
.metric-info {
  align-items: center;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--muted) 42%, transparent);
  border-radius: 999px;
  color: var(--muted);
  cursor: help;
  display: inline-flex;
  font-size: 9px;
  font-weight: 950;
  height: 14px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: relative;
  text-transform: uppercase;
  width: 14px;
}
.metric-info-pop {
  background: #101722;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.22);
  color: #fff;
  display: block;
  font-size: 12px;
  font-weight: 800;
  left: 50%;
  line-height: 1.45;
  max-width: min(280px, calc(100vw - 32px));
  opacity: 0;
  padding: 10px 12px;
  pointer-events: none;
  position: absolute;
  text-align: left;
  text-transform: none;
  top: calc(100% + 8px);
  transform: translateX(-50%) translateY(-2px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  visibility: hidden;
  width: max-content;
  z-index: 50;
}
.metric-info-pop strong {
  color: #fff;
  display: inline;
  font-size: 12px;
  margin: 0;
}
.metric-info:hover,
.metric-info:focus-visible {
  border-color: var(--green);
  color: var(--green);
}
.metric-info:hover .metric-info-pop,
.metric-info:focus-visible .metric-info-pop {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  visibility: visible;
}

.table-scroll { overflow-x: auto; border-top: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 980px; }
th, td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: right; font-size: 14px; }
th { background: #f0f3f7; color: #718096; font-size: 12px; font-weight: 850; }
th:first-child, td:first-child { text-align: left; position: sticky; left: 0; background: inherit; }
td:first-child { background: white; }
.asset-table th,
.asset-table td {
  font-size: 13px;
  padding: 11px 8px;
  white-space: nowrap;
}
.asset-table th {
  font-size: 11px;
}
.asset-table th:first-child,
.asset-table td:first-child {
  min-width: 150px;
  width: 150px;
}
.asset-target-input {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
  max-width: 118px;
  min-height: 32px;
  padding: 0 8px;
  text-align: right;
}
.asset-target-input:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime) 18%, transparent);
  outline: 0;
}
.asset-avg-input {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
  min-height: 32px;
  padding: 0 8px;
  text-align: right;
  width: 108px;
}
.asset-avg-input:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime) 18%, transparent);
  outline: 0;
}
.asset-editable-value {
  align-items: center;
  display: inline-flex;
  gap: 7px;
  justify-content: flex-end;
}
.asset-inline-edit {
  align-items: center;
  background: transparent;
  border: 0;
  color: color-mix(in srgb, var(--muted) 70%, transparent);
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 950;
  height: 24px;
  justify-content: center;
  padding: 0;
  width: 24px;
}
.asset-inline-edit:hover,
.asset-inline-edit:focus-visible {
  color: var(--green);
  outline: 0;
}
.asset-quota-input,
.asset-quota-empty,
.asset-situation-select {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
  min-height: 32px;
  padding: 0 8px;
}
.asset-quota-empty {
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  max-width: 92px;
  min-width: 54px;
}
.asset-quota-input {
  max-width: 92px;
  text-align: right;
}
.asset-situation-select {
  min-width: 112px;
}
.asset-quota-input:focus,
.asset-quota-empty:focus,
.asset-quota-empty:hover,
.asset-situation-select:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime) 18%, transparent);
  outline: 0;
}
.ticker-cell { display: flex; align-items: center; gap: 10px; font-weight: 900; }
.ticker-cell small { color: var(--muted); font-weight: 700; }
.ticker-cell[data-asset-hover] { cursor: crosshair; }
.asset-hover-chart {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--ink);
  display: grid;
  gap: 10px;
  max-width: 270px;
  padding: 14px;
  pointer-events: none;
  position: fixed;
  width: 260px;
  z-index: 80;
}
.asset-hover-head,
.asset-hover-foot {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.asset-hover-head strong { display: block; font-size: 14px; }
.asset-hover-head span,
.asset-hover-foot span {
  color: var(--muted);
  display: block;
  font-size: 11px;
  font-weight: 850;
}
.asset-hover-head em {
  font-style: normal;
  font-size: 12px;
  font-weight: 950;
}
.asset-hover-chart svg { height: 92px; width: 100%; }
.asset-hover-chart .mini-fill { fill: color-mix(in srgb, var(--lime) 18%, transparent); }
.asset-hover-chart .mini-line {
  fill: none;
  stroke: var(--lime);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}
.asset-hover-foot strong { font-size: 13px; }
.note-score { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: #282b33; color: white; font-weight: 950; }
.row-action { border: 0; border-radius: 999px; min-height: 32px; padding: 0 12px; font-weight: 900; }
.row-action.buy { background: #e4faf4; color: var(--green); }
.row-action.sell { background: #ffeaf0; color: var(--red); }

.movement-metrics { grid-template-columns: repeat(3, 1fr); margin-bottom: 16px; }
.movement-grid { grid-template-columns: 1fr; }
.movement-history-panel { margin-bottom: 16px; }
.movement-history-head {
  align-items: flex-start;
  gap: 16px;
}
.movement-history-head p {
  color: var(--muted);
  margin: 6px 0 0;
}
.transaction-history-table {
  min-width: 1080px;
}
.row-actions {
  display: inline-flex;
  gap: 8px;
  justify-content: flex-end;
}
.row-action {
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  min-height: 34px;
  padding: 0 11px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.row-action:hover {
  transform: translateY(-1px);
}
.row-action.edit {
  background: color-mix(in srgb, var(--lime) 18%, var(--surface));
  border-color: color-mix(in srgb, var(--lime) 45%, var(--line));
  color: var(--green);
}
.row-action.delete {
  background: rgba(255, 92, 122, 0.1);
  border-color: rgba(255, 92, 122, 0.32);
  color: var(--red);
}
.movement-filters {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(150px, 1fr));
  width: min(860px, 100%);
}
.movement-filters label {
  color: var(--muted);
  display: grid;
  font-size: 12px;
  font-weight: 850;
  gap: 6px;
}
.movement-filters input,
.movement-filters select {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  min-height: 40px;
  padding: 0 12px;
  font-weight: 800;
}
.movement-chart-panel { margin-top: 16px; }
.movement-chart-wrap {
  height: 340px;
  min-width: 0;
}
.movement-chart-wrap canvas {
  cursor: crosshair;
  display: block;
  width: 100%;
}
.movement-legend {
  display: flex;
  gap: 14px;
  font-size: 13px;
  font-weight: 850;
}
.movement-legend span {
  align-items: center;
  display: inline-flex;
  gap: 7px;
}
.movement-legend span::before {
  border-radius: 4px;
  content: "";
  height: 12px;
  width: 22px;
}
.movement-legend .buy::before { background: var(--green); }
.movement-legend .sell::before { background: var(--red); }
.split-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sell-list { display: grid; gap: 10px; margin-top: 18px; }
.sell-suggestion {
  border: 1px solid var(--line);
  background: #fbfcfe;
  border-radius: 8px;
  min-height: 66px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}
.sell-suggestion strong, .sell-suggestion small { display: block; }
.sell-suggestion small { color: var(--muted); margin-top: 4px; }
.sell-suggestion em { color: var(--red); font-style: normal; font-weight: 950; }

.split-page { display: grid; grid-template-columns: 340px 1fr; gap: 24px; }
.summary-card { padding: 18px; margin-bottom: 16px; }
.summary-card h3 { margin: 0 0 10px; }
.summary-card h2 { margin: 0 0 8px; }
.summary-card p { color: var(--muted); margin: 0 0 12px; }
.progress { height: 6px; background: #e9edf4; border-radius: 999px; overflow: hidden; }
.progress span { display: block; height: 100%; background: #53617f; }
.provent-summary-card {
  overflow: hidden;
  padding: 0;
}
.provent-summary-card h3 {
  font-size: 22px;
  margin: 0;
  padding: 18px 20px 8px;
}
.provent-summary-row {
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 8px;
  padding: 18px 20px;
}
.provent-total-grid {
  border-top: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.provent-total-grid .provent-summary-row {
  border-top: 0;
  min-width: 0;
  padding: 18px 16px;
}
.provent-total-grid .provent-summary-row + .provent-summary-row {
  border-left: 1px solid var(--line-soft);
}
.provent-summary-row:first-of-type {
  border-top: 0;
}
.provent-summary-row span,
.provent-distribution > span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.25;
}
.provent-summary-row strong {
  color: var(--ink);
  font-size: clamp(20px, 5.8vw, 24px);
  font-weight: 950;
  line-height: 1.12;
  white-space: nowrap;
}
.provent-average-head {
  align-items: baseline;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}
.provent-average-head strong {
  font-size: 22px;
}
.provent-average-head em {
  color: var(--ink);
  font-size: 16px;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}
.provent-target-box {
  background: linear-gradient(135deg, color-mix(in srgb, var(--lime) 10%, var(--surface)), var(--surface));
  border: 1px solid color-mix(in srgb, var(--lime) 24%, var(--line));
  border-radius: 10px;
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding: 10px;
}
.provent-target-box label {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) minmax(118px, 132px);
}
.provent-target-box span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}
.provent-target-box small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}
.provent-target-input {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  min-height: 36px;
  padding: 8px 10px;
  text-align: right;
  width: 100%;
}
.provent-target-input:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime) 22%, transparent);
  outline: 0;
}
.provent-target-progress {
  margin-top: 2px;
}
.provent-target-progress i {
  background: linear-gradient(90deg, var(--lime), var(--green));
}
.provent-distribution {
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 18px;
  padding: 20px 20px 22px;
}
.provent-donut-grid {
  align-items: center;
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
  justify-items: center;
}
.provent-donut {
  left: auto;
  margin: 0;
  position: relative;
  top: auto;
  transform: none;
  width: 150px;
}
.provent-donut::before {
  content: "";
  font-size: 10px;
}
.provent-donut-tooltip {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  color: white;
  display: none;
  min-width: 142px;
  padding: 10px 12px;
  pointer-events: none;
  position: absolute;
  z-index: 4;
}
.provent-donut-tooltip.show {
  display: grid;
  gap: 3px;
}
.provent-donut-tooltip strong {
  font-size: 14px;
  font-weight: 950;
}
.provent-donut-tooltip span {
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  font-weight: 850;
}
.provent-legend {
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 11px;
  padding-left: 0;
  padding-top: 14px;
  width: 100%;
}
.provent-legend div {
  align-items: center;
  display: grid;
  gap: 9px;
  grid-template-columns: 14px minmax(0, 1fr) auto;
}
.provent-legend i {
  border-radius: 4px;
  height: 14px;
  width: 14px;
}
.provent-legend b,
.provent-legend small {
  font-size: 13px;
  font-weight: 900;
}
.provent-legend small {
  color: var(--muted);
}
.provent-view-all {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: white;
  font-weight: 950;
  min-height: 38px;
  padding: 0 16px;
  justify-self: end;
  box-shadow: var(--shadow-soft);
}
.provent-view-all:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(17,24,39,0.18);
}
.dividend-distribution-modal {
  width: min(820px, 96vw);
}
.distribution-toggle {
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  display: flex;
  gap: 4px;
  margin: 0 auto 22px;
  padding: 4px;
  width: fit-content;
}
.distribution-toggle button {
  background: transparent;
  border: 0;
  border-radius: 9px;
  color: var(--ink);
  font-weight: 900;
  min-height: 34px;
  padding: 0 18px;
}
.distribution-toggle button.active {
  background: var(--surface);
  box-shadow: 0 8px 18px rgba(17,24,39,0.08);
}
.distribution-subtitle {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  margin: -4px 0 18px;
  text-align: center;
}
.distribution-modal-grid {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(300px, 1fr) minmax(250px, 0.8fr);
}
.distribution-modal-donut {
  display: grid;
  place-items: center;
  min-height: 390px;
}
.distribution-donut-large {
  left: auto;
  position: relative;
  top: auto;
  transform: none;
  width: min(380px, 90%);
}
.distribution-donut-large::before {
  content: "";
}
.distribution-modal-list {
  display: grid;
  gap: 9px;
}
.distribution-total {
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 12px 14px;
}
.distribution-total span,
.distribution-total strong {
  font-size: 16px;
  font-weight: 950;
}
.distribution-total strong {
  color: var(--green);
}
.distribution-line {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: 14px 1fr auto auto;
}
.distribution-line i {
  border-radius: 4px;
  height: 14px;
  width: 14px;
}
.distribution-line span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}
.distribution-line b,
.distribution-line strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}
.distribution-line strong {
  min-width: 86px;
  text-align: right;
}
.empty-line {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 850;
  padding: 12px;
}
.provent-history-panel,
.provent-table {
  overflow: hidden;
}
.provent-panel-head {
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 0;
  padding-bottom: 12px;
}
.provent-filter-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.provent-filter-row strong {
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  color: var(--ink);
  display: inline-flex;
  font-size: 14px;
  font-weight: 950;
  min-height: 40px;
  padding: 0 12px;
}
.provent-filter-row strong span {
  color: var(--green);
}
.provent-filter-row select {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 850;
  min-height: 40px;
  min-width: 150px;
  padding: 0 12px;
}
.provent-history-scroll,
.provent-table .table-scroll {
  border-top: 0;
}
.provent-history-table,
.provent-list-table {
  min-width: 1120px;
}
.provent-history-table th,
.provent-history-table td,
.provent-list-table th,
.provent-list-table td {
  font-size: 13px;
  padding: 13px 14px;
}
.provent-history-table th,
.provent-list-table th {
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}
.provent-history-table tbody tr:nth-child(even),
.provent-list-table tbody tr:nth-child(even) {
  background: color-mix(in srgb, var(--surface-2) 78%, transparent);
}
.provent-history-table td:first-child,
.provent-list-table td:first-child {
  background: inherit;
}
.provent-list-table .pill.neutral {
  background: var(--line-soft);
  color: var(--muted);
}
.provent-list-table .pill.green {
  background: rgba(0,168,132,0.12);
  color: var(--green);
}
.provent-list-table .pill.blue {
  background: rgba(71,121,217,0.14);
  color: var(--blue);
}
.provent-table table { min-width: 1180px; }
.rent-grid { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: stretch; }
.rent-cards { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rent-card { padding: 18px; min-height: 132px; display: grid; align-content: start; }
.rent-card h3 { margin: 0; }
.rent-card small { color: var(--muted); font-size: 12px; font-weight: 850; margin-top: 18px; }
.rent-card strong { font-size: 26px; display: block; margin: 8px 0 18px; }
.rent-card span { color: var(--muted); }
.performance-chart-panel {
  min-width: 0;
}
.performance-legend {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  padding: 12px 18px 0;
}
.performance-legend span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}
.performance-legend span::before {
  background: var(--legend-color, #c8cdd4);
  border-radius: 999px;
  content: "";
  display: inline-block;
  height: 9px;
  margin-right: 6px;
  width: 9px;
}
.performance-legend .wallet::before { background: var(--chart-primary); }
.benchmark-picker {
  position: relative;
}
.benchmark-picker summary {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font-weight: 850;
  min-height: 40px;
  padding: 0 34px 0 12px;
  position: relative;
  user-select: none;
}
.benchmark-picker summary::after {
  border: solid var(--muted);
  border-width: 0 2px 2px 0;
  content: "";
  height: 7px;
  position: absolute;
  right: 13px;
  top: 14px;
  transform: rotate(45deg);
  width: 7px;
}
.benchmark-picker summary::-webkit-details-marker {
  display: none;
}
.benchmark-menu {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 4px;
  min-width: 190px;
  padding: 8px;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
}
.benchmark-menu label {
  align-items: center;
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font-weight: 850;
  gap: 8px;
  padding: 9px 10px;
}
.benchmark-menu label:hover {
  background: var(--soft);
}
.benchmark-menu input {
  accent-color: var(--chart-primary);
}
.benchmark-dot {
  background: var(--benchmark-color);
  border-radius: 999px;
  height: 10px;
  width: 10px;
}
.performance-table-panel {
  margin-top: 16px;
}
.performance-table {
  border-collapse: collapse;
  min-width: 1180px;
  width: 100%;
}
.performance-table th,
.performance-table td {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  text-align: center;
  white-space: nowrap;
}
.performance-table th:first-child,
.performance-table td:first-child {
  text-align: left;
}
.performance-table th {
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}
.performance-table tbody tr:nth-child(even) {
  background: color-mix(in srgb, var(--surface-2) 72%, transparent);
}
.muted-cell {
  color: var(--muted);
  font-weight: 850;
}

.goals-wrap { max-width: 1080px; margin: 18px auto; }
.goal-card { padding: 24px; margin-bottom: 16px; }
.goal-card.complete .big-progress span { background: #95cdb3; }
.goal-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 21px; font-weight: 850; margin-bottom: 28px; }
.goals-head p { margin: 6px 0 0; color: var(--muted); }
.goal-section-title { margin: 22px 0 12px; }
.goal-meta-line {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -18px 0 8px;
}
.big-progress { height: 24px; background: #e7e9ee; border-radius: 8px; position: relative; margin: 28px 0 34px; }
.big-progress span { display: block; height: 100%; border-radius: inherit; background: #223657; }
.objective-list-card.primary-goal { border-color: rgba(166,255,61,0.5); box-shadow: 0 12px 30px rgba(20,28,44,0.08); }
.goal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.objective-list-card .goal-card-actions {
  margin-top: 22px;
  padding-top: 4px;
}
.goal-monthly-tracker {
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  margin-top: 14px;
  padding: 10px;
}
.goal-monthly-tracker > div {
  background: color-mix(in srgb, var(--surface-2) 78%, transparent);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  min-height: 58px;
  padding: 10px 12px;
}
.goal-monthly-tracker span {
  color: var(--muted);
  display: block;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}
.goal-monthly-tracker strong {
  color: var(--ink);
  display: block;
  font-size: 14px;
  margin-top: 6px;
}
.goal-monthly-tracker b {
  color: var(--green);
}
.goal-monthly-status strong {
  align-items: center;
  display: flex;
  gap: 8px;
}
.goal-monthly-status i {
  border-radius: 999px;
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 13%, transparent);
  display: inline-block;
  height: 9px;
  width: 9px;
}
.goal-monthly-tracker.below .goal-monthly-status strong { color: var(--red); }
.goal-monthly-tracker.below .goal-monthly-status i { background: var(--red); }
.goal-monthly-tracker.inside .goal-monthly-status strong { color: var(--green); }
.goal-monthly-tracker.inside .goal-monthly-status i { background: var(--green); }
.goal-monthly-tracker.above .goal-monthly-status strong { color: var(--blue); }
.goal-monthly-tracker.above .goal-monthly-status i { background: var(--blue); }
.goal-box { background: #f3f4f7; border-radius: 8px; padding: 16px; color: #606a7d; }
.goal-box strong { display: block; color: var(--ink); margin-top: 8px; }
.goal-box.dark { background: #1f3559; color: rgba(255,255,255,0.78); }
.goal-box.dark strong { color: white; }
.goal-empty {
  background: white;
  border: 1px dashed #c9d3e2;
  border-radius: 8px;
  padding: 28px;
  text-align: center;
}
.goal-empty strong { display: block; font-size: 20px; margin-bottom: 8px; }
.goal-empty p { color: var(--muted); margin: 0 auto 16px; max-width: 520px; }
.performance-empty {
  align-items: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  display: grid;
  gap: 8px;
  min-height: 320px;
  place-content: center;
  text-align: center;
}
.performance-empty strong {
  color: var(--ink);
  font-size: 18px;
}
.performance-empty span {
  font-size: 14px;
  font-weight: 800;
}
.goal-warning {
  background: #fff8e8;
  border: 1px solid #f3d59a;
  border-radius: 8px;
  color: #7a5a14;
  font-size: 13px;
  line-height: 1.45;
  margin: 16px 0 0;
  padding: 12px;
}
.check-row {
  align-items: center;
  display: flex;
  gap: 8px;
  font-weight: 850;
  margin-top: 14px;
}
.goal-calculator {
  background: #f7fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
  padding: 12px;
}
.goal-calculator div {
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 12px;
}
.goal-calculator div.wide {
  background: #101827;
  grid-column: 1 / -1;
}
.goal-calculator span {
  color: var(--muted);
  display: block;
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.goal-calculator strong {
  color: var(--ink);
  display: block;
  font-size: 15px;
}
.goal-calculator .wide span { color: rgba(255,255,255,0.68); }
.goal-calculator .wide strong { color: white; font-size: 18px; }
.goal-plan-explain {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  margin: 12px 0 0;
}
.goal-plan-field { margin-top: 12px; }
.auto-plan-box {
  background: #101827;
  border-radius: 8px;
  color: white;
  margin-bottom: 18px;
  padding: 14px;
}
.auto-plan-box span {
  color: rgba(255,255,255,0.62);
  display: block;
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.auto-plan-box strong {
  display: block;
  font-size: 17px;
}
.goal-modal .modal-actions {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 16px;
}

.drawer-backdrop {
  background: rgba(7,11,22,0.35);
  display: none;
  inset: 0;
  justify-content: flex-end;
  position: fixed;
  z-index: 22;
}
.drawer-backdrop.show { display: flex; }
.goal-drawer {
  background: white;
  box-shadow: -22px 0 50px rgba(15,23,42,0.18);
  height: 100%;
  max-width: 560px;
  overflow-y: auto;
  width: min(560px, 100%);
}
.drawer-body { display: grid; gap: 18px; padding: 22px; }
.drawer-body h3 { font-size: 26px; margin: 6px 0; }
.drawer-body p { color: var(--muted); line-height: 1.5; margin: 0; }
.detail-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.detail-list div {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 13px 14px;
}
.detail-list div + div { border-top: 1px solid var(--line); }
.detail-list span { color: var(--muted); font-weight: 850; }
.detail-list strong { text-align: right; }
.goal-history-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.goal-history-head {
  align-items: center;
  background: color-mix(in srgb, var(--surface-2) 78%, transparent);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
}
.goal-history-head strong {
  color: var(--ink);
}
.goal-history-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}
.goal-history-list {
  display: grid;
  max-height: 220px;
  overflow: auto;
}
.goal-history-row {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 0.8fr 1fr 1fr;
  padding: 12px 14px;
}
.goal-history-row + .goal-history-row {
  border-top: 1px solid var(--line);
}
.goal-history-row span,
.goal-history-row strong,
.goal-history-row em {
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}
.goal-history-row span {
  align-items: center;
  color: var(--ink);
  display: flex;
  gap: 8px;
}
.goal-history-row i {
  border-radius: 999px;
  display: inline-block;
  height: 9px;
  width: 9px;
}
.goal-history-row em {
  color: var(--muted);
  text-align: right;
}
.goal-history-row.hit strong,
.goal-history-row.inside strong { color: var(--green); }
.goal-history-row.hit i,
.goal-history-row.inside i { background: var(--green); }
.goal-history-row.below strong { color: var(--red); }
.goal-history-row.below i { background: var(--red); }
.goal-history-empty {
  color: var(--muted);
  font-weight: 850;
  padding: 14px;
}

.modal-backdrop { position: fixed; inset: 0; background: rgba(7,11,22,0.58); display: none; align-items: center; justify-content: center; padding: 16px; z-index: 20; backdrop-filter: blur(8px); }
.modal-backdrop.show { display: flex; }
.modal-card { width: min(660px, 100%); padding: 0; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; font-size: 22px; }
.transaction-head.buy h2 { color: var(--green); }
.transaction-head.sell h2 { color: var(--red); }
.modal-body { padding: 18px 20px 20px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; background: #f0f2f7; border-radius: 8px; padding: 4px; margin-bottom: 18px; }
.segmented button { border: 0; min-height: 40px; border-radius: 8px; font-weight: 900; color: #7a8598; }
.segmented button.active { background: white; color: var(--ink); box-shadow: 0 2px 7px rgba(17,24,39,0.08); }
.segmented button.active.success { color: var(--green); }
.segmented button.active.danger { color: var(--red); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.total-bar { background: #e2e5eb; border-radius: 8px; min-height: 42px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-weight: 950; margin: 22px 0; }
.modal-actions { display: flex; justify-content: space-between; gap: 12px; }
.profile-editor { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: start; }
.photo-picker { display: grid; justify-items: center; gap: 12px; }
.photo-picker .light-btn { color: var(--ink); background: #f4f7fb; border-color: var(--line); }
.monitor-wizard { width: min(720px, 100%); }
.monitor-wizard-single { width: min(760px, 100%); }
.allocation-modal { width: min(560px, 100%); }
.modal-helper {
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 16px;
}
.allocation-target-list {
  display: grid;
  gap: 10px;
}
.allocation-target-row {
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 110px auto;
  padding: 12px;
}
.allocation-target-row.no-remove {
  grid-template-columns: 1fr 130px;
}
.allocation-target-row span strong,
.allocation-target-row span small {
  display: block;
}
.allocation-target-row span small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  margin-top: 4px;
}
.allocation-target-row input {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  min-height: 42px;
  padding: 0 12px;
  text-align: right;
  font-weight: 950;
}
.allocation-remove {
  background: #fff1f3;
  border: 1px solid #ffd1d8;
  border-radius: 8px;
  color: var(--danger);
  cursor: pointer;
  font-weight: 950;
  min-height: 42px;
  padding: 0 12px;
}
.allocation-add-row {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto;
  margin-top: 12px;
}
.allocation-add-row select {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  min-height: 42px;
  padding: 0 12px;
  font-weight: 850;
}
.allocation-target-total {
  align-items: center;
  background: #fff8e8;
  border: 1px solid #f3d59a;
  border-radius: 8px;
  color: #7a5a14;
  display: flex;
  justify-content: space-between;
  margin: 14px 0 18px;
  padding: 12px;
  font-weight: 950;
}
.allocation-target-total.ok {
  background: #e4faf4;
  border-color: #b7f0df;
  color: var(--green);
}
.column-editor-modal { width: min(560px, 100%); }
.column-editor-modal .modal-head p {
  color: var(--muted);
  font-size: 13px;
  margin: 6px 0 0;
}
.column-section {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.column-section:first-of-type { padding-top: 0; }
.column-section h3 {
  color: var(--ink);
  font-size: 14px;
  margin: 0 0 14px;
}
.column-check-grid {
  display: grid;
  gap: 14px 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.column-check {
  align-items: center;
  color: #3b414c;
  display: flex;
  gap: 10px;
  font-weight: 800;
  line-height: 1.3;
}
.column-check input {
  accent-color: #252b35;
  height: 16px;
  width: 16px;
}
.column-check.locked {
  color: #8d96a6;
}
.column-check.locked input {
  opacity: .65;
}
.wizard-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.wizard-steps span {
  background: #edf2f7;
  border-radius: 999px;
  color: #728096;
  display: grid;
  font-size: 12px;
  font-weight: 950;
  height: 28px;
  place-items: center;
}
.wizard-steps span.active {
  background: #101827;
  color: white;
}
.wizard-step h3 {
  margin: 0 0 16px;
  font-size: 18px;
}
.monitor-single-step {
  display: grid;
  gap: 14px;
}
.monitor-price-config {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  gap: 10px;
  padding: 14px;
}
.monitor-price-config .field-hint {
  margin: -2px 0 0;
}
.asset-search-box {
  margin-bottom: 14px;
}
.asset-results {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  margin-top: 8px;
  max-height: 242px;
  overflow: auto;
}
.asset-results:empty {
  display: none;
}
.asset-result {
  background: white;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  text-align: left;
  width: 100%;
}
.asset-result:hover {
  background: #f2f5f9;
}
.asset-result strong {
  font-size: 13px;
  font-weight: 950;
}
.asset-result span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}
.asset-no-result {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  padding: 12px;
}
.asset-selected-result {
  background: linear-gradient(135deg, rgba(166, 255, 61, 0.16), rgba(0, 176, 135, 0.08));
  border: 1px solid rgba(0, 176, 135, 0.24);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  gap: 4px;
  margin-top: 8px;
  padding: 12px;
}
.asset-selected-result strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}
.asset-selected-result span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}
.transaction-asset-field {
  position: relative;
  z-index: 12;
}
.transaction-asset-results {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
  display: none;
  left: 0;
  max-height: 230px;
  overflow: auto;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 80;
}
.transaction-asset-results.show {
  display: block;
}
.transaction-asset-results .asset-result:last-child {
  border-bottom: 0;
}
.asset-no-result.compact {
  background: white;
}
.check-row {
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: flex;
  font-size: 13px;
  font-weight: 900;
  gap: 9px;
  margin-bottom: 14px;
  min-height: 44px;
  padding: 0 12px;
}
.transaction-keep-row {
  margin: 12px 0 0;
}
.confirm-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.confirm-box div {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}
.confirm-box span {
  color: var(--muted);
  display: block;
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 5px;
  text-transform: uppercase;
}
.confirm-box strong {
  font-size: 14px;
}
.modal-actions button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.toast { position: fixed; right: 18px; bottom: 18px; background: #11151f; color: white; border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; padding: 14px 16px; box-shadow: var(--shadow); display: none; z-index: 30; max-width: 360px; }
.toast.show { display: block; }

html[data-theme="dark"] .login-card,
html[data-theme="dark"] .objective-card,
html[data-theme="dark"] .summary-snapshot-grid .snapshot-card,
html[data-theme="dark"] .home-monitor-card,
html[data-theme="dark"] .goal-card,
html[data-theme="dark"] .goal-empty,
html[data-theme="dark"] .asset-group,
html[data-theme="dark"] .summary-card,
html[data-theme="dark"] .rent-card,
html[data-theme="dark"] .modal-card,
html[data-theme="dark"] .goal-drawer,
html[data-theme="dark"] .category-summary-row,
html[data-theme="dark"] .mini-asset,
html[data-theme="dark"] .sell-suggestion,
html[data-theme="dark"] .asset-results,
html[data-theme="dark"] .asset-result,
html[data-theme="dark"] .transaction-asset-results,
html[data-theme="dark"] .asset-no-result.compact {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
html[data-theme="dark"] .snapshot-icon,
html[data-theme="dark"] .goal-box,
html[data-theme="dark"] .objective-grid div,
html[data-theme="dark"] .goal-calculator,
html[data-theme="dark"] .goal-calculator div,
html[data-theme="dark"] .objective-message,
html[data-theme="dark"] .objective-progress,
html[data-theme="dark"] th,
html[data-theme="dark"] .total-bar {
  background: var(--surface-2);
  border-color: var(--line);
}
html[data-theme="dark"] td:first-child,
html[data-theme="dark"] td,
html[data-theme="dark"] .asset-result:hover {
  background: var(--surface-2);
}
html[data-theme="dark"] .topbar,
html[data-theme="dark"] .monitor-panel {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
}
html[data-theme="dark"] .monitor-signal.opportunity {
  background: rgba(166,255,61,0.12);
  border-color: rgba(166,255,61,0.28);
  color: #c9ff82;
}
html[data-theme="dark"] .monitor-signal.attention {
  background: rgba(242,184,75,0.13);
  border-color: rgba(242,184,75,0.28);
  color: #ffd987;
}
html[data-theme="dark"] .monitor-signal.closest {
  background: rgba(71,121,217,0.16);
  border-color: rgba(71,121,217,0.34);
  color: #a9c3ff;
}
html[data-theme="dark"] .objective-card {
  background:
    linear-gradient(135deg, rgba(71,121,217,0.14), transparent 46%),
    var(--surface);
  box-shadow: 0 16px 38px rgba(0,0,0,0.28);
}
html[data-theme="dark"] .objective-percent {
  background: #050a12;
  border: 1px solid var(--line);
}
html[data-theme="dark"] .goal-box.dark,
html[data-theme="dark"] .goal-calculator div.wide,
html[data-theme="dark"] .auto-plan-box {
  background: #07111f;
}
html[data-theme="dark"] .profile-button,
html[data-theme="dark"] .quote-refresh,
html[data-theme="dark"] .movement-filters input,
html[data-theme="dark"] .movement-filters select,
html[data-theme="dark"] .filters select {
  box-shadow: 0 8px 20px rgba(0,0,0,0.16);
}
html[data-theme="dark"] .logout-button {
  background: rgba(255,77,109,0.12);
  border-color: rgba(255,77,109,0.32);
}
html[data-theme="dark"] .pill {
  background: #1d293b;
}
html[data-theme="dark"] .allocation-target-total {
  background: rgba(242,184,75,0.12);
  border-color: rgba(242,184,75,0.34);
  color: #f7d38a;
}
html[data-theme="dark"] .allocation-target-total.ok {
  background: rgba(0,168,132,0.12);
  border-color: rgba(0,168,132,0.34);
  color: #5ee6c7;
}
html[data-theme="dark"] .column-check,
html[data-theme="dark"] .column-section h3 {
  color: var(--ink);
}
html[data-theme="dark"] .column-check.locked {
  color: var(--muted);
}
html[data-theme="dark"] .donut-lines line {
  stroke: #ffffff;
}

@media (min-width: 1720px) {
  .market-ribbon.cards { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 1380px) {
  .market-ribbon.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-band { grid-template-columns: 1fr; }
  .hero-spark canvas { height: 250px; min-height: 250px; }
}

@media (max-width: 1180px) {
  .app-shell { grid-template-columns: 1fr; }
  .side-nav { position: static; height: auto; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-items: center; }
  .side-user { display: none; }
  .side-nav nav { grid-column: 1 / -1; display: flex; overflow-x: auto; }
  .side-tab { white-space: nowrap; }
  .metrics, .insight-grid, .portfolio-strip { grid-template-columns: repeat(2, 1fr); }
  .summary-snapshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-summary-row { grid-template-columns: 1.2fr repeat(2, 1fr); }
  .objective-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-grid, .split-page, .rent-grid, .movement-grid { grid-template-columns: 1fr; }
  .dynamic-monitor-card { grid-template-columns: 1fr; }
  .portfolio-summary-combo { grid-template-columns: 1fr; }
  .group-head { grid-template-columns: 1.2fr repeat(2, 1fr) auto; }
}

@media (max-width: 980px) {
  .rent-cards { grid-template-columns: 1fr; }
  .market-ribbon.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .monitor-compact-item { grid-template-columns: 1fr 1fr; }
  .donut-layout { grid-template-columns: 1fr; }
  .wealth-chart-body { grid-template-columns: 1fr; }
  .wealth-chart-list { border-left: 1px solid rgba(255,255,255,0.1); border-top: 1px solid rgba(255,255,255,0.1); padding-left: 10px; padding-top: 10px; }
  .wealth-chart-list footer { text-align: left; }
}

@media (max-width: 720px) {
  .login-shell { grid-template-columns: 1fr; }
  .brand-panel { min-height: 56vh; padding: 24px 18px; }
  .proof-row, .metrics, .insight-grid, .portfolio-strip, .movement-metrics, .movement-filters, .form-grid, .goal-grid, .profile-editor { grid-template-columns: 1fr; }
  .summary-snapshot-grid, .snapshot-card-split, .category-summary-row { grid-template-columns: 1fr; }
  .snapshot-card-split > div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 16px; }
  .objective-card.empty, .objective-grid { grid-template-columns: 1fr; }
  .goal-monthly-tracker { grid-template-columns: 1fr; }
  .goal-history-row { grid-template-columns: 1fr; }
  .goal-history-row em { text-align: left; }
  .goal-calculator { grid-template-columns: 1fr; }
  .objective-head { flex-direction: column; }
  .objective-percent { width: fit-content; }
  .objective-actions, .goal-card-actions { justify-content: stretch; }
  .objective-actions button, .goal-card-actions button { width: 100%; }
  .login-copy h1 { font-size: 40px; }
  .login-side { padding: 18px; }
  .side-nav { padding: 16px; }
  .brand { width: 140px; height: 38px; }
  .topbar { align-items: flex-start; flex-direction: column; padding: 16px; }
  .title-row { align-items: flex-start; flex-direction: column; }
  .title-action-btn { width: 100%; }
  .top-actions { justify-content: flex-start; }
  .top-actions .data-status { width: 100%; text-align: left; }
  .profile-button span { display: none; }
  .logout-button { min-height: 34px; }
  .content { padding: 16px 10px 24px; }
  .monitor-panel { padding: 10px; }
  .monitor-head { align-items: flex-start; flex-direction: column; }
  .monitor-controls { justify-content: flex-start; width: 100%; }
  .monitor-controls select, .monitor-add { width: 100%; }
  .view-toggle { width: 100%; }
  .view-toggle button { flex: 1; }
  .market-ribbon.cards { grid-template-columns: 1fr; }
  .market-pill { min-width: 0; }
  .monitor-compact-item { grid-template-columns: 1fr; }
  .confirm-box { grid-template-columns: 1fr; }
  .allocation-target-row,
  .allocation-target-row.no-remove,
  .allocation-add-row { grid-template-columns: 1fr; }
  .column-check-grid { grid-template-columns: 1fr; }
  .hero-band, .panel { padding: 16px; }
  .hero-main strong { font-size: 38px; }
  .hero-breakdown { grid-template-columns: 1fr; }
  .wealth-chart-top { align-items: flex-start; flex-direction: column; gap: 14px; }
  .wealth-range-tabs { width: 100%; }
  .wealth-range-tabs button { flex: 1; min-width: 0; padding: 0 10px; }
  .wealth-chart-tools { align-items: stretch; flex-direction: column; }
  .wealth-chart-tools label { justify-content: space-between; }
  .wealth-chart-tools select { width: 100%; }
  .hero-spark canvas { height: 250px; min-height: 250px; }
  .home-monitor-card { grid-template-columns: 1fr; }
  .theme-toggle { width: 100%; justify-content: center; }
  .donut-list .allocation-row { grid-template-columns: 1fr; }
  .allocation-row strong { justify-items: start; }
  .donut-stage { min-height: 340px; }
  .home-monitor-stats { flex-direction: column; }
  .chart-wrap, .line-chart-wrap { height: 250px; }
  .group-head { grid-template-columns: 1fr; padding: 16px; }
  .group-stat { text-align: left; display: flex; justify-content: space-between; }
  .panel-header, .section-head, .goals-head, .modal-actions { align-items: flex-start; flex-direction: column; }
  .modal-actions button, .split-actions button { width: 100%; }
}

/* Responsive QA final cascade */
@media (max-width: 860px) {
  html,
  body,
  .app-shell {
    max-width: 100%;
    overflow-x: hidden;
  }

  .side-nav {
    max-width: 100vw;
    overflow: hidden;
  }

  .side-nav nav {
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .side-nav nav::-webkit-scrollbar {
    display: none;
  }

  .top-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .top-actions .data-status,
  .top-actions .quote-refresh,
  .top-actions .primary-btn,
  .top-actions .theme-toggle,
  .top-actions .profile-button,
  .top-actions .logout-button {
    width: 100%;
  }

  .top-actions .data-status {
    grid-column: 1 / -1;
  }

  .proof-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wealth-chart-body,
  .donut-layout,
  .provent-donut-grid,
  .distribution-modal-grid,
  .home-monitor-card,
  .category-summary-row,
  .group-head {
    grid-template-columns: 1fr;
  }

  .dividend-chart-head,
  .provent-panel-head,
  .movement-history-head,
  .section-head,
  .panel-header,
  .goals-head,
  .wealth-chart-top {
    align-items: stretch;
    flex-direction: column;
  }

  .dividend-chart-controls,
  .provent-filter-row,
  .movement-filters,
  .wealth-chart-tools,
  .filters {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .dividend-chart-controls select,
  .provent-filter-row select,
  .movement-filters input,
  .movement-filters select,
  .wealth-chart-tools select,
  .filters select {
    width: 100%;
  }

  .table-scroll,
  .monitor-table-wrap,
  .provent-history-scroll,
  .provent-table .table-scroll,
  .performance-table-panel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .modal-backdrop {
    align-items: flex-end;
    padding: 10px;
  }

  .modal-card {
    border-radius: 8px 8px 0 0;
    max-height: min(92vh, 820px);
    width: 100%;
  }

  .modal-body {
    max-height: calc(92vh - 76px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

@media (max-width: 520px) {
  .top-actions,
  .proof-row,
  .hero-breakdown {
    grid-template-columns: 1fr;
  }

  .hero-main strong {
    font-size: clamp(36px, 13vw, 52px);
    overflow-wrap: anywhere;
  }

  .hero-band,
  .panel,
  .summary-card,
  .objective-card,
  .home-monitor-card,
  .portfolio-summary-combo,
  .wealth-chart-card,
  .provent-summary-card,
  .dividend-evolution-panel,
  .movement-card,
  .movement-chart-card,
  .performance-card,
  .goal-card {
    padding: 14px;
  }

  .hero-actions,
  .objective-actions,
  .goal-card-actions,
  .modal-actions {
    flex-direction: column;
  }

  .hero-actions button,
  .objective-actions button,
  .goal-card-actions button,
  .modal-actions button {
    width: 100%;
  }
}

/* Final override pass */
html[data-theme="dark"] .app-shell {
  background:
    radial-gradient(circle at 88% -12%, rgba(166,255,61,0.13), transparent 24rem),
    linear-gradient(180deg, #070b12, #0b111c 45%, #070b12);
}

html[data-theme="dark"] .snapshot-card,
html[data-theme="dark"] .summary-snapshot-grid .snapshot-card,
html[data-theme="dark"] .panel,
html[data-theme="dark"] .chart-card,
html[data-theme="dark"] .portfolio-summary-combo,
html[data-theme="dark"] .composition-card,
html[data-theme="dark"] .performance-card,
html[data-theme="dark"] .movement-card,
html[data-theme="dark"] .movement-chart-card,
html[data-theme="dark"] .dividend-card,
html[data-theme="dark"] .dividend-side,
html[data-theme="dark"] .dividend-table-card,
html[data-theme="dark"] .wealth-chart-card,
html[data-theme="dark"] .objective-card,
html[data-theme="dark"] .home-monitor-card,
html[data-theme="dark"] .modal-card,
html[data-theme="dark"] .market-pill,
html[data-theme="dark"] .monitor-empty,
html[data-theme="dark"] .confirm-box div,
html[data-theme="dark"] .goal-detail-history,
html[data-theme="dark"] .goal-month-row,
html[data-theme="dark"] .goal-month-card,
html[data-theme="dark"] .distribution-modal-list,
html[data-theme="dark"] .distribution-modal-donut {
  background: color-mix(in srgb, var(--surface) 94%, #000);
  border-color: var(--line);
  color: var(--ink);
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea,
html[data-theme="dark"] .ghost-btn,
html[data-theme="dark"] .quote-refresh,
html[data-theme="dark"] .monitor-add,
html[data-theme="dark"] .monitor-ticker,
html[data-theme="dark"] .icon-only,
html[data-theme="dark"] .monitor-save-target,
html[data-theme="dark"] .asset-target-input,
html[data-theme="dark"] .asset-quota-input,
html[data-theme="dark"] .asset-situation-select,
html[data-theme="dark"] .view-toggle,
html[data-theme="dark"] .segmented,
html[data-theme="dark"] .segmented-control,
html[data-theme="dark"] .distribution-toggle {
  background: var(--surface-2);
  border-color: var(--line);
  color: var(--ink);
}

html[data-theme="dark"] tbody tr:hover td,
html[data-theme="dark"] td:first-child,
html[data-theme="dark"] td {
  background: color-mix(in srgb, var(--surface-2) 86%, #000);
}

html[data-theme="dark"] .monitor-actions div,
html[data-theme="dark"] .asset-hover-chart,
html[data-theme="dark"] .provent-donut-tooltip {
  background: rgba(14, 21, 33, 0.96);
  border-color: var(--line);
  color: var(--ink);
}

/* Landing page pricing polish - final cascade */
.marketing-site #planos.premium-pricing-section {
  background:
    radial-gradient(circle at 88% 8%, rgba(166, 255, 61, 0.18), transparent 24rem),
    linear-gradient(135deg, #07101f 0%, #0f1c2c 56%, #152a24 100%);
  border: 1px solid rgba(158, 177, 198, 0.36);
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.12);
  color: #ffffff;
  margin: 36px auto 72px;
  padding: clamp(34px, 5vw, 64px);
}

.marketing-site #planos.premium-pricing-section .pricing-headline {
  align-items: end;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0 0 28px;
  max-width: none;
}

.marketing-site #planos.premium-pricing-section .pricing-headline .eyebrow {
  background: rgba(166, 255, 61, 0.12);
  border-color: rgba(166, 255, 61, 0.46);
  color: #a6ff3d;
  grid-column: 1 / -1;
}

.marketing-site #planos.premium-pricing-section .pricing-headline h2 {
  color: #ffffff;
  font-size: clamp(34px, 4.4vw, 56px);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
  max-width: 760px;
}

.marketing-site #planos.premium-pricing-section .pricing-headline p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  font-weight: 750;
  grid-column: 1;
  line-height: 1.55;
  margin: 0;
  max-width: 680px;
}

.marketing-site .landing-section-cta {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 30px 0 34px;
  width: 100%;
}

.marketing-site .landing-section-cta .primary-btn {
  border-radius: 14px;
  min-height: 58px;
  max-width: 340px;
  min-width: 260px;
  padding-inline: 30px;
  width: fit-content;
  box-shadow: 0 22px 46px rgba(72, 255, 64, 0.22);
}

.marketing-site .resources-section-cta {
  margin: 34px 0 0;
}

.marketing-site .pricing-section-cta {
  margin: 22px 0 32px;
}

.marketing-site .pricing-headline-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  grid-column: 2;
  grid-row: 2 / span 2;
  justify-content: flex-end;
}

.marketing-site .pricing-headline-actions .pricing-trial-btn {
  margin: 0;
  min-height: 54px;
  white-space: nowrap;
}

.marketing-site #planos.premium-pricing-section .pricing-headline-actions .pricing-full-note {
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(166, 255, 61, 0.30);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  color: #172033;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  max-width: 390px;
  padding: 14px 16px;
}

.marketing-site #planos.premium-pricing-section .pricing-headline-actions .pricing-full-note strong {
  color: #07101f;
  font-size: 13px;
  font-weight: 950;
}

.marketing-site #planos.premium-pricing-section .pricing-headline-actions .pricing-full-note span {
  color: #526176;
  font-size: 13px;
  font-weight: 850;
}

.marketing-site .premium-pricing-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.marketing-site .premium-pricing-grid .price-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(158, 177, 198, 0.42);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.09);
  min-height: 0;
  padding: clamp(24px, 3vw, 34px);
}

.marketing-site .premium-pricing-grid .price-card:hover {
  border-color: rgba(0, 168, 132, 0.45);
  box-shadow: 0 28px 74px rgba(15, 23, 42, 0.14);
  transform: translateY(-3px);
}

.marketing-site .premium-pricing-grid .price-card.featured {
  background:
    radial-gradient(circle at 82% 0%, rgba(166, 255, 61, 0.16), transparent 23rem),
    linear-gradient(145deg, #07101f, #132033);
  border-color: rgba(166, 255, 61, 0.55);
  box-shadow: 0 28px 90px rgba(0, 168, 132, 0.18);
}

.marketing-site .plan-card-top {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.marketing-site .premium-pricing-grid .price-card .plan-card-top span {
  color: #66738a;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.marketing-site .premium-pricing-grid .price-card.featured .plan-card-top span {
  color: rgba(255, 255, 255, 0.72);
}

.marketing-site .plan-card-top em {
  background: rgba(166, 255, 61, 0.14);
  border: 1px solid rgba(0, 168, 132, 0.24);
  border-radius: 999px;
  color: #007b64;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  padding: 8px 11px;
}

.marketing-site .price-card.featured .plan-card-top em {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.86);
}

.marketing-site .premium-pricing-grid .price-card > strong {
  color: #07101f;
  display: block;
  font-size: clamp(54px, 6vw, 82px);
  letter-spacing: 0;
  line-height: 0.95;
  margin: 28px 0 20px;
}

.marketing-site .premium-pricing-grid .price-card.featured > strong {
  color: #ffffff;
}

.marketing-site .premium-pricing-grid .price-card p {
  color: #5f6b80;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.55;
  margin: 0 0 24px;
  max-width: 480px;
  min-height: 0;
}

.marketing-site .premium-pricing-grid .price-card.featured p {
  color: rgba(255, 255, 255, 0.76);
}

.marketing-site .plan-included-note {
  background: linear-gradient(135deg, rgba(166, 255, 61, 0.18), rgba(0, 168, 132, 0.10));
  border: 1px solid rgba(0, 168, 132, 0.22);
  border-radius: 14px;
  color: #0f513f;
  font-size: 14px;
  font-weight: 950;
  margin: 0 0 18px;
  padding: 15px 16px;
}

.marketing-site .price-card.featured .plan-included-note {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
}

.marketing-site .price-card.featured .plan-economy-highlight {
  background: linear-gradient(135deg, rgba(166, 255, 61, 0.24), rgba(0, 168, 132, 0.16));
  border: 1px solid rgba(166, 255, 61, 0.42);
  border-radius: 18px;
  color: #ffffff;
  margin: 0 0 18px;
  padding: 18px 20px;
}

.marketing-site .price-card.featured .plan-economy-highlight span {
  color: rgba(255, 255, 255, 0.76);
  display: block;
  font-size: 14px;
  font-weight: 950;
  margin-bottom: 8px;
}

.marketing-site .price-card.featured .plan-economy-highlight strong {
  color: #ffffff;
  display: block;
  font-size: clamp(46px, 5.4vw, 68px);
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0;
}

.marketing-site .premium-pricing-grid .pricing-link {
  border-radius: 12px;
  min-height: 56px;
  width: 100%;
}

@media (max-width: 980px) {
  .marketing-site .premium-pricing-section .pricing-headline,
  .marketing-site .premium-pricing-grid {
    grid-template-columns: 1fr;
  }

  .marketing-site .pricing-headline-actions {
    grid-column: auto;
    grid-row: auto;
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .marketing-site .premium-pricing-section {
    border-radius: 18px;
    margin: 24px 12px 48px;
    padding: 28px 18px;
  }

  .marketing-site .pricing-headline-actions,
  .marketing-site .pricing-headline-actions .pricing-trial-btn {
    width: 100%;
  }

  .marketing-site .premium-pricing-grid .price-card > strong,
  .marketing-site .price-card.featured .plan-economy-highlight strong {
    font-size: 48px;
  }
}

/* Final mobile-only landing overrides. Keep desktop and /sistema untouched. */
@media (max-width: 860px) {
  .marketing-site .marketing-nav {
    align-items: center !important;
    background: rgba(8, 15, 29, 0.96) !important;
    border-radius: 0 !important;
    display: grid !important;
    gap: 12px !important;
    grid-template-columns: 1fr auto !important;
    margin: 0 !important;
    padding: 14px 16px !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 90 !important;
  }

  .marketing-site .marketing-brand img {
    height: auto !important;
    max-width: 148px !important;
  }

  .marketing-site .marketing-menu-toggle {
    align-items: center !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 14px !important;
    display: inline-flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    height: 44px !important;
    justify-content: center !important;
    justify-self: end !important;
    padding: 0 !important;
    width: 44px !important;
  }

  .marketing-site .marketing-menu-toggle span {
    background: #ffffff !important;
    border-radius: 999px !important;
    display: block !important;
    height: 2px !important;
    transition: transform 0.2s ease, opacity 0.2s ease !important;
    width: 18px !important;
  }

  .marketing-site .marketing-menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg) !important;
  }

  .marketing-site .marketing-menu-toggle.open span:nth-child(2) {
    opacity: 0 !important;
  }

  .marketing-site .marketing-menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg) !important;
  }

  .marketing-site .marketing-nav-panel {
    background: #ffffff !important;
    border: 1px solid rgba(148, 163, 184, 0.28) !important;
    border-radius: 18px !important;
    box-shadow: 0 22px 50px rgba(2, 6, 23, 0.24) !important;
    display: none !important;
    gap: 6px !important;
    grid-column: 1 / -1 !important;
    grid-template-columns: 1fr !important;
    overflow: visible !important;
    padding: 8px !important;
    width: 100% !important;
  }

  .marketing-site .marketing-nav-panel.open {
    display: grid !important;
  }

  .marketing-site .marketing-nav-panel a {
    border-radius: 12px !important;
    color: #0b1220 !important;
    display: block !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    padding: 13px 14px !important;
    text-decoration: none !important;
  }

  .marketing-site .marketing-nav-panel a:hover,
  .marketing-site .marketing-nav-panel a:focus-visible {
    background: rgba(166, 255, 61, 0.16) !important;
    color: #0f513f !important;
    outline: none !important;
  }

  .marketing-site .marketing-actions {
    background: #ffffff !important;
    border: 1px solid rgba(148, 163, 184, 0.28) !important;
    border-radius: 18px !important;
    box-shadow: 0 22px 50px rgba(2, 6, 23, 0.18) !important;
    display: none !important;
    gap: 10px !important;
    grid-column: 1 / -1 !important;
    grid-template-columns: 1fr !important;
    padding: 10px !important;
    width: 100% !important;
  }

  .marketing-site .marketing-actions.open {
    display: grid !important;
  }

  .marketing-site .marketing-actions button,
  .marketing-site .marketing-cta button,
  .marketing-site .pricing-trial-btn,
  .marketing-site .final-cta-actions button {
    justify-content: center !important;
    min-height: 48px !important;
    width: 100% !important;
  }

  .marketing-site .marketing-login {
    background: #f8fafc !important;
    border-color: #d6e0ec !important;
    color: #0b1220 !important;
  }

  .marketing-site .marketing-hero {
    display: grid !important;
    gap: 28px !important;
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    padding: 36px 16px 48px !important;
  }

  .marketing-site .marketing-copy h1,
  .marketing-site .clarity-section h2,
  .marketing-site .honest-tool-section h2,
  .marketing-site .pricing-headline h2,
  .marketing-site .final-cta h2,
  .marketing-site .section-title h2 {
    font-size: clamp(32px, 9vw, 48px) !important;
    line-height: 1.02 !important;
    max-width: 100% !important;
  }

  .marketing-site .marketing-copy p,
  .marketing-site .section-title p,
  .marketing-site .pricing-headline p,
  .marketing-site .final-cta p {
    font-size: 16px !important;
    line-height: 1.55 !important;
  }

  .marketing-site .trial-strip {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 6px !important;
    padding: 14px 16px !important;
  }

  .marketing-site .landing-hero-device {
    display: block !important;
    min-height: auto !important;
    padding: 0 !important;
  }

  .marketing-site .desktop-frame {
    border-radius: 18px !important;
    left: auto !important;
    max-width: 100% !important;
    position: relative !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
  }

  .marketing-site .desktop-frame img,
  .marketing-site .feature-story-shot img {
    height: auto !important;
    max-height: 360px !important;
    object-fit: cover !important;
    object-position: left top !important;
    width: 100% !important;
  }

  .marketing-site .mobile-frame {
    display: none !important;
  }

  .marketing-site .clarity-section,
  .marketing-site .feature-showcase,
  .marketing-site .honest-tool-section,
  .marketing-site .premium-section,
  .marketing-site .pricing-section,
  .marketing-site .faq-section,
  .marketing-site .final-cta {
    padding: 56px 16px !important;
  }

  .marketing-site .clarity-grid,
  .marketing-site .honest-tool-grid,
  .marketing-site .premium-grid,
  .marketing-site .faq-grid,
  .marketing-site .pricing-grid {
    grid-template-columns: 1fr !important;
  }

  .marketing-site .feature-story-card,
  .marketing-site .feature-story-card.reverse,
  .marketing-site .pricing-headline,
  .marketing-site .final-cta-card {
    border-radius: 22px !important;
    gap: 22px !important;
    grid-template-columns: 1fr !important;
    padding: 22px !important;
  }

  .marketing-site .feature-story-card.reverse .feature-story-copy {
    order: 0 !important;
  }

  .marketing-site .feature-story-shot {
    border-radius: 18px !important;
    max-width: 100% !important;
    overflow: hidden !important;
    width: 100% !important;
  }

  .marketing-site .pricing-headline-actions,
  .marketing-site .pricing-full-note,
  .marketing-site .final-cta-actions {
    width: 100% !important;
  }
}

@media (max-width: 520px) {
  .marketing-site .marketing-copy h1,
  .marketing-site .clarity-section h2,
  .marketing-site .honest-tool-section h2,
  .marketing-site .pricing-headline h2,
  .marketing-site .final-cta h2,
  .marketing-site .section-title h2 {
    font-size: 34px !important;
  }

  .marketing-site .feature-story-copy h3 {
    font-size: 34px !important;
    line-height: 1.02 !important;
  }

  .marketing-site .desktop-frame img,
  .marketing-site .feature-story-shot img {
    max-height: 300px !important;
  }
}

/* Mobile landing refinement: no menu, swipe cards and compact FAQ. */
@media (max-width: 860px) {
  .marketing-site .marketing-menu-toggle,
  .marketing-site .marketing-nav-panel,
  .marketing-site .marketing-nav-panel.open {
    display: none !important;
  }

  .marketing-site .marketing-nav {
    grid-template-columns: 1fr !important;
  }

  .marketing-site .marketing-actions {
    display: none !important;
  }

  .marketing-site .marketing-actions .secondary-btn,
  .marketing-site .marketing-actions .primary-btn {
    justify-content: center !important;
    min-height: 48px !important;
    width: 100% !important;
  }

  .marketing-site .honest-tool-section {
    overflow: hidden !important;
  }

  .marketing-site .honest-tool-section h2 {
    margin-bottom: 14px !important;
  }

  .marketing-site .honest-tool-section h2::after {
    color: #00a884 !important;
    content: "Deslize para ver mais >>>";
    display: block !important;
    font-size: 13px !important;
    font-weight: 950 !important;
    letter-spacing: 0 !important;
    line-height: 1.3 !important;
    margin-top: 16px !important;
    text-transform: uppercase !important;
  }

  .marketing-site .honest-tool-grid {
    display: flex !important;
    gap: 14px !important;
    grid-template-columns: none !important;
    margin-left: -2px !important;
    margin-right: -16px !important;
    overflow-x: auto !important;
    padding: 8px 16px 18px 2px !important;
    scroll-padding-left: 2px !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
  }

  .marketing-site .honest-tool-grid::-webkit-scrollbar {
    display: none !important;
  }

  .marketing-site .honest-tool-grid article {
    flex: 0 0 min(82vw, 310px) !important;
    min-height: 172px !important;
    scroll-snap-align: start !important;
  }

  .marketing-site .premium-grid {
    display: grid !important;
    gap: 12px !important;
    grid-template-columns: 1fr !important;
  }

  .marketing-site .premium-grid article {
    align-items: start !important;
    background: #ffffff !important;
    border: 1px solid rgba(148, 163, 184, 0.28) !important;
    border-radius: 16px !important;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08) !important;
    display: grid !important;
    gap: 4px 12px !important;
    grid-template-columns: 34px 1fr !important;
    padding: 18px !important;
  }

  .marketing-site .premium-grid article::before {
    align-items: center !important;
    background: linear-gradient(135deg, #a6ff3d, #00a884) !important;
    border-radius: 999px !important;
    box-shadow: 0 10px 24px rgba(34, 197, 94, 0.22) !important;
    color: #07111f !important;
    content: "✓" !important;
    display: inline-flex !important;
    font-size: 16px !important;
    font-weight: 950 !important;
    height: 28px !important;
    justify-content: center !important;
    margin-top: 1px !important;
    width: 28px !important;
  }

  .marketing-site .premium-grid strong,
  .marketing-site .premium-grid p {
    grid-column: 2 !important;
  }

  .marketing-site .premium-grid strong {
    color: #07111f !important;
    font-size: 17px !important;
    margin: 0 !important;
  }

  .marketing-site .premium-grid p {
    color: #5f6b80 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
  }

  .marketing-site .faq-grid {
    gap: 10px !important;
  }

  .marketing-site .faq-card {
    background: #ffffff !important;
    border: 1px solid rgba(148, 163, 184, 0.28) !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.07) !important;
    overflow: hidden !important;
    padding: 0 !important;
  }

  .marketing-site .faq-card summary {
    align-items: center !important;
    cursor: pointer !important;
    display: flex !important;
    gap: 14px !important;
    justify-content: space-between !important;
    list-style: none !important;
    min-height: 58px !important;
    padding: 16px 18px !important;
  }

  .marketing-site .faq-card summary::-webkit-details-marker {
    display: none !important;
  }

  .marketing-site .faq-card summary strong {
    color: #07111f !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
    margin: 0 !important;
  }

  .marketing-site .faq-card summary span {
    align-items: center !important;
    background: rgba(166, 255, 61, 0.18) !important;
    border: 1px solid rgba(0, 168, 132, 0.24) !important;
    border-radius: 999px !important;
    color: #00a884 !important;
    display: inline-flex !important;
    flex: 0 0 28px !important;
    font-size: 18px !important;
    font-weight: 950 !important;
    height: 28px !important;
    justify-content: center !important;
  }

  .marketing-site .faq-card[open] summary span {
    transform: rotate(45deg) !important;
  }

  .marketing-site .faq-card p {
    border-top: 1px solid rgba(148, 163, 184, 0.22) !important;
    color: #5f6b80 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    margin: 0 !important;
    padding: 0 18px 18px !important;
  }
}

/* Final landing FAQ cleanup */
.marketing-site .faq-section .faq-grid {
  align-items: start !important;
  display: grid !important;
  gap: 14px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.marketing-site .faq-section .faq-card {
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06) !important;
  overflow: hidden !important;
  padding: 0 !important;
}

.marketing-site .faq-section .faq-card summary {
  align-items: center !important;
  cursor: pointer !important;
  display: flex !important;
  gap: 18px !important;
  justify-content: space-between !important;
  list-style: none !important;
  padding: 22px 24px !important;
}

.marketing-site .faq-section .faq-card summary::-webkit-details-marker {
  display: none !important;
}

.marketing-site .faq-section .faq-card summary::marker {
  content: "" !important;
}

.marketing-site .faq-section .faq-card summary strong {
  color: #07111f !important;
  font-size: 18px !important;
  font-weight: 950 !important;
  line-height: 1.25 !important;
  margin: 0 !important;
}

.marketing-site .faq-section .faq-card summary span {
  align-items: center !important;
  background: rgba(166, 255, 61, 0.18) !important;
  border: 1px solid rgba(0, 168, 132, 0.24) !important;
  border-radius: 999px !important;
  color: #00a884 !important;
  display: inline-flex !important;
  flex: 0 0 30px !important;
  font-size: 19px !important;
  font-weight: 950 !important;
  height: 30px !important;
  justify-content: center !important;
  transition: transform 0.18s ease, background 0.18s ease !important;
}

.marketing-site .faq-section .faq-card[open] summary span {
  transform: rotate(45deg) !important;
}

.marketing-site .faq-section .faq-card p {
  border-top: 1px solid rgba(148, 163, 184, 0.22) !important;
  color: #5f6b80 !important;
  font-size: 14px !important;
  font-weight: 720 !important;
  line-height: 1.58 !important;
  margin: 0 !important;
  padding: 0 24px 22px !important;
}

@media (max-width: 760px) {
  .marketing-site .faq-section .faq-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Landing page mobile polish */
@media (max-width: 860px) {
  .marketing-site {
    overflow-x: hidden;
  }

  .marketing-site .landing-hero,
  .marketing-site .clarity-section,
  .marketing-site .feature-showcase,
  .marketing-site .honest-tool-section,
  .marketing-site .premium-section,
  .marketing-site .premium-pricing-section,
  .marketing-site .faq-section,
  .marketing-site .disclaimer-section,
  .marketing-site .final-cta {
    padding-block: 44px !important;
  }

  .marketing-site .landing-hero {
    gap: 30px !important;
    text-align: center !important;
  }

  .marketing-site .marketing-copy,
  .marketing-site .section-title,
  .marketing-site .pricing-headline,
  .marketing-site .final-cta-card > div:first-child {
    align-items: center !important;
    text-align: center !important;
  }

  .marketing-site .marketing-copy h1,
  .marketing-site .clarity-section h2,
  .marketing-site .feature-showcase .section-title h2,
  .marketing-site .honest-tool-section h2,
  .marketing-site .premium-section .section-title h2,
  .marketing-site .pricing-headline h2,
  .marketing-site .faq-section .section-title h2,
  .marketing-site .final-cta h2 {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .marketing-site .marketing-copy p,
  .marketing-site .section-title p,
  .marketing-site .pricing-headline p,
  .marketing-site .final-cta p {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .marketing-site .marketing-cta,
  .marketing-site .landing-section-cta,
  .marketing-site .resources-section-cta,
  .marketing-site .pricing-section-cta,
  .marketing-site .final-cta-actions {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .marketing-site .marketing-cta .primary-btn,
  .marketing-site .landing-section-cta .primary-btn,
  .marketing-site .resources-section-cta .primary-btn,
  .marketing-site .pricing-section-cta .primary-btn,
  .marketing-site .final-cta-actions .primary-btn,
  .marketing-site .final-cta-secondary {
    align-self: center !important;
    max-width: 92vw !important;
    min-width: min(280px, 86vw) !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    width: fit-content !important;
  }

  .marketing-site .trial-strip {
    align-items: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 360px !important;
    text-align: center !important;
  }

  .marketing-site .trial-strip strong,
  .marketing-site .trial-strip span {
    text-align: center !important;
  }

  .marketing-site .clarity-grid,
  .marketing-site .honest-tool-grid,
  .marketing-site .premium-grid,
  .marketing-site .pricing-grid,
  .marketing-site .faq-grid {
    margin-top: 22px !important;
  }

  .marketing-site .feature-story,
  .marketing-site .premium-pricing-grid {
    gap: 22px !important;
  }

  .marketing-site .disclaimer-section {
    margin-inline: auto !important;
    max-width: calc(100% - 28px) !important;
    text-align: center !important;
  }

  .marketing-site .disclaimer-section strong,
  .marketing-site .disclaimer-section p {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }
}

@media (max-width: 520px) {
  .marketing-site .landing-hero,
  .marketing-site .clarity-section,
  .marketing-site .feature-showcase,
  .marketing-site .honest-tool-section,
  .marketing-site .premium-section,
  .marketing-site .premium-pricing-section,
  .marketing-site .faq-section,
  .marketing-site .disclaimer-section,
  .marketing-site .final-cta {
    padding-block: 36px !important;
  }

  .marketing-site .marketing-cta .primary-btn,
  .marketing-site .landing-section-cta .primary-btn,
  .marketing-site .resources-section-cta .primary-btn,
  .marketing-site .pricing-section-cta .primary-btn,
  .marketing-site .final-cta-actions .primary-btn,
  .marketing-site .final-cta-secondary {
    min-height: 48px !important;
    min-width: min(250px, 84vw) !important;
  }

  .marketing-site .trial-strip {
    max-width: 300px !important;
    padding: 12px 16px !important;
  }
}

/* Landing CTA polish: keep primary actions looking like buttons, not full-width bars. */
.marketing-site .marketing-cta,
.marketing-site .landing-section-cta,
.marketing-site .resources-section-cta,
.marketing-site .pricing-section-cta,
.marketing-site .final-cta-actions {
  align-items: center !important;
  justify-content: center !important;
}

.marketing-site .landing-hero button[data-start-trial].primary-btn,
.marketing-site .marketing-cta button[data-start-trial].primary-btn,
.marketing-site .landing-section-cta button[data-start-trial].primary-btn,
.marketing-site .resources-section-cta button[data-start-trial].primary-btn,
.marketing-site .pricing-section-cta button[data-start-trial].primary-btn,
.marketing-site .final-cta-actions button[data-start-trial].primary-btn,
.marketing-site .premium-pricing-grid .pricing-link {
  align-self: center !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  justify-content: center !important;
  max-width: 340px !important;
  min-width: 250px !important;
  padding-left: 28px !important;
  padding-right: 28px !important;
  width: fit-content !important;
}

.marketing-site .premium-pricing-grid .pricing-link {
  min-height: 52px !important;
}

@media (max-width: 760px) {
  .marketing-site .landing-hero button[data-start-trial].primary-btn,
  .marketing-site .marketing-cta button[data-start-trial].primary-btn,
  .marketing-site .landing-section-cta button[data-start-trial].primary-btn,
  .marketing-site .resources-section-cta button[data-start-trial].primary-btn,
  .marketing-site .pricing-section-cta button[data-start-trial].primary-btn,
  .marketing-site .final-cta-actions button[data-start-trial].primary-btn,
  .marketing-site .premium-pricing-grid .pricing-link {
    max-width: calc(100vw - 72px) !important;
    min-width: min(240px, 78vw) !important;
    padding-left: 22px !important;
    padding-right: 22px !important;
    width: fit-content !important;
  }
}
