/* ============================================================
   SEARCHLOGIC THEME — main.css
   Enqueued via functions.php. Covers: design tokens, nav, footer,
   buttons, homepage sections, AND blog/archive/single/search/404
   templates so the whole site matches, not just the homepage.
============================================================ */

/* ─── FONTS ─── */
@font-face { font-family: 'Bebas Neue'; src: local('Bebas Neue'); }
/* Bebas Neue + DM Mono are loaded from Google Fonts in functions.php.
   WixMadeforText: if you already have this font family loaded elsewhere
   in your site, remove the fallback below. Otherwise this falls back to
   system fonts, which is safe but won't match the original design pixel-for-pixel. */

/* ─── TOKENS ─── */
:root {
  --black:    #1C1C1C;
  --lime:     #C8D400;
  --white:    #FFFFFF;
  --gray-50:  #F5F5F3;
  --gray-200: #E0E0DC;
  --gray-500: #888884;
  --lime-dim: #A8B200;
  --font-display: 'Bebas Neue', Impact, sans-serif;
  --font-body:    'WixMadeforText', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;
  --radius: 4px;
  --radius-lg: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; height: 100%; }
body { font-family: var(--font-body); background: var(--white); color: var(--black); line-height: 1.6; font-size: 16px; display: flex; flex-direction: column; min-height: 100vh; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

/* ─── UTILITY ─── */
.tag { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; background: var(--lime); color: var(--black); padding: 4px 12px; border-radius: 2px; font-weight: 500; }
.section-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 16px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; font-family: var(--font-body); font-weight: 600; font-size: 14px; letter-spacing: .04em; border-radius: var(--radius); cursor: pointer; transition: all .2s ease; border: none; }
.btn-primary { background: var(--lime); color: var(--black); }
.btn-primary:hover { background: var(--lime-dim); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.3); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #2e2e2e; transform: translateY(-1px); }
.arrow { display: inline-block; transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ─── NAV ─── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(28,28,28,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(200,212,0,.12); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo { display: flex; align-items: center; }
.nav-logo svg { height: 36px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a { color: rgba(255,255,255,.65); font-size: 13px; font-weight: 500; letter-spacing: .04em; transition: color .2s; }
.nav-links a:hover { color: var(--lime); }
.nav-cta { margin-left: 16px; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; border: none; background: none; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,.8); border-radius: 2px; transition: all .25s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-drawer { display: none; position: fixed; top: 68px; left: 0; right: 0; background: rgba(28,28,28,.98); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(200,212,0,.15); padding: 24px 32px 32px; z-index: 99; flex-direction: column; gap: 0; }
.nav-drawer.open { display: flex; }
.nav-drawer li { list-style: none; border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-drawer li:last-child { border-bottom: none; margin-top: 16px; }
.nav-drawer a { display: block; padding: 14px 0; color: rgba(255,255,255,.7); font-size: 15px; font-weight: 500; letter-spacing: .03em; transition: color .2s; }
.nav-drawer a:hover { color: var(--lime); }
.nav-drawer .nav-cta { margin-left: 0; }
.nav-drawer .nav-cta .btn { width: 100%; justify-content: center; padding: 14px; }

main#main-content { padding-top: 68px; flex: 1 0 auto; width: 100%; }

/* ─── HOMEPAGE SECTIONS (hero, tiers, values, proof, etc.) ───
   These match the original single-page HTML build. If your front-page.php
   uses the same section markup/IDs, these apply automatically. */
#hero { min-height: 100vh; background: var(--black); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
#hero::before { content: ''; position: absolute; top: -80px; right: -120px; width: 520px; height: 520px; background: var(--lime); opacity: .06; border-radius: 50%; }
#hero::after { content: ''; position: absolute; bottom: 60px; left: -60px; width: 280px; height: 280px; background: var(--lime); opacity: .04; border-radius: 50%; }
.hero-content { position: relative; z-index: 2; padding: 80px 0 60px; }
.hero-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.hero-eyebrow-line { width: 40px; height: 1px; background: var(--lime); }
.hero-eyebrow-text { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--lime); }
.hero-headline { font-family: var(--font-display); font-size: clamp(56px, 9vw, 128px); line-height: .95; letter-spacing: .02em; color: var(--white); margin-bottom: 32px; }
.hero-headline .accent { color: var(--lime); }
.hero-sub { font-size: 18px; font-weight: 300; color: rgba(255,255,255,.6); max-width: 560px; line-height: 1.7; margin-bottom: 48px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 80px; }
.hero-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius-lg); overflow: hidden; }
.stat { padding: 28px 24px; background: rgba(255,255,255,.03); }
.stat-num { font-family: var(--font-display); font-size: 44px; letter-spacing: .02em; color: var(--lime); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 12px; color: rgba(255,255,255,.5); font-weight: 400; letter-spacing: .03em; }

#services-intro { background: var(--gray-50); padding: 96px 0; }
.services-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.services-intro-headline { font-family: var(--font-display); font-size: clamp(40px,5vw,72px); line-height: 1; letter-spacing: .02em; margin-bottom: 20px; }
.services-intro-body { font-size: 16px; color: #444; line-height: 1.75; margin-bottom: 32px; }
.channel-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 6px 14px; border: 1.5px solid var(--gray-200); border-radius: 100px; font-size: 12px; font-weight: 500; color: var(--black); letter-spacing: .03em; }
.services-intro-right { display: flex; flex-direction: column; gap: 20px; }
.service-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 24px; display: flex; gap: 20px; align-items: flex-start; transition: box-shadow .2s, border-color .2s; }
.service-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.06); border-color: var(--lime); }
.service-icon { width: 44px; height: 44px; background: var(--black); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 20px; }
.service-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.service-card p { font-size: 13px; color: var(--gray-500); line-height: 1.55; }

#tiers { background: var(--black); padding: 96px 0; }
.tiers-header { text-align: center; margin-bottom: 56px; }
.tiers-headline { font-family: var(--font-display); font-size: clamp(40px,5vw,80px); color: var(--white); letter-spacing: .02em; line-height: 1; margin-bottom: 16px; }
.tiers-sub { color: rgba(255,255,255,.5); font-size: 16px; max-width: 480px; margin: 0 auto; }
.tiers-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: rgba(255,255,255,.05); border-radius: var(--radius-lg); overflow: hidden; }
.tier { background: #242424; padding: 40px 32px; display: flex; flex-direction: column; transition: background .2s; }
.tier:hover { background: #2a2a2a; }
.tier.featured { background: var(--lime); }
.tier.featured .tier-badge, .tier.featured .tier-name, .tier.featured .tier-tagline,
.tier.featured .tier-price, .tier.featured .tier-period, .tier.featured .tier-setup,
.tier.featured .tier-channels, .tier.featured .tier-feature-item { color: var(--black); }
.tier.featured .tier-feature-item::before { background: var(--black); }
.tier-badge { font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--lime); margin-bottom: 12px; font-weight: 500; }
.tier.featured .tier-badge { color: var(--black); }
.tier-name { font-family: var(--font-display); font-size: 38px; letter-spacing: .04em; color: var(--white); margin-bottom: 8px; }
.tier-tagline { font-size: 12px; color: rgba(255,255,255,.45); margin-bottom: 28px; line-height: 1.4; }
.tier-price-row { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.tier-price { font-family: var(--font-display); font-size: 52px; letter-spacing: .02em; color: var(--white); line-height: 1; }
.tier-period { font-size: 13px; color: rgba(255,255,255,.4); font-weight: 400; }
.tier-setup { font-size: 12px; color: rgba(255,255,255,.4); margin-bottom: 32px; }
.tier-divider { height: 1px; background: rgba(255,255,255,.08); margin-bottom: 24px; }
.tier.featured .tier-divider { background: rgba(0,0,0,.12); }
.tier-channels { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 12px; }
.tier-features { list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1; margin-bottom: 32px; }
.tier-feature-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.45; }
.tier-feature-item::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); flex-shrink: 0; margin-top: 7px; }
.tier-btn { display: block; text-align: center; padding: 13px; border-radius: var(--radius); font-weight: 600; font-size: 13px; letter-spacing: .04em; border: 1.5px solid rgba(255,255,255,.2); color: var(--white); transition: all .2s; cursor: pointer; }
.tier-btn:hover { border-color: var(--lime); color: var(--lime); }
.tier.featured .tier-btn { background: var(--black); border-color: var(--black); color: var(--white); }
.tier.featured .tier-btn:hover { background: #2a2a2a; }
.tiers-note { text-align: center; margin-top: 32px; font-size: 12px; color: rgba(255,255,255,.3); font-family: var(--font-mono); letter-spacing: .08em; }

#who { background: var(--white); padding: 96px 0; }
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.who-headline { font-family: var(--font-display); font-size: clamp(40px,5vw,72px); letter-spacing: .02em; line-height: 1; margin-bottom: 20px; }
.who-body { font-size: 16px; color: #444; line-height: 1.75; margin-bottom: 36px; }
.industries { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; }
.industry { padding: 20px 24px; background: var(--gray-50); font-size: 14px; font-weight: 500; letter-spacing: .02em; display: flex; align-items: center; gap: 10px; transition: background .15s; }
.industry:hover { background: var(--lime); }
.industry-icon { font-size: 18px; }
.who-right { padding-top: 8px; }
.model-block { border-left: 3px solid var(--lime); padding: 24px 28px; background: var(--gray-50); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; margin-bottom: 16px; }
.model-block h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.model-block p { font-size: 13px; color: var(--gray-500); line-height: 1.6; }

#values { background: var(--gray-50); padding: 96px 0; }
.values-header { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 64px; }
.values-headline { font-family: var(--font-display); font-size: clamp(40px,4vw,68px); letter-spacing: .02em; line-height: 1; }
.values-body { font-size: 16px; color: #444; line-height: 1.75; }
.values-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 2px; }
.value-card { background: var(--white); padding: 32px 24px; transition: background .2s; cursor: default; }
.value-card:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.value-card:last-child  { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.value-card:hover { background: var(--black); }
.value-card:hover .value-title, .value-card:hover .value-body { color: var(--white); }
.value-card:hover .value-num { color: var(--lime); }
.value-num { font-family: var(--font-display); font-size: 52px; color: var(--gray-200); line-height: 1; margin-bottom: 16px; transition: color .2s; }
.value-title { font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; line-height: 1.3; transition: color .2s; }
.value-body { font-size: 12px; color: var(--gray-500); line-height: 1.6; transition: color .2s; }

#addons { background: var(--white); padding: 96px 0; }
.addons-header { margin-bottom: 48px; }
.addons-headline { font-family: var(--font-display); font-size: clamp(36px,4vw,64px); letter-spacing: .02em; line-height: 1; margin-bottom: 12px; }
.addons-sub { font-size: 15px; color: var(--gray-500); max-width: 520px; line-height: 1.65; }
.addons-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.addon-item { display: flex; justify-content: space-between; align-items: flex-start; padding: 20px 24px; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); transition: border-color .2s; }
.addon-item:hover { border-color: var(--lime); }
.addon-name { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.addon-desc { font-size: 12px; color: var(--gray-500); line-height: 1.5; }
.addon-price { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--black); white-space: nowrap; padding-left: 16px; }

#proof { background: var(--black); padding: 96px 0; }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.proof-headline { font-family: var(--font-display); font-size: clamp(36px,5vw,80px); color: var(--white); letter-spacing: .02em; line-height: 1; margin-bottom: 24px; }
.proof-headline .accent { color: var(--lime); }
.proof-body { color: rgba(255,255,255,.55); font-size: 16px; line-height: 1.75; margin-bottom: 40px; }
.proof-points { display: flex; flex-direction: column; gap: 20px; }
.proof-point { display: flex; gap: 16px; align-items: flex-start; }
.proof-check { width: 22px; height: 22px; background: var(--lime); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; font-size: 11px; font-weight: 700; color: var(--black); }
.proof-point-text { font-size: 15px; color: rgba(255,255,255,.75); line-height: 1.55; }
.proof-cta-box { background: rgba(200,212,0,.07); border: 1px solid rgba(200,212,0,.2); border-radius: var(--radius-lg); padding: 48px 40px; }
.proof-cta-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--lime); margin-bottom: 20px; }
.proof-cta-headline { font-family: var(--font-display); font-size: 48px; color: var(--white); line-height: 1.05; letter-spacing: .02em; margin-bottom: 16px; }
.proof-cta-sub { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.6; margin-bottom: 32px; }
.proof-cta-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.proof-cta-item { font-size: 13px; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 8px; }
.proof-cta-item::before { content: '→'; color: var(--lime); font-weight: 700; }

/* ─── FOOTER ─── */
footer { background: #111; padding: 48px 0 32px; border-top: 1px solid rgba(255,255,255,.05); flex-shrink: 0; width: 100%; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-logo { font-family: var(--font-display); font-size: 22px; letter-spacing: .06em; color: var(--white); display: block; }
.footer-links { display: flex; gap: 28px; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,.3); letter-spacing: .04em; transition: color .2s; }
.footer-links a:hover { color: var(--lime); }
.footer-copy { font-size: 11px; color: rgba(255,255,255,.2); font-family: var(--font-mono); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.05); margin-top: 24px; padding-top: 24px; text-align: center; }
.footer-social { display: flex; gap: 16px; align-items: center; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.4); transition: all .2s; }
.footer-social a:hover { border-color: var(--lime); color: var(--lime); background: rgba(200,212,0,.08); }

/* ============================================================
   NEW: BLOG / ARCHIVE / SINGLE POST / SEARCH / 404
   These didn't exist in the original one-page build — added so
   the blog matches the rest of the site once this theme is active.
============================================================ */

/* Shared page header used on archives, search results, 404 */
.page-hero { background: var(--black); padding: 140px 0 64px; }
.page-hero .section-label { color: rgba(255,255,255,.35); }
.page-hero-title { font-family: var(--font-display); font-size: clamp(40px,6vw,84px); color: var(--white); letter-spacing: .02em; line-height: 1; }
.page-hero-sub { color: rgba(255,255,255,.5); font-size: 15px; margin-top: 16px; max-width: 560px; }

/* Blog / archive listing grid */
.blog-wrap { background: var(--gray-50); padding: 72px 0 96px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, border-color .2s, transform .2s; }
.post-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,.08); border-color: var(--lime); transform: translateY(-2px); }
.post-card-thumb { aspect-ratio: 16/10; background: var(--black); overflow: hidden; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card-thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1c1c1c, #2a2a2a); }
.post-card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card-meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-500); display: flex; gap: 10px; align-items: center; }
.post-card-cat { color: var(--lime-dim); font-weight: 500; }
.post-card-title { font-size: 18px; font-weight: 700; line-height: 1.3; }
.post-card-title a { transition: color .15s; }
.post-card-title a:hover { color: var(--lime-dim); }
.post-card-excerpt { font-size: 13px; color: var(--gray-500); line-height: 1.6; flex: 1; }
.post-card-readmore { font-size: 12px; font-weight: 600; letter-spacing: .03em; margin-top: 4px; display: inline-flex; align-items: center; gap: 6px; }

/* Pagination */
.sl-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 56px; flex-wrap: wrap; }
.sl-pagination a, .sl-pagination span { min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); font-size: 13px; font-weight: 600; border: 1.5px solid var(--gray-200); color: var(--black); padding: 0 8px; }
.sl-pagination a:hover { border-color: var(--lime); color: var(--lime-dim); }
.sl-pagination .current { background: var(--black); border-color: var(--black); color: var(--white); }

/* Single post */
.single-post-wrap { background: var(--white); padding: 140px 0 96px; }
.single-post-header { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.single-post-meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 20px; display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; }
.single-post-meta .cat { color: var(--lime-dim); font-weight: 600; }
.single-post-title { font-family: var(--font-display); font-size: clamp(32px,5vw,56px); letter-spacing: .01em; line-height: 1.05; margin-bottom: 20px; }
.single-post-thumb { max-width: 900px; margin: 0 auto 48px; border-radius: var(--radius-lg); overflow: hidden; }
.single-post-content { max-width: 720px; margin: 0 auto; font-size: 17px; line-height: 1.8; color: #2b2b2b; }
.single-post-content h2 { font-family: var(--font-display); font-size: 32px; letter-spacing: .01em; margin: 48px 0 16px; line-height: 1.1; }
.single-post-content h3 { font-size: 22px; font-weight: 700; margin: 36px 0 12px; }
.single-post-content p { margin-bottom: 24px; }
.single-post-content ul, .single-post-content ol { margin: 0 0 24px 24px; }
.single-post-content li { margin-bottom: 8px; }
.single-post-content a { color: var(--lime-dim); text-decoration: underline; text-decoration-color: rgba(200,212,0,.4); }
.single-post-content a:hover { text-decoration-color: var(--lime-dim); }
.single-post-content blockquote { border-left: 3px solid var(--lime); padding: 4px 24px; margin: 32px 0; font-style: italic; color: #444; }
.single-post-content img { border-radius: var(--radius-lg); margin: 32px 0; }
.single-post-content figure { margin: 32px 0; }
.single-post-content figcaption { font-size: 13px; color: var(--gray-500); text-align: center; margin-top: 8px; }
.single-post-content pre, .single-post-content code { font-family: var(--font-mono); background: var(--gray-50); border-radius: var(--radius); }
.single-post-content pre { padding: 20px; overflow-x: auto; margin-bottom: 24px; }
.single-post-content code { padding: 2px 6px; font-size: 14px; }

.post-tags { max-width: 720px; margin: 48px auto 0; display: flex; gap: 8px; flex-wrap: wrap; }
.post-tags a { padding: 6px 14px; border: 1.5px solid var(--gray-200); border-radius: 100px; font-size: 12px; font-weight: 500; transition: border-color .2s, color .2s; }
.post-tags a:hover { border-color: var(--lime); color: var(--lime-dim); }

.post-nav { max-width: 720px; margin: 56px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: 1px solid var(--gray-200); padding-top: 32px; }
.post-nav-item { padding: 20px; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); transition: border-color .2s; }
.post-nav-item:hover { border-color: var(--lime); }
.post-nav-item.next { text-align: right; }
.post-nav-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 8px; display: block; }
.post-nav-title { font-size: 14px; font-weight: 600; line-height: 1.4; }

/* Single post: two-column layout with sidebar */
.single-post-layout { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.single-post-main { min-width: 0; max-width: 720px; }
.single-post-content h2, .single-post-content h3 { scroll-margin-top: 96px; }
.single-post-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 96px; }

.sidebar-toc ul { display: flex; flex-direction: column; gap: 2px; }
.sidebar-toc li { margin: 0; }
.sidebar-toc a { display: block; font-size: 13px; color: #444; padding: 7px 0; line-height: 1.4; border-left: 2px solid var(--gray-200); padding-left: 12px; transition: border-color .15s, color .15s; }
.sidebar-toc a:hover { border-left-color: var(--lime-dim); color: var(--lime-dim); }
.sidebar-toc .toc-level-3 a { padding-left: 24px; font-size: 12.5px; color: var(--gray-500); }

.sidebar-cta { background: var(--black); border-radius: var(--radius-lg); padding: 28px 24px; }
.sidebar-cta-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 12px; }
.sidebar-cta-title { font-family: var(--font-display); font-size: 22px; color: #fff; letter-spacing: .01em; line-height: 1.15; margin-bottom: 10px; }
.sidebar-cta-body { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.55; margin-bottom: 20px; }

.sidebar-trust ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.sidebar-trust li { font-size: 13px; color: #444; line-height: 1.5; display: flex; align-items: flex-start; gap: 8px; }
.trust-check { width: 18px; height: 18px; background: var(--lime); color: var(--black); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; flex-shrink: 0; margin-top: 1px; }

.sidebar-contact p { font-size: 13px; color: var(--gray-500); line-height: 1.55; margin-bottom: 16px; }

.author-box { max-width: 720px; margin: 48px auto 0; display: flex; gap: 16px; align-items: center; padding: 24px; background: var(--gray-50); border-radius: var(--radius-lg); }
.author-box img { width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; }
.author-box-name { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.author-box-bio { font-size: 13px; color: var(--gray-500); line-height: 1.5; }

/* Comments */
#comments { max-width: 720px; margin: 64px auto 0; }
.comments-title, #reply-title { font-family: var(--font-display); font-size: 28px; letter-spacing: .02em; margin-bottom: 24px; }
.comment-list { list-style: none; margin-bottom: 32px; }
.comment-body { border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 16px; }
.comment-author { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.comment-metadata { font-size: 11px; color: var(--gray-500); margin-bottom: 10px; }
.comment-content p { font-size: 14px; line-height: 1.65; margin-bottom: 0; }
.comment-form input, .comment-form textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray-200); border-radius: var(--radius); font-family: var(--font-body); font-size: 14px; margin-bottom: 16px; }
.comment-form label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.comment-form .form-submit input { width: auto; background: var(--lime); border: none; font-weight: 700; cursor: pointer; padding: 12px 28px; }

/* Widgets / sidebar (if used on blog templates) */
.sidebar-widget { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px; }
.sidebar-widget h2, .sidebar-widget .widget-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 16px; }
.sidebar-widget ul { list-style: none; }
.sidebar-widget li { margin-bottom: 10px; font-size: 14px; }
.sidebar-widget a:hover { color: var(--lime-dim); }

/* 404 */
.error-404-wrap { background: var(--black); min-height: 70vh; display: flex; align-items: center; }
.error-404-num { font-family: var(--font-display); font-size: clamp(80px,14vw,220px); color: var(--lime); line-height: .9; letter-spacing: .02em; }
.error-404-text { color: rgba(255,255,255,.6); font-size: 16px; margin: 16px 0 32px; max-width: 480px; }

/* Search form (used in search.php / widgets) */
.sl-search-form { display: flex; gap: 8px; max-width: 480px; }
.sl-search-form input[type="search"] { flex: 1; padding: 14px 18px; border: 1.5px solid var(--gray-200); border-radius: var(--radius); font-size: 14px; }
.sl-search-form button { background: var(--lime); border: none; border-radius: var(--radius); padding: 0 20px; font-weight: 700; cursor: pointer; }

/* No results */
.no-results { text-align: center; padding: 64px 0; }
.no-results h2 { font-family: var(--font-display); font-size: 32px; margin-bottom: 12px; }
.no-results p { color: var(--gray-500); margin-bottom: 24px; }

/* WordPress core alignment helpers (needed for block editor content in posts) */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 24px auto; }
.wp-caption, .wp-block-image { margin-bottom: 24px; }
.screen-reader-text { position: absolute; left: -9999px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .services-intro-grid, .who-grid, .values-header, .proof-grid { gap: 48px; }
  .values-grid { grid-template-columns: repeat(3,1fr); }
  .value-card:first-child { border-radius: var(--radius-lg) 0 0 0; }
  .value-card:last-child  { border-radius: 0 0 var(--radius-lg) 0; }
  .tiers-grid { grid-template-columns: 1fr; gap: 2px; }
  .tier { padding: 32px 28px; }
  .tier.featured { order: -1; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .single-post-layout { grid-template-columns: 1fr; gap: 40px; }
  .single-post-main { max-width: 100%; }
  .single-post-sidebar { position: static; width: 100%; }
  .single-post-sidebar > * { max-width: 720px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-inner .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { height: 60px; }
  .nav-drawer { top: 60px; padding: 20px 20px 28px; }
  main#main-content { padding-top: 60px; }
  .hero-content { padding: 56px 0 48px; }
  .hero-sub { font-size: 16px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-stats { grid-template-columns: repeat(2,1fr); }
  #services-intro, #tiers, #who, #values, #addons, #proof { padding: 64px 0; }
  .services-intro-grid, .who-grid { grid-template-columns: 1fr; gap: 48px; }
  .industries { grid-template-columns: 1fr; }
  .values-header { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  .values-grid { grid-template-columns: repeat(2,1fr); }
  .value-card:nth-child(2) { border-radius: 0 var(--radius-lg) 0 0; }
  .value-card:last-child { grid-column: 1 / -1; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
  .addons-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-links { gap: 16px; }
  .page-hero { padding: 120px 0 48px; }
  .blog-grid { grid-template-columns: 1fr; }
  .single-post-wrap { padding: 120px 0 64px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-item.next { text-align: left; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .nav-drawer { padding: 16px 16px 24px; }
  .hero-content { padding: 40px 0 36px; }
  .stat { padding: 20px 16px; }
  .stat-num { font-size: 36px; }
  #services-intro, #tiers, #who, #values, #addons, #proof { padding: 48px 0; }
  .service-card { flex-direction: column; gap: 12px; padding: 20px; }
  .tier { padding: 28px 20px; }
  .tier-price { font-size: 42px; }
  .addons-grid { grid-template-columns: 1fr; }
  .addon-item { flex-direction: column; gap: 8px; }
  .addon-price { padding-left: 0; }
  .values-grid { grid-template-columns: 1fr; }
  .value-card:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .value-card:last-child { border-radius: 0 0 var(--radius-lg) var(--radius-lg); grid-column: auto; }
  .footer-links { flex-direction: column; gap: 12px; }
  .footer-social { flex-wrap: wrap; }
  .single-post-content { font-size: 16px; }
}
