/* The simple public pages: /features, /pricing, /about.
   Deliberately self-contained rather than layered on landing.css. That file is
   tuned for one full-bleed hero and flips :root to dark below 900px, which is
   right for the landing page and wrong for a column of text. */

:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #171819;
  background: #f2f2f2;
  --landing-lime: #a6ce00;
  --muted: #626262;
  --page-width: 88.6%;
  --measure: 46rem;
}

* { box-sizing: border-box; }
body { margin: 0; overflow-wrap: anywhere; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #171819; outline-offset: 5px; }

/* Header: same wordmark, nav and login affordance as the landing page, so the
   two tiers read as one site. */
.site-header {
  width: var(--page-width);
  min-height: 5rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
}

.wordmark {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1.25rem;
}

.site-nav a,
.login-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  text-underline-offset: 4px;
}

.site-nav a:hover,
.login-link:hover { color: #171819; text-decoration: underline; }
.site-nav a[aria-current="page"] { color: #171819; font-weight: 700; }

.login-link { margin-left: auto; }

.page {
  width: var(--page-width);
  max-width: var(--measure);
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

.page h1 {
  margin: 0;
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
}

.lede {
  margin: 1.25rem 0 0;
  font-size: clamp(1.0625rem, 1.6vw, 1.375rem);
  line-height: 1.45;
}

.page h2 {
  margin: 2.75rem 0 0;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page h2 + p,
.page h2 + ul { margin-top: 0.5rem; }

.page p,
.page li {
  font-size: 1rem;
  line-height: 1.55;
}

.page ul {
  margin: 0;
  padding-left: 1.25rem;
}

.page li { margin-top: 0.375rem; }

.note {
  margin-top: 2.75rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--landing-lime);
  background: #fff;
  color: #3a3a3a;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.note :first-child { margin-top: 0; }
.note :last-child { margin-bottom: 0; }

.start-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  margin-top: 2rem;
  padding: 0.625rem 1.5rem;
  border-radius: 100px;
  background: var(--landing-lime);
  color: #192000;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 150ms ease;
}

.start-link:hover { background: #b9e500; }

.site-footer {
  width: var(--page-width);
  max-width: var(--measure);
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
  border-top: 1px solid #dcdcdc;
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer a { text-underline-offset: 4px; }

@media (max-width: 640px) {
  /* Two rows, matching the landing page: wordmark and the way in on the first,
     the nav wrapping underneath. Letting all three wrap on their own would put
     three rows of chrome above the heading on a phone. */
  .site-header {
    min-height: 0;
    padding: 1rem 0 0.5rem;
  }
  .wordmark { order: 1; }
  .login-link { order: 2; }
  .site-nav { order: 3; flex-basis: 100%; gap: 0 1rem; }
  .page { padding-top: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .start-link { transition: none; }
}
