/* Compliant landing page. Uses only tokens from tokens.css; no raw colors or font names. */
:root { --banner-h: 2.5rem; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-top: var(--banner-h);
  background: var(--page-bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
}
h1, h2, h3 { font-family: var(--font-display); color: var(--text-primary); margin: 0 0 0.75rem; line-height: 1.12; }
h1 { font-size: var(--fs-display); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1rem; }
a { color: var(--brand-deep); }

.lc-wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; box-sizing: border-box; }

.lc-nav { position: sticky; top: var(--banner-h); z-index: 50; background: var(--surface); border-bottom: 0.0625rem solid var(--border); }
.lc-nav-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; min-height: 4rem; }
.lc-links { display: flex; justify-content: center; gap: 1.5rem; grid-column: 2; }
.lc-links a { font-size: var(--fs-nav); color: var(--text-secondary); text-decoration: none; }
.lc-links a:hover { color: var(--brand-deep); }
.lc-login { grid-column: 3; justify-self: end; text-decoration: none; padding: 0.55rem 1.25rem; border-radius: 0.75rem; }

.lc-hero { padding: 4rem 0 3.5rem; }
.lc-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.lc-hero-img, .lc-feature-img { width: 100%; height: auto; border-radius: 1rem; border: 0.0625rem solid var(--border); display: block; }
.lc-video { position: relative; margin: 0; }
.lc-video figcaption { margin: 0.4rem 0 0; }
.lc-video-toggle { position: absolute; right: 0.75rem; top: 0.75rem; font: inherit; font-size: var(--fs-caption); color: var(--on-accent); background: var(--brand-deep); border: 0; border-radius: 999px; padding: 0.3rem 0.9rem; cursor: pointer; }
.lc-video-toggle:hover { background: var(--brand); }
.lc-lead { font-size: var(--fs-lead); color: var(--text-secondary); max-width: 38rem; }
.lc-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 0.75rem; }
.lc-actions a { text-decoration: none; padding: 0.7rem 1.5rem; border-radius: 0.75rem; }
.lc-note { font-size: var(--fs-caption); color: var(--text-muted); }

.lc-section { padding: 4rem 0; }
.lc-alt { background: var(--surface-alt); }
.lc-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2rem; }
.lc-card { border: 0.0625rem solid var(--border); border-radius: 1rem; padding: 1.5rem; }
.lc-card p { color: var(--text-secondary); margin: 0; }
.lc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.lc-list { margin: 1.5rem 0 0; padding-left: 1.25rem; max-width: 46rem; }
.lc-list li { margin-bottom: 0.9rem; color: var(--text-secondary); }

.lc-status { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.5rem 0 0; max-width: 46rem; }
.lc-status div { background: var(--surface); border: 0.0625rem solid var(--border); border-radius: 0.75rem; padding: 1rem 1.25rem; }
.lc-status dt { font-size: var(--fs-caption); color: var(--text-muted); }
.lc-status dd { margin: 0.2rem 0 0; font-weight: 600; }

.lc-footer { background: var(--surface); border-top: 0.0625rem solid var(--border); padding: 1.75rem 0; font-size: var(--fs-caption); color: var(--text-muted); }
.lc-footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.lc-footer p { margin: 0; }
.lc-footer nav { display: flex; gap: 1.25rem; }
.lc-footer a { color: var(--text-secondary); }

a:focus-visible { outline: 0.1875rem solid var(--brand); outline-offset: 0.125rem; }

@media (max-width: 56rem) {
  .lc-hero-grid, .lc-two { grid-template-columns: 1fr; gap: 2rem; }
  .lc-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 36rem) {
  .lc-cards, .lc-status { grid-template-columns: 1fr; }
}

/* Full-width video hero: light text on the video, dark fade for legibility, no boxes */
.lc-hero { position: relative; padding: 0; min-height: min(82vh, 52rem); display: flex; align-items: center; overflow: hidden; background: var(--shadow-ink); color: var(--on-accent); }
.lc-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lc-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, color-mix(in srgb, var(--shadow-ink) 78%, transparent) 0%, color-mix(in srgb, var(--shadow-ink) 55%, transparent) 45%, color-mix(in srgb, var(--shadow-ink) 10%, transparent) 100%); }
.lc-hero-card { max-width: 38rem; }

.lc-hero .lc-lead { color: color-mix(in srgb, var(--on-media) 85%, transparent); }
.lc-hero .lc-note { color: color-mix(in srgb, var(--on-media) 75%, transparent); }
.lc-caption { font-size: var(--fs-caption); color: var(--on-media); text-shadow: 0 0.0625rem 0.5rem color-mix(in srgb, var(--shadow-ink) 80%, transparent); }
@media (max-width: 56rem) {
  .lc-hero { min-height: 0; flex-direction: column; align-items: stretch; overflow: visible; background: var(--page-bg); }
  .lc-hero::before { display: none; }
  .lc-hero-video { position: static; height: 16rem; order: 1; display: block; }
      .lc-hero-card { max-width: none; }
  .lc-caption { color: var(--text-primary); }
  .lc-hero-meta .lc-video-toggle { color: var(--on-media); background: var(--brand-deep); border: 0; }
}

/* Brand accent on section labels (dark theme) */
.lc-section .stat-label { color: var(--on-media-accent); font-weight: 620; letter-spacing: .12em; text-transform: uppercase; font-size: var(--fs-caption); }
.lc-card h3 { background: var(--gnosis-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Hero text: bottom-left over the video (the position the login page text now matches) */
.lc-hero .hero-title { margin-bottom: 1.25rem; font-size: clamp(2.5rem, 5.5vw, 4.75rem); }
.lc-hero .hero-eyebrow { font-size: var(--fs-caption); }
.lc-hero .lc-lead { font-size: var(--fs-lead); max-width: 36rem; color: color-mix(in srgb, var(--on-media) 85%, transparent); margin: 0 0 1rem; }
@media (min-width: 56.0625rem) {
  .lc-hero { align-items: flex-end; }
    .lc-hero-card { max-width: 38rem; }
}

@media (max-width: 56rem) {
}


/* ONE column for the whole page: .lc-wrap (72rem, 1.25rem gutters). Left edge = logo, slogan, caption, sections, footer. */
.lc-hero-layer { position: relative; z-index: 2; }
.lc-hero-logo { display: block; width: fit-content; border-radius: 0.5rem; }
.lc-hero-logo img { display: block; width: 220px; height: auto; filter: drop-shadow(0 10px 24px color-mix(in srgb, var(--shadow-ink) 40%, transparent)); }
.lc-hero-logo:focus-visible { outline: 0.1875rem solid var(--brand); outline-offset: 0.125rem; }
.lc-hero-card { max-width: 38rem; }
.lc-hero-meta { position: absolute; z-index: 3; left: 1.25rem; right: 1.25rem; bottom: 0.75rem; display: flex; justify-content: space-between; align-items: center; }
.lc-hero-meta .lc-video-toggle { position: static; color: var(--on-media); background: color-mix(in srgb, var(--shadow-ink) 60%, transparent); border: 0.0625rem solid color-mix(in srgb, var(--on-accent) 50%, transparent); }
@media (min-width: 56.0625rem) {
  .lc-hero { align-items: stretch; }
  .lc-hero-layer { display: flex; flex-direction: column; justify-content: space-between; padding-top: 1rem; padding-bottom: 5.5rem; }
}
@media (max-width: 56rem) {
  .lc-hero { position: relative; }
  .lc-hero-layer { display: contents; }
  .lc-hero-logo { position: absolute; z-index: 3; top: 0.75rem; left: 1.25rem; }
  .lc-hero-logo img { width: 150px; }
  .lc-hero-card { order: 3; max-width: none; padding: 1.5rem 1.25rem 3rem; }
  .lc-hero-meta { position: static; order: 2; padding: 0.6rem 1.25rem; background: var(--surface); }
  .lc-caption { color: var(--text-primary); }
  .lc-hero-meta .lc-video-toggle { background: var(--brand-deep); border: 0; }
  .lc-nav-row { grid-template-columns: 1fr auto; }
  .lc-login { grid-column: 2; }
}

/* Document pages (About, Privacy, Terms): same column, same dark theme; text sits on the left edge, readable measure */
.lc-doc { padding: 2.5rem 0 5rem; }
.lc-doc-logo { display: block; width: fit-content; margin-bottom: 2rem; border-radius: 0.5rem; }
.lc-doc-logo img { display: block; width: 150px; height: auto; filter: drop-shadow(0 10px 24px color-mix(in srgb, var(--shadow-ink) 40%, transparent)); }
.lc-doc-logo:focus-visible { outline: 0.1875rem solid var(--brand); outline-offset: 0.125rem; }
.lc-doc-body { max-width: 46rem; }
.lc-doc-body .hero-eyebrow { display: block; margin-bottom: 0.75rem; }
.lc-doc-body h1 { font-size: var(--fs-h1); margin: 0 0 0.5rem; }
.lc-doc-body h2 { font-size: var(--fs-h3); margin: 2.25rem 0 0.5rem; }
.lc-doc-body p { color: var(--text-secondary); max-width: 42rem; }
.lc-doc-body strong { color: var(--text-primary); }
.lc-doc-body a { color: var(--on-media-accent); }
.lc-doc-body a:hover { color: var(--text-primary); }
.lc-doc-date { color: var(--text-muted); font-size: var(--fs-caption); margin-bottom: 1.5rem; }

/* Role sections: image + text, alternating */
.lc-two--reverse > :first-child { order: 2; }
.lc-fig { margin: 0; }
.lc-fig figcaption { margin: 0.5rem 0 0; }
.lc-list-title { margin: 1.5rem 0 0; color: var(--text-primary); font-weight: 600; }
.lc-card-link { color: inherit; text-decoration: none; background: inherit; -webkit-background-clip: inherit; background-clip: inherit; }
.lc-card-link:hover { text-decoration: underline; }
.lc-cta { display: inline-block; text-decoration: none; padding: 0.7rem 1.5rem; border-radius: 0.75rem; margin-top: 0.5rem; }
@media (max-width: 56rem) { .lc-two--reverse > :first-child { order: 0; } }
section[id] { scroll-margin-top: calc(var(--banner-h) + 4.5rem); }
.lc-feature-img, .lc-hero-img { box-sizing: border-box; }

/* Touch targets: at least 44px tall on phones */
@media (max-width: 56rem) {
  .lc-footer nav a, .lc-status a, .lc-list a, .lc-doc-body a { display: inline-block; padding: 0.7rem 0; }
  .lc-footer nav { gap: 0.25rem 1.25rem; flex-wrap: wrap; }
  .lc-login, .lc-actions a, .lc-cta, .lc-video-toggle { min-height: 44px; display: inline-flex; align-items: center; }
}

/* Touch targets and minimum text size */
.lc-card-link { display: inline-block; padding: 0.6rem 0; min-height: 44px; box-sizing: border-box; }
.lc-doc-body .hero-eyebrow { font-size: var(--fs-caption); }
.lc-links a { display: inline-block; padding: 0.6rem 0.25rem; }
.lc-footer nav a { display: inline-block; padding: 0.75rem 0.25rem; }

/* Phone menu */
.lc-menu-btn { display: none; font: inherit; font-size: var(--fs-nav); color: var(--text-primary); background: transparent; border: 0.0625rem solid var(--border); border-radius: 0.75rem; padding: 0 1rem; min-height: 44px; cursor: pointer; }
.lc-menu-btn:focus-visible { outline: 0.1875rem solid var(--brand); outline-offset: 0.125rem; }
@media (max-width: 39.99rem) {
  .lc-nav { position: sticky; }
  .lc-nav-row { grid-template-columns: auto 1fr auto; }
  .lc-menu-btn { display: inline-flex; align-items: center; grid-column: 1; }
  .lc-login { grid-column: 3; }
  .lc-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 0.5rem 1.25rem 1rem; background: var(--surface); border-bottom: 0.0625rem solid var(--border); grid-column: auto; z-index: 60; }
  .lc-nav.is-open .lc-links { display: flex; }
  .lc-links a { padding: 0.9rem 0; border-top: 0.0625rem solid var(--border); font-size: var(--fs-body); }
  .lc-links a:first-child { border-top: 0; }
}

/* Phone: the banner wraps to two lines, so give it room; keep Log in a normal button height */
@media (max-width: 39.99rem) {
  :root { --banner-h: 3.25rem; }
  .lc-login { align-self: center; height: 44px; min-height: 44px; padding-top: 0; padding-bottom: 0; }
}
