/* ==========================================================================
   Digitize Now — design system
   Brand: signal red + cyan from the logo, warm paper background, ink text.
   Type: Bricolage Grotesque (display) + DM Sans (text).
   ========================================================================== */

:root {
  /* colour */
  --ink: #15131c;
  --ink-2: #3a3644;
  --muted: #6b6776;
  --paper: #fbf7f2;
  --paper-2: #f4eee6;
  --surface: #ffffff;
  --line: #ebe4da;
  --red: #e8273a;
  --red-dark: #b4142a;
  --red-btn: #d21f33;
  --red-soft: #fde9eb;
  --cyan: #12b5e5;
  --cyan-dark: #086a8c;
  --cyan-soft: #e4f6fc;
  --yellow: #ffc93c;
  --green: #2f9e57;
  --night: #1b1424;

  /* type */
  --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-text: 'DM Sans', 'Segoe UI', system-ui, sans-serif;

  /* layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(21, 19, 28, 0.06), 0 2px 8px rgba(21, 19, 28, 0.05);
  --shadow: 0 2px 4px rgba(21, 19, 28, 0.04), 0 12px 32px rgba(21, 19, 28, 0.08);
  --shadow-lg: 0 24px 60px rgba(21, 19, 28, 0.14);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }
svg { fill: currentColor; }

a { color: var(--cyan-dark); text-underline-offset: 3px; }
a:hover { color: var(--red); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-weight: 700; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 860px; }
.center { text-align: center; }
.mt-lg { margin-top: 40px; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--solid); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.btn svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--red-btn); color: #fff; box-shadow: 0 6px 18px rgba(232, 39, 58, 0.28); }
.btn-primary:hover { background: var(--red-dark); color: #fff; box-shadow: 0 10px 24px rgba(232, 39, 58, 0.34); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--solid); color: #fff; }
.btn-light { background: #fff; color: #15131c; }
.btn-light:hover { background: var(--yellow); color: var(--ink); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-outline-light svg { width: 18px; height: 18px; }
.btn:disabled { opacity: 0.6; cursor: progress; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
}

.text-link svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.text-link:hover { color: var(--red); }
.text-link:hover svg { transform: translateX(4px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-dark);
  margin-bottom: 14px;
}

.eyebrow::before { content: ''; width: 18px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--red), var(--cyan)); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 62ch; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* Blur lives on a pseudo-element: backdrop-filter on the header itself would trap the
   fixed-position mobile menu inside the header box. */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(251, 247, 242, 0.9);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
}

.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.logo img { width: 172px; height: auto; }

.main-nav { display: flex; align-items: center; gap: 24px; flex: 1; justify-content: flex-end; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: none;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.nav-link svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.nav-link:hover { background: var(--paper-2); color: var(--ink); }
.nav-link[aria-current='page'],
.nav-link.is-active { color: var(--red-dark); }
.mega-toggle[aria-expanded='true'] svg { transform: rotate(180deg); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.nav-phone svg { width: 18px; height: 18px; color: var(--red); }
.nav-cta .btn { min-height: 44px; padding: 10px 20px; }

/* Mega menu */
.mega {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: min(980px, 92vw);
  transform: translate(-40%, 8px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
}

.has-mega.is-open .mega { opacity: 1; visibility: visible; transform: translate(-40%, 0); }

.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr) 1.15fr; gap: 20px; }
.mega-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.mega-col ul { list-style: none; padding: 0; margin: 0; }
.mega-col a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.93rem; line-height: 1.3; }
.mega-col a:hover,
.mega-col a[aria-current='page'] { background: var(--paper); color: var(--red-dark); }
.mega-col img { width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; }
.mega-aside { background: var(--paper); border-radius: var(--radius-sm); padding: 16px; font-size: 0.92rem; }
.mega-aside .dee { width: 80px; margin: -6px 0 6px; }

.nav-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--solid); cursor: pointer; padding: 13px; }
.nav-toggle span { display: block; height: 2px; background: var(--surface); border-radius: 2px; margin: 4px 0; transition: transform 0.25s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Mascot ---------- */

.dee { height: auto; }
.dee-sm { width: 110px; }
.dee-md { width: 180px; }
.dee-lg { width: clamp(200px, 26vw, 300px); }
.dee-xl { width: clamp(260px, 36vw, 440px); }

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 90px) 0 clamp(56px, 8vw, 110px); }

.hero::before {
  content: '';
  position: absolute;
  inset: auto -10% -40% auto;
  width: 60vw;
  height: 60vw;
  max-width: 820px;
  max-height: 820px;
  background: radial-gradient(circle, rgba(18, 181, 229, 0.12), transparent 60%);
  pointer-events: none;
}

.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 22px; }

.hl { position: relative; color: var(--red); white-space: nowrap; }

.hl::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.04em;
  height: 0.16em;
  border-radius: 1em;
  background: linear-gradient(90deg, var(--yellow), var(--cyan));
  opacity: 0.55;
  z-index: -1;
  transform-origin: left;
  animation: draw 1.1s 0.3s var(--ease) both;
}

@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 28px 0 0; font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 20px; height: 20px; color: var(--green); }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; }

.hero-blob {
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 46% 54% 52% 48% / 52% 44% 56% 48%;
  background: linear-gradient(140deg, var(--red-soft), #ffe9c2 55%, var(--cyan-soft));
  animation: morph 14s ease-in-out infinite;
}

@keyframes morph {
  0%, 100% { border-radius: 46% 54% 52% 48% / 52% 44% 56% 48%; }
  50% { border-radius: 56% 44% 42% 58% / 44% 56% 44% 56%; }
}

.hero-dee { position: relative; z-index: 1; }

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  line-height: 1.25;
  animation: float 6s ease-in-out infinite;
}

.float-card strong { display: block; color: var(--ink); }
.float-card small { color: var(--muted); }
.fc-1 { top: 12%; left: 0; }
.fc-2 { bottom: 16%; right: -2%; animation-delay: -2s; }
.fc-3 { bottom: 4%; left: 8%; animation-delay: -4s; }
.fc-dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-green { background: var(--green); box-shadow: 0 0 0 4px rgba(47, 158, 87, 0.18); }
.dot-cyan { background: var(--cyan); box-shadow: 0 0 0 4px rgba(18, 181, 229, 0.18); }
.fc-bars { display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.fc-bars i { width: 5px; border-radius: 2px; background: var(--red); }
.fc-bars i:nth-child(1) { height: 30%; background: var(--cyan); }
.fc-bars i:nth-child(2) { height: 55%; background: var(--yellow); }
.fc-bars i:nth-child(3) { height: 75%; }
.fc-bars i:nth-child(4) { height: 100%; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Inner page hero */
.page-hero { padding: clamp(28px, 5vw, 60px) 0 clamp(36px, 5vw, 64px); background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); border-bottom: 1px solid var(--line); }
.page-hero.slim { padding-bottom: 28px; }
.page-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; font-size: 0.88rem; color: var(--muted); }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--red); }

/* ---------- Sections ---------- */

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.tint { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-head .lead { margin-bottom: 0; }

.split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.split-head .section-head { margin-bottom: clamp(28px, 4vw, 48px); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }

/* Pain points */
.pains { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pains-dee { flex-shrink: 0; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.pain-card {
  position: relative;
  padding: 26px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}

.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.pain-num { font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; color: var(--red); }
.pain-card h3 { margin-top: 8px; }
.pain-card p { margin: 0; font-size: 0.97rem; }

/* Compare */
.compare { max-width: 980px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 1fr 1.3fr 1.3fr; border-top: 1px solid var(--line); }
.compare-row:first-child { border-top: 0; }
.compare-row > span { padding: 18px 22px; display: flex; align-items: flex-start; gap: 10px; }
.compare-row > span[role='rowheader'] { font-weight: 700; color: var(--ink); }
.compare-headrow { background: var(--solid); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.compare-headrow .us { background: var(--red); }
.compare .them { color: var(--muted); }
.compare .them svg { width: 20px; height: 20px; color: #c9c2ba; flex-shrink: 0; margin-top: 2px; }
.compare .us:not([role='columnheader']) { background: var(--tint-red); color: var(--ink); font-weight: 600; }
.compare .us svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; margin-top: 2px; }

/* Savings */
.savings { background: var(--night); color: #d9d3e0; position: relative; overflow: hidden; }
.savings::before { content: ''; position: absolute; inset: -30% auto auto -10%; width: 60%; aspect-ratio: 1; background: radial-gradient(circle, rgba(232, 39, 58, 0.25), transparent 65%); }
.savings-grid { position: relative; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
.savings-visual { display: grid; place-items: center; }
.savings h2 { color: #fff; }
.savings .lead { color: #d9d3e0; }
.savings .eyebrow { color: var(--yellow); }
.savings .checklist svg { color: var(--yellow); }
.savings .checklist { color: #fff; }
.fine-print { font-size: 0.85rem; color: var(--muted); margin-top: 18px; }
.savings .fine-print { color: #a59eaf; }
.savings .fine-print a { color: #fff; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; color: var(--green); flex-shrink: 0; margin-top: 2px; }

/* Tabs + service cards */
.tab-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 18px; }

.tab-list button {
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.tab-list button:hover { border-color: var(--ink); }
.tab-list button[aria-selected='true'] { background: var(--solid); color: #fff; border-color: var(--ink); }
.tab-blurb { text-align: center; color: var(--muted); margin-bottom: 28px; }
.tab-panel { animation: fadeUp 0.4s var(--ease); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-2);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.service-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--yellow), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink-2); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: var(--paper); margin-bottom: 18px; transition: transform 0.3s var(--ease); }
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.06); }
.service-icon img { width: 40px; height: 40px; object-fit: contain; }
.service-card p { flex: 1; font-size: 0.97rem; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--red-dark); }
.card-link svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.service-card:hover .card-link svg { transform: translateX(4px); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; counter-reset: step; }

.steps::before {
  content: '';
  position: absolute;
  top: 26px;
  left: 6%;
  right: 6%;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--yellow), var(--cyan));
  border-radius: 3px;
  transform-origin: left;
  transform: scaleX(var(--progress, 1));
  transition: transform 1.2s var(--ease);
}

.steps.is-pending::before { --progress: 0; }
.step { position: relative; text-align: center; padding: 0 6px; }
.step-num { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--ink); position: relative; }
.step h3 { font-size: 1.1rem; }
.step p { font-size: 0.95rem; margin: 0; }
.steps-compact { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }

/* Audiences */
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.audience-card { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.audience-card img { width: 56px; height: 56px; object-fit: contain; margin-bottom: 14px; }
.audience-card p { margin: 0; font-size: 0.96rem; }

/* Work */
.work { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.client-logos { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.client-logos a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--muted); font-size: 0.85rem; font-weight: 600; transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.client-logos a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.client-logos img { width: 110px; height: 110px; object-fit: contain; filter: grayscale(0.15); }
.case-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; }
.case-card { padding: clamp(24px, 3vw, 36px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.case-card h2,
.case-card h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.case-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.case-cols p { font-size: 0.96rem; }
.case-results { list-style: none; padding: 0; margin: 6px 0 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.case-results li { padding: 10px 16px; border-radius: 999px; background: var(--solid); color: #fff; font-weight: 700; font-size: 0.92rem; }
.case-placeholder { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; border-style: dashed; background: transparent; }
.case-placeholder p { color: var(--muted); margin: 0; }

/* Why / engage */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.why-card {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 4px solid var(--red);
}

.why-card:nth-child(3n + 2) { border-top-color: var(--cyan); }
.why-card:nth-child(3n + 3) { border-top-color: var(--yellow); }
.why-card p { margin: 0; font-size: 0.97rem; }
.engage { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.engage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.engage-card { padding: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.engage-card .dee { margin: 0 auto 8px; width: 120px; }
.engage-card p { margin: 0; }

/* Testimonials */
.rating-badge { display: flex; flex-direction: column; align-items: center; padding: 18px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: clamp(28px, 4vw, 48px); }
.rating-badge strong { font-family: var(--font-display); font-size: 2.2rem; color: var(--ink); line-height: 1; }
.rating-badge small { color: var(--muted); }
.stars { display: inline-flex; gap: 2px; color: #f4b400; }
.stars svg { width: 18px; height: 18px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.review { margin: 0; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.review blockquote { margin: 12px 0 18px; font-size: 1rem; color: var(--ink); }
.review blockquote p { margin: 0; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption strong { display: block; color: var(--ink); }
.review small { color: var(--muted); }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--cyan-soft); color: var(--cyan-dark); font-weight: 800; }

/* Blog cards */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post-card[hidden] { display: none; }
.post-thumb { display: block; overflow: hidden; aspect-ratio: 1024 / 538; background: var(--paper-2); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-body { padding: 20px 22px 24px; }
.post-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.post-body h3 a { color: var(--ink); text-decoration: none; }
.post-body h3 a::after { content: ''; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-body h3 a:hover { color: var(--red-dark); }
.post-body p { font-size: 0.93rem; margin: 0; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 0.84rem; color: var(--muted); margin-bottom: 10px; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--red-soft); color: var(--red-dark); font-weight: 700; font-size: 0.78rem; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: box-shadow 0.2s, border-color 0.2s; }
.faq-item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); font-size: 1.05rem; min-height: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 22px; height: 22px; flex-shrink: 0; transition: transform 0.25s var(--ease); color: var(--red); }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-a { padding: 0 22px 20px; }
.faq-a p { margin: 0; }

/* CTA band */
.cta-band { padding: clamp(24px, 4vw, 40px) 0 clamp(56px, 8vw, 96px); }

.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: clamp(32px, 5vw, 56px);
  border-radius: calc(var(--radius) * 1.5);
  background: var(--night);
  color: #d9d3e0;
  overflow: hidden;
}

.cta-inner::before { content: ''; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; background: radial-gradient(circle, rgba(232, 39, 58, 0.35), transparent 60%); }
.cta-inner::after { content: ''; position: absolute; left: -10%; bottom: -60%; width: 50%; aspect-ratio: 1; background: radial-gradient(circle, rgba(18, 181, 229, 0.25), transparent 60%); }
.cta-inner > * { position: relative; z-index: 1; }
.cta-inner h2 { color: #fff; }
.cta-inner p { max-width: 58ch; }
.cta-dee { width: clamp(160px, 20vw, 240px); }

/* Service pages */
.pain-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.pain-list li { position: relative; padding: 14px 18px 14px 46px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); font-weight: 500; }
.pain-list li::before { content: '!'; position: absolute; left: 14px; top: 13px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--red-soft); color: var(--red-dark); font-weight: 800; font-size: 0.85rem; }
.outcome-card { padding: clamp(24px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.deliverables { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.deliverable { padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.deliverable p { margin: 0; font-size: 0.97rem; }
.svc-figure { margin: 32px 0 0; }
.svc-figure img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 30px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.price-card.featured { border: 2px solid var(--red); box-shadow: var(--shadow-lg); }
.price-card .btn { margin-top: auto; }
.price-card .checklist { margin-bottom: 26px; }
.badge { position: absolute; top: -13px; left: 26px; padding: 4px 12px; border-radius: 999px; background: var(--red); color: #fff; font-size: 0.78rem; font-weight: 700; }
.price { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; color: var(--ink); margin: 4px 0 6px; }
.price span { font-size: 1rem; color: var(--muted); }
.best-for { color: var(--muted); font-size: 0.93rem; }
.factor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.factor { padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.factor p { margin: 0; font-size: 0.95rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.market-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.market-table th,
.market-table td { padding: 16px 20px; text-align: left; border-top: 1px solid var(--line); }
.market-table thead th { background: var(--solid); color: #fff; border-top: 0; font-family: var(--font-display); }
.market-table tbody th { color: var(--ink); }

/* Who we help */
.chip-nav,
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font: inherit; font-size: 0.92rem; font-weight: 600; color: var(--ink); text-decoration: none; cursor: pointer; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--solid); border-color: var(--solid); color: #fff; }
.segments { display: grid; gap: 22px; }
.segment { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; padding: clamp(24px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: calc(var(--header-h) + 20px); }
.segment h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-top: 18px; }
.segment-side { padding: 22px; background: var(--paper); border-radius: var(--radius-sm); }
.tag-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.88rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.tag-list a:hover { border-color: var(--red); color: var(--red-dark); }

/* About */
.about-figure { margin: 0; }
.about-figure img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* Contact & forms */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.form-card { padding: clamp(24px, 3.5vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-aside { padding: clamp(24px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-aside .dee { margin: 16px 0 0 auto; }
.contact-list { list-style: none; padding: 0; display: grid; gap: 14px; margin-bottom: 24px; }
.contact-list li,
.contact-list a { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); text-decoration: none; }
.contact-list svg { width: 22px; height: 22px; color: var(--red); flex-shrink: 0; margin-top: 3px; }
.contact-list strong { display: block; color: var(--ink); }
.mini-steps { padding-left: 1.2em; display: grid; gap: 6px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 0.93rem; color: var(--ink); }
.req { color: var(--red); }

.enquiry input[type='text'],
.enquiry input[type='tel'],
.enquiry input[type='email'],
.enquiry select,
.enquiry textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid var(--field-line);
  border-radius: 12px;
  background: var(--surface);
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.enquiry textarea { resize: vertical; }
.enquiry input:focus,
.enquiry select:focus,
.enquiry textarea:focus { outline: none; border-color: var(--cyan-dark); box-shadow: 0 0 0 4px rgba(18, 181, 229, 0.2); }
.field-error { display: none; margin: 0; font-size: 0.85rem; color: #b3261e; font-weight: 600; }
.field.has-error .field-error { display: block; }
.field.has-error input,
.field.has-error textarea { border-color: #b3261e; }
.consent { margin-top: 18px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 0.92rem !important; color: var(--ink-2) !important; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--red); flex-shrink: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 20px; }
.form-note { margin: 0; font-size: 0.88rem; color: var(--muted); }
.form-status { display: none; margin-top: 18px; padding: 14px 18px; border-radius: 12px; font-weight: 600; }
.form-status.success { display: block; background: #e8f6ee; color: #155c33; border: 1px solid #a8dcbc; }
.form-status.error { display: block; background: #fdecea; color: #8a1c14; border: 1px solid #f3b5ae; }
.map iframe { width: 100%; height: 420px; border: 0; border-radius: var(--radius); }

/* Blog post */
.post-hero { padding: clamp(28px, 5vw, 56px) 0 24px; }
.post-hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.post-hero .post-meta { font-size: 0.9rem; }
.post-featured { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 32px; }
.toc { margin-bottom: 32px; padding: 20px 24px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius-sm); }
.toc summary { font-weight: 800; color: var(--ink); cursor: pointer; font-family: var(--font-display); }
.toc ol { margin: 12px 0 0; display: grid; gap: 4px; }
.toc .toc-h3 { margin-left: 18px; list-style: circle; font-size: 0.95rem; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--red-dark); text-decoration: underline; }
.post-content { font-size: 1.06rem; }
.post-content h2,
.post-content h3 { scroll-margin-top: calc(var(--header-h) + 20px); }
.post-content h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.8em; }
.post-content h3 { margin-top: 1.4em; }
.post-content img { border-radius: var(--radius-sm); }
.post-content .row { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin: 22px 0; }
.post-content .col { flex: 1 1 calc(var(--w, 50) * 1% - 24px); min-width: 240px; }
.post-content .img { margin: 0; }
.post-content .img img { max-height: 380px; width: auto; margin: 0 auto; }
.post-content .box { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.post-content .box img { width: 56px; }
.post-content table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.95rem; }
.post-content th,
.post-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.post-cta { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; margin: 48px 0 0; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.post-cta h2 { font-size: 1.5rem; }
.post-cta .btn-row { margin-top: 12px; }
.legal { font-size: 1rem; }
.legal h2,
.legal h3 { margin-top: 1.6em; font-size: 1.4rem; }

/* ---------- Footer ---------- */

.site-footer { background: var(--night); color: #bfb7c9; padding-top: clamp(48px, 6vw, 80px); font-size: 0.95rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.footer-logo { width: 190px; background: #fff; padding: 10px 14px; border-radius: 12px; margin-bottom: 16px; }
.site-footer h2 { font-family: var(--font-text); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer h2.mt { margin-top: 26px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #e3dde9; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-contact li,
.footer-contact a { display: flex; gap: 8px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; margin-top: 4px; flex-shrink: 0; color: var(--red); }
.social { display: flex !important; flex-wrap: wrap; gap: 10px !important; margin-top: 18px !important; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: #fff; transition: background 0.2s, transform 0.2s var(--ease); }
.social a:hover { background: var(--red); color: #fff; transform: translateY(-3px); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.88rem; }
.footer-bottom p { margin: 0; }

/* Floating actions */
.float-call,
.back-to-top { position: fixed; right: 18px; z-index: 90; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; color: #fff; box-shadow: var(--shadow-lg); cursor: pointer; transition: transform 0.2s var(--ease), opacity 0.25s; }
.float-call { bottom: 84px; background: var(--red); }
.back-to-top { bottom: 20px; background: var(--solid); border: 2px solid rgba(255, 255, 255, 0.7); opacity: 0; pointer-events: none; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.float-call:hover,
.back-to-top:hover { transform: scale(1.07); color: #fff; }
.float-call svg,
.back-to-top svg { width: 22px; height: 22px; }

/* ---------- Motion ---------- */

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .nav-phone span { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .steps::before { display: none; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; }
  .logo img { width: 150px; }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 12px var(--gutter) 32px;
    background: var(--paper);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s var(--ease), visibility 0.3s;
  }

  .main-nav.is-open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 4px; border-radius: 0; font-size: 1.1rem; }
  .mega { position: static; width: auto; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 12px; display: none; background: transparent; }
  .has-mega.is-open .mega { display: block; transform: none; }
  .mega-grid { grid-template-columns: 1fr; gap: 10px; }
  .mega-aside { display: none; }
  .nav-cta { flex-direction: column; align-items: stretch; margin-top: 20px; }
  .nav-phone span { display: inline; }
  .nav-phone { justify-content: center; padding: 10px; }
  body.nav-open { overflow: hidden; }

  .hero-grid,
  .savings-grid,
  .two-col,
  .contact-grid,
  .case-grid,
  .segment { grid-template-columns: 1fr; }
  .hero-visual { min-height: 340px; order: -1; }
  .hero-copy { text-align: left; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-grid > .dee { display: none; }
  .pain-grid,
  .why-grid,
  .review-grid,
  .price-grid,
  .engage-grid { grid-template-columns: 1fr 1fr; }
  .client-logos { grid-template-columns: repeat(2, 1fr); }
  .split-head { flex-direction: column; align-items: flex-start; }
  .split-head .dee { display: none; }
  .split-head .section-head { margin-bottom: 18px; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-dee { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .pain-grid,
  .why-grid,
  .review-grid,
  .price-grid,
  .engage-grid,
  .audience-grid,
  .deliverables,
  .form-grid,
  .case-cols { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; text-align: left; }
  .step { display: grid; grid-template-columns: 54px 1fr; column-gap: 16px; text-align: left; }
  .step-num { margin: 0; grid-row: span 2; }
  .compare-row { grid-template-columns: 1fr; }
  .compare-row > span[role='rowheader'] { padding-bottom: 4px; background: var(--paper); }
  .compare-headrow { display: none; }
  .compare .them::before { content: 'Agency: '; font-weight: 700; }
  .compare .us:not([role='columnheader'])::before { content: 'Us: '; font-weight: 700; color: var(--red-dark); }
  .hero-visual { min-height: 280px; }
  .float-card { font-size: 0.75rem; padding: 8px 10px; }
  .fc-3 { display: none; }
  .btn-row .btn { flex: 1 1 100%; }
  .post-cta { grid-template-columns: 1fr; }
  .post-cta .dee { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   v3 — Premium freelancer layer (Oct 2026)
   Dark "night" hero, serif italic accents, glass cards, infographics.
   ========================================================================== */

:root {
  --night: #0e0b16;
  --night-2: #17121f;
  --night-line: rgba(255, 255, 255, 0.1);
  --grad: linear-gradient(100deg, #ff3b4e 0%, #ff7a45 55%, #ffb547 100%);
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --paper: #faf8f5;
  --paper-2: #f3efe9;
}

h1 em, h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}

.btn-primary { background: var(--grad); background-size: 140% 100%; border: 0; box-shadow: 0 10px 28px rgba(255, 59, 78, 0.32); transition: background-position 0.4s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s; }
.btn-primary:hover { background: var(--grad); background-size: 140% 100%; background-position: 100% 0; box-shadow: 0 14px 34px rgba(255, 59, 78, 0.42); transform: translateY(-2px); }
.btn-wa { background: #25d366; color: #06301a; border: 0; }
.btn-wa:hover { background: #1fbe5b; color: #06301a; transform: translateY(-2px); }
.btn-wa svg { width: 20px; height: 20px; }
.btn-light:hover { background: #fff3e6; }
.eyebrow-light { color: #ffb4a8; }

/* ---------- Hero ---------- */
.hero-x { position: relative; overflow: hidden; background: var(--night); color: #cfc8da; padding: clamp(40px, 7vw, 96px) 0 0; isolation: isolate; }
.hero-x-bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 420px at 85% 10%, rgba(255, 59, 78, 0.28), transparent 70%),
    radial-gradient(520px 420px at 0% 90%, rgba(56, 201, 240, 0.18), transparent 70%),
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px) 0 0 / 48px 48px; }
.hero-x-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-x h1 { color: #fff; font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 22px; }
.hero-x .lead { color: #cfc8da; }
.hero-x .lead strong { color: #fff; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid var(--night-line); background: rgba(255,255,255,0.05); border-radius: 999px; font-size: 0.85rem; font-weight: 600; color: #e9e4f0; margin-bottom: 24px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #2fe07a; box-shadow: 0 0 0 0 rgba(47, 224, 122, 0.6); animation: pulse 2s infinite; flex-shrink: 0; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(47, 224, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 224, 122, 0); } }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 32px; font-size: 0.9rem; }
.hero-proof strong { color: #fff; font-family: var(--font-display); font-size: 1.15rem; }
.hero-proof svg { width: 18px; height: 18px; display: inline; vertical-align: -3px; }
.hp-rating, .hp-stat { display: flex; align-items: center; gap: 8px; }
.hp-rating .stars { color: #ffc93c; }
.hp-sep { width: 1px; height: 26px; background: var(--night-line); }

.hero-x-visual { position: relative; padding: 20px 0 40px; }
.hero-photo { margin: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--night-line); box-shadow: 0 40px 80px rgba(0,0,0,0.45); transform: rotate(1.5deg); }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.report-card { position: absolute; left: -36px; bottom: 0; width: min(330px, 78%); padding: 18px; border-radius: 20px; background: rgba(23, 18, 31, 0.86); border: 1px solid rgba(255,255,255,0.14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #cfc8da; box-shadow: 0 30px 60px rgba(0,0,0,0.45); animation: float 6s ease-in-out infinite; }
.rc-head { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; margin-bottom: 12px; }
.rc-head strong { color: #fff; }
.rc-head small { margin-left: auto; font-size: 0.7rem; padding: 2px 8px; border-radius: 99px; background: rgba(255,255,255,0.08); }
.rc-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff4d5e; }
.rc-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.rc-kpis div { padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,0.05); }
.rc-kpis small { display: block; font-size: 0.68rem; }
.rc-kpis strong { font-family: var(--font-display); color: #3ee08a; font-size: 1.05rem; }
.rc-kpis strong.down { color: #38c9f0; }
.rc-chart { width: 100%; height: 90px; display: block; }
.rc-line { stroke-dasharray: 520; stroke-dashoffset: 520; animation: drawline 2.4s 0.4s var(--ease) forwards; }
@keyframes drawline { to { stroke-dashoffset: 0; } }
.rc-legend { display: flex; gap: 14px; font-size: 0.72rem; margin-top: 6px; }
.rc-legend i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.rc-legend .l1 { background: #ff4d5e; }
.rc-legend .l2 { background: #38c9f0; }
.hero-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--surface); color: var(--ink); box-shadow: 0 20px 40px rgba(0,0,0,0.3); font-size: 0.85rem; animation: float 5s ease-in-out infinite; }
.hero-float strong { display: block; font-family: var(--font-display); line-height: 1.1; }
.hero-float small { color: var(--muted); }
.hf-1 { top: 0; right: -10px; animation-delay: -2s; }
.hf-2 { bottom: 90px; right: -24px; animation-delay: -3.5s; }
.hf-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--grad); color: #fff; font-weight: 800; }
.hf-ico.green { background: #2fbf6b; }
.hf-ico svg { width: 20px; height: 20px; }

/* Platform marquee */
.pf-strip { margin-top: clamp(40px, 6vw, 72px); padding: 22px 0 26px; border-top: 1px solid var(--night-line); background: var(--night); }
main > .pf-strip { margin-top: 0; }
.pf-label { text-align: center; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: #8d849c; margin-bottom: 16px; padding: 0 16px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }
.pf-chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; border: 1px solid var(--night-line); background: rgba(255,255,255,0.04); color: #e9e4f0; font-weight: 600; font-size: 0.92rem; white-space: nowrap; }
.pf-mark { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 99px; background: var(--c); color: #fff; font-weight: 800; font-size: 0.8rem; }

/* Stats band */
.stats-band { position: relative; z-index: 2; padding: clamp(28px, 4vw, 44px) 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.stats-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { text-align: center; padding: 8px 12px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1; letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat-label { display: block; margin-top: 8px; font-size: 0.92rem; color: var(--muted); font-weight: 600; }

/* Leak infographic */
.leak-graphic { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.leak-funnel { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-right: 20px; }
.leak-tier { position: relative; width: calc(100% - var(--n) * 12%); padding: 16px; text-align: center; color: #fff; font-family: var(--font-display); font-weight: 700; border-radius: 14px; background: linear-gradient(90deg, hsl(calc(354 + var(--n) * 7) 95% 60%), hsl(calc(14 + var(--n) * 7) 95% 62%)); box-shadow: 0 10px 24px rgba(255, 59, 78, 0.18); }
.leak-tier .drip { position: absolute; right: -18px; top: 50%; width: 10px; height: 14px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: #38c9f0; animation: drip 1.8s ease-in infinite; animation-delay: calc(var(--n) * 0.35s); }
@keyframes drip { 0% { transform: translateY(-8px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(26px); opacity: 0; } }
.leak-out { margin-top: 6px; padding: 12px 24px; border-radius: 999px; background: var(--night); color: #fff; font-weight: 800; font-family: var(--font-display); }
.leak-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.leak-list li { display: flex; gap: 16px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.leak-list li:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.leak-n { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.leak-list h3 { font-size: 1.05rem; margin-bottom: 4px; }
.leak-list p { display: flex; gap: 8px; margin: 0; font-size: 0.93rem; line-height: 1.45; }
.leak-list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.leak-bad { color: var(--muted); }
.leak-bad svg { color: #e8273a; }
.leak-list .leak-fix { color: var(--ink); font-weight: 600; margin-top: 4px; }
.leak-fix svg { color: var(--green); }

/* Founder */
.founder { background: linear-gradient(180deg, var(--paper) 0%, #fff 100%); }
.founder-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.founder-media { position: relative; }
.founder-photo { margin: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); }
.founder-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.founder-badge { position: absolute; left: -20px; bottom: 48px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--night); color: #cfc8da; border-radius: 18px; box-shadow: var(--shadow-lg); font-size: 0.82rem; line-height: 1.3; }
.founder-badge strong { font-family: var(--font-display); font-size: 2rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.founder-badge.alt { left: auto; right: -20px; bottom: auto; top: 40px; background: var(--surface); color: var(--muted); }
.founder-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.founder-copy h2 em { display: block; }
.founder-copy .lead strong { color: var(--ink); }
.skills { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 28px 0 22px; }
.skill-top { display: flex; justify-content: space-between; font-size: 0.92rem; color: var(--ink); }
.skill-top span { font-weight: 700; color: var(--muted); }
.skill-bar { height: 8px; border-radius: 99px; background: var(--paper-2); overflow: hidden; margin: 6px 0 4px; }
.skill-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--grad); transition: width 1.4s var(--ease) 0.2s; }
.is-visible .skill-bar i, html:not(.js) .skill-bar i, .skill.is-visible .skill-bar i { width: var(--w); }
.skill small { color: var(--muted); font-size: 0.8rem; }
.founder-facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.founder-facts li { display: flex; gap: 12px; padding: 14px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); font-size: 0.88rem; line-height: 1.4; }
.founder-facts strong { display: block; color: var(--ink); }
.founder-facts svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--red); }

/* Solutions */
.sol-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.sol-card { display: grid; grid-template-columns: 0.8fr 1.2fr; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--ink-2); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.sol-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--ink-2); }
.sol-img { position: relative; overflow: hidden; min-height: 180px; }
.sol-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.sol-card:hover .sol-img img { transform: scale(1.06); }
.sol-body { display: flex; flex-direction: column; padding: 24px; }
.sol-tag { align-self: flex-start; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; background: var(--red-soft); color: var(--red-dark); margin-bottom: 10px; }
.sol-body h3 { margin-bottom: 6px; }
.sol-body p { font-size: 0.95rem; margin-bottom: 12px; }
.sol-body ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 6px; font-size: 0.9rem; color: var(--ink); }
.sol-body li { display: flex; gap: 8px; align-items: center; }
.sol-body li svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }
.sol-body .card-link { margin-top: auto; }
.also-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 36px; font-size: 0.92rem; }
.also-row span { font-weight: 700; color: var(--ink); }
.also-row a { padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; transition: border-color 0.2s, color 0.2s; }
.also-row a:hover { border-color: var(--red); color: var(--red-dark); }

/* Dark sections & growth system */
.dark-section { background: var(--night); color: #cfc8da; position: relative; overflow: hidden; }
.dark-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(700px 400px at 50% 0%, rgba(255, 59, 78, 0.18), transparent 70%); pointer-events: none; }
.dark-section > .container { position: relative; }
.dark-section h2, .dark-section h3 { color: #fff; }
.dark-section .lead { color: #cfc8da; }
.dark-section .eyebrow { color: #ffb4a8; }
.sys-track { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sys-track::before { content: ''; position: absolute; top: 46px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, #ff3b4e, #ffb547, #38c9f0); opacity: 0.6; }
.sys-step { position: relative; padding: 24px 22px; border-radius: 20px; background: rgba(23, 18, 31, 0.9); border: 1px solid var(--night-line); transition: transform 0.3s var(--ease), border-color 0.3s; }
.sys-step:hover { transform: translateY(-6px); border-color: rgba(255, 122, 69, 0.6); }
.sys-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--grad); color: #fff; font-family: var(--font-display); font-weight: 800; margin-bottom: 16px; }
.sys-step p { font-size: 0.93rem; }
.sys-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.sys-tags span { font-size: 0.75rem; padding: 4px 9px; border-radius: 99px; background: rgba(255,255,255,0.07); color: #e9e4f0; }
.sys-kpi { padding-top: 14px; border-top: 1px dashed var(--night-line); }
.sys-kpi small { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: #8d849c; }
.sys-kpi strong { color: #fff; font-family: var(--font-display); }

/* Results */
.case-x { display: grid; grid-template-columns: 0.9fr 1.1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); }
.case-x-img { position: relative; margin: 0; min-height: 320px; }
.case-x-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-x-img figcaption { position: absolute; left: 18px; top: 18px; padding: 6px 12px; border-radius: 99px; background: rgba(14, 11, 22, 0.8); color: #fff; font-size: 0.8rem; font-weight: 700; }
.case-x-body { padding: clamp(24px, 4vw, 44px); }
.case-x-body h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.case-x-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0 24px; }
.case-x-metrics div { padding: 16px; border-radius: 16px; background: var(--night); color: #cfc8da; }
.case-x-metrics strong { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.05; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case-x-metrics span { font-size: 0.82rem; }
.logo-row { margin-top: 48px; text-align: center; }
.logo-row > p { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

/* Versus + cost bars */
.versus-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.versus .compare { margin: 0; max-width: none; }
.cost-bars { display: grid; gap: 14px; margin: 26px 0 16px; }
.cb-row { display: grid; grid-template-columns: 170px 1fr 70px; gap: 12px; align-items: center; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.cb-row b { font-family: var(--font-display); text-align: right; }
.cb-bar { height: 14px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.cb-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: #b9b2c4; transition: width 1.4s var(--ease) 0.3s; }
.cb-row.us .cb-bar i { background: var(--grad); }
.is-visible .cb-bar i, html:not(.js) .cb-bar i { width: var(--w); }

/* Process */
.process-x-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.process-x-media { position: relative; }
.process-x-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow-lg); }
.px-note { position: absolute; right: -16px; bottom: 32px; display: flex; gap: 12px; align-items: center; padding: 14px 18px; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-lg); font-size: 0.85rem; line-height: 1.3; }
.px-note strong { display: block; color: var(--ink); }
.px-note svg { width: 26px; height: 26px; color: var(--red); }
.vsteps { list-style: none; padding: 0; margin: 0; position: relative; }
.vsteps::before { content: ''; position: absolute; left: 21px; top: 10px; bottom: 30px; width: 2px; background: linear-gradient(#ff3b4e, #ffb547, #38c9f0); }
.vsteps li { position: relative; display: flex; gap: 18px; padding: 0 0 22px; }
.vs-n { position: relative; display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 2px solid #ff7a45; color: var(--ink); font-family: var(--font-display); font-weight: 800; }
.vsteps h3 { margin: 8px 0 4px; font-size: 1.1rem; }
.vsteps p { margin: 0; font-size: 0.95rem; }

/* Industries */
.industries { background: var(--paper-2); }
.ind-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ind-grid li { display: flex; flex-direction: column; gap: 4px; padding: 22px; background: var(--surface); border-radius: 18px; border: 1px solid var(--line); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.ind-grid li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ind-grid strong { color: var(--ink); font-family: var(--font-display); font-size: 1.1rem; }
.ind-grid span { color: var(--muted); font-size: 0.92rem; }

/* CTA card */
.cta-card { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 32px; background: var(--night); color: #cfc8da; overflow: hidden; isolation: isolate; }
.cta-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 360px at 100% 0%, rgba(255, 59, 78, 0.4), transparent 70%), radial-gradient(420px 320px at 0% 100%, rgba(56, 201, 240, 0.22), transparent 70%); }
.cta-card h2 { color: #fff; }
.cta-points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.cta-points li { display: flex; gap: 10px; align-items: center; color: #e9e4f0; font-weight: 600; }
.cta-points svg { width: 20px; height: 20px; color: #3ee08a; }
.cta-photo { position: relative; margin: 0; }
.cta-photo img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: 22px; }
.cta-photo figcaption { position: absolute; left: -16px; bottom: 22px; max-width: 220px; padding: 12px 16px; border-radius: 14px; background: var(--surface); color: var(--muted); font-size: 0.82rem; line-height: 1.35; box-shadow: var(--shadow-lg); }
.cta-photo figcaption strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); }

/* Header / footer refresh */
.site-header::before { background: rgba(250, 248, 245, 0.9); }
.footer-stats { list-style: none; padding: 0; margin: 18px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.footer-stats li { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,0.05); font-size: 0.78rem; line-height: 1.3; }
.footer-stats strong { display: block; font-family: var(--font-display); font-size: 1.25rem; color: #fff; }

/* Floating WhatsApp + mobile CTA bar */
.float-wa { position: fixed; right: 18px; bottom: 148px; z-index: 90; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: var(--shadow-lg); transition: transform 0.2s var(--ease); }
.float-wa:hover { transform: scale(1.07); color: #fff; }
.float-wa svg { width: 26px; height: 26px; }
.mobile-cta { display: none; }

/* Inner page hero, dark */
.page-hero { background: var(--night); color: #cfc8da; border-bottom: 0; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(520px 360px at 90% 0%, rgba(255, 59, 78, 0.28), transparent 70%), radial-gradient(420px 300px at 0% 100%, rgba(56, 201, 240, 0.16), transparent 70%); pointer-events: none; }
.page-hero > .container { position: relative; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #cfc8da; }
.page-hero .eyebrow { color: #ffb4a8; }
.page-hero .breadcrumbs, .page-hero .breadcrumbs a { color: #cfc8da; }
.page-hero .breadcrumbs li[aria-current] { color: #fff; }
.page-hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.page-hero .btn-ghost:hover { background: #fff; color: #15131c; }

/* ---------- v3 responsive ---------- */
@media (max-width: 1100px) {
  .report-card { left: -12px; }
  .hf-2 { right: -8px; }
  .sol-card { grid-template-columns: 1fr; }
  .sol-img { aspect-ratio: 16 / 8; }
  .sys-track { grid-template-columns: repeat(2, 1fr); }
  .sys-track::before { display: none; }
}
@media (max-width: 980px) {
  .hero-x-grid, .leak-graphic, .founder-grid, .versus-grid, .process-x-grid, .case-x, .cta-card { grid-template-columns: 1fr; }
  .hero-x-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .founder-media { max-width: 460px; margin: 0 auto; width: 100%; }
  .process-x-media img { aspect-ratio: 16 / 10; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-photo { display: none; }
}
@media (max-width: 640px) {
  .hero-x h1 { font-size: 2.35rem; }
  .hero-photo { transform: none; }
  .report-card { position: relative; left: 0; width: 100%; margin-top: -60px; }
  .hero-float.hf-2 { display: none; }
  .hf-1 { right: 8px; top: 8px; }
  .hp-sep { display: none; }
  .sol-grid, .skills, .founder-facts, .ind-grid { grid-template-columns: 1fr; }
  .sys-track { grid-template-columns: 1fr; }
  .founder-badge { left: 8px; bottom: 16px; }
  .founder-badge.alt { right: 8px; top: 16px; }
  .case-x-metrics { gap: 8px; }
  .case-x-metrics div { padding: 12px 10px; }
  .cb-row { grid-template-columns: 1fr 56px; }
  .cb-row span { grid-column: 1 / -1; }
  .px-note { right: 8px; bottom: 12px; }
  .stat { border-left: 0; }
  .mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(14, 11, 22, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .mobile-cta .btn { min-height: 46px; padding: 10px 12px; font-size: 0.92rem; }
  .float-wa, .float-call { display: none; }
  .back-to-top { bottom: 80px; }
  body { padding-bottom: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .report-card, .hero-float, .leak-tier .drip, .live-dot { animation: none; }
  .rc-line { stroke-dashoffset: 0; animation: none; }
  .skill-bar i, .cb-bar i { transition: none; }
}

/* Service page hero photo */
.svc-hero-img { margin: 0; width: min(420px, 38vw); border-radius: 24px; overflow: hidden; border: 1px solid var(--night-line); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); transform: rotate(1.5deg); }
.svc-hero-img img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
@media (max-width: 980px) { .svc-hero-img { display: none; } }

/* ==========================================================================
   2026 layer — liquid-glass UI, light/dark themes, bento grids, kinetic type,
   scroll-linked motion, cursor spotlight, grain texture, view transitions.
   ========================================================================== */

:root {
  --surface: #ffffff;
  --solid: #15131c;
  --tint-red: #fff6f6;
  --field-line: #d9d1c6;
  --glass: rgba(255, 255, 255, 0.62);
  --glass-line: rgba(21, 19, 28, 0.08);
  --hdr: 84px;
  --radius-xl: 28px;
}

/* Dark theme: follows the system unless the visitor picks one */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --paper: #0b0911; --paper-2: #110e18; --surface: #17131f; --solid: #2a2435;
    --ink: #f4f0fa; --ink-2: #cdc6d8; --muted: #9a92a8; --line: rgba(255, 255, 255, 0.09);
    --red-dark: #ff8a94; --red-soft: rgba(255, 59, 78, 0.14); --cyan-dark: #6fd8f6; --cyan-soft: rgba(56, 201, 240, 0.14);
    --tint-red: rgba(255, 59, 78, 0.08); --field-line: rgba(255, 255, 255, 0.16);
    --glass: rgba(23, 19, 31, 0.6); --glass-line: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4); --shadow: 0 12px 32px rgba(0, 0, 0, 0.45); --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --paper: #0b0911; --paper-2: #110e18; --surface: #17131f; --solid: #2a2435;
  --ink: #f4f0fa; --ink-2: #cdc6d8; --muted: #9a92a8; --line: rgba(255, 255, 255, 0.09);
  --red-dark: #ff8a94; --red-soft: rgba(255, 59, 78, 0.14); --cyan-dark: #6fd8f6; --cyan-soft: rgba(56, 201, 240, 0.14);
  --tint-red: rgba(255, 59, 78, 0.08); --field-line: rgba(255, 255, 255, 0.16);
  --glass: rgba(23, 19, 31, 0.6); --glass-line: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4); --shadow: 0 12px 32px rgba(0, 0, 0, 0.45); --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}
:root[data-theme='light'] { color-scheme: light; }

body { background: var(--paper); transition: background-color 0.3s, color 0.3s; }

/* Cross-page transitions (Chrome, Edge, Safari 18+) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }

/* ---------- Ambient layers ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 300; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
.grain { position: fixed; inset: 0; z-index: 250; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.cursor-glow { position: fixed; left: -200px; top: -200px; width: 400px; height: 400px; z-index: 1; pointer-events: none; border-radius: 50%; opacity: 0; background: radial-gradient(circle, rgba(255, 122, 69, 0.13), transparent 65%); transition: opacity 0.4s; will-change: transform; }
.cursor-glow.on { opacity: 1; }

/* Card spotlight that follows the pointer */
.bt, .sol-card, .sys-step, .stack-card, .leak-list li, .ind-grid li, .service-card, .post-card, .why-card, .review { position: relative; isolation: isolate; }
.bt::after, .sol-card::after, .sys-step::after, .stack-card::after, .leak-list li::after, .ind-grid li::after, .service-card::after, .post-card::after, .why-card::after, .review::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 122, 69, 0.14), transparent 70%);
}
.bt:hover::after, .sol-card:hover::after, .sys-step:hover::after, .stack-card:hover::after, .leak-list li:hover::after, .ind-grid li:hover::after, .service-card:hover::after, .post-card:hover::after, .why-card:hover::after, .review:hover::after { opacity: 1; }

/* ---------- Liquid-glass floating header ---------- */
.site-header { position: sticky; top: 0; height: var(--hdr); margin-bottom: calc(var(--hdr) * -1); padding: 12px 0; border: 0; box-shadow: none; }
.site-header::before { display: none; }
.site-header.is-scrolled { box-shadow: none; }
.header-inner { position: relative; isolation: isolate; min-height: 60px; max-width: 1240px; padding: 6px 8px 6px 22px; border-radius: 999px; }
.header-inner::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 30px rgba(0, 0, 0, 0.12); transition: background 0.3s; }
.logo img { width: 150px; }
.nav-cta .btn { min-height: 46px; }
.theme-toggle { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; transition: transform 0.3s var(--ease), background 0.2s; }
.theme-toggle:hover { background: var(--paper-2); transform: rotate(20deg); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle svg:last-child { display: none; }
:root[data-theme='dark'] .theme-toggle svg:first-child { display: none; }
:root[data-theme='dark'] .theme-toggle svg:last-child { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme-toggle svg:first-child { display: none; }
  :root:not([data-theme='light']) .theme-toggle svg:last-child { display: block; }
}
.mega { border-radius: var(--radius-xl); background: var(--surface); }
.mega-col a:hover, .mega-col a[aria-current='page'] { background: var(--paper-2); }
.mega-aside { background: var(--paper-2); }
.mega-spark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--grad); color: #fff; margin-bottom: 10px; }
.mega-spark svg { width: 22px; height: 22px; }

/* Heroes sit under the floating header */
.hero-x { padding-top: calc(var(--hdr) + clamp(28px, 5vw, 72px)); }
.page-hero { padding-top: calc(var(--hdr) + clamp(24px, 4vw, 48px)); }
.post-hero { padding-top: calc(var(--hdr) + clamp(20px, 4vw, 40px)); }

/* ---------- Hero: orbs + kinetic headline ---------- */
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; animation: drift 18s ease-in-out infinite alternate; }
.o1 { width: 420px; height: 420px; right: 4%; top: 6%; background: #ff3b4e; }
.o2 { width: 360px; height: 360px; left: -6%; bottom: 0; background: #2aa9d6; opacity: 0.35; animation-delay: -6s; }
.o3 { width: 280px; height: 280px; left: 40%; top: 30%; background: #ff9a3c; opacity: 0.25; animation-delay: -12s; }
@keyframes drift { to { transform: translate(-60px, 40px) scale(1.15); } }
.hero-x-bg { background:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px) 0 0 / 56px 56px; overflow: hidden; }
.hero-x h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 0.98; letter-spacing: -0.045em; }
.kinetic-h1 .w { display: inline-block; }
.js .kinetic-h1 .w { opacity: 0; transform: translateY(0.5em) rotate(4deg); filter: blur(8px); animation: wordIn 0.8s var(--ease) forwards; }
.js .kinetic-h1 .w:nth-child(1) { animation-delay: 0.05s; } .js .kinetic-h1 .w:nth-child(2) { animation-delay: 0.12s; }
.js .kinetic-h1 .w:nth-child(3) { animation-delay: 0.19s; } .js .kinetic-h1 .w:nth-child(4) { animation-delay: 0.26s; }
.js .kinetic-h1 em .w:nth-child(1) { animation-delay: 0.4s; } .js .kinetic-h1 em .w:nth-child(2) { animation-delay: 0.47s; }
.js .kinetic-h1 em .w:nth-child(3) { animation-delay: 0.54s; } .js .kinetic-h1 em .w:nth-child(4) { animation-delay: 0.61s; }
@keyframes wordIn { to { opacity: 1; transform: none; filter: none; } }
.kinetic-h1 em { display: block; }
.kinetic-h1 em .w { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.05em; }

/* ---------- Glass + planner ---------- */
.glass { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 40px 80px rgba(0, 0, 0, 0.45); }
.planner { position: relative; padding: clamp(20px, 3vw, 28px); border-radius: var(--radius-xl); color: #e9e4f0; }
.planner::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(255, 122, 69, 0.7), transparent 40%, transparent 60%, rgba(56, 201, 240, 0.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.planner-head { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.planner-head strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1.2rem; }
.planner-head small { color: #a79fb5; }
.planner-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--grad); color: #fff; flex-shrink: 0; }
.planner-ico svg { width: 22px; height: 22px; }
.planner-goals { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.planner-goals button { min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.04); color: #e9e4f0; font: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease); }
.planner-goals button:hover { border-color: rgba(255, 255, 255, 0.4); transform: translateY(-1px); }
.planner-goals button[aria-checked='true'] { background: #fff; color: #15131c; border-color: #fff; }
.plan { animation: fadeUp 0.45s var(--ease); }
.plan-mix { display: grid; gap: 10px; margin-bottom: 16px; }
.plan-row { display: grid; grid-template-columns: minmax(120px, 1.1fr) 2fr 44px; gap: 10px; align-items: center; font-size: 0.88rem; }
.plan-row b { text-align: right; color: #fff; font-family: var(--font-display); }
.plan-bar { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.plan-bar i { display: block; height: 100%; width: var(--w); border-radius: 99px; background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 55%, #fff)); animation: grow 0.9s var(--ease); }
@keyframes grow { from { width: 0; } }
.plan-sub { margin: 0 0 6px; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: #a79fb5; font-weight: 700; }
.plan-steps { margin: 0 0 18px; padding-left: 1.2em; display: grid; gap: 4px; font-size: 0.92rem; }
.plan-steps li::marker { color: #ff7a45; font-weight: 800; }
.plan-cta { width: 100%; }
.planner-note { margin: 12px 0 0; font-size: 0.75rem; color: #8d849c; text-align: center; }

/* ---------- Bento proof grid ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(170px, auto); gap: 16px; }
.bt { border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); padding: 24px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.bt:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bt small { color: var(--muted); font-weight: 600; font-size: 0.9rem; }
.bt .stat-num { font-size: clamp(2.6rem, 5vw, 4.2rem); }
.bt-photo { grid-column: 1 / 3; grid-row: 1 / 3; margin: 0; padding: 0; position: relative; min-height: 420px; }
.bt-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bt-photo .report-card { left: 20px; bottom: 20px; animation: none; }
.bt-spend { grid-column: 3 / 5; background: var(--night); color: #cfc8da; border-color: transparent; position: relative; }
.bt-spend small { color: #a79fb5; }
.bt-spend p { margin: 6px 0 0; max-width: 38ch; font-size: 0.95rem; }
.bt-spark { position: absolute; right: 24px; top: 24px; width: 44%; height: 64px; }
.bt-clients { position: relative; }
.bt-globe { position: absolute; right: -18px; top: -18px; width: 120px; height: 120px; color: var(--line); }
.bt-globe svg { width: 100%; height: 100%; color: var(--paper-2); }
.bt-rating { background: var(--grad); color: #fff; border-color: transparent; }
.bt-rating strong { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; }
.bt-rating .stars { color: #fff; margin: 6px 0; }
.bt-rating small { color: rgba(255, 255, 255, 0.9); }
.bt-platforms { grid-column: 2 / 4; justify-content: space-between; }
.bt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.bt-chips .pf-chip { background: var(--paper-2); border-color: var(--line); color: var(--ink); }

/* ---------- Kinetic type strip ---------- */
.kinetic { overflow: hidden; padding: clamp(20px, 4vw, 40px) 0; border-block: 1px solid var(--line); }
.kinetic-row { display: flex; align-items: center; gap: 0.5em; width: max-content; font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 9vw, 8rem); letter-spacing: -0.04em; line-height: 1; color: var(--ink); will-change: transform; }
.kinetic-row .k-outline { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.kinetic-row i { font-style: normal; font-size: 0.5em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Sticky stacking process ---------- */
.stack-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.stack-intro { position: sticky; top: calc(var(--hdr) + 24px); }
.stack-intro .px-note { position: static; display: inline-flex; margin: 0 0 22px; }
.stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.stack-card { position: sticky; top: calc(var(--hdr) + 24px + var(--i) * 18px); padding: clamp(24px, 3vw, 34px); border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.06); min-height: 190px; }
.stack-card:nth-child(odd) { background: color-mix(in srgb, var(--surface) 92%, #ff7a45); }
.stack-n { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; letter-spacing: -0.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.stack-card h3 { font-size: 1.4rem; }
.stack-card p { margin: 0; max-width: 46ch; }

/* ---------- Theme-aware fixes for earlier components ---------- */
.founder { background: linear-gradient(180deg, var(--paper) 0%, var(--surface) 100%); }
.founder-badge.alt { background: var(--surface); }
.case-x-metrics div, .leak-out { border: 1px solid rgba(255, 255, 255, 0.08); }
.cb-bar, .skill-bar { background: var(--paper-2); }
.hero-float, .px-note, .cta-photo figcaption { background: var(--surface); color: var(--ink); }
.footer-logo { background: transparent; padding: 0; }
.site-footer { border-top: 1px solid var(--line); }
.compare-headrow .us { color: #fff; }

/* Section rhythm: rounder, softer 2026 surfaces */
.sol-card, .case-x, .leak-list li, .ind-grid li, .review, .post-card, .service-card, .why-card, .faq-item, .price-card { border-radius: 24px; }

/* ---------- Scroll-driven reveals where supported (no JS needed) ---------- */
@supports (animation-timeline: view()) {
  .bt, .stack-card, .sol-card { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  @keyframes rise { from { opacity: 0; transform: translateY(40px) scale(0.97); } }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bt-photo { grid-column: 1 / -1; grid-row: auto; }
  .bt-spend, .bt-platforms { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .site-header { padding: 8px 0; }
  .header-inner { padding: 6px 6px 6px 18px; }
  .stack-grid { grid-template-columns: 1fr; }
  .stack-intro { position: static; }
  .theme-toggle { margin-bottom: 8px; }
}
@media (max-width: 640px) {
  :root { --hdr: 76px; }
  .logo img { width: 128px; }
  .nav-toggle { width: 44px; height: 44px; padding: 12px; border-radius: 50%; }
  .hero-x h1 { font-size: 2.6rem; }
  .bento { grid-template-columns: 1fr 1fr; gap: 12px; }
  .bt { padding: 18px; border-radius: 22px; }
  .bt-photo { min-height: 460px; }
  .bt-photo .report-card { position: absolute; left: 12px; right: 12px; bottom: 12px; width: auto; margin: 0; }
  .bt-spark { display: none; }
  .plan-row { grid-template-columns: 1fr 44px; }
  .plan-row span { grid-column: 1 / -1; }
  .stack-card { position: relative; top: 0; }
  .orb { filter: blur(40px); }
}
@media (prefers-reduced-motion: reduce) {
  .orb, .plan, .plan-bar i { animation: none; }
  .js .kinetic-h1 .w { opacity: 1; transform: none; filter: none; animation: none; }
  .bt, .stack-card, .sol-card { animation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

.bt-spend { border-color: rgba(255, 255, 255, 0.08); }
