/* ─── Entexis Systems: brand-matched to entexis.in ─── */

/* RESET */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; text-size-adjust:100%; }
body {
  font-family:'Space Grotesk',sans-serif;
  background:#f7f7f8; color:#1a2857;
  overflow-x:clip;
}

/* BRAND TOKENS (identical to entexis.in) */
:root {
  --navy:      #1a2857;
  --navy-mid:  #2347b5;
  --navy-deep: #0d1540;
  --blue:      #1565c7;
  --teal:      #0096c7;
  --teal-lt:   #29b6f6;
  --orange:    #f77f00;
  --green:     #4aaa57;
  --bg:        #f7f7f8;
  --bg2:       #ffffff;
  --bg3:       #eef0f4;
  --muted:     #374151;
  --text3:     #9ca3af;
  --border:    rgba(0,0,0,0.08);
}

/* ─── LOGO (same as entexis.in) ────────────────── */
.logo { display:flex; align-items:center; gap:10px; text-decoration:none; }
.logo-img { height:32px; width:auto; display:block; }

/* ─── NAV (same as entexis.in) ────────────────── */
.nav-wrap { position:sticky; top:0; z-index:100; }
nav {
  padding:18px 72px;
  display:flex; align-items:center; justify-content:space-between;
  background:rgba(255,255,255,0.96); backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border);
  position:relative;
}
.nav-links { display:flex; gap:0; list-style:none; }
.nav-links li { display:flex; }
.nav-links a {
  font-size:13px; font-weight:500; color:var(--muted);
  text-decoration:none; transition:color .2s;
  padding:10px 18px; display:block;
}
.nav-links a:hover { color:var(--navy); }
.nav-links a.active { color:var(--teal); }
.nav-right { display:flex; align-items:center; gap:8px; }

/* Hamburger button — visible on ALL screen sizes; overlay is the only menu */
.nav-hamburger {
  display: flex; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 8px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px; background: var(--navy);
  transition: transform .3s, opacity .3s;
}
/* Hide the inline nav-links on every viewport (hamburger is the ONLY menu) */
.nav-links { display: none !important; }

/* ─── SHARED LAB STYLES: gradient hero wrap, breadcrumb, Upwork CTA ─── */
/* Used by every lab under labs/*. Must exist in the shared stylesheet so
   any new lab can reuse .yd-hero-wrap / .hero-breadcrumb / .yd-upwork
   without duplicating CSS inside its own view file. */
.yd-hero-wrap { background: linear-gradient(160deg, #ffffff 0%, #f0f6fb 60%, #e6f0f9 100%); }
.hero-breadcrumb-wrap { max-width: 1200px; margin: 0 auto; padding: 22px 32px 0; }
.hero-breadcrumb {
  font-size: 12.5px; letter-spacing: .02em; color: #6b7280;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.hero-breadcrumb a { color: #0096c7; text-decoration: none; font-weight: 600; }
.hero-breadcrumb a:hover { text-decoration: underline; }
.hero-breadcrumb-sep { color: #cbd5e1; font-weight: 400; }
.hero-breadcrumb-cur { color: #1a2857; font-weight: 600; }

.yd-upwork {
  background: linear-gradient(135deg, #1a2857 0%, #0d1540 100%);
  color: #fff; padding: 72px 32px;
}
.yd-upwork-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.yd-upwork-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: #0096c7; margin-bottom: 18px;
}
.yd-upwork-eyebrow::before { content: ''; display: inline-block; width: 24px; height: 2px; background: currentColor; }
.yd-upwork h2 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -.02em;
  color: #fff; margin: 0 0 18px;
}
.yd-upwork h2 span { color: #0096c7; }
.yd-upwork p {
  font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.75);
  max-width: 640px; margin: 0 auto 32px;
}
.yd-upwork-actions {
  display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}
.yd-upwork-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: .04em;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s, transform .12s;
}
.yd-upwork-btn-primary {
  background: #4aaa57; color: #fff; border: 1px solid #4aaa57;
}
.yd-upwork-btn-primary:hover { background: #fff; color: #4aaa57; border-color: #fff; transform: translateY(-1px); }
.yd-upwork-btn-secondary {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.28);
}
.yd-upwork-btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.yd-upwork-note {
  margin-top: 22px; font-size: 12.5px; color: rgba(255,255,255,.5);
}
@media (max-width: 640px) {
  .yd-upwork { padding: 56px 20px; }
  .hero-breadcrumb-wrap { padding: 18px 20px 0; }
}

/* ─── RELATED LABS section (landing page, under FAQ) ─── */
/* Cards get the same gradient treatment as the "3 surfaces, 1 check" cards,
   so the lab cards land as a visual echo of the hero surface cards. */
.related-labs {
  background: #f8f9fa;
  padding: 72px 40px;
  border-top: 1px solid var(--border);
}
.related-labs-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.related-labs .section-eyebrow { justify-content: center; }

/* Cards: override the flat overlay-card look with a gradient + white text */
.related-labs .mega-grid { text-align: left; margin-top: 8px; }
.related-labs .mega-card {
  color: #fff; border: none; padding: 32px 28px; min-height: 220px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  box-shadow: 0 10px 30px rgba(10,21,64,.10);
}
.related-labs .mega-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(0,0,0,.22);
  background: initial;                    /* keep the inline gradient */
}
/* Decorative circles (echo the surface-card decorations) */
.related-labs .mega-card::before {
  content: ''; position: absolute; top: -32px; right: -32px;
  width: 128px; height: 128px;
  border: 1px solid rgba(255,255,255,.10); border-radius: 50%;
  pointer-events: none;
}
.related-labs .mega-card::after {
  content: ''; position: absolute; bottom: -80px; left: -80px;
  width: 220px; height: 220px;
  border: 1px solid rgba(255,255,255,.06); border-radius: 50%;
  pointer-events: none;
}
/* Text + icon flip to white; keep the inline icon color visible as an accent */
.related-labs .mega-card-icon  { color: rgba(255,255,255,.85); margin-bottom: 20px; position: relative; }
.related-labs .mega-card-name  { color: #fff; font-size: 18px; font-weight: 700; letter-spacing: .01em; margin-bottom: 8px; position: relative; }
.related-labs .mega-card-desc  { color: rgba(255,255,255,.78); font-size: 13.5px; line-height: 1.55; position: relative; }

@media (max-width: 768px) {
  .related-labs { padding: 56px 20px; }
  .related-labs .mega-card { min-height: 180px; padding: 26px 22px; }
}

/* ─── OVERLAY CARD GRID (used inside hamburger overlay on every viewport) ─── */
/* Same visual pattern as entexis.in mega cards. Overlay is the only menu on
   entexis.tech, so these live INSIDE .mobile-nav-overlay-inner. */
.mega-section-title {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
  margin: 28px 0 16px;
}
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.mega-card {
  display: block; padding: 20px; text-decoration: none;
  border: 1px solid #f3f4f6; border-radius: 2px;
  background: #fff;
  transition: border-color .15s, background .15s;
}
.mega-card:hover { border-color: var(--teal); background: #f9fafb; }
.mega-card-icon { margin-bottom: 10px; color: var(--teal); }
.mega-card-name { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.mega-card-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }
.mega-footer { margin-top: 24px; padding-top: 16px; border-top: 1px solid #f3f4f6; text-align: center; }
.mega-footer a { font-size: 13px; font-weight: 700; color: var(--teal); text-decoration: none; }
.mega-footer a:hover { text-decoration: underline; }

/* Overlay content: fills the FULL viewport width edge-to-edge on desktop
   (matches 4200 mega-panel which spans left:0 right:0). Tablet drops to
   2 cols with a soft cap, mobile collapses to single column.
   !important guards against any stale/cached override that keeps the
   grid narrow (was previously hitting on cached CSS). */
.mobile-nav-overlay-inner { max-width: none !important; margin: 0 !important; width: 100%; }

@media (min-width: 1025px) {
  .mega-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 1024px) {
  .mega-grid { grid-template-columns: repeat(2, 1fr); }
  .mobile-nav-overlay-inner { max-width: 720px !important; margin: 0 auto !important; }
}
@media (max-width: 640px) {
  .mega-grid { grid-template-columns: 1fr; }
  .mobile-nav-overlay-inner { max-width: 520px !important; }
}

/* Full-screen menu overlay — same on desktop and mobile */
.mobile-nav-overlay {
  display: none; position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff; z-index: 98;
  overflow-y: auto; padding: 100px 48px 48px;
}

body.mobile-menu-open { overflow: hidden; }
body.mobile-menu-open #main-nav { position: relative; z-index: 101; }
body.mobile-menu-open .nav-hamburger { z-index: 102; }
body.mobile-menu-open .nav-hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
body.mobile-menu-open .nav-hamburger span:nth-child(2) { opacity: 0; }
body.mobile-menu-open .nav-hamburger span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
body.mobile-menu-open .mobile-nav-overlay { display: block; }

.mob-link {
  display: block; padding: 22px 4px;
  font-size: 22px; font-weight: 700; color: var(--navy);
  text-decoration: none; border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.mob-link.active { color: var(--teal); }
.mob-link:hover  { color: var(--teal); }

/* ─── HERO — light gradient with 4200-inspired type patterns ─── */
.hero {
  background: linear-gradient(160deg, #ffffff 0%, #f0f6fb 60%, #e6f0f9 100%);
  padding: 96px 72px 104px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(0,150,199,.10), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -100px; left: -100px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(74,170,87,.08), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 900px; margin: 0 auto;
  text-align: center; position: relative; z-index: 1;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: ''; width: 28px; height: 2px; background: currentColor;
}
.hero-title {
  font-size: clamp(38px, 5.6vw, 64px);
  font-weight: 700; line-height: 1.08; letter-spacing: -.03em;
  color: var(--navy); margin: 0 0 20px;
}
.hero-sub {
  font-size: 17px; line-height: 1.7; color: var(--muted);
  max-width: 640px; margin: 0 auto 40px;
}
.hero-form {
  display: flex; gap: 8px;
  max-width: 680px; margin: 0 auto;
  background: #fff; padding: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 48px rgba(15,21,64,.10);
}
.hero-input-wrap {
  flex: 1; display: flex; align-items: center; gap: 12px;
  padding: 0 16px; min-width: 0;
}
.hero-input-icon { color: var(--text3); flex-shrink: 0; }
.hero-input {
  flex: 1; min-width: 0;
  border: none; outline: none; background: transparent;
  font-family: inherit; font-size: 16px; color: var(--navy);
  padding: 14px 0;
}
.hero-input::placeholder { color: var(--text3); }
.hero-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border: none; cursor: pointer;
  background: var(--orange); color: #fff;
  font-family: inherit; font-size: 12px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  transition: background .2s, transform .15s;
  flex-shrink: 0; white-space: nowrap;
}
.hero-btn:hover { background: var(--navy); transform: translateY(-1px); }

.hero-pills {
  display: inline-flex; gap: 10px; flex-wrap: wrap;
  justify-content: center;
  margin-top: 28px;
}
.hero-pill {
  display: inline-flex; align-items: center;
  padding: 6px 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  border: 1.5px solid; border-radius: 999px;
  background: #fff;
}

.hero-meta {
  margin-top: 22px; font-size: 13px; color: var(--muted);
  letter-spacing: .04em; font-weight: 500;
}

/* ─── SECTION SHARED ───────────────────────────── */
.section-eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 12px;
  display: inline-flex; align-items: center; gap: 10px;
}
.section-eyebrow::before {
  content: ''; width: 28px; height: 2px; background: currentColor;
}
.section-title {
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 700; line-height: 1.2; letter-spacing: -.02em;
  color: var(--navy); margin: 0 0 40px;
}

/* ─── SURFACES SECTION — big gradient cards (matches 4200 industries) ─── */
.layers {
  background: var(--bg); padding: 88px 72px;
  border-top: 1px solid var(--border);
}
.layers-inner { max-width: 1200px; margin: 0 auto; }
.layers-heading { margin-bottom: 48px; text-align: center; }
.layers-heading .section-eyebrow { color: var(--teal); }
.surfaces-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.surface-card {
  display: flex; flex-direction: column;
  padding: 32px 28px; min-height: 300px;
  position: relative; overflow: hidden;
  color: #fff;
  transition: transform .2s, box-shadow .2s;
}
.surface-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(0,0,0,.20);
}
/* Decorative circles — top-right small, bottom-left larger */
.surface-card::before {
  content: ''; position: absolute; top: -32px; right: -32px;
  width: 128px; height: 128px;
  border: 1px solid rgba(255,255,255,.10); border-radius: 50%;
  pointer-events: none;
}
.surface-card::after {
  content: ''; position: absolute; bottom: -80px; left: -80px;
  width: 220px; height: 220px;
  border: 1px solid rgba(255,255,255,.06); border-radius: 50%;
  pointer-events: none;
}
.surface-card-icon {
  color: rgba(255,255,255,.80); margin-bottom: 20px; line-height: 0;
  position: relative;
}
.surface-card-name {
  font-size: 22px; font-weight: 700; color: #fff;
  margin-bottom: 4px; letter-spacing: .02em;
  position: relative;
}
.surface-card-sub {
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,.72);
  margin-bottom: 22px; position: relative;
}
.surface-card-stat {
  font-size: 44px; font-weight: 700; color: rgba(255,255,255,.28);
  line-height: 1; letter-spacing: -.02em;
  margin-top: auto; margin-bottom: 8px;
  position: relative;
}
.surface-card-stat-desc {
  font-size: 12px; font-weight: 500; color: rgba(255,255,255,.55);
  line-height: 1.55;
  position: relative;
}

.surfaces-note {
  text-align: center; font-size: 15px; color: var(--muted);
  line-height: 1.7; max-width: 640px;
  margin: 40px auto 0;
}
.surfaces-note a { color: var(--teal); font-weight: 700; text-decoration: none; }
.surfaces-note a:hover { text-decoration: underline; }

/* ─── WHAT THE REPORT SHOWS — split layout with layered gradient ─── */
.report-preview {
  background:
    radial-gradient(circle at 12% 18%, rgba(0,150,199,.22), transparent 48%),
    radial-gradient(circle at 88% 82%, rgba(74,170,87,.16), transparent 52%),
    linear-gradient(135deg, #1a2857 0%, #0d1540 100%);
  padding: 96px 72px;
  border-top: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.report-preview-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 0.85fr 2fr;
  gap: 48px; align-items: start;
}
.report-preview-left { padding-top: 8px; }
.report-preview-title {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700; line-height: 1.1; letter-spacing: -.02em;
  color: #fff; margin: 0 0 24px;
}
.report-preview-desc {
  font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.72);
  max-width: 440px; margin-bottom: 32px;
}
.report-preview-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px;
  border: 1.5px solid rgba(255,255,255,.28);
  color: #fff; text-decoration: none;
  font-family: inherit; font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  transition: border-color .2s, background .2s;
}
.report-preview-btn:hover {
  border-color: #fff; background: rgba(255,255,255,.06);
}
.report-preview-right {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.report-step {
  padding: 24px 22px 26px 24px;
  border-left: 3px solid;
  background: rgba(255,255,255,.03);
}
.step-teal   { border-color: var(--teal); }
.step-orange { border-color: var(--orange); }
.step-green  { border-color: var(--green); }
.report-step-num {
  font-size: 30px; font-weight: 700; line-height: 1;
  letter-spacing: -.01em;
  margin-bottom: 18px;
}
.step-teal   .report-step-num { color: var(--teal); }
.step-orange .report-step-num { color: var(--orange); }
.step-green  .report-step-num { color: var(--green); }
.report-step-title {
  font-size: 16px; font-weight: 700; color: #fff;
  margin-bottom: 10px; line-height: 1.3;
}
.report-step-desc {
  font-size: 13px; color: rgba(255,255,255,.65);
  line-height: 1.6;
}

/* ─── FAQ — matches 4200 labs-page pattern (ent-faq accordion) ─── */
.faq-section { background: var(--bg); padding: 88px 72px; border-top: 1px solid var(--border); }
.faq-inner   { max-width: 800px; margin: 0 auto; }
.faq-title {
  font-size: 28px; font-weight: 700; color: var(--navy);
  margin: 0 0 36px; text-align: center; letter-spacing: -.01em;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.ent-faq { display: block; }
.ent-faq-item {
  display: block; border: 1px solid rgba(0,0,0,0.06);
  margin-bottom: -1px; background: #fff;
}
.ent-faq-q {
  cursor: pointer; user-select: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 18px 24px;
  font-size: 15px; font-weight: 600; color: var(--navy);
  transition: background .15s ease;
}
.ent-faq-q svg.faq-icon {
  width: 18px; height: 18px; min-width: 18px;
  stroke-width: 1.5; fill: none; flex-shrink: 0;
}
.ent-faq-q .faq-text { flex: 1; }
.ent-faq-q::after {
  content: '+'; font-size: 20px; font-weight: 400; color: #9ca3af;
  flex-shrink: 0; margin-left: 16px; transition: transform .2s;
}
.ent-faq-q:hover                     { background: #f7f8fb; }
.ent-faq-item.open .ent-faq-q        { background: #f7f8fb; }
.ent-faq-item.open .ent-faq-q::after { content: '\2212'; color: var(--teal); }
.ent-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.ent-faq-item.open .ent-faq-a { max-height: 600px; }
.ent-faq-a-inner {
  padding: 18px 24px; font-size: 15px; line-height: 1.8; color: var(--muted);
  border-top: 1px solid rgba(0,0,0,0.04); background: #fff;
}

/* ─── LABS TEASER ─────────────────────────────── */
.labs-teaser {
  background: #fff; padding: 88px 72px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.labs-teaser-inner { max-width: 800px; margin: 0 auto; }
.labs-teaser .section-eyebrow { color: var(--orange); }
.labs-teaser-sub {
  font-size: 15px; line-height: 1.7; color: var(--muted);
  max-width: 640px; margin: -24px auto 32px;
}
.labs-link {
  display: inline-block;
  font-size: 12px; font-weight: 700; color: var(--navy);
  text-decoration: none; letter-spacing: .07em; text-transform: uppercase;
  padding: 14px 28px; background: var(--navy); color: #fff;
  transition: background .2s;
}
.labs-link:hover { background: var(--teal); }

/* ─── REPORT: header strip (same light gradient as landing hero) ─── */
.report-strip {
  background: linear-gradient(160deg, #ffffff 0%, #f0f6fb 60%, #e6f0f9 100%);
  border-bottom: 1px solid var(--border);
  padding: 18px 72px;
}
.report-strip-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
}
.report-strip-label { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.report-strip-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
  white-space: nowrap;
}
.report-strip-url {
  font-size: 13px; font-weight: 600; color: var(--navy);
  overflow-wrap: anywhere; min-width: 0;
}
.report-strip-meta {
  display: flex; align-items: center; gap: 20px;
  font-size: 13px; color: var(--muted); flex-shrink: 0;
}
.report-strip-link {
  color: var(--teal); text-decoration: none; font-weight: 700;
  letter-spacing: .02em; transition: color .2s;
}
.report-strip-link:hover { color: var(--navy); }

/* ─── REPORT: expectation banner (sets "basic check" frame at top) ─── */
.report-notice {
  background: #fffaf0;
  border-bottom: 1px solid rgba(247,127,0,.20);
  padding: 16px 72px;
}
.report-notice-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: flex-start; gap: 14px;
}
.report-notice-icon {
  color: var(--orange); flex-shrink: 0;
  margin-top: 3px;
}
.report-notice-text {
  font-size: 15px; line-height: 1.7;
  color: var(--muted);
}

/* ─── REPORT: "beyond the automated check" bridge — split layout on navy,
   same visual language as landing's "What the Report Shows" section ─── */
.report-fullaudit {
  background:
    radial-gradient(circle at 12% 18%, rgba(0,150,199,.22), transparent 48%),
    radial-gradient(circle at 88% 82%, rgba(74,170,87,.16), transparent 52%),
    linear-gradient(135deg, #1a2857 0%, #0d1540 100%);
  padding: 96px 72px;
  border-top: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.report-fullaudit-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 0.85fr 2fr;
  gap: 48px; align-items: start;
}
.report-fullaudit-left { padding-top: 8px; }
.report-fullaudit-title {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700; line-height: 1.1; letter-spacing: -.02em;
  color: #fff; margin: 0 0 24px;
}
.report-fullaudit-desc {
  font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.72);
  max-width: 440px; margin-bottom: 32px;
}
.report-fullaudit-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px;
  background: var(--green); color: #fff;
  text-decoration: none;
  font-family: inherit; font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  transition: background .2s, color .2s, transform .15s;
}
.report-fullaudit-btn:hover {
  background: #fff; color: var(--navy);
  transform: translateY(-2px);
}
.report-fullaudit-right {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.fullaudit-step {
  padding: 22px 22px 24px 24px;
  border-left: 3px solid;
  background: rgba(255,255,255,.03);
}
.fullaudit-step.step-teal   { border-color: var(--teal); }
.fullaudit-step.step-orange { border-color: var(--orange); }
.fullaudit-step.step-green  { border-color: var(--green); }
.fullaudit-step-title {
  font-size: 16px; font-weight: 700; color: #fff;
  margin-bottom: 8px; line-height: 1.3; letter-spacing: -.01em;
}
.fullaudit-step-desc {
  font-size: 14px; color: rgba(255,255,255,.68);
  line-height: 1.65;
}

/* ─── REPORT: hero — light bg + gradient surface-cards (same as landing "3 surfaces") ─── */
.report-hero {
  background: var(--bg);
  padding: 88px 72px;
  border-bottom: 1px solid var(--border);
}
.report-hero-inner {
  max-width: 1200px; margin: 0 auto;
}
/* /100 subscript in the score number — smaller and more muted than the score itself */
.surface-card-stat-unit {
  font-size: 0.48em; font-weight: 600;
  color: rgba(255,255,255,.22);
  margin-left: 2px; letter-spacing: 0;
}
/* Score progress bar — only rendered on report score cards, sits between the
   score number and its description. Neutral white so it doesn't compete with
   the card's accent gradient. */
.surface-card-bar {
  height: 6px;
  background: rgba(255,255,255,.12);
  margin-top: 12px; margin-bottom: 12px;
  overflow: hidden;
  position: relative;
}
.surface-card-bar-fill {
  height: 100%;
  background: rgba(255,255,255,.85);
  transition: width .6s ease;
}
.report-takeaway {
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.6; text-align: center;
  max-width: 720px; margin: 48px auto 0;
  font-weight: 500;
}

/* ─── UPWORK CTA · compact inline (sits under takeaway) ─── */
.report-cta-inline {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
  width: fit-content; margin: 28px auto 0;
  padding: 12px 20px;
  background: rgba(74,170,87,.08);
  border: 1px solid rgba(74,170,87,.24);
}
.report-cta-inline-text {
  font-size: 14px; font-weight: 600; color: var(--navy);
}
.report-cta-btn-sm {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px;
  background: var(--green); color: #fff;
  font-family: inherit; font-size: 12px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.report-cta-btn-sm:hover { background: var(--navy); transform: translateY(-1px); }

/* ─── UPWORK CTA · prominent band (after check tables) ─── */
.report-cta-band {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 88px 40px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.report-cta-band-inner { max-width: 640px; margin: 0 auto; }
.report-cta-band-title {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700; letter-spacing: -.02em; line-height: 1.15;
  color: #fff; margin: 0 0 16px;
}
.report-cta-band-sub {
  font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.72);
  margin: 0 0 32px;
}
.report-cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  background: var(--green); color: #fff;
  font-family: inherit; font-size: 13px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  text-decoration: none;
  transition: background .2s, color .2s, transform .15s;
}
.report-cta-btn:hover {
  background: #fff; color: var(--navy);
  transform: translateY(-2px);
}

/* ─── REPORT: per-surface deep dive — 3 columns side-by-side ─── */
.surfaces-detail-section {
  background: var(--bg);
  padding: 72px 40px;
  border-top: 1px solid var(--border);
}
.surfaces-detail-inner { max-width: 1320px; margin: 0 auto; }
.surfaces-detail-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  align-items: start;
}
.surface-col { min-width: 0; }
.surface-col .section-eyebrow { margin-bottom: 10px; }
.surface-col-title {
  font-size: 20px; font-weight: 700; color: var(--navy);
  margin: 0 0 24px; letter-spacing: -.01em; line-height: 1.3;
}
.check-group { margin-bottom: 24px; }
.check-group:last-child { margin-bottom: 0; }
.check-group-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}
.check-group-fail .check-group-label { color: var(--orange); }
.check-group-pass .check-group-label { color: var(--green); }
/* Check rows — flex layout so the icon sits inline with the name.
   Fix text (when present) wraps below the name, indented to match. */
.check-list { display: flex; flex-direction: column; }
.check-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--border);
  margin-bottom: -1px;  /* collapse adjacent borders */
}
.check-row-fail { background: #fffaf3; border-color: rgba(247,127,0,.22); }
.check-row-fail + .check-row-fail { border-top-color: rgba(247,127,0,.15); }
.check-icon-cell {
  flex-shrink: 0; line-height: 0;
  padding-top: 1px;  /* nudge icon down to align optically with name baseline */
}
.check-icon-cell svg.check-svg { display: block; }
.check-content { flex: 1; min-width: 0; }
.check-name {
  font-size: 14px; font-weight: 600; color: var(--navy);
  line-height: 1.5;
}
.check-fix {
  font-size: 13px; color: var(--muted);
  margin-top: 6px; line-height: 1.65;
}
.check-fix-label {
  color: var(--orange); font-weight: 700;
  font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  margin-right: 4px;
}
/* Rows inside surface columns — match FAQ typography (15px body). */
.surface-col .check-row { padding: 14px 16px; }
.surface-col .check-name { font-size: 15px; line-height: 1.5; }
.surface-col .check-fix  { font-size: 14px; line-height: 1.7; }

/* ─── ADMIN: shell + light sidebar (matches entexis.in admin) ─── */
:root { --admin-sidebar-w: 220px; }
.admin-shell {
  min-height: 100vh;
  background: var(--bg);
  display: block;                 /* main is positioned with margin-left, not grid */
}
.admin-sidebar {
  width: var(--admin-sidebar-w);
  background: #f8f9fa; color: var(--navy);
  display: flex; flex-direction: column;
  border-right: 1px solid #e5e7eb;
  position: fixed; top: 0; left: 0;
  height: 100vh; z-index: 50;
}
.admin-sidebar-brand {
  padding: 24px 20px 20px;
  border-bottom: 1px solid #e5e7eb;
}
.admin-sidebar-brand img { height: 28px; display: block; }
.admin-sidebar-brand-sub {
  font-size: 11px; color: #9ca3af; font-weight: 500; margin-top: 4px;
}
.admin-sidebar-nav {
  flex: 0 1 auto;                   /* natural height, don't stretch */
  padding: 4px 0;
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.admin-sidebar-section-title {
  display: block;
  align-self: stretch; width: 100%;
  padding: 6px 20px;
  font-size: 10px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; text-align: left;
  color: var(--navy);
  background: #e5e7eb;
  border-top: 1px solid #d1d5db;
  border-bottom: 1px solid #d1d5db;
  margin-top: 0;
}
.admin-sidebar-nav a {
  display: flex; align-items: center; gap: 10px;
  align-self: stretch; width: 100%;
  padding: 7px 20px;
  font-size: 13px; font-weight: 500;
  color: #4b5563; text-decoration: none;
  text-align: left;
  border-left: 3px solid transparent;
  transition: color .15s, background .15s, border-color .15s;
}
.admin-sidebar-nav a:hover { background: #e5e7eb; color: var(--navy); }
.admin-sidebar-nav a.active {
  background: #e0f2fe; color: var(--teal);
  border-left-color: var(--teal); font-weight: 600;
}
.admin-sidebar-nav a .icon {
  font-size: 15px; width: 18px; text-align: center; flex-shrink: 0;
}
.admin-sidebar-footer {
  padding: 16px 20px; border-top: 1px solid #e5e7eb;
  font-size: 12px; color: #9ca3af;
}
.admin-sidebar-footer strong { color: var(--navy); font-weight: 700; }
.admin-sidebar-footer a { color: #6b7280; text-decoration: none; font-weight: 600; }
.admin-sidebar-footer a:hover { color: var(--teal); }

/* Main column: sits to the right of the fixed sidebar */
.admin-main {
  margin-left: var(--admin-sidebar-w);
  min-height: 100vh;
  display: flex; flex-direction: column;
}
.admin-topbar {
  background: #fff; padding: 16px 32px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  border-bottom: 1px solid #e5e7eb;
  position: sticky; top: 0; z-index: 40;
}
.admin-menu-toggle {
  display: none;                     /* shown only on mobile */
  background: none; border: none; cursor: pointer;
  padding: 6px; color: var(--navy); flex-shrink: 0;
}
.admin-topbar-welcome { display: flex; flex-direction: column; line-height: 1.2; flex: 1; min-width: 0; }
.admin-topbar-welcome-line { font-size: 16px; font-weight: 700; color: var(--navy); }
.admin-topbar-welcome-sub  { font-size: 11px; color: #6b7280; font-weight: 500; margin-top: 3px; letter-spacing: .02em; }
.admin-topbar-user {
  font-size: 13px; color: #6b7280;
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.admin-topbar-user a { color: var(--teal); text-decoration: none; font-weight: 600; }
.admin-topbar-user a:hover { color: var(--navy); }

.admin-content { padding: 32px; flex: 1; }

/* Overlay behind the sidebar when opened on mobile */
.admin-sidebar-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.4); z-index: 45;
}
.admin-sidebar-overlay.open { display: block; }

/* Tablet: tighten paddings but keep sidebar fixed left */
@media (max-width: 1024px) {
  .admin-content { padding: 24px; }
}

/* Mobile: sidebar slides off-screen, hamburger appears */
@media (max-width: 768px) {
  .admin-sidebar { transform: translateX(-100%); transition: transform .25s ease; }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .admin-menu-toggle { display: flex; align-items: center; }
  .admin-topbar { padding: 12px 20px; }
  .admin-topbar-welcome-line { font-size: 14px; }
  .admin-topbar-welcome-sub  { display: none; }
  .admin-content { padding: 20px; }
}

/* Flash banners for admin pages */
.admin-flash {
  padding: 12px 16px; margin-bottom: 20px;
  font-size: 13px; line-height: 1.5; font-weight: 500;
}
.admin-flash-error { background: #fee2e2; color: #991b1b; border-left: 3px solid #ef4444; }
.admin-flash-ok    { background: #dcfce7; color: #166534; border-left: 3px solid #22c55e; }

/* User-management form + role tags + action buttons */
.admin-user-form-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 100px auto;
  gap: 10px; align-items: center;
}
.admin-user-form-row input, .admin-user-form-row select {
  padding: 10px 12px; border: 1px solid var(--border);
  font-family: inherit; font-size: 13px; color: var(--navy);
  outline: none; background: #fff;
}
.admin-user-form-row input:focus, .admin-user-form-row select:focus { border-color: var(--teal); }
.admin-user-form-row button {
  padding: 10px 18px; background: var(--navy); color: #fff;
  font-family: inherit; font-size: 12px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  border: none; cursor: pointer;
  transition: background .2s;
}
.admin-user-form-row button:hover { background: var(--teal); }
.admin-user-form-note {
  margin-top: 10px; font-size: 11.5px; color: var(--muted);
}

.admin-role-tag {
  display: inline-block; padding: 3px 10px;
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
}
.admin-role-owner { background: rgba(247,127,0,.15); color: var(--orange); }
.admin-role-admin { background: rgba(0,150,199,.12); color: var(--teal); }

.admin-status-on  { color: var(--green); font-weight: 600; font-size: 12px; }
.admin-status-off { color: var(--text3); font-weight: 500; font-size: 12px; }

.admin-user-you { font-size: 11px; color: var(--teal); font-weight: 600; margin-left: 4px; }

.admin-btn-ghost, .admin-btn-danger {
  padding: 5px 12px; margin-left: 6px;
  font-family: inherit; font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid var(--border); background: #fff;
  cursor: pointer; transition: border-color .15s, background .15s, color .15s;
}
.admin-btn-ghost { color: var(--muted); }
.admin-btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.admin-btn-danger { color: #991b1b; border-color: rgba(220,38,38,.3); }
.admin-btn-danger:hover { background: #ef4444; color: #fff; border-color: #ef4444; }

@media (max-width: 900px) {
  .admin-user-form-row { grid-template-columns: 1fr; }
}

/* ─── ADMIN: usage dashboard (matches entexis.in admin cards/tiles) ─── */
.admin-usage-section { background: transparent; padding: 0; border: none; min-height: 0; }
.admin-usage-inner   { max-width: none; margin: 0; }
.admin-usage-title {
  font-size: 22px; font-weight: 700; color: var(--navy);
  margin: 0 0 24px; letter-spacing: -.01em;
}
.admin-usage-empty {
  background: #fff; border: 1px solid #e5e7eb;
  padding: 24px; font-size: 14px; color: var(--muted);
}
.admin-usage-empty code {
  background: #f3f4f6; padding: 1px 6px;
  font-family: ui-monospace, monospace; font-size: 13px;
}
.admin-usage-range {
  display: flex; align-items: center; gap: 12px; margin-bottom: 24px;
  font-size: 12px; color: var(--muted);
}
.admin-usage-range a {
  padding: 7px 14px; text-decoration: none;
  color: #374151; background: #fff;
  border: 1px solid #d1d5db;
  font-weight: 600; font-size: 12px;
  transition: border-color .15s, background .15s, color .15s;
}
.admin-usage-range a:hover  { border-color: var(--teal); color: var(--teal); }
.admin-usage-range a.active { border-color: var(--teal); background: var(--teal); color: #fff; }

/* Stats tiles: colored numbers rotate by position (teal/orange/green/blue/navy) */
.admin-usage-tiles {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 32px;
}
.admin-usage-tile {
  background: #fff; border: 1px solid #e5e7eb; padding: 20px 24px;
}
.admin-usage-tile-num {
  font-size: 36px; font-weight: 700; line-height: 1;
  color: var(--navy); letter-spacing: -.02em;
}
.admin-usage-tile-lbl {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #6b7280;
  margin-top: 8px;
}
.admin-usage-tile:nth-child(1) .admin-usage-tile-num { color: var(--teal); }
.admin-usage-tile:nth-child(2) .admin-usage-tile-num { color: var(--orange); }
.admin-usage-tile:nth-child(3) .admin-usage-tile-num { color: var(--green); }
.admin-usage-tile:nth-child(4) .admin-usage-tile-num { color: var(--blue); }
.admin-usage-tile:nth-child(5) .admin-usage-tile-num { color: var(--navy); }

.admin-usage-block {
  background: #fff; border: 1px solid #e5e7eb;
  padding: 24px; margin-bottom: 24px;
}
.admin-usage-block-title {
  font-size: 14px; font-weight: 700; color: var(--navy);
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid #f3f4f6;
}
.admin-usage-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-usage-table th {
  text-align: left; padding: 10px 14px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #6b7280;
  background: #f9fafb; border-bottom: 2px solid #e5e7eb;
}
.admin-usage-table td {
  padding: 12px 14px; border-bottom: 1px solid #f3f4f6;
  color: var(--navy); vertical-align: middle;
}
.admin-usage-table tr:hover td { background: #fafafa; }
.admin-usage-table td.num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.admin-usage-table td.url { overflow-wrap: anywhere; max-width: 380px; }
.admin-usage-table td.ts  { white-space: nowrap; color: #6b7280; font-variant-numeric: tabular-nums; }
.admin-usage-table td.ref { color: #6b7280; overflow-wrap: anywhere; max-width: 200px; }
.admin-usage-table td.ip  { font-family: ui-monospace, monospace; font-size: 11px; color: #6b7280; }

@media (max-width: 1024px) {
  .admin-usage-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .admin-usage-tiles { grid-template-columns: 1fr; }
  .admin-usage-tile-num { font-size: 28px; }
}

/* ─── ADMIN utility classes (page header, cards, buttons, badges, forms) ─── */
.admin-shell .page-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.admin-shell .page-header h1 {
  font-size: 22px; font-weight: 700; color: var(--navy);
  margin: 0; letter-spacing: -.01em;
}
.admin-shell .page-header h1 a { color: var(--navy); text-decoration: none; }
.admin-shell .page-header h1 a:hover { color: var(--teal); }
.admin-shell .page-header .subtle {
  font-size: 14px; font-weight: 500; color: #6b7280; margin-left: 8px;
}

.admin-shell .card {
  background: #fff; border: 1px solid #e5e7eb;
  padding: 24px; margin-bottom: 24px;
}
.admin-shell .card-title {
  font-size: 14px; font-weight: 700; color: var(--navy);
  margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #f3f4f6;
}

.admin-shell .data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-shell .data-table th {
  text-align: left; padding: 10px 14px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #6b7280;
  background: #f9fafb; border-bottom: 2px solid #e5e7eb;
}
.admin-shell .data-table td {
  padding: 12px 14px; border-bottom: 1px solid #f3f4f6;
  color: var(--navy); vertical-align: middle;
}
.admin-shell .data-table tr:hover td { background: #fafafa; }
.admin-shell .data-table .actions-cell { display: flex; gap: 8px; align-items: center; }

.admin-shell .btn {
  display: inline-block; padding: 9px 20px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: background .15s, border-color .15s, color .15s;
}
.admin-shell .btn-primary { background: var(--navy); color: #fff; }
.admin-shell .btn-primary:hover { background: var(--teal); }
.admin-shell .btn-ghost { background: transparent; border-color: #d1d5db; color: #374151; }
.admin-shell .btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.admin-shell .btn-danger { background: #fee2e2; color: #991b1b; }
.admin-shell .btn-danger:hover { background: #fecaca; }
.admin-shell .btn-sm { padding: 5px 12px; font-size: 11px; }

.admin-shell .badge {
  display: inline-block; padding: 3px 10px;
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
}
.admin-shell .badge-green  { background: #d1fae5; color: #065f46; }
.admin-shell .badge-gray   { background: #f3f4f6; color: #6b7280; }
.admin-shell .badge-orange { background: #fff7ed; color: #c2410c; }
.admin-shell .badge-teal   { background: #e0f7fa; color: #00838f; }

.admin-shell .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.admin-shell .form-group { display: flex; flex-direction: column; gap: 6px; }
.admin-shell .form-group.full { grid-column: span 2; }
.admin-shell .form-group label {
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: #374151;
}
.admin-shell .form-group input,
.admin-shell .form-group select,
.admin-shell .form-group textarea {
  padding: 10px 12px; border: 1px solid #d1d5db;
  font-family: inherit; font-size: 13px; color: var(--navy);
  background: #fff; outline: none;
  transition: border-color .15s;
}
.admin-shell .form-group input:focus,
.admin-shell .form-group select:focus,
.admin-shell .form-group textarea:focus { border-color: var(--teal); }
.admin-shell .form-group .hint { font-size: 11px; color: #9ca3af; margin-top: 2px; text-transform: none; letter-spacing: 0; font-weight: 500; }
.admin-shell .form-check { display: flex; align-items: center; gap: 10px; }
.admin-shell .form-check input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--teal); }
.admin-shell .form-check label { font-size: 13px; font-weight: 500; color: #374151; text-transform: none; letter-spacing: 0; }
.admin-shell .form-actions {
  display: flex; gap: 12px; margin-top: 28px; padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

/* Confirm modal (delete-team-member confirmations) */
.confirm-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4);
  z-index: 9999; align-items: center; justify-content: center;
}
.confirm-overlay.open { display: flex; }
.confirm-box {
  background: #fff; padding: 32px; max-width: 420px; width: 90%;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
}
.confirm-title { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.confirm-msg   { font-size: 14px; color: #6b7280; line-height: 1.6; margin-bottom: 24px; }
.confirm-actions { display: flex; gap: 12px; justify-content: flex-end; }

@media (max-width: 768px) {
  .admin-shell .form-grid { grid-template-columns: 1fr; }
  .admin-shell .form-group.full { grid-column: span 1; }
  .admin-shell .data-table { display: block; overflow-x: auto; }
}

/* ─── FOOTER (white band, matches entexis.in) ──── */
.site-footer {
  background: #fff; border-top: 1px solid var(--border);
  padding: 32px 72px;
}
.site-footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
}
.site-footer-bottom {
  max-width: 1200px; margin: 24px auto 0; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
  font-size: 11px; color: #9ca3af; letter-spacing: .04em;
}
.site-footer-punchline {
  font-family: monospace;
  font-size: 10px; letter-spacing: .14em;
}

/* ─── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) {
  nav { padding: 18px 32px; }
  .hero, .layers, .report-preview, .faq-section, .labs-teaser, .surfaces-detail-section, .report-fullaudit { padding-left: 32px; padding-right: 32px; }
  .report-notice { padding-left: 32px; padding-right: 32px; }
  .site-footer { padding: 40px 32px; }
  .report-hero, .report-strip { padding-left: 32px; padding-right: 32px; }
}
@media (max-width: 900px) {
  /* Stack all 3-column grids */
  .surfaces-grid, .report-preview-right, .surfaces-detail-grid { grid-template-columns: 1fr; }
  /* Fullaudit: outer split stacks to 1 col, right-side items stack to 1 col */
  .report-fullaudit-inner { grid-template-columns: 1fr; gap: 40px; }
  .report-fullaudit-right { grid-template-columns: 1fr; }
  .report-fullaudit-desc { max-width: none; }
  .surfaces-detail-grid { gap: 40px; }
  /* Split layout stacks: left text over right cards */
  .report-preview-inner { grid-template-columns: 1fr; gap: 40px; }
  .report-preview-desc { max-width: none; }
  /* Surface cards shrink when stacked so mobile doesn't feel like an endless scroll */
  .surface-card { min-height: 240px; padding: 28px 24px; }
  .surface-card-stat { font-size: 38px; }
  /* Report hero / strip get tighter padding */
  .report-hero { padding: 56px 32px; }
  .report-strip { padding: 12px 32px; }
  .report-strip-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .report-strip-meta { flex-wrap: wrap; gap: 12px; }
}
@media (max-width: 768px) {
  nav { padding: 14px 20px; }
  /* Mobile-only overlay tweaks: tighter padding + smaller link font */
  .mobile-nav-overlay { padding: 84px 24px 40px; }
  .mob-link { font-size: 18px; padding: 20px 4px; }
  /* Hero: tighter padding, form stacks, pills wrap */
  .hero { padding: 64px 20px 72px; }
  .hero-form { flex-direction: column; padding: 12px; gap: 12px; }
  .hero-input-wrap { padding: 0 12px; }
  .hero-btn { width: 100%; justify-content: center; }
  .hero-pills { gap: 8px; }
  .hero-pill { padding: 5px 12px; }
  /* Section padding shrink */
  .layers, .report-preview, .faq-section, .labs-teaser { padding: 56px 20px; }
  .surfaces-detail-section { padding: 48px 20px; }
  .report-notice { padding: 12px 20px; }
  .report-fullaudit { padding: 56px 20px; }
  .report-fullaudit-btn { width: 100%; justify-content: center; }
  .surface-col-title { font-size: 18px; margin-bottom: 20px; }
  /* CTA band tightens on phone */
  .report-cta-band { padding: 56px 20px; }
  .report-cta-btn { width: 100%; justify-content: center; }
  .report-cta-inline { padding: 10px 16px; }
  .faq-title { font-size: 22px; margin-bottom: 24px; }
  .ent-faq-q { padding: 16px 18px; font-size: 14px; }
  .ent-faq-a-inner { padding: 16px 18px; font-size: 14px; line-height: 1.75; }
  .report-hero { padding: 44px 20px; }
  .report-strip { padding: 12px 20px; }
  /* Surface cards even tighter on phone */
  .surface-card { min-height: 220px; padding: 24px 22px; }
  .surface-card-name { font-size: 20px; }
  .surface-card-stat { font-size: 34px; }
  .surface-card-stat-desc { font-size: 11px; }
  /* Report step cards on phone */
  .report-step { padding: 22px 20px 24px 22px; }
  .report-step-num { font-size: 26px; margin-bottom: 14px; }
  .report-preview-btn { width: 100%; justify-content: center; }
  /* Footer */
  .site-footer { padding: 32px 20px; }
  .site-footer-inner { flex-direction: column; align-items: flex-start; }
  /* Surfaces note stays readable */
  .surfaces-note { font-size: 14px; margin-top: 32px; }
}
