/* Niche-site additions layered over the Buzz design system (styles.css). */

/* Text wordmark in the black header — Anton, lime accent, powered-by tag */
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 0;
  line-height: 1;
  flex: 0 0 auto;
}
.brand-lines {
  font-family: "Anton", "Arial Narrow", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.02em;
}
.brand-top { display: block; font-size: 1.5rem; }
.brand-bottom { display: block; font-size: 1.5rem; color: var(--lime); }
.brand-powered {
  font-family: "Lato", sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b9b9b0;
}
.brand-powered strong { color: var(--lime); font-family: "Anton", sans-serif; font-weight: 400; letter-spacing: 0.08em; }

@media (max-width: 900px) {
  .brand-top, .brand-bottom { font-size: 1.15rem; }
}

/* Eyebrow contrast when hero classes sit on the same element as the bg */
.page-hero.bg-black .eyebrow, .hero.bg-black .eyebrow { color: var(--lime); }
.page-hero.bg-lime .eyebrow, .hero.bg-lime .eyebrow { color: var(--charcoal); }
.section.bg-black .eyebrow { color: var(--lime); }

/* Big price figure on pricing cards */
.price-card .price { font-family: "Anton", "Arial Narrow", sans-serif; }

/* Comparison table (used on vs-the-market and software pages) */
.compare-table { width: 100%; border-collapse: collapse; margin-top: 40px; font-size: 0.95rem; }
.compare-table th, .compare-table td { padding: 14px 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table thead th { background: var(--black); color: #fff; font-family: "Lato", sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; }
.compare-table tbody tr:nth-child(even) { background: var(--paper); }
.compare-table .tick { color: #3f7d20; font-weight: 900; }
.compare-table .cross { color: #b3261e; font-weight: 900; }
.compare-scroll { overflow-x: auto; }
.compare-table td:first-child { font-weight: 700; }
.compare-table .hl { background: rgba(207, 234, 61, 0.25); }

/* Guide/article long-form body */
.article-body { max-width: 760px; margin: 0 auto; }
.article-body h2 { margin-top: 2.2em; }
.article-body h3 { margin-top: 1.6em; }
.article-body ul, .article-body ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.article-body li { margin-bottom: 0.4em; }
.article-body blockquote {
  border-left: 4px solid var(--lime);
  margin: 1.4em 0;
  padding: 12px 20px;
  background: var(--paper);
  font-weight: 700;
}
.article-body .callout {
  border: 1px solid var(--line);
  border-left: 4px solid var(--lime);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 1.6em 0;
  background: #fff;
}
.article-body .callout strong:first-child { display: block; margin-bottom: 4px; }
.article-meta { color: var(--grey); font-size: 0.88rem; margin-bottom: 18px; }
.section-gap { margin-top: 48px; }

/* Let hero/split columns shrink below content min-width on small screens */
@media (max-width: 980px) {
  .hero .inner { grid-template-columns: minmax(0, 1fr); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 100%; }
  .hero-visual img, .split figure { max-width: 100% !important; }
}

/* ============ Orange theme (socialsectoraccountants.com) ============ */
/* ============ Per-niche accent themes (de-Buzzed: no acid lime) ============
   Each site remaps the signature --lime token to its own accent, plus a brighter
   --accent-on-dark for text sitting on the black header/sections. Because every
   accent is darker than lime, accent-coloured blocks (.bg-lime) flip to white text. */
body.theme-startup      { --lime: #2563eb; --lime-deep: #1d4ed8; --accent-on-dark: #7ea8ff; }  /* considered blue — trust + tech */
body.theme-soletrader   { --lime: #2f6b4f; --lime-deep: #245640; --accent-on-dark: #6cc39a; }  /* forest green — grounded, dependable */
body.theme-selfemployed { --lime: #0f766e; --lime-deep: #115e59; --accent-on-dark: #4fd1c5; }  /* teal — independent, creative */
body.theme-orange       { --lime: #dd7324; --lime-deep: #c15f18; --accent-on-dark: #f2a35c; }  /* warm amber — community, care */

/* --- shared treatment for every themed site (accent replaces lime) --- */
[class*="theme-"] .bg-lime,
[class*="theme-"] .bg-lime h1, [class*="theme-"] .bg-lime h2, [class*="theme-"] .bg-lime h3,
[class*="theme-"] .bg-lime .lead, [class*="theme-"] .bg-lime p,
[class*="theme-"] .bg-lime li { color: #fff; }
[class*="theme-"] .bg-lime .eyebrow { color: rgba(255,255,255,0.82); }
[class*="theme-"] .bg-lime .card-check-list li::before { background: #fff; color: var(--lime-deep); }
[class*="theme-"] .bg-lime .card-check-list li { color: #fff; }
[class*="theme-"] .btn-primary { color: #fff; }
[class*="theme-"] .btn-primary:hover { background: var(--lime-deep); }
[class*="theme-"] .bg-lime .btn-outline { border-color: rgba(255,255,255,0.7); color: #fff; }
[class*="theme-"] .bg-lime .btn-outline:hover { background: rgba(255,255,255,0.15); }
[class*="theme-"] .cta-banner.bg-lime h2 { color: #fff; }
[class*="theme-"] .bg-lime .trust-chip { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.4); color: #fff; }
/* wordmark bottom line + powered-by mark use the brighter on-dark accent */
[class*="theme-"] .brand-bottom { color: var(--accent-on-dark); }
[class*="theme-"] .brand-powered strong { color: var(--accent-on-dark); }
[class*="theme-"] .section.bg-black .eyebrow { color: var(--accent-on-dark); }
[class*="theme-"] .lead-capture .eyebrow { color: var(--accent-on-dark); }

/* Real photographs (no more halftone cut-outs) — clean rounded cards, uniform crop */
.hero-visual { aspect-ratio: auto; }
.hero-visual img, .split .hero-visual img {
  width: 100%;
  height: auto; /* let aspect-ratio set height; the width/height HTML attrs must not force it */
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
/* Funding (Swoop) section uses a landscape photo — shorter crop, not the tall 4:5 */
.hero-visual.funding-visual img { aspect-ratio: 3 / 2; }

/* ============ Photographic hero (buzzcoaching-quality) ============ */
.photo-hero {
  position: relative;
  color: #fff;
  padding: 84px 0 76px;
  background-color: #0b0c10;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 22%;
}
.photo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,12,16,0.94) 0%, rgba(11,12,16,0.82) 34%, rgba(11,12,16,0.42) 62%, rgba(11,12,16,0.10) 100%);
}
.photo-hero .inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.44fr);
  gap: 46px;
  align-items: center;
  min-height: 520px;
}
.photo-hero .hero-copy { max-width: 660px; }
.photo-hero .eyebrow { color: var(--accent-on-dark); }
.photo-hero h1 {
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(2.9rem, 6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0.005em;
  margin: 14px 0 22px;
  color: #fff;
}
.photo-hero h1 span { display: block; color: var(--accent-on-dark); }
.photo-hero .hero-lede { color: rgba(255,255,255,0.9); font-size: 1.18rem; max-width: 590px; margin: 0; }
.photo-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.photo-hero .hero-actions .btn-outline { border-color: rgba(255,255,255,0.7); color: #fff; }
.photo-hero .hero-actions .btn-outline:hover { background: rgba(255,255,255,0.12); }
.photo-hero .promise-card {
  align-self: end;
  justify-self: end;
  background: var(--lime);
  color: #fff;
  border-radius: 4px;
  padding: 26px 26px 28px;
  max-width: 330px;
  box-shadow: 14px 14px 0 rgba(255,255,255,0.16);
}
.photo-hero .promise-card strong {
  display: block;
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 1.02;
}
.photo-hero .promise-card p { margin: 12px 0 0; font-weight: 700; font-size: 1.02rem; }

/* On dark inner-page heroes, the "dark" button becomes the accent button */
.page-hero.bg-black .btn-dark { background: var(--lime); border-color: var(--lime); color: #fff; }
.page-hero.bg-black .btn-dark:hover { background: var(--lime-deep); border-color: var(--lime-deep); }
.page-hero.bg-black .eyebrow { color: var(--accent-on-dark); }
.page-hero.bg-black .lead { color: rgba(255,255,255,0.88); }

/* Body copy on ANY dark section stays light (base handles headings; cards keep their own grey) */
.section.bg-black > .inner p,
.section.bg-black > .inner li,
.section.bg-black .article-body { color: rgba(255,255,255,0.9); }
.section.bg-black > .inner strong { color: #fff; }
.section.bg-black .article-body a { color: #fff; text-decoration: underline; }

/* proof strip under the hero */
.proof-strip { background: var(--paper); border-bottom: 1px solid var(--line); padding: 30px 0; }
.proof-strip .inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.proof-item span { display: block; font-family: "Anton", Impact, sans-serif; font-size: 1.35rem; color: var(--lime); }
.proof-item strong { display: block; margin: 5px 0 3px; font-size: 1.02rem; }
.proof-item p { margin: 0; color: var(--grey); font-size: 0.9rem; }

@media (max-width: 900px) {
  .photo-hero { padding: 60px 0 52px; }
  .photo-hero .inner { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .photo-hero .promise-card { justify-self: start; max-width: 100%; box-shadow: 8px 8px 0 rgba(255,255,255,0.16); }
  .proof-strip .inner { grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* Hero trust chips */
.trust-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.trust-chip {
  border: 1px solid rgba(14,14,14,0.35);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255,255,255,0.55);
}
.bg-black .trust-chip { border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.08); color: #fff; }

/* ============ Lead capture: newsletter + inline blocks ============ */
.nl-form { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px auto 0; max-width: 520px; }
.nl-form input[type="email"] {
  flex: 1 1 220px; min-width: 0; padding: 14px 16px; border: 1px solid var(--line);
  border-radius: 999px; font-family: inherit; font-size: 1rem; background: #fff; color: var(--ink);
}
.nl-form button { flex: 0 0 auto; border-radius: 999px; white-space: nowrap; }
.nl-status { flex: 1 1 100%; margin: 4px 0 0; font-weight: 700; font-size: 0.92rem; }
.nl-status.ok { color: var(--lime-deep); }
.nl-status.err { color: #b3261e; }
.lead-capture .nl-status.ok { color: #fff; }
.nl-smallprint { margin-top: 12px; font-size: 0.8rem; opacity: 0.7; }

/* section-level lead magnet */
.lead-capture .eyebrow { color: var(--lime); }
.lead-capture.bg-black h2, .lead-capture.bg-black p { color: #fff; }
.lead-capture .nl-form { justify-content: center; }

/* footer newsletter band (above the footer) */
/* Accent-coloured band — every niche accent is dark, so text is white */
.footer-newsletter { background: var(--lime); color: #fff; padding: 44px 0; }
.footer-newsletter .inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-newsletter .fn-copy { flex: 1 1 340px; }
.footer-newsletter .fn-copy h3 { margin: 6px 0 8px; font-size: 1.6rem; color: #fff; }
.footer-newsletter .fn-copy p { margin: 0; max-width: 520px; color: rgba(255,255,255,0.92); }
.footer-newsletter .fn-form { flex: 1 1 360px; }
.footer-newsletter .nl-form { margin: 0; }
.footer-newsletter .eyebrow { color: rgba(255,255,255,0.82); }
.footer-newsletter .btn-primary { background: #fff; color: var(--lime-deep); }
.footer-newsletter .btn-primary:hover { background: rgba(255,255,255,0.88); }
@media (max-width: 640px) {
  .footer-newsletter .nl-form { flex-direction: column; }
  .footer-newsletter .nl-form button { width: 100%; }
}
