/*
 * The marketing layer.
 *
 * Every rule in this file is scoped to `body.mkt`, the class the marketing
 * shell sets, so the dashboard and the console - which set `body.dash-body`
 * and their own stylesheet - cannot be moved by a change here.
 *
 * The rules are arrangement and type, not brand: a colour, a radius and a
 * shadow come from a `--*` token in tokens.css, so no hex is written below.
 * `docs/MARKETING_UI.md` is the reasoning; the order here follows a page:
 * the page itself, the header, the bands, the cards, the footer.
 */

/* --- the page ----------------------------------------------------------- */

body.mkt {
  background: var(--color-raised);
  color: var(--color-ink);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
}

body.mkt .container {
  max-width: var(--mkt-max);
}

body.mkt h1 {
  font-size: clamp(2.1rem, 1.2rem + 3.4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
}

body.mkt h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 0.75rem;
}

body.mkt h3 {
  font-size: 1.125rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 0 0 0.375rem;
}

body.mkt p {
  margin: 0 0 1rem;
}

body.mkt a {
  text-underline-offset: 3px;
}

body.mkt :focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

body.mkt .section--primary :focus-visible {
  outline-color: var(--color-accent);
}

/* The section rhythm. A band breathes with the screen, not a fixed 64px. */
body.mkt .section {
  padding: clamp(3.25rem, 6.5vw, 5.5rem) 0;
}

/* Two white bands in a row have no visible seam, so they share one gap
 * instead of two. The tinted bands keep their own, because the edge of the
 * tint is the seam a reader sees. */
body.mkt .section:not(.section--tint):not(.section--primary) + .section:not(.section--tint):not(.section--primary) {
  padding-top: 0;
}

body.mkt .section--tint {
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
}

body.mkt .section--tight {
  padding: clamp(2rem, 4vw, 3rem) 0;
}

body.mkt .lede {
  max-width: 44rem;
  color: var(--color-ink-muted);
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0 0 1.75rem;
}

body.mkt .note {
  color: var(--color-ink-muted);
  font-size: 0.8125rem;
}

body.mkt .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-primary);
  margin: 0 0 0.625rem;
}

/* A section's head: the words on the left, the way out on the right. */
body.mkt .section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin: 0 0 2rem;
}

body.mkt .section-head__text {
  max-width: 44rem;
}

body.mkt .section-head .lede {
  margin-bottom: 0;
}

body.mkt .section-head__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--color-primary);
  white-space: nowrap;
}

body.mkt .section-head__link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

body.mkt .section--primary .section-head__link {
  color: var(--color-accent);
}

/* --- the buttons -------------------------------------------------------- */

body.mkt .button {
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition:
    background 0.15s var(--ease),
    border-color 0.15s var(--ease),
    transform 0.15s var(--ease),
    box-shadow 0.15s var(--ease);
}

body.mkt .button:hover {
  background: var(--color-primary-strong);
}

body.mkt .button--outline,
body.mkt .button--secondary {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

body.mkt .button--outline:hover,
body.mkt .button--secondary:hover {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

body.mkt .section--primary .button--outline,
body.mkt .hero .button--outline {
  color: var(--color-raised);
  border-color: color-mix(in srgb, var(--color-raised) 45%, transparent);
}

body.mkt .section--primary .button--outline:hover,
body.mkt .hero .button--outline:hover,
body.mkt .cta-band .button--outline:hover {
  background: color-mix(in srgb, var(--color-raised) 12%, transparent);
  color: var(--color-raised);
}

/* The closing band is dark too. An outline CTA there needs the same light
 * foreground as one on navy: a navy outline link on this band is unreadable. */
body.mkt .cta-band .button--outline {
  color: var(--color-raised);
  border-color: color-mix(in srgb, var(--color-raised) 45%, transparent);
}

body.mkt .button--accent {
  background: var(--color-accent);
  color: var(--color-ink);
  border: 1px solid var(--color-accent);
}

body.mkt .button--accent:hover {
  background: var(--color-accent);
  filter: brightness(0.94);
  color: var(--color-ink);
  box-shadow: var(--shadow-soft);
}

body.mkt .button--lg {
  padding: 0.9375rem 1.875rem;
  font-size: 1rem;
}

body.mkt .button--block {
  display: flex;
  width: 100%;
}

/* --- the header --------------------------------------------------------- */

body.mkt .utility-bar {
  background: var(--color-primary-strong);
  border-bottom: 0;
  color: color-mix(in srgb, var(--color-raised) 82%, transparent);
  font-size: 0.8125rem;
}

body.mkt .utility-bar nav {
  min-height: 2.25rem;
}

body.mkt .utility-bar a {
  color: color-mix(in srgb, var(--color-raised) 82%, transparent);
  text-decoration: none;
}

body.mkt .utility-bar a:hover {
  color: var(--color-raised);
  text-decoration: underline;
}

body.mkt .utility-bar__help {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 44px;
  font-weight: 600;
  color: var(--color-accent);
}

body.mkt .utility-bar__help:hover {
  color: var(--color-accent);
}

body.mkt .utility-bar__meta {
  margin: 0;
  font-size: 0.8125rem;
  color: color-mix(in srgb, var(--color-raised) 62%, transparent);
}

@media (max-width: 1100px) {
  body.mkt .utility-bar__meta {
    display: none;
  }
}

/* The header follows the reader down the page, on a white sheet that hides
 * what scrolls under it. */
body.mkt .site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-raised);
}

body.mkt .site-header__bar {
  min-height: 4.25rem;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

body.mkt .brand-mark__image {
  height: 30px;
  width: auto;
}

body.mkt .nav__items {
  gap: 0.25rem;
}

body.mkt .nav__link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-control);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-ink);
  text-decoration: none;
  transition:
    background 0.15s var(--ease),
    color 0.15s var(--ease);
}

body.mkt .nav__link:hover {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

body.mkt .nav__link--on {
  color: var(--color-primary);
  font-weight: 600;
  background: var(--color-primary-soft);
}

body.mkt .site-header__actions {
  gap: 0.75rem;
  margin-left: auto;
}

body.mkt .drawer__button {
  border-color: var(--color-border);
}

body.mkt .drawer__panel {
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-e2);
}

/* The site search: one form in the hero, one list of pages below it. */
body.mkt .hero__form .filters {
  margin-bottom: 0;
}

body.mkt .search-results {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.mkt .search-results li {
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-control);
  background: var(--color-raised);
}

body.mkt .search-results__kind {
  margin-left: 0.5rem;
  color: var(--color-ink-muted);
  font-size: 0.8125rem;
}

@media (max-width: 900px) {
  body.mkt .utility-bar nav ul {
    gap: 0.75rem;
  }
}

@media (max-width: 767px) {
  body.mkt .utility-bar {
    display: none;
  }
}

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

body.mkt .hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4.25rem) 0 clamp(2.5rem, 4.5vw, 4rem);
  background: var(--color-primary);
  color: var(--color-raised);
}

/* The band is flat: one navy sheet, no texture and no glow. Calm Precision
 * keeps the hero quiet so the words and the plan card carry it. */

body.mkt .hero > .container {
  position: relative;
  z-index: 1;
}

body.mkt .hero__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

@media (min-width: 980px) {
  body.mkt .hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  }
}

body.mkt .hero--compact {
  padding: clamp(2rem, 4vw, 3.25rem) 0 clamp(2rem, 4vw, 3rem);
}

body.mkt .hero--compact h1 {
  font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.75rem);
}

body.mkt .hero h1,
body.mkt .hero h2,
body.mkt .hero h3 {
  color: var(--color-raised);
}

/* A card in the hero is a white sheet on navy: its own headings are ink,
 * not the band's white. */
body.mkt .hero__panel h1,
body.mkt .hero__panel h2,
body.mkt .hero__panel h3 {
  color: var(--color-ink);
}

body.mkt .hero .eyebrow {
  color: var(--color-accent);
}

body.mkt .hero .note,
body.mkt .hero .note a {
  color: color-mix(in srgb, var(--color-raised) 78%, transparent);
}

body.mkt .hero .note a {
  text-decoration: underline;
}

body.mkt .hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.25rem 0.75rem 0.25rem 0.5rem;
  border: 1px solid color-mix(in srgb, var(--color-raised) 22%, transparent);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--color-raised) 8%, transparent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-raised);
}

body.mkt .hero__badge::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-success);
}

body.mkt .hero__badge a {
  color: inherit;
  text-decoration: none;
}

body.mkt .hero__lede {
  max-width: 34rem;
  margin: 0 0 1.5rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--color-raised) 86%, transparent);
}

body.mkt .hero__price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.375rem;
  margin: 0 0 1.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-ink);
  font-size: 0.9375rem;
  font-weight: 700;
}

body.mkt .hero__price strong {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

body.mkt .hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.75rem;
}

body.mkt .hero__proofs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1.25rem;
  max-width: 34rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--color-raised) 84%, transparent);
}

@media (min-width: 640px) {
  body.mkt .hero__proofs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.mkt .hero__proofs li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

body.mkt .hero__proofs .icon {
  color: color-mix(in srgb, var(--color-raised) 55%, transparent);
}

body.mkt .hero__meta {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--color-raised) 72%, transparent);
}

/* The plan the hero shows: the catalogue's own row, on a white card. */
body.mkt .hero__panel {
  position: relative;
}

body.mkt .hero__panel .plan-card {
  box-shadow: var(--shadow-e2);
  border-color: transparent;
}

body.mkt .plan-card--hero {
  gap: 0.375rem;
}

body.mkt .hero__caption {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  text-align: center;
  color: color-mix(in srgb, var(--color-raised) 70%, transparent);
}

/* --- the proof strip ---------------------------------------------------- */

body.mkt .stat-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  body.mkt .stat-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

body.mkt .stat-strip li {
  display: grid;
  gap: 0.25rem;
  align-content: start;
}

body.mkt .stat-strip__value {
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 1rem + 1vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-primary);
}

body.mkt .stat-strip__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-ink);
}

body.mkt .stat-strip__body {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-ink-muted);
}

/* --- the trust band: one quote per card, the accent as the marker ------- */

body.mkt .testimonial-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 900px) {
  body.mkt .testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

body.mkt .testimonial-card {
  padding: 1.5rem 1.5rem 1.5rem 1.25rem;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-card);
  background: var(--color-raised);
}

body.mkt .testimonial-quote {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--color-ink);
  quotes: "“" "”";
}

body.mkt .testimonial-quote::before {
  content: open-quote;
  margin-right: 0.125rem;
  color: var(--color-primary);
  font-weight: 700;
}

body.mkt .testimonial-quote::after {
  content: close-quote;
  margin-left: 0.125rem;
  color: var(--color-primary);
  font-weight: 700;
}

body.mkt .testimonial-cite {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-ink-muted);
}

/* --- the cards ---------------------------------------------------------- */

body.mkt .card {
  padding: 1.5rem;
  border-radius: var(--radius-card);
  box-shadow: none;
  color: var(--color-ink);
  transition:
    border-color 0.15s var(--ease),
    box-shadow 0.15s var(--ease),
    transform 0.15s var(--ease);
}

body.mkt .card:hover {
  border-color: var(--color-primary);
}

body.mkt a.card:hover,
body.mkt .card--link:hover {
}

body.mkt a.card,
body.mkt a.feature-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

body.mkt a.feature-card:hover .feature-card__title {
  color: var(--color-primary);
}

body.mkt .card__name {
  font-size: 1.125rem;
}

body.mkt .card__tagline {
  font-size: 0.9375rem;
  line-height: 1.6;
}

body.mkt .grid {
  gap: 1.25rem;
}

/* The plan card: a name, a price, what it includes, and one way to buy. */
body.mkt .plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 2.75rem 1.5rem 1.5rem;
  background: var(--color-raised);
}

body.mkt .plan-card--popular {
  border-color: var(--color-primary);
}

body.mkt .plan-card__flag {
  position: absolute;
  top: 1.25rem;
  left: 1.5rem;
  display: inline-flex;
  margin: 0;
  padding: 0.1875rem 0.625rem;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-ink);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.mkt .plan-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

body.mkt .plan-card__tagline {
  margin: 0.125rem 0 1rem;
  font-size: 0.875rem;
  color: var(--color-ink-muted);
}

body.mkt .plan-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  margin: 0;
  color: var(--color-primary);
}

body.mkt .plan-card__amount {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

body.mkt .plan-card__term {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-ink-muted);
}

body.mkt .plan-card__annual {
  margin: 0.375rem 0 0;
  min-height: 2.5em;
  font-size: 0.8125rem;
  line-height: 1.25;
  color: var(--color-ink-muted);
}

body.mkt .plan-card__specs {
  display: grid;
  gap: 0.5rem;
  margin: 1.25rem 0 1.5rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--color-border);
  list-style: none;
  font-size: 0.9375rem;
}

body.mkt .plan-card__specs li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

body.mkt .plan-card__specs .icon {
  color: var(--color-success);
}

body.mkt .plan-card__cta {
  margin: auto 0 0;
}

body.mkt .plan-card__cta .button {
  width: 100%;
}

body.mkt .plan-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 640px) {
  body.mkt .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  body.mkt .plan-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.mkt .plan-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.mkt .plan-grid--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

body.mkt .plan-grid--5 .plan-card {
  padding: 2.5rem 1.25rem 1.25rem;
}

body.mkt .plan-grid--5 .plan-card__name {
  font-size: 1.0625rem;
}

body.mkt .plan-grid--5 .plan-card__amount {
  font-size: 1.875rem;
}

/* A feature tile: one icon, one line, one promise. */
body.mkt .feature-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  body.mkt .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  body.mkt .feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

body.mkt .feature-card {
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-raised);
  transition:
    border-color 0.15s var(--ease),
    box-shadow 0.15s var(--ease),
    transform 0.15s var(--ease);
}

body.mkt .feature-card:hover {
  border-color: var(--color-primary);
}

body.mkt .feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 0 1rem;
  border-radius: var(--radius-control);
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

body.mkt .feature-card__title {
  font-size: 1.0625rem;
  margin: 0 0 0.375rem;
}

body.mkt .feature-card__body {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-ink-muted);
}

/* A list of promises with a tick each, in two columns on a wide screen. */
body.mkt .check-grid {
  display: grid;
  gap: 0.75rem 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  body.mkt .check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.mkt .check-grid li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.55;
}

body.mkt .check-grid .icon {
  margin-top: 0.25rem;
  color: var(--color-success);
}

/* --- the blog ------------------------------------------------------------ */

body.mkt .featured {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-raised);
}

@media (min-width: 900px) {
  body.mkt .featured {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }
}

body.mkt .featured__cover {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 15rem;
  max-height: 24rem;
  /* A cover carries words printed into the art. `cover` cuts the edges off,
   * so show the whole picture inside the space instead. */
  object-fit: contain;
  background: var(--color-surface);
}

body.mkt .featured__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

body.mkt .featured__title {
  margin: 0;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
}

body.mkt .featured__title a {
  color: var(--color-ink);
  text-decoration: none;
}

body.mkt .featured__title a:hover {
  color: var(--color-primary);
}

body.mkt .featured__body .lede {
  margin: 0;
}

body.mkt .post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: hidden;
}

body.mkt .post-card__cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  /* The art has its own title; never crop the words out of it. */
  object-fit: contain;
  background: var(--color-surface);
}

body.mkt .post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1.25rem;
}

body.mkt .post-card__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  line-height: 1.3;
}

body.mkt .post-card__title a {
  color: var(--color-ink);
  text-decoration: none;
}

body.mkt .post-card__title a:hover {
  color: var(--color-primary);
}

body.mkt .post-card__excerpt {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-ink-muted);
}

body.mkt .post-card__body .tag-row {
  margin-top: auto;
  padding-top: 0.5rem;
}

/* The body a Markdown file becomes: headings, lists, quotes, code, pictures. */
body.mkt .prose__body {
  margin-top: 1.5rem;
}

body.mkt .prose__body > p {
  margin: 0 0 1.25rem;
}

body.mkt .prose__body h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem);
}

body.mkt .prose__body h3 {
  margin: 2rem 0 0.5rem;
  font-size: 1.1875rem;
}

body.mkt .prose__body ul,
body.mkt .prose__body ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

body.mkt .prose__body li {
  margin-bottom: 0.4rem;
}

body.mkt .prose__body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-card);
}

body.mkt .prose__body blockquote {
  margin: 1.5rem 0;
  padding: 0.25rem 0 0.25rem 1rem;
  border-left: 3px solid var(--color-accent);
  color: var(--color-ink);
}

body.mkt .prose__body code {
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: var(--color-surface);
  font-size: 0.95em;
}

body.mkt .prose__body pre {
  padding: 1rem;
  border-radius: var(--radius-card);
  background: var(--color-surface);
  overflow-x: auto;
}

body.mkt .prose__body pre code {
  padding: 0;
  background: transparent;
}

body.mkt .post__cover {
  display: block;
  width: 100%;
  height: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-card);
}

/* --- the pager ----------------------------------------------------------
 * The shared pager macro paints the same links on every surface. These are
 * the marketing arrangement: one row that wraps on a phone. */
body.mkt .pager {
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

body.mkt .pager__steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

body.mkt .pager__numbers,
body.mkt .pager__sizes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
}

body.mkt .pager__number,
body.mkt .pager__size {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 44px;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-control);
  color: var(--color-ink);
  text-decoration: none;
}

body.mkt .pager__number--on,
body.mkt .pager__size[aria-current="true"] {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-raised);
}

body.mkt .pager__beside,
body.mkt .pager__gap {
  color: var(--color-ink-muted);
}

body.mkt .pager__range {
  font-variant-numeric: tabular-nums;
}

/* --- the three steps ---------------------------------------------------- */
body.mkt .step-list {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}@media (min-width: 900px) {
  body.mkt .step-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

body.mkt .step {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  border-radius: var(--radius-card);
  background: var(--color-raised);
  border: 1px solid var(--color-border);
}

body.mkt .step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: 0 0 0.875rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-raised);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
}

body.mkt .step__title {
  font-size: 1.125rem;
  margin: 0 0 0.375rem;
}

body.mkt .step__body {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-ink-muted);
}

/* --- the FAQ ------------------------------------------------------------ */

body.mkt .faq {
  display: grid;
  gap: 0.75rem;
  max-width: 52rem;
  margin: 0;
}

body.mkt .faq__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-raised);
  padding: 0 1.25rem;
}

body.mkt .faq__item[open] {
  border-color: var(--color-primary);
}

body.mkt .faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  list-style: none;
}

body.mkt .faq__q::-webkit-details-marker {
  display: none;
}

body.mkt .faq__q::after {
  content: "+";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1;
}

body.mkt .faq__item[open] .faq__q::after {
  content: "\2212";
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-raised);
}

body.mkt .faq__a {
  margin: 0;
  padding: 0 0 1.25rem;
  max-width: 44rem;
  color: var(--color-ink-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* --- the closing band --------------------------------------------------- */

body.mkt .cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: var(--color-primary-strong);
  border-top: 1px solid color-mix(in srgb, var(--color-raised) 14%, transparent);
  color: var(--color-raised);
}

body.mkt .cta-band::after {
  content: "";
  position: absolute;
  inset: auto -10% -60% 40%;
  height: 24rem;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--color-raised) 12%, transparent), transparent);
  pointer-events: none;
}

body.mkt .cta-band > .container {
  position: relative;
  z-index: 1;
}

body.mkt .cta-band__inner {
  display: grid;
  gap: 1.5rem 2.5rem;
  align-items: end;
}

@media (min-width: 860px) {
  body.mkt .cta-band__inner {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  }
}

body.mkt .cta-band__copy h2 {
  margin-bottom: 0.5rem;
}

body.mkt .cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}

@media (min-width: 860px) {
  body.mkt .cta-band__actions {
    justify-content: flex-end;
  }
}

body.mkt .plan-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

body.mkt .cta-band h2 {
  color: var(--color-raised);
  max-width: 30rem;
}

body.mkt .cta-band .eyebrow {
  color: var(--color-accent);
}

body.mkt .cta-band .hero__lede {
  color: color-mix(in srgb, var(--color-raised) 84%, transparent);
}

body.mkt .cta-band .hero__proofs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  max-width: none;
  margin-top: 0.25rem;
}

/* --- the application form ----------------------------------------------- */

/* `.input` fixes every control at 40px. A note needs three lines, so this
 * modifier gives the textarea room while the file and selects keep their
 * single-line height. */
body.mkt .textarea {
  height: auto;
  min-height: 5.25rem;
  padding: 0.625rem 0.75rem;
  line-height: 1.55;
  resize: vertical;
}

body.mkt .dropzone {
  display: grid;
  gap: 0.5rem;
  padding: 1rem;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-control);
  background: var(--color-surface);
}

body.mkt .dropzone--over {
  border-color: var(--color-primary);
  background: var(--color-primary-soft);
}

body.mkt .dropzone__input {
  width: 100%;
}

body.mkt .dropzone__hint {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-ink-muted);
}

/* --- the small pieces --------------------------------------------------- */

body.mkt .pill {
  border-color: var(--color-border);
  background: var(--color-raised);
  color: var(--color-primary);
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.8125rem;
  padding: 0.25rem 0.75rem;
}

body.mkt .section--primary .pill,
body.mkt .hero .pill {
  border-color: color-mix(in srgb, var(--color-raised) 28%, transparent);
  background: color-mix(in srgb, var(--color-raised) 10%, transparent);
  color: var(--color-raised);
}

body.mkt .range {
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.125rem;
  box-shadow: var(--shadow-soft);
}

body.mkt .term-switch {
  align-items: center;
  align-self: center;
  background: var(--color-raised);
  border-radius: var(--radius-pill);
  padding: 0.25rem;
}

body.mkt .term-switch a {
  border-radius: var(--radius-pill);
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  line-height: 1.4;
}

body.mkt .tag {
  border-radius: var(--radius-pill);
  padding: 0.125rem 0.625rem;
  background: var(--color-surface);
  color: var(--color-ink-muted);
}

body.mkt .callout {
  border: 0;
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  padding: 2rem;
}

body.mkt .price-list li,
body.mkt .spec-list div {
  background: var(--color-raised);
}

body.mkt .steps li {
  border-radius: var(--radius-card);
  padding: 1.125rem 1.25rem;
}

body.mkt .bullets {
  color: var(--color-ink-muted);
}

body.mkt .prose {
  max-width: 46rem;
  color: var(--color-ink);
  font-size: 1.0625rem;
}

body.mkt .prose h2 {
  margin-top: 2.5rem;
}

body.mkt .prose h3 {
  margin-top: 1.75rem;
}

body.mkt .on-this-page {
  border-radius: var(--radius-card);
}

body.mkt .table-scroll {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
}

body.mkt .table th,
body.mkt .table td {
  white-space: normal;
}

body.mkt .table--spec th,
body.mkt .table--spec td {
  white-space: nowrap;
}

body.mkt .table thead th {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

body.mkt .table caption {
  padding: 0.75rem 0.75rem 0;
  text-align: left;
}

body.mkt .spaced {
  margin-top: 3.5rem;
}

body.mkt .empty {
  border-style: solid;
  border-color: var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  padding: 3rem 1.5rem;
}

body.mkt .breadcrumb {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-raised);
}

body.mkt .breadcrumb ol {
  padding: 0.75rem 0;
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-ink-muted);
}

/* --- the status page ----------------------------------------------------
 * The 90-day strip is a row of small cells. A grid with tiny tracks wraps
 * on its own, so a phone never has to scroll sideways to see the record. */
body.mkt .status-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8px, 1fr));
  gap: 3px;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

body.mkt .status-day {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  background: var(--color-surface);
}

body.mkt .status-day--success {
  background: var(--color-success);
  border-color: var(--color-success);
}

body.mkt .status-day--warning {
  background: var(--color-warning);
  border-color: var(--color-warning);
}

body.mkt .status-day--caution {
  background: var(--color-caution);
  border-color: var(--color-caution);
}

body.mkt .status-day--error {
  background: var(--color-error);
  border-color: var(--color-error);
}

/* A worker that stops checking in is a state to act on. The word travels
 * beside the colour, so the banner never relies on colour alone. */
body.mkt .status-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-warning);
  border-radius: var(--radius-card);
  background: var(--color-raised);
}

body.mkt .status-banner--error {
  border-left-color: var(--color-error);
}

body.mkt .status-banner p {
  flex: 1 1 18rem;
  margin: 0;
}

body.mkt .status-banner a {
  font-weight: 600;
}

/* --- the footer --------------------------------------------------------- */

body.mkt .site-footer {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.5rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-ink-muted);
  font-size: 0.9375rem;
}

body.mkt .footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 720px) {
  body.mkt .footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  body.mkt .footer__grid {
    grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
    gap: 4rem;
  }
}

body.mkt .footer__brand {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  max-width: 22rem;
}

body.mkt .footer__brand .brand-mark__image {
  height: 32px;
  margin-bottom: 0.25rem;
}

body.mkt .footer__address {
  margin: 0;
  font-style: normal;
  line-height: 1.55;
}

body.mkt .footer__address a {
  color: var(--color-primary);
}

body.mkt .footer__hours {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin: 0;
  font-size: 0.875rem;
}

body.mkt .footer__social {
  display: flex;
  gap: 0.5rem;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
}

body.mkt .footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-raised);
  color: var(--color-primary);
  text-decoration: none;
}

body.mkt .footer__social a:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-raised);
}

body.mkt .footer__columns {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 720px) {
  body.mkt .footer__columns {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

body.mkt .footer__column {
  min-width: 0;
}

body.mkt .footer__heading {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-ink);
}

body.mkt .footer__column ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
}

body.mkt .footer__column a {
  color: var(--color-ink-muted);
  text-decoration: none;
}

body.mkt .footer__column a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

body.mkt .footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.8125rem;
}

body.mkt .footer__bottom p {
  margin: 0;
}

body.mkt .footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

body.mkt .footer__bottom a {
  color: var(--color-ink-muted);
  text-decoration: none;
}

body.mkt .footer__bottom a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* --- the touch targets --------------------------------------------------
 * The drawer only opens below 900px and the footer columns stack on a phone.
 * The drawer is a full-height sheet, not a dropdown: it is fixed to the
 * right edge at the full viewport height with its own scroll, so the last
 * link and the Order now press stay reachable at 320px. Every link row in
 * the sheet and the footer is one full-width 44px target, so a thumb never
 * has to hunt a 26px line of text. */
@media (max-width: 899px) {
  body.mkt .drawer__panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(22rem, 92vw);
    height: 100dvh;
    max-height: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-bottom: 0;
    border-left: 1px solid var(--color-border);
    box-shadow: var(--shadow-e2);
  }

  body.mkt .drawer__panel a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }

  /* The consent region keeps both 44px presses, but gives back the loose
   * desktop rhythm on a phone so it does not fill a quarter of the screen. */
  body.mkt .cookie-banner {
    padding: 0.75rem 0 1rem;
  }

  body.mkt .cookie-banner__title {
    font-size: 0.9375rem;
    margin-bottom: 0.125rem;
  }

  body.mkt .cookie-banner__actions {
    margin: 0.5rem 0;
  }

  body.mkt .cookie-banner .note {
    margin-top: 0.25rem;
  }
}

@media (max-width: 767px) {
  body.mkt .footer__column a,
  body.mkt .footer__bottom a {
    display: flex;
    align-items: center;
    min-width: 44px;
    min-height: 44px;
  }
}

/* --- the small screen --------------------------------------------------- */

@media (max-width: 480px) {
  body.mkt .hero__actions .button {
    width: 100%;
  }

  body.mkt .stat-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  /* The wordmark and the two 44px controls must fit on a 320px phone
   * without a sideways scroll; the touch targets themselves never shrink. */
  body.mkt .site-header__bar {
    gap: 0.5rem;
  }

  body.mkt .brand-mark__image {
    height: 23px;
  }

  body.mkt .site-header__mobile {
    gap: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.mkt .button:hover,
  body.mkt .card:hover,
  body.mkt .feature-card:hover,
  body.mkt .plan-card:hover {
    transform: none;
  }
}

/* --- Calm public path ----------------------------------------------------
 *
 * The seven public pages share these bands and arrangements. The section
 * wrapper comes from `page_section`, the hero from `hero_band`, and every
 * card, proof row and action from the one marketing macro set. Nothing here
 * paints a second button, card or field: these rules arrange the shared
 * pieces and keep one navy band at the top of a page.
 */

body.mkt .public-section.public-section {
  padding-block: clamp(3.25rem, 6.5vw, 5.5rem);
}

body.mkt .public-section.public-section--proof {
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
}

body.mkt .public-section.section--surface {
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
}

body.mkt .public-section.public-section--proof .stat-strip {
  gap: 1rem 2rem;
}

body.mkt .public-section--proof .stat-strip li {
  padding-left: 1rem;
  border-left: 1px solid var(--color-border);
}

body.mkt .public-section--proof .stat-strip li:first-child {
  padding-left: 0;
  border-left: 0;
}

body.mkt .public-section--proof .note {
  margin: 1rem 0 0;
}

/* The hero: one flat navy sheet, the words on the left and the plan card on
 * the right. The badge, the marker rule and the plan flag are the only
 * yellow on the band. */
body.mkt .hero {
  padding: clamp(2.25rem, 4.5vw, 4rem) 0 clamp(2.25rem, 4vw, 3.5rem);
  background: var(--color-primary);
  border-bottom: 1px solid color-mix(in srgb, var(--color-raised) 14%, transparent);
}

body.mkt .hero--compact {
  padding-block: clamp(2rem, 3.5vw, 3rem);
}

body.mkt .hero__layout {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

body.mkt .hero__layout--solo {
  display: block;
}

body.mkt .hero__copy {
  max-width: 46rem;
}

body.mkt .hero__layout--solo .hero__copy {
  max-width: 52rem;
}

@media (min-width: 980px) {
  body.mkt .hero__layout:not(.hero__layout--solo) {
    grid-template-columns: minmax(0, 1.08fr) minmax(21rem, 0.92fr);
  }
}

body.mkt .hero--compact h1 {
  font-size: clamp(2rem, 1.2rem + 2.2vw, 3rem);
}

body.mkt .hero__back {
  margin: 0 0 1rem;
  font-size: 0.875rem;
}

body.mkt .hero__back a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 44px;
  color: color-mix(in srgb, var(--color-raised) 82%, transparent);
  text-decoration: none;
}

body.mkt .hero__back a:hover {
  color: var(--color-raised);
  text-decoration: underline;
}

body.mkt .hero__badge {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: color-mix(in srgb, var(--color-raised) 82%, transparent);
  font-size: 0.8125rem;
  font-weight: 500;
}

body.mkt .hero__badge::before {
  width: 0.375rem;
  height: 0.375rem;
}

body.mkt .hero .eyebrow {
  color: color-mix(in srgb, var(--color-raised) 70%, transparent);
}

body.mkt .hero h1 {
  max-width: 15ch;
  color: var(--color-raised);
}

body.mkt .hero__lede {
  max-width: 38rem;
  color: color-mix(in srgb, var(--color-raised) 84%, transparent);
  font-size: 1.0625rem;
}

body.mkt .hero__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.375rem;
  margin: 0 0 1.25rem;
  padding: 0 0 0 0.75rem;
  border: 0;
  border-left: 3px solid var(--color-accent);
  border-radius: 0;
  background: transparent;
  color: var(--color-raised);
  font-size: 0.875rem;
  font-weight: 500;
}

body.mkt .hero__price strong {
  color: var(--color-raised);
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

body.mkt .hero__price-label {
  color: var(--color-accent);
  font-weight: 600;
}

body.mkt .hero__price-term {
  color: color-mix(in srgb, var(--color-raised) 72%, transparent);
}

body.mkt .hero__proofs {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem;
  max-width: 42rem;
  margin: 0 0 1.5rem;
  color: color-mix(in srgb, var(--color-raised) 80%, transparent);
}

body.mkt .hero__proofs .icon {
  color: color-mix(in srgb, var(--color-raised) 52%, transparent);
}

@media (min-width: 640px) {
  body.mkt .hero__proofs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  body.mkt .hero__proofs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem 1.25rem;
  }
}

body.mkt .hero__actions {
  margin: 0 0 1rem;
}

body.mkt .hero__copy .btn--primary {
  background: var(--color-raised);
  color: var(--color-primary);
  border-color: var(--color-raised);
}

body.mkt .hero__copy .btn--primary:hover {
  background: var(--color-surface);
  border-color: var(--color-surface);
}

body.mkt .hero__copy .btn--secondary {
  background: transparent;
  color: var(--color-raised);
  border-color: color-mix(in srgb, var(--color-raised) 48%, transparent);
}

body.mkt .hero__copy .btn--secondary:hover {
  background: color-mix(in srgb, var(--color-raised) 10%, transparent);
}

body.mkt .hero__meta {
  margin: 0;
  color: color-mix(in srgb, var(--color-raised) 68%, transparent);
  font-size: 0.8125rem;
}

body.mkt .hero__panel .plan-card {
  border: 1px solid color-mix(in srgb, var(--color-raised) 16%, transparent);
  box-shadow: none;
}

body.mkt .hero__panel .plan-card__cta .btn--secondary {
  color: var(--color-primary);
  border-color: var(--color-border-strong);
}

body.mkt .hero__caption {
  margin: 0.75rem 0 0;
  color: color-mix(in srgb, var(--color-raised) 65%, transparent);
  font-size: 0.8125rem;
}

/* The plan card is flat and typographic: the price is the loudest element,
 * the popular mark is one yellow chip, and the action is a quiet border. */
body.mkt .plan-card {
  padding: 1.5rem;
  gap: 0.5rem;
  border: 1px solid var(--color-border);
  box-shadow: none;
}

body.mkt .plan-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

body.mkt .plan-card__flag {
  position: static;
  flex: 0 0 auto;
  align-self: flex-start;
  margin: 0;
  padding: 0.1875rem 0.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

body.mkt .plan-card__name {
  font-size: 1.125rem;
  line-height: 1.3;
}

body.mkt .plan-card__tagline {
  margin: 0.25rem 0 0;
}

body.mkt .plan-card__price {
  margin-top: 0.75rem;
}

body.mkt .plan-card__amount {
  font-size: 2.25rem;
}

body.mkt .plan-card__annual {
  min-height: 0;
  margin-top: 0.125rem;
}

body.mkt .plan-card__specs {
  margin: 0.75rem 0 1.25rem;
  padding-top: 1rem;
}

body.mkt .feature-card,
body.mkt a.app-card,
body.mkt .offering-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-raised);
  box-shadow: none;
}

body.mkt .feature-card:hover,
body.mkt .plan-card:hover,
body.mkt .app-card:hover,
body.mkt .offering-card:hover {
  border-color: var(--color-primary);
  box-shadow: none;
  transform: none;
}

body.mkt .feature-card__icon,
body.mkt .app-card__icon {
  color: var(--color-primary);
  background: var(--color-primary-soft);
}

body.mkt .value-grid .feature-card {
  padding: 1.5rem;
}

/* The catalogue: a real filter bar, a flat grid of app cards, and the one
 * pager. The first column is the search, the two selects sit beside it. */
body.mkt .app-filter {
  display: grid;
  gap: 1rem;
  margin: 0 0 2rem;
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
}

body.mkt .app-filter__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  body.mkt .app-filter__grid {
    grid-template-columns: minmax(14rem, 1.6fr) repeat(2, minmax(10rem, 0.7fr));
    align-items: end;
  }
}

body.mkt .app-filter .field,
body.mkt .app-filter .field__label {
  min-width: 0;
}

body.mkt .app-filter .input,
body.mkt .app-filter .select {
  min-height: 44px;
  background: var(--color-raised);
}

body.mkt .app-filter__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

body.mkt .app-filter__clear {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 600;
}

body.mkt .app-filter__count {
  margin: 0;
  color: var(--color-ink-muted);
  font-size: 0.8125rem;
}

body.mkt .app-grid,
body.mkt .offering-grid {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  body.mkt .app-grid,
  body.mkt .offering-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  body.mkt .app-grid,
  body.mkt .offering-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

body.mkt .app-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100%;
  padding: 1.25rem;
  color: var(--color-ink);
  text-decoration: none;
}

body.mkt .app-card .eyebrow {
  margin: 0;
}

body.mkt .app-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-control);
}

body.mkt .app-card__title {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.3;
}

body.mkt .app-card__body {
  margin: 0;
  color: var(--color-ink-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

body.mkt .app-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-primary);
  font-size: 0.8125rem;
  font-weight: 600;
}

body.mkt .offering-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1.5rem;
}

body.mkt .offering-card .eyebrow {
  margin: 0;
}

body.mkt .offering-card__title {
  margin: 0;
  font-size: 1.125rem;
}

body.mkt .offering-card__title a {
  color: var(--color-ink);
  text-decoration: none;
}

body.mkt .offering-card__title a:hover {
  color: var(--color-primary);
}

body.mkt .offering-card__body {
  margin: 0;
  color: var(--color-ink-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

body.mkt .offering-card__price {
  margin: 0.25rem 0 0;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

body.mkt .offering-card__term {
  color: var(--color-ink-muted);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
}

body.mkt .offering-card .btn {
  margin-top: auto;
  padding-top: 0.75rem;
}

/* The pricing switch sits on one thin row under the hero. */
body.mkt .pricing-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

body.mkt .pricing-bar .range {
  margin: 0;
  box-shadow: none;
}

body.mkt .pricing-bar__note {
  flex: 1 1 20rem;
  margin: 0;
  color: var(--color-ink-muted);
  font-size: 0.8125rem;
}

/* The trust band is a statement, not a second card grid. */
body.mkt .trust-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  body.mkt .trust-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 4rem;
    align-items: start;
  }
}

body.mkt .trust-story h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
}

body.mkt .trust-story .lede {
  margin-bottom: 1rem;
}

body.mkt .trust-story__action {
  margin: 1.25rem 0 0;
}

body.mkt .trust-proof {
  padding: 0 0 0 1.25rem;
  border-left: 3px solid var(--color-accent);
}

body.mkt .trust-proof__statement {
  margin: 0 0 1rem;
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 1rem + 0.7vw, 1.375rem);
  font-weight: 600;
  line-height: 1.4;
}

body.mkt .trust-proof__signature {
  margin: 0;
  color: var(--color-ink-muted);
  font-size: 0.8125rem;
}

body.mkt .trust-proof .feature-grid {
  grid-template-columns: minmax(0, 1fr);
}

body.mkt .trust-proof .feature-card {
  padding: 1rem 0;
  border: 0;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
}

body.mkt .trust-proof .feature-card:first-child {
  border-top: 0;
}

body.mkt .trust-proof .feature-card__icon {
  display: none;
}

body.mkt .plans-note,
body.mkt .side-notes {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

body.mkt .plans-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  color: var(--color-ink-muted);
  font-size: 0.9375rem;
}

body.mkt .plans-note .btn {
  margin-left: auto;
}

body.mkt .side-notes {
  display: grid;
  gap: 1.25rem;
}

body.mkt .side-notes h3 {
  margin: 0 0 0.25rem;
  font-size: 1.0625rem;
}

body.mkt .side-notes p {
  margin: 0;
  color: var(--color-ink-muted);
  font-size: 0.9375rem;
}

body.mkt .notes-list {
  display: grid;
  gap: 1rem;
  max-width: 52rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: note;
}

body.mkt .notes-list li {
  position: relative;
  padding-left: 2rem;
  color: var(--color-ink-muted);
}

body.mkt .notes-list li::before {
  counter-increment: note;
  content: counter(note, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.125rem;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
}

/* The plan detail: a two-column overview and one specification list. */
body.mkt .plan-overview,
body.mkt .app-overview {
  display: grid;
  gap: 2rem;
}

body.mkt .plan-overview__highlights {
  min-width: 0;
}

@media (min-width: 900px) {
  body.mkt .plan-overview,
  body.mkt .app-overview {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: start;
  }
}

body.mkt .spec-grid {
  display: grid;
  gap: 0;
  margin: 0;
}

body.mkt .spec-grid > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--color-border);
}

body.mkt .spec-grid > div:first-child {
  border-top: 0;
}

body.mkt .spec-grid dt {
  color: var(--color-ink-muted);
  font-size: 0.8125rem;
}

body.mkt .spec-grid dd {
  margin: 0;
  color: var(--color-ink);
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: right;
}

body.mkt .plan-price .money-summary {
  max-width: 32rem;
}

body.mkt .plan-migration__title {
  margin: 2rem 0 0.75rem;
  font-size: 1.125rem;
}

body.mkt .app-overview .prose {
  margin: 0;
}

/* The closing band is paper, not a second navy page: the one navy band
 * belongs to the hero. */
body.mkt .cta-band {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
  color: var(--color-ink);
}

body.mkt .cta-band::after {
  content: none;
}

body.mkt .cta-band__inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  body.mkt .cta-band__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3rem;
  }
}

body.mkt .cta-band h2 {
  max-width: 24ch;
  color: var(--color-ink);
}

body.mkt .cta-band .eyebrow {
  color: var(--color-primary);
}

body.mkt .cta-band .lede {
  margin-bottom: 0;
  color: var(--color-ink-muted);
}

body.mkt .cta-band .proofs {
  margin-top: 1rem;
  color: var(--color-ink-muted);
}

body.mkt .cta-band__copy {
  max-width: 42rem;
}

body.mkt .public-section--steps .step-list,
body.mkt .public-section--value .value-grid,
body.mkt .public-section--plans .plan-grid,
body.mkt .public-section--lineup .offering-grid,
body.mkt .public-section--compare .table-scroll,
body.mkt .public-section--related .offering-grid,
body.mkt .public-section--included .feature-grid {
  margin-top: 0.5rem;
}

body.mkt .public-section--faq .faq {
  max-width: 52rem;
  margin-top: 0.5rem;
}

body.mkt .public-section--catalogue .section-head {
  margin-bottom: 1.5rem;
}

body.mkt .public-section--trust .trust-layout {
  margin-top: 0.5rem;
}

body.mkt .public-section--overview .plan-overview {
  margin-top: 0.5rem;
}

body.mkt .public-section--price .money-summary {
  margin-top: 0.5rem;
}

body.mkt .cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}

body.mkt .cta-band .btn--secondary {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

body.mkt .proofs li.proofs__item--icon::before {
  content: none;
}

body.mkt .proofs .icon {
  color: var(--color-primary);
  margin-right: 0.25rem;
}

/* A table on a phone stays a table; the first column is pinned by the
 * primitive. The wrapper, not the page, owns the sideways scroll. */
body.mkt .table-scroll {
  max-width: 100%;
}

@media (max-width: 639px) {
  body.mkt .app-filter__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.mkt .pricing-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  body.mkt .plans-note .btn {
    width: 100%;
    margin-left: 0;
  }

  body.mkt .hero__copy .btn {
    width: 100%;
  }

  body.mkt .cta-band__actions {
    width: 100%;
  }

  body.mkt .cta-band__actions .btn {
    flex: 1 1 12rem;
  }

  body.mkt .public-section--proof .stat-strip li {
    padding-left: 0;
    border-left: 0;
  }
}

/* One label voice. The section label and the proof caption are sentence
 * case on every width; the eyebrow is a 12px muted label, never an
 * announcement in capitals. */
body.mkt .eyebrow,
body.mkt .stat-strip__label {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

body.mkt .stat-strip__label {
  font-size: 0.8125rem;
  color: var(--color-ink);
}

/* Every control a thumb can land on is at least 44px, including the
 * breadcrumb, the brand door, the term switch and a section's way out. */
body.mkt .brand-mark,
body.mkt .breadcrumb a,
body.mkt .breadcrumb span[aria-current="page"],
body.mkt .section-head__link,
body.mkt .hero__badge,
body.mkt .hero__badge a,
body.mkt .term-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

body.mkt .breadcrumb a,
body.mkt .breadcrumb span[aria-current="page"],
body.mkt .footer__social a {
  min-width: 44px;
  justify-content: center;
}

body.mkt .footer__social a {
  width: 2.75rem;
  height: 2.75rem;
}

body.mkt .term-switch {
  padding-block: 0;
}

@media (max-width: 899px) {
  body.mkt .footer__column a,
  body.mkt .footer__bottom a {
    display: flex;
    align-items: center;
    min-width: 44px;
    min-height: 44px;
  }
}
