/* ============================================================================
   landing.html — the page the domain shows someone who is not signed in.
   Loaded only by that page; app.css supplies .btn, .page-foot and .brand-name.
   ========================================================================== */

.landing-shell {
  max-width: 44rem;
  margin: 0 auto;
  padding: var(--sp-5) var(--sp-4) var(--sp-12);
}

.landing-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-10);
}

.landing-signin {
  font-size: var(--fs-sm);
  color: var(--link);
}

/* ---- hero ---------------------------------------------------------------- */

.landing-hero h1 {
  font-size: var(--fs-2xl);
  line-height: var(--lh-tight);
  margin: 0 0 var(--sp-4);
}

.landing-lead {
  margin: 0;
  color: var(--text-2);
  line-height: var(--lh-normal);
  font-size: var(--fs-base);
}

/* ---- risk notice ---------------------------------------------------------
   Warn, not danger. The product works and the risk is real, so this has to
   stop someone without reading as an error state — a red alarm on a page that
   is otherwise a description reads as "the site is broken", which is both
   wrong and easier to dismiss than the thing it is actually saying. */

.landing-risk {
  margin: var(--sp-8) 0;
  padding: var(--sp-5);
  border: 1px solid var(--warn);
  border-radius: var(--r-md);
  background: var(--warn-soft);
}

.landing-risk h2 {
  font-size: var(--fs-lg);
  margin: 0 0 var(--sp-3);
}

.landing-risk p {
  margin: 0 0 var(--sp-3);
  line-height: var(--lh-normal);
  color: var(--text);
}

.landing-risk p:last-child {
  margin-bottom: 0;
}

.landing-risk-more a {
  color: var(--link);
}

/* ---- body sections ------------------------------------------------------- */

.landing-section {
  margin: var(--sp-10) 0;
  scroll-margin-top: var(--sp-4);
}

.landing-section h2 {
  font-size: var(--fs-lg);
  margin: 0 0 var(--sp-4);
}

.landing-section p {
  margin: 0 0 var(--sp-3);
  color: var(--text-2);
  line-height: var(--lh-normal);
}

.landing-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-5);
}

.landing-steps h3 {
  font-size: var(--fs-base);
  margin: 0 0 var(--sp-2);
  color: var(--text);
}

.landing-steps p {
  margin: 0;
}

.landing-support a,
.landing-section a {
  color: var(--link);
}

/* ---- access -------------------------------------------------------------- */

.landing-access {
  padding-top: var(--sp-8);
  border-top: 1px solid var(--border);
}

.landing-cta {
  margin-top: var(--sp-5);
}

.landing-cta .btn {
  display: inline-flex;
  text-decoration: none;
}

@media (max-width: 30rem) {
  .landing-hero h1 {
    font-size: var(--fs-xl);
  }
}
