/* ============================================================
   TrueMetriks - Marketing pages
   Serves: About (/about), Contact (/contact), FAQ (/faq), Pricing (/pricing)
   All 4 W-3 pages link this file instead of legal.css or home.css.

   Architecture:
   - All colors/spacing/typography via tokens.css custom properties only.
     No hardcoded hex, rgb, or named colors.
   - Light theme = :root defaults. Dark theme overrides via [data-theme="dark"].
     No prefers-color-scheme media queries here - theme is driven by JS + data-theme.
   - Styles are scoped under .marketing to prevent bleed into nav/footer.
   - Only includes About-page styles in W-3-T1.
     Contact/FAQ/Pricing styles will be appended by their respective subagents.
   ============================================================ */

/* ============================================================
   CONTAINER WRAPPER
   ============================================================ */

.marketing {
  width: 100%;
}

.marketing__container {
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
@media (min-width: 768px) {
  .marketing__container { padding-inline: var(--space-6); }
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.marketing-hero {
  padding-top: var(--space-7);
  padding-bottom: var(--space-6);
  text-align: left;
}
@media (max-width: 768px) {
  .marketing-hero { padding-top: 24px; padding-bottom: var(--space-5); }
}

.marketing-hero__container {
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
@media (min-width: 768px) {
  .marketing-hero__container { padding-inline: var(--space-6); }
}

/* Eyebrow label above the h1 - uppercase, brand color, letter-spaced */
.marketing-hero__eyebrow {
  display: inline-block;
  color: var(--color-brand);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-3);
}
/* Amber variant for per-page opt-in (warm accent, applied to specific
   marketing pages like /about). Dark mode only - light mode inherits
   the brand-blue from the base .marketing-hero__eyebrow rule. */
[data-theme="dark"] .marketing-hero__eyebrow--amber {
  color: var(--color-accent-amber);
}

/* h1 inside hero - larger/bolder than legal h1 */
.marketing-hero h1 {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-extra);
  letter-spacing: -0.03em;
  line-height: var(--line-height-tight);
  color: var(--color-text);
  margin-bottom: var(--space-5);
}
@media (max-width: 768px) {
  .marketing-hero h1 { font-size: var(--font-size-3xl); }
}

/* Lead paragraph below h1 */
.marketing-hero__lead {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
  max-width: 56ch;
  margin: 0;
}

/* Pricing hero: match the homepage "Simple, fixed pricing" section-head
   exactly - same sizes (home.css .home h2 + .section-head p) AND centered
   (.section-head text-align:center). Scoped so the other marketing-page
   heroes keep their own left-aligned treatment. */
.marketing-hero.marketing-hero--pricing .marketing-hero__container { text-align: center; }
.marketing-hero.marketing-hero--pricing h1 { font-size: clamp(37px, 4vw, 53px); }
.marketing-hero.marketing-hero--pricing .marketing-hero__lead { font-size: 21px; margin-inline: auto; }
@media (max-width: 768px) {
  .marketing-hero.marketing-hero--pricing .marketing-hero__lead { font-size: 17px; }
}

/* ============================================================
   GENERIC CONTENT SECTIONS
   ============================================================ */

.marketing-section {
  padding-top: var(--space-7);
  padding-bottom: var(--space-7);
}
@media (max-width: 768px) {
  .marketing-section { padding-top: var(--space-5); padding-bottom: var(--space-5); }
}

/* Alternate sections get a subtle background tint for visual rhythm */
.marketing-section--alt {
  background: var(--color-surface-alt);
}
[data-theme="dark"] .marketing-section--alt {
  background: var(--color-surface-alt);
}

.marketing-section__container {
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
@media (min-width: 768px) {
  .marketing-section__container { padding-inline: var(--space-6); }
}

.marketing-section h2 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.02em;
  line-height: var(--line-height-snug);
  color: var(--color-text);
  margin-bottom: var(--space-5);
}
@media (max-width: 768px) {
  .marketing-section h2 { font-size: var(--font-size-xl); }
}

.marketing-section p {
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.marketing-section p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   CTA STRIP
   ============================================================ */

.marketing-cta {
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
  background: var(--color-surface-alt);
  text-align: center;
}
[data-theme="dark"] .marketing-cta {
  background: var(--color-surface-alt);
}

.marketing-cta__container {
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
@media (min-width: 768px) {
  .marketing-cta__container { padding-inline: var(--space-6); }
}

.marketing-cta h2 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.02em;
  line-height: var(--line-height-snug);
  color: var(--color-text);
  margin-bottom: var(--space-5);
}
@media (max-width: 768px) {
  .marketing-cta h2 { font-size: var(--font-size-xl); }
}

.marketing-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-top: var(--space-5);
}
/* Desktop: equal width + height so the gradient and white CTA read as a
   matched pair (min-width exceeds the wider label so both stretch to it). */
.marketing-cta__actions .btn { min-width: 240px; }
/* Mobile: stack the CTA buttons full-width so they're equal size. */
@media (max-width: 768px) {
  .marketing-cta__actions { flex-direction: column; align-items: stretch; flex-wrap: nowrap; }
  .marketing-cta__actions .btn { width: 100%; min-width: 0; }
}

/* Gradient primary + raised white CTA buttons. Mirrors home.css / restricted.css
   .btn-grad / .btn-light (which this page CSS does not load) so marketing pages
   can use the same matched-pair CTA treatment as the homepage. */
.btn-grad {
  background: var(--gradient-brand);
  color: var(--color-text-on-brand);
  box-shadow: var(--shadow-brand);
  border-color: transparent;
}
.btn-grad:hover { transform: translateY(-1px); color: var(--color-text-on-brand); }
.btn-light {
  background: #ffffff;
  color: var(--color-brand-deep);
  border: 1px solid var(--color-border-strong);
  box-shadow: 0 1px 2px rgba(20, 30, 90, 0.06), 0 10px 22px -8px rgba(20, 30, 90, 0.22);
}
.btn-light:hover {
  background: #ffffff;
  color: var(--color-brand-deep);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(20, 30, 90, 0.08), 0 14px 28px -8px rgba(20, 30, 90, 0.26);
}
[data-theme="dark"] .btn-light,
[data-theme="dark"] .btn-light:hover { background: #ffffff; color: var(--color-brand-deep); }

/* ============================================================
   DIVIDER between sections
   ============================================================ */

.marketing-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 0;
}

/* ============================================================
   CONTACT FORM (W3-T2)
   ============================================================ */

/* Contact form - clean card matching the docs site form, theme-aware so it
   works in both light and dark. Card surface + inset fields + blue focus glow. */
.contact-form {
  max-width: 620px;
  margin-inline: auto;
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

/* Each label + field pair stacks vertically */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Label sits above the input */
.form-group label {
  font-size: 15px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}

/* Optional hint inside label */
.form-optional {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-regular);
  color: var(--color-text-muted);
}

/* Base input + textarea styles - inset field on the card */
.form-input {
  width: 100%;
  background: var(--color-bg);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--color-text);
  transition: border-color var(--motion-fast) var(--ease-out),
              box-shadow var(--motion-fast) var(--ease-out);
  outline: none;
}

.form-input::placeholder { color: var(--color-text-muted); }

.form-input:focus {
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(34, 51, 255, 0.15);
}

/* Textarea extends the base .form-input */
.form-textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.5;
}

/* Submit button - composes .btn .btn-primary .btn-lg from components.css */
.form-submit {
  align-self: flex-start;
  margin-top: var(--space-2);
}

/* ============================================================
   DIRECT CONTACT BLOCK (W3-T2)
   ============================================================ */

.contact-direct h2 {
  margin-bottom: var(--space-4);
}

.contact-direct p {
  margin-bottom: var(--space-4);
}

/* Reset browser default italic on address elements */
.contact-direct address {
  font-style: normal;
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-5);
}

/* Small legal cross-reference link list */
.legal-crossref {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  text-align: center;
  margin-top: var(--space-6);
}

.legal-crossref a {
  color: var(--color-text-muted);
  transition: color var(--motion-fast) var(--ease-out);
}

.legal-crossref a:hover {
  color: var(--color-brand);
}

/* ============================================================
   FAQ ACCORDION (W3-T3)
   ============================================================ */

/* Wrapper - constrained width, centered */
.faq {
  max-width: var(--container-narrow);
  margin-inline: auto;
}

/* Category group - vertical spacing between categories */
.faq-category {
  margin-bottom: var(--space-7);
}

/* Category heading inherits .marketing-section h2 styles.
   Add tighter bottom margin so h2 sits close to its first item. */
.faq-category h2 {
  margin-bottom: var(--space-4);
}

/* Individual accordion item - the <details> element */
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  margin-bottom: var(--space-3);
  transition: border-color var(--motion-fast) var(--ease-out);
}

/* Open state - highlight border with brand color */
.faq-item[open] {
  border-color: var(--color-brand);
}

/* Summary - the clickable question row */
.faq-q {
  display: block;
  padding: var(--space-4) var(--space-5);
  padding-right: calc(var(--space-5) + 1.5rem); /* room for caret */
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color var(--motion-fast) var(--ease-out);
}

/* Hide Safari's default disclosure triangle */
.faq-q::-webkit-details-marker {
  display: none;
}

/* Custom caret - a '+' that rotates to 'x' when open */
.faq-q::after {
  content: '+';
  position: absolute;
  right: var(--space-5);
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-regular);
  line-height: 1;
  color: var(--color-text-muted);
  transition: transform var(--motion-fast) var(--ease-out),
              color var(--motion-fast) var(--ease-out);
}

/* Rotate caret 45deg when open ('+' becomes 'x') */
.faq-item[open] .faq-q::after {
  transform: translateY(-50%) rotate(45deg);
  color: var(--color-brand);
}

/* Hover state */
.faq-q:hover {
  color: var(--color-brand);
}

.faq-q:hover::after {
  color: var(--color-brand);
}

/* Keyboard focus */
.faq-q:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
  border-radius: var(--radius-md);
}

/* Answer body */
.faq-a {
  padding: 0 var(--space-5) var(--space-5);
}

.faq-a p {
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.faq-a p:last-child {
  margin-bottom: 0;
}

.faq-a a {
  color: var(--color-brand);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--motion-fast) var(--ease-out);
}

.faq-a a:hover {
  color: var(--color-brand-hover);
}

/* FAQ cards stay WHITE on dark backgrounds, folded and open (text flips to the
   light-theme dark values so it stays readable). Mirrors the white-card pattern
   used on the blog featured card. */
[data-theme="dark"] .faq-item {
  background: #FFFFFF;
  border-color: #D5DAEB;
}
[data-theme="dark"] .faq-item[open] {
  border-color: var(--color-brand);
}
[data-theme="dark"] .faq-q {
  color: #0F0F0F;
}
[data-theme="dark"] .faq-q::after {
  color: #2E3340;
}
[data-theme="dark"] .faq-a p {
  color: #2E3340;
}
[data-theme="dark"] .faq-q:hover,
[data-theme="dark"] .faq-q:hover::after,
[data-theme="dark"] .faq-item[open] .faq-q::after {
  color: var(--color-brand);
}

/* ============================================================
   PRICING TIERS + COMPARISON TABLE (W3-T4)
   ============================================================ */

/* ---- Plan-card grid layout --------------------------------- */

/* Override the narrow container max-width for the pricing grid.
   The plan-card-grid-wrap modifier bumps the container to the WIDE width
   so all 3 cards sit side by side with room to breathe (wider cards). */
.plan-card-grid-wrap {
  max-width: var(--container-wide);
}

.plan-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
@media (max-width: 880px) {
  .plan-card-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Individual plan card ---------------------------------- */

.plan-card {
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: var(--space-6);
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  position: relative;
}

/* Popular card: gradient border using padding-box / border-box technique */
.plan-card--pop {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--color-surface), var(--color-surface)) padding-box,
    var(--gradient-brand) border-box;
  box-shadow: var(--shadow-brand);
}

/* "Most popular" badge */
.plan-card__badge {
  position: absolute;
  top: -12px;
  right: 20px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--gradient-brand);
  color: var(--color-text-on-brand);
  font-size: 11px;
  font-weight: var(--font-weight-bold);
}

/* Card heading */
.plan-card h3 {
  margin: 0;
  font-size: 20px;                  /* match homepage .plan h3 */
  font-weight: var(--font-weight-semibold);
}

/* Price display */
.plan-card__price {
  font-size: 40px;
  font-weight: var(--font-weight-extra);
  letter-spacing: -0.02em;
  line-height: 1;
}

.plan-card__price small {
  font-size: 16px;                  /* match homepage .price small */
  color: var(--color-text-muted);
  font-weight: var(--font-weight-regular);
}

/* Sub-label under the price */
.plan-card__sub {
  color: var(--color-text-muted);
  margin: 0;
  font-size: 16px;                  /* match homepage .plan .sub */
}

/* Feature list */
.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  color: var(--color-text);
  font-size: 16px;                  /* match homepage .plan ul */
}

/* Flex row so a wrapped feature line hangs aligned under the text,
   not under the checkmark (fixes the "spill" on long bullets). */
.plan-card li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}
.plan-card li::before {
  content: "\2713";
  color: var(--color-success);
  font-weight: var(--font-weight-bold);
  flex-shrink: 0;
}

/* "Everything in X, plus:" rollup line - no checkmark, muted sub-heading */
.plan-card li.more {
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-muted);
}
.plan-card li.more::before { content: none; }

/* Push CTA button to the bottom of the card */
.plan-card .btn {
  margin-top: auto;
  font-size: 16px;                  /* trial CTA bumped +2px from .btn base (14px) */
}

/* ---- Comparison table ------------------------------------- */

/* Section heading above the table */
.compare-heading {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.02em;
  line-height: var(--line-height-snug);
  color: var(--color-text);
  margin-bottom: var(--space-5);
}
@media (max-width: 768px) {
  .compare-heading { font-size: var(--font-size-xl); }
}

/* Widen the comparison block to match the wider card grid */
.compare-wide {
  max-width: var(--container-wide);
}

/* Horizontal-scroll wrapper on narrow viewports */
.compare-wrapper {
  overflow-x: auto;
  margin-top: var(--space-7);
  border-radius: var(--radius-lg);
}

/* Table itself - larger, more readable */
.compare-table {
  width: 100%;
  min-width: 680px;            /* keep columns legible; wrapper scrolls on mobile */
  border-collapse: collapse;
  font-size: var(--font-size-base);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  /* Light page-tint backdrop so the faintly-tinted value cells (which have no
     solid bg of their own) sit on light, not the dark page, in dark mode.
     --color-bg is re-pinned light by the white-cards rule in components.css. */
  background: var(--color-bg);
}

/* Feature label takes ~half; the 3 tier columns split the rest evenly */
.compare-table__feature-col { width: 46%; }
.compare-table thead th[scope="col"]:not(.compare-table__feature-col) { width: 18%; }

/* All cells: roomy padding + a single bottom rule */
.compare-table th,
.compare-table td {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

/* Header row - bigger, bolder tier names */
.compare-table thead th {
  background: var(--color-surface-alt);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
}

/* The 3 tier-name headers are centered; feature-label header stays left */
.compare-table thead th[scope="col"]:not(.compare-table__feature-col) {
  text-align: center;
}

/* Feature-name cells (left column) */
.compare-table th[scope="row"] {
  font-weight: var(--font-weight-regular);
  color: var(--color-text);
  background: var(--color-surface);
  text-align: left;
}

/* Value cells */
.compare-table td {
  text-align: center;
  color: var(--color-text);
}

/* Feature labels (left column) stay on the plain surface; a vertical rule
   sets them apart from the tinted value columns so "what is the feature"
   reads instantly. */
.compare-table thead th.compare-table__feature-col,
.compare-table th[scope="row"] {
  border-right: 1px solid var(--color-border);
}

/* The top-left header cell holds the "Plans" section label - style it like
   the other section labels (small uppercase) rather than a big tier name. */
.compare-table thead th.compare-table__feature-col {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-subtle);
}

/* Category-header rows - full-width section labels (the empty gap row above
   each one provides the separation). */
.compare-table__category {
  background: var(--color-surface-alt);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  font-size: var(--font-size-sm);
  letter-spacing: 0.1em;
  color: var(--color-text-subtle);
  padding-top: var(--space-5);
  padding-bottom: var(--space-5);
}

/* Empty spacer row between sections - transparent so the page background
   shows through as real empty space. */
.compare-table tr.compare-table__gap td {
  height: var(--space-5);
  padding: 0;
  border: 0;
  background: var(--color-bg);   /* page color - light in both themes (table is pinned light) */
}

/* Per-tier COLUMN identity (columns are the organizing axis, not rows - no
   zebra). Position: 2=Starter, 3=Growth, 4=Unlimited. Category rows are a
   single colspan cell (nth-child 1) so they stay clean full-width dividers.
   Literal accent colors are a documented exception. */
.compare-table td:nth-child(2),
.compare-table thead th:nth-child(2) { background: rgba(100, 116, 139, 0.05); } /* Starter - slate */
.compare-table td:nth-child(3),
.compare-table thead th:nth-child(3) { background: rgba(34, 51, 255, 0.07); }   /* Growth - brand blue */
.compare-table td:nth-child(4),
.compare-table thead th:nth-child(4) { background: rgba(124, 58, 237, 0.05); }  /* Unlimited - violet */

/* Accent cap on each tier header + a stronger tint on the popular column */
.compare-table thead th:nth-child(2) { border-top: 3px solid #64748B; }
.compare-table thead th:nth-child(3) { border-top: 3px solid var(--color-brand); background: rgba(34, 51, 255, 0.12); }
.compare-table thead th:nth-child(4) { border-top: 3px solid #7C3AED; }

/* The whole table is pinned to the light palette in dark mode (via the shared
   white-cards rule in components.css), so the light column tints above apply
   in both themes - no separate dark-mode override needed. */

/* Included = white check inside a green circle badge */
.compare-table .tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-success);
  color: #fff;
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  line-height: 1;
}
/* Not-included = muted dash */
.compare-table td.cmp-n {
  color: var(--color-text-subtle);
  font-size: 1.1em;
}

/* Flat-pricing differentiator card (mirrors the homepage #pricing callout) */
.price-flat {
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface-tint-1);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.price-flat h3 {
  font-size: 27px;
  font-weight: var(--font-weight-extra);
  letter-spacing: -0.02em;
  margin: 0 0 28px;
}
.price-flat-rows {
  display: grid;
  gap: 18px;
  max-width: 580px;
  margin: 0 auto;
  text-align: left;
}
.price-flat-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-text-subtle);
}
.price-flat-row .ic {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  font-size: 15px;
  font-weight: var(--font-weight-bold);
  line-height: 1;
  margin-top: 1px;
}
.price-flat-row.them .ic { background: var(--color-danger); }
.price-flat-row.us .ic { background: var(--color-success); }

/* "No credit card required" note under each plan-card CTA */
.plan-card__note {
  text-align: center;
  font-size: 16px;                  /* match homepage .plan-note */
  color: var(--color-text-subtle);
  margin: var(--space-3) 0 0;
}

/* Marketing pages are intentionally flat (single body color) per Fahir
   2026-05-12: "the about and policy pages should be one color". The
   short-lived section wave (commit d60ab7a) was reverted here. The
   homepage keeps its own wave via .home > section in home.css.

   The legacy .marketing-section--alt / .marketing-cta rules above set
   their own background (--color-surface-alt) which would create lifted
   "panel" zones inside the otherwise-flat page. Neutralise them here so
   the whole marketing page reads as one body color, like the legal
   pages do. */
.marketing > .marketing-section--alt,
.marketing > .marketing-cta {
  background: transparent;
}

/* Hide the inline <hr class="marketing-divider"> elements between sections.
   With the page now flat-coloured, the dividers create unwanted horizontal
   lines breaking up an otherwise uniform body. */
.marketing > .marketing-divider {
  display: none;
}

/* ============================================================
   DEBUGGING-SERVICES PAGE
   (the page's own inline <style> owns .dbg-list bullets + base type)
   ============================================================ */

/* One-time offer / price card */
.dbg-offer {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xl);
  padding: var(--space-7) var(--space-6);
  box-shadow: var(--shadow-md);
}
.dbg-offer__label {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
}
.dbg-offer__price {
  font-size: clamp(44px, 6vw, 60px);
  font-weight: var(--font-weight-extra);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--color-text);
}
.dbg-offer__price small {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0;
}
.dbg-offer .dbg-offer__sub {
  font-size: 17px;
  color: var(--color-text-muted);
  margin: var(--space-4) auto var(--space-5);
  max-width: 42ch;
  line-height: var(--line-height-relaxed);
}
.dbg-offer__cta {
  width: 100%;
  max-width: 340px;
}
.dbg-offer .dbg-offer__note {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: var(--space-4);
}

/* How it works (numbered) */
.dbg-steps {
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
  counter-reset: dbg;
  display: grid;
  gap: 14px;
}
.dbg-steps li {
  position: relative;
  padding-left: 46px;
  color: var(--color-text);
  font-size: 17px;
  line-height: var(--line-height-relaxed);
  min-height: 32px;
  display: flex;
  align-items: center;
}
.dbg-steps li::before {
  counter-increment: dbg;
  content: counter(dbg);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
}

/* Covered vs priced-separately columns */
.dbg-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-5);
}
@media (max-width: 768px) {
  .dbg-cols { grid-template-columns: 1fr; gap: var(--space-5); }
}
.dbg-col__title {
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  margin: 0 0 var(--space-3);
}
.dbg-col__title--yes { color: var(--color-brand); }
.dbg-col__title--no { color: var(--color-text-muted); }
.marketing-section__container .dbg-fineprint {
  margin-top: var(--space-5);
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

/* ============================================================
   CONTACT - WHATSAPP CARD
   "Chat with us on WhatsApp" card above the contact form. Card
   colors are LOCKED to the light palette and re-pinned in dark
   mode (like the blog in-article boxes) so it looks identical in
   both themes. Light tokens: surface-alt #E1E6FF, border #D5DAEB,
   text #0F0F0F, text-muted #2E3340.
   ============================================================ */
.contact-whatsapp {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  background: #E1E6FF;
  border: 1px solid #D5DAEB;
  border-radius: 16px;
  padding: 40px 32px;
}
[data-theme="dark"] .contact-whatsapp {
  background: #E1E6FF;
  border-color: #D5DAEB;
}
.contact-whatsapp__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(37, 211, 102, 0.14);
  color: #25D366;
}
.contact-whatsapp__icon svg { width: 34px; height: 34px; fill: currentColor; }
.contact-whatsapp h2 { margin-bottom: 10px; color: #0F0F0F; }
[data-theme="dark"] .contact-whatsapp h2 { color: #0F0F0F; }
.contact-whatsapp p {
  color: #2E3340;
  max-width: 460px;
  margin: 0 auto 24px;
}
[data-theme="dark"] .contact-whatsapp p { color: #2E3340; }
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  font-weight: var(--font-weight-semibold, 600);
  font-size: 17px;
  line-height: 1;
  padding: 15px 30px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn-whatsapp svg { width: 22px; height: 22px; fill: currentColor; }
/* On hover only the background darkens; text + icon stay white
   (beats the global a:hover color rule, which otherwise turns them blue). */
.btn-whatsapp:hover { background: #1da851; color: #fff; transform: translateY(-1px); }
.btn-whatsapp:hover svg { fill: #fff; }
