/*
 * podsteer.com
 *
 * The palette is the application's, so the site and the product do not look
 * like different companies: the brand blue from brand/README.md, and the
 * surface ramp from the app's Material Design 3 tokens.
 *
 * THEMING HAS THREE STATES: light, dark, and following the OS. The default is
 * the OS, and it works with no JavaScript at all — the media query below is
 * what handles it. An explicit choice is stored in localStorage by
 * static/js/theme.js, which writes `data-theme` on the root before first paint.
 *
 * localStorage rather than a cookie, and the reason is not arbitrary: this site
 * is one origin, so there is nothing to share a cookie with, and a preference
 * the visitor actively chose needs no consent banner where a tracking cookie
 * would. See the note at the top of theme.js.
 */

:root {
  /* Brand. --blue is tuned to sit BEHIND on-primary text; --blue-text is the
     readable end of the same ramp, for links and inline code. They are not two
     blues, they are one ramp used at two contrasts. */
  --blue: #1976d2;
  --blue-deep: #1557b0;
  --blue-text: #1257a0;

  --bg: #ffffff;
  --bg-tinted: #f4f7fb;
  --surface: #ffffff;
  --border: #dfe4ec;
  --text: #16181d;
  --text-secondary: #4b5563;
  --surface-raised: #ffffff;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, 0.10);

  --radius: 12px;
  --radius-lg: 18px;
  --wrap: 1120px;
  --wrap-narrow: 760px;

  --font: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;
}

/*
 * THE DARK PALETTE IS DECLARED TWICE, AND BOTH COPIES ARE LOAD-BEARING.
 *
 * There are three theme states, not two, and each needs a different selector:
 *
 *   1. No choice made (the default, and the only state without JavaScript).
 *      The root carries no data-theme, so the OS decides through the media
 *      query. `:not([data-theme="light"])` rather than a bare `:root` so that
 *      an explicit LIGHT choice still wins on a machine set to dark.
 *   2. Dark chosen explicitly. The attribute is set, and this must apply
 *      whatever the OS says — so it cannot live inside the media query.
 *   3. Light chosen explicitly. Falls through to the :root block above, which
 *      case 1's :not() is what protects.
 *
 * CSS has no way to share a declaration block between a media query and a
 * top-level rule, so the values are repeated. TestDarkThemeSelectorsAgree
 * parses this file and fails if the two blocks ever stop declaring the same
 * properties — because a token added to one and not the other produces a theme
 * that is correct until somebody presses the toggle.
 */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    /* #1976d2 as text fails contrast on a dark surface; the lighter end of the
       ramp is the app's own dark-theme primary. */
    --blue: #8ab4f8;
    --blue-deep: #1a73e8;
    --blue-text: #8ab4f8;

    --bg: #141218;
    --bg-tinted: #1d1b20;
    --surface: #1d1b20;
    --surface-raised: #262229;
    --border: #322f35;
    --text: #e6e1e9;
    --text-secondary: #cac4d0;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.45);
  }
}

:root[data-theme="dark"] {
  --blue: #8ab4f8;
  --blue-deep: #1a73e8;
  --blue-text: #8ab4f8;

  --bg: #141218;
  --bg-tinted: #1d1b20;
  --surface: #1d1b20;
  --surface-raised: #262229;
  --border: #322f35;
  --text: #e6e1e9;
  --text-secondary: #cac4d0;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

code {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

/* Keyboard users reach the content without tabbing the whole nav; visible only
   when focused, which is the only time it is useful. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 10;
}
.skip-link:focus {
  left: 0;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.wrap.narrow {
  max-width: var(--wrap-narrow);
}

/* --- Header --------------------------------------------------------------- */

.site-header {
  border-bottom: 1px solid transparent;
  position: sticky;
  top: 0;
  /* 94%, not 88%: at 88% the body text scrolling underneath stayed legible
     through the blur and the header read as smeared rather than translucent. */
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(12px);
  z-index: 20;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

/* At rest the header sits flat against the hero; once content has scrolled
   beneath it, the rule and shadow are what separate the two. Added by JS, so
   without it the header is simply always flat — which is correct, just less
   articulated. */
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.brand-mark {
  width: 30px;
  height: 30px;
  color: var(--blue);
}
.brand-name {
  font-size: 1.12rem;
}

/* The panel holding everything to the right of the brand. At desktop widths it
   is simply a flex row; below the breakpoint it becomes the drop-down. */
.nav-panel {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
  font-size: 0.96rem;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 140ms ease, border-color 140ms ease;
}
.nav-links a:hover {
  color: var(--text);
  border-bottom-color: var(--blue);
}

.link-icon {
  width: 0.85em;
  height: 0.85em;
  fill: currentColor;
  opacity: 0.55;
}

/* A RULE, NOT A PIPE CHARACTER. It scales with the header and needs no font
   metrics to line up, which a "|" glyph does. */
.nav-divider {
  width: 1px;
  height: 22px;
  background: var(--border);
}

/* --- Theme control -------------------------------------------------------- */

.theme-control {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: var(--bg-tinted);
  border: 1px solid var(--border);
  border-radius: 999px;
}
/* `hidden` on a flex container is otherwise ignored — display:flex wins over
   the UA's display:none, so the control would show before JS confirmed it
   works. */
.theme-control[hidden] {
  display: none;
}

.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}
.theme-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.theme-btn:hover {
  color: var(--text);
}
.theme-btn.is-active {
  background: var(--surface-raised);
  color: var(--blue-text);
  box-shadow: var(--shadow-sm);
}

/* --- Mobile menu toggle --------------------------------------------------- */

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.nav-toggle-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
/* One button, two glyphs, swapped by the expanded state — so the control never
   has to be re-rendered and its label and icon cannot disagree. */
.nav-toggle-icon.is-close,
.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  display: none;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-icon.is-close {
  display: block;
}

/* --- Hero ----------------------------------------------------------------- */

.hero {
  padding: 5.5rem 0 4rem;
  background:
    radial-gradient(900px 460px at 50% -10%, color-mix(in srgb, var(--blue) 16%, transparent), transparent 70%);
  text-align: center;
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.hero h1 em {
  font-style: normal;
  color: var(--blue-text);
}

.lede {
  max-width: 640px;
  margin: 1.25rem auto 0;
  font-size: 1.16rem;
  color: var(--text-secondary);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 2.25rem;
}

.cta-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --- Buttons -------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 120ms ease, border-color 120ms ease;
}

.button.primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
}
/* On dark the gradient's light end is the readable one, so the text flips to
   ink rather than staying white on a pale blue. Both selectors, for the same
   reason the palette is declared twice — see the note above it. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .button.primary {
    background: linear-gradient(135deg, #8ab4f8, #1a73e8);
    color: #06264f;
  }
}
:root[data-theme="dark"] .button.primary {
  background: linear-gradient(135deg, #8ab4f8, #1a73e8);
  color: #06264f;
}
.button.primary:hover {
  filter: brightness(1.06);
}

.button.ghost {
  border-color: var(--border);
  color: var(--text);
}
.button.ghost:hover {
  border-color: var(--blue);
}

/* --- Sections ------------------------------------------------------------- */

.section {
  padding: 4.5rem 0;
}
.section.tinted {
  background: var(--bg-tinted);
  border-block: 1px solid var(--border);
}
.section.closing {
  text-align: center;
  padding-bottom: 6rem;
}

.page-head {
  padding: 4rem 0 1rem;
}
.page-head h1 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.025em;
  font-weight: 600;
}
.page-head .lede {
  margin-inline: 0;
}

.section-label {
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-text);
  font-weight: 600;
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  letter-spacing: -0.02em;
  font-weight: 600;
}

.prose {
  color: var(--text-secondary);
  font-size: 1.06rem;
  margin: 0 0 1rem;
}
.prose.small {
  font-size: 0.95rem;
}

.prose-page h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.3rem;
  letter-spacing: -0.015em;
}
.prose-page p,
.prose-page li {
  color: var(--text-secondary);
}
.prose-page ul {
  padding-left: 1.2rem;
}
.prose-page li {
  margin-bottom: 0.6rem;
}
.prose-page strong {
  color: var(--text);
}

/* --- Cards ---------------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.cards.three {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
/* A 1px lift, not 4px. The card is a statement of fact rather than a control,
   so the hover acknowledges the pointer without inviting a click that does
   nothing — these are not links. */
.card:not(.plain):hover {
  border-color: color-mix(in srgb, var(--blue) 45%, var(--border));
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.card.plain {
  background: transparent;
  border-color: transparent;
  padding: 0;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: 12px;
  /* The brand blue at low alpha rather than a second colour: the tile has to
     read as a surface tint, and a solid blue square at this size competes with
     the heading beside it. */
  background: color-mix(in srgb, var(--blue) 14%, transparent);
  color: var(--blue-text);
}
.card-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
/* On the principles row the cards have no surface of their own, so the icon
   loses its tile too and sits as a plain mark. */
.card-icon.plain {
  width: auto;
  height: auto;
  margin-bottom: 0.75rem;
  border-radius: 0;
  background: none;
}
.card-icon.plain svg {
  width: 26px;
  height: 26px;
}

.card h2 {
  margin: 0 0 0.6rem;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}
.card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

/* --- Downloads ------------------------------------------------------------ */

.downloads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 1.5rem;
}

.download {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}
.download h2 {
  margin: 0;
  font-size: 1.2rem;
}
.download-detail {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.download .button {
  margin-top: 0.4rem;
}
.download-note {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* --- Commands ------------------------------------------------------------- */

.command {
  background: var(--bg-tinted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  overflow-x: auto;
  margin: 1.25rem 0;
}
.section.tinted .command {
  background: var(--surface);
}
.command code {
  font-family: var(--font-mono);
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--text);
  white-space: pre;
}

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

/* <details>, not a scripted accordion: it opens without JavaScript, is
   keyboard operable and screen-reader announced for free, and browser
   find-in-page opens a closed one to reveal a match — which a div-based
   accordion silently breaks. */
.faq {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-weight: 600;
  font-size: 1.04rem;
  cursor: pointer;
  list-style: none;
  transition: color 140ms ease;
}
/* The default disclosure triangle, removed in both dialects, because the
   chevron below replaces it. */
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::marker {
  content: "";
}
.faq-item summary:hover {
  color: var(--blue-text);
}

.faq-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  fill: currentColor;
  color: var(--text-secondary);
  transform: rotate(90deg);
  transition: transform 180ms ease;
}
.faq-item[open] .faq-chevron {
  transform: rotate(-90deg);
}

.faq-item p {
  margin: 0 0 1.25rem;
  padding-right: 2rem;
  color: var(--text-secondary);
  font-size: 1rem;
}

/* --- Footer --------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
  background: var(--bg-tinted);
}
.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 2fr;
  gap: 3rem;
}

.footer-brand .brand {
  margin-bottom: 1rem;
}
.footer-blurb {
  margin: 0 0 0.75rem;
  max-width: 30ch;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.footer-byline {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-col h2 {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 600;
}
.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.94rem;
  transition: color 140ms ease;
}
.footer-col a:hover {
  color: var(--blue-text);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.footer-note {
  margin: 0;
  max-width: 60ch;
  font-size: 0.84rem;
  color: var(--text-secondary);
}
.footer-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.footer-copyright {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.social-links {
  display: flex;
  gap: 0.5rem;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: color 140ms ease, border-color 140ms ease;
}
.social-links a:hover {
  color: var(--blue-text);
  border-color: var(--blue);
}
.social-links svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* --- Accessibility -------------------------------------------------------- */

/* Available to a screen reader, invisible on screen. Used for the theme
   buttons, which are icon-only and would otherwise announce as "button". */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* :focus-visible, not :focus — a visible ring on every mouse click is noise,
   and removing it for everyone is how keyboard users get stranded. */
:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--blue-text);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 860px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  /* THE PANEL IS COLLAPSED ONLY UNDER html.js. Without JavaScript the toggle
     button does nothing, so hiding the links behind it would leave a phone
     visitor with no navigation at all — the failure this markup exists to
     avoid. No script, no `js` class, and the panel simply stays open as a
     second header row. */
  html.js .nav-panel {
    display: none;
  }
  html.js .nav-panel.is-open,
  html:not(.js) .nav-panel {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    margin: 0;
    padding: 1rem 1.5rem 1.25rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    font-size: 1.02rem;
  }
  /* `flex`, not the desktop `inline-flex`: the row separator below has to span
     the full width of the panel, and an inline box is only as wide as its
     text — which drew a short rule under each label instead of a divider. */
  .nav-links a {
    display: flex;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-links a:hover {
    border-bottom-color: var(--border);
  }

  /* Horizontal in the drop-down, where the vertical rule of the desktop header
     would sit in a column of links and read as a stray mark. */
  .nav-divider {
    width: 100%;
    height: 1px;
    margin: 0.75rem 0 0.25rem;
  }

  .theme-control {
    align-self: flex-start;
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }
  .section {
    padding: 3.25rem 0;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* --- Comparison pages ----------------------------------------------------- */

.vs {
  color: var(--text-secondary);
  font-weight: 400;
  /* Slightly smaller than the names it sits between, so the two products read
     as the subject and "vs" as the operator rather than a third thing. */
  font-size: 0.7em;
  letter-spacing: 0;
  padding: 0 0.15em;
}

/* A comparison table is the one element on a marketing site guaranteed to be
   too wide for a phone. It scrolls inside its own box; the PAGE never scrolls
   sideways. */
.table-scroll {
  margin-top: 2rem;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.97rem;
}

.compare-table th,
.compare-table td {
  padding: 0.95rem 1.15rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table thead th {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 600;
  white-space: nowrap;
}

/* The row header is the question being asked of both tools. */
.compare-table tbody th {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  width: 1%;
}

.compare-table td {
  color: var(--text-secondary);
}

/* OUR column is tinted, not bolded and not ticked. A tint says "this is the
   column about us"; a green tick in every row of it would be a verdict the
   table has not earned and the reader did not ask for. */
.compare-table .is-ours {
  background: color-mix(in srgb, var(--blue) 6%, transparent);
}
.compare-table thead .is-ours {
  color: var(--blue-text);
}

.source-note {
  margin-top: 1.25rem;
}

.compare-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}
.compare-card h2 a {
  color: var(--text);
  text-decoration: none;
}
.compare-card h2 a::after {
  /* Stretches the link over the whole card, so the target is the card rather
     than four words of heading — without nesting the other content inside an
     anchor, which would swallow the source link. */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.compare-card:hover h2 a {
  color: var(--blue-text);
}

.compare-intent {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin: 0.9rem 0 0 !important;
  font-size: 0.88rem !important;
  color: var(--text-secondary);
  font-style: italic;
}

.rules {
  margin: 1.5rem 0;
  padding-left: 1.2rem;
}
.rules li {
  margin-bottom: 0.9rem;
  color: var(--text-secondary);
  font-size: 1rem;
}
.rules strong {
  color: var(--text);
}

/* The closing call to action on a comparison page is left-aligned with the
   prose above it, unlike the centred one on the home page. */
.cta-row.cta-left {
  justify-content: flex-start;
  margin-top: 1.75rem;
}

@media (max-width: 768px) {
  .compare-table th,
  .compare-table td {
    padding: 0.8rem 0.9rem;
  }
}

/* Comparison pages use ONE wrapper width for every section.
   Mixing .wrap and .wrap.narrow down a page gives it two different left
   margins, and the eye reads that ragged edge as a mistake rather than as
   emphasis. Readability is protected by capping the measure instead — 68
   characters, near the classic optimum — which constrains the line without
   moving where the line starts. */
.compare-page .prose,
.compare-page .rules,
.compare-page .lede {
  max-width: 68ch;
}
.compare-page .lede {
  margin-inline: 0;
}
