/* HelloSEO — shared chrome (nav + footer) and content styles for the
   multi-page SEO site. Relies on the design tokens defined in styles.css. */

/* ---------- Shared navbar ---------- */
.site-nav {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  transition: top 0.3s var(--ease);
}
.site-nav-inner {
  width: 100%;
  max-width: 1240px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 12px 12px 12px 20px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--bg-elev) 80%, transparent);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--line);
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.site-nav.scrolled .site-nav-inner {
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in oklab, var(--ink) 8%, transparent);
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-mark { display: inline-flex; align-items: center; justify-content: center; }
.brand-mark svg { display: block; }
.site-loc {
  margin-left: 8px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
  font-weight: 400;
  letter-spacing: 0.04em;
}
.site-links {
  display: flex;
  gap: 2px;
  justify-content: center;
  align-items: center;
}
.site-links > a, .site-dd > button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 450;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: all 0.2s var(--ease);
  cursor: pointer;
  background: none;
  border: none;
}
.site-links > a:hover, .site-dd > button:hover { color: var(--ink); background: var(--bg-soft); }
.site-links a.active { color: var(--ink); font-weight: 500; }

/* Dropdown */
.site-dd { position: relative; }
.site-dd-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 280px;
  padding: 8px;
  border-radius: 16px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.site-dd:hover .site-dd-menu,
.site-dd:focus-within .site-dd-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.site-dd-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: 14px;
  transition: all 0.18s var(--ease);
}
.site-dd-menu a strong { display: block; color: var(--ink); font-weight: 600; font-size: 14.5px; }
.site-dd-menu a span { font-size: 12.5px; color: var(--ink-muted); }
.site-dd-menu a:hover { background: var(--bg-soft); }
.site-dd-menu a.active { background: var(--accent-soft); }
.site-chevron { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.site-dd:hover .site-chevron { transform: rotate(180deg); }

.site-cta { display: flex; align-items: center; gap: 6px; }
.site-cta .btn { font-size: 14px; padding: 11px 18px; }

.site-burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  align-items: center;
  justify-content: center;
}

/* Mobile menu */
.site-mobile {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 16px;
  right: 16px;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border-radius: 20px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  max-height: 78vh;
  overflow-y: auto;
}
.site-mobile.open { display: flex; }
.site-mobile a {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 15px;
  color: var(--ink-soft);
}
.site-mobile a:hover { background: var(--bg-soft); color: var(--ink); }
.site-mobile .mob-group-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 14px 14px 4px;
}

@media (max-width: 980px) {
  .site-links, .site-cta .nav-contact, .site-loc { display: none; }
  .site-cta .btn-primary { display: none; }
  .site-nav-inner { grid-template-columns: 1fr auto; }
  .site-burger { display: flex; }
}
.site-mobile .btn-primary { justify-content: center; margin-top: 8px; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative;
  padding: 160px 0 60px;
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 0%, color-mix(in oklab, var(--accent) 12%, transparent) 0%, transparent 70%);
  pointer-events: none;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13.5px;
  color: var(--ink-muted);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--ink-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--ink-faint); }
.breadcrumb span[aria-current] { color: var(--ink); }
.page-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}
.page-hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  max-width: 880px;
  margin-bottom: 20px;
}
.page-hero .lede { font-size: clamp(17px, 1.5vw, 20px); max-width: 720px; color: var(--ink-soft); }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Content ---------- */
.prose { padding: 40px 0 80px; }
.prose .container { max-width: 820px; }
.prose h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin: 56px 0 18px;
  scroll-margin-top: 100px;
}
.prose h3 { font-size: 21px; margin: 32px 0 12px; }
.prose p { font-size: 16.5px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 4px; list-style: none; }
.prose ul li, .prose ol li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 11px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.prose ol { counter-reset: step; }
.prose ol li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.prose a.inline { color: var(--accent); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose .lead { font-size: 19px; line-height: 1.7; color: var(--ink); }

/* Stat / feature cards */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin: 28px 0; }
.stat-card {
  padding: 24px;
  border-radius: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.stat-card .stat-num { font-family: var(--font-display); font-weight: 800; font-size: 34px; color: var(--ink); letter-spacing: -0.02em; }
.stat-card .stat-lbl { font-size: 13.5px; color: var(--ink-muted); margin-top: 4px; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 28px 0; }
.feature-card {
  padding: 26px;
  border-radius: 18px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
}
.feature-card .fc-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--violet));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700;
  margin-bottom: 16px;
}
.feature-card h3 { margin: 0 0 8px; font-size: 18px; }
.feature-card p { font-size: 14.5px; margin: 0; }

/* Callout / CTA band */
.cta-band {
  margin: 48px 0 8px;
  padding: 40px;
  border-radius: 24px;
  background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 50%, #1E3A8A 100%);
  color: #fff;
  text-align: center;
}
.cta-band h2 { color: #fff; margin: 0 0 12px; font-size: 28px; }
.cta-band p { color: rgba(255,255,255,0.8); max-width: 520px; margin: 0 auto 24px; }
.cta-band .btn-primary { background: #fff; color: var(--accent-deep); }
.cta-band .btn-primary:hover { background: var(--accent); color: #fff; }

/* ---------- FAQ ---------- */
.faq { padding: 40px 0 80px; }
.faq .container { max-width: 820px; }
.faq h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 28px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-elev);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 22px; }
.faq-item .faq-body p { font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); margin: 0; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.post-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card .post-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--accent), var(--violet));
  position: relative;
}
.post-card.soon .post-thumb { background: linear-gradient(135deg, #0F172A, #1E3A8A); opacity: 0.85; }
.post-card .post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card .post-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.post-card h2, .post-card h3 { font-size: 19px; margin: 0 0 10px; }
.post-card p { font-size: 14px; color: var(--ink-muted); margin: 0 0 16px; flex: 1; }
.post-card .post-link { font-size: 14px; font-weight: 600; color: var(--accent); margin-top: auto; }
.post-card .post-soon { font-size: 13px; color: var(--ink-faint); font-weight: 500; margin-top: auto; }
.article-body { padding: 20px 0 80px; }
.article-body .container { max-width: 780px; }

/* ---------- Shared footer ---------- */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 72px 0 0;
  overflow: hidden;
}
.site-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: 64px;
  padding-bottom: 56px;
}
.sf-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--ink); margin-bottom: 18px; }
.sf-tag { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); margin: 0 0 24px; max-width: 380px; }
.sf-contact { display: flex; flex-direction: column; gap: 8px; }
.sf-contact a, .sf-contact span { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-soft); }
.sf-contact a:hover { color: var(--accent); }
.sf-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.sf-col h3 { font-family: var(--font-display); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); margin: 0 0 16px; }
.sf-col a { display: block; font-size: 14px; color: var(--ink-soft); margin-bottom: 10px; }
.sf-col a:hover { color: var(--accent); }
.site-footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-muted);
  flex-wrap: wrap; gap: 12px;
}
.site-footer-bottom a:hover { color: var(--ink); }
@media (max-width: 880px) {
  .site-footer-top { grid-template-columns: 1fr; gap: 40px; }
  .sf-cols { grid-template-columns: 1fr 1fr; }
}

/* ---------- Shared audit modal ---------- */
.audit-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: color-mix(in oklab, var(--ink) 50%, transparent);
  backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.audit-backdrop.open { display: flex; animation: aud-fade .25s var(--ease); }
@keyframes aud-fade { from { opacity: 0; } to { opacity: 1; } }
.audit-modal {
  width: 100%; max-width: 860px; max-height: 92vh; overflow: hidden;
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: 24px; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: minmax(0,0.85fr) minmax(0,1.15fr);
  position: relative; animation: aud-in .35s var(--ease);
}
@keyframes aud-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.audit-close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px;
  border-radius: 50%; background: var(--bg-soft); color: var(--ink);
  font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center; z-index: 2;
}
.audit-close:hover { background: var(--ink); color: var(--bg); }
.audit-side {
  background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 50%, #1E3A8A 100%);
  color: #fff; padding: 40px 32px; display: flex; flex-direction: column;
}
.audit-pill {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  padding: 5px 11px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px; font-size: 12px; color: rgba(255,255,255,.9); margin-bottom: 22px;
}
.audit-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: #10B981; }
.audit-side h3 { color: #fff; font-size: 24px; line-height: 1.2; margin: 0 0 12px; }
.audit-side p { color: rgba(255,255,255,.75); font-size: 14px; line-height: 1.55; margin: 0 0 24px; }
.audit-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.audit-list li { font-size: 13.5px; color: rgba(255,255,255,.9); }
.audit-form-wrap { padding: 40px 32px; overflow-y: auto; }
.audit-form-wrap label { display: block; font-size: 12.5px; color: var(--ink-soft); font-weight: 500; margin: 16px 0 8px; }
.audit-form-wrap label:first-of-type { margin-top: 0; }
.aud-field {
  width: 100%; padding: 12px 14px; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 10px; font-family: var(--font-body); font-size: 14.5px; color: var(--ink);
}
.aud-field:focus { outline: none; border-color: var(--accent); background: var(--bg-elev); box-shadow: 0 0 0 3px var(--accent-soft); }
.aud-area { resize: vertical; min-height: 110px; line-height: 1.5; }
.aud-submit { width: 100%; margin-top: 20px; }
.aud-legal { margin-top: 14px; font-size: 12px; color: var(--ink-faint); text-align: center; }
.aud-msg { margin-top: 16px; padding: 12px 14px; border-radius: 10px; font-size: 13.5px; }
.aud-msg.err { background: color-mix(in oklab,#ef4444 10%,transparent); border: 1px solid color-mix(in oklab,#ef4444 35%,transparent); color: #b91c1c; }
.aud-msg.ok { background: var(--green-soft); border: 1px solid color-mix(in oklab,var(--green) 35%,transparent); color: #047857; }
@media (max-width: 820px) {
  .audit-modal { grid-template-columns: 1fr; max-height: 100vh; border-radius: 0; }
  .audit-side { padding: 28px 24px; }
  .audit-form-wrap { padding: 28px 24px; }
}

/* ============================================================
   HOMEPAGE DESIGN SYSTEM — shared layout primitives
   (reuses tokens from styles.css; no hardcoded palette)
   ============================================================ */

/* Section system + alternating backgrounds */
.sec { padding: clamp(64px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.sec.tight { padding: clamp(48px, 6vw, 80px) 0; }
.sec-soft { background: var(--bg-soft); }
.sec-dark {
  background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 50%, #1E3A8A 100%);
  color: #fff;
}
.sec-gradient {
  background: linear-gradient(140deg, var(--accent) 0%, var(--violet) 100%);
  color: #fff;
}
.sec-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 80%);
}
.sec-glow {
  position: absolute; top: -180px; left: 50%; transform: translateX(-50%);
  width: 720px; height: 480px; pointer-events: none;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 45%, transparent) 0%, transparent 60%);
  filter: blur(50px);
}
.sec > .container { position: relative; z-index: 1; }

/* Dark/gradient section text handling */
.sec-dark h2, .sec-gradient h2, .sec-dark h3, .sec-gradient h3,
.sec-dark .sec-title, .sec-gradient .sec-title { color: #fff; }
.sec-dark p, .sec-gradient p { color: rgba(255,255,255,0.78); }
.sec-dark .lede, .sec-gradient .lede { color: rgba(255,255,255,0.82); }

/* Badge pill (e.g. "✦ Nos Services") */
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--bg-elev); border: 1px solid var(--line);
  font-size: 13px; font-weight: 500; color: var(--accent);
  margin-bottom: 18px;
}
.badge-pill::before { content: "✦"; font-size: 12px; }
.sec-dark .badge-pill, .sec-gradient .badge-pill, .page-hero.dark .badge-pill {
  background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16); color: #fff;
}

/* Centered section head */
.sec-head { max-width: 720px; margin: 0 auto clamp(40px,5vw,64px); text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.sec-title { font-size: clamp(30px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 18px; }
.sec-head .lede { margin: 0 auto; }
.sec-head.left .lede { margin: 0; }

/* Gradient text */
.grad-text {
  background: linear-gradient(105deg, var(--accent) 0%, var(--violet) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: 0.08em;
}
.sec-dark .grad-text, .sec-gradient .grad-text, .page-hero.dark .grad-text {
  background: linear-gradient(105deg, #60A5FA 0%, #C084FC 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---- Hero variants ---- */
.page-hero.dark {
  background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 50%, #1E3A8A 100%);
  color: #fff;
  min-height: 60vh;
  display: flex; align-items: center;
  padding: 150px 0 70px;
}
.page-hero.short { min-height: 40vh; }
.page-hero.mid { min-height: 50vh; }
.page-hero.dark h1 { color: #fff; }
.page-hero.dark .lede { color: rgba(255,255,255,0.8); }
.page-hero.dark .breadcrumb, .page-hero.dark .breadcrumb a { color: rgba(255,255,255,0.6); }
.page-hero.dark .breadcrumb a:hover { color: #fff; }
.page-hero.dark .breadcrumb .sep { color: rgba(255,255,255,0.35); }
.page-hero.dark .breadcrumb span[aria-current] { color: #fff; }
.page-hero.dark .page-eyebrow { color: #93C5FD; }
.hero-split { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,0.95fr); gap: 48px; align-items: center; }
.hero-copy-col { position: relative; z-index: 1; }
.hero-visual { position: relative; z-index: 1; }
@media (max-width: 920px) { .hero-split { grid-template-columns: 1fr; gap: 40px; } .hero-visual { order: 2; } }

/* Floating stat chips on hero */
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  font-size: 13px; color: #fff; font-weight: 500;
}
.hero-chip b { font-weight: 700; }
.hero-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* ---- Layout helpers ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,64px); align-items: center; }
.split.wide-left { grid-template-columns: 1.1fr 0.9fr; }
@media (max-width: 880px) { .split, .split.wide-left { grid-template-columns: 1fr; gap: 36px; } }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.card-grid.cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 900px) { .card-grid, .card-grid.cols-2, .card-grid.cols-4 { grid-template-columns: 1fr; } }

/* Cards on dark/gradient sections become glass */
.sec-dark .feature-card, .sec-gradient .feature-card,
.sec-dark .stat-card, .sec-gradient .stat-card {
  background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); color: #fff;
}
.sec-dark .feature-card h3, .sec-gradient .feature-card h3,
.sec-dark .stat-card .stat-num, .sec-gradient .stat-card .stat-num { color: #fff; }
.sec-dark .feature-card p, .sec-gradient .feature-card p { color: rgba(255,255,255,0.75); }
.sec-dark .stat-card .stat-lbl, .sec-gradient .stat-card .stat-lbl { color: rgba(255,255,255,0.7); }
.feature-card { transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* Numbered steps (process) */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative; padding: 28px 24px; border-radius: 18px;
  background: var(--bg-elev); border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.sec-dark .step, .sec-gradient .step { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--violet)); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 18px; margin-bottom: 16px;
}
.step h3 { font-size: 18px; margin: 0 0 6px; }
.sec-dark .step h3, .sec-gradient .step h3 { color: #fff; }
.step .step-dur { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; color: var(--ink-muted); display:block; margin-bottom: 10px; }
.sec-dark .step .step-dur, .sec-gradient .step .step-dur { color: rgba(255,255,255,0.6); }
.step p { font-size: 14px; margin: 0; }

/* Vertical timeline */
.timeline { display: flex; flex-direction: column; gap: 6px; }
.tl-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 14px 0; position: relative; }
.tl-item:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: -6px; width: 2px; background: var(--line); }
.sec-dark .tl-item:not(:last-child)::before { background: rgba(255,255,255,0.16); }
.tl-num { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--violet)); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-family: var(--font-display); z-index:1; }
.tl-item h3 { margin: 4px 0 4px; font-size: 17px; }
.tl-item p { font-size: 14.5px; margin: 0; }

/* Checklist (with green checks) */
.checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-soft); line-height: 1.55; }
.sec-dark .checklist li, .sec-gradient .checklist li { color: rgba(255,255,255,0.85); }
.checklist li::before {
  content: "✓"; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-soft); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700;
}

/* Generic mock panel for hero visuals */
.mock { position: relative; border-radius: 22px; background: var(--bg-elev); border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 22px; }
.page-hero.dark .mock { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); backdrop-filter: blur(10px); color: #fff; }
.mock-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.mock-bars { display: flex; gap: 6px; }
.mock-dot { width: 11px; height: 11px; border-radius: 50%; }

/* Progress bars (domain authority / scores) */
.bar { height: 9px; border-radius: 999px; background: var(--bg-soft); overflow: hidden; }
.page-hero.dark .bar, .sec-dark .bar { background: rgba(255,255,255,0.12); }
.bar > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--violet)); }
.bar-row { margin-bottom: 16px; }
.bar-row .bar-label { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 7px; }

/* Circular score rings (Core Web Vitals) */
.rings { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.ring { text-align: center; }
.ring .dial {
  width: 92px; height: 92px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
  background:
    radial-gradient(closest-side, var(--bg-elev) 79%, transparent 80% 100%),
    conic-gradient(var(--green) var(--p,90%), color-mix(in oklab, var(--green) 18%, transparent) 0);
  color: var(--green); margin: 0 auto 10px;
}
.page-hero.dark .ring .dial { background:
    radial-gradient(closest-side, #14213d 79%, transparent 80% 100%),
    conic-gradient(#34D399 var(--p,90%), rgba(255,255,255,0.14) 0);
  color: #34D399; }
.ring .ring-lbl { font-size: 13px; font-weight: 600; }
.page-hero.dark .ring .ring-lbl { color: #fff; }
.ring .ring-sub { font-size: 11px; color: var(--ink-muted); }
.page-hero.dark .ring .ring-sub { color: rgba(255,255,255,0.6); }

/* Fake Google Maps local pack */
.maps-pack { display: flex; flex-direction: column; gap: 10px; }
.map-item { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 14px; border-radius: 14px; background: var(--bg-elev); border: 1px solid var(--line); align-items: center; }
.page-hero.dark .map-item { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); color: #fff; }
.map-item.top { border-color: color-mix(in oklab, var(--accent) 50%, transparent); box-shadow: var(--shadow); }
.map-rank { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), var(--violet)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.map-name { font-weight: 600; font-size: 14.5px; }
.map-meta { font-size: 12px; color: var(--ink-muted); }
.page-hero.dark .map-meta { color: rgba(255,255,255,0.6); }

/* Comparison cards */
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .vs-grid { grid-template-columns: 1fr; } }
.vs-card { padding: 28px; border-radius: 20px; border: 1px solid var(--line); background: var(--bg-elev); }
.vs-card.good { border-color: color-mix(in oklab, var(--green) 45%, transparent); }
.vs-card h3 { margin: 0 0 14px; font-size: 19px; }

/* Generic dark/gradient prose link + strong */
.sec-dark a.inline, .sec-gradient a.inline { color: #93C5FD; }
.sec-dark strong, .sec-gradient strong { color: #fff; }
