/* The catalog sits behind the hero; the reading column remains clear. */
:root { --brand: #4f59d8; --brand-deep: #3b43b1; --brand-soft: rgba(79,89,216,.10); }
:root[data-theme="dark"] { --brand: #929cff; --brand-deep: #4f59d8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --brand: #929cff; --brand-deep: #4f59d8; } }
::selection { color: var(--fg); background: var(--brand-soft); }
.hero { position: relative; isolation: isolate; }
.hero > .wrap { position: relative; z-index: 1; }
.hero-copy { max-width: 740px; }
.hero-copy h1 { font-size: clamp(3.3rem, 6.5vw, 5.8rem); line-height: 1.02; letter-spacing: -.04em; max-width: 14ch; }
.hero-copy .lede { max-width: 39rem; }
#app-field { position: absolute; inset: 20px 0 auto; width: 100%; height: 560px; z-index: 0; opacity: .55; pointer-events: none; mask-image: linear-gradient(100deg, transparent 28%, #000 80%), linear-gradient(#000 70%, transparent); mask-composite: intersect; }
.catalog-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 8px; }
.catalog-controls a { font-weight: 600; text-decoration-thickness: 1px; }
.motion-toggle { background: var(--surface); color: var(--fg-2); border: 1px solid var(--line); border-radius: 7px; padding: 10px 13px; min-height: 44px; font: 500 .8125rem var(--font); cursor: pointer; }
.motion-toggle:hover { color: var(--fg); border-color: var(--fg-2); }
.motion-toggle[hidden] { display: none; }
.catalog-note { font-size: .8125rem; color: var(--fg-2); max-width: 70ch; margin-top: 24px; }
.feature-directory { scroll-margin-top: 90px; }
.feature-directory .section-head { max-width: 48rem; }
.feature-directory .section-head h2 { max-width: 22ch; }
.feature-directory details { border-top: 1px solid var(--line); }
.feature-directory details:last-child { border-bottom: 1px solid var(--line); }
.feature-directory summary { font-size: clamp(1.125rem, 2.5vw, 1.5rem); font-weight: 600; padding: 25px 44px 25px 0; cursor: pointer; list-style: none; position: relative; letter-spacing: -.02em; }
.feature-directory summary::-webkit-details-marker { display: none; }
.feature-directory summary::after { content: '+'; position: absolute; right: 8px; color: var(--brand); font-weight: 400; font-size: 1.6rem; line-height: 1; }
.feature-directory details[open] summary::after { content: '−'; }
.feature-directory summary:hover { color: var(--brand); }
.feature-entries { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: 64px; row-gap: 28px; padding: 0 0 36px; }
.feature-entries h3 { font-size: 1rem; letter-spacing: -.01em; margin-bottom: 8px; }
.feature-entries p { color: var(--fg-2); font-size: .9375rem; max-width: 65ch; }
.brand .mark, .final .mark { background: transparent; box-shadow: none; }
.brand .mark img { display: block; width: 100%; height: 100%; max-width: none; aspect-ratio: 1; object-fit: contain; }
.final .mark img { width: 100%; height: 100%; max-width: none; aspect-ratio: 1; object-fit: contain; }
@media (max-width: 700px) {
  .feature-entries { grid-template-columns: minmax(0,1fr); gap: 24px; }
  #app-field { opacity: .18; mask-image: linear-gradient(100deg, transparent 15%, #000 95%); }
  .hero-copy h1 { font-size: clamp(2.9rem, 11vw, 4.5rem); }
  .catalog-controls { gap: 8px 16px; }
}
@media (prefers-reduced-motion: reduce) { #app-field-toggle { display: none; } }
/* Keep white labels readable while using lighter indigo for dark-mode links. */
.btn-primary, .consent .mini-btn.go, .sec-btn, .side-item.sel { background: #4f59d8; color: #fff; }
.btn-primary:hover { background: #3b43b1; }
.dash-hero, .price-card { background: linear-gradient(135deg, #4f59d8, #3b43b1); }

.brand .mark { width: 48px; min-width: 48px; height: 48px; flex: 0 0 48px; aspect-ratio: 1; }

.coverage-note { margin-top: 26px; max-width: 80ch; color: var(--fg-2); font-size: .8125rem; line-height: 1.6; }

/* Community evidence has its own prominent place before the product walkthrough. */
.safety-spotlight { scroll-margin-top: 100px; }
.safety-layout { display: grid; grid-template-columns: 1.1fr 1fr; align-items: start; gap: clamp(32px, 6vw, 80px); }
.safety-copy h2 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.08; max-width: 12ch; margin-bottom: 22px; }
.safety-copy .safety-lead { color: var(--fg); font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.4; font-weight: 500; margin-bottom: 16px; }
.safety-copy > p { color: var(--fg-2); max-width: 55ch; }
.safety-privacy { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--fg-2); }
.safety-privacy a { display: inline-block; margin-top: 12px; }
.safety-preview { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(22px, 3vw, 36px); }
.safety-state + .safety-state { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.safety-state h3 { display: flex; align-items: center; gap: 10px; font-size: 1.0625rem; margin-bottom: 9px; }
.safety-state p { font-size: .9375rem; color: var(--fg-2); }
.safety-indicator { width: 10px; height: 10px; flex: 0 0 10px; border-radius: 50%; background: var(--fg-2); }
.safety-indicator-0 { background: var(--green); }
.safety-indicator-1 { background: var(--orange); }
.safety-note { margin-top: 28px; font-size: .8125rem; color: var(--fg-2); }
.catalog-controls .safety-hero-link { color: var(--fg); }
@media (max-width: 760px) { .safety-layout { grid-template-columns: minmax(0, 1fr); } .safety-copy h2 { max-width: none; } }

.comparison { padding-top: 0; scroll-margin-top: 100px; }
.comparison .section-head { max-width: 48rem; }
.comparison-table { border-collapse: collapse; width: 100%; text-align: left; font-size: .9375rem; }
.comparison-table th, .comparison-table td { padding: 24px 22px 24px 0; vertical-align: top; border-bottom: 1px solid var(--line); }
.comparison-table thead th { color: var(--fg-2); font-size: .8125rem; font-weight: 500; }
.comparison-table tbody th { width: 17%; font-size: 1rem; }
.comparison-table td { width: 39%; color: var(--fg-2); }
.comparison-table td:last-child { color: var(--fg); padding-right: 0; }
.comparison-note { margin-top: 24px; color: var(--fg-2); font-size: .8125rem; max-width: 95ch; }
@media (max-width: 700px) {
  .comparison-table, .comparison-table tbody, .comparison-table tr { display: block; }
  .comparison-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .comparison-table tbody th, .comparison-table td { display: block; width: 100%; border: 0; padding: 0; }
  .comparison-table tr { border-bottom: 1px solid var(--line); padding: 26px 0; }
  .comparison-table tbody th { margin-bottom: 18px; font-size: 1.1875rem; }
  .comparison-table td + td { margin-top: 18px; }
  .comparison-table td::before { content: attr(data-label); display: block; font-size: .8125rem; color: var(--brand); margin-bottom: 6px; font-weight: 600; }
}

.final .mark { width: 96px; height: 96px; }
