/* ============================================================
   WALLAT — Shared sub-page styles
   ============================================================
   Patterns used across features, pricing, enterprise, about,
   and every /for/<persona> page. Loaded AFTER section/component
   CSS so page-hero, persona spotlights, and tinted sections
   live in one place — not duplicated inline per HTML file.

   What belongs here:
     • .page-hero          — centered hero pattern used on every sub-page
     • .page-hero-btns     — button row beneath page-hero
     • .section-tint       — light brand-green accent section bg (--g-bg)
     • .for-spotlight*     — persona-page two-column callout
     • .for-stat-card*     — persona-page stat card

   What does NOT belong here:
     • Page-unique components (e.g. features intel-tabs / heatmap panels)
     • Anything already in overrides.css (.tf-icon, .section-cta-band)
   ============================================================ */

/* ── Page hero (centered hero pattern for all sub-pages) ─────── */
.page-hero {
  padding-top: calc(var(--nav-h, 64px) + var(--s7));
  padding-bottom: var(--s7);
  text-align: center;
}

.page-hero .kicker { margin-bottom: var(--s2); }
.page-hero .section-heading { max-width: 680px; margin-inline: auto; }
.page-hero .section-sub { max-width: 560px; margin-inline: auto; margin-top: var(--s3); }

.page-hero-btns {
  display: flex;
  gap: var(--s2);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--s5);
}

/* ── Section tint (brand-green wash) ─────────────────────────
   Used for accent/callout sections to break up the
   bg / bg1 alternation rhythm. Replaces inline
   style="background:var(--g-bg)" across sub-pages. */
.section-tint {
  background: var(--g-bg);
}

/* ── Enterprise callout section (used on pricing.html) ────────
   Standalone callout between pricing cards and FAQ. Bg1 keeps
   rhythm alternation (pricing white → enterprise gray → faq gray)
   without the 3-white run that exists when this defaults to bg. */
.section-enterprise {
  background: var(--bg1);
  padding-block: var(--s7);
}

/* ── Persona spotlight (two-column stat callout) ──────────────
   Used on every /for/<persona> page. Left column: copy with
   kicker, heading, body, link. Right column: a stat card. */
.for-spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s7);
  align-items: center;
}

.for-spotlight-copy .kicker { margin-bottom: var(--s2); }

.for-spotlight-copy h2 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: var(--s3);
  line-height: 1.2;
}

.for-spotlight-copy p {
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--text2);
  margin-bottom: var(--s3);
}

.for-spotlight-copy a {
  font-size: var(--fs-body-sm);
  font-weight: 600;
  color: var(--g2);
  text-decoration: none;
}

.for-spotlight-copy a:hover { text-decoration: underline; }

.for-stat-card {
  background: var(--g-bg);
  border: 1px solid var(--border-a);
  border-radius: 16px;
  padding: var(--s5);
  text-align: center;
}

.for-stat-num {
  display: block;
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 900;
  color: var(--g2);
  line-height: 1;
}

.for-stat-label {
  display: block;
  font-size: var(--fs-body-sm);
  color: var(--text2);
  margin-top: var(--s2);
  line-height: 1.5;
}

.for-stat-sub {
  font-size: var(--fs-caption);
  color: var(--text3);
  margin-top: var(--s4);
  padding-top: var(--s4);
  border-top: 1px solid var(--border-a);
  text-align: left;
}

.for-stat-sub span {
  display: block;
  padding: 4px 0;
  font-size: 13px;
  color: var(--text2);
}

.for-stat-sub span::before {
  content: '↑ ';
  color: var(--g2);
  font-weight: 700;
}

/* ── Responsive collapses ────────────────────────────────── */
@media (max-width: 768px) {
  .for-spotlight { grid-template-columns: 1fr; }
}


/* ════════════════════════════════════════════════════════════
   PERSONA HERO VISUAL — phone mockup + template switcher
   ════════════════════════════════════════════════════════════
   Used in the hero of every /for/<persona> page. Mirrors the
   `#create .cr-visual-shell` styles from create.css, scoped to
   .persona-hero-visual so the same markup renders identically
   without the home-page `#create` ancestor.
   Markup:
     .persona-hero-visual
       .cr-visual
         .cr-visual-shell
           .phone-frame
             .phone-screen
               .cr-profile-slot[.is-active]
           .cr-pf-switcher
             .cr-pf-pill
   ════════════════════════════════════════════════════════════ */

/* Hero block: centered, not sticky (overrides .cr-visual sticky from create.css) */
.persona-hero-visual {
  margin-top: var(--s6);
}

.persona-hero-visual .cr-visual {
  position: static;
  top: auto;
  max-width: 480px;
  margin-inline: auto;
}

.persona-hero-visual .cr-visual-shell {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: var(--s5);
}

/* Phone frame — iPhone Pro 16: 260px frame → 240px screen → 520px max-height */
.persona-hero-visual .cr-visual-shell .phone-frame {
  --cr-phone-padding: 10px;
  --cr-phone-frame-radius: 36px;
  --cr-phone-screen-radius: calc(var(--cr-phone-frame-radius) - var(--cr-phone-padding));
  width: 260px;
  margin: 0 auto;
  border-radius: var(--cr-phone-frame-radius);
  background: #1a1a1a;
  padding: var(--cr-phone-padding);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.16),
    0 4px 16px rgba(0, 0, 0, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
  position: relative;
}

.persona-hero-visual .cr-visual-shell .phone-frame::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  z-index: 1;
}

.persona-hero-visual .cr-visual-shell .phone-screen {
  position: relative;
  border-radius: var(--cr-phone-screen-radius);
  background: #fff;
  overflow: hidden;
  height: 520px;
  max-height: 520px;
  contain: layout style paint;
}
.persona-hero-visual .cr-visual-shell .phone-screen::-webkit-scrollbar {
  display: none;
}

/* pp-* sized for the 240px screen */
.persona-hero-visual .cr-visual-shell .pp-cover { height: 88px; }
.persona-hero-visual .cr-visual-shell .pp-avatar { width: 68px; height: 68px; bottom: -34px; }
.persona-hero-visual .cr-visual-shell .pp-avatar img { width: 68px; height: 68px; }
.persona-hero-visual .cr-visual-shell .pp-body { padding: 42px 16px 18px; }
.persona-hero-visual .cr-visual-shell .pp-name { font-size: 18px; margin-bottom: 2px; }
.persona-hero-visual .cr-visual-shell .pp-role { font-size: 13px; margin-bottom: 3px; }
.persona-hero-visual .cr-visual-shell .pp-company { font-size: 12px; margin-bottom: var(--s2); }
.persona-hero-visual .cr-visual-shell .pp-actions { gap: 8px; margin-bottom: var(--s2); }
.persona-hero-visual .cr-visual-shell .pp-action { font-size: 10px; gap: 5px; }
.persona-hero-visual .cr-visual-shell .pp-action-icon {
  width: 38px; height: 38px; border-radius: 11px;
}
.persona-hero-visual .cr-visual-shell .pp-action-icon svg { width: 16px; height: 16px; }
.persona-hero-visual .cr-visual-shell .pp-save {
  font-size: 13px; padding: 11px 16px; border-radius: 11px; margin-bottom: 12px;
}
.persona-hero-visual .cr-visual-shell .pp-section { margin-top: 12px; }
.persona-hero-visual .cr-visual-shell .pp-section-title { font-size: 11px; margin-bottom: 6px; }
.persona-hero-visual .cr-visual-shell .pp-bio {
  font-size: 12px;
  line-height: 1.55;
}

/* Profile slots stacked absolutely inside the phone screen */
.persona-hero-visual .cr-profile-slot {
  position: absolute;
  inset: 0;
  display: none;
  border-radius: var(--cr-phone-screen-radius);
  overflow: hidden;
  contain: layout style paint;
}
.persona-hero-visual .cr-profile-slot.is-active {
  display: block;
}

/* Classic slot scrolls independently within the phone screen */
.persona-hero-visual .cr-profile-slot--classic {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.persona-hero-visual .cr-profile-slot--classic::-webkit-scrollbar { display: none; }

/* Iframe slots (Meridian / Dusk): render at 390px, scale to 240px → 0.6154 */
.persona-hero-visual .cr-profile-slot--iframe { background: #0e0a14; }
.persona-hero-visual .cr-profile-slot--iframe iframe {
  display: block;
  width: 390px;
  height: 845px;
  border: none;
  transform: translateZ(0) scale(0.6153846154);
  transform-origin: 0 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

/* Responsive: 240px frame on ≤900px viewports */
@media (max-width: 900px) {
  .persona-hero-visual .cr-visual-shell .phone-frame {
    --cr-phone-frame-radius: 34px;
    --cr-phone-screen-radius: calc(var(--cr-phone-frame-radius) - var(--cr-phone-padding));
    width: 240px;
  }
  .persona-hero-visual .cr-visual-shell .phone-screen {
    height: 476px;
    max-height: 476px;
  }
  .persona-hero-visual .cr-profile-slot--iframe iframe {
    transform: translateZ(0) scale(0.5641025641);
  }
}


/* ════════════════════════════════════════════════════════════
   PERSONA MANIFESTO — bold promise + 5-field sign-up + claims
   ════════════════════════════════════════════════════════════
   The signature section on every /for/<persona> page. Sits
   right after the hero. Editorial / declarative tone — dark
   surface, oversized headline, numbered field row, claim list.
   Reusable: each persona page swaps only the copy in
   .pm-headline, .pm-bridge, and .pm-promises.
   ════════════════════════════════════════════════════════════ */

.persona-manifesto {
  background: var(--ink);
  color: #fff;
  padding-block: clamp(80px, 12vw, 160px);
  position: relative;
  overflow: hidden;
}

/* subtle horizontal hairline at top + bottom for the editorial feel */
.persona-manifesto::before,
.persona-manifesto::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}
.persona-manifesto::before { top: 0; }
.persona-manifesto::after  { bottom: 0; }

.pm-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: left;
}

/* Eyebrow — small caps lead-in */
.pm-eyebrow {
  display: inline-block;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
  padding-bottom: var(--s4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  margin-bottom: var(--s5);
  width: 100%;
}

/* Headline — manifesto type */
.pm-headline {
  font-size: clamp(40px, 7.4vw, 96px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: #fff;
  margin: 0 0 var(--s6);
  text-wrap: balance;
}

.pm-headline-em {
  color: var(--g);
  display: inline-block;
}

/* Five-field row — numbered chips */
.pm-fields {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s5);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pm-field {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}

.pm-field-num {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--g);
  font-weight: 600;
}

.pm-field-name {
  color: rgba(255, 255, 255, 0.92);
}

/* Bridge sentence — the "we got you" beat */
.pm-bridge {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.62);
  margin: 0 0 var(--s7);
  max-width: 560px;
  letter-spacing: -0.005em;
}

.pm-bridge strong {
  color: #fff;
  font-weight: 700;
}

/* Promise list — declarative claims, numbered */
.pm-promises {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s6);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s5) var(--s5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--s5);
}

.pm-promise {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.pm-promise-num {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--g);
  font-weight: 600;
  padding-top: 7px;
  white-space: nowrap;
}

.pm-promise h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0 0 8px;
  text-wrap: pretty;
}

.pm-promise p {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
  max-width: 38ch;
}

/* CTA block */
.pm-cta {
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex-wrap: wrap;
  padding-top: var(--s5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pm-cta-sub {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.48);
}

/* Responsive */
@media (max-width: 768px) {
  .pm-promises {
    grid-template-columns: 1fr;
    gap: var(--s4);
  }
  .pm-field {
    padding: 10px 14px;
    font-size: 14px;
  }
  .pm-bridge {
    margin-bottom: var(--s6);
  }
}


/* ════════════════════════════════════════════════════════════
   PERSONA ARSENAL — the deeper capability set
   ════════════════════════════════════════════════════════════
   Sits after the manifesto. Three columns of capabilities,
   each grouped by intent (Pack / Re-engage / See & share).
   Light surface — counterweight to the dark manifesto above.
   ════════════════════════════════════════════════════════════ */

.persona-arsenal {
  background: var(--bg);
  padding-block: clamp(72px, 10vw, 140px);
}

.pa-header {
  max-width: 760px;
  margin: 0 auto var(--s6);
  text-align: center;
}

.pa-header .section-heading {
  margin-top: var(--s2);
}

.pa-sub {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--text2);
  margin-top: var(--s3);
  text-wrap: pretty;
}

/* Three-column capability grid */
.pa-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
  align-items: stretch;
  margin-top: var(--s5);
}

.pa-column {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: var(--s4);
  display: flex;
  flex-direction: column;
}

.pa-col-num {
  display: inline-block;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--g2);
  font-weight: 600;
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--s3);
  width: 100%;
}

.pa-column h3 {
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 var(--s3);
  text-wrap: pretty;
}

.pa-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pa-list li {
  position: relative;
  padding-left: 22px;
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--text);
}

.pa-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--g);
}

/* Closer line — sits below the grid, full-width, declarative */
.pa-closer {
  max-width: 720px;
  margin: var(--s6) auto 0;
  text-align: center;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
  color: var(--text2);
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.pa-closer strong {
  color: var(--text);
  font-weight: 700;
}

/* Responsive */
@media (max-width: 980px) {
  .pa-columns {
    grid-template-columns: 1fr;
    gap: var(--s3);
  }
}


/* ════════════════════════════════════════════════════════════
   PERSONA FAQ — visible Q&A list matching FAQPage JSON-LD
   ════════════════════════════════════════════════════════════
   Native <details>/<summary> accordion. No JS required.
   Each persona page ships 5 persona-specific Q&As that
   double as the source for the page's FAQPage schema.
   ════════════════════════════════════════════════════════════ */

.persona-faq {
  padding-block: clamp(72px, 10vw, 140px);
}

.pf-header {
  max-width: 720px;
  margin: 0 auto var(--s5);
  text-align: center;
}

.pf-header .section-heading { margin-top: var(--s2); }

.pf-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

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

.pf-item > summary {
  list-style: none;
  cursor: pointer;
  padding: var(--s3) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text);
  text-wrap: pretty;
  transition: color 0.15s ease;
}

.pf-item > summary::-webkit-details-marker { display: none; }
.pf-item > summary::marker { content: ''; }

.pf-item > summary:hover { color: var(--g2); }

.pf-chevron {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--text2);
}

.pf-item[open] .pf-chevron {
  transform: rotate(45deg);
  color: var(--g);
}

.pf-answer {
  padding: 0 0 var(--s3);
  max-width: 640px;
}

.pf-answer p {
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text2);
  margin: 0;
  text-wrap: pretty;
}

.pf-answer p + p { margin-top: var(--s2); }


/* ════════════════════════════════════════════════════════════
   GLOSSARY — definition list, one term per row
   ════════════════════════════════════════════════════════════ */
.glossary-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}

.glossary-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--s4);
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 96px;
}

.glossary-term {
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  margin: 0;
}

.glossary-def {
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text2);
  margin: 0;
  text-wrap: pretty;
}

.glossary-def code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: var(--bg1);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--text);
}

@media (max-width: 720px) {
  .glossary-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-block: var(--s3);
  }
}


/* ════════════════════════════════════════════════════════════
   CHANGELOG — dated release entries
   ════════════════════════════════════════════════════════════ */
.changelog-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--s6);
}

.changelog-entry {
  padding-bottom: var(--s5);
  border-bottom: 1px solid var(--border);
}

.changelog-entry:last-child {
  border-bottom: 0;
}

.cl-header {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-bottom: var(--s2);
}

.cl-date {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text2);
}

.cl-version {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--g2);
  background: var(--g-bg);
  border: 1px solid var(--border-a);
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 600;
}

.cl-title {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 var(--s3);
  line-height: 1.25;
  text-wrap: pretty;
}

.cl-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cl-items li {
  position: relative;
  padding-left: 22px;
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--text2);
}

.cl-items li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--g);
}


/* ════════════════════════════════════════════════════════════
   PERSONA HUB — small tag above each card title
   ════════════════════════════════════════════════════════════ */
.pf-card-tag {
  display: inline-block;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--g2);
  font-weight: 600;
  margin-bottom: var(--s2);
}


/* ════════════════════════════════════════════════════════════
   COMPARISON PAGES — Wallat vs X
   ════════════════════════════════════════════════════════════ */
.cmp-tldr {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: var(--s5);
  max-width: 820px;
  margin: var(--s5) auto 0;
}

.cmp-tldr h2 {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s3);
  color: var(--text);
}

.cmp-tldr p {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text2);
  margin: 0;
  text-wrap: pretty;
}

.cmp-table-wrap {
  max-width: 980px;
  margin: var(--s6) auto 0;
  overflow-x: auto;
}

.cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-body);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  overflow: hidden;
}

.cmp-table thead th {
  background: var(--bg1);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text2);
  text-align: left;
  padding: var(--s3) var(--s3);
  border-bottom: 1px solid var(--border);
}

.cmp-table thead th.col-wallat {
  color: var(--g2);
  background: var(--g-bg);
}

.cmp-table tbody td {
  padding: var(--s2) var(--s3);
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}

.cmp-table tbody tr:last-child td { border-bottom: 0; }

.cmp-table tbody td:first-child {
  font-weight: 600;
  color: var(--text);
  width: 38%;
}

.cmp-table td.yes { color: var(--g2); font-weight: 700; }
.cmp-table td.no  { color: var(--text3); }
.cmp-table td.partial { color: var(--text2); font-style: italic; }

.cmp-verdict {
  max-width: 820px;
  margin: var(--s7) auto 0;
}

.cmp-verdict h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 var(--s3);
  color: var(--text);
  text-wrap: balance;
}

.cmp-verdict p {
  font-size: var(--fs-lead);
  line-height: 1.7;
  color: var(--text2);
  margin: 0 0 var(--s3);
}


/* ════════════════════════════════════════════════════════════
   DEEP COMPARISON SUBPAGES — sections shared across
   /compare/wallat-vs-{competitor} pages
   ════════════════════════════════════════════════════════════ */

/* Hero badges — three quick advantages */
.cmp-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: var(--s4) 0 var(--s3);
}
.cmp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--g-bg);
  border: 1px solid var(--border-a);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--g2);
}
.cmp-hero-badge::before {
  content: '✓';
  font-weight: 800;
  font-size: 13px;
}

/* "Three Truths" — the BIG UNIQUE USPs section */
.cmp-truths {
  background: var(--ink);
  color: #fff;
  padding-block: clamp(80px, 12vw, 160px);
  position: relative;
  overflow: hidden;
}
.cmp-truths::before,
.cmp-truths::after {
  content: '';
  position: absolute; left: 0; right: 0;
  height: 1px; background: rgba(255,255,255,0.06);
}
.cmp-truths::before { top: 0; }
.cmp-truths::after { bottom: 0; }

.cmp-truths-header {
  max-width: 760px;
  margin: 0 auto var(--s6);
  text-align: center;
  position: relative;
  z-index: 1;
}
.cmp-truths-eyebrow {
  display: inline-block;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--g);
  font-weight: 600;
  margin-bottom: var(--s3);
}
.cmp-truths-h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 var(--s3);
  text-wrap: balance;
}
.cmp-truths-h2 em {
  font-style: normal;
  color: var(--g);
}
.cmp-truths-sub {
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  margin: 0;
  text-wrap: pretty;
}

.cmp-truths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cmp-truth-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--rl);
  padding: var(--s5) var(--s4);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.cmp-truth-num {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--g);
  font-weight: 600;
  padding-bottom: var(--s3);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.cmp-truth-h3 {
  font-size: clamp(20px, 1.9vw, 24px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  text-wrap: pretty;
}
.cmp-truth-h3 em {
  font-style: normal;
  color: var(--g);
}
.cmp-truth-p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  margin: 0;
}
.cmp-truth-p strong {
  color: #fff;
  font-weight: 700;
}

@media (max-width: 980px) {
  .cmp-truths-grid {
    grid-template-columns: 1fr;
    gap: var(--s3);
  }
}

/* H2H strengths grid — Wallat vs Them side by side */
.cmp-h2h-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
  max-width: 1080px;
  margin: var(--s6) auto 0;
}
.cmp-h2h-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: var(--s5);
}
.cmp-h2h-card.is-wallat {
  background: linear-gradient(160deg, var(--bg) 70%, var(--g-bg) 100%);
  border-color: var(--g);
}
.cmp-h2h-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 var(--s3);
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--border);
}
.cmp-h2h-tag {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.05em;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg1);
  color: var(--text2);
  text-transform: uppercase;
}
.cmp-h2h-card.is-wallat .cmp-h2h-tag {
  background: var(--g-bg);
  color: var(--g2);
}
.cmp-h2h-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cmp-h2h-list li {
  position: relative;
  padding-left: 22px;
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--text);
}
.cmp-h2h-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--g);
}
.cmp-h2h-card.is-them .cmp-h2h-list li::before {
  background: var(--text2);
}
.cmp-h2h-list strong {
  font-weight: 700;
  color: var(--text);
}

@media (max-width: 760px) {
  .cmp-h2h-grid { grid-template-columns: 1fr; gap: var(--s3); }
}

/* "When to pick them instead" — credibility-builder */
.cmp-when-them {
  max-width: 760px;
  margin: var(--s6) auto 0;
  background: var(--bg1);
  border-radius: var(--rl);
  border: 1px solid var(--border);
  padding: var(--s5);
}
.cmp-when-them-eyebrow {
  display: inline-block;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text2);
  font-weight: 600;
  margin-bottom: var(--s2);
  text-transform: uppercase;
}
.cmp-when-them h3 {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 var(--s3);
  text-wrap: pretty;
}
.cmp-when-them ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.cmp-when-them li {
  position: relative;
  padding-left: 24px;
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--text);
}
.cmp-when-them li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--text2);
  font-weight: 700;
}

/* Pricing-comparison cards (3-up) */
.cmp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
  max-width: 980px;
  margin: var(--s5) auto 0;
}
.cmp-pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: var(--s4);
}
.cmp-pricing-card.is-wallat {
  border-color: var(--g);
  background: linear-gradient(160deg, var(--bg) 70%, var(--g-bg) 100%);
}
.cmp-pp-tier {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text2);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
}
.cmp-pp-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: var(--s2);
}
.cmp-pp-price {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 4px;
}
.cmp-pp-price small {
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
}
.cmp-pp-sub {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  color: var(--text2);
  margin-bottom: var(--s3);
}
.cmp-pp-includes {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border);
  padding-top: var(--s3);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cmp-pp-includes li {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text2);
  padding-left: 20px;
  position: relative;
}
.cmp-pp-includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--g);
  font-weight: 800;
}
.cmp-pricing-card.is-wallat .cmp-pp-includes li::before { color: var(--g); }

@media (max-width: 760px) {
  .cmp-pricing-grid { grid-template-columns: 1fr; }
}

/* Sibling comparisons — link to other vs pages */
.cmp-siblings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s3);
  max-width: 1080px;
  margin: var(--s5) auto 0;
}
.cmp-sibling-card {
  display: block;
  padding: var(--s4);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.cmp-sibling-card:hover {
  border-color: var(--g);
  transform: translateY(-2px);
}
.cmp-sibling-vs {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text2);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
}
.cmp-sibling-card h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 var(--s2);
}
.cmp-sibling-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text2);
  margin: 0 0 var(--s3);
}
.cmp-sibling-card .af-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--g);
}


/* ════════════════════════════════════════════════════════════
   DIY NFC SECTION — used on NFC-focused comparison pages
   "Skip the $24 card — make your own."
   ════════════════════════════════════════════════════════════ */
.cmp-diy {
  background: var(--bg1);
  padding-block: clamp(72px, 10vw, 140px);
}

.cmp-diy-header {
  max-width: 760px;
  margin: 0 auto var(--s6);
  text-align: center;
}
.cmp-diy-eyebrow {
  display: inline-block;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--g2);
  font-weight: 600;
  margin-bottom: var(--s3);
}
.cmp-diy-h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 0 0 var(--s3);
  text-wrap: balance;
}
.cmp-diy-h2 em {
  font-style: normal;
  color: var(--g);
}
.cmp-diy-sub {
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.6;
  color: var(--text2);
  margin: 0;
  text-wrap: pretty;
}

.cmp-diy-quick {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  justify-content: center;
  max-width: 780px;
  margin: var(--s4) auto var(--s5);
}
.cmp-diy-quick li {
  list-style: none;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
}
.cmp-diy-quick li strong {
  color: var(--g2);
  font-weight: 700;
  margin-right: 4px;
}

/* Six-step grid */
.cmp-diy-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
  max-width: 1180px;
  margin: 0 auto;
  counter-reset: diystep;
}
.cmp-diy-step {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: var(--s5) var(--s4) var(--s4);
  counter-increment: diystep;
}
.cmp-diy-step::before {
  content: counter(diystep, decimal-leading-zero);
  position: absolute;
  top: var(--s4);
  right: var(--s4);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--g2);
  background: var(--g-bg);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}
.cmp-diy-step h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--text);
  margin: 0 0 var(--s2);
  padding-right: 48px;
  text-wrap: pretty;
}
.cmp-diy-step p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text2);
  margin: 0;
}
.cmp-diy-step code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12.5px;
  background: var(--bg1);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--text);
}
.cmp-diy-step strong {
  color: var(--text);
  font-weight: 700;
}
.cmp-diy-step .cmp-diy-note {
  display: block;
  margin-top: var(--s2);
  font-size: 12.5px;
  font-style: italic;
  color: var(--text3);
}

.cmp-diy-cost {
  max-width: 980px;
  margin: var(--s6) auto 0;
}
.cmp-diy-cost-label {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text2);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: var(--s3);
  text-align: center;
  display: block;
}
.cmp-diy-cost-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
}
.cmp-diy-cost-tier {
  padding: var(--s4);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.cmp-diy-cost-tier.is-wallat-free {
  border-color: var(--g);
  background: linear-gradient(160deg, var(--bg) 60%, var(--g-bg) 100%);
  position: relative;
}
.cmp-diy-cost-tier.is-wallat-free::before {
  content: 'Most popular';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  font-weight: 700;
  background: var(--g);
  color: #fff;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}
.cmp-diy-cost-tier.is-them {
  background: var(--bg1);
}
.cmp-diy-cost-tier-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.cmp-diy-cost-tier-price {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1;
}
.cmp-diy-cost-tier.is-wallat-free .cmp-diy-cost-tier-price { color: var(--g); }
.cmp-diy-cost-tier-price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  margin-left: 4px;
  letter-spacing: 0;
}
.cmp-diy-cost-tier-price s {
  color: var(--text3);
  font-weight: 700;
  margin-right: 6px;
}
.cmp-diy-cost-tier-sub {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text2);
  margin-top: 4px;
}

@media (max-width: 760px) {
  .cmp-diy-cost-tiers { grid-template-columns: 1fr; }
  .cmp-diy-cost-tier.is-wallat-free { margin-top: var(--s2); }
}

@media (max-width: 980px) {
  .cmp-diy-steps { grid-template-columns: 1fr; gap: var(--s3); }
}
