/* The public sales page. Every colour is a variable from /theme.css. */

.landing { max-width: 960px; margin: 0 auto; padding: 0 20px 56px; }

.landing-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0;
}
.landing-bar .brand { font-weight: 700; font-size: 1.05rem; }
.landing-bar a { font-weight: 600; text-decoration: none; }

.hero { padding: 28px 0 36px; }
.hero h1 { margin: 0 0 14px; font-size: clamp(1.8rem, 5vw, 2.7rem); line-height: 1.15; }
.hero .lead { margin: 0 0 24px; max-width: 46ch; font-size: clamp(1rem, 2.4vw, 1.15rem); color: var(--color-text-muted); }

.cta {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 10px;
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-weight: 600;
  text-decoration: none;
}

/* The pitch, carried straight from the plan's positioning. */
.pitch {
  padding: 26px 22px;
  border-radius: 14px;
  background: var(--color-accent);
  color: var(--color-on-accent);
}
.pitch h2 { margin: 0 0 10px; font-size: clamp(1.15rem, 3vw, 1.5rem); }
.pitch p { margin: 0; max-width: 58ch; }

.section { padding: 40px 0 4px; }
.section h2 { margin: 0 0 6px; font-size: 1.3rem; }
.section .lead { margin: 0 0 18px; color: var(--color-text-muted); max-width: 56ch; }

.steps, .features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.steps { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.features { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.tile-card {
  padding: 18px;
  border-radius: 12px;
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.tile-card h3 { margin: 0 0 6px; font-size: 1rem; }
.tile-card p { margin: 0; font-size: 0.92rem; color: var(--color-text-muted); }
.step-number { display: block; margin-bottom: 8px; font-weight: 700; color: var(--color-accent); }

.plain-points { margin: 0; padding-left: 20px; color: var(--color-text-muted); max-width: 58ch; }
.plain-points li { margin-bottom: 6px; }

.landing-footer {
  margin-top: 52px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* The privacy policy and the terms. Plain text pages, narrow enough to read. */
.legal { max-width: 46rem; }
.legal h1 { margin-bottom: 8px; }
.legal .section { margin-top: 32px; }
.legal p { line-height: 1.6; }

/* The public copy of the text alert opt-in: the form as it appears in the app,
   and the messages it sends. */
.sample-card { max-width: 30rem; }
.sample-card h3 { margin: 0 0 8px; }
.sample-card input[disabled], .sample-card button[disabled] { opacity: 0.85; }
.sample { padding: 12px 14px; border-left: 3px solid var(--color-accent); border-radius: 6px; background: var(--color-surface); }
.steps { padding-left: 1.4em; display: flex; flex-direction: column; gap: 8px; }
