/* ============================================================
   AV Custom · components.css
   Load order 3 of 3. The full thin-line component library from
   AV Site Page Style Guide v2.0 §4, implemented 1:1 from the
   live pages (knowledge-base-setup-automation.html and
   business-documentation.html), with the v2.0 accessibility
   corrections applied (label colour, text floors).

   Legacy class names from both live pages are accepted as
   aliases (.pg-item/.pg, .problem-grid/.pgrid, .hero-inner/
   .hero-in, .line2/.l2 …) so old markup pastes cleanly into the
   editor and WPBakery later.

   CONTENTS
   01 Announce bar (§4L)
   02 Site header + navigation (§4M)
   03 Hero (§5)
   04 Badges (§4B)
   05 Buttons (§4A)
   06 Section label (§4C) + section shells (§5)
   07 Credibility strip (§4K)
   08 Problem grid (§4G)
   09 Positioning + pullquote (§4F)
   10 Layer stack (§4E)
   11 Vault feature cards (§4D)
   12 For-who split (§4H)
   13 Price box (§4I)
   14 FAQ (§4J)
   15 Final CTA (§5)
   16 Footer (§4N)
   17 Pillar-hub extras (breadcrumb, artifact, resource box,
      action, related cards, steward)
   18 Blog templates (post header, meta, cards, pagination,
      comments, search)
   19 Responsive (768px · 420px)
   ============================================================ */


/* ---------- 01 · ANNOUNCE BAR ---------- */
/* Gradient teal → mid-teal; only for a genuine announcement.
   Strong text is gold. Padding 11px 24px. */

.announce {
  background: linear-gradient(90deg, var(--teal), var(--mid-teal));
  padding: 11px 24px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--pale-teal);
  letter-spacing: 0.3px;
  position: relative;
  z-index: 70;
}
.announce strong { color: var(--gold); }
.announce a { display: block; color: inherit; }
.announce a:hover strong { text-decoration: underline; }


/* ---------- 02 · SITE HEADER + NAVIGATION ---------- */
/* Sticky dark bar: logo lockup · flat primary menu · gold Fit
   Check button. On mobile the menu drops below the bar (never
   covers content) and collapses via main.js. */

.site-header {
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(4, 15, 20, 0.94); /* --deep at .94, as live */
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(6px);
}
.header-in {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.logo {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: 0.2px;
  margin-right: auto;
}
.logo em { font-style: normal; color: var(--bright-teal); }
.logo img { display: inline-block; width: auto; }
.custom-logo { width: auto; }

.nav { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.nav > .menu,
.nav ul.menu {
  display: flex;
  gap: 22px;
  align-items: center;
  list-style: none;
}
.nav a,
.nav .menu a {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(201, 238, 242, 0.55); /* meta floor §7 */
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
.nav a:hover,
.nav .current-menu-item > a,
.nav a.on { color: var(--white); }
.nav .current-menu-item > a { color: var(--bright-teal); }

/* Mobile toggle — hidden on desktop (main.js sets .nav-collapsed). */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: 3px;
  color: var(--pale-teal);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 8px 16px;
  cursor: pointer;
}
.nav-toggle::after { content: "\2630"; color: var(--bright-teal); }


/* ---------- 03 · HERO ---------- */
/* Deep canvas, legacy grid + glows kept per §5 ("transitional —
   stay on the live site until the planned refresh; do not add to
   NEW components"). Padding 120px 24px 100px. */

.hero {
  position: relative;
  padding: 120px 24px 100px;
  overflow: hidden;
  text-align: center;
}
.hero-grid {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(95, 205, 217, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 205, 217, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 40%, transparent 100%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 40%, transparent 100%);
}
.glow-teal {
  position: absolute; top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 500px;
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(35, 121, 140, 0.22), transparent 65%);
}
.glow-gold {
  position: absolute; bottom: -120px; right: -80px;
  width: 500px; height: 500px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(200, 168, 75, 0.1), transparent 65%);
}
.hero-inner,
.hero-in {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
}
.badge-row {
  display: flex; justify-content: center;
  gap: 10px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 6rem);   /* Hero H1 spec */
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -1px;
}
.hero h1 span { display: block; }
.line1, .l1 { color: var(--white); }
.line2, .l2 { color: var(--bright-teal); font-style: italic; }
.line3, .l3 { color: var(--gold); }
.hero-sub {
  max-width: 680px;
  margin: 28px auto 0;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-body);
}
.hero-cta { margin-top: 40px; }
.trust-line,
.trust {
  margin-top: 18px;
  font-size: 0.8rem;          /* §2: raised for legibility */
  font-weight: 400;
  color: var(--text-meta);    /* §7 floor .55 (v1 used .35) */
}

/* Page/archive hero drawn by the theme: a size down from the
   flagship sales hero, same family. */
.hero--page { padding: 104px 24px 88px; }
.hero--page h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.06;
  margin-bottom: 20px;
}
.hero--page .hero-sub { margin-bottom: 0; }


/* ---------- 04 · BADGES ---------- */
/* Pill, 10px/600, tracking 3px, uppercase. Radius 100px. */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 100px;
  padding: 7px 18px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.badge-teal,
.badge.teal {
  background: rgba(95, 205, 217, 0.10);
  border: 1px solid rgba(95, 205, 217, 0.25);
  color: var(--bright-teal);
}
.badge-gold,
.badge.gold {
  background: rgba(200, 168, 75, 0.12);
  border: 1px solid rgba(200, 168, 75, 0.30);
  color: var(--gold);
}


/* ---------- 05 · BUTTONS ---------- */
/* Gold .btn-flagship is the ONLY gold surface. Solid, sharp 3px
   radius, navy text. Hover lift is flattened under
   prefers-reduced-motion by reset.css. */

.btn-flagship,
.announce .btn-flagship {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
  padding: 20px 56px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-flagship:hover {
  color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(200, 168, 75, 0.35);
}
.btn-flagship-lg {
  padding: 22px 52px;
  font-size: 1.1rem;
  width: 100%;
  text-align: center;
}

/* Header CTA */
.btn-sm {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
  padding: 9px 22px;
  border-radius: 3px;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-sm:hover {
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(200, 168, 75, 0.3);
}

/* Inline blog read-more */
.read-more { color: var(--gold); font-weight: 600; white-space: nowrap; }
.read-more:hover { color: var(--bright-teal); }


/* ---------- 06 · SECTION LABEL + SHELLS ---------- */
/* v2.0 correction: default eyebrow is --bright-teal (§4C).
   --mid-teal is borders/large text only. */

.section-label,
.vc-tag-section {
  display: block;
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--bright-teal);
  margin-bottom: 18px;
}
.on-dark .section-label,
.alt .section-label { color: var(--bright-teal); }
.pricing .section-label { color: var(--gold); }
.action .section-label { color: var(--gold); margin-bottom: 12px; }

/* Dark band variants (§5). */
.positioning,
.vault,
.alt {
  background: rgba(8, 48, 64, 0.55); /* §5 tints 0.5–0.6 */
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.faq {
  background: rgba(8, 48, 64, 0.4);
  border-top: 1px solid var(--border-light);
}
.pricing {
  background: rgba(4, 15, 20, 0.98);
  border-top: 1px solid var(--gold); /* gold top border */
  text-align: center;
}
.pricing h2 { margin-bottom: 12px; }
.pricing .lead { margin-left: auto; margin-right: auto; }

/* Element-level so band classes (.pricing etc.) keep their own h2. */
section h2 { margin-bottom: 26px; max-width: 860px; }


/* ---------- 07 · CREDIBILITY STRIP ---------- */
/* Verified facts only; "Since 1989". No invented stats. */

.cred-strip {
  background: rgba(14, 76, 89, 0.3);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 52px 24px; /* overrides the 110px section rhythm (class beats element rule; no !important needed) */
}
.cred-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.cred-item {
  padding: 20px 24px;
  text-align: center;
  border-right: 1px solid var(--border-subtle);
}
.cred-item:last-child { border-right: none; }
.cred-number {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.cred-desc {
  font-size: 0.85rem;
  color: var(--text-body); /* §4K: .65 raised from .55 */
  line-height: 1.5;
  font-weight: 300;
}


/* ---------- 08 · PROBLEM GRID ---------- */
/* Hairline grid; ✗ is decorative (contrast floor exempt). Cells
   name missing structures, never people at fault. */

.problem-grid,
.pgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(95, 205, 217, 0.08);
  border: 1px solid rgba(95, 205, 217, 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 40px;
}
.pg-item,
.pg {
  background: var(--deep);
  padding: 28px 32px;
  font-size: 0.95rem;
  color: var(--text-body); /* §4G .65 (raised from .6/.55) */
  line-height: 1.65;
  font-weight: 300;
  display: flex;
  gap: 12px;
}
.pg-item::before,
.pg::before {
  content: "\2717";               /* ✗ */
  color: rgba(95, 205, 217, 0.3); /* decorative */
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}


/* ---------- 09 · POSITIONING + PULLQUOTE ---------- */

.pos-highlight {
  margin-top: 48px;
  padding: 40px 44px;
  background: rgba(95, 205, 217, 0.05);
  border-left: 4px solid var(--bright-teal);
  border-radius: 0 6px 6px 0;
  max-width: 800px;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--white);
  line-height: 1.4;
}
.pos-highlight p { /* KB structure: text inside <p> */
  font: inherit;
  color: inherit;
}
.pos-highlight span { color: var(--bright-teal); }


/* ---------- 10 · LAYER STACK ---------- */
/* The six-step knowledge foundation, 01–06 zero-padded. */

.layer-stack {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.layer {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: rgba(95, 205, 217, 0.03);
  border: 1px solid rgba(95, 205, 217, 0.08);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.layer:hover { border-color: rgba(95, 205, 217, 0.2); }
.layer-left {
  background: rgba(95, 205, 217, 0.05);
  padding: 32px 28px;
  position: relative;
}
.layer-number {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 900;
  font-size: 2.5rem;
  color: rgba(95, 205, 217, 0.2); /* ghost, decorative */
  line-height: 1;
}
.layer-title {
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--bright-teal);
  line-height: 1.3;
  margin-top: 6px;
}
.layer-right { padding: 32px 36px; }
.layer-tag {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 8px;
}
.layer-right h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 10px;
}
.layer-right p {
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-weight: 300;
  font-size: 0.92rem;
  color: var(--text-body); /* §4E .65 */
  line-height: 1.7;
}


/* ---------- 11 · VAULT FEATURE CARDS ---------- */
/* Top accent line teal→gold is the only gradient allowed besides
   the announce bar. Icon is Unicode ◈ — never emoji. */

.vault-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 44px;
}
.vault-card,
article.vault-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(95, 205, 217, 0.1);
  border-radius: 6px;
  padding: 32px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.vault-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--bright-teal), var(--gold));
  border-radius: 6px 6px 0 0;
}
.vault-card:hover {
  transform: translateY(-3px);
  border-color: rgba(95, 205, 217, 0.22);
}
.vault-icon,
.vc-icon {
  display: block;
  font-size: 1.4rem;
  color: var(--bright-teal);
  margin-bottom: 14px;
}
.vault-card h4,
.vc-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 10px;
  display: block;
}
a.vc-title:hover { color: var(--bright-teal); }
.vault-card p,
.vc-body,
.vc-body p {
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-weight: 300;
  font-size: 0.88rem;
  color: rgba(201, 238, 242, 0.6); /* §4D: raised from .55 */
  line-height: 1.65;
}
.vc-tag { margin-bottom: 12px; }

.vc-links {
  margin-top: 18px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}
.vc-links a {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-strong);
  margin-top: 10px;
  line-height: 1.5;
  transition: color 0.2s;
}
.vc-links a:hover { color: var(--bright-teal); }
.vc-links a::before {
  content: "\2192"; /* → */
  color: rgba(95, 205, 217, 0.45);
  font-weight: 700;
  flex-shrink: 0;
}


/* ---------- 12 · FOR-WHO SPLIT ---------- */

.who-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 36px;
}
.who-col h4 {
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
  margin-bottom: 18px;
}
.who-col.yes h4 { color: var(--bright-teal); }
.who-col.no h4 { color: rgba(201, 238, 242, 0.55); } /* §4H raised from .3 */
.who-col li {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(201, 238, 242, 0.7);
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}
.who-col.yes li::before {
  content: "\2713"; /* ✓ */
  color: var(--bright-teal);
  font-weight: 700;
  flex-shrink: 0;
}
.who-col.no li::before {
  content: "\2717"; /* ✗ */
  color: rgba(201, 238, 242, 0.3); /* decorative mark */
  font-weight: 700;
  flex-shrink: 0;
}


/* ---------- 13 · PRICE BOX ---------- */
/* ZAR only. "R" as small sup prefix — no $, no VAT line.
   Only with an approved, live offer. */

.price-box {
  position: relative;
  max-width: 560px;
  margin: 44px auto 0;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(200, 168, 75, 0.3);
  border-radius: 10px; /* §19: never above 10px */
  padding: 60px 48px;
  text-align: center;
}
.price-box::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bright-teal), var(--gold), var(--bright-teal));
  border-radius: 10px 10px 0 0;
}
.price-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 16px;
}
.price-tag {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 900;
  font-size: 6.5rem;
  color: var(--gold);
  line-height: 1;
}
.price-tag sup { font-size: 2.5rem; vertical-align: super; }
.price-descriptor {
  color: var(--text-meta);
  font-size: 0.88rem;
  font-weight: 300;
  margin: 8px 0 44px;
}
.includes-list {
  text-align: left;
  list-style: none;
}
.includes-list li {
  display: flex;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-strong);
  line-height: 1.5;
  margin-bottom: 15px;
}
.includes-list li::before {
  content: "\2713";
  color: var(--bright-teal);
  font-weight: 700;
  flex-shrink: 0;
}
.includes-list li.gold::before {
  content: "\25C8"; /* ◈ */
  color: var(--gold);
}
.includes-divider {
  border-top: 1px solid rgba(95, 205, 217, 0.1);
  margin: 32px 0;
}
.guarantee {
  font-size: 0.8rem;
  color: var(--text-body); /* §4I .6 terms line (floor raised) */
  margin-top: 20px;
}


/* ---------- 14 · FAQ ---------- */

.faq-items { margin-top: 36px; max-width: 760px; }
.faq-item {
  border-bottom: 1px solid rgba(95, 205, 217, 0.07);
  padding: 28px 0;
}
.faq-item h4 {
  font-family: 'Fraunces', Georgia, serif; /* headings never sans */
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 10px;
}
.faq-item p {
  font-size: 0.93rem;
  font-weight: 300;
  color: var(--text-body); /* §4J .65 raised */
  line-height: 1.8;
  max-width: 760px;
}


/* ---------- 15 · FINAL CTA ---------- */

.final-cta {
  position: relative;
  background: var(--deep);
  border-top: 1px solid var(--gold);
  text-align: center;
  overflow: hidden;
  padding: 120px 24px;
}
.final-cta::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(200, 168, 75, 0.08), transparent 65%);
  z-index: 0;
  pointer-events: none;
}
.final-cta-inner,
.final-in {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}
.final-cta h2 {
  font-size: clamp(2.2rem, 5vw, 4rem); /* Final CTA H2 spec */
  font-weight: 900;
  line-height: 1.1;
  margin: 0 auto 22px;
  max-width: 720px;
}
.final-cta h2 em { color: var(--gold); font-style: italic; }
.final-cta .lead,
.final-cta .fc-body {
  margin: 0 auto 40px;
  max-width: 640px;
}


/* ---------- 16 · FOOTER ---------- */
/* Tagline line sits above the copyright. No VAT number, no
   registered-business line, no product name (§4N). */

.footer {
  background: var(--deep);
  border-top: 1px solid var(--border-light);
  padding: 36px 24px;
  text-align: center;
}
.footer-inner { max-width: 920px; margin: 0 auto; }
.footer-tagline {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 4px;
  margin-bottom: 16px;
}
.footer-links .menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  list-style: none;
}
.footer-links li { display: inline-flex; }
.footer-links a {
  font-size: 0.82rem;
  color: var(--text-footer); /* §7 floor .6 */
  margin: 0 10px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--bright-teal); }
.footer-contact {
  font-size: 0.82rem;
  margin-bottom: 14px;
  color: var(--text-footer);
}
.footer-contact a { color: var(--text-footer); margin: 0 6px; }
.footer-contact a:hover { color: var(--bright-teal); }
.copy {
  font-size: 0.78rem;
  color: var(--text-footer); /* raised from v1 .25 */
  line-height: 1.8;
}


/* ---------- 17 · PILLAR-HUB EXTRAS ---------- */
/* Breadcrumb, artefact tables, resource box, action strip,
   related cards, steward line — from the live pillar hub. */

.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-meta); /* .55 floor (v1 used .35) */
  letter-spacing: 0.5px;
  margin-bottom: 26px;
}
.breadcrumb a { color: var(--text-meta); }
.breadcrumb a:hover { color: var(--bright-teal); }

.artifact {
  background: rgba(95, 205, 217, 0.03);
  border: 1px solid rgba(95, 205, 217, 0.12);
  border-radius: 6px;
  padding: 30px 34px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
table.art,
.entry table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
table.art th,
.entry table th {
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bright-teal);
  border-bottom: 1px solid rgba(95, 205, 217, 0.2);
  padding: 10px 14px;
  text-align: left;
  white-space: nowrap;
}
table.art td,
.entry table td {
  font-size: 0.86rem;
  color: rgba(201, 238, 242, 0.7);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 14px;
  line-height: 1.6;
  vertical-align: top;
}
table.art tr:last-child td,
.entry table tr:last-child td { border-bottom: none; }
.art-cap {
  font-size: 0.82rem;
  color: var(--text-meta);
  margin-top: 22px;
}

.resource-box {
  background: var(--bg-card);
  border: 1px solid rgba(95, 205, 217, 0.12);
  border-radius: 6px;
  padding: 36px 40px;
  margin-top: 44px;
  max-width: 820px;
}
.resource-box .rb-intro {
  font-size: 0.93rem;
  color: rgba(201, 238, 242, 0.6);
  margin-bottom: 18px;
}
.rb-tags { margin-bottom: 18px; }
.rb-list { list-style: none; }
.rb-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text-strong);
  margin-top: 12px;
  line-height: 1.55;
}
.rb-list li::before {
  content: "\25C8"; /* ◈ — the consistent feature icon */
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}
.rb-list a:hover { color: var(--bright-teal); }

.art-lines { margin-top: 34px; max-width: 720px; }
.art-lines a {
  display: flex;
  gap: 10px;
  font-size: 0.93rem;
  color: rgba(201, 238, 242, 0.7);
  margin-top: 10px;
  line-height: 1.5;
  transition: color 0.2s;
}
.art-lines a:hover { color: var(--bright-teal); }
.art-lines a::before {
  content: "\2192";
  color: rgba(95, 205, 217, 0.45);
  font-weight: 700;
}

.action {
  margin-top: 44px;
  padding: 32px 36px;
  border: 1px solid var(--border-gold-subtle);
  background: rgba(200, 168, 75, 0.06);
  border-radius: 6px;
  max-width: 820px;
}
.action p {
  color: var(--text-strong);
  font-size: 0.98rem;
}

.rel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 44px;
}
.rel-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid rgba(95, 205, 217, 0.1);
  border-radius: 6px;
  padding: 26px 28px;
  transition: transform 0.2s, border-color 0.2s;
}
.rel-card:hover {
  transform: translateY(-3px);
  border-color: rgba(95, 205, 217, 0.22);
}
.rel-card h4 { font-size: 1.02rem; margin-bottom: 8px; }
.rel-card p {
  font-size: 0.86rem;
  color: rgba(201, 238, 242, 0.6);
  line-height: 1.6;
}
.rel-card .rc-arrow { color: var(--gold); margin-right: 8px; }

.steward {
  margin-top: 54px;
  font-size: 0.8rem;
  color: var(--text-meta); /* .55 floor */
  line-height: 1.7;
  max-width: 820px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 22px;
}


/* ---------- 18 · BLOG TEMPLATES ---------- */
/* single.php / archive.php / index.php support. */

.post-header {
  padding: 110px 24px 20px !important;
  text-align: center;
}
.post-header .section-label { display: inline-block; margin-bottom: 14px; }
.post-header h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.5px;
  max-width: 780px;
  margin: 0 auto 18px;
}
.post-meta {
  font-size: 0.85rem;
  color: var(--text-meta);
  font-weight: 400;
}
.post-meta a { color: var(--bright-teal); }
.post-meta a:hover { color: var(--pale-teal); }
.post-meta span + span,
.post-meta a + span { margin-left: 8px; }

.post-thumbnail { margin: 40px 0 0; }
.post-thumbnail img {
  border-radius: 6px;
  width: 100%;
}

.post-content { padding-top: 64px; }
.post-content > h2,
.post-content > h3 { margin-top: 56px; }

.post-tags { margin-top: 48px; font-size: 0.9rem; }
.pt-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bright-teal);
  margin-bottom: 8px;
}
.post-tags a { color: rgba(201, 238, 242, 0.7); margin-right: 4px; }
.post-tags a:hover { color: var(--bright-teal); }

.related .rel-card a { color: var(--white); }

/* Pagination (the_posts_pagination) */
.pagination,
.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 64px;
  font-size: 0.9rem;
}
.page-numbers {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--border-light);
  border-radius: 3px;
  color: rgba(201, 238, 242, 0.7);
  transition: color 0.2s, border-color 0.2s;
}
.page-numbers:hover {
  color: var(--white);
  border-color: var(--border-mid);
}
.page-numbers.current {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  font-weight: 700;
}
.page-links { margin-top: 40px; display: flex; gap: 10px; }
.page-links a,
.page-links span {
  padding: 8px 16px;
  border: 1px solid var(--border-light);
  border-radius: 3px;
}

/* Comments */
.comments-area { padding-top: 40px !important; padding-bottom: 110px; }
.comments-title,
.comment-reply-title {
  font-size: 1.6rem;
  margin-bottom: 24px;
}
.commentlist,
.comment-list { list-style: none; }
.commentlist li,
.comment-list li {
  border-bottom: 1px solid rgba(95, 205, 217, 0.07);
  padding: 24px 0;
}
.comment-author .fn { color: var(--white); font-weight: 600; }
.commentmetadata,
.comment-meta { font-size: 0.8rem; color: var(--text-meta); }
.comment-content { font-size: 0.95rem; margin-top: 10px; }
.commentlist a,
.comment-reply-link { color: var(--bright-teal); }

#respond { margin-top: 40px; }
.comment-form label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-meta);
  margin: 18px 0 8px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  max-width: 560px;
  background: rgba(8, 48, 64, 0.5);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 12px 14px;
  color: var(--white);
  font-weight: 300;
}
.comment-form textarea { min-height: 140px; }
.comment-form .submit {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 44px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  margin-top: 22px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.comment-form .submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(200, 168, 75, 0.3);
}

/* Search form (WP default fallback markup) */
.search-form,
form.search-form,
#searchform {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 560px;
  margin-top: 32px;
}
.search-form label { flex: 1 1 260px; }
.search-form .screen-reader-text + input,
.search-field,
#search-input {
  width: 100%;
  background: rgba(8, 48, 64, 0.5);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 12px 14px;
  color: var(--white);
}
.search-form input[type="submit"],
.search-submit,
#searchsubmit {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  border: none;
  border-radius: 3px;
  padding: 12px 26px;
  cursor: pointer;
}

/* Announcement bar link parity with header menu highlight */
.announce a:hover { color: var(--white); }


/* ---------- 19 · RESPONSIVE ---------- */
/* Single breakpoint at 768px per §3, plus a small-phone pass. */

@media (max-width: 768px) {

  .who-split,
  .problem-grid,
  .pgrid,
  .rel-grid {
    grid-template-columns: 1fr;
  }
  .layer { grid-template-columns: 1fr; }
  .layer-left { border-bottom: 1px solid rgba(95, 205, 217, 0.08); }

  .price-box { padding: 40px 24px; }
  .price-tag { font-size: 4.5rem; }

  .cred-grid { grid-template-columns: 1fr 1fr; }
  .cred-item {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }

  .site-main section { padding: 80px 20px; }
  .hero { padding: 90px 20px 80px; }
  .hero--page { padding: 80px 20px 70px; }
  .final-cta { padding: 90px 20px; }
  .pos-highlight { padding: 30px 26px; }

  /* Header collapses to a drop-down panel — Fit Check stays
     usable, menu never covers content. */
  .nav-toggle { display: inline-flex; }
  html.av-js .site-header.nav-collapsed .nav { display: none; }
  .nav {
    order: 4;
    width: 100%;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--border-subtle);
    margin-top: 12px;
    padding-top: 6px;
  }
  .nav a,
  .nav .menu a {
    display: block;
    padding: 12px 4px;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(95, 205, 217, 0.06);
  }
  .nav .menu,
  .nav .menu ul { list-style: none; }
  .nav > .menu,
  .nav ul.menu { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav .menu li { border-bottom: 1px solid rgba(95, 205, 217, 0.06); }
}

@media (max-width: 420px) {
  .cred-grid { grid-template-columns: 1fr; }
  .btn-flagship { padding: 18px 32px; width: 100%; }
  .btn-flagship-lg { padding: 18px 24px; }
  .hero h1 { letter-spacing: -0.5px; }
  .header-in { gap: 12px; }
}


/* ---------- 20 · HOME MARKUP COMPATIBILITY (v1.1) ---------- */
/* The approved homepage reference uses sibling class names for the
   same components (.hero-shell, .price-card, .pain, .cards/.card,
   .faq details, .footer .tagline …). On the front page these are
   styled precisely by assets/css/homepage.css (scoped to
   body.av-homepage, which wins over this section). The aliases
   below are the unscoped fallback so the same markup pasted into
   normal pages still renders on-brand. Theme names remain
   authoritative: .hero ≈ .hero-shell · .vault-card ≈ .card ·
   .price-box ≈ .price-card · .pgrid ≈ .pain · .footer-tagline =
   .footer .tagline · .btn-flagship = .btn · .section-label =
   .eyebrow. */

.hero-shell {
  position: relative;
  padding: 120px 24px 100px;
  overflow: hidden;
  text-align: center;
  background: var(--deep);
}
.hero-shell h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 900;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 1.02;
  letter-spacing: -1px;
  color: var(--white);
}
.hero-shell h1 span { display: block; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.5;
  letter-spacing: 0.3px;
  padding: 20px 56px;
  border: 1px solid var(--gold);
  border-radius: 3px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover {
  color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(200, 168, 75, 0.35);
}

.eyebrow {
  display: block;
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--bright-teal);
  margin-bottom: 18px;
}
.micro {
  font-size: 0.8rem;
  color: rgba(201, 238, 242, 0.6);
  line-height: 1.7;
}
.textlink { font-size: 0.9rem; }

/* Problem grid: .pain = .pgrid with article children. */
.pain {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 40px;
  background: rgba(95, 205, 217, 0.08);
  border: 1px solid rgba(95, 205, 217, 0.08);
  border-radius: 4px;
  overflow: hidden;
}
.pain article { background: var(--deep); padding: 28px 32px; }
.pain h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 12px; }
.pain p { font-size: 0.95rem; color: var(--text-body); line-height: 1.65; }

/* Cards: .cards/.card = .vault-grid/.vault-card. */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 44px;
}
.card {
  position: relative;
  display: block;
  text-align: left;
  padding: 32px;
  background: var(--bg-card);
  color: var(--white);
  border: 1px solid rgba(95, 205, 217, 0.1);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s;
}
.card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--bright-teal), var(--gold));
}
.card:hover { transform: translateY(-3px); border-color: rgba(95, 205, 217, 0.22); }
.card .idx {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--bright-teal);
}
.card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--white);
  margin: 15px 0;
}
.card p { font-size: 0.88rem; color: rgba(201, 238, 242, 0.65); line-height: 1.65; }

/* Price box: .price-card = .price-box. */
.price-card {
  position: relative;
  padding: 60px 48px;
  border: 1px solid rgba(200, 168, 75, 0.3);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.price-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bright-teal), var(--gold), var(--bright-teal));
}
.price-card .price {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 900;
  font-size: 6.5rem;
  line-height: 1;
  color: var(--gold);
}
.price-card .price sup { font-size: 2.5rem; vertical-align: super; }
.ticks { list-style: none; }
.ticks li {
  display: flex;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-strong);
  line-height: 1.5;
  margin-bottom: 15px;
}
.ticks li::before { content: "\2713"; color: var(--bright-teal); font-weight: 700; }

/* FAQ: details/summary variant of .faq-item. */
.faq details { border-bottom: 1px solid rgba(95, 205, 217, 0.07); }
.faq summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 28px 32px 28px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.5;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; color: var(--bright-teal); }
.faq details[open] > summary::after { content: "\2212"; }
.faq details p {
  font-size: 0.93rem;
  color: var(--text-body);
  line-height: 1.8;
  padding: 0 20px 24px 0;
}

/* Footer: HTML names vs theme names. */
.footer .tagline {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--white);
  margin-bottom: 10px;
}
.footer .links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin: 12px 0;
}
.footer .links a { color: var(--text-footer); }
.footer .links a:hover { color: var(--bright-teal); }

@media (max-width: 768px) {
  .pain { grid-template-columns: 1fr; }
}
