/* Shared landing-site system, loaded after legacy CSS. Hero artwork owns its styles. */
:root {
  --site-text: #f4f5f7;
  --site-muted: #b0b2b8;
  --site-caption: #969aa3;
  --site-border: rgba(255, 255, 255, .14);
  --site-surface: #101112;
  --site-radius: 6px;
  --site-field-radius: 10px;
  --site-field-blur: 16px;
  --site-field-background: linear-gradient(135deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .035));
  --site-field-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 8px 28px rgba(0, 0, 0, .18);
  --site-field-focus: 0 0 0 3px rgba(var(--brand-blue-rgb), .24);
  --site-field-error: 0 0 0 2px rgba(239, 68, 68, .65);
  --site-space-1: 8px;
  --site-space-2: 12px;
  --site-space-3: 16px;
  --site-space-4: 24px;
  --site-space-5: 32px;
  --site-space-6: 48px;
  --site-space-7: 64px;
  --site-section-space: var(--site-space-7);
  --site-column-gap: var(--site-space-7);
  --site-title-size: 38px;
  --site-title-leading: 44px;
  --site-page-title-size: 48px;
  --site-page-title-leading: 54px;
  --site-body-size: 16px;
  --site-body-leading: 26px;
  --site-small-size: 14px;
  --site-small-leading: 22px;
  --site-label-size: 12px;
}
.section, .section--lg { padding-block: var(--site-section-space); }
.section-title { margin-bottom: var(--site-space-3); color: var(--site-text); font-size: var(--site-title-size); line-height: var(--site-title-leading); font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
.section-sub { margin-bottom: var(--site-space-5); color: var(--site-muted); font-size: var(--site-body-size); line-height: var(--site-body-leading); }
.section-label { margin-bottom: var(--site-space-3); color: var(--site-caption); font-size: var(--site-label-size); line-height: 18px; font-weight: 500; letter-spacing: .06em; }
.btn { border-radius: var(--site-radius); font-size: var(--site-small-size); line-height: var(--site-small-leading); font-weight: 600; min-height: 48px; justify-content: center; }
.btn-primary, .btn-primary:hover { box-shadow: none; }
.btn-primary::after { display: none; }
.nav-cta .btn { min-height: 44px; }
.nav-links { margin-left: auto; }
:where(a, button, summary, input, [tabindex]):focus-visible { outline: 2px solid var(--brand-blue-bright); outline-offset: 4px; }

/* FAQ uses the same two columns as the product and company sections. */
.faq-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: var(--site-column-gap); align-items: start; }
.faq-layout > .section-title { max-width: 18ch; margin: 0; }
.faq-list { width: 100%; max-width: none; margin: 0; gap: 0; border-top: 1px solid var(--site-border); }
.faq-item, .faq-item.open { border: 0; border-bottom: 1px solid var(--site-border); border-radius: 0; }
.faq-q { padding: var(--site-space-4) var(--site-space-3); color: var(--site-text); font-size: var(--site-body-size); line-height: var(--site-body-leading); font-weight: 500; background: transparent; }
.faq-q svg { color: var(--site-caption); }
.faq-q:hover { background: rgba(255, 255, 255, .025); }
.faq-a { padding: 0 var(--site-space-3); }
#faq .faq-item.open .faq-a { max-height: none; padding: var(--site-space-4) var(--site-space-3); }
.faq-a p { color: var(--site-muted); font-size: var(--site-body-size); line-height: var(--site-body-leading); }

/* Waitlist: readable supporting text, aligned controls and a quiet surface. */
.cta-band { border-top: 1px solid var(--site-border); }
.cta-band-glow, .waitlist-glow { display: none; }
#waitlist .section-title { max-width: 640px; margin: 0 auto var(--site-space-3); text-align: center; }
#waitlist .section-sub { max-width: 60ch; margin: 0 auto var(--site-space-5); text-align: center; font-size: var(--site-body-size); line-height: var(--site-body-leading); }
.waitlist-form { max-width: 560px; gap: var(--site-space-2); }
.waitlist-form input, .waitlist-form .btn { min-height: 52px; border-radius: var(--site-radius); line-height: 24px; }
.waitlist-form input {
  min-width: 0;
  font-size: 16px;
  color: var(--site-text);
  border: 1px solid transparent;
  border-radius: var(--site-field-radius);
  background: var(--site-field-background);
  box-shadow: var(--site-field-shadow);
  -webkit-backdrop-filter: blur(var(--site-field-blur));
  backdrop-filter: blur(var(--site-field-blur));
  transition: box-shadow 200ms ease, background-color 200ms ease;
}
.waitlist-form input::placeholder { color: var(--site-muted); }
.waitlist-form input:hover { background-color: rgba(255, 255, 255, .025); }
.waitlist-form input:focus {
  border-color: transparent;
  background: var(--site-field-background);
  box-shadow: var(--site-field-shadow), var(--site-field-focus);
}
.waitlist-form input:focus-visible { outline: 2px solid var(--brand-blue-bright); outline-offset: 3px; }
.waitlist-form input.input-error {
  border-color: transparent;
  background: var(--site-field-background);
  box-shadow: var(--site-field-shadow), var(--site-field-error);
}
.waitlist-form .btn { text-align: center; justify-content: center; font-size: 16px; }
.waitlist-note, #waitlist-privacy, .step2-sub, .involvement-desc, .waitlist-error { color: var(--site-muted); font-size: var(--site-small-size); line-height: var(--site-small-leading); }
.waitlist-note { margin-top: var(--site-space-2); }
.step2-title { margin-bottom: var(--site-space-2); font-size: 20px; line-height: 28px; font-weight: 600; }
.step2-sub { margin-bottom: var(--site-space-3); overflow-wrap: anywhere; }
.step2-sub button { color: var(--brand-blue-bright); text-decoration: underline; text-underline-offset: 3px; }
.involvement-card { padding: var(--site-space-3); border-radius: var(--site-radius); background: var(--site-surface); }
.involvement-label { font-size: var(--site-body-size); line-height: 24px; }
.involvement-options { gap: var(--site-space-2); }
.involvement-text { min-width: 0; }
.involvement-card:focus-within { outline: 2px solid var(--brand-blue-bright); outline-offset: 3px; }
#waitlist-step2-btn { border-radius: var(--site-radius); min-height: 52px; font-size: 16px; }
.waitlist-success { border-radius: var(--site-radius); font-size: var(--site-body-size); line-height: var(--site-body-leading); }

/* Footer: compact groups with comfortable touch targets. */
.footer { padding: var(--site-space-6) 0 var(--site-space-4); border-color: var(--site-border); }
.footer-grid { gap: var(--site-space-5); margin-bottom: var(--site-space-5); }
.footer-brand p, .footer .footer-copy { color: var(--site-caption); font-size: var(--site-small-size); line-height: var(--site-small-leading); }
.footer .footer-copy { margin-top: var(--site-space-3); }
.footer h2 { margin-bottom: var(--site-space-2); color: var(--site-text); font-size: var(--site-label-size); line-height: 18px; font-weight: 700; }
.footer a, .footer-grid .footer-modal-btn { color: var(--site-muted); font-size: var(--site-small-size); line-height: var(--site-small-leading); min-height: 44px; padding-block: 11px; overflow-wrap: anywhere; }
.footer .footer-logo-link { width: fit-content; padding: 0; min-height: 44px; }
.footer-bottom { padding-top: var(--site-space-3); border-color: var(--site-border); }
.footer-legal { gap: var(--site-space-4); }
.footer-legal a { display: inline-flex; align-items: center; }

/* Secondary-page titles and article reading rhythm. */
.blog-h1, .article-h1, .careers-hero h1, .policy-content h1 { color: var(--site-text); font-size: var(--site-page-title-size); line-height: var(--site-page-title-leading); font-weight: 600; letter-spacing: -.035em; margin-bottom: var(--site-space-4); text-wrap: balance; }
.blog-header { padding: 132px 0 var(--site-space-6); }
.blog-header::before, .careers-hero .hero-glow-top { display: none; }
.blog-intro, .careers-hero .hero-sub { color: var(--site-muted); font-size: var(--site-body-size); line-height: var(--site-body-leading); margin: 0; }
.blog-section { padding: 0 0 var(--site-section-space); }
.blog-grid { margin-bottom: var(--site-space-6); }
.blog-card, .blog-card-featured { padding: var(--site-space-5); background: transparent; border-color: var(--site-border); border-radius: var(--site-radius); }
.blog-card-featured::after { display: none; }
a.blog-card:hover { transform: none; background: var(--site-surface); }
.blog-card-title, .blog-card-featured .blog-card-title { max-width: 34ch; font-size: 26px; line-height: 34px; font-weight: 600; }
.blog-card-excerpt, .blog-newsletter-sub { color: var(--site-muted); font-size: var(--site-body-size); line-height: var(--site-body-leading); }
.blog-card-meta, .article-meta { color: var(--site-caption); font-size: var(--site-small-size); line-height: var(--site-small-leading); }
.blog-card-tag, .article-tag { font-size: var(--site-label-size); line-height: 18px; }
.blog-newsletter { padding: var(--site-space-5) 0 0; text-align: left; background: transparent; border: 0; border-top: 1px solid var(--site-border); border-radius: 0; }
.blog-newsletter-inner { max-width: 640px; margin: 0; }
.blog-newsletter-title { font-size: 26px; line-height: 34px; font-weight: 600; margin-bottom: var(--site-space-3); }
.article { padding-block: 132px var(--site-section-space); }
.article-header { margin-bottom: var(--site-space-5); }
.article-subtitle { color: var(--site-muted); font-size: var(--site-body-size); line-height: var(--site-body-leading); font-style: normal; }
.article-body { font-size: var(--site-body-size); line-height: var(--site-body-leading); }
.article-body p { margin-bottom: var(--site-space-4); }
.article-body h2 { font-size: 26px; line-height: 34px; font-weight: 600; margin: var(--site-space-6) 0 var(--site-space-3); text-wrap: pretty; }
.article-body h3 { font-size: 20px; line-height: 28px; margin: var(--site-space-5) 0 var(--site-space-3); }
.article-body li { line-height: var(--site-body-leading); }
.article-toc { padding: var(--site-space-4); border-radius: var(--site-radius); border-color: var(--site-border); }
.article-toc li { font-size: var(--site-body-size); }
.article-toc .toc-title { color: var(--site-caption); }
.article-table-wrap { max-width: 100%; border-radius: var(--site-radius); border-color: var(--site-border); overscroll-behavior-x: contain; }
.article-table { width: 100%; min-width: 640px; max-width: none; table-layout: fixed; }
.article-table th, .article-table td { padding: var(--site-space-3); font-size: var(--site-small-size); line-height: var(--site-small-leading); vertical-align: top; }
.article-table th { text-transform: none; letter-spacing: 0; color: var(--site-text); }
.table-scroll-hint { display: none; color: var(--site-caption); font-size: var(--site-small-size); line-height: var(--site-small-leading); }

/* Native disclosures retain the historical role descriptions. */
.careers-hero { min-height: 0; padding: 132px 0 var(--site-space-6); text-align: left; }
.careers-hero .container { max-width: 1200px; }
.careers-hero .hero-sub { max-width: 65ch; }
.careers-hero .hero-badge { margin-bottom: var(--site-space-4); box-shadow: none; background: transparent; border-color: var(--site-border); }
.careers-hero .badge-info { font-size: var(--site-small-size); }
.careers-hero .badge-dot { display: none; }
.careers-hero .badge-closed { color: var(--site-muted) !important; background: transparent !important; }
.careers-hero + #roles { padding-top: 0; }
.roles-list { display: grid; grid-template-columns: 1fr; gap: var(--site-space-3); }
.role-card, .role-card-closed, .challenge-card-closed { opacity: 1; background: transparent; border: 1px solid var(--site-border); border-radius: var(--site-radius); padding: 0; }
.role-card-closed::after { display: none; }
.role-card:hover { transform: none; border-color: var(--site-border); }
.role-card-head, .archive-summary { display: flex; align-items: center; gap: var(--site-space-3); padding: var(--site-space-4); margin: 0; cursor: pointer; list-style: none; }
.role-card-head::-webkit-details-marker, .archive-summary::-webkit-details-marker { display: none; }
.role-card-head::after, .archive-summary::after { content: '+'; margin-left: auto; color: var(--site-caption); font-size: 24px; line-height: 24px; }
details[open] > .role-card-head::after, details[open] > .archive-summary::after { content: '−'; }
.role-title { display: flex; align-items: center; flex-wrap: wrap; gap: var(--site-space-3); font-size: 20px; line-height: 28px; font-weight: 600; }
.role-tag-closed { color: var(--site-caption) !important; background: transparent !important; border-color: var(--site-border) !important; font-size: var(--site-label-size); }
.role-archive-content { padding: 0 var(--site-space-4) var(--site-space-4); }
.role-tagline, .role-col li, .challenge-card p { color: var(--site-muted); font-size: var(--site-body-size); line-height: var(--site-body-leading); }
.role-col h4 { color: var(--site-caption); font-size: var(--site-label-size); }
.archive-summary { color: var(--site-text); font-size: var(--site-body-size); line-height: var(--site-body-leading); font-weight: 500; }
.careers-secret { padding: 0; }
.careers-secret:has(.secret-reveal:target) { padding-block: var(--site-section-space); }

/* Policy pages share a reading column, navigation and heading scale. */
.policy-header, .policy-content, .policy-footer { max-width: 800px; }
.policy-header { padding-top: var(--site-space-5); }
.policy-header a { display: inline-flex; min-height: 44px; align-items: center; }
.policy-header img { width: 178px; height: 36px; }
.policy-content h2 { margin: var(--site-space-5) 0 var(--site-space-2); font-size: 20px; line-height: 28px; font-weight: 600; }
.policy-content p { color: var(--site-muted); font-size: var(--site-body-size); line-height: var(--site-body-leading); margin-bottom: var(--site-space-3); }
.policy-content a { overflow-wrap: anywhere; text-underline-offset: 3px; }
.policy-footer { padding-bottom: var(--site-space-5); }
.policy-footer nav { display: flex; flex-wrap: wrap; gap: var(--site-space-4); border-top: 1px solid var(--site-border); padding-top: var(--site-space-3); }
.policy-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--site-caption); font-size: var(--site-small-size); }
.nf-glow { display: none; }
.nf-title { font-weight: 600; line-height: 1.2; }
.nf-cta { border-radius: var(--site-radius); }

@media (max-width: 900px) {
  :root { --site-column-gap: var(--site-space-5); }
}
@media (max-width: 768px) {
  :root { --site-section-space: var(--site-space-6); --site-title-size: 30px; --site-title-leading: 36px; --site-page-title-size: 32px; --site-page-title-leading: 38px; --site-body-leading: 25px; }
  .faq-layout { grid-template-columns: 1fr; gap: var(--site-space-5); }
  .faq-layout > .section-title { max-width: none; }
  .faq-q { padding-inline: var(--site-space-3); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--site-space-4); text-align: left; }
  .footer-brand, .footer-grid > :last-child { grid-column: 1 / -1; }
  .footer-brand p { max-width: 40ch; margin-inline: 0; }
  .footer-bottom { align-items: flex-start; text-align: left; }
  .footer-legal { flex-wrap: wrap; justify-content: flex-start; gap: var(--site-space-4); }
  .footer h2 { margin-bottom: var(--site-space-1); }
  .blog-header, .article, .careers-hero { padding-top: 112px; }
  .blog-header { padding-bottom: var(--site-space-5); }
  .blog-card, .blog-card-featured { padding: var(--site-space-4); }
  .blog-card-title, .blog-card-featured .blog-card-title, .blog-newsletter-title { font-size: 22px; line-height: 28px; }
  .article-body h2 { font-size: 24px; line-height: 32px; }
  .article-meta { gap: var(--site-space-1); }
  .table-scroll-hint { display: block; margin-bottom: var(--site-space-1); }
  .article-table-wrap { margin-top: 0; }
  .role-card-head, .archive-summary { padding: var(--site-space-3); }
  .role-archive-content { padding: 0 var(--site-space-3) var(--site-space-3); }
}
@media (max-width: 480px) {
  .waitlist-form { flex-direction: column; }
  .waitlist-form .btn { width: 100%; }
  .article-toc { padding: var(--site-space-3); }
  .blog-card-meta { flex-wrap: wrap; }
}
@media (max-width: 359px) { .footer-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .faq-a, .faq-q, .faq-q svg, .blog-card, .waitlist-form input { transition: none; } }
@media (forced-colors: active) {
  .waitlist-form input { border-color: FieldText; background: Field; color: FieldText; box-shadow: none; }
  .waitlist-form input:focus { border-color: Highlight; outline: 2px solid Highlight; }
  .waitlist-form input.input-error { border-color: LinkText; }
}
