/* ============================================================
   PersonTees v3 — the light editorial base
   Per MARKET-RESEARCH-VERDICT-2026-11-19.md:
     - light base (82% of sites; 5/5 direct competitors are 100% light)
     - radius 8px (median 8-10px; pills only 12-21%)
     - H1 60px/400-500 (median 60px)
     - purple #7C3AED as ONE flat accent (not a purple->blue gradient)
     - dark kept as the brand-anchor band (hero + final CTA + footer)
   ============================================================ */

:root {
  --v3-paper:      #FAFAFA;
  --v3-surface:    #FFFFFF;
  --v3-ink:        #16171C;
  --v3-ink-2:      #3F3F46;
  --v3-muted:      #71717A;
  --v3-line:       #E4E4E7;
  --v3-line-2:     rgba(0,0,0,.10);
  --v3-brand:      #7C3AED;
  --v3-brand-deep: #5B21B6;
  --v3-accent:     #C85A3A;
  --v3-radius:     8px;
  --v3-shadow:     0 1px 3px rgba(0,0,0,.06);
  --v3-dark:       #0B0C10;
}

/* ---------- the base ---------- */
body {
  background: var(--v3-paper) !important;
  color: var(--v3-ink) !important;
}

/* ---------- the flat accent: no purple->blue gradient anywhere ---------- */
.v2-hero::before,
.v2-cta-final::before,
.v2-nav::before {
  background: none !important;
}

/* ---------- the hero stays a dark brand anchor ---------- */
body .v2-hero,
body section.v2-hero,
body .v2-hero.v2-hero {
  background: var(--v3-dark) !important;
  background-image: none !important;
  color: #F7F8F8 !important;
}
/* the mesh canvas paints a purple->blue gradient glow — the #1 "AI site" tell
   per Honello. Tone it down to a subtle brand glow. */
body .v2-mesh-canvas {
  opacity: 0.30 !important;
  filter: saturate(0.55) !important;
}
body .v2-hero::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background: radial-gradient(120% 90% at 78% 6%, rgba(124,58,237,.20) 0%, rgba(124,58,237,0) 55%) !important;
  z-index: 0 !important;
}
body .v2-hero-inner { position: relative !important; z-index: 2 !important; }
/* v2-home.css has `body .v2-hero h1 { … !important }` at (0,1,2) — a plain
   `.v2-hero h1` (0,1,1) loses. Match the body-prefix to win. */
body .v2-hero h1,
body .v2-hero .v2-hero-h1,
body .v2-hero span.v2-h1-line {
  font-size: 60px !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
  letter-spacing: -1.4px !important;
  max-width: 20ch !important;
}
@media (max-width: 1100px) {
  body .v2-hero h1,
  body .v2-hero .v2-hero-h1,
  body .v2-hero span.v2-h1-line {
    font-size: clamp(38px, 6vw, 52px) !important;
    max-width: 100% !important;
  }
}
@media (max-width: 720px) {
  body .v2-hero h1,
  body .v2-hero .v2-hero-h1,
  body .v2-hero span.v2-h1-line {
    font-size: 38px !important;
    letter-spacing: -.8px !important;
  }
}
.v2-hero p,
.v2-hero .v2-hero-sub { color: rgba(255,255,255,.80) !important; }

/* ---------- the H2 scale: 34px, weight 500 ---------- */
.v2-section h2,
.v2-section .v2-h2,
section h2 {
  font-size: 34px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  letter-spacing: -.6px !important;
  color: var(--v3-ink) !important;
}
@media (max-width: 720px) {
  .v2-section h2, .v2-section .v2-h2, section h2 { font-size: 26px !important; }
}

/* ---------- the pill -> 8px ---------- */
body .v2-btn,
body .v2-btn-primary,
body .v2-btn-secondary,
body .v2-hero-cta .v2-btn,
body .v2-nav-cta,
body .v2-cta-final .v2-btn,
body .v2-lucy-chip,
body .v2-trust-pill,
body button.v2-btn,
body a.v2-btn,
body [class*="btn-"] {
  border-radius: var(--v3-radius) !important;
}
body .v2-btn-primary,
body .v2-hero-cta .v2-btn-primary,
body .v2-cta-final .v2-btn-primary {
  background: var(--v3-brand) !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border-color: var(--v3-brand) !important;
}
body .v2-btn-secondary,
body .v2-hero-cta .v2-btn-secondary {
  background: var(--v3-surface) !important;
  background-image: none !important;
  color: var(--v3-brand-deep) !important;
  border-color: var(--v3-line-2) !important;
}

/* ---------- the cards: light + hairline + 8px ---------- */
body .v2-bento-card,
body .v2-card,
body .v2-craft-card,
body .v2-feature-card,
body .v2-solution-card,
body .v2-product-card,
body .v2-stat-card,
body .v2-solution-tile,
body [class*="-card"] {
  background: var(--v3-surface) !important;
  background-image: none !important;
  border: 1px solid var(--v3-line) !important;
  border-radius: var(--v3-radius) !important;
  box-shadow: var(--v3-shadow) !important;
  color: var(--v3-ink) !important;
}
body [class*="-card"] h3,
body [class*="-card"] h4 { color: var(--v3-ink) !important; }
body [class*="-card"] p,
body [class*="-card"] li { color: var(--v3-ink-2) !important; }
body .v2-bento-card,
body .v2-craft-card,
body .v2-feature-card,
body .v2-solution-card,
body .v2-stat-card,
body .v2-solution-tile,
body [class*="-card"][class*="-card"] { border-radius: var(--v3-radius) !important; }

/* ---------- the sections ---------- */
body .v2-section { background: var(--v3-paper) !important; }
body .v2-section.v2-section-alt { background: var(--v3-surface) !important; }
body .v2-section p,
body .v2-section li { color: var(--v3-ink-2) !important; }

/* ---------- the final CTA + footer stay dark brand anchors ---------- */
body .v2-cta-final {
  background: var(--v3-dark) !important;
  color: #F7F8F8 !important;
}
body .v2-cta-final h2,
body .v2-cta-final .v2-h2 { color: #FFFFFF !important; }
body .v2-cta-final p { color: rgba(255,255,255,.82) !important; }
body .v2-cta-final .v2-btn-primary {
  background: #FFFFFF !important;
  color: var(--v3-ink) !important;
  border-color: #FFFFFF !important;
}
body .v2-footer { background: var(--v3-dark) !important; }

/* ---------- the nav: light, hairline ---------- */
body .v2-nav {
  background: var(--v3-surface) !important;
  border-bottom: 1px solid var(--v3-line) !important;
}
body .v2-nav-link { color: var(--v3-ink) !important; }
body .v2-nav-link-en { color: var(--v3-muted) !important; }
.v2-nav-link:hover { color: var(--v3-brand-deep) !important; }
body .v2-nav-v3 .v2-nav-login,
body .v2-nav-v3 .v2-nav-lang,
body .v2-nav-v3 .v2-lang-opt,
body .v2-pos-tag,
body .v2-sticky-cta-dot {
  border-radius: var(--v3-radius) !important;
}
body .v2-nav-cta {
  background: var(--v3-brand) !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border-radius: var(--v3-radius) !important;
}
/* v2-home.css forces `filter: brightness(0) invert(1)` (white logo) for the
   dark header. The v3 nav is LIGHT, so the logo must go back to black. */
body .v2-nav-logo-img,
body .v2-nav-v3 .v2-nav-logo-img,
body .v2-nav-scrolled .v2-nav-logo-img,
body .v2-nav-drawer-header .v2-nav-logo-img {
  filter: none !important;
}
body .v2-nav-v3 .v2-nav-login,
body .v2-nav-v3 .v2-nav-lang,
body .v2-nav-v3 .v2-lang-opt {
  border: 1px solid var(--v3-line) !important;
  color: var(--v3-ink) !important;
}

/* ---------- the lucy chat widget: keep purple, drop the glow ---------- */
body .v2-lucy-fab,
body .v2-lucy-chip,
body .v2-lucy-launcher {
  background: var(--v3-brand) !important;
  background-image: none !important;
  border-radius: var(--v3-radius) !important;
  color: #FFFFFF !important;
}
body .v2-lucy-fab::before,
body .v2-lucy-fab::after { display: none !important; }

/* ---------- the stats bar / trust strip ---------- */
body .v2-stats-bar {
  background: var(--v3-surface) !important;
  border-top: 1px solid var(--v3-line) !important;
  border-bottom: 1px solid var(--v3-line) !important;
}
.v2-stats-bar strong,
.v2-trust-pill { color: var(--v3-brand-deep) !important; }
body .v2-trust-pill {
  background: var(--v3-surface) !important;
  border: 1px solid var(--v3-line) !important;
  border-radius: var(--v3-radius) !important;
}

/* ---------- the geo / AI overview panel ---------- */
body .v2-geo-ai-overview,
body .ai-overview-table {
  background: var(--v3-surface) !important;
  border: 1px solid var(--v3-line) !important;
  border-radius: var(--v3-radius) !important;
  color: var(--v3-ink) !important;
}
body .ai-overview-table th { background: var(--v3-paper) !important; color: var(--v3-ink) !important; }
body .ai-overview-table td { border-color: var(--v3-line) !important; color: var(--v3-ink-2) !important; }

/* ---------- the FAQ: the native purple accordion, flat ---------- */
body .faq-item, body .qa-item, body [class*="faq-"] {
  background: var(--v3-surface) !important;
  border: 1px solid var(--v3-line) !important;
  border-radius: var(--v3-radius) !important;
}
body .faq-question, body .qa-question {
  color: var(--v3-ink) !important;
  background: transparent !important;
  font-weight: 700 !important;
}
body .faq-answer, body .qa-answer { color: var(--v3-ink-2) !important; }

/* ---------- the sticky bars ---------- */
body .v2-sticky {
  background: var(--v3-surface) !important;
  border-top: 1px solid var(--v3-line) !important;
  box-shadow: 0 -1px 3px rgba(0,0,0,.06) !important;
}
.v2-sticky a { color: var(--v3-ink) !important; }

/* ---------- the guide / article cards used on the long-tail pages ---------- */
body .guide-card, body .post-card, body .article-card, body .resource-card {
  background: var(--v3-surface) !important;
  border: 1px solid var(--v3-line) !important;
  border-radius: var(--v3-radius) !important;
  box-shadow: var(--v3-shadow) !important;
}

/* ---------- accessibility: keep the focus ring visible on the light base ---------- */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--v3-brand) !important;
  outline-offset: 2px !important;
}

/* ---------- the positioning block (Phase 5) ---------- */
body .v3-positioning { padding: 72px 0; background: var(--v3-surface); border-top: 1px solid var(--v3-line); }
body .v3-positioning h2 { font-size: 34px; font-weight: 500; letter-spacing: -.6px; color: var(--v3-ink); margin: 0 0 14px; max-width: 24ch; }
body .v3-positioning .v2-pos-lede { font-size: 17px; line-height: 1.65; color: var(--v3-ink-2); max-width: 68ch; margin: 0 0 40px; }
body .v2-pos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: var(--v3-line); border: 1px solid var(--v3-line); border-radius: var(--v3-radius); overflow: hidden; }
body .v2-pos-point { background: var(--v3-surface); padding: 28px 24px; }
body .v2-pos-num { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--v3-brand); margin-bottom: 10px; }
body .v2-pos-point h3 { font-size: 17px; font-weight: 700; color: var(--v3-ink); margin: 0 0 8px; }
body .v2-pos-point p { font-size: 14.5px; line-height: 1.68; color: var(--v3-ink-2); margin: 0; }
@media (max-width: 720px) {
  body .v3-positioning { padding: 48px 0; }
  body .v3-positioning h2 { font-size: 26px; }
  body .v3-positioning .v2-pos-lede { font-size: 15.5px; }
}

/* ---------- the native bottom Q&A (Phase 6) ---------- */
body .v3-faq { padding: 72px 0; background: var(--v3-paper); border-top: 1px solid var(--v3-line); }
body .v3-faq h2 { font-size: 32px; font-weight: 500; letter-spacing: -.5px; color: var(--v3-ink); margin: 0 0 12px; }
body .v3-faq-lede { font-size: 16px; line-height: 1.6; color: var(--v3-ink-2); margin: 0 0 34px; max-width: 66ch; }
body .v3-faq-list { max-width: 900px; }
body .v3-faq .faq-item { background: var(--v3-surface); border: 1px solid var(--v3-line); border-radius: var(--v3-radius); margin-bottom: 8px; }
body .v3-faq .faq-question { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; text-align: left; padding: 18px 22px; font-size: 16px; font-weight: 700; color: var(--v3-ink); cursor: pointer; background: none; border: 0; list-style: none; }
body .v3-faq .faq-question::-webkit-details-marker { display: none; }
body .v3-faq .faq-question::after { content: '+'; font-size: 20px; font-weight: 400; color: var(--v3-brand); flex: 0 0 auto; }
body .v3-faq details[open] .faq-question::after { content: '\2212'; }
body .v3-faq .faq-answer { padding: 0 22px 20px; font-size: 14.5px; line-height: 1.72; color: var(--v3-ink-2); }
@media (max-width: 720px) { body .v3-faq { padding: 48px 0; } body .v3-faq h2 { font-size: 25px; } }
