/*
 * AnchorLabs Brand CSS
 * Injected as first block on every page/post via <!-- wp:html --><style id="al-brand-css">...</style><!-- /wp:html -->
 * Last updated: 2026-05-26 (batch 2 QA fixes)
 */

:root {
  --al-primary: #0F172A;
  --al-accent: #2563EB;
  --al-accent-h: #1D4ED8;
  --al-body: #475569;
  --al-bg: #FFFFFF;
  --al-subtle: #F8FAFC;
  --al-border: #E2E8F0;
  --al-font: -apple-system, "Inter", "Segoe UI", system-ui, sans-serif;
  --al-max: 1160px;
}

/* ---- BASE ---- */
* { box-sizing: border-box; }
html { overflow-x: hidden; }
body { font-family: var(--al-font); color: var(--al-body); background: var(--al-bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { color: var(--al-primary); line-height: 1.2; }
a { color: var(--al-accent); }

/* ---- HEADER ---- */
.header-main-inner { border-bottom: 1px solid var(--al-border) !important; background: #fff !important; }
.nav-ul .nav-link { font-size: .875rem !important; font-weight: 600 !important; color: var(--al-primary) !important; letter-spacing: .01em; }
.nav-ul .nav-link:hover { color: var(--al-accent) !important; }
.sub-menu .nav-link { font-size: .825rem !important; }
/* Neve controls logo size via --maxwidth CSS var on .builder-item--logo (default 120px = too small) */
.builder-item--logo { --maxwidth: 250px; }
.neve-site-logo, .nv-site-logo { max-width: 250px !important; max-height: 100px !important; width: auto !important; height: auto !important; }
.site-logo { display: flex; align-items: center; }
.header--row .hfg-grid { align-items: center !important; }
.builder-item--logo, .builder-item--primary-menu { display: flex !important; align-items: center !important; }

/* ---- NEVE HFG FOOTER (override / hide built-in bottom bar) ---- */
.footer-main { background: var(--al-primary) !important; color: #94A3B8; }
.footer-main a { color: #CBD5E1; }
.footer-main a:hover { color: #fff; }
.footer-widget-title { color: #F8FAFC !important; }
.builder-item--cr, .builder-item.cr { display: none !important; }

/* ---- BUTTONS ---- */
.button, .wp-block-button__link, input[type=submit], button[type=submit] {
  background: var(--al-accent) !important; color: #fff !important; border: none !important;
  border-radius: 6px !important; font-weight: 700 !important; font-family: var(--al-font) !important;
  transition: background .15s !important;
}
.button:hover, .wp-block-button__link:hover { background: var(--al-accent-h) !important; }

/* ---- PAGE SECTIONS ---- */
.al-hero { padding: 90px 24px 70px; background: var(--al-bg); text-align: center; }
.al-sub { font-size: 1.1rem; color: #64748B; line-height: 1.65; max-width: 600px; margin: 0 auto; }
.al-strip { background: var(--al-subtle); border-top: 1px solid var(--al-border); border-bottom: 1px solid var(--al-border); padding: 20px 24px; text-align: center; font-size: .8rem; color: #64748B; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.al-section { padding: 80px 24px; background: var(--al-bg); }
.al-section p, .al-section-subtle p { line-height: 1.75; margin-bottom: 1.1rem; color: #475569; }
.al-section h2, .al-section-subtle h2 { color: var(--al-primary); }
.al-section-subtle { padding: 80px 24px; background: var(--al-subtle); }
.al-aeon { padding: 80px 24px; background: var(--al-primary); color: #F8FAFC; text-align: center; }
.al-aeon h2 { color: #F8FAFC; }
.al-aeon p { color: #94A3B8; }
.al-capture { padding: 80px 24px; background: var(--al-subtle); border-top: 1px solid var(--al-border); border-bottom: 1px solid var(--al-border); text-align: center; }
.al-capture h2 { color: var(--al-primary); }

/* ---- CARDS ---- */
.al-card { background: #fff; border: 1px solid var(--al-border); border-radius: 12px; padding: 24px; transition: box-shadow .2s, transform .2s; }
.al-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.al-card h3 { color: var(--al-primary); margin-bottom: .5rem; }

/* ---- BADGES ---- */
.al-badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; background: #F1F5F9; color: #64748B; }
.al-badge-solo { background: #EFF6FF; color: #2563EB; }
.al-badge-biz { background: #F0FDF4; color: #16A34A; }
.al-badge-founder { background: #F5F3FF; color: #7C3AED; }
.al-price { font-size: 2.25rem; font-weight: 800; color: var(--al-primary); line-height: 1; margin: .75rem 0 .5rem; }

/* ---- BLOG / ARCHIVE ---- */
.blog .site-main article, .archive .site-main article { border: 1px solid var(--al-border); border-radius: 12px; padding: 28px; margin-bottom: 24px; background: #fff; transition: box-shadow .2s; }
.blog .site-main article:hover, .archive .site-main article:hover { box-shadow: 0 8px 24px rgba(0,0,0,.07); }
.blog .entry-title a, .archive .entry-title a { color: var(--al-primary); text-decoration: none; font-weight: 700; font-size: 1.2rem; }
.blog .entry-title a:hover, .archive .entry-title a:hover { color: var(--al-accent); }
.blog .entry-meta, .archive .entry-meta { font-size: .8rem; color: #94A3B8; margin-bottom: .75rem; }
.blog .entry-summary p, .archive .entry-summary p { color: #64748B; font-size: .95rem; line-height: 1.7; }
.blog .more-link { color: var(--al-accent); font-weight: 600; font-size: .875rem; text-decoration: none; }
.blog .site-main, .archive .site-main { max-width: 820px; margin: 0 auto; padding: 40px 24px 80px; }

/* ---- SINGLE POST ---- */
.single .entry-header { max-width: 880px; margin: 0 auto; padding: 60px 24px 0; }
.single .entry-content { max-width: 880px; margin: 0 auto; padding: 24px; font-size: 1rem; line-height: 1.8; color: #475569; overflow: visible; }
.single .entry-content h2 { color: var(--al-primary); font-size: 1.4rem; font-weight: 700; margin: 2rem 0 1rem; }
.single .entry-content h3 { color: var(--al-primary); font-size: 1.15rem; }
.single .entry-content a { color: var(--al-accent); }
.single .entry-title { font-size: clamp(1.75rem,4vw,2.5rem) !important; font-weight: 800 !important; letter-spacing: -.02em; }

/* ---- PAGE TITLE BANNERS (Neve shows page name as H1 above content — hide it) ---- */
.nv-page-title-wrap { display: none !important; }

/* ---- SUPPRESS WOOCOMMERCE / UNWANTED PLUGINS ---- */
.moderncart-cart-wrapper, #moderncart-cart-icon, #moderncart-floating-cart, .woocommerce-mini-cart, .moderncart, .cart-icon-wrapper, .nv-cart-icon-wrap { display: none !important; }
#power-coupons-drawer { display: none !important; }

/* ---- FLUENT FORMS ---- */
.ff-el-group.ff-custom_html { display: none !important; }
.ff-el-input--label label, .ff-el-input--label .ff-el-is-required { font-size: .85rem !important; font-weight: 600 !important; color: #0F172A !important; }
.ff-el-form-control, .ff_custom_dropdown { width: 100% !important; padding: 10px 14px !important; border: 1.5px solid #E2E8F0 !important; border-radius: 6px !important; font-size: .95rem !important; font-family: var(--al-font) !important; }
.ff_submit_btn_container .ff-btn-submit, .fluentform .ff-btn { background: var(--al-accent) !important; border: none !important; border-radius: 6px !important; font-weight: 700 !important; padding: 12px 24px !important; color: #fff !important; font-family: var(--al-font) !important; cursor: pointer !important; }
.ff_submit_btn_container .ff-btn-submit:hover { background: var(--al-accent-h) !important; }
.ff-message-success, .ff-response-message { color: #16A34A !important; font-weight: 600; }

/* ---- FOOTER (multi-column, Linear.app style) ---- */
.al-footer {
  background: var(--al-primary);
  padding: 56px 24px 32px;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  box-sizing: border-box;
}
.al-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  max-width: var(--al-max);
  margin: 0 auto;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.al-footer-col h4 {
  color: #F1F5F9;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin: 0 0 14px;
  padding: 0;
  line-height: 1;
}
.al-footer-col ul { list-style: none; margin: 0; padding: 0; }
.al-footer-col ul li { margin-bottom: 9px; }
.al-footer-col ul li a, .al-footer-col ul li a:visited { color: #94A3B8 !important; text-decoration: none; font-size: .875rem; line-height: 1.5; transition: color .15s; }
.al-footer-col ul li a:hover { color: #fff; }
.al-footer-bottom {
  max-width: var(--al-max);
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.al-footer-bottom p { margin: 0; font-size: .8rem; color: #475569; line-height: 1.5; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .al-hero { padding: 60px 20px 48px; }
  .al-section, .al-section-subtle, .al-aeon, .al-capture { padding: 56px 20px; }
  .al-sub { font-size: 1rem; }
  .al-footer-inner { flex-direction: column; gap: 24px; }
  .al-footer-bottom { flex-direction: column; text-align: center; }
}
