/* ==========================================================================
   Horizon AI - v3 preview stylesheet
   Three section tones: white / cream / ink. Single green accent.
   ========================================================================== */

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/geist-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: 'Geist Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/assets/fonts/geist-mono-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;
}

:root {
  --page: #ffffff;
  --cream: #f5f2ec;
  --cream-2: #efebe1;
  --ink: #0d0d0d;
  --ink-2: #1a1a1a;
  --body: #2a2926;
  --muted: #5f5e57;
  --soft: #8e8b83;
  --line: #e8e5dd;
  --line-dark: rgba(255, 255, 255, 0.12);
  --green: #1f7a52;
  --green-bright: #2fa56e;
  --green-soft: #d6efe2;
  --green-glow: #b3f1cf;
  --orange: #d97757;
  --pink: #dc4776;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 18px 50px rgba(13, 13, 13, 0.06), 0 2px 6px rgba(13, 13, 13, 0.04);
  --shadow-elev: 0 40px 90px rgba(13, 13, 13, 0.18);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --dur-mid: 320ms;
  --dur-slow: 600ms;
  --font-body: 'Geist', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Geist', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
}

code, pre, kbd, samp {
  font-family: var(--font-mono);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  background: var(--page);
  color: var(--body);
  font-size: 16.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

button, input, textarea, select { font: inherit; }

/* ----- layout shell ----- */
.wrap {
  width: min(1200px, calc(100% - 56px));
  margin: 0 auto;
}

.wrap-narrow {
  width: min(900px, calc(100% - 56px));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 120px 0;
}

.section.tight { padding: 80px 0; }
.section.cream { background: var(--cream); }
.section.dark { background: var(--ink); color: #e8e6e0; }
.section.dark .muted-line { color: #a8a59c; }

.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
  padding: 0.38rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green-bright);
  box-shadow: 0 0 0 4px rgba(47, 165, 110, 0.18);
  animation: dot-pulse 1.8s ease-in-out infinite;
}

.pill .pill-dot {
  animation: dot-pulse 1.8s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(47, 165, 110, 0.18);
  }
  50% {
    transform: scale(1.25);
    box-shadow: 0 0 0 7px rgba(47, 165, 110, 0.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .eyebrow .dot,
  .pill .pill-dot,
  .visual-card .vc-head .live .live-dot {
    animation: none !important;
  }
}

.section.dark .eyebrow {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f5f3ee;
}

.section.cream .eyebrow {
  background: rgba(255, 255, 255, 0.85);
}

/* ----- typography ----- */
h1, h2, h3, h4, p { margin-top: 0; }

h1, h2 {
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1;
  font-weight: 500;
}

h1 {
  font-size: clamp(2.6rem, 5.4vw, 5rem);
  margin-bottom: 1.1rem;
}

h2 {
  font-size: clamp(2.1rem, 3.8vw, 3.4rem);
  margin-bottom: 1.1rem;
  line-height: 1.04;
}

h3 {
  font-size: 1.18rem;
  margin-bottom: 0.55rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-weight: 700;
}

.section.dark h1,
.section.dark h2,
.section.dark h3 {
  color: #ffffff;
}

/* Heading accent: matches homepage's green/black treatment site-wide */
.h-muted { color: var(--green); }
.section.dark .h-muted { color: var(--green-bright, #2fa56e); }

.lede {
  max-width: 540px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.6;
}

.section.dark .lede { color: #c4c1b9; }

.section p { color: var(--muted); }
.section.dark p { color: #c4c1b9; }

/* ----- header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(232, 229, 221, 0.6);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
}

.brand-logo {
  display: block;
  width: 148px;
  max-width: 42vw;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 600;
}

.nav-links a { white-space: nowrap; transition: opacity 200ms var(--ease); }
.nav-links a:hover { opacity: 0.65; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.05rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  transition: transform 200ms var(--ease), background 200ms var(--ease);
}

.nav-cta:hover { transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  padding: 0;
}

.nav-toggle .nav-toggle-icon { display: block; }
.nav-toggle .nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: block; }

/* Legacy CSS-bar fallback for any cached old markup */
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4.5px auto;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}

/* ----- buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: transform var(--dur-mid) var(--ease-out), box-shadow var(--dur-mid) var(--ease-out), background var(--dur-mid) var(--ease-out);
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 42px rgba(13, 13, 13, 0.22); }

.btn .btn-arrow {
  position: relative;
  width: 16px;
  height: 16px;
  overflow: hidden;
  display: inline-block;
}

.btn .btn-arrow svg {
  position: absolute;
  inset: 0;
  transition: transform var(--dur-mid) var(--ease-out);
}

.btn .btn-arrow svg + svg {
  transform: translate(-100%, 100%);
}

.btn:hover .btn-arrow svg:first-child { transform: translate(120%, -120%); }
.btn:hover .btn-arrow svg + svg { transform: translate(0, 0); }

.btn.ghost {
  background: transparent;
  color: var(--ink);
}

.btn.light {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.btn.ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn.green {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.btn.green:hover { background: var(--green-bright); border-color: var(--green-bright); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.microcopy {
  margin: 0.95rem 0 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.microcopy .check {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.section.dark .microcopy { color: #b8b6ad; }
.section.dark .microcopy .check { background: rgba(47, 165, 110, 0.18); color: var(--green-glow); }

/* ----- HERO ----- */
.hero {
  position: relative;
  padding: 56px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 100% -10%, rgba(47, 165, 110, 0.10), transparent 70%),
    radial-gradient(ellipse 60% 50% at 0% 110%, rgba(13, 13, 13, 0.04), transparent 60%),
    var(--page);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(13,13,13,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(13,13,13,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  mask-image: radial-gradient(ellipse 70% 65% at 50% 30%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 30%, #000 30%, transparent 78%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
  gap: 60px;
  align-items: center;
}

/* Cleaned hero variant - single-column, centered text, generous breathing room */
.hero.hero-clean { padding: 96px 0 120px; }
.hero.hero-clean .hero-grid {
  grid-template-columns: 1fr;
  max-width: 880px;
  margin: 0 auto;
}
.hero.hero-clean .hero-copy { text-align: center; }
.hero.hero-clean .hero-copy h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); margin: 0 auto 1.4rem; max-width: 800px; }
.hero.hero-clean .hero-copy .hero-lede { margin: 0 auto 2rem; max-width: 600px; }
.hero.hero-clean .hero-copy .btn-row { justify-content: center; }
.hero.hero-clean .hero-copy .microcopy { justify-content: center; display: inline-flex; }

/* Secondary text-link CTA (sits next to the primary .btn) */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  transition: opacity var(--dur-mid) var(--ease-out), transform var(--dur-mid) var(--ease-out);
  opacity: 0.85;
}
.btn-secondary:hover { opacity: 1; transform: translateY(1px); }
.btn-secondary svg { transition: transform var(--dur-mid) var(--ease-out); }
.btn-secondary:hover svg { transform: translateY(3px); }
.hero.hero-clean .hero-copy .btn-row { gap: 1rem; align-items: center; }

/* ----- SECTOR DASHBOARD SHOWCASE - phone frame + live iframe ----- */
.sector-dashboard-section { padding: 88px 0 96px; background: #ffffff; }
.sector-dashboard-section .section-head.center { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.sector-dashboard-section .section-head.center .lede { margin: 0.5rem auto 0; }
.sector-dashboard-head { margin-bottom: 48px !important; }
/* Lede + hint live in the right column on industry pages, not under the H2. */
.sector-dashboard-section .product-demo-aside .product-demo-lede {
  font-size: 1.02rem;
  color: var(--ink-2, #4a4a4a);
  line-height: 1.55;
  margin: 0 0 1.1rem;
}
/* Hint sits in the right column on both homepage and industry pages. Tight spacing,
   left-aligned, overriding the centered/large margin from the generic .product-demo-hint rule. */
.product-demo-aside .sector-demo-hint,
.sector-dashboard-section .product-demo-aside .sector-demo-hint {
  margin: 0.1rem 0 1.1rem;
  align-self: flex-start;
}
/* Left-pointing arrow bounces horizontally toward the phone, not vertically. */
.sector-demo-hint .hint-arrow { animation: hint-bounce-left 1.1s cubic-bezier(0.34, 1.34, 0.64, 1) infinite; }
@keyframes hint-bounce-left {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(-7px); }
}
@media (prefers-reduced-motion: reduce) { .sector-demo-hint .hint-arrow { animation: none; } }
@media (max-width: 760px) {
  .sector-dashboard-section .sector-demo-hint { display: none !important; }
  .sector-dashboard-section .product-demo-aside .product-demo-lede {
    font-size: 0.98rem;
    text-align: center;
    max-width: 480px;
    margin: 0 auto 1.1rem;
  }
}

.dashboard-stage {
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
  justify-content: center;
}

.phone-frame {
  position: relative;
  width: 100%;
  max-width: 392px;
  aspect-ratio: 9 / 19.5;
  margin: 0 auto;
  background: #0a0a0a;
  border-radius: 56px;
  padding: 14px;
  box-shadow:
    0 60px 120px rgba(13, 13, 13, 0.32),
    0 30px 60px rgba(13, 13, 13, 0.22),
    inset 0 0 0 2px rgba(255, 255, 255, 0.04),
    inset 0 0 0 4px rgba(13, 13, 13, 0.8);
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 44px;
  overflow: hidden;
  isolation: isolate;
}
.phone-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: var(--cream);
}
.phone-notch {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 28px;
  background: #0a0a0a;
  border-radius: 999px;
  z-index: 2;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.phone-button {
  position: absolute;
  background: #1a1a1a;
  border-radius: 1px;
  z-index: 1;
}
.phone-button-side { right: -2px; top: 240px; width: 2px; height: 64px; }
.phone-button-power { left: -2px; top: 178px; width: 2px; height: 56px; }
.phone-button-vol-up { left: -2px; top: 130px; width: 2px; height: 38px; }
.phone-button-vol-down { left: -2px; top: 84px; width: 2px; height: 28px; }

.dashboard-aside { padding-right: 24px; }
.dash-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.dash-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.dash-points li {
  padding-left: 1.4rem;
  position: relative;
  color: var(--muted);
  line-height: 1.5;
}
.dash-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 999px;
}
.dash-points li strong { color: var(--ink); font-weight: 600; }
.dash-note {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 1.4rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--green);
  background: rgba(31, 122, 82, 0.04);
  border-radius: 0 6px 6px 0;
}
.dash-cta { font-size: 0.92rem; }

@media (max-width: 1080px) {
  .dashboard-stage {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 560px;
    margin: 0 auto;
  }
  .dashboard-aside { padding-right: 0; text-align: center; }
  .dash-points { max-width: 460px; margin: 0 auto 1.6rem; text-align: left; }
}

@media (max-width: 760px) {
  .sector-dashboard-section { padding: 56px 0; }
  .phone-frame { max-width: 320px; border-radius: 44px; padding: 10px; }
  .phone-screen { border-radius: 36px; }
  .phone-notch { top: 18px; width: 76px; height: 22px; }
}

/* ----- HOMEPAGE PRODUCT DEMO - large centered phone-frame, the wow moment ----- */
.product-demo { padding: 120px 0; background: var(--cream); }
.product-demo-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.product-demo-head h2 { font-size: clamp(2.4rem, 4.6vw, 4rem); margin: 0.4rem 0 1rem; }
.product-demo-head .lede { margin: 0 auto; max-width: 600px; }
.product-demo-head .accent { color: var(--green); font-style: italic; font-weight: 500; }
/* Slim variant: H2 only, chips sit right under it before the phone-stage. */
.product-demo-head.product-demo-head-slim { margin-bottom: 28px; }
.product-demo-head.product-demo-head-slim h2 { margin-bottom: 0; }
.dash-chip-row.dash-chip-row-top {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 1040px;
  margin: 0 auto 44px;
  padding: 0 16px;
}
.dash-chip-row.dash-chip-row-top .dash-chip {
  padding: 7px 13px;
  font-size: 0.82rem;
  white-space: nowrap;
}
/* When the lede lives inside .product-demo-aside (homepage + industry), match the .sector-demo-hint look. */
.product-demo-aside .product-demo-lede {
  font-size: 1.02rem;
  color: var(--ink-2, #4a4a4a);
  line-height: 1.55;
  margin: 0 0 1.1rem;
}
@media (max-width: 760px) {
  .product-demo-aside .product-demo-lede {
    font-size: 0.98rem;
    text-align: center;
    max-width: 480px;
    margin: 0 auto 1.1rem;
  }
  .dash-chip-row.dash-chip-row-top { gap: 6px; margin-bottom: 28px; }
}

.product-demo-hint,
.product-demo .product-demo-head .product-demo-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 1.6rem auto 0;
  padding: 0.6rem 1.15rem;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: #ffffff !important;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  box-shadow: 0 14px 32px rgba(13, 13, 13, 0.18), 0 2px 4px rgba(13, 13, 13, 0.08);
}
.product-demo-hint .hint-arrow { color: #ffffff !important; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); }
.hint-arrow {
  display: inline-block;
  font-size: 1.18rem;
  line-height: 1;
  font-weight: 700;
  animation: hint-bounce 1.1s cubic-bezier(0.34, 1.34, 0.64, 1) infinite;
}
@keyframes hint-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(9px); }
}
@media (prefers-reduced-motion: reduce) { .hint-arrow { animation: none; } }

/* ----- Dashboard sector switcher (homepage) ----- */
.dash-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}
.dash-chip-row.mobile-only { display: none; }
.dash-chip-row.desktop-only {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 22px;
}
@media (max-width: 900px) {
  .dash-chip-row.mobile-only {
    display: flex;
    justify-content: center;
    max-width: 760px;
    margin: 0 auto 28px;
    padding: 0 16px;
  }
  .dash-chip-row.desktop-only { display: none; }
}
.dash-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: #fff;
  border: 1px solid rgba(13, 13, 13, 0.10);
  border-radius: 999px;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.08s ease, box-shadow 0.16s ease;
  box-shadow: 0 1px 2px rgba(13, 13, 13, 0.04);
}
.dash-chip:hover { border-color: rgba(13, 13, 13, 0.22); transform: translateY(-1px); box-shadow: 0 4px 10px rgba(13, 13, 13, 0.08); }
.dash-chip:active { transform: translateY(0); }
.dash-chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: 0 6px 16px rgba(13, 13, 13, 0.18);
}
@media (max-width: 720px) {
  .dash-chip-row { gap: 6px; margin-bottom: 28px; }
  .dash-chip { padding: 7px 12px; font-size: 0.78rem; }
}

/* ----- Homepage combined tools section ----- */
.home-tools {
  padding: 64px 0;
  background: #fff;
  border-top: 1px solid rgba(13,13,13,0.06);
  border-bottom: 1px solid rgba(13,13,13,0.06);
}
.home-tools-head { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.home-tools-head .band-eyebrow {
  display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.8rem;
}
.home-tools-head h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 0 0 0.7rem; letter-spacing: -0.01em; line-height: 1.2; }
.home-tools-head .h-muted { color: var(--green); }
.home-tools-head p {
  margin: 0 auto; color: var(--ink-2, #4a4a4a); font-size: 0.98rem; line-height: 1.55;
  max-width: 660px;
}
.home-tools-head p a { color: var(--green); text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(31,122,82,0.3); }
.home-tools-head p a:hover { border-bottom-color: var(--green); }
.home-tools-row {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  max-width: 920px; margin: 0 auto;
}
.home-tools-row-ai {
  margin-bottom: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(13, 13, 13, 0.06);
}
.home-tools-row-ai .tools-tile {
  padding: 11px 18px;
  font-size: 0.96rem;
}
.home-tools-row-ai .tools-tile img {
  width: 22px; height: 22px;
}
.tools-tile {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px;
  background: #fff;
  border: 1px solid rgba(13,13,13,0.10);
  border-radius: 999px;
  font-size: 0.86rem; font-weight: 600; color: var(--ink);
  letter-spacing: -0.005em;
  box-shadow: 0 1px 2px rgba(13,13,13,0.04);
  transition: border-color 0.16s ease, transform 0.08s ease;
}
.tools-tile:hover { border-color: rgba(13,13,13,0.22); transform: translateY(-1px); }
.tools-tile img { width: 18px; height: 18px; object-fit: contain; filter: none; }
@media (max-width: 720px) {
  .home-tools { padding: 48px 0; }
  .home-tools-head { margin-bottom: 24px; }
  .tools-tile { padding: 7px 11px; font-size: 0.8rem; }
  .tools-tile img { width: 16px; height: 16px; }
}

.product-demo-stage {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
  justify-content: center;
  max-width: 1080px;
  margin: 0 auto;
}
.phone-frame.phone-frame-lg { max-width: 440px; }

.product-demo-aside { padding-right: 12px; }
.product-demo-aside .dash-label {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}
.product-demo-points {
  list-style: none; padding: 0; margin: 0 0 1.4rem;
  display: flex; flex-direction: column; gap: 1.05rem;
}
.product-demo-points li {
  padding-left: 1.6rem;
  position: relative;
  color: var(--muted);
  line-height: 1.55;
  font-size: 1.02rem;
}
.product-demo-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(31, 122, 82, 0.12);
}
.product-demo-points li strong { color: var(--ink); font-weight: 600; }
.product-demo-context {
  font-size: 0.92rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.55;
  margin-bottom: 1.6rem;
  padding-left: 0.85rem;
  border-left: 2px solid var(--line);
}
.product-demo-cta { font-size: 0.95rem; }

@media (max-width: 1080px) {
  .product-demo-stage {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 560px;
  }
  .product-demo-aside { padding-right: 0; text-align: center; }
  .product-demo-aside .dash-label { display: block; }
  .product-demo-points { max-width: 440px; margin: 0 auto 1.4rem; text-align: left; }
  .product-demo-context { max-width: 440px; margin: 0 auto 1.6rem; text-align: left; }
}

@media (max-width: 760px) {
  .product-demo { padding: 64px 0; }
  .phone-try-callout { right: -10px; top: -10px; font-size: 9.5px; padding: 6px 10px; }
}

.trust-mini {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  margin-bottom: 22px;
  padding: 0.7rem 1.05rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.trust-mini .star-row svg { width: 18px; height: 18px; }
.trust-mini .trust-text { font-size: 0.86rem; max-width: 320px; }

.trust-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.hero-orbs {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  flex-wrap: wrap;
  margin: 0.4rem 0 1.35rem;
}

.hero-orbs .trust-orbs { flex-shrink: 0; }

.hero-orbs-label {
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.005em;
  max-width: 320px;
  line-height: 1.35;
}

@media (max-width: 640px) {
  .hero-orbs-label { max-width: 100%; }
}

.star-row {
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
  color: var(--green-bright);
}

.star-row svg { width: 16px; height: 16px; }

.trust-text {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 500;
}

.trust-orbs {
  display: flex;
  align-items: center;
}

.trust-orb {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(13, 13, 13, 0.12);
}

.trust-orb + .trust-orb { margin-left: -10px; }
.trust-orb img { width: 22px; height: 22px; object-fit: contain; }
.trust-orb.orb-claude img, .trust-orb.orb-n8n img { filter: brightness(0) invert(1); }
.trust-orb.orb-claude img { width: 24px; height: 24px; }
.trust-orb.orb-n8n img { width: 26px; height: 14px; }
.orb-claude { background: #d97757; }
.orb-openai { background: #10a37f; }
.orb-gemini { background: #1d63ff; }
.orb-n8n { background: #ea4b71; }
.orb-make { background: #6b2cff; }
/* .orb-openclaw set below to keep the real lobster colour */
.trust-orb.orb-openclaw img { filter: none; width: 30px; height: 30px; }
.orb-openclaw { background: #fff; }

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero h1 .accent {
  color: var(--green);
}

.hero h1 .inline-logos {
  display: inline-flex;
  align-items: center;
  gap: 0.18em;
  margin: 0 0.12em;
  vertical-align: -0.05em;
}

.inline-logos .il {
  display: inline-flex;
  width: 0.85em;
  height: 0.85em;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 2px solid #fff;
  background: var(--ink);
  box-shadow: 0 4px 10px rgba(13, 13, 13, 0.16);
}

.inline-logos .il + .il { margin-left: -0.18em; }
.inline-logos .il img { width: 60%; height: 60%; object-fit: contain; }
.inline-logos .il img[alt="Claude"], .inline-logos .il img[alt="n8n"] { filter: brightness(0) invert(1); }
.inline-logos .il-claude { background: #d97757; }
.inline-logos .il-openai { background: #10a37f; }
.inline-logos .il-gemini { background: #1d63ff; }
.inline-logos .il-n8n { background: #ea4b71; }
.inline-logos .il-make { background: #6b2cff; }

.hero-lede {
  max-width: 600px;
  margin-bottom: 1.7rem;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.55;
}

.tool-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.4rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.78rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
}

.pill .pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green-bright);
}

/* ----- HERO mockup ----- */
.hero-mockup {
  position: relative;
  height: 520px;
}

.mock-card {
  position: absolute;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-elev);
  border: 1px solid rgba(13, 13, 13, 0.05);
  overflow: hidden;
}

.mock-browser {
  width: 100%;
  top: 0;
  left: 0;
}

.mock-browser .chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  background: #f5f3ee;
  border-bottom: 1px solid var(--line);
}

.mock-browser .chrome .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d6d3ca;
}

.mock-browser .url {
  flex: 1;
  margin-left: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.74rem;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

.mock-body {
  padding: 1.05rem 1.1rem;
  display: grid;
  gap: 0.7rem;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  background: #faf8f3;
  border: 1px solid var(--line);
}

.mock-row.green-flag {
  background: linear-gradient(135deg, #e9f8ee, #d8f2e3);
  border-color: #b9e9cf;
}

.mock-row.processing {
  background: #fff;
  border-color: var(--line);
}

.mock-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d97757, #c25a3b);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}

.mock-avatar.b { background: linear-gradient(135deg, #1d63ff, #163d99); }
.mock-avatar.c { background: linear-gradient(135deg, #10a37f, #0a7a5e); }

.mock-line {
  flex: 1;
  display: grid;
  gap: 0.18rem;
}

.mock-line .l1 {
  height: 7px;
  border-radius: 999px;
  background: #ded9cf;
  width: 60%;
}

.mock-line .l2 {
  height: 6px;
  border-radius: 999px;
  background: #ebe7dc;
  width: 90%;
}

.mock-row.green-flag .l1 { background: var(--green); width: 50%; }
.mock-row.green-flag .l2 { background: #6dc798; width: 80%; }

.mock-tag {
  font-size: 0.66rem;
  font-weight: 700;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  white-space: nowrap;
}

.mock-tag.green { background: #d6efe2; border-color: #b9e1cb; color: var(--green); }

.mock-browser {
  width: 86%;
  top: 0;
  right: 0;
}

.mock-slack {
  width: 64%;
  bottom: 0;
  left: 0;
  padding: 0.95rem 1rem;
  background: #1a1a1a;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.mock-slack .slack-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.6rem;
  color: #cfcbc2;
  font-size: 0.72rem;
}

.mock-slack .slack-head .bot {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--green-bright), var(--green));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}

.mock-slack .slack-msg {
  font-size: 0.85rem;
  line-height: 1.4;
}

.mock-slack .slack-msg strong { color: #ffffff; }
.mock-slack .slack-actions {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.65rem;
}

.mock-slack .slack-actions span {
  font-size: 0.7rem;
  padding: 0.32rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e8e6e0;
}

.mock-slack .slack-actions span.primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.mock-mini {
  width: 38%;
  bottom: 78px;
  right: -4px;
  padding: 0.85rem 0.9rem;
}

.mock-mini .mm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mock-mini h4 {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.mock-mini .mm-stat {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.mock-mini .mm-stat small {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 600;
  margin-left: 0.25rem;
}

.dot-path {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ----- LOGO STRIP ----- */
/* "Included with every engagement" band - sits before final CTA */
.included-band { padding: 64px 0; }
.included-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.included-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.included-band .tool-pills { margin: 0; }

.logo-strip {
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.logo-strip .strip-label {
  margin: 0 0 1.25rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.6rem 2rem;
  opacity: 1;
}

/* logo strip with real square brand marks - full colour */
.logo-row .logo-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  transition: opacity var(--dur-mid) var(--ease-out), transform var(--dur-mid) var(--ease-out);
  opacity: 0.92;
}

.logo-row .logo-item:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.logo-row .logo-item img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  padding: 4px;
  background: #fff;
  border: 1px solid rgba(13, 13, 13, 0.06);
  object-fit: contain;
  box-shadow: 0 1px 2px rgba(13, 13, 13, 0.04);
}

.logo-row .logo-item.has-mark .logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #ffffff;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 1px 2px rgba(13, 13, 13, 0.08);
}

.logo-row .logo-item .logo-name {
  white-space: nowrap;
}

/* ----- SERVICE TILES ----- */
.service-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.6rem 1.5rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
  min-height: 320px;
  overflow: hidden;
}

.tile::after {
  content: "";
  position: absolute;
  inset: auto -40% -40% auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(47, 165, 110, 0.10), transparent 70%);
  pointer-events: none;
}

.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-elev); }

a.tile.tile-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.tile.tile-card::before {
  content: "";
  position: absolute;
  top: 1.3rem;
  right: 1.3rem;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background-color: var(--ink);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 16 16" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 13L13 3M13 3H5.5M13 3v7.5"/></svg>');
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
  z-index: 2;
}
a.tile.tile-card:hover::before { opacity: 1; transform: translateY(0); }

.tile .num {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.tile .icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green);
  margin-bottom: 0.4rem;
}

.tile .icon svg { width: 22px; height: 22px; }

.tile h3 {
  font-size: 1.28rem;
  font-weight: 750;
  letter-spacing: -0.015em;
  margin-bottom: 0.3rem;
}

.tile p { color: var(--muted); margin: 0; }

.tile .tool-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
  margin-top: auto;
  padding-top: 1rem;
}

.tile .tool-chips span {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: #f5f2ec;
  color: var(--ink);
  border: 1px solid var(--line);
}

/* ----- VENDOR SPECIFICS (software page research block) ----- */
.vendor-specifics { background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }
.vendor-specifics .vs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  margin-top: 1rem;
}
.vendor-specifics .vs-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.vendor-specifics .vs-use-case {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  padding: 1.4rem 1.5rem;
  background: #fff;
  border-left: 4px solid var(--green-bright);
  border-radius: 14px;
  border: 1px solid var(--line);
  border-left-width: 4px;
  margin: 0;
}
.vendor-specifics .vs-stat {
  font-size: 0.92rem;
  color: var(--muted);
  padding: 0.85rem 1.1rem;
  background: rgba(47, 165, 110, 0.06);
  border-radius: 10px;
  margin: 0;
  border: 1px solid rgba(47, 165, 110, 0.18);
}
.vendor-specifics .vs-stat strong { color: var(--green); margin-right: 0.4rem; }
.vendor-specifics .vs-side {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.vendor-specifics .vs-block {
  padding: 1.1rem 1.2rem;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.vendor-specifics .vs-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.7rem;
}
.vendor-specifics .vs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.vendor-specifics .vs-chips span {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--line);
}
.vendor-specifics .vs-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.vendor-specifics .vs-list li {
  font-size: 0.88rem;
  color: var(--ink);
  padding-left: 1rem;
  position: relative;
  font-weight: 500;
}
.vendor-specifics .vs-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green-bright);
}
.vendor-specifics .vs-note {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .vendor-specifics .vs-grid { grid-template-columns: 1fr; }
}

/* ----- SERVICE HERO VISUAL (phase timeline) ----- */
.service-hero-visual { display: flex; align-items: center; justify-content: center; }
.svc-card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-elev);
  padding: 1.5rem 1.5rem 1.3rem;
  position: relative;
  overflow: hidden;
}
.svc-card::before {
  content: "";
  position: absolute;
  inset: -50% -50% auto auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(31, 122, 82, 0.10), transparent 70%);
  pointer-events: none;
}
.svc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.svc-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.svc-tag {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: rgba(31, 122, 82, 0.10);
  color: #1d63ff;
}
.svc-roadmap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  padding: 0.4rem 0 0.4rem 0;
}
.svc-roadmap::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(180deg, #1d63ff 0%, rgba(29, 99, 255, 0.2) 100%);
}
.svc-phase {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  transition: background 220ms var(--ease);
  position: relative;
  z-index: 1;
}
.svc-phase.active {
  background: rgba(31, 122, 82, 0.06);
}
.svc-num {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  border: 2px solid var(--line);
  flex-shrink: 0;
}
.svc-phase.active .svc-num {
  background: #1d63ff;
  color: #fff;
  border-color: #1d63ff;
  box-shadow: 0 0 0 4px rgba(29, 99, 255, 0.18);
}
.svc-body { display: flex; flex-direction: column; gap: 0.1rem; }
.svc-body strong { font-size: 0.95rem; font-weight: 700; color: var(--ink); }
.svc-body span { font-size: 0.78rem; color: var(--muted); line-height: 1.4; }
.svc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--line);
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}
.svc-footer .svc-cta { color: var(--ink); font-weight: 800; }

/* ----- INDUSTRY HERO VISUAL (trigger -> AI -> output flow + stack) ----- */
.industry-hero-visual { display: flex; align-items: center; justify-content: center; }
.ind-card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-elev);
  padding: 1.5rem 1.5rem 1.3rem;
  position: relative;
  overflow: hidden;
}
.ind-card::before {
  content: "";
  position: absolute;
  inset: -50% -50% auto auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(31, 122, 82, 0.10), transparent 70%);
  pointer-events: none;
}
.ind-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.ind-tag {
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: rgba(31, 122, 82, 0.10);
  color: var(--green);
}
.ind-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ind-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  animation: ind-pulse 2s ease-in-out infinite;
}
@keyframes ind-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}
.ind-flow {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1rem;
}
.ind-node {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  padding: 0.7rem 0.9rem;
  background: var(--cream);
  border-radius: 10px;
  border: 1px solid var(--line);
}
.ind-node.ind-ai {
  background: rgba(31, 122, 82, 0.08);
  border-color: rgba(31, 122, 82, 0.28);
}
.ind-node.ind-output {
  background: rgba(47, 165, 110, 0.07);
  border-color: rgba(47, 165, 110, 0.28);
}
.ind-node-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.05rem;
}
.ind-node-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(13, 13, 13, 0.06);
  color: var(--ink);
  flex-shrink: 0;
}
.ind-node.ind-ai .ind-node-icon {
  background: rgba(31, 122, 82, 0.14);
  color: var(--green);
}
.ind-node.ind-output .ind-node-icon {
  background: rgba(47, 165, 110, 0.18);
  color: var(--green);
}
.ind-node-icon svg { width: 14px; height: 14px; }
.ind-node-label {
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.ind-node-timer {
  margin-left: auto;
  font-size: 0.66rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--green);
  background: rgba(31, 122, 82, 0.10);
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.ind-node strong {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.ind-node small {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.35;
}
.ind-arrow {
  display: flex;
  justify-content: center;
  color: var(--muted);
}
.ind-arrow svg { width: 16px; height: 16px; }
.ind-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}
.ind-chip {
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.26rem 0.55rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--line);
}
.ind-note {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

/* ----- PRICING HERO VISUAL (tier stack) ----- */
.pricing-hero-visual { display: flex; align-items: center; justify-content: center; }
.tier-stack {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-elev);
  padding: 1.4rem 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.tier-stack .ts-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.tier-stack .ts-row:hover { transform: translateX(3px); box-shadow: var(--shadow-card); }
.tier-stack .ts-flex { border-left: 3px solid #2fa56e; }
.tier-stack .ts-dedicated { border-left: 3px solid #1d63ff; }
.tier-stack .ts-advisory { border-left: 3px solid var(--green); }
.tier-stack .ts-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.tier-stack .ts-flex .ts-icon { color: #2fa56e; }
.tier-stack .ts-dedicated .ts-icon { color: #1d63ff; }
.tier-stack .ts-advisory .ts-icon { color: var(--green); }
.tier-stack .ts-icon svg { width: 20px; height: 20px; }
.tier-stack .ts-body { flex: 1; }
.tier-stack .ts-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.18rem;
}
.tier-stack .ts-name {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.tier-stack .ts-pill {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  border: 1px solid var(--line);
}
.tier-stack .ts-body p { font-size: 0.78rem; line-height: 1.4; color: var(--muted); margin: 0; }
.tier-stack .ts-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.5rem 0;
  border-top: 1px dashed var(--line);
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}
.tier-stack .ts-footer .ts-cta { color: var(--ink); font-weight: 800; }

/* ----- LOCATION HERO VISUAL ----- */
.location-hero-visual { display: flex; align-items: center; justify-content: center; }
.loc-card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-elev);
  padding: 1.6rem 1.6rem 1.4rem;
  position: relative;
  overflow: hidden;
}
.loc-card::before {
  content: "";
  position: absolute;
  inset: -40% -40% auto auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(31, 122, 82, 0.10), transparent 70%);
  pointer-events: none;
}
.loc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.loc-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.loc-aus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.loc-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}
.lh-city {
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--line);
}
.lh-city.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.loc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.85rem;
}
.loc-stats div { display: flex; flex-direction: column; gap: 0.1rem; }
.loc-stats strong { font-size: 1.1rem; font-weight: 800; color: var(--ink); }
.loc-stats span { font-size: 0.68rem; color: var(--muted); line-height: 1.3; }
.loc-note { font-size: 0.82rem; color: var(--muted); line-height: 1.45; margin: 0; }

@media (max-width: 980px) {
  .pricing-hero-visual, .location-hero-visual { margin-top: 1rem; }
}

/* ----- TESTIMONIALS ----- */
.testimonials { background: #ffffff; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 1.5rem;
}
.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.6rem 1.6rem 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: rgba(47, 165, 110, 0.32);
}
.testimonial-card .tc-quote-mark {
  font-size: 3.2rem;
  line-height: 0.7;
  color: var(--green-bright);
  font-family: serif;
  margin-bottom: -0.6rem;
  opacity: 0.9;
}
.testimonial-card .tc-quote {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
  font-weight: 450;
}
.testimonial-card .tc-author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.testimonial-card .tc-avatar {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.testimonial-card .tc-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.testimonial-card .tc-role {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
}
.testimonial-card .tc-context {
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.35;
}

/* Inline single-testimonial strip used between sections */
.testimonial-inline-wrap {
  padding: 36px 0 28px;
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
}
.testimonial-inline {
  max-width: 760px;
  margin: 0 auto;
  background: var(--ink);
  color: #fff;
  border-color: transparent;
}
.testimonial-inline .tc-quote { color: #f3f1ec; font-size: 1.1rem; line-height: 1.55; }
.testimonial-inline .tc-quote-mark { color: var(--green-bright); }
.testimonial-inline .tc-role { color: #fff; }
.testimonial-inline .tc-context { color: #a5a39d; }
.testimonial-inline .tc-author { border-top-color: rgba(255,255,255,0.12); }
.testimonial-inline .tc-avatar { background: var(--green-bright); color: var(--ink); }

@media (max-width: 980px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* ----- SECTION THEMING - single green accent across the entire site ----- */
:root {
  --section-accent: var(--green);
  --section-soft: rgba(31, 122, 82, 0.1);
  --section-tint: linear-gradient(180deg, rgba(31, 122, 82, 0.04) 0%, rgba(255, 255, 255, 0) 100%);
  --section-label: "Home";
}
body[data-page="services"], body[data-page^="service:"] { --section-label: "Services"; }
body[data-page="industries"], body[data-page^="industry:"] { --section-label: "Industries"; }
body[data-page="software"], body[data-page="software-index"] { --section-label: "Software"; }
body[data-page="pricing"] { --section-label: "Pricing"; }
body[data-page="locations"], body[data-page^="location:"] { --section-label: "Locations"; }
body[data-page="book"] { --section-label: "Book a discovery call"; }

/* Apply the section accent to common hero/page elements. */
.page-hero, .sw-hero {
  position: relative;
  background: #ffffff;
}
.page-hero::before, .sw-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--section-accent);
  z-index: 1;
}
.page-hero .crumbs strong, .sw-hero .crumbs strong { color: var(--section-accent); }
.page-hero .eyebrow .dot, .sw-hero .eyebrow .dot { background: var(--section-accent); }
.page-hero .eyebrow .dot { box-shadow: 0 0 0 4px var(--section-soft); }

/* Section marker - sits above H1 on inner pages. Outlined hairline + dot. */
.section-marker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  padding: 0.3rem 0.7rem 0.3rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 0.85rem;
}
.section-marker .sm-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
}

/* Footer city links. */
.footer-cities {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.footer-cities a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  opacity: 0.85;
}
.footer-cities a:hover { opacity: 1; color: var(--green-bright); }
.footer-cities span { opacity: 0.4; }

/* ----- SOFTWARE BADGE LINKS ----- */
.sw-badge-link {
  text-decoration: none;
  color: inherit;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.sw-badge-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.logo-item-link {
  text-decoration: none;
  color: inherit;
  transition: opacity 220ms var(--ease);
}
.logo-item-link:hover { opacity: 1; }
.logo-item-link:hover img { filter: none; }

/* ----- SOFTWARE LANDING PAGES ----- */
.sw-hero {
  background: #ffffff;
  padding: 70px 0 60px;
  border-bottom: 1px solid var(--line);
}
.sw-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.sw-hero-copy h1 { font-size: clamp(2.4rem, 4.8vw, 4.4rem); letter-spacing: -0.02em; margin: 0.5rem 0 1rem; max-width: 880px; }
.sw-hero-copy h1 .accent { color: var(--green); }
.sw-hero-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  padding: 2rem 1.8rem 1.8rem;
  box-shadow: var(--shadow-elev);
}
.sw-hero-card h2 { font-size: 1.7rem; margin: 1rem 0 0.2rem; }
.sw-hero-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 1rem;
}
.sw-hero-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.sw-hero-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--ink);
}
.sw-hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(47, 165, 110, 0.16);
  border: 2px solid var(--green);
}
.sw-hero-mark {
  display: inline-flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(13, 13, 13, 0.06);
}
.sw-hero-mark img { width: 56px; height: 56px; object-fit: contain; }
.sw-hero-mark.fallback {
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;
}
@media (max-width: 900px) {
  .sw-hero-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ----- SOFTWARE INDEX ----- */
.sw-index-section { padding-top: 50px; padding-bottom: 50px; }
.sw-index-section + .sw-index-section { border-top: 1px solid var(--line); }
.sw-index-section.sw-index-section:nth-of-type(even) { background: var(--cream); }
.sw-index-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.sw-index-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.1rem 1.1rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
  min-height: 165px;
}
.sw-index-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: rgba(47, 165, 110, 0.4);
}
.sw-index-card h3 { font-size: 1rem; font-weight: 700; margin: 0; }
.sw-index-card p { font-size: 0.78rem; color: var(--muted); line-height: 1.45; margin: 0; flex: 1; }
.sw-index-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--green);
  margin-top: 0.4rem;
}
@media (max-width: 1000px) { .sw-index-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .sw-index-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .sw-index-grid { grid-template-columns: 1fr; } }

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 0.85rem 1.5rem;
}
.btn.ghost:hover { background: var(--cream); }

/* ----- PRICING PLAN VARIATION ----- */
.tile-plan { border-radius: 22px; }
.tile-plan .icon svg { width: 24px; height: 24px; }
.tile-plan.plan-flex .icon { background: rgba(47, 165, 110, 0.14); color: var(--green); }
.tile-plan.plan-flex::after { background: radial-gradient(circle, rgba(47, 165, 110, 0.16), transparent 70%); }
.tile-plan.plan-dedicated .icon { background: rgba(29, 99, 255, 0.14); color: #1d63ff; }
.tile-plan.plan-dedicated::after { background: radial-gradient(circle, rgba(29, 99, 255, 0.16), transparent 70%); }
.tile-plan.plan-advisory .icon { background: rgba(217, 119, 87, 0.16); color: var(--green); }
.tile-plan.plan-advisory::after { background: radial-gradient(circle, rgba(217, 119, 87, 0.18), transparent 70%); }

.tile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  position: relative;
}

.tile-link svg { width: 14px; height: 14px; transition: transform 220ms var(--ease); }
.tile-link:hover svg { transform: translateX(3px); }
.tile-link::after {
  content: "";
  position: absolute;
  left: 0; right: 20px;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

/* ----- ALTERNATING SPLITS ----- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
  padding: 28px 0;
}

.split.reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.split.reverse .split-copy { order: 2; }
.split.reverse .split-visual { order: 1; }

.split + .split { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 60px; }
.section.dark .split + .split { border-top-color: var(--line-dark); }

.split-copy h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 750;
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
}

.split-copy ul {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.split-copy li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.split-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--green-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3.5 8.5l3 3 6-6' stroke='%231f7a52' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/12px 12px no-repeat;
}

/* ----- VISUAL MOCKUP CARDS (for splits) ----- */
.visual-card {
  position: relative;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.visual-card.dark {
  background: linear-gradient(180deg, #181818, #0d0d0d);
  border-color: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.visual-card .vc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.visual-card .vc-head .label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}

.visual-card.dark .vc-head .label { color: #a8a59c; }

.visual-card .vc-head .live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
}

.visual-card .vc-head .live .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green-bright);
  box-shadow: 0 0 0 4px rgba(47, 165, 110, 0.16);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.18); opacity: 0.7; }
}

/* flow diagram */
.flow-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
  padding: 0.5rem 0;
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #faf8f3;
  text-align: center;
}

.visual-card.dark .flow-node {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.flow-node .flow-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.flow-node .flow-icon.green {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.visual-card.dark .flow-node .flow-icon {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.flow-node .flow-icon svg { width: 18px; height: 18px; }
.flow-node .label { font-size: 0.74rem; font-weight: 700; color: var(--ink); }
.visual-card.dark .flow-node .label { color: #fff; }
.flow-node small { font-size: 0.66rem; color: var(--muted); }
.visual-card.dark .flow-node small { color: #a8a59c; }

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--soft);
  font-size: 1rem;
}

.flow-arrow svg { width: 18px; height: 18px; }

/* mini list inside visual card */
.vc-list { display: grid; gap: 0.55rem; }

.vc-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: #faf8f3;
  border: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--ink);
  list-style: none;
}

.vc-list { padding: 0; margin: 0; }

.vc-list li .vt { font-size: 0.7rem; color: var(--muted); margin-left: auto; }

.visual-card.dark .vc-list li {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: #f5f3ee;
}

.visual-card.dark .vc-list li .vt { color: #a8a59c; }

/* ----- INDUSTRY GRID ----- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 14px;
}

.industry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.05rem 1rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
  min-height: 175px;
  grid-column: span 1;
}

.industry-card.size-hero {
  grid-column: span 2;
  min-height: 250px;
  padding: 1.6rem 1.6rem 1.4rem;
  background: linear-gradient(135deg, #f7f9f4 0%, #ecf3e8 100%);
  border-color: rgba(47, 165, 110, 0.32);
}

.industry-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: rgba(47, 165, 110, 0.4);
}

.industry-card .ind-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.industry-card.size-hero .ind-icon {
  width: 46px;
  height: 46px;
  background: rgba(47, 165, 110, 0.14);
  color: var(--green);
}

.industry-card .ind-icon svg { width: 18px; height: 18px; }

.industry-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin: 0;
}

.industry-card.size-hero h3 {
  font-size: 1.65rem;
  letter-spacing: -0.01em;
}

.industry-card p {
  font-size: 0.82rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.industry-card.size-hero p {
  font-size: 0.98rem;
  line-height: 1.5;
  color: #4a4a44;
}

.industry-card .ind-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: auto;
  padding-top: 0.55rem;
}

.industry-card .ind-stack span {
  font-size: 0.66rem;
  font-weight: 700;
  padding: 0.18rem 0.42rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--muted);
}

.industry-card.size-hero .ind-stack {
  gap: 0.4rem;
  padding-top: 0.85rem;
}

.industry-card.size-hero .ind-stack span {
  font-size: 0.74rem;
  padding: 0.28rem 0.6rem;
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(47, 165, 110, 0.25);
}

@media (max-width: 900px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-card.size-hero { grid-column: span 2; min-height: 200px; }
  .industry-card.size-hero h3 { font-size: 1.4rem; }
}

@media (max-width: 540px) {
  .industry-grid { grid-template-columns: 1fr; }
  .industry-card,
  .industry-card.size-hero { grid-column: span 1; min-height: 160px; }
}

/* ----- STATS BAND ----- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat {
  padding: 1.5rem 1.8rem;
  border-right: 1px solid var(--line-dark);
}

.stat:last-child { border-right: 0; }

.stat .num {
  display: block;
  font-size: 3.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.45rem;
}

.stat .num em {
  font-style: normal;
  color: var(--green-glow);
}

.stat .lbl {
  font-size: 0.92rem;
  color: #c4c1b9;
  line-height: 1.4;
}

/* ----- PROCESS strip ----- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #141414 0%, #0e0e0e 100%);
  overflow: hidden;
}

.process .step {
  padding: 1.9rem 1.6rem 1.8rem;
  border-right: 1px solid var(--line-dark);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  overflow: hidden;
}

.process .step:last-child { border-right: 0; }

.process .step-count {
  position: absolute;
  top: 0.7rem;
  right: 1.1rem;
  font-size: 4.6rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  font-family: var(--font-display, inherit);
  pointer-events: none;
}

.process .step-num {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--green-glow);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 1.6rem;
}

.process .step-num .bar {
  width: 22px;
  height: 1.5px;
  background: var(--green-glow);
}

.process .step-num .step-of {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.process .step-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(47, 165, 110, 0.25);
  background: rgba(47, 165, 110, 0.08);
  color: var(--green-glow);
  margin-top: 0.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.process .step-icon { display: inline-flex; align-items: center; justify-content: center; }
.process .step-icon svg { width: 22px; height: 22px; }

.process h3 {
  color: #fff;
  font-size: 1.18rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  margin: 0.55rem 0 0.25rem;
}

.process p { color: #aeada6; font-size: 0.92rem; line-height: 1.55; margin: 0; position: relative; z-index: 1; }

/* ----- WHY US (split with list + collage) ----- */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.why-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.why-list .why-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.why-list .why-icon svg { width: 22px; height: 22px; }

.why-list h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--ink);
}

.why-list p { color: var(--muted); font-size: 0.95rem; margin: 0; }

.why-collage {
  position: relative;
  height: 520px;
}

.why-collage .vc-1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
}

.why-collage .vc-2 {
  position: absolute;
  bottom: 18px;
  right: 0;
  width: 64%;
}

.why-collage .vc-3 {
  position: absolute;
  bottom: 0;
  left: 12%;
  width: 56%;
}

/* ----- PROOF / case cards ----- */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.proof-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--cream);
}

.proof-card .anon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.proof-card .quote {
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 500;
}

.proof-card .quote::before {
  content: '"';
  display: block;
  font-size: 2.6rem;
  line-height: 0.6;
  color: var(--green);
  font-family: Georgia, serif;
  margin-bottom: 0.4rem;
}

.proof-card .meta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.proof-card .meta span {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.proof-card .outcome {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

.proof-card .outcome strong {
  font-size: 1.8rem;
  color: var(--green);
  letter-spacing: -0.025em;
  line-height: 1;
}

.proof-card .outcome span {
  color: var(--muted);
  font-size: 0.86rem;
}

/* ----- FAQ accordion ----- */
.faq-list {
  display: grid;
  gap: 8px;
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 200ms var(--ease);
}

.faq-item summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item .chev {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  transition: transform 240ms var(--ease), background 200ms var(--ease);
  flex-shrink: 0;
}

.faq-item .chev svg { width: 12px; height: 12px; }
.faq-item[open] .chev { transform: rotate(180deg); background: var(--green-soft); color: var(--green); }
.faq-item .answer {
  padding: 0 1.25rem 1.2rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* ----- CTA megastrip ----- */
.cta-strip {
  position: relative;
  padding: 110px 0 100px;
  background: linear-gradient(180deg, #0a0a0a, #161616);
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(47, 165, 110, 0.25), transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(255, 255, 255, 0.05), transparent 60%);
}

.cta-strip > .wrap { position: relative; }

.cta-fan {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.8rem;
}

.cta-fan .fan-orb {
  display: inline-flex;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 4px solid #0a0a0a;
  align-items: center;
  justify-content: center;
  background: #1f1f1f;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
  transition: transform 280ms var(--ease);
}

.cta-fan .fan-orb + .fan-orb { margin-left: -14px; }
.cta-fan:hover .fan-orb { transform: translateY(-2px); }
.cta-fan:hover .fan-orb:nth-child(1) { transform: translate(-6px, -2px) rotate(-3deg); }
.cta-fan:hover .fan-orb:nth-child(5) { transform: translate(6px, -2px) rotate(3deg); }
.cta-fan .fan-orb img { width: 28px; height: 28px; object-fit: contain; }
.cta-fan .fan-orb.orb-claude img, .cta-fan .fan-orb.orb-n8n img { filter: brightness(0) invert(1); }
.cta-fan .fan-orb.orb-openclaw img { width: 36px; height: 36px; filter: none; }
.cta-fan .fan-orb.c1 { background: #d97757; }
.cta-fan .fan-orb.c2 { background: #10a37f; }
.cta-fan .fan-orb.c3 { background: #1d63ff; }
.cta-fan .fan-orb.c4 { background: #ea4b71; }
.cta-fan .fan-orb.c5 { background: #6b2cff; }

.cta-strip h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  color: #fff;
  max-width: 760px;
  margin: 0 auto 1.1rem;
}

.h-muted-light { color: #9ea29a; font-weight: 600; }

/* ----- BOOK A DISCOVERY CALL ----- */
.book-hero {
  background: var(--cream);
  padding: 92px 0 84px;
}

.book-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.book-copy h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  letter-spacing: -0.02em;
  margin: 0.4rem 0 1.1rem;
}
.book-copy .hero-lede { max-width: 460px; }

.book-points {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.book-points li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 0.85rem;
  align-items: start;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}
.book-points li strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.1rem;
  font-weight: 700;
}
.book-points .bp-num {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.book-phone {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
  margin-top: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.book-phone .bp-eyebrow {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
}
.book-phone-link {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.book-phone-link:hover { color: var(--green); }
.book-phone-note { font-size: 0.82rem; color: var(--muted); }

.book-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2rem 1.85rem 1.85rem;
  box-shadow: 0 18px 40px rgba(13, 13, 13, 0.06);
  position: relative;
}

.book-form .form-head { margin-bottom: 1.2rem; }
.book-form .form-head h2 { font-size: 1.5rem; margin: 0 0 0.25rem; letter-spacing: -0.015em; }
.book-form .form-head p { font-size: 0.88rem; color: var(--muted); margin: 0; }

.book-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}
.book-form .form-block { display: block; margin-bottom: 0.85rem; }

.book-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}
.book-form label .req { color: #c0382c; margin-left: 0.18rem; }

.book-form input,
.book-form textarea,
.book-form select {
  font: inherit;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  transition: border-color 180ms var(--ease), background 180ms var(--ease), box-shadow 180ms var(--ease);
  width: 100%;
  box-sizing: border-box;
}
.book-form textarea { resize: vertical; min-height: 110px; }
.book-form input:focus,
.book-form textarea:focus,
.book-form select:focus {
  outline: none;
  background: #fff;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(47, 165, 110, 0.12);
}
.book-form input::placeholder,
.book-form textarea::placeholder { color: #a4a39a; }

.book-form .form-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  cursor: pointer;
  margin-top: 0.4rem;
  transition: transform 180ms var(--ease), background 180ms var(--ease), opacity 180ms var(--ease);
}
.book-form .form-submit:hover { transform: translateY(-1px); background: #000; }
.book-form .form-submit:disabled,
.book-form .form-submit.is-loading { opacity: 0.6; cursor: progress; }
.book-form .form-submit .btn-arrow { display: inline-flex; gap: 0; overflow: hidden; width: 16px; }
.book-form .form-submit .btn-arrow svg { width: 16px; height: 16px; }

.book-form .form-microcopy {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0.7rem 0 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.book-form .form-status {
  margin-top: 0.9rem;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid;
}
.book-form .form-status[data-kind="pending"] { background: #fdf6e7; border-color: #e2c878; color: #6a4d1a; }
.book-form .form-status[data-kind="success"] { background: #e8f6ef; border-color: #79c89a; color: #155e36; }
.book-form .form-status[data-kind="error"] { background: #fbeae8; border-color: #d77a72; color: #7b1a14; }

@media (max-width: 960px) {
  .book-grid { grid-template-columns: 1fr; gap: 36px; }
  .book-form .form-row { grid-template-columns: 1fr; }
}

.cta-strip p {
  max-width: 580px;
  margin: 0 auto 1.6rem;
  color: #c4c1b9;
  font-size: 1.05rem;
}

.cta-strip .btn-row { justify-content: center; }

/* ----- FOOTER ----- */
.site-footer {
  background: #0a0a0a;
  color: #b8b6ad;
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand .brand-logo { filter: brightness(0) invert(1); width: 160px; }
.footer-brand p { color: #8e8c83; font-size: 0.9rem; margin: 0; line-height: 1.5; }
.footer-brand .socials { display: flex; gap: 0.7rem; margin-top: 0.4rem; }
.footer-brand .socials a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d8d6cf;
  transition: background 180ms var(--ease), color 180ms var(--ease);
}
.footer-brand .socials a:hover { background: var(--green); color: #fff; border-color: var(--green); }
.footer-brand .socials svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-size: 0.76rem;
  color: #f5f3ee;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-col a { color: #b8b6ad; font-size: 0.92rem; transition: color 180ms var(--ease); }
.footer-col a:hover { color: var(--green-glow); }

.footer-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #8e8c83;
  font-size: 0.82rem;
  flex-wrap: wrap;
}

/* ----- PAGE HERO (for service/industry pages) ----- */
.page-hero {
  position: relative;
  padding: 88px 0 64px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--page) 100%);
  overflow: hidden;
}

.page-hero .crumbs, .sw-hero .crumbs {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.page-hero .crumbs a, .sw-hero .crumbs a { color: var(--muted); }
.page-hero .crumbs .sep, .sw-hero .crumbs .sep { color: var(--soft); }
.page-hero .crumbs strong, .sw-hero .crumbs strong { color: var(--ink); font-weight: 700; }

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.9fr);
  gap: 60px;
  align-items: end;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 4.8vw, 4.4rem);
  max-width: 880px;
}

.page-hero .quick-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 1.5rem;
  max-width: 460px;
}

.quick-stack .qs {
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
}

.quick-stack .qs strong {
  display: block;
  font-size: 1.18rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 0.15rem;
}

.quick-stack .qs span { font-size: 0.82rem; color: var(--muted); }

/* Stat strip - used at the bottom of an inner-page hero, full-width 4-col row */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.stat-strip .qs {
  padding: 0.95rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
}

.stat-strip .qs strong {
  display: block;
  font-size: 1.3rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
  font-weight: 800;
}

.stat-strip .qs span { font-size: 0.86rem; color: var(--muted); }

/* Make hero mockup smaller / scale better when inside a page hero */
.hero-mockup-page {
  height: 460px;
}

.hero-mockup-page .mock-browser {
  width: 100%;
}

.hero-mockup-page .mock-slack {
  width: 70%;
}

.hero-mockup-page .mock-mini {
  width: 44%;
  bottom: 88px;
}

/* Tighter page-hero grid columns when mockup takes the right side */
.page-hero-grid:has(.hero-mockup-page) {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
}

/* ----- SOFTWARE LOGO GRID (industry pages) ----- */
.software-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.sw-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 1.15rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}

.sw-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.sw-badge .sw-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: -0.02em;
  background: var(--ink);
}

.sw-badge .sw-mark img { width: 30px; height: 30px; object-fit: contain; }
.sw-badge.has-logo .sw-mark {
  width: 48px;
  height: 48px;
  background: #fff;
  border: 1px solid rgba(13, 13, 13, 0.06);
  border-radius: 12px;
  padding: 6px;
  overflow: hidden;
}
.sw-badge.has-logo .sw-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.sw-badge .sw-name { font-size: 0.8rem; font-weight: 700; color: var(--ink); text-align: center; }
.sw-badge .sw-cat { font-size: 0.7rem; color: var(--muted); text-align: center; }

/* ----- WORKFLOW EXAMPLES (industry pages) ----- */
.workflow-examples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.workflow-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.workflow-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }

.workflow-card .wf-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.workflow-card .wf-icon svg { width: 22px; height: 22px; }

.workflow-card h3 { font-size: 1.12rem; }

.workflow-card .wf-chain {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
  margin-top: auto;
  padding-top: 0.7rem;
  border-top: 1px dashed var(--line);
}

.workflow-card .wf-chain span {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.45rem;
  border-radius: 6px;
  background: var(--cream);
  color: var(--ink);
}

.workflow-card .wf-chain .arrow { background: none; color: var(--soft); padding: 0; }

/* ----- RELATED grid (service/industry pages) ----- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.3rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}

.related-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }

.related-card .rc-eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.related-card h3 { font-size: 1.08rem; margin-bottom: 0.2rem; }
.related-card p { font-size: 0.92rem; margin: 0; }
.related-card-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
}
.related-card-link::after {
  content: "";
  position: absolute;
  inset: auto 1.2rem 1rem auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  background-image: linear-gradient(135deg, var(--ink), #1f2937);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
}
.related-card-link:hover::after { opacity: 1; transform: translateY(0); }
.related-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.6rem;
  font-weight: 700;
  color: var(--ink);
}
.related-card a svg { width: 13px; height: 13px; transition: transform 220ms var(--ease); }
.related-card a:hover svg { transform: translateX(3px); }

/* ----- generic helpers ----- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
}

.skip-link:focus { top: 1rem; }

.h-tag-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.h-tag-row .pill { background: transparent; border-color: var(--line); color: var(--ink); }

/* ----- scroll fade-in ----- */
.tile, .industry-card, .proof-card, .workflow-card, .visual-card,
.testimonial-card, .sw-index-card, .sw-badge, .faq-item, .why-list li {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}

.tile.is-in, .industry-card.is-in, .proof-card.is-in,
.workflow-card.is-in, .visual-card.is-in,
.testimonial-card.is-in, .sw-index-card.is-in, .sw-badge.is-in,
.faq-item.is-in, .why-list li.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .tile, .industry-card, .proof-card, .workflow-card, .visual-card,
  .testimonial-card, .sw-index-card, .sw-badge, .faq-item, .why-list li {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ----- responsive ----- */
@media (max-width: 1080px) {
  .hero-grid,
  .page-hero-grid,
  .why-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-mockup,
  .why-collage { height: 460px; }

  .hero-mockup-page { height: 420px; }

  .stat-strip { grid-template-columns: repeat(2, 1fr); }

  .service-tiles,
  .related-grid,
  .proof-grid,
  .workflow-examples {
    grid-template-columns: repeat(2, 1fr);
  }

  .industry-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-band .stat:nth-child(odd) { border-right: 1px solid var(--line-dark); }
  .stats-band .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .stats-band .stat:nth-child(2) { border-right: 0; }

  .process { grid-template-columns: repeat(2, 1fr); }
  .process .step:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .process .step:nth-child(2) { border-right: 0; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .software-grid { grid-template-columns: repeat(4, 1fr); }

  .split, .split.reverse {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-copy { order: 1; }
  .split.reverse .split-visual { order: 2; }
}

@media (max-width: 760px) {
  .wrap, .wrap-narrow { width: min(100% - 32px, 1200px); }

  body { font-size: 16px; }

  .section { padding: 48px 0; }
  .page-hero, .sw-hero { padding: 32px 0 40px; }
  .page-hero h1, .sw-hero h1 { margin: 0.4rem 0 0.9rem; }
  .page-hero .lede, .sw-hero .lede { margin-bottom: 1rem; }
  .stat-strip { margin-top: 32px; }
  .page-hero-grid:has(.hero-mockup-page),
  .page-hero-grid { grid-template-columns: 1fr !important; gap: 24px; }

  .nav { min-height: 66px; gap: 0.5rem; }

  .nav-links {
    position: fixed;
    inset: 66px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-elev);
  }

  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 0.85rem 0.25rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-links a:last-child {
    border-bottom: 0;
    margin-top: 0.6rem;
    padding: 0.85rem 1.4rem;
    background: var(--ink);
    color: #fff;
    border-radius: 999px;
    text-align: center;
    font-weight: 700;
  }
  .nav-toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; }

  .hero { padding: 32px 0 64px; }
  .hero-mockup,
  .hero-mockup-page,
  .industry-hero-visual,
  .service-hero-visual,
  .location-hero-visual,
  .pricing-hero-visual { display: none; }
  .mock-mini { display: none; }

  .stat-strip { grid-template-columns: 1fr; }

  .service-tiles,
  .industry-grid,
  .related-grid,
  .proof-grid,
  .workflow-examples,
  .software-grid {
    grid-template-columns: 1fr;
  }

  .stats-band, .process {
    grid-template-columns: 1fr;
  }

  .stats-band .stat,
  .process .step {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line-dark) !important;
  }

  .stats-band .stat:last-child,
  .process .step:last-child {
    border-bottom: 0 !important;
  }

  .stat .num { font-size: 2.8rem; }

  .why-collage { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bar { flex-direction: column; align-items: flex-start; }

  .btn { width: 100%; justify-content: center; }
  .btn-row .btn { width: 100%; }

  .flow-diagram {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  .flow-arrow { transform: rotate(90deg); }
}


/* ----- Pricing page (Class B template) ----- */
.page-header-slim {
  padding: 80px 0 24px;
  background: #fff;
  border-bottom: 1px solid rgba(13, 13, 13, 0.06);
}
.page-header-slim-inner { max-width: 820px; }
.page-header-slim .crumbs {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.2rem;
}
.page-header-slim .crumbs a { color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.16s; }
.page-header-slim .crumbs a:hover { border-bottom-color: var(--muted); }
.page-header-slim .crumbs .sep { opacity: 0.5; }
.page-header-slim h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin: 0 0 0.9rem;
}
.page-header-slim .h-muted { color: var(--green); }
.page-header-slim .lede {
  font-size: 1.08rem; line-height: 1.55; color: var(--ink-2, #4a4a4a); margin: 0; max-width: 720px;
}

.pricing-reasons {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  margin-top: 32px;
}
.pricing-reason {
  background: #fff;
  border: 1px solid rgba(13, 13, 13, 0.08);
  border-radius: 14px;
  padding: 28px;
  transition: border-color 0.16s, transform 0.12s, box-shadow 0.16s;
}
.pricing-reason:hover { border-color: rgba(13, 13, 13, 0.16); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(13, 13, 13, 0.06); }
.pricing-reason h3 { font-size: 1.1rem; margin: 0 0 0.6rem; letter-spacing: -0.005em; }
.pricing-reason p { margin: 0; color: var(--ink-2, #4a4a4a); font-size: 0.96rem; line-height: 1.55; }

.included-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  margin-top: 32px;
}
.included-tile {
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid rgba(13, 13, 13, 0.08);
  border-radius: 12px;
}
.included-tile strong { font-size: 0.98rem; color: var(--ink); letter-spacing: -0.005em; }
.included-tile span { font-size: 0.88rem; color: var(--ink-2, #4a4a4a); line-height: 1.5; }

.pricing-inline-cta {
  display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
  margin-top: 48px; text-align: center;
}
.pricing-inline-cta-meta { font-size: 0.86rem; color: var(--muted); }

@media (max-width: 720px) {
  .page-header-slim { padding: 56px 0 16px; }
  .pricing-reasons { grid-template-columns: 1fr; gap: 14px; }
  .pricing-reason { padding: 22px; }
  .included-grid { grid-template-columns: 1fr; }
}

/* ----- Footer: locations link replacement ----- */
.footer-locations-link {
  color: var(--muted, #8a8a8a);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s, border-color 0.16s;
}
.footer-locations-link:hover { color: var(--ink); border-bottom-color: var(--muted); }

/* ----- Index pages inline CTA (Class C, replaces cta_strip) ----- */
.index-inline-cta {
  display: flex; justify-content: center;
  margin-top: 56px; padding-top: 36px;
  border-top: 1px solid rgba(13, 13, 13, 0.06);
}

/* ----- Mobile demo overlay + fullscreen modal (Pattern B) ----- */
.demo-mobile-overlay {
  display: none;
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--ink);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32), 0 4px 10px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  z-index: 5;
  white-space: nowrap;
}
.demo-mobile-overlay .demo-overlay-pulse {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid var(--green-bright, #2fa56e);
  opacity: 0;
  animation: overlay-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
.demo-mobile-overlay .demo-overlay-arrow {
  display: inline-block;
  font-size: 1rem;
  transform: translateX(0);
  transition: transform 0.2s ease;
}
.demo-mobile-overlay:active .demo-overlay-arrow { transform: translateX(3px); }
.demo-mobile-overlay:active { transform: translateX(-50%) scale(0.97); }

@keyframes overlay-pulse {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.18); }
}
@media (prefers-reduced-motion: reduce) {
  .demo-mobile-overlay .demo-overlay-pulse { animation: none; }
}

/* Mobile-only: disable iframe interaction so parent scroll passes through */
@media (max-width: 900px) {
  .product-demo-stage {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 16px;
  }
  .phone-frame.phone-frame-lg {
    max-width: 320px;
    margin: 0 auto;
  }
  .product-demo .phone-iframe {
    pointer-events: none;
    touch-action: pan-y;
  }
  .demo-mobile-overlay {
    display: inline-flex;
  }
  .product-demo-aside {
    padding-right: 0;
    text-align: center;
  }
  .product-demo-aside .product-demo-points {
    text-align: left;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Fullscreen modal */
.demo-fullscreen-modal {
  position: fixed;
  inset: 0;
  background: #0d0d0d;
  z-index: 1000;
  display: none;
  flex-direction: column;
}
.demo-fullscreen-modal.is-open {
  display: flex;
  animation: modal-slide-up 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes modal-slide-up {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.demo-fullscreen-modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  padding-top: max(14px, env(safe-area-inset-top));
  background: rgba(13, 13, 13, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  z-index: 2;
}
.demo-fullscreen-modal-title {
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}
.demo-fullscreen-modal-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s ease, transform 0.08s ease;
}
.demo-fullscreen-modal-close:hover { background: rgba(255, 255, 255, 0.18); }
.demo-fullscreen-modal-close:active { transform: scale(0.94); }
.demo-fullscreen-modal-iframe {
  flex: 1;
  width: 100%;
  border: 0;
  background: var(--cream, #faf7f2);
}

/* ----- Industry page clean centered hero (homepage-style) ----- */
.hero-clean-industry {
  padding: 80px 0 56px;
  background: #ffffff;
  text-align: center;
}
.hero-clean-industry .crumbs-clean {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted, #8a8a8a); margin-bottom: 1.4rem;
  justify-content: center;
}
.hero-clean-industry .crumbs-clean a { color: var(--muted, #8a8a8a); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.16s; }
.hero-clean-industry .crumbs-clean a:hover { border-bottom-color: var(--muted); }
.hero-clean-industry .crumbs-clean .sep { opacity: 0.45; }
.hero-clean-industry .crumbs-clean strong { color: var(--ink); font-weight: 700; }
.hero-clean-industry .hero-clean-body {
  max-width: 820px; margin: 0 auto;
}
.hero-clean-industry h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.018em;
  line-height: 1.05;
  margin: 0 0 1.1rem;
}
.hero-clean-industry .hero-lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-2, #4a4a4a);
  line-height: 1.5;
  margin: 0 auto;
  max-width: 680px;
}
.hero-clean-industry .btn-row {
  display: inline-flex; gap: 12px; flex-wrap: wrap;
}
.hero-clean-industry .btn-secondary {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 12px 18px;
  color: var(--ink);
  font-weight: 600; font-size: 0.94rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(13,13,13,0.15);
  transition: border-color 0.16s;
}
.hero-clean-industry .btn-secondary:hover { border-bottom-color: var(--ink); }

@media (max-width: 720px) {
  .hero-clean-industry { padding: 56px 0 32px; }
  .hero-clean-industry .crumbs-clean { margin-bottom: 1rem; }
}

/* ========== SERVICES INDEX — editorial / catalog layout ========== */
.svc-index-hero {
  padding: 64px 0 28px;
  background: #fff;
  border-bottom: 1px solid rgba(13, 13, 13, 0.06);
}
.svc-index-hero .crumbs-clean {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted, #8a8a8a); margin-bottom: 1.4rem;
}
.svc-index-hero .crumbs-clean a { color: var(--muted, #8a8a8a); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.16s; }
.svc-index-hero .crumbs-clean a:hover { border-bottom-color: var(--muted); }
.svc-index-hero .crumbs-clean .sep { opacity: 0.45; }
.svc-index-hero .crumbs-clean strong { color: var(--ink); font-weight: 700; }
.svc-index-hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  letter-spacing: -0.022em;
  line-height: 1.02;
  margin: 0 0 1.1rem;
  max-width: 920px;
}
.svc-index-hero .h-muted { color: var(--green); }
.svc-index-hero .svc-index-lede {
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  color: var(--ink-2, #4a4a4a);
  line-height: 1.55;
  margin: 0 0 1.8rem;
  max-width: 720px;
}
.svc-toc {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(13, 13, 13, 0.06);
}
.svc-toc-chip {
  display: inline-block;
  padding: 7px 14px;
  background: #fff;
  border: 1px solid rgba(13, 13, 13, 0.10);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: background 0.16s, border-color 0.16s;
}
.svc-toc-chip:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* category section */
.svc-cat-section { padding: 72px 0; }
.svc-cat-section.alt-bg { background: var(--cream, #faf7f2); }
.svc-cat-wrap {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.svc-cat-head { /* flows with the cards as the page scrolls */ }
.svc-cat-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  padding: 6px 12px;
  background: var(--accent-soft, rgba(31, 122, 82, 0.10));
  border-radius: 6px;
  margin-bottom: 1rem;
}
.svc-cat-intro {
  font-size: 0.98rem;
  color: var(--ink-2, #4a4a4a);
  line-height: 1.55;
  margin: 0;
  max-width: 320px;
}

.svc-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.svc-editorial-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 26px 28px;
  background: #fff;
  border: 1px solid rgba(13, 13, 13, 0.08);
  border-radius: 14px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.16s, transform 0.12s, box-shadow 0.16s;
  align-items: start;
}
.svc-editorial-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(13, 13, 13, 0.06);
}
.svc-editorial-card.is-featured {
  grid-column: span 2;
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  padding: 36px 36px;
}
.svc-editorial-card.is-featured:hover {
  background: #1a1a1a;
}
.svc-editorial-card .svc-num {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted, #8a8a8a);
  padding-top: 2px;
}
.svc-editorial-card.is-featured .svc-num {
  color: rgba(255, 255, 255, 0.55);
}
.svc-editorial-card .svc-body { min-width: 0; }
.svc-editorial-card h3 {
  font-size: 1.18rem;
  letter-spacing: -0.008em;
  line-height: 1.18;
  margin: 0 0 0.5rem;
}
.svc-editorial-card.is-featured h3 {
  color: #ffffff;
  font-size: clamp(1.6rem, 2.2vw, 1.95rem);
  letter-spacing: -0.012em;
  line-height: 1.12;
  margin-bottom: 0.7rem;
}
.svc-editorial-card .svc-desc {
  font-size: 0.92rem;
  color: var(--ink-2, #4a4a4a);
  line-height: 1.55;
  margin: 0;
}
.svc-editorial-card.is-featured .svc-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1rem;
  max-width: 600px;
}
.svc-editorial-card .svc-outcomes {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 6px 18px;
}
.svc-editorial-card .svc-outcomes li {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  padding-left: 16px;
  position: relative;
}
.svc-editorial-card .svc-outcomes li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--green-bright, #2fa56e);
}
.svc-editorial-card .svc-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 12px;
}
.svc-editorial-card .svc-chips span {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 4px 8px;
  background: rgba(13, 13, 13, 0.05);
  border-radius: 4px;
  color: var(--ink-2, #4a4a4a);
}
.svc-editorial-card.is-featured .svc-chips span {
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.85);
}
.svc-editorial-card .svc-arrow {
  font-size: 1.1rem;
  color: var(--muted);
  padding-top: 2px;
  transition: transform 0.16s ease, color 0.16s ease;
}
.svc-editorial-card:hover .svc-arrow {
  transform: translateX(3px);
  color: var(--ink);
}
.svc-editorial-card.is-featured .svc-arrow {
  color: rgba(255, 255, 255, 0.55);
}
.svc-editorial-card.is-featured:hover .svc-arrow {
  color: #fff;
}

.svc-footer-prompt {
  padding: 56px 0 84px;
  text-align: center;
  background: #fff;
  border-top: 1px solid rgba(13, 13, 13, 0.06);
}
.svc-footer-prompt p {
  font-size: 1.05rem;
  color: var(--ink-2);
  margin: 0;
}
.svc-footer-prompt a {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 122, 82, 0.3);
  transition: border-color 0.16s;
}
.svc-footer-prompt a:hover {
  border-bottom-color: var(--green);
}

@media (max-width: 1000px) {
  .svc-cat-wrap { grid-template-columns: 1fr; gap: 32px; }
  .svc-cat-intro { max-width: 580px; }
}
@media (max-width: 720px) {
  .svc-index-hero { padding: 48px 0 20px; }
  .svc-cat-section { padding: 48px 0; }
  .svc-cat-grid { grid-template-columns: 1fr; gap: 10px; }
  .svc-editorial-card { padding: 22px; grid-template-columns: 1fr; }
  .svc-editorial-card .svc-arrow { display: none; }
  .svc-editorial-card.is-featured { grid-column: span 1; padding: 26px 24px; }
  .svc-editorial-card.is-featured h3 { font-size: 1.4rem; }
  .svc-editorial-card.is-featured .svc-desc { font-size: 0.96rem; }
}

/* ========== SOFTWARE INDEX — catalog cards with logos ========== */
.sw-index-section { padding: 56px 0; }
.sw-index-section + .sw-index-section {
  background: var(--cream, #faf7f2);
  border-top: 1px solid rgba(13, 13, 13, 0.04);
}
.sw-index-section:nth-of-type(odd) { background: #fff; }
.sw-index-section:nth-of-type(even) { background: var(--cream, #faf7f2); }

.svc-cat-head-inline {
  margin-bottom: 28px;
  max-width: 760px;
}
.svc-cat-head-inline .svc-cat-intro { max-width: 720px; }
.svc-cat-head-inline .svc-cat-intro a {
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 122, 82, 0.3);
}
.svc-cat-head-inline .svc-cat-intro a:hover { border-bottom-color: var(--green); }

.sw-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.sw-index-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid rgba(13, 13, 13, 0.08);
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.16s, transform 0.12s, box-shadow 0.16s;
}
.sw-index-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(13, 13, 13, 0.06);
}
.sw-index-mark {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid rgba(13, 13, 13, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 5px;
}
.sw-index-mark img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.sw-index-mark.fallback {
  background: var(--ink);
  color: #fff;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: none;
  padding: 0;
}
.sw-index-body { min-width: 0; }
.sw-index-card h3 {
  font-size: 1rem;
  letter-spacing: -0.005em;
  line-height: 1.2;
  margin: 0 0 0.25rem;
}
.sw-index-card p {
  font-size: 0.84rem;
  color: var(--ink-2, #4a4a4a);
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sw-index-arrow {
  font-size: 1rem;
  color: var(--muted);
  transition: transform 0.16s ease, color 0.16s ease;
}
.sw-index-card:hover .sw-index-arrow {
  transform: translateX(3px);
  color: var(--ink);
}

@media (max-width: 980px) {
  .sw-index-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .sw-index-grid { grid-template-columns: 1fr; }
  .sw-index-card { padding: 16px; }
}

/* ========== PREMIUM POLISH: scroll-driven reveal + view transitions + magnetic CTAs ========== */

/* (a) Native MPA view transitions - cross-fade between pages on navigation.
   Falls back to instant nav in older browsers. */
@view-transition { navigation: auto; }
::view-transition-old(root) {
  animation: 220ms cubic-bezier(0.4, 0, 0.2, 1) both vt-fade-out;
}
::view-transition-new(root) {
  animation: 320ms cubic-bezier(0.2, 0.8, 0.2, 1) both vt-fade-in;
}
@keyframes vt-fade-out { to { opacity: 0; } }
@keyframes vt-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* (b) Native scroll-driven reveal animations. Compositor-friendly, no JS.
   Falls back to the existing IntersectionObserver `.is-in` system in older browsers. */
@supports (animation-timeline: view()) {
  .tile,
  .industry-card,
  .proof-card,
  .workflow-card,
  .visual-card,
  .testimonial-card,
  .sw-index-card,
  .sw-badge,
  .faq-item,
  .why-list li,
  .svc-editorial-card,
  .pricing-reason,
  .included-tile,
  .tools-tile,
  .home-tools-head,
  .product-demo-head,
  .product-demo-aside {
    animation: sdv-rise linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 18%;
  }
  /* Slightly different entry for hero-adjacent elements - already onscreen, skip animation */
  .hero .tile,
  .hero-clean .tile { animation: none; }
}
@keyframes sdv-rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* (c) Magnetic-button hover lift. Tiny premium tell.
   Only on hover-capable devices; respects reduced-motion. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn, .btn-secondary { will-change: transform; transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.18s ease; }
}

/* Respect reduced-motion across all of the above */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none !important; }
  .tile, .industry-card, .proof-card, .workflow-card, .visual-card,
  .testimonial-card, .sw-index-card, .sw-badge, .faq-item, .why-list li,
  .svc-editorial-card, .pricing-reason, .included-tile, .tools-tile,
  .home-tools-head, .product-demo-head, .product-demo-aside {
    animation: none !important;
  }
}

/* Homepage end-to-end services section - matches services index editorial cards.
   Background stays white so the homepage alternates white-grey-white-grey:
   hero (white) -> tools/demo (light) -> services (white) -> what we build (cream) -> ... */
#services.svc-cat-section { padding: 96px 0; background: #ffffff; }
#services .svc-cat-grid { margin-top: 36px; }
.home-services-cta { display: flex; justify-content: center; margin-top: 32px; }

@media (max-width: 720px) {
  #services.svc-cat-section { padding: 56px 0; }
}

/* ============================================================
   MOBILE TIER 1 - ad-conversion polish (homepage + industry pages)
   ============================================================ */

/* (1) Sticky mobile bottom CTA bar - hidden by default, shown on mobile only */
.sticky-mobile-cta { display: none; }
@media (max-width: 720px) {
  .sticky-mobile-cta {
    display: flex;
    position: fixed;
    left: 0; right: 0;
    bottom: 0;
    z-index: 90;
    padding: 12px 16px max(12px, env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-top: 1px solid rgba(13, 13, 13, 0.08);
    box-shadow: 0 -4px 18px rgba(13, 13, 13, 0.06);
    transform: translateY(0);
    transition: transform 280ms cubic-bezier(0.34, 1.34, 0.64, 1);
  }
  .sticky-mobile-cta.is-hidden {
    transform: translateY(110%);
    pointer-events: none;
  }
  .sticky-mobile-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
    font-size: 0.95rem;
  }
  /* Push footer up so sticky CTA doesn't cover it */
  body.has-sticky-cta .site-footer { padding-bottom: 90px; }
  /* Don't show sticky CTA on the book page itself or contact-style pages */
  body[data-page="book"] .sticky-mobile-cta,
  body[data-page="contact"] .sticky-mobile-cta { display: none; }
}

/* (2) Drop the secondary CTA in hero on mobile - one primary action only */
@media (max-width: 720px) {
  .hero-clean .btn-row .btn-secondary,
  .hero-clean-industry .btn-row .btn-secondary {
    display: none;
  }
  .hero-clean .btn-row, .hero-clean-industry .btn-row { justify-content: center; }
}

/* (3) On mobile, lift the product demo ABOVE the tools section.
   Desktop order: tools, then demo. Mobile order: demo, then tools. */
@media (max-width: 720px) {
  .home-demo-block { display: flex; flex-direction: column; }
  .home-demo-block .product-demo { order: 1; }
  .home-demo-block .home-tools   { order: 2; }
}

/* (4) Footer - fix 5-column desktop layout + 2-column mobile layout (brand spans full) */
.footer-grid {
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px 20px;
  }
  .footer-brand { grid-column: 1 / -1; max-width: 520px; }
}
@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px 18px;
  }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
  .footer-col h4 { font-size: 0.82rem; margin-bottom: 0.6rem; }
  .footer-col ul { gap: 0.4rem; }
  .footer-col ul li a { font-size: 0.85rem; }
}

/* (5) Industries grid - 2 columns on phone instead of 1.
   Cards get tighter so 5 rows of 2 cards fit better than 10 rows of 1. */
@media (max-width: 720px) {
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .industry-card {
    padding: 14px 12px;
    min-height: 0;
  }
  .industry-card.size-hero {
    grid-column: 1 / -1;
  }
  .industry-card h3 {
    font-size: 0.96rem;
    line-height: 1.2;
  }
  .industry-card p {
    font-size: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .industry-card .ind-icon {
    width: 26px; height: 26px;
    font-size: 0.7rem;
  }
}

/* ============================================================
   MOBILE POLISH v2 - hover-on-touch fix + page slide + ripple
   ============================================================ */

/* (1) Defeat stuck :hover state on touch devices.
   Tap on iOS fires :hover and it persists until next interaction - looks like the card is permanently lit.
   On touch-only devices, neutralise the transform + shadow lift; use :active for press feedback instead. */
@media (hover: none) {
  .tile:hover,
  .tile-card:hover,
  .industry-card:hover,
  .svc-editorial-card:hover,
  .sw-index-card:hover,
  .sw-badge:hover,
  .proof-card:hover,
  .testimonial-card:hover,
  .workflow-card:hover,
  .related-card:hover,
  .visual-card:hover,
  .tools-tile:hover,
  .dash-chip:hover,
  .svc-toc-chip:hover,
  .pricing-reason:hover,
  .included-tile:hover,
  .home-tools-head p a:hover,
  .footer-locations-link:hover,
  .svc-footer-prompt a:hover {
    transform: none !important;
    box-shadow: 0 1px 2px rgba(13, 13, 13, 0.04) !important;
    border-color: rgba(13, 13, 13, 0.08) !important;
  }
}

/* (2) View transitions on mobile - slide horizontally like an iOS push instead of fade.
   Subtle, fast, feels app-like. */
@media (max-width: 720px) {
  ::view-transition-old(root) {
    animation: 200ms cubic-bezier(0.4, 0, 0.2, 1) both mobile-slide-out;
  }
  ::view-transition-new(root) {
    animation: 280ms cubic-bezier(0.34, 1.34, 0.64, 1) both mobile-slide-in;
  }
}
@keyframes mobile-slide-out {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-12px); }
}
@keyframes mobile-slide-in {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* (3) Sticky mobile CTA entrance: scale-from-0.96 + spring on first reveal */
.sticky-mobile-cta.is-hidden {
  transform: translateY(110%) scale(0.96);
}
.sticky-mobile-cta {
  transform: translateY(0) scale(1);
  transition: transform 320ms cubic-bezier(0.34, 1.34, 0.64, 1);
}

/* (4) Touch ripple on primary CTAs - subtle white radial expand from tap point.
   Only on touch devices. Skipped on .ghost / .btn-secondary (light backgrounds where it wouldn't read).
   Pure additive effect on top of the existing scale-press feedback. */
@media (hover: none) {
  .btn:not(.ghost):not(.btn-secondary) {
    position: relative;
    overflow: hidden;
    isolation: isolate;
  }
  .btn-ripple {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.32);
    transform: scale(0);
    animation: btn-ripple 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}
@keyframes btn-ripple {
  from { transform: scale(0); opacity: 0.6; }
  to   { transform: scale(40); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-ripple { animation: none !important; opacity: 0; }
}

/* ============================================================
   MOBILE TIER 2 + 3 - sitewide tap-to-explore + condensed mobile
   ============================================================ */

/* (1) Sitewide: every .phone-iframe gets pointer-events disabled on mobile so the parent page scrolls
   freely through the embed. The overlay button is the only interaction point.
   Was previously scoped to .product-demo - now applies to industry page sector-dashboard-section too. */
@media (max-width: 900px) {
  .phone-iframe {
    pointer-events: none;
    touch-action: pan-y;
  }
  .demo-mobile-overlay {
    display: inline-flex;
  }
}

/* (2) Section spacing tightened on mobile - cuts overall scroll length substantially */
@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .section.cream { padding: 56px 0; }
  .product-demo { padding: 56px 0; }
  .home-tools { padding: 40px 0; }
  .svc-cat-section { padding: 48px 0; }
  .svc-index-hero { padding: 44px 0 18px; }
  .hero-clean-industry { padding: 48px 0 28px; }
  #services.svc-cat-section { padding: 48px 0; }
  .pricing-inline-cta { margin-top: 32px; }
  .section-head { margin-bottom: 28px; }
}

/* (3) Hide the homepage demo bullets list on mobile - context paragraph + CTA are enough.
   Industry page dashboard-aside gets the same treatment (bullets compressed). */
@media (max-width: 720px) {
  .product-demo-points { display: none; }
  .product-demo-aside .dash-label { display: none; }
  .product-demo-aside { text-align: center; padding: 0 18px; }
  .product-demo-context {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }
  .product-demo-cta { display: none; } /* The Tap-to-explore overlay IS the CTA on mobile */

  /* Industry page sector_dashboard_section dashboard-aside */
  .dashboard-aside .dash-points { display: none; }
  .dashboard-aside .dash-label { display: none; }
  .dashboard-aside .dash-cta { display: none; }
  .dashboard-aside { padding: 0 18px; text-align: center; }
}

/* (4) Shorter site header on mobile - was 64+px, now ~52px */
@media (max-width: 720px) {
  .site-header .nav {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .site-header .brand-logo {
    height: 28px;
    width: auto;
  }
  .site-header .nav-toggle { padding: 8px; }
}

/* (5) Tap-target enforcement - any chip/pill/link that's interactive should be at least 44x44 effectively */
@media (max-width: 720px) {
  .dash-chip {
    min-height: 40px;
    padding: 10px 14px;
  }
  .svc-toc-chip {
    min-height: 40px;
    padding: 9px 14px;
  }
  .tools-tile {
    min-height: 36px;
    padding: 9px 12px;
  }
  .footer-col ul li a {
    display: inline-block;
    padding: 3px 0;
    min-height: 28px;
  }
}

/* ============================================================
   CONSISTENCY SWEEP - radius, hover lifts, H1 clamps
   Single source of truth that overrides scattered ad-hoc values.
   ============================================================ */

:root {
  --radius-sm: 10px;    /* small chips, tools-tile, sw-index mark */
  /* --radius: 14px       already defined (body cards) */
  /* --radius-lg: 22px    already defined (featured cards, plan tiles) */
}

/* All body cards normalised to var(--radius) [14px] */
.industry-card,
.testimonial-card,
.proof-card,
.workflow-card,
.related-card,
.included-tile {
  border-radius: var(--radius);
}

/* Featured/hero variants keep --radius-lg */
.industry-card.size-hero,
.tile-plan,
.proof-card.size-hero {
  border-radius: var(--radius-lg);
}

/* All card hover lifts standardised to -2px (was 1, 2, 3, 4 px - now uniform) */
.tile:hover,
.tile-card:hover,
.workflow-card:hover,
.related-card:hover,
.industry-card:hover,
.svc-editorial-card:hover,
.sw-index-card:hover,
.sw-badge:hover,
.proof-card:hover,
.testimonial-card:hover,
.pricing-reason:hover,
.included-tile:hover {
  transform: translateY(-2px);
}

/* H1 clamp consolidation - 3 scales total
   1) homepage hero giant (.hero.hero-clean): keep clamp(2.8rem, 6vw, 5.2rem)
   2) all other heroes (.svc-index-hero, .hero-clean-industry, .sw-hero-copy, .page-hero):
      clamp(2.2rem, 4.8vw, 4rem)
   3) slim utility header (.page-header-slim): clamp(1.9rem, 3.6vw, 3rem) */
.svc-index-hero h1,
.hero-clean-industry h1,
.sw-hero-copy h1,
.page-hero h1 {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  letter-spacing: -0.018em;
  line-height: 1.06;
}
.page-header-slim h1 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  letter-spacing: -0.012em;
  line-height: 1.08;
}

/* ============================================================
   BOOKING PAGE - Calendly-style calendar + slot picker
   ============================================================ */

.booking-hero { padding-bottom: 24px; }

.booking-stage { padding: 28px 0 96px; background: #fff; }
.booking-wrap {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.booking-info {
  position: sticky;
  top: 28px;
  border-right: 1px solid rgba(13, 13, 13, 0.06);
  padding-right: 32px;
}
.booking-host { display: flex; flex-direction: column; gap: 4px; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid rgba(13,13,13,0.06); }
.booking-host-name { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.01em; }
.booking-host-role { font-size: 0.92rem; color: var(--muted); }
.booking-meta { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.booking-meta-row { display: flex; align-items: center; gap: 10px; color: var(--ink-2, #4a4a4a); font-size: 0.95rem; }
.booking-meta-row svg { color: var(--muted); flex-shrink: 0; }
.booking-expect h3 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.6rem; }
.booking-expect ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.booking-expect li { font-size: 0.92rem; color: var(--ink-2); line-height: 1.5; padding-left: 16px; position: relative; }
.booking-expect li::before { content: "→"; position: absolute; left: 0; color: var(--green); }

/* Picker panel */
.booking-picker { min-height: 460px; }
.booking-step { animation: booking-step-in 280ms cubic-bezier(0.34, 1.34, 0.64, 1) both; }
@keyframes booking-step-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.booking-step-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.booking-step-head h3 { font-size: 1.4rem; margin: 0; letter-spacing: -0.012em; }
.booking-step-sub { color: var(--muted); font-size: 0.88rem; }

.booking-back {
  background: none; border: none; color: var(--muted); font-family: inherit; font-size: 0.88rem; cursor: pointer;
  padding: 6px 0; margin-bottom: 14px;
  transition: color 0.16s ease;
}
.booking-back:hover { color: var(--ink); }

/* Calendar grid */
.booking-month-nav { display: inline-flex; align-items: center; gap: 10px; }
.booking-month-btn {
  width: 32px; height: 32px; border-radius: 999px;
  background: transparent; border: 1px solid rgba(13,13,13,0.10);
  color: var(--ink); cursor: pointer; font-size: 0.9rem;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.16s, border-color 0.16s, transform 0.08s;
}
.booking-month-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.booking-month-btn:active { transform: scale(0.94); }
.booking-month-btn[disabled] { opacity: 0.35; cursor: not-allowed; }
.booking-month-label { font-weight: 700; font-size: 0.98rem; min-width: 130px; text-align: center; }

.booking-cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  max-width: 460px;
}
.booking-cal-loading { grid-column: span 7; color: var(--muted); padding: 32px; text-align: center; font-size: 0.92rem; }
.booking-cal-dayname { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 6px 0; }

.booking-cal-day {
  background: transparent; border: 1px solid rgba(13,13,13,0.06); border-radius: 10px;
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; font-weight: 600; color: var(--ink);
  cursor: pointer; font-family: inherit;
  transition: background 0.16s, border-color 0.16s, transform 0.08s, color 0.16s;
}
.booking-cal-day:hover:not([disabled]) {
  background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-1px);
}
.booking-cal-day:active:not([disabled]) { transform: scale(0.94); }
.booking-cal-day[disabled] { color: rgba(13,13,13,0.25); cursor: not-allowed; background: rgba(13,13,13,0.02); }
.booking-cal-day.is-today { box-shadow: inset 0 0 0 2px var(--green); }
.booking-cal-day.is-other-month { color: rgba(13,13,13,0.20); pointer-events: none; }

/* Slot list */
.booking-slot-list { display: grid; gap: 8px; max-width: 460px; }
.booking-slot {
  background: #fff;
  border: 1px solid rgba(13,13,13,0.10);
  border-radius: 999px;
  padding: 14px 20px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  text-align: center;
  transition: background 0.16s, border-color 0.16s, transform 0.08s, color 0.16s;
}
.booking-slot:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-1px); }
.booking-slot:active { transform: scale(0.97); }
.booking-slot small { display: block; font-size: 0.74rem; color: var(--muted); margin-top: 2px; font-weight: 500; }
.booking-slot:hover small { color: rgba(255,255,255,0.7); }
.booking-no-slots { padding: 40px 0; color: var(--muted); font-size: 0.92rem; text-align: center; }

/* Booking form */
.booking-form { display: grid; gap: 18px; max-width: 520px; }
.booking-field { display: flex; flex-direction: column; gap: 6px; }
.booking-field span { font-size: 0.84rem; font-weight: 600; color: var(--ink); }
.booking-field span i { color: var(--green); font-style: normal; margin-left: 2px; }
.booking-field span small { color: var(--muted); font-weight: 500; font-size: 0.84rem; }
.booking-field input,
.booking-field textarea {
  background: #fff;
  border: 1px solid rgba(13,13,13,0.12);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  width: 100%;
  transition: border-color 0.16s, box-shadow 0.16s;
}
.booking-field input:focus,
.booking-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(13,13,13,0.06);
}
.booking-field textarea { resize: vertical; min-height: 88px; }
.booking-submit { margin-top: 4px; justify-self: start; }
.booking-form-microcopy { color: var(--muted); font-size: 0.86rem; margin: 0; }
.booking-error {
  background: rgba(184, 54, 47, 0.08);
  border: 1px solid rgba(184, 54, 47, 0.2);
  border-radius: 10px;
  padding: 12px 14px;
  color: #b8362f;
  font-size: 0.92rem;
}

/* Confirmation */
.booking-step-success { text-align: center; padding: 32px 0; }
.booking-success-mark { color: var(--green); margin: 0 auto 18px; display: inline-flex; }
.booking-success-mark svg { width: 56px; height: 56px; }
.booking-step-success h3 { font-size: 2rem; margin: 0 0 10px; letter-spacing: -0.012em; }
.booking-success-when { font-size: 1.1rem; font-weight: 600; margin: 0 0 6px; }
.booking-success-meta { color: var(--ink-2); font-size: 0.95rem; margin: 0 0 24px; }
.booking-success-actions { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* Mobile */
@media (max-width: 900px) {
  .booking-wrap { grid-template-columns: 1fr; gap: 24px; }
  .booking-info { position: static; border-right: 0; padding-right: 0; padding-bottom: 24px; border-bottom: 1px solid rgba(13,13,13,0.06); }
  .booking-stage { padding: 20px 0 96px; }
}
@media (max-width: 540px) {
  .booking-step-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .booking-cal { gap: 4px; }
  .booking-cal-day { font-size: 0.86rem; border-radius: 8px; }
  .booking-slot { padding: 12px 16px; font-size: 0.92rem; }
}

/* ============================================================
 * Resource pages (long-form articles, /resources/<slug>)
 * ============================================================ */
.page-hero-resource { background: linear-gradient(180deg, #fafaf7 0%, #fff 100%); }
.page-hero-resource .lede { max-width: 740px; }
.rsc-meta { color: var(--ink-2); font-size: 0.95rem; margin-top: 1.4rem; }
.rsc-meta span { white-space: nowrap; }
.rsc-body-wrap { padding-top: 24px; }
.rsc-wrap { display: block; }
.rsc-article { max-width: 760px; margin: 0 auto; font-size: 1.06rem; line-height: 1.7; color: var(--ink-1); }
.rsc-article h2 { font-size: 1.7rem; line-height: 1.25; letter-spacing: -0.012em; margin: 2.4em 0 0.4em; color: var(--ink-1); }
.rsc-article h2:first-child { margin-top: 0; }
.rsc-article p { margin: 0 0 1.1em; }
.rsc-article ul, .rsc-article ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.rsc-article li { margin-bottom: 0.5em; }
.rsc-article strong { color: var(--ink-1); font-weight: 600; }
.rsc-intro { background: #f5f2ec; border-left: 4px solid var(--green); padding: 1.4em 1.6em; border-radius: 6px; margin-bottom: 2.4em; }
.rsc-intro-answer { font-size: 1.12rem; line-height: 1.65; color: var(--ink-1); margin: 0; }
.rsc-capsule { background: rgba(66,213,130,0.08); border-radius: 6px; padding: 0.9em 1.1em; font-size: 1rem; color: var(--ink-1); margin: 0.4em 0 1.4em; }
.rsc-faq-wrap { margin-top: 32px; }
.rsc-cta { margin-top: 0; }
@media (max-width: 720px) {
  .rsc-article { font-size: 1rem; }
  .rsc-article h2 { font-size: 1.4rem; }
  .rsc-intro { padding: 1.2em 1.2em; }
  .rsc-intro-answer { font-size: 1.05rem; }
}

/* ============================================================
 * Homepage Australian-context strip + Across Australia band
 * ============================================================ */
.hero-au-strip {
  margin: 0.4rem 0 1.2rem;
  color: var(--ink-2);
  font-size: 0.94rem;
  line-height: 1.5;
}
.hero-au-strip a {
  color: var(--ink-1);
  border-bottom: 1px solid rgba(13,13,13,0.18);
  transition: border-color 180ms var(--ease);
}
.hero-au-strip a:hover { border-color: var(--green); }

.au-locations-band .section-head { margin-bottom: 1.6rem; }
.au-city-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 720px;
  margin: 0 auto;
}
.au-city-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-1);
  font-size: 0.95rem;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}
.au-city-pill:hover {
  transform: translateY(-1px);
  border-color: var(--green);
  background: rgba(66,213,130,0.06);
}
.au-city-name { font-weight: 600; }
.au-city-state {
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--ink-2);
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .au-city-pills { gap: 8px; }
  .au-city-pill { padding: 9px 14px; font-size: 0.9rem; }
}

/* Footer "Last reviewed" indicator — freshness signal for AI engines */
.footer-bar .footer-reviewed {
  color: var(--ink-1);
  font-size: 0.85rem;
  white-space: nowrap;
}
