/* The home page's "everything" section (docs/DESIGN.md §20, "Agentic
   blogging", 2026-10-28): every feature as a tile in one grid of paper
   panels with a hairline. A big tile for newsletters, a wide one for the
   fee, the rest in fours. An ask is a soft bubble, its tools small mono
   chips under it. Still: no motion, no gradient. Light only. */

.lp-every-section {
  --every-gap: 0.875rem;
  --every-radius: 22px;
  --every-pad: clamp(1.25rem, 1rem + 0.6vw, 1.6rem);
}

.lp-every-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--every-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-every-tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: var(--every-pad);
  border-radius: var(--every-radius);
  background: var(--color-paper);
  box-shadow: 0 0 0 1px var(--color-line-strong);
}

.lp-every-big {
  grid-column: span 2;
  grid-row: span 2;
  padding: clamp(1.5rem, 1rem + 1.4vw, 2.25rem);
}

.lp-every-wide {
  grid-column: span 2;
}

.lp-every-tile h3 {
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--color-ink);
}

.lp-every-big h3 {
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem);
  letter-spacing: -0.035em;
}

.lp-every-line {
  margin-top: 0.4rem;
  font-size: 0.93rem;
  line-height: 1.5;
  color: var(--color-body);
  text-wrap: pretty;
}

.lp-every-big .lp-every-line {
  max-width: 30rem;
  font-size: 1.05rem;
}

/* — Newsletters: two notes, then a send's figures ——————————————— */
.lp-every-notes {
  display: grid;
  gap: 0.45rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.lp-every-notes li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--color-body);
}

.lp-every-notes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 600;
  color: var(--color-accent-strong);
}

.lp-every-meter {
  margin-top: auto;
  padding: 1.25rem;
  border-radius: 16px;
  background: var(--color-paper-2);
  box-shadow: 0 0 0 1px var(--color-line);
}

.lp-every-big .lp-every-notes {
  margin-bottom: 1.75rem;
}

.lp-every-send {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  color: var(--color-muted);
}

.lp-every-send b {
  font-weight: 600;
  color: var(--color-ink);
}

.lp-every-meter dl {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

/* A row is the word, its bar, its figure; the bar's track and fill share
   the middle cell. */
.lp-every-meter dl div {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr) 3.75rem;
  align-items: center;
  gap: 0.85rem;
}

.lp-every-meter dl div::before,
.lp-every-meter dl div::after {
  content: "";
  grid-row: 1;
  grid-column: 2;
  height: 0.5rem;
  border-radius: var(--radius-pill);
}

.lp-every-meter dl div::before {
  background: var(--color-line);
}

.lp-every-meter dl div::after {
  width: var(--every-share);
  background: var(--color-accent);
}

.lp-every-meter dt {
  grid-row: 1;
  grid-column: 1;
  font-size: 0.85rem;
  color: var(--color-body);
}

.lp-every-meter dd {
  grid-row: 1;
  grid-column: 3;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  text-align: right;
  color: var(--color-ink);
}

/* — The fee: the figure, then the providers' own logos ——————————— */
.lp-every-figure {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-heading);
  font-size: clamp(3.25rem, 2.5rem + 2.4vw, 4.75rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.lp-every-money .lp-every-line {
  max-width: 34rem;
  margin-bottom: 1.25rem;
}

.lp-every-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.75rem;
  margin: auto 0 0;
  padding: 1.1rem 0 0;
  list-style: none;
}

.lp-every-money .lp-every-logos {
  border-top: 1px solid var(--color-line);
}

.lp-every-logos li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.lp-every-logos img {
  display: block;
  width: auto;
  height: 1.5rem;
}

.lp-every-logos [data-provider="stripe"] img {
  height: 1.8rem;
}

.lp-every-logos [data-provider="paystack"] img {
  height: 1.2rem;
}

.lp-every-logos b {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #011b33;
}

/* — Memberships: three tiers, one under the other ————————————— */
.lp-every-tiers {
  margin: auto 0 0;
  padding: 1.1rem 0 0;
  list-style: none;
}

.lp-every-tiers li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-top: 1px solid var(--color-line);
  font-size: 0.86rem;
  color: var(--color-body);
}

.lp-every-tiers b {
  font-weight: 600;
  color: var(--color-ink);
}

.lp-every-tiers span {
  font-variant-numeric: tabular-nums;
}

/* — Members: a face with a badge, a row of faces ———————————————— */
.lp-every-face {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--color-accent-soft);
}

.lp-every-worn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.88rem;
}

.lp-every-worn b {
  font-weight: 600;
  color: var(--color-ink);
}

.lp-every-faces {
  display: flex;
  margin-top: auto;
  padding-top: 1.25rem;
}

.lp-every-faces .lp-every-face {
  width: 2.4rem;
  height: 2.4rem;
  border: 2px solid var(--color-paper);
}

.lp-every-faces .lp-every-face + .lp-every-face {
  margin-left: -0.6rem;
}

/* — Analytics: a fortnight of visits, the last day in the accent ——— */
.lp-every-visits {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 3.25rem;
  margin-top: auto;
  padding-top: 1.25rem;
  box-sizing: content-box;
  border-bottom: 1px solid var(--color-line-strong);
}

.lp-every-visits i {
  flex: 1;
  height: var(--every-visits);
  border-radius: 3px 3px 0 0;
  background: color-mix(in srgb, var(--color-accent) 22%, var(--color-paper));
}

.lp-every-visits i:last-child {
  background: var(--color-accent);
}

/* — Staff: the roles by name ————————————————————————————— */
.lp-every-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: auto 0 0;
  padding: 1.25rem 0 0;
  list-style: none;
}

.lp-every-roles li {
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 0 1px var(--color-line-strong);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-body);
}

/* — The ask: what you tell your agent, and the tools that do it ——— */
.lp-every-ask {
  display: grid;
  justify-items: end;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1.25rem;
}

.lp-every-say {
  max-width: 100%;
  padding: 0.6rem 0.85rem;
  border-radius: 14px 14px 4px 14px;
  background: var(--color-accent-soft);
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--color-ink);
}

.lp-every-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.3rem;
}

.lp-every-tools code {
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: var(--color-paper-2);
  box-shadow: 0 0 0 1px var(--color-line);
  font-size: 0.72rem;
  color: var(--color-accent-strong);
  overflow-wrap: anywhere;
}

/* — The way in: a paper pill, the promise, then Start free ———————— */
.lp-every-foot {
  display: flex;
  justify-content: center;
  margin-top: clamp(2.5rem, 1.75rem + 2vw, 3.75rem);
}

.lp-every-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.45rem 0.45rem 0.45rem 1.35rem;
  border-radius: var(--radius-pill);
  background: var(--color-paper);
  box-shadow: 0 0 0 1px var(--color-line-strong);
  color: var(--color-ink);
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
}

.lp-every-cta-note {
  color: var(--color-body);
}

.lp-every-cta-go {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius-pill);
  background: var(--color-accent-soft);
  color: var(--color-accent-strong);
  font-weight: 600;
  white-space: nowrap;
}

.lp-every-cta:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

@media (hover: hover) {
  .lp-every-cta:hover {
    box-shadow: 0 0 0 1px var(--color-accent);
  }

  .lp-every-cta:hover .lp-every-cta-go {
    background: var(--color-accent-strong);
    color: #fff;
  }
}

/* — Tablet: two columns, the big and wide tiles across both ——————— */
@media (max-width: 68rem) {
  .lp-every-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lp-every-big {
    grid-row: auto;
  }
}

/* — Phone: one column; the pill stacks ———————————————————— */
@media (max-width: 47.9375rem) {
  .lp-every-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .lp-every-big,
  .lp-every-wide {
    grid-column: auto;
  }

  .lp-every-meter {
    padding: 1rem;
  }

  .lp-every-meter dl div {
    grid-template-columns: 4.75rem minmax(0, 1fr) 3.25rem;
    gap: 0.6rem;
  }

  .lp-every-logos {
    gap: 0.75rem 1.25rem;
  }

  .lp-every-cta {
    flex-direction: column;
    gap: 0.7rem;
    width: 100%;
    padding: 1rem;
    border-radius: var(--every-radius);
    text-align: center;
  }

  .lp-every-cta-go {
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
  }
}
