/* ============ Fonts (self-hosted, SIL OFL; licences in /assets/fonts) ============ */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(/assets/fonts/bricolage-grotesque-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(/assets/fonts/bricolage-grotesque-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/figtree-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/figtree-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============ Design tokens (light + dark via light-dark) ============ */

:root {
  color-scheme: light dark;
  interpolate-size: allow-keywords;

  --ink: light-dark(oklch(0.22 0.015 150), oklch(0.93 0.012 150));
  --ink-soft: light-dark(oklch(0.4 0.015 150), oklch(0.78 0.015 150));
  --muted: light-dark(oklch(0.48 0.015 150), oklch(0.68 0.015 150));

  --green: light-dark(oklch(0.6 0.15 150), oklch(0.66 0.15 150));
  --green-dark: light-dark(oklch(0.5 0.15 150), oklch(0.58 0.15 150));
  --green-deep: light-dark(oklch(0.4 0.13 150), oklch(0.82 0.12 150));
  /* Fill green for surfaces carrying white text: ≥6:1 in both schemes (--green is only 3.7:1). */
  --green-fill: light-dark(oklch(0.47 0.13 150), oklch(0.47 0.12 150));
  --green-fill-hover: light-dark(oklch(0.41 0.12 150), oklch(0.53 0.13 150));
  --green-soft: light-dark(oklch(0.94 0.03 150), oklch(0.27 0.035 150));
  --green-label: light-dark(oklch(0.48 0.14 150), oklch(0.75 0.14 150));

  --bg: light-dark(oklch(0.98 0.008 150), oklch(0.17 0.015 150));
  --card: light-dark(oklch(1 0 0), oklch(0.22 0.018 150));
  --card-glass: light-dark(oklch(1 0 0 / 0.78), oklch(0.2 0.02 150 / 0.82));
  --border: light-dark(oklch(0.92 0.008 150), oklch(0.31 0.015 150));
  --border-strong: light-dark(oklch(0.85 0.02 150), oklch(0.38 0.02 150));
  --hover-fill: light-dark(oklch(0.95 0.02 150), oklch(0.27 0.02 150));

  --link: light-dark(oklch(0.5 0.13 150), oklch(0.72 0.13 150));
  --link-hover: light-dark(oklch(0.4 0.13 150), oklch(0.82 0.13 150));

  --shadow-tint: light-dark(oklch(0.3 0.05 150), oklch(0 0 0));
  --amber-soft: light-dark(oklch(0.95 0.045 85), oklch(0.28 0.04 85));
  --blue-soft: light-dark(oklch(0.95 0.025 240), oklch(0.27 0.03 250));
  --star: oklch(0.72 0.15 80);

  /* Channel-identity colors: fixed brand association (Google/Meta), used only for chip dots */
  --google-blue: oklch(0.65 0.17 250);
  --meta-purple: oklch(0.65 0.2 300);
  --retarget-green: oklch(0.7 0.16 150);
  --conversion-gold: oklch(0.75 0.15 80);
}

/* ============ Base ============ */

* { box-sizing: border-box; }

html, body { overflow-x: clip; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  /* Ambient light pools down the whole document so mid/bottom sections
     stay inside the greenhouse instead of falling onto flat canvas */
  background:
    radial-gradient(ellipse 1000px 640px at 14% 30%, light-dark(oklch(0.93 0.05 150 / 0.55), oklch(0.33 0.06 150 / 0.5)), transparent 68%),
    radial-gradient(ellipse 900px 600px at 88% 52%, light-dark(oklch(0.95 0.045 90 / 0.5), oklch(0.31 0.05 90 / 0.42)), transparent 68%),
    radial-gradient(ellipse 1100px 700px at 8% 78%, light-dark(oklch(0.93 0.05 150 / 0.5), oklch(0.33 0.06 150 / 0.45)), transparent 68%),
    radial-gradient(ellipse 900px 620px at 86% 97%, light-dark(oklch(0.94 0.045 130 / 0.5), oklch(0.32 0.055 150 / 0.45)), transparent 68%),
    var(--bg);
  font-family: 'Figtree', sans-serif;
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }

h1, h2, h3, .heading-font { font-family: 'Bricolage Grotesque', sans-serif; text-wrap: balance; }
p { text-wrap: pretty; }

img, svg { max-width: 100%; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }

/* Focus visibility for keyboard users */
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  background: var(--green-fill);
  color: white;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 0 0 12px 12px;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; color: white; }

/* Living plant canvas (home): fixed behind all content, above the body wash */
#plant-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Scroll progress (CSS scroll-driven; invisible where unsupported) */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--green), oklch(0.75 0.16 130));
  transform: scaleX(0);
  transform-origin: left;
  z-index: 120;
  pointer-events: none;
}
@supports (animation-timeline: scroll()) {
  .scroll-progress {
    animation: progressGrow linear both;
    animation-timeline: scroll(root);
  }
}
@keyframes progressGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Cross-document view transitions */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation-duration: .16s; }
::view-transition-new(root) { animation-duration: .24s; }

/* ============ Nav ============ */

nav.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 26px;
  margin-top: 18px;
  background: var(--card-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 24px -16px oklch(from var(--shadow-tint) l c h / 0.3);
  position: sticky;
  top: 12px;
  z-index: 50;
  transform-origin: center top;
  transition: transform .25s ease, box-shadow .25s ease;
}
nav.site-nav.scrolled {
  transform: scale(0.97);
  box-shadow: 0 12px 32px -16px oklch(from var(--shadow-tint) l c h / 0.4);
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { animation: sway 5s ease-in-out infinite; transform-origin: 50% 90%; }
.brand-name { font-family: 'Bricolage Grotesque', sans-serif; font-size: 21px; font-weight: 700; color: var(--ink); }
.brand-name span { color: var(--green); }

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.navlink {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 15px;
  position: relative;
  padding-bottom: 4px;
}
.navlink::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.navlink:hover::after, .navlink.active::after { transform: scaleX(1); }
.navlink:hover, .navlink.active { color: var(--link-hover); }
.nav-cta-mobile { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 0;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s ease, opacity .2s ease;
}
.site-nav.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.site-nav.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-nav.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============ Buttons ============ */

.btn-primary, .btn-secondary, .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  border-radius: 12px;
  min-height: 48px;
  transition: transform .2s, background .2s, box-shadow .2s;
  cursor: pointer;
}
.btn-primary, .nav-cta {
  background: var(--green-fill);
  color: white;
}
.btn-primary { font-size: 16px; padding: 14px 30px; border: none; font-family: inherit; }
.btn-primary:hover {
  background: var(--green-fill-hover);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -12px oklch(0.5 0.15 150 / 0.5);
}
.nav-cta { font-size: 15px; padding: 10px 22px; border-radius: 10px; }
.nav-cta:hover { background: var(--green-fill-hover); color: white; transform: scale(1.04); }
.btn-secondary {
  border: 1.5px solid var(--border-strong);
  color: var(--ink);
  font-size: 16px;
  padding: 14px 30px;
  background: transparent;
}
.btn-secondary:hover {
  background: var(--hover-fill);
  color: var(--ink);
  transform: translateY(-3px);
}

/* ============ Hero (home) ============ */

.hero {
  display: flex;
  align-items: center;
  gap: 56px;
  padding: clamp(56px, 9vw, 110px) 0 clamp(72px, 10vw, 130px);
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 20px calc(-1 * clamp(20px, 5vw, 64px)) 0;
  background-image: radial-gradient(oklch(0.55 0.06 150 / 0.25) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 32% 30%, black, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 60% at 32% 30%, black, transparent 75%);
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.blob-a {
  top: -40px; left: -180px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, oklch(0.85 0.1 150 / 0.4), transparent 65%);
  animation: blobFloat 9s ease-in-out infinite;
}
.blob-b {
  bottom: -60px; right: -140px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, oklch(0.85 0.08 90 / 0.35), transparent 65%);
  animation: blobFloat 11s ease-in-out infinite reverse;
}

/* ============ Ambient section decor (mid/bottom of pages) ============ */

/* Sections that host blobs/bubbles below the hero */
.deco-scope { position: relative; isolation: isolate; }
.deco-scope .blob, .bubble { z-index: -1; }

.blob-c {
  top: -60px; left: -200px;
  width: 440px; height: 440px;
  background: radial-gradient(circle, light-dark(oklch(0.85 0.1 150 / 0.32), oklch(0.45 0.12 150 / 0.3)), transparent 65%);
  animation: blobFloat 13s ease-in-out infinite reverse;
}
.blob-d {
  bottom: -80px; right: -160px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, light-dark(oklch(0.87 0.08 90 / 0.3), oklch(0.44 0.09 90 / 0.24)), transparent 65%);
  animation: blobFloat 15s ease-in-out infinite;
}

/* Glassy greenhouse bubbles: near-transparent bordered circles with a light catch, wide slow drift */
.bubble {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  border: 1.5px solid light-dark(oklch(0.65 0.12 150 / 0.4), oklch(0.72 0.12 150 / 0.35));
  background:
    radial-gradient(circle at 32% 28%, light-dark(oklch(1 0 0 / 0.5), oklch(0.9 0.05 150 / 0.18)), transparent 45%),
    light-dark(oklch(0.95 0.03 150 / 0.16), oklch(0.4 0.07 150 / 0.1));
  box-shadow:
    inset -8px -10px 18px oklch(from var(--shadow-tint) l c h / 0.08),
    0 12px 24px -14px oklch(from var(--shadow-tint) l c h / 0.2);
  animation: bubbleDrift 12s ease-in-out infinite;
}
.bubble-a { width: 96px; height: 96px; top: 14%; right: 4%; }
.bubble-b { width: 44px; height: 44px; top: 32%; right: 11%; animation-duration: 15s; animation-delay: -5s; animation-direction: reverse; }
.bubble-c { width: 68px; height: 68px; bottom: 18%; left: 3%; animation-duration: 13s; animation-delay: -7s; }
.bubble-d { width: 30px; height: 30px; bottom: 34%; left: 9%; animation-duration: 10s; animation-delay: -2s; animation-direction: reverse; }
.hero-copy { flex: 1.1; position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 100px;
  margin-bottom: 30px;
}
.dot { position: relative; width: 8px; height: 8px; }
.dot span { position: absolute; inset: 0; border-radius: 50%; background: var(--green); }
.dot span:last-child { animation: pulse 2s ease-out infinite; }

.hero h1 {
  font-size: clamp(38px, 4.6vw + 10px, 64px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
}
#rotating-word {
  display: inline-block;
  text-align: center;
  line-height: 1;
}
.rotating-word-inner {
  display: inline-block;
  color: var(--green);
  animation: wordIn 0.5s cubic-bezier(.2,.8,.2,1);
  border-bottom: 5px solid oklch(0.8 0.12 150 / 0.8);
  line-height: 1;
}
.hero p.lede {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 0 40px;
}
.hero-ctas { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

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

/* Browser-frame mockup (pure CSS, replaces stock photos) */

.browser-mock {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px oklch(from var(--shadow-tint) l c h / 0.45);
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  background: light-dark(oklch(0.97 0.005 150), oklch(0.25 0.015 150));
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.mock-dot:nth-child(1) { background: oklch(0.72 0.15 25); }
.mock-dot:nth-child(2) { background: oklch(0.82 0.13 85); }
.mock-dot:nth-child(3) { background: oklch(0.7 0.15 150); }
.mock-url {
  flex: 1;
  margin-left: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 12px;
  max-width: 200px;
}
.mock-page { padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.mock-nav { display: flex; align-items: center; gap: 10px; }
.mock-logo { width: 26px; height: 26px; border-radius: 8px; background: var(--green); flex-shrink: 0; }
.mock-links { display: flex; gap: 8px; margin-left: auto; }
.mock-links i { width: 30px; height: 6px; border-radius: 3px; background: var(--border-strong); }
.mock-btn { width: 58px; height: 22px; border-radius: 7px; background: var(--green); }
.mock-hero { display: flex; flex-direction: column; gap: 9px; padding: 8px 0 4px; }
.mock-h1 { height: 16px; width: 78%; border-radius: 5px; background: linear-gradient(90deg, var(--green-soft), oklch(0.85 0.1 150 / 0.7)); }
.mock-h1.short { width: 52%; }
.mock-text { height: 7px; width: 88%; border-radius: 4px; background: var(--border); }
.mock-text.short { width: 62%; }
.mock-cta { width: 96px; height: 26px; border-radius: 8px; background: var(--green); margin-top: 8px; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-cards i {
  height: 58px;
  border-radius: 10px;
  background: light-dark(oklch(0.96 0.015 150), oklch(0.26 0.02 150));
  border: 1px solid var(--border);
}

.hero-mock-wrap {
  position: relative;
  margin: 0 26px;
  transition: transform .15s ease-out;
}
.hero-mock .mock-page { gap: 20px; padding: 24px; }

.card-a-float, .card-b-float {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 40px -16px oklch(from var(--shadow-tint) l c h / 0.4);
  z-index: 2;
}
.card-a-float {
  top: 30px; left: -22px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: cardFloat 6s ease-in-out infinite;
}
.card-a-label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.card-a-value { display: flex; align-items: baseline; gap: 8px; }
.card-a-value .num { font-family: 'Bricolage Grotesque', sans-serif; font-size: 28px; font-weight: 800; }
.card-a-value .arrow { color: var(--green); display: inline-flex; }
.card-b-float {
  bottom: 36px; right: -14px;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: cardFloat2 7s ease-in-out infinite;
}
.card-b-icon {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--green-soft);
  color: var(--green-deep);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.card-b-title { font-weight: 800; font-size: 15px; }
.card-b-sub { font-size: 13px; color: var(--muted); }

/* ============ Page hero (inner pages) ============ */

.page-hero {
  padding: clamp(64px, 8vw, 96px) 0 8px;
  text-align: center;
  position: relative;
}
.page-hero > :not(.blob) { position: relative; z-index: 1; }
.page-hero .blob { z-index: 0; }
.page-hero .blob-a { width: 360px; height: 360px; top: -140px; left: -80px; }
.page-hero .blob-b { width: 320px; height: 320px; top: -60px; bottom: auto; right: -100px; }
.page-hero .eyebrow-label { margin-bottom: 16px; }
.page-hero h1 {
  font-size: clamp(32px, 3.6vw + 8px, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 20px;
}
.page-hero p.lede {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto;
}

/* ============ Legal pages (privacy, terms) ============ */
.legal-section { padding: clamp(40px, 5vw, 56px) 0 clamp(72px, 9vw, 112px); }
.legal { max-width: 720px; margin: 0 auto; font-size: 16px; line-height: 1.7; color: var(--ink-soft); }
.legal h2 { font-size: clamp(21px, 1vw + 14px, 26px); line-height: 1.25; color: var(--ink); margin: 48px 0 12px; }
.legal h3 { font-size: 18px; color: var(--ink); margin: 28px 0 8px; }
.legal p, .legal ul { margin: 0 0 14px; }
.legal ul { padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal strong { color: var(--ink); }
.legal a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--link-hover); }
.legal-updated { font-size: 14px; color: var(--muted); text-align: center; }
.legal-summary { background: var(--green-soft); border-radius: 16px; padding: 24px 28px 12px; margin: 24px 0 8px; }
.legal-summary h2 { margin-top: 0; font-size: 20px; }

/* ============ Section heading ============ */

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.eyebrow-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-label);
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: clamp(29px, 2.4vw + 8px, 40px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

/* ============ Cards shared ============ */

.liftcard {
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.liftcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -20px oklch(from var(--shadow-tint) l c h / 0.35);
  border-color: oklch(0.6 0.15 150 / 0.45);
}

/* Icon wraps (SVG icons) */
.icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  transition: transform .35s cubic-bezier(.16,1,.3,1), background .3s, color .3s;
}
.icon-wrap svg { width: 24px; height: 24px; }

/* ============ Services ============ */

.services-section { padding: clamp(72px, 9vw, 120px) 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--card);
  border-radius: 16px;
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--border);
}
.service-card:hover .icon-wrap { transform: rotate(-8deg) scale(1.12); background: var(--green); color: white; }
.service-card .title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 21px; font-weight: 700; margin-bottom: 12px; }
.service-card .body { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }

/* ============ Bento results ============ */

.bento-section { padding: 0 0 clamp(72px, 9vw, 120px); }
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "roas roas cpl launch"
    "roas roas quote quote";
  gap: 18px;
}
.bento-tile {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-height: 150px;
}
.bento-roas { grid-area: roas; background: linear-gradient(145deg, var(--green-soft), light-dark(oklch(0.97 0.02 120), oklch(0.24 0.03 120))); }
.bento-cpl { grid-area: cpl; }
.bento-launch { grid-area: launch; }
.bento-quote { grid-area: quote; }

.bento-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1;
}
.bento-roas .bento-num { font-size: clamp(48px, 5vw, 68px); color: var(--green-deep); }
.bento-label { font-size: 14px; font-weight: 600; color: var(--ink-soft); line-height: 1.45; }
.bento-spark { margin-top: auto; color: var(--green); }
.bento-spark svg { display: block; width: 100%; height: 48px; }
.bento-trend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-deep);
  background: light-dark(oklch(1 0 0 / 0.65), oklch(0.32 0.04 150 / 0.6));
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 100px;
  align-self: flex-start;
}
.bento-trend svg { width: 14px; height: 14px; }
.bento-quote blockquote {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
}
.bento-quote-who { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.bento-quote-who .avatar-chip {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-deep);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800; font-size: 12px;
  flex-shrink: 0;
}

/* ============ Ads showcase ============ */

.ads-section { padding: 0 0 clamp(72px, 9vw, 110px); }
.ads-box {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, oklch(0.22 0.035 165), oklch(0.17 0.02 150) 55%, oklch(0.23 0.05 265));
  border-radius: 28px;
  padding: clamp(44px, 5vw, 72px) clamp(26px, 5vw, 64px) 0;
  color: white;
}
.ads-box::before {
  content: '';
  position: absolute;
  top: -140px; right: -100px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(0.6 0.18 150 / 0.35), transparent 65%);
  animation: blobFloat 10s ease-in-out infinite;
}
.ads-box::after {
  content: '';
  position: absolute;
  bottom: -160px; left: -120px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(0.55 0.18 280 / 0.28), transparent 65%);
  animation: blobFloat 12s ease-in-out infinite reverse;
}
.ads-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.ads-copy .eyebrow-label { color: oklch(0.75 0.15 150); }
.ads-copy h2 {
  color: white;
  font-size: clamp(28px, 2.4vw + 8px, 38px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 0 0 18px;
}
.ads-copy p {
  color: oklch(0.8 0.02 150);
  font-size: 16.5px;
  line-height: 1.65;
  margin: 0 0 26px;
}
.ads-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.ads-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 100px;
  border: 1px solid oklch(0.42 0.04 150);
  background: oklch(1 0 0 / 0.06);
  font-size: 13.5px;
  font-weight: 700;
  color: oklch(0.9 0.02 150);
  transition: transform .25s, background .25s, border-color .25s;
}
.ads-chip:hover { transform: translateY(-3px); background: oklch(1 0 0 / 0.12); border-color: oklch(0.6 0.15 150); }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

.ads-dash {
  background: oklch(1 0 0 / 0.06);
  border: 1px solid oklch(1 0 0 / 0.14);
  border-radius: 20px;
  padding: clamp(22px, 2.6vw, 30px);
  backdrop-filter: blur(6px);
}
.ads-dash-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: oklch(0.72 0.03 150);
  margin-bottom: 22px;
}
.dash-live { display: inline-flex; align-items: center; gap: 7px; color: oklch(0.8 0.15 150); }
.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: oklch(0.7 0.18 150);
}
.funnel-row { margin-bottom: 15px; }
.funnel-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; font-size: 13px; }
.funnel-label { color: oklch(0.85 0.02 150); font-weight: 600; }
.funnel-value { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 15px; color: white; }
.funnel-bar {
  height: 26px;
  border-radius: 7px;
  width: var(--w, 100%);
  background: linear-gradient(90deg, oklch(0.5 0.13 155), oklch(0.75 0.16 130));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s cubic-bezier(.2,.8,.2,1);
  transition-delay: var(--fd, 0s);
}
.ads-dash.dash-go .funnel-bar { transform: scaleX(1); }
.ads-roi {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid oklch(1 0 0 / 0.14);
  font-size: 13.5px;
  color: oklch(0.8 0.02 150);
}
.ads-roi strong { font-family: 'Bricolage Grotesque', sans-serif; font-size: 20px; color: oklch(0.82 0.16 150); }

/* Keyword ticker inside the ads box */
.ads-ticker {
  position: relative;
  z-index: 1;
  margin: clamp(36px, 4vw, 56px) calc(-1 * clamp(26px, 5vw, 64px)) 0;
  padding: 16px 0;
  border-top: 1px solid oklch(1 0 0 / 0.12);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: tickerScroll 32s linear infinite; }
.ads-ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-half { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.ticker-item {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  color: oklch(0.72 0.03 150);
  white-space: nowrap;
}
.ticker-sep { color: oklch(0.6 0.15 150); font-size: 11px; }

/* ============ Testimonials ============ */

.testimonials-section { padding: 0 0 clamp(72px, 9vw, 120px); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  border-radius: 20px;
  padding: clamp(26px, 3vw, 34px);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testimonial-card.t-green { background: var(--green-soft); }
.testimonial-card.t-amber { background: var(--amber-soft); }
.testimonial-card.t-blue { background: var(--blue-soft); }
.testimonial-stars { display: flex; gap: 3px; color: var(--star); }
.testimonial-stars svg { width: 16px; height: 16px; }
.testimonial-quote { font-size: 15.5px; line-height: 1.65; color: var(--ink); flex: 1; margin: 0; }
.testimonial-who { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--card);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--green-deep);
  box-shadow: 0 8px 16px -8px oklch(from var(--shadow-tint) l c h / 0.4);
  flex-shrink: 0;
}
.testimonial-name { font-weight: 800; font-size: 14.5px; }
.testimonial-role { font-size: 13px; color: var(--muted); }
.testimonial-metric {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  background: light-dark(oklch(1 0 0 / 0.7), oklch(0.18 0.015 150 / 0.6));
  color: var(--green-deep);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
}
.testimonial-metric svg { width: 14px; height: 14px; }

/* ============ Work ============ */

.work-section { padding: 0 0 clamp(72px, 9vw, 120px); }
.work-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 48px; flex-wrap: wrap; gap: 16px; }
.work-head h2 { font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(28px, 2.4vw + 6px, 36px); font-weight: 700; letter-spacing: -0.01em; margin: 0; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.work-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  color: inherit;
}
.work-card:hover { color: inherit; }
.work-thumb {
  position: relative;
  padding: 22px 22px 0;
  background: linear-gradient(145deg, var(--wt-a, var(--green-soft)), var(--wt-b, var(--bg)));
  overflow: hidden;
}
.work-thumb .browser-mock {
  border-radius: 12px 12px 0 0;
  border-bottom: 0;
  box-shadow: 0 18px 36px -18px oklch(from var(--shadow-tint) l c h / 0.45);
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.work-card:hover .work-thumb .browser-mock { transform: translateY(-6px); }
.work-thumb .mock-page { padding: 14px; gap: 10px; }
/* Real screenshot in place of the drawn mock page. */
.work-shot { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; object-position: top; }
.work-thumb .mock-bar { padding: 8px 10px; }
.work-thumb .mock-dot { width: 7px; height: 7px; }
.work-thumb .mock-url { font-size: 9.5px; padding: 2px 9px; }
.work-thumb .mock-logo { width: 18px; height: 18px; border-radius: 5px; background: var(--wa, var(--green)); }
.work-thumb .mock-btn { width: 42px; height: 15px; background: var(--wa, var(--green)); }
.work-thumb .mock-links i { width: 20px; height: 4px; }
.work-thumb .mock-h1 { height: 11px; background: color-mix(in oklch, var(--wa, var(--green)) 30%, var(--card)); }
.work-thumb .mock-text { height: 5px; }
.work-thumb .mock-cta { width: 64px; height: 17px; background: var(--wa, var(--green)); margin-top: 4px; }
.work-thumb .mock-cards i { height: 34px; }
.work-view {
  position: absolute;
  inset: auto 0 12px;
  display: flex;
  justify-content: center;
  opacity: 0;
  translate: 0 8px;
  transition: opacity .3s ease, translate .3s ease;
  pointer-events: none;
}
.work-view span {
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 100px;
  box-shadow: 0 12px 24px -10px oklch(from var(--shadow-tint) l c h / 0.5);
}
.work-card:hover .work-view, .work-card:focus-visible .work-view { opacity: 1; translate: 0 0; }
.work-body { padding: 22px 24px 24px; }
.work-tag { font-size: 13px; font-weight: 700; color: var(--green-label); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; }
.work-name { font-family: 'Bricolage Grotesque', sans-serif; font-size: 19px; font-weight: 700; color: var(--ink); }
.work-result {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
}
.work-result svg { width: 14px; height: 14px; }

/* ============ Process (dark band) ============ */

.process-section {
  background: oklch(0.2 0.015 150);
  margin: 0 calc(-1 * clamp(20px, 5vw, 64px));
  padding: clamp(64px, 7vw, 96px) clamp(20px, 5vw, 64px);
  border-radius: 28px;
}
.process-section .eyebrow-label { color: oklch(0.75 0.15 150); }
.process-section h2 { color: white; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card { padding: 28px; border-radius: 16px; border: 1px solid oklch(0.32 0.03 150); transition: transform .3s ease, background .3s ease; }
.step-card:hover { transform: translateY(-6px); background: oklch(0.26 0.03 150); }
.step-num { font-family: 'Bricolage Grotesque', sans-serif; font-size: 34px; font-weight: 800; color: oklch(0.65 0.15 150); margin-bottom: 16px; transition: color .3s; }
.step-card:hover .step-num { color: oklch(0.8 0.16 150); }
.step-title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 19px; font-weight: 700; color: white; margin-bottom: 10px; }
.step-body { font-size: 14.5px; line-height: 1.6; color: oklch(0.75 0.02 150); }

/* ============ Split cards (services) ============ */

.split-section { padding: 0 0 clamp(72px, 9vw, 120px); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split-card {
  border-radius: 20px;
  padding: clamp(30px, 3.4vw, 44px);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.split-card.google { background: linear-gradient(145deg, light-dark(oklch(0.96 0.02 230), oklch(0.23 0.03 240)), light-dark(oklch(0.92 0.045 255), oklch(0.26 0.05 255))); }
.split-card.meta { background: linear-gradient(145deg, light-dark(oklch(0.96 0.025 300), oklch(0.23 0.03 300)), light-dark(oklch(0.93 0.05 330), oklch(0.26 0.05 320))); }
.split-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--card);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 10px 20px -10px oklch(0.3 0.05 260 / 0.35);
}
.split-icon svg { width: 26px; height: 26px; }
.split-card h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 24px; font-weight: 700; margin: 0 0 12px; }
.split-card p { font-size: 15.5px; line-height: 1.65; color: var(--ink-soft); margin: 0 0 22px; }
.split-card .ads-chips { margin-bottom: 0; }
.split-card .ads-chip {
  background: light-dark(oklch(1 0 0 / 0.65), oklch(0.18 0.015 150 / 0.5));
  color: var(--ink);
  border-color: var(--border-strong);
}
.split-card .ads-chip:hover { background: var(--card); }

/* ============ Pricing ============ */
/* A two-step path: Step 1 is Launch (with Foundation attached), Step 2 is
   Growth/Scale. */

.pricing-section { padding: clamp(40px, 5vw, 56px) 0 clamp(72px, 9vw, 112px); }
.plan-step + .plan-step { margin-top: clamp(64px, 8vw, 104px); }
.step-head { max-width: 660px; margin-bottom: 26px; }
.step-head .eyebrow-label { margin-bottom: 10px; }
.step-head h2 {
  font-size: clamp(26px, 1.8vw + 10px, 34px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
.step-intro { margin: 12px 0 0; font-size: 16px; line-height: 1.6; color: var(--ink-soft); text-wrap: pretty; }
.step-intro strong { color: var(--ink); font-weight: 700; }
.step-footnote { margin: 18px 0 0; font-size: 14px; line-height: 1.55; color: var(--muted); }

/* Shared plan card */
.plan-card {
  position: relative;
  border-radius: 20px;
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 18px 40px -28px oklch(from var(--shadow-tint) l c h / 0.35);
}
.plan-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 6px;
  color: var(--ink);
}
.plan-desc { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 0 0 20px; text-wrap: pretty; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 0 0 22px; }
.price-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.price-period { font-size: 14.5px; color: var(--muted); }
.plan-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; align-content: start; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.45; color: var(--ink); }
.plan-features .check { color: var(--green); display: inline-flex; flex-shrink: 0; margin-top: 2px; }
.plan-features .check svg { width: 16px; height: 16px; }
.plan-cta { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; }
.plan-cta a:not(.btn-primary) {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  font-weight: 700;
  font-size: 15.5px;
  padding: 12px 24px;
  border-radius: 12px;
  border: 1.5px solid var(--border-strong);
  color: var(--ink);
  transition: transform .2s, background .2s, box-shadow .2s;
}
.plan-cta a:not(.btn-primary):hover { background: var(--hover-fill); transform: translateY(-2px); }
.plan-next { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }

/* Step 1: Launch leads — price and action on the left, what you get on the right */
.plan-launch {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 3.4vw, 44px);
}
.launch-main { display: flex; flex-direction: column; }
.launch-main .plan-price { margin-bottom: 10px; }
.plan-launch .price-num { font-size: 52px; }
.launch-plus { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--ink-soft); }
.launch-plus strong { color: var(--ink); font-weight: 700; }
.launch-total {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.5;
}
.launch-total strong { color: var(--green-deep); font-weight: 800; }
.launch-main .plan-cta { margin-top: auto; padding-top: 28px; }
.launch-includes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px clamp(24px, 3vw, 40px);
  align-content: start;
  padding-left: clamp(28px, 4vw, 56px);
  border-left: 1px solid var(--border);
}
.include-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 16px;
  min-height: 28px;
}
.include-price {
  font-family: 'Figtree', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--green-deep);
  background: var(--green-soft);
  padding: 3px 10px;
  border-radius: 100px;
}
.foundation-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-deep);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
.foundation-mark svg { width: 17px; height: 17px; }
.nowrap { white-space: nowrap; }
.include-note { margin: 16px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
#foundation { scroll-margin-top: 110px; }

/* Step 2: Growth and Scale share row tracks so names, prices and buttons line up */
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.pricing-grid .plan-card { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
.plan-card.featured {
  background: var(--green-fill);
  border-color: var(--green-fill);
  box-shadow: 0 28px 56px -30px oklch(from var(--green-fill) l c h / 0.75);
}
.plan-card.featured .plan-name,
.plan-card.featured .price-num,
.plan-card.featured .plan-features li,
.plan-card.featured .plan-features .check { color: white; }
.plan-card.featured .plan-desc,
.plan-card.featured .price-period,
.plan-card.featured .plan-next { color: oklch(0.94 0.025 150); }
.plan-card.featured .plan-cta a { background: white; border-color: white; color: oklch(0.4 0.12 150); }
.plan-card.featured .plan-cta a:hover { background: oklch(0.96 0.02 150); }
.plan-card.featured :focus-visible { outline-color: white; }
.plan-badge {
  position: absolute;
  top: -13px;
  left: clamp(26px, 3vw, 36px);
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-unsure {
  text-align: center;
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--muted);
}
.pricing-unsure a { font-weight: 700; }

/* Pricing: compact page hero so Step 1 lands above the fold */
.page-hero-compact { padding-top: clamp(48px, 6vw, 72px); }
.page-hero-compact h1 { margin-bottom: 14px; }

@media (max-width: 960px) {
  .plan-launch { grid-template-columns: 1fr; }
  .launch-main .plan-cta { margin-top: 0; }
  .launch-includes { padding-left: 0; border-left: 0; padding-top: 28px; border-top: 1px solid var(--border); }
}
@media (max-width: 760px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .launch-includes { grid-template-columns: 1fr; }
  .plan-launch .price-num { font-size: 46px; }
  .pricing-grid .plan-card.mobile-active { display: flex; flex-direction: column; }
}

/* ============ FAQ (native exclusive accordion) ============ */

.faq-section { padding: 0 0 clamp(72px, 9vw, 120px); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: box-shadow .3s ease;
}
.faq-item[open] { box-shadow: 0 20px 40px -24px oklch(from var(--shadow-tint) l c h / 0.4); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 17px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-arrow {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  transition: transform .3s ease, background .3s, color .3s;
}
.faq-item[open] .faq-arrow { transform: rotate(45deg); background: var(--green-fill); color: white; }
.faq-body { padding: 0 26px 24px; font-size: 15px; line-height: 1.65; color: var(--ink-soft); }
/* Smooth open/close where ::details-content is supported */
.faq-item::details-content {
  opacity: 0;
  block-size: 0;
  overflow: hidden;
  transition: block-size .35s ease, opacity .3s ease, content-visibility .35s allow-discrete;
}
.faq-item[open]::details-content { opacity: 1; block-size: auto; }

/* ============ CTA ============ */

.cta-section { padding: 0 0 clamp(80px, 9vw, 120px); text-align: center; }
.cta-box {
  background: linear-gradient(135deg, light-dark(oklch(0.94 0.04 150), oklch(0.23 0.035 150)), light-dark(oklch(0.96 0.03 90), oklch(0.22 0.025 90)));
  border-radius: 28px;
  padding: clamp(56px, 7vw, 96px) clamp(24px, 4vw, 48px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(oklch(0.55 0.06 150 / 0.25) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 45% 60% at 86% 18%, black, transparent 75%);
  mask-image: radial-gradient(ellipse 45% 60% at 86% 18%, black, transparent 75%);
  pointer-events: none;
}
.cta-box .bubble-a { top: auto; bottom: -20px; right: 6%; width: 110px; height: 110px; }
.cta-box .bubble-c { bottom: auto; top: 22px; left: 5%; }
.cta-box .bubble-d { bottom: 24%; left: 12%; }
.cta-box h2 { font-size: clamp(30px, 3vw + 6px, 44px); font-weight: 700; letter-spacing: -0.01em; margin: 0 0 20px; }
.cta-box p { font-size: 18px; color: var(--ink-soft); max-width: 480px; margin: 0 auto 32px; }
.cta-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.cta-avatars { display: flex; }
.cta-avatars span {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid light-dark(oklch(0.96 0.03 120), oklch(0.3 0.03 150));
  color: var(--green-deep);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 12px;
  display: inline-flex; align-items: center; justify-content: center;
}
.cta-avatars span + span { margin-left: -10px; }
.cta-proof-text { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.cta-proof-stars { display: inline-flex; gap: 2px; color: var(--star); }
.cta-proof-stars svg { width: 15px; height: 15px; }

/* ============ Contact ============ */

.contact-section { padding: clamp(48px, 6vw, 72px) 0 clamp(80px, 9vw, 120px); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 16px; }
.contact-info p { font-size: 16px; line-height: 1.65; color: var(--ink-soft); margin: 0 0 28px; max-width: 420px; }
.contact-points { display: flex; flex-direction: column; gap: 16px; }
.contact-point { display: flex; gap: 14px; align-items: flex-start; }
.contact-point .icon-wrap { width: 44px; height: 44px; margin: 0; flex-shrink: 0; }
.contact-point .icon-wrap svg { width: 20px; height: 20px; }
.contact-point .point-title { font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.contact-point .point-sub { font-size: 14px; color: var(--muted); line-height: 1.5; }

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(26px, 3.4vw, 40px);
  box-shadow: 0 24px 48px -32px oklch(from var(--shadow-tint) l c h / 0.35);
}
.contact-card h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 8px; }
.contact-card > p { font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 24px; }
.contact-options { display: flex; flex-direction: column; gap: 12px; }
.contact-options .btn-primary,
.contact-options .btn-secondary { width: 100%; }
.contact-options svg { width: 20px; height: 20px; flex-shrink: 0; }
.contact-address {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}
.contact-address a { font-weight: 700; color: var(--ink-soft); overflow-wrap: anywhere; }

/* ============ Footer ============ */

.site-footer {
  border-top: 1px solid var(--border);
  padding: clamp(40px, 5vw, 64px) 0 32px;
  font-size: 14.5px;
  color: var(--muted);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 48px);
  margin-bottom: 40px;
}
.footer-about .brand { margin-bottom: 14px; }
.footer-about p { margin: 0 0 16px; line-height: 1.6; max-width: 280px; }
.footer-email { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.footer-email svg { width: 16px; height: 16px; }
.footer-col h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col ul a { color: var(--muted); font-weight: 600; }
.footer-col ul a:hover { color: var(--link-hover); }
.footer-cta-col p { margin: 0 0 16px; line-height: 1.6; }
.footer-cta-col .btn-primary { font-size: 15px; padding: 12px 22px; min-height: 44px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--ink); }
.footer-socials { display: flex; gap: 6px; }
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  color: var(--muted);
  transition: color .2s, background .2s;
}
.footer-socials a:hover { color: var(--green-deep); background: var(--green-soft); }
.footer-socials svg { width: 19px; height: 19px; }

/* ============ Sticky mobile CTA bar ============ */

.mobile-cta-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--card-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  translate: 0 110%;
  transition: translate .35s cubic-bezier(.2,.8,.2,1);
}
.mobile-cta-bar.show { translate: 0 0; }
.mobile-cta-bar .btn-primary { width: 100%; font-size: 15.5px; }
@media (max-width: 860px) {
  .mobile-cta-bar { display: block; }
  body.has-cta-bar { padding-bottom: 76px; }
}

/* ============ Scroll reveal ============ */

/* JS fallback path (IntersectionObserver) */
.reveal {
  opacity: 0;
  translate: 0 26px;
  transition: opacity .6s ease, translate .6s cubic-bezier(.2,.8,.2,1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.in { opacity: 1; translate: 0 0; }

/* Modern path: CSS scroll-driven animation (translate composes with hover transforms) */
.reveal-sda {
  animation: revealIn ease-out both;
  animation-timeline: view();
  animation-range: entry 0% entry 38%;
}
@keyframes revealIn {
  from { opacity: 0; translate: 0 30px; }
  to { opacity: 1; translate: 0 0; }
}

/* ============ Keyframes ============ */

@keyframes blobFloat {
  0%, 100% { translate: 0 0; scale: 1; }
  33% { translate: 30px -24px; scale: 1.08; }
  66% { translate: -20px 18px; scale: 0.95; }
}
@keyframes bubbleDrift {
  0%, 100% { translate: 0 0; scale: 1; }
  25% { translate: 22px -48px; scale: 1.05; }
  50% { translate: -14px -84px; scale: 0.97; }
  75% { translate: -30px -36px; scale: 1.03; }
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(-2deg); }
}
@keyframes cardFloat2 {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-9px) rotate(3deg); }
}
@keyframes wordIn {
  from { opacity: 0; transform: translateY(16px) rotate(2deg); }
  to { opacity: 1; transform: translateY(0) rotate(0); }
}
@keyframes sway {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(4deg); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: .5; }
  50% { transform: scale(1.35); opacity: 0; }
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 oklch(0.7 0.18 150 / 0.6); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px oklch(0.7 0.18 150 / 0); }
}

/* ============ Pause off-screen decorative motion ============ */

/* Blobs/bubbles/ads-box glow drift indefinitely; paused via IO in main.js
   once their host section scrolls out of view, so compositing cost isn't
   paid for decoration nobody can see. */
.decor-paused .blob-a,
.decor-paused .blob-b,
.decor-paused .blob-c,
.decor-paused .blob-d,
.decor-paused .bubble,
.decor-paused.ads-box::before,
.decor-paused.ads-box::after {
  animation-play-state: paused;
}

/* ============ Reduced motion ============ */

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

/* ============ Responsive ============ */

@media (max-width: 1080px) {
  .services-grid, .work-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .ads-inner { grid-template-columns: 1fr; gap: 44px; }
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "roas roas"
      "cpl launch"
      "quote quote";
  }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    background: light-dark(oklch(1 0 0 / 0.97), oklch(0.2 0.02 150 / 0.97));
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 20px 40px -20px oklch(from var(--shadow-tint) l c h / 0.4);
  }
  .site-nav.menu-open .nav-links { display: flex; }
  .nav-links .navlink { display: block; padding: 13px 14px; font-size: 16px; border-radius: 10px; }
  .nav-links .navlink::after { display: none; }
  .nav-links .navlink:hover, .nav-links .navlink.active { background: var(--green-soft); }
  .nav-cta-mobile {
    display: block;
    margin-top: 6px;
    background: var(--green-fill);
    color: white !important;
    text-align: center;
    font-weight: 700;
  }
  .nav-links .nav-cta-mobile:hover { background: var(--green-fill-hover); }

  .hero { flex-direction: column; }
  .hero-copy, .hero-visual { flex: unset; width: 100%; }
  .hero-visual { margin-top: 32px; }
  .hero p.lede { max-width: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .split-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .services-grid, .work-grid, .pricing-grid, .process-grid { grid-template-columns: 1fr; }

  /* De-boxed mobile layout: services, results, testimonials, and work drop
     their card chrome and read as flowing content divided by hairlines or
     color instead of stacked bordered boxes. Pricing plans, the contact
     card, and FAQ items stay real cards — they're genuinely discrete units
     (a plan to pick, a way to get in touch, a control to expand). */

  .services-grid { gap: 0; }
  .service-card {
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 28px 0;
  }
  .service-card:first-child { padding-top: 0; }
  .service-card + .service-card { border-top: 1px solid var(--border); }

  .bento-grid { grid-template-columns: 1fr; grid-template-areas: none; gap: 0; }
  .bento-roas, .bento-cpl, .bento-launch, .bento-quote { grid-area: auto; }
  .bento-tile {
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 24px 0;
    min-height: 0;
  }
  .bento-tile:first-child { padding-top: 0; }
  .bento-roas { background: none; }
  .bento-roas .bento-num { font-size: clamp(44px, 13vw, 56px); }
  .bento-tile + .bento-tile { border-top: 1px solid var(--border); }

  .testimonials-grid { gap: 0; }
  .testimonial-card {
    border: none;
    border-radius: 0;
    box-shadow: none;
    margin: 0 calc(-1 * clamp(20px, 5vw, 64px));
    padding: 28px clamp(20px, 5vw, 64px);
  }

  .work-grid { gap: 0; }
  .work-card { background: none; border: none; border-radius: 0; box-shadow: none; }
  .work-card + .work-card { border-top: 1px solid var(--border); margin-top: 28px; padding-top: 28px; }
  .work-thumb { margin: 0 calc(-1 * clamp(20px, 5vw, 64px)); padding: 6px clamp(20px, 5vw, 64px) 0; }
  .work-body { padding: 20px 0 0; }

  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn-primary, .hero-ctas .btn-secondary { width: 100%; }
  .hero-mock-wrap { margin: 0 8px; }
  .card-a-float { left: -6px; top: 18px; padding: 12px 16px; }
  .card-a-value .num { font-size: 22px; }
  .card-b-float { right: -4px; bottom: 20px; padding: 11px 14px; }
  .blob-a { width: 320px; height: 320px; left: -140px; }
  .blob-b { width: 280px; height: 280px; right: -120px; }
  nav.site-nav { padding: 13px 16px; margin-top: 10px; top: 8px; }
  .brand-name { font-size: 19px; }
  .faq-item summary { padding: 18px 20px; font-size: 16px; }
  .faq-body { padding: 0 20px 20px; }
  .work-head { align-items: start; flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ============ Pricing tabs (mobile) ============ */
/* Every plan's name + price stays visible at once in a wrapping chip strip
   (no scrolling required to see what exists) while only the selected plan's
   full detail card renders below — tapping a chip swaps the card in place.
   Desktop is untouched; without JS, .pricing-grid falls back to the plain
   1-column stack set at the top of this breakpoint. */

@media (max-width: 640px) {
  .pricing-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-block: 4px 22px;
  }
  .pricing-tab {
    flex: 1 1 0; /* three plans share one row */
    min-width: 84px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 8px 9px;
    border-radius: 14px;
    border: 1.5px solid var(--border);
    background: var(--card);
    text-align: center;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .15s ease;
  }
  .pricing-tab:hover { border-color: var(--border-strong); }
  .pricing-tab:active { transform: scale(0.97); }
  .pricing-tab-name {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
  }
  .pricing-tab-price { font-size: 12px; color: var(--muted); line-height: 1.2; }
  .pricing-tab[aria-selected="true"] {
    border-color: var(--green);
    background: var(--green-soft);
    box-shadow: 0 6px 16px -10px oklch(from var(--shadow-tint) l c h / 0.4);
  }
  .pricing-tab[aria-selected="true"] .pricing-tab-name,
  .pricing-tab[aria-selected="true"] .pricing-tab-price { color: var(--green-deep); }

  .pricing-grid.js-tabs { display: block; }
  .pricing-grid.js-tabs .plan-card { display: none; }
  .pricing-grid.js-tabs .plan-card.mobile-active {
    display: flex;
    animation: pricing-panel-in .2s ease;
  }
}
@keyframes pricing-panel-in {
  from { opacity: 0; translate: 0 6px; }
  to { opacity: 1; translate: 0 0; }
}
@media (min-width: 641px) {
  .pricing-tabs { display: none; }
}
