/* ============================================================
   WestCoast Automation Solutions, V3 Stylesheet
   Mobile-first. Warm light theme.
   ============================================================ */

@import url('tokens.css');

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ---- Base ---- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Typography scale, fluid
   DM Serif Display is a single-weight display face; weight is design-set. */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 6vw, 4rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.25rem, 2.6vw, 1.5rem);
  letter-spacing: -0.01em;
}

h4 {
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

p {
  color: var(--ink-soft);
  font-size: 1rem;
}

p.lead {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-soft);
}

a.text-link {
  color: var(--accent-deep);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color var(--t-fast) var(--ease);
}
a.text-link:hover { color: var(--accent); }

::selection {
  background: var(--accent-soft);
  color: var(--ink);
}

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.container-narrow {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---- Section ---- */
.section {
  padding: var(--s-9) 0;
}

@media (min-width: 768px) {
  .section { padding: var(--s-10) 0; }
}

.section-tight { padding: var(--s-8) 0; }

.section-alt { background: var(--bg-alt); }
.section-warm { background: var(--bg-warm); }
.section-ink {
  background: var(--ink);
  color: rgba(255,255,255,0.86);
}
.section-ink h1, .section-ink h2, .section-ink h3, .section-ink h4 { color: #fff; }

/* Section header (eyebrow + title + lede) */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: var(--s-4);
}

.section-eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1.5px;
  background: var(--accent);
}

.section-title {
  max-width: 720px;
  margin-bottom: var(--s-4);
}

.section-lede {
  max-width: 640px;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.section-centered {
  text-align: center;
}

.section-centered .section-eyebrow { display: inline-flex; }
.section-centered .section-title,
.section-centered .section-lede { margin-left: auto; margin-right: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: 0 var(--s-6);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.005em;
  border-radius: var(--r-pill);
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-base) var(--ease),
              background var(--t-base) var(--ease),
              color var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
  white-space: nowrap;
  border: 1.5px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--accent-deep);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--bg-elev);
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  background: var(--bg);
  border-color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover {
  background: rgba(15,42,68,0.05);
}

.btn-large { min-height: 56px; padding: 0 var(--s-7); font-size: 1rem; }
.btn-block { display: flex; width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
}

/* Inline icon next to btn label */
.btn .icon { width: 18px; height: 18px; }

/* Arrow nudge on hover */
.btn .arrow {
  display: inline-block;
  transition: transform var(--t-base) var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ---- Navigation ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  gap: var(--s-4);
}

.nav-logo { display: flex; align-items: center; min-height: 44px; }
.nav-logo img { height: 38px; width: auto; }

.nav-links {
  display: none;
  align-items: center;
  gap: var(--s-6);
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 0;
  position: relative;
  transition: color var(--t-fast) var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active {
  color: var(--ink);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-cta-wrap { display: flex; align-items: center; gap: var(--s-3); }
.nav-cta {
  display: none;
}

.nav-hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 880px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-hamburger { display: none; }
}

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--bg);
  z-index: 49;
  padding: var(--s-7) var(--gutter) var(--s-9);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}
.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--ink);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--border-soft);
  min-height: 56px;
  display: flex;
  align-items: center;
}
.mobile-nav a.cta {
  margin-top: var(--s-5);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--r-pill);
  padding: var(--s-4) var(--s-6);
  justify-content: center;
}

@media (min-width: 880px) {
  .mobile-nav { display: none !important; }
}

body.nav-open { overflow: hidden; }

/* ---- Nav: Industries dropdown ---- */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color var(--t-fast) var(--ease);
}
.nav-dropdown-toggle:hover,
.nav-dropdown:focus-within .nav-dropdown-toggle { color: var(--ink); }
.nav-dropdown-toggle .caret {
  font-size: 0.75em;
  transition: transform var(--t-fast) var(--ease);
}
.nav-dropdown:hover .nav-dropdown-toggle .caret,
.nav-dropdown:focus-within .nav-dropdown-toggle .caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: -16px;
  min-width: 220px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: var(--s-3) 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease),
              visibility 0s linear var(--t-fast);
  z-index: 60;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}
.nav-dropdown-menu a {
  padding: var(--s-3) var(--s-5);
  font-size: 0.9375rem;
  color: var(--ink-soft);
  white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: var(--bg-warm); color: var(--ink); }
.nav-dropdown-menu a.active { color: var(--ink); background: var(--bg-warm); }

/* Two-column variant for industry dropdown */
.nav-dropdown-menu-2col {
  flex-direction: row;
  min-width: 460px;
  padding: var(--s-4) 0;
  gap: 0;
}
.nav-dropdown-menu-2col .nav-dropdown-col {
  display: flex;
  flex-direction: column;
  min-width: 220px;
  padding: 0 var(--s-2);
}
.nav-dropdown-menu-2col .nav-dropdown-col + .nav-dropdown-col {
  border-left: 1px solid var(--border-soft);
}
.nav-dropdown-heading {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  padding: var(--s-2) var(--s-5);
}

/* ---- Resource cards (Resources page) ---- */
.resource-card { display: flex; flex-direction: column; }
.resource-card p { flex-grow: 1; }
.resource-form {
  margin-top: var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.resource-form input[type="email"] {
  padding: var(--s-3) var(--s-4);
  font-size: 0.9375rem;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--ink);
  min-height: 44px;
  transition: border-color var(--t-fast) var(--ease);
}
.resource-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
}
.resource-note {
  font-size: 0.75rem;
  color: var(--ink-muted);
  text-align: center;
  margin-top: var(--s-1);
}
.resource-card.success .resource-form { display: none; }
.resource-success {
  margin-top: var(--s-4);
  padding: var(--s-4);
  background: var(--bg-warm);
  border: 1px solid var(--accent);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: 0.9375rem;
  text-align: center;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* ---- Blog listing ---- */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}
@media (min-width: 720px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
  text-decoration: none;
  color: inherit;
}
.blog-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}
.blog-card-image {
  aspect-ratio: 16 / 10;
  background: var(--bg-warm);
  overflow: hidden;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-card-body {
  padding: var(--s-5) var(--s-5) var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  flex: 1;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 0.75rem;
  color: var(--ink-muted);
}
.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.blog-card-excerpt {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.blog-card-readmore {
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-deep, var(--accent));
}

/* ---- Article (blog post body) ---- */
.article {
  max-width: 720px;
  margin: 0 auto;
}
.article-hero {
  aspect-ratio: 16 / 9;
  max-width: 1080px;
  margin: 0 auto var(--s-6);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-warm);
}
.article-hero img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-3);
  font-size: 0.8125rem;
  color: var(--ink-muted);
  margin-bottom: var(--s-4);
}
.article h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: var(--s-4);
}
.article .lead {
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: var(--s-5);
}
.article h2 {
  font-family: var(--font-display);
  font-size: 1.625rem;
  line-height: 1.25;
  color: var(--ink);
  margin-top: var(--s-7);
  margin-bottom: var(--s-4);
  letter-spacing: -0.01em;
}
.article h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1875rem;
  line-height: 1.3;
  color: var(--ink);
  margin-top: var(--s-5);
  margin-bottom: var(--s-3);
}
.article p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: var(--s-4);
}
.article ul,
.article ol {
  margin: 0 0 var(--s-4) var(--s-5);
  padding: 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.article li { margin-bottom: var(--s-2); }
.article strong { color: var(--ink); font-weight: 600; }
.article a:not(.btn) {
  color: var(--accent);
  border-bottom: 1px solid rgba(233, 123, 46, 0.35);
  transition: border-color var(--t-fast) var(--ease);
}
.article a:not(.btn):hover { border-bottom-color: var(--accent); }
.article blockquote {
  border-left: 3px solid var(--accent);
  padding: var(--s-3) var(--s-5);
  margin: var(--s-5) 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--ink);
  background: var(--bg-warm);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.article-cta {
  margin-top: var(--s-7);
  padding: var(--s-6);
  background: var(--bg-warm);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  text-align: center;
}
.article-cta h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: var(--s-3);
}
.article-breadcrumb {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  margin-bottom: var(--s-4);
}
.article-breadcrumb a { color: var(--ink-soft); }
.article-breadcrumb a:hover { color: var(--accent); }

/* ---- Newsletter signup (injected into footer) ---- */
.newsletter-signup {
  max-width: var(--max-w);
  margin: 0 auto var(--s-6);
  padding: var(--s-6) var(--gutter) 0;
}
.newsletter-inner {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (min-width: 720px) {
  .newsletter-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--s-6); }
}
.newsletter-copy h4 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 6px;
}
.newsletter-copy p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.newsletter-form {
  display: flex;
  gap: var(--s-2);
  width: 100%;
  max-width: 420px;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-height: 44px;
  padding: 0 var(--s-4);
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.9375rem;
}
.newsletter-form input[type="email"]::placeholder { color: rgba(255, 255, 255, 0.45); }
.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.1);
}
.newsletter-form button {
  min-height: 44px;
  padding: 0 var(--s-5);
  white-space: nowrap;
}
.newsletter-status {
  margin-top: var(--s-3);
  color: var(--accent);
  font-size: 0.9375rem;
  min-height: 1.5em;
}

/* ---- Mobile sticky CTA ---- */
.mobile-sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: stretch;
  gap: 8px;
  z-index: 80;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  pointer-events: none;
}
.mobile-sticky-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-sticky-cta.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}
.mobile-sticky-cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 var(--s-5);
  border-radius: var(--r-md);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(30, 29, 26, 0.24);
  letter-spacing: -0.005em;
}
.mobile-sticky-cta-btn:hover { background: var(--accent-deep, var(--accent)); }
.mobile-sticky-cta-dismiss {
  width: 44px;
  min-height: 52px;
  border-radius: var(--r-md);
  background: var(--ink);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(30, 29, 26, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-sticky-cta-dismiss:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
@media (min-width: 880px) {
  .mobile-sticky-cta { display: none; }
}
@supports (padding: env(safe-area-inset-bottom)) {
  .mobile-sticky-cta { bottom: calc(12px + env(safe-area-inset-bottom)); }
}

@media (max-width: 879px) {
  .nav-dropdown { display: none; }
}

/* Mobile nav: Industries section */
.mobile-nav-section {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: var(--s-2);
}
.mobile-nav-label {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--s-3) 0 var(--s-1);
}
.mobile-nav a.indent {
  font-size: 1.25rem;
  padding-left: var(--s-4);
  border-bottom: none;
  min-height: 48px;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: var(--s-9) 0 var(--s-8);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: center;
}

@media (min-width: 980px) {
  .hero { padding: var(--s-10) 0 var(--s-9); }
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: var(--s-9);
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: var(--s-5);
  box-shadow: var(--shadow-sm);
}
.hero-eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(233,123,46,0.18);
}

.hero h1 .accent {
  color: var(--accent-deep);
  font-style: italic;
  font-weight: 700;
  display: inline-block;
  padding-right: 0.08em;
}

.hero p.lead {
  margin-top: var(--s-5);
  max-width: 540px;
  color: var(--ink-soft);
}

.hero-buttons {
  margin-top: var(--s-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}

.hero-trust {
  margin-top: var(--s-7);
  display: flex;
  align-items: center;
  gap: var(--s-4);
  flex-wrap: wrap;
  color: var(--ink-muted);
  font-size: 0.875rem;
}

.hero-image {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: var(--bg-alt);
}

@media (min-width: 980px) {
  .hero-image { aspect-ratio: 4 / 5; }
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating credibility chip on hero image */
.hero-chip {
  position: absolute;
  bottom: var(--s-5);
  left: var(--s-5);
  right: var(--s-5);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-md);
  display: flex;
  gap: var(--s-3);
  align-items: center;
  box-shadow: var(--shadow-md);
  font-size: 0.875rem;
  color: var(--ink);
}

.hero-chip strong { color: var(--ink); font-weight: 600; }
.hero-chip-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ---- Cards ---- */
.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: box-shadow var(--t-base) var(--ease),
              transform var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.card-tight { padding: var(--s-5); }

.card-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--s-4);
}
.card-icon svg { width: 24px; height: 24px; }

.card h3 { margin-bottom: var(--s-2); }
.card p { color: var(--ink-soft); font-size: 0.9375rem; }

/* Card grid */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}
@media (min-width: 600px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---- Stats ---- */
.stat {
  text-align: left;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 600;
  color: var(--accent-deep);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: var(--s-2);
}
.stat-label {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.stat-source {
  margin-top: var(--s-3);
  font-size: 0.75rem;
  color: var(--ink-muted);
  font-style: italic;
}

/* ---- Pills ---- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--r-pill);
  background: var(--bg-alt);
  color: var(--ink-soft);
  border: 1px solid var(--border);
}
.pill-accent {
  background: var(--accent-soft);
  color: var(--accent-deep);
  border-color: rgba(233,123,46,0.2);
}
.pill-teal {
  background: var(--teal-soft);
  color: var(--teal);
  border-color: rgba(46,143,168,0.18);
}
.tier-pill {
  align-self: flex-start;
  margin-bottom: var(--s-3);
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tier-pill-ultra {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ---- Quote / Testimonial ---- */
.quote {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
}
.quote-stars {
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: var(--s-3);
}
.quote-text {
  font-family: var(--font-body);
  font-size: 1.1875rem;
  line-height: 1.65;
  color: var(--ink);
  font-weight: 400;
}
.quote-text::before { content: "\201C"; }
.quote-text::after { content: "\201D"; }
.quote-author {
  margin-top: var(--s-5);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding-top: var(--s-4);
  border-top: 1px solid var(--border-soft);
}
.quote-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.quote-avatar.accent { background: var(--accent); }
.quote-author-name { font-weight: 600; color: var(--ink); font-size: 0.9375rem; }
.quote-author-meta { font-size: 0.8125rem; color: var(--ink-muted); }

/* ---- Forms ---- */
.field { margin-bottom: var(--s-5); }
.field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--s-2);
}
.field label .req { color: var(--accent); }

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--bg-elev);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-sm);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-base) var(--ease);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }

.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
}
.field-row .field { margin-bottom: 0; }
@media (min-width: 600px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}

.form-success, .form-error {
  padding: var(--s-6);
  border-radius: var(--r-lg);
  text-align: center;
}
.form-success {
  background: rgba(46,143,168,0.08);
  border: 1px solid rgba(46,143,168,0.2);
  color: var(--ink);
}
.form-error {
  background: rgba(233,123,46,0.08);
  border: 1px solid rgba(233,123,46,0.2);
  color: var(--ink);
}

/* ---- Footer ---- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.78);
  padding: var(--s-9) 0 var(--s-6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: var(--s-6);
  }
}

.footer-brand .footer-logo {
  display: flex; align-items: center;
  margin-bottom: var(--s-4);
}
.footer-brand .footer-logo img {
  height: 40px;
  /* Invert dark navy logo to read on dark bg if needed; PNG is colorful so it should be fine */
  filter: brightness(0) invert(1);
  opacity: 0.94;
}
.footer-tagline {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.4;
  margin-bottom: var(--s-5);
  max-width: 320px;
}
.footer-social {
  display: flex; gap: var(--s-3);
}
.footer-col .footer-social a {
  width: 40px; height: 40px;
  min-height: 0;
  padding: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.footer-col .footer-social a:hover { background: var(--accent); color: #fff; }
.footer-social svg { width: 20px; height: 20px; display: block; }

.footer-col h4 {
  color: rgba(255,255,255,0.96);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--s-4);
}
.footer-col a {
  display: block;
  padding: 6px 0;
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
  transition: color var(--t-fast) var(--ease);
  min-height: 32px;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  max-width: var(--max-w);
  margin: var(--s-7) auto 0;
  padding: var(--s-5) var(--gutter) 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.8125rem;
}
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom-links { display: flex; gap: var(--s-5); }

/* ---- Page Hero (interior pages) ---- */
.page-hero {
  padding: var(--s-9) 0 var(--s-7);
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%);
  text-align: center;
}
.page-hero h1 { margin-bottom: var(--s-4); }
.page-hero p {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  max-width: 640px;
  margin: 0 auto;
  color: var(--ink-soft);
}

/* ---- Process / Steps ---- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  counter-reset: step;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.step {
  padding: var(--s-6);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  position: relative;
}
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: var(--s-4);
}
.step h3 { margin-bottom: var(--s-2); }
.step p { font-size: 0.9375rem; color: var(--ink-soft); }

/* ---- Showcase case study ---- */
.case {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .case { grid-template-columns: 1fr 1fr; }
  .case.reverse .case-media { order: 2; }
}
.case-media {
  background: var(--bg-alt);
  min-height: 280px;
  position: relative;
}
.case-media img { width: 100%; height: 100%; object-fit: cover; }
.case-body { padding: var(--s-7) var(--s-6); }
@media (min-width: 880px) {
  .case-body { padding: var(--s-8); }
}
.case-pills { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-bottom: var(--s-4); }
.case-title { margin-bottom: var(--s-3); }
.case-summary { color: var(--ink-soft); margin-bottom: var(--s-5); }
.case-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  padding: var(--s-5);
  border-radius: var(--r-md);
  background: var(--bg-warm);
  border: 1px solid var(--border-soft);
}
@media (min-width: 480px) {
  .case-metrics { grid-template-columns: 1fr 1fr 1fr; }
}
.case-metric .num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-deep);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.case-metric .label {
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-top: 2px;
  line-height: 1.35;
}

/* ---- ROI Calculator ---- */
.roi {
  background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg-warm) 120%);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  box-shadow: var(--shadow-md);
}
@media (min-width: 880px) {
  .roi { padding: var(--s-8); }
}
.roi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: start;
}
@media (min-width: 880px) {
  .roi-grid { grid-template-columns: 1fr 1fr; }
}
.roi h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.625rem);
  margin-bottom: var(--s-2);
}
.roi-tagline { color: var(--ink-muted); font-size: 0.9375rem; margin-bottom: var(--s-5); }

.roi-result {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: var(--s-6);
}
.roi-result .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--s-2);
}
.roi-result .big {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: var(--s-4);
}
.roi-result .accent { color: var(--accent); }
.roi-result .breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
  padding-top: var(--s-4);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.roi-result .breakdown .item {
  font-size: 0.8125rem;
}
.roi-result .breakdown .item-label {
  color: rgba(255,255,255,0.6);
  display: block;
  margin-bottom: 2px;
}
.roi-result .breakdown .item-value {
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
}
.roi-capture {
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.roi-capture .field { margin-bottom: var(--s-3); }
.roi-capture input {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}
.roi-capture input::placeholder { color: rgba(255,255,255,0.5); }
.roi-capture input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(233,123,46,0.2);
}

/* ---- Live SMS Demo ---- */
.sms-demo {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  align-items: center;
  box-shadow: var(--shadow-md);
}
@media (min-width: 760px) {
  .sms-demo { grid-template-columns: 1fr auto; padding: var(--s-7); }
}
.sms-demo h3 { margin-bottom: var(--s-2); font-family: var(--font-display); font-size: 1.5rem; }
.sms-demo p { color: var(--ink-soft); font-size: 0.9375rem; margin-bottom: var(--s-3); }
.sms-status {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 0.8125rem;
  color: var(--ink-muted);
  background: var(--bg-warm);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-soft);
}
.sms-status .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22,163,74,0.18);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}
.sms-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  background: var(--ink);
  color: #fff;
  padding: var(--s-5) var(--s-7);
  border-radius: var(--r-lg);
  text-align: center;
  min-width: 240px;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.sms-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.sms-cta .label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.sms-cta .number {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.sms-cta .arrow-text {
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
}

/* ---- Pain stat block ---- */
.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}
@media (min-width: 800px) {
  .pain-grid { grid-template-columns: repeat(3, 1fr); }
}
.pain-card {
  padding: var(--s-6);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--r-md);
}
.pain-card .num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.25rem);
  font-weight: 600;
  color: var(--accent-deep);
  line-height: 1;
  margin-bottom: var(--s-3);
}
.pain-card .head {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--s-2);
  font-size: 1rem;
}
.pain-card .body {
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.pain-card .src {
  margin-top: var(--s-3);
  font-size: 0.75rem;
  color: var(--ink-muted);
  font-style: italic;
}

/* ---- Pricing tiers ---- */
.tier {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-7);
  display: flex;
  flex-direction: column;
  position: relative;
}
.tier.featured {
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: var(--shadow-md);
}
.tier-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--r-pill);
}
.tier-name { font-size: 1.125rem; font-weight: 600; color: var(--ink); margin-bottom: var(--s-2); }
.tier-price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: var(--s-2);
}
.tier-price .per { font-size: 0.875rem; font-weight: 500; color: var(--ink-muted); font-family: var(--font-body); }
.tier-tagline { color: var(--ink-soft); font-size: 0.9375rem; margin-bottom: var(--s-5); min-height: 2.5em; }
.tier-features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
  flex-grow: 1;
}
.tier-features li {
  display: flex;
  gap: var(--s-2);
  align-items: flex-start;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.tier-features li::before {
  content: "";
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  background-color: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
}
.tier-features li.sub {
  padding-left: var(--s-6);
  font-size: 0.875rem;
  color: var(--ink);
  font-weight: 500;
  gap: var(--s-3);
  align-items: center;
}
.tier-features li.sub::before { display: none; }
.tier-features .lock {
  display: inline-flex;
  align-items: center;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent-deep);
  border: 1px solid rgba(233,123,46,0.25);
  white-space: nowrap;
}
.tier-features .lock.lock-ultra {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ---- Legal pages (privacy, terms) ---- */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--s-9) var(--gutter) var(--s-9);
}
.legal-page .legal-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-deep);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--s-3);
  display: inline-block;
}
.legal-page h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: var(--s-3);
}
.legal-page .last-updated {
  color: var(--ink-muted);
  font-size: 0.9375rem;
  margin-bottom: var(--s-7);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--border);
}
.legal-page h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  margin-top: var(--s-7);
  margin-bottom: var(--s-3);
  letter-spacing: -0.015em;
}
.legal-page h2:first-of-type { margin-top: 0; }
.legal-page p {
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: var(--s-4);
  font-size: 1rem;
}
.legal-page ul {
  margin: 0 0 var(--s-4) var(--s-5);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.legal-page ul li {
  color: var(--ink-soft);
  line-height: 1.6;
  position: relative;
  padding-left: var(--s-4);
  list-style: none;
}
.legal-page ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.legal-page ul li em { font-style: normal; font-weight: 600; color: var(--ink); }
.legal-page a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.legal-page a:hover { color: var(--accent); }

/* ---- Bottom CTA band ---- */
.cta-band {
  background: var(--bg-warm);
  padding: var(--s-8) var(--gutter);
  text-align: center;
}
.cta-band > .container {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-xl);
  padding: var(--s-9) var(--s-7);
  max-width: 1080px;
  margin: 0 auto;
}
.cta-band h2 { color: #fff; margin-bottom: var(--s-4); }
.cta-band p { color: rgba(255,255,255,0.78); max-width: 580px; margin: 0 auto var(--s-5); }
.cta-band .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.cta-band .btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: #fff; }

/* ---- Collapsible "Build your own stack" on /pricing ---- */
.alacarte-toggle { display: block; }
.alacarte-toggle summary {
  cursor: pointer;
  list-style: none;
  outline: none;
}
.alacarte-toggle summary::-webkit-details-marker { display: none; }
.alacarte-toggle summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 8px;
  border-radius: var(--r-md);
}
.alacarte-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-left: var(--s-3);
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 1.5rem;
  font-weight: 400;
  font-family: var(--font-body);
  line-height: 1;
  transition: background var(--t-fast) var(--ease);
  vertical-align: middle;
}
.alacarte-chevron::before { content: "+"; }
.alacarte-toggle[open] .alacarte-chevron::before { content: "\2212"; } /* minus sign */
.alacarte-toggle summary:hover .alacarte-chevron { background: var(--accent); color: #fff; }

/* ---- 60-second Micro-Audit ---- */
.audit-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-7) var(--s-6);
  box-shadow: var(--shadow-md);
  max-width: 720px;
  margin: 0 auto;
}
.audit-progress {
  display: flex;
  gap: var(--s-2);
  justify-content: center;
  margin-bottom: var(--s-6);
}
.audit-dot {
  width: 24px; height: 4px;
  border-radius: var(--r-pill);
  background: var(--border);
  transition: background var(--t-fast) var(--ease);
}
.audit-dot.active { background: var(--accent); }
.audit-dot.done   { background: var(--accent-deep); }
.audit-step-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  text-align: center;
  margin-bottom: var(--s-3);
}
.audit-step-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  text-align: center;
  margin-bottom: var(--s-6);
  letter-spacing: -0.01em;
}
.audit-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
}
.audit-option {
  appearance: none;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-md);
  cursor: pointer;
  min-height: 52px;
  transition: border-color var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}
.audit-option:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.audit-option:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.audit-option:active { transform: translateY(1px); }

/* Result card */
.audit-result-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  text-align: center;
  margin-bottom: var(--s-3);
}
.audit-result-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  text-align: center;
  letter-spacing: -0.01em;
  margin-bottom: var(--s-6);
  color: var(--ink);
}
.audit-result-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  margin-bottom: var(--s-6);
}
.audit-result-block {
  background: var(--bg-warm);
  border-radius: var(--r-md);
  padding: var(--s-5);
}
.audit-result-block-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--s-2);
}
.audit-result-block-value {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: var(--s-3);
}
.audit-result-block-why,
.audit-result-impact {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
.audit-result-impact strong { color: var(--ink); font-weight: 700; }

.audit-result-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
}
.audit-result-cta .btn { width: auto; }
.audit-restart {
  appearance: none;
  background: none;
  border: none;
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-size: 0.875rem;
  text-decoration: underline;
  cursor: pointer;
  padding: var(--s-2);
}
.audit-restart:hover { color: var(--ink); }

@media (min-width: 640px) {
  .audit-result-body { grid-template-columns: 1fr 1fr; }
}

/* Audit-complete pill on /contact when arriving from the audit */
.audit-complete-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  background: var(--accent-soft);
  color: var(--accent-deep);
  padding: 6px var(--s-3);
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: var(--s-4);
}

/* ---- Utilities ---- */
.text-center { text-align: center; }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--r-sm);
  z-index: 100;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---- Integrations grid (Works with) ---- */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
}
@media (min-width: 600px) {
  .integrations-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .integrations-grid { grid-template-columns: repeat(3, 1fr); }
}
.integration-tile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--s-1);
  padding: var(--s-5) var(--s-5);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  min-height: 96px;
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.integration-tile:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}
.integration-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.integration-role {
  font-size: 0.8125rem;
  color: var(--ink-muted);
}
.integration-tile-cta {
  background: var(--ink);
  border-color: var(--ink);
  cursor: pointer;
}
.integration-tile-cta .integration-name,
.integration-tile-cta .integration-role {
  color: #fff;
}
.integration-tile-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* ---- Worked-with strip (under hero) ---- */
.worked-with-strip {
  padding: var(--s-5) 0;
  background: var(--bg-warm);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.worked-with-label {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--s-3);
}
.worked-with-brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--s-2) var(--s-4);
  row-gap: var(--s-2);
}
.worked-with-brand {
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 2vw, 1.375rem);
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.worked-with-brand-soft {
  color: var(--ink-muted);
  font-style: italic;
}
.worked-with-dot {
  color: var(--ink-muted);
  font-size: 1.25rem;
}
@media (max-width: 640px) {
  .worked-with-dot { display: none; }
  .worked-with-brands { flex-direction: column; gap: var(--s-2); }
}

/* ---- Meet Sam / founder section ---- */
.founder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  align-items: start;
}
@media (min-width: 900px) {
  .founder-grid {
    grid-template-columns: 5fr 7fr;
    gap: var(--s-7);
    align-items: center;
  }
}
.founder-media {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
  width: 100%;
}
.founder-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--bg-warm);
  box-shadow: 0 18px 40px rgba(30, 29, 26, 0.12);
}
.founder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.founder-badge {
  position: absolute;
  bottom: -14px;
  left: 24px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(30, 29, 26, 0.18);
}
.founder-body { max-width: 640px; }
.founder-body .section-eyebrow { display: inline-flex; }

/* ============================================================
   FAQ accordion (home page)
   ============================================================ */
.faq {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.faq-item {
  padding: 0;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--s-5) var(--s-6);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  min-height: 64px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.faq-question::after {
  content: "+";
  color: var(--accent);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform var(--t-base) var(--ease);
}
.faq-question[aria-expanded="true"]::after {
  content: "\2212"; /* minus */
}
.faq-answer {
  padding: 0 var(--s-6) var(--s-5);
  color: var(--ink-soft);
}
.faq-answer[aria-hidden="true"] {
  display: none;
}

/* =========================================================
   === Transformation section ===
   Before / Arrow / After layout with hero numeral stats.
   Before = muted/paper, After = alive/accent.
   ========================================================= */
.transform {
  display: grid;
  grid-template-columns: 1fr auto 1.15fr;
  gap: var(--s-5);
  align-items: stretch;
  max-width: 1140px;
  margin: 0 auto;
}

.transform-col {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--s-7) var(--s-6);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--bg-elev);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.transform-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
  padding-bottom: var(--s-4);
  border-bottom: 1px dashed var(--border);
}

.transform-year {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.transform-year-after {
  color: var(--accent-deep);
}

.transform-label {
  display: inline-flex;
  align-items: center;
  padding: 4px var(--s-3);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
}

.transform-label-after {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

/* --- BEFORE column: muted, desaturated, paper feel --- */
.transform-before {
  background:
    repeating-linear-gradient(
      180deg,
      transparent 0,
      transparent 31px,
      rgba(15, 42, 68, 0.045) 31px,
      rgba(15, 42, 68, 0.045) 32px
    ),
    var(--bg-alt);
  color: var(--ink-muted);
}

.transform-list-before {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.transform-list-before li {
  position: relative;
  padding-left: var(--s-6);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.transform-list-before li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-xs);
  background: transparent;
}

.transform-list-before s {
  /* Gently crossed out, but words must stay legible */
  text-decoration-color: rgba(61, 74, 92, 0.55);
  text-decoration-thickness: 1.25px;
  color: rgba(61, 74, 92, 0.78); /* --ink-soft at ~78% */
}

.transform-note {
  margin-top: auto;
  padding-top: var(--s-5);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1.4;
  font-style: italic;
  color: var(--ink-muted);
}

/* --- ARROW / ribbon between columns --- */
.transform-arrow {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: var(--s-5) 0;
}

.transform-ribbon {
  position: relative;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: var(--s-5) var(--s-3);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.transform-arrow-line {
  position: relative;
  width: 2px;
  flex: 1;
  min-height: 48px;
  margin-top: var(--s-5);
  background: linear-gradient(
    to bottom,
    var(--accent-soft) 0%,
    var(--accent) 100%
  );
}

.transform-arrow-line span:not(.transform-arrow-head) {
  display: none; /* the visual is the gradient line itself */
}

.transform-arrow-head {
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid var(--accent);
  transform: translateX(-50%);
}

/* --- AFTER column: alive, warm, orange-accented --- */
.transform-after {
  background:
    radial-gradient(circle at 100% 0%, rgba(233, 123, 46, 0.08) 0, transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(46, 143, 168, 0.06) 0, transparent 50%),
    var(--bg-warm);
  border-color: var(--border-soft);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(233, 123, 46, 0.05);
}

.transform-after::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep) 50%, var(--accent));
}

/* --- STATS grid: the hero visual of the section --- */
.transform-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  margin-bottom: var(--s-6);
}

.transform-stat {
  display: grid;
  grid-template-columns: minmax(120px, auto) 1fr;
  align-items: center;
  gap: var(--s-5);
  padding: var(--s-4) 0;
  border-bottom: 1px solid rgba(233, 123, 46, 0.12);
}

.transform-stat:last-child {
  border-bottom: none;
}

/* THE hero numerals */
.transform-stat-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 6vw, 4.75rem); /* 48 -> 76 px */
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--accent);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

/* Variant: number + small unit (e.g., "47 hrs/wk") */
.transform-stat-num-unit {
  align-items: baseline;
  gap: var(--s-2);
}

.transform-stat-num-unit .num {
  font-family: var(--font-display);
  font-size: inherit;
  color: var(--accent);
  line-height: 0.9;
}

.transform-stat-num-unit .unit {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
}

/* Variant: rank "#3" */
.transform-stat-num-rank {
  align-items: baseline;
  gap: 2px;
}

.transform-stat-num-rank .hash {
  font-family: var(--font-display);
  font-size: 0.5em;
  color: var(--accent-deep);
  opacity: 0.75;
  line-height: 1;
}

.transform-stat-num-rank .num {
  font-family: var(--font-display);
  font-size: inherit;
  color: var(--accent);
  line-height: 0.9;
}

/* Variant: placeholder (Sam's TODO — visually obvious it needs filling) */
.transform-stat-num-fill {
  display: inline-flex;
  align-items: center;
  padding: var(--s-2) var(--s-3);
  border: 2px dashed var(--border-strong);
  border-radius: var(--r-sm);
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 6px,
    rgba(15, 42, 68, 0.04) 6px,
    rgba(15, 42, 68, 0.04) 12px
  );
  white-space: normal;
}

.transform-stat-num-fill .num {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
  text-transform: none;
  line-height: 1.3;
}

.transform-stat-body {
  min-width: 0;
}

.transform-stat-head {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 4px;
}

.transform-stat-sub {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.transform-after-list {
  list-style: none;
  padding: var(--s-5) 0 0;
  margin: 0;
  border-top: 1px dashed rgba(233, 123, 46, 0.25);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.transform-after-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink);
}

.transform-after-list li svg {
  flex: 0 0 auto;
  color: var(--accent);
  margin-top: 4px;
}

.transform-footnote {
  max-width: 760px;
  margin: var(--s-8) auto 0;
  text-align: center;
  font-size: 1.125rem;
  color: var(--ink);
}

.transform-footnote strong {
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(transparent 65%, var(--accent-soft) 65%);
  padding: 0 4px;
}

/* Mobile: stack Before -> ribbon -> After */
@media (max-width: 760px) {
  .transform {
    grid-template-columns: 1fr;
    gap: var(--s-4);
  }

  .transform-col {
    padding: var(--s-6) var(--s-5);
  }

  /* Arrow becomes a horizontal ribbon between stacked columns */
  .transform-arrow {
    flex-direction: row;
    min-width: 0;
    padding: var(--s-3) 0;
    gap: var(--s-3);
  }

  .transform-ribbon {
    writing-mode: horizontal-tb;
    transform: none;
    padding: var(--s-2) var(--s-5);
    font-size: 0.6875rem;
    letter-spacing: 0.18em;
  }

  .transform-arrow-line {
    width: auto;
    height: 2px;
    min-height: 0;
    flex: 1;
    margin-top: 0;
    background: linear-gradient(
      to right,
      var(--accent-soft) 0%,
      var(--accent) 100%
    );
  }

  .transform-arrow-head {
    bottom: auto;
    left: auto;
    top: 50%;
    right: -2px;
    transform: translateY(-50%);
    border-left: 10px solid var(--accent);
    border-right: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
  }

  .transform-stat {
    grid-template-columns: 1fr;
    gap: var(--s-2);
    padding: var(--s-4) 0;
    text-align: left;
  }

  .transform-stat-num {
    font-size: clamp(2.75rem, 13vw, 3.5rem); /* 44 -> 56 px */
  }

  .transform-stat-num-unit .unit {
    font-size: 0.75rem;
  }

  .transform-footnote {
    margin-top: var(--s-6);
    font-size: 1rem;
  }
}

/* =========================================================
   === Voice matching section ===
   Warm full-width section, side-by-side message comparison.
   Generic = cold/gray/lifeless, You = warm/accent/alive.
   ========================================================= */
.voice-section {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 85% 15%, rgba(233, 123, 46, 0.09) 0, transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(46, 143, 168, 0.06) 0, transparent 60%),
    var(--bg-warm);
  overflow: hidden;
}

.voice-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.voice-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-9);
  align-items: center;
}

/* --- LEFT: copy --- */
.voice-copy .section-eyebrow {
  margin-bottom: var(--s-4);
}

.voice-title {
  font-size: clamp(2.25rem, 4.6vw, 3rem); /* 36 -> 48 px */
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: var(--s-4);
  max-width: none;
}

.voice-title em {
  font-style: italic;
  color: var(--accent-deep);
  background: linear-gradient(transparent 70%, var(--accent-soft) 70%);
  padding: 0 4px;
}

.voice-points {
  list-style: none;
  padding: 0;
  margin: var(--s-6) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.voice-points li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.voice-points li strong {
  color: var(--ink);
  font-weight: 600;
}

.voice-points li > div {
  flex: 1;
  min-width: 0;
}

.voice-bullet {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* --- RIGHT: proof cards --- */
.voice-proof {
  position: relative;
}

.voice-label {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-5);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 6px var(--s-3);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
}

.voice-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-faint);
}

.voice-card {
  position: relative;
  padding: var(--s-5);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--bg-elev);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}

.voice-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
}

.voice-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px var(--s-3);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
}

.voice-chip-bad {
  color: var(--ink-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.voice-chip-good {
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: var(--shadow-glow);
}

.voice-time {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}

.voice-bubble {
  position: relative;
  padding: var(--s-4) var(--s-5);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.55;
  border-radius: var(--r-lg);
  max-width: 100%;
}

/* Generic bubble: cold gray, flat, iMessage-from-unknown vibe */
.voice-bubble-generic {
  color: var(--ink-muted);
  background: #EFEDE7;
  border-radius: 18px 18px 18px 4px;
  border: 1px solid var(--border);
  filter: saturate(0.6);
}

/* You bubble: warm, personal, alive */
.voice-bubble-you {
  color: var(--ink);
  background: #fff;
  border-radius: 18px 18px 4px 18px;
  border: 1.5px solid var(--accent);
  box-shadow:
    0 1px 2px rgba(233, 123, 46, 0.08),
    0 8px 24px rgba(233, 123, 46, 0.14);
}

.voice-bubble-you::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(233, 123, 46, 0.22), transparent 50%);
  z-index: -1;
  pointer-events: none;
}

.voice-card-generic {
  background: #F6F3ED;
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
  opacity: 0.94;
}

.voice-card-you {
  background: var(--bg-elev);
  border-color: rgba(233, 123, 46, 0.28);
  box-shadow: var(--shadow-lg);
}

.voice-card-you:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.voice-card-foot {
  margin-top: var(--s-3);
  display: flex;
  justify-content: flex-end;
}

.voice-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.voice-tag-bad {
  color: var(--ink-faint);
}

.voice-tag-bad::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-faint);
  opacity: 0.6;
}

.voice-tag-good {
  color: var(--accent-deep);
}

.voice-tag-good svg {
  color: var(--accent);
}

/* --- vs. divider between the two cards --- */
.voice-vs {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin: var(--s-4) 0;
}

.voice-vs-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.voice-vs-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--accent-deep);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

/* Mobile */
@media (max-width: 760px) {
  .voice-grid {
    grid-template-columns: 1fr;
    gap: var(--s-7);
  }

  .voice-title {
    font-size: clamp(1.875rem, 7.5vw, 2.25rem); /* 30 -> 36 px */
  }

  .voice-points {
    margin-top: var(--s-5);
  }

  .voice-card {
    padding: var(--s-4);
  }

  .voice-card-head {
    flex-wrap: wrap;
    gap: var(--s-2);
  }

  .voice-chip {
    font-size: 0.625rem;
    letter-spacing: 0.1em;
  }

  .voice-bubble {
    font-size: 0.875rem;
    padding: var(--s-3) var(--s-4);
  }

  .voice-vs {
    margin: var(--s-3) 0;
  }

  .voice-vs-pill {
    width: 38px;
    height: 38px;
    font-size: 0.9375rem;
  }
}

/* =========================================================
   === Pain stats: agency-grade typographic cards         ===
   Owner-voice numbers, with category tag + source line.
   ========================================================= */
.pain-section .pain-grid {
  margin-top: var(--s-6);
}

.pain-card {
  position: relative;
  padding: var(--s-7) var(--s-6) var(--s-6);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
}
.pain-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
  border-left-color: var(--accent-deep);
}

.pain-card .pain-tag {
  position: absolute;
  top: var(--s-4);
  right: var(--s-4);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  line-height: 1.4;
}

.pain-card .num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 4.25rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-4);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.pain-card .num .pain-num-big {
  display: inline-block;
}
.pain-card .num .pain-num-unit {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  text-transform: none;
}

.pain-card .head {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: var(--s-3);
  font-size: 1.125rem;
  line-height: 1.32;
  letter-spacing: -0.005em;
}

.pain-card .body {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: var(--s-4);
  flex: 1;
}

.pain-card .src {
  margin-top: auto;
  padding-top: var(--s-3);
  border-top: 1px solid var(--border-soft);
  font-size: 0.75rem;
  color: var(--ink-muted);
  font-style: italic;
  letter-spacing: 0.01em;
}

@media (max-width: 760px) {
  .pain-card { padding: var(--s-6) var(--s-5) var(--s-5); }
  .pain-card .pain-tag { position: static; align-self: flex-start; margin-bottom: var(--s-3); }
  .pain-card .num { font-size: clamp(2.75rem, 14vw, 3.5rem); }
}

/* =========================================================
   === Transformation payoff: bridge + card + CTA        ===
   Promotes the footnote into a real moment.
   ========================================================= */
.transform-bridge {
  display: flex;
  justify-content: center;
  margin: var(--s-8) 0 var(--s-4);
}
.transform-bridge-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  color: var(--accent-deep);
  font-size: 1.25rem;
  line-height: 1;
}

.transform-payoff {
  max-width: 820px;
  margin: 0 auto;
  padding: var(--s-7) var(--s-6);
  background: linear-gradient(180deg, var(--accent-soft) 0%, rgba(252, 231, 210, 0.45) 100%);
  border: 1px solid rgba(233, 123, 46, 0.28);
  border-radius: var(--r-xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-5);
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, var(--shadow-md);
}

.transform-payoff-text {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 3.2vw, 1.875rem);
  line-height: 1.32;
  color: var(--ink);
  margin: 0;
  max-width: 640px;
  letter-spacing: -0.01em;
}
.transform-payoff-text strong {
  font-weight: 400;
  background: linear-gradient(transparent 62%, rgba(233, 123, 46, 0.32) 62%);
  padding: 0 4px;
}

.transform-payoff-cta {
  align-self: center;
}

@media (max-width: 760px) {
  .transform-payoff { padding: var(--s-6) var(--s-5); }
  .transform-payoff-text { font-size: clamp(1.25rem, 5.5vw, 1.5rem); }
}

/* =========================================================
   === Agency cost: horizontal bar chart                  ===
   Visual compression IS the point. WCAS bar = sliver.
   ========================================================= */
.cost-chart {
  max-width: 920px;
  margin: 0 auto;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-7) var(--s-6);
  box-shadow: var(--shadow-md);
}

.cost-chart-head {
  display: grid;
  grid-template-columns: 200px 1fr 160px;
  gap: var(--s-4);
  align-items: end;
  padding-bottom: var(--s-3);
  margin-bottom: var(--s-4);
  border-bottom: 1px solid var(--border-soft);
}
.cost-chart-label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.cost-chart-label-end { text-align: right; }

.cost-bars {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.cost-bar {
  display: grid;
  grid-template-columns: 200px 1fr 160px;
  gap: var(--s-4);
  align-items: center;
  padding: var(--s-3) 0;
}
.cost-bar-role {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.cost-bar-track {
  position: relative;
  width: 100%;
  height: 14px;
  background: var(--bg-alt);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.cost-bar-fill {
  width: var(--bar-w, 0%);
  height: 100%;
  background: linear-gradient(90deg, #6B7280 0%, #3D4A5C 100%);
  border-radius: var(--r-pill);
  transition: width var(--t-slow) var(--ease);
}

.cost-bar-value {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

/* Total row: heavier visual weight */
.cost-bar-total {
  margin-top: var(--s-4);
  padding-top: var(--s-5);
  border-top: 2px solid var(--ink);
}
.cost-bar-total .cost-bar-role {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  color: var(--ink);
}
.cost-bar-total .cost-bar-track {
  height: 18px;
}
.cost-bar-fill-total {
  background: linear-gradient(90deg, #1F344E 0%, #0F2A44 100%);
}
.cost-bar-value-total {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
}

/* WCAS row: tiny accent sliver */
.cost-bar-wcas {
  margin-top: var(--s-3);
  padding-top: var(--s-4);
}
.cost-bar-role-wcas {
  font-family: var(--font-display);
  color: var(--accent-deep);
  font-size: 1.0625rem;
}
.cost-bar-fill-wcas {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 0 0 1px rgba(233, 123, 46, 0.35), 0 4px 14px rgba(233, 123, 46, 0.22);
}
.cost-bar-value-wcas {
  color: var(--accent-deep);
  font-style: italic;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
}

.cost-chart-foot {
  margin: var(--s-6) 0 0;
  padding-top: var(--s-5);
  border-top: 1px solid var(--border-soft);
  text-align: center;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-soft);
}
.cost-chart-foot strong {
  color: var(--ink);
  font-weight: 600;
}

/* Mobile: stack role/value above bar; bar full-width */
@media (max-width: 760px) {
  .cost-chart { padding: var(--s-6) var(--s-5); }
  .cost-chart-head { display: none; }

  .cost-bar {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: var(--s-2);
    padding: var(--s-3) 0;
  }
  .cost-bar-role {
    grid-column: 1;
    grid-row: 1;
    font-size: 0.9375rem;
  }
  .cost-bar-value {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
    font-size: 0.875rem;
  }
  .cost-bar-track {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 10px;
  }
  .cost-bar-total .cost-bar-track { height: 14px; }
  .cost-bar-total .cost-bar-role,
  .cost-bar-total .cost-bar-value {
    font-size: 1rem;
  }
}

/* =========================================================
   === Savings calculator: role picker + dark output      ===
   Replaces phone-call ROI with marketing-team comparison.
   ========================================================= */
.savings {
  max-width: 1080px;
  margin: 0 auto;
}
.savings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  align-items: stretch;
}
@media (min-width: 920px) {
  .savings-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: var(--s-7);
  }
}

/* Role picker side */
.savings-roles {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  box-shadow: var(--shadow-sm);
}
.savings-roles-label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 var(--s-4);
}
.savings-role-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.savings-role {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}
.savings-role:hover {
  border-color: var(--border-strong);
  background: var(--bg-elev);
}
.savings-role input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.savings-role-box {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg-elev);
  position: relative;
  flex-shrink: 0;
  transition: background var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
}
.savings-role-box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  transition: transform 180ms var(--ease);
}
.savings-role input:checked + .savings-role-box {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(233, 123, 46, 0.14);
}
.savings-role input:checked + .savings-role-box::after {
  transform: rotate(45deg) scale(1);
}
.savings-role input:checked ~ .savings-role-body .savings-role-title {
  color: var(--ink);
}
.savings-role input:checked ~ .savings-role-body .savings-role-rate {
  color: var(--accent-deep);
}
.savings-role:has(input:checked) {
  border-color: rgba(233, 123, 46, 0.45);
  background: var(--bg-elev);
}
.savings-role input:focus-visible + .savings-role-box {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.savings-role-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.savings-role-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.savings-role-rate {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.005em;
}

/* Dark output side */
.savings-output {
  background: var(--ink);
  color: rgba(255,255,255,0.86);
  border-radius: var(--r-xl);
  padding: var(--s-7) var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.savings-output::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(233,123,46,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.savings-output-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.savings-output-label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.savings-output-big {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.savings-output-big-accent {
  color: var(--accent);
  font-style: italic;
}
.savings-output-sub {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.005em;
}

.savings-output-divider {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  position: relative;
}
.savings-output-divider::before,
.savings-output-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
}
.savings-output-divider-pill {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  padding: 4px 14px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.04);
}

.savings-output-cta {
  margin-top: var(--s-3);
  position: relative;
}
.savings-output-fineprint {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
  position: relative;
}

@media (max-width: 760px) {
  .savings-roles { padding: var(--s-5) var(--s-4); }
  .savings-role { padding: var(--s-3) var(--s-4); gap: var(--s-3); }
  .savings-output { padding: var(--s-6) var(--s-5); }
  .savings-output-big { font-size: clamp(2rem, 8vw, 2.75rem); }
}

/* ============================================================
   HOMEPAGE V2 POLISH PORT (2026-04-19)
   Selective port from .design-reference-homepage-v2.html
   ============================================================ */

/* ---- #10 Scroll reveal (global) ---- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--t-slow) var(--ease),
              transform var(--t-slow) var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---- #2 Hero soft accent haze ---- */
.hero::before {
  content: '';
  position: absolute;
  inset: -10% 40% auto auto;
  width: 60%;
  height: 70%;
  background: radial-gradient(60% 60% at 50% 40%, rgba(233, 123, 46, 0.14), transparent 70%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }

/* ---- #1 Hero live ticker chip ---- */
.hero-ticker {
  position: absolute;
  right: var(--s-4);
  top: var(--s-4);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  font-size: 0.8125rem;
  z-index: 2;
}
.hero-ticker .live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero-ticker .live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  animation: wcas-ticker-pulse 1.8s infinite;
}
@keyframes wcas-ticker-pulse {
  0% { box-shadow: 0 0 0 0 rgba(233, 123, 46, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(233, 123, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(233, 123, 46, 0); }
}
.hero-ticker .sep {
  width: 1px;
  height: 18px;
  background: var(--border);
}
.hero-ticker .metric {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.hero-ticker .metric b {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 400;
}
.hero-ticker .metric span {
  font-size: 0.6875rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
@media (max-width: 480px) {
  .hero-ticker { padding: 8px 10px; font-size: 0.75rem; gap: 8px; }
  .hero-ticker .metric b { font-size: 1rem; }
  .hero-ticker .metric span { font-size: 0.625rem; }
}

/* ---- #3 Worked-with monogram chips (replaces text-only strip) ---- */
.worked-inner {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  flex-wrap: wrap;
  justify-content: center;
}
.worked-inner .worked-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: center;
}
.worked-chips {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.worked-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border-radius: var(--r-pill);
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--ink-soft);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.worked-chip:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.worked-chip .mono {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: #fff;
  flex-shrink: 0;
}
.worked-chip .mono.c1 { background: #0F2A44; }
.worked-chip .mono.c2 { background: #E97B2E; }
.worked-chip .mono.c3 { background: #2E8FA8; }
.worked-chip small {
  display: block;
  font-size: 0.6875rem;
  color: var(--ink-faint);
}
.worked-chip b {
  color: var(--ink);
  font-weight: 600;
  display: block;
  line-height: 1.2;
}

/* ---- #5 Voice bubble typing cursor ---- */
.voice-bubble.typing::after {
  content: '▋';
  color: var(--accent);
  animation: wcas-voice-blink 1s infinite;
  margin-left: 2px;
  display: inline-block;
}
@keyframes wcas-voice-blink {
  50% { opacity: 0; }
}

/* ---- #6 Transform section: count-up number styling (additive) ---- */
.transform-stat-num .num[data-count],
.transform-stat-num [data-count] {
  font-variant-numeric: tabular-nums;
}

/* ---- #7 Stack-wrap (cost chart replacement) ---- */
.stack-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--s-6);
  align-items: stretch;
}
.stack-col-head {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--s-3);
  text-align: center;
}
.stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stack-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--s-4);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(-12px);
}
.stack-wrap.in .stack-item {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.stack-item .role {
  font-size: 0.875rem;
  color: var(--ink);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.stack-item .role::before {
  content: '+';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--ink-muted);
  display: grid;
  place-items: center;
  font-size: 0.8125rem;
  font-weight: 700;
  flex-shrink: 0;
}
.stack-item .price {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stack-sum {
  margin-top: var(--s-3);
  background: linear-gradient(180deg, var(--ink) 0%, #0a1d30 100%);
  color: #fff;
  border-radius: var(--r-md);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--s-3);
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.5s 1.3s var(--ease), transform 0.5s 1.3s var(--ease);
}
.stack-wrap.in .stack-sum {
  opacity: 1;
  transform: translateY(0);
}
.stack-sum .label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
.stack-sum .amt {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
  margin-top: 4px;
}
.stack-sum .per {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  margin-left: 6px;
}
.stack-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-faint);
  font-size: 1.375rem;
  padding-top: 60px;
}
.stack-wcas {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.stack-wcas-card {
  background: linear-gradient(180deg, var(--bg-warm), var(--accent-soft));
  border: 1px solid var(--accent);
  border-radius: var(--r-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-glow);
  position: relative;
  margin-top: calc((42px + 6px) * 2.5);
  text-align: center;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.6s 1.5s var(--ease), transform 0.6s 1.5s var(--ease);
}
.stack-wrap.in .stack-wcas-card {
  opacity: 1;
  transform: translateY(0);
}
.stack-wcas-card .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  padding: 4px 10px;
  background: #fff;
  border-radius: 999px;
  margin-bottom: 10px;
}
.stack-wcas-card .tag::before {
  content: '✓';
  width: 14px;
  height: 14px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.5625rem;
}
.stack-wcas-card h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent-deep);
  margin: 0;
  line-height: 1.1;
}
.stack-wcas-card .sub {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  margin-top: 8px;
  line-height: 1.5;
}
.stack-wcas-card .fee {
  font-size: 0.875rem;
  color: var(--ink);
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--accent);
}
.stack-wcas-card .fee b {
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: var(--accent-deep);
  display: block;
  margin-top: 2px;
  font-weight: 400;
}
@media (max-width: 860px) {
  .stack-wrap {
    grid-template-columns: 1fr;
    gap: var(--s-4);
  }
  .stack-vs {
    padding: 0;
    margin: var(--s-3) 0;
  }
  .stack-wcas-card { margin-top: 0; }
}

/* ---- #8 Savings calc: count-up + strike shimmer ---- */
.savings-output-big {
  position: relative;
  display: inline-block;
}
.savings-output-big .strike {
  position: absolute;
  left: -5%;
  right: -5%;
  top: 50%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease) 0.3s;
  pointer-events: none;
}
.savings.revealed .savings-output-big .strike {
  transform: scaleX(1);
}

/* ---- #9 Steps timeline spine ---- */
@media (min-width: 800px) {
  .steps { position: relative; }
  .steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-soft), var(--accent), var(--accent-soft));
    z-index: 0;
  }
  /* Upgrade step card so spine rings look intentional */
  .step {
    background: transparent;
    border: none;
    padding: 0;
    text-align: center;
    position: relative;
    z-index: 1;
  }
  .step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-elev);
    border: 2px solid var(--accent);
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    display: grid;
    place-items: center;
    margin: 0 auto var(--s-4);
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 8px var(--bg);
  }
  .section-alt .step-num {
    box-shadow: 0 0 0 8px var(--bg-alt);
  }
  .step h3 { margin-bottom: var(--s-2); }
  .step p {
    font-size: 0.9375rem;
    max-width: 26ch;
    margin: 0 auto;
  }
}

/* === Founder card (Homepage v2 port) === */
.founder {
  background: var(--bg-warm);
  border-radius: var(--r-xl);
  padding: var(--s-7);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--s-6);
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.founder-photo {
  width: 200px;
  height: 240px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--accent-soft), var(--bg-alt));
  display: grid;
  place-items: center;
  color: var(--accent-deep);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.founder-photo::after {
  content: 'Sam \00B7 35mm portrait';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.founder-name {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  margin-top: var(--s-4);
  line-height: 1.2;
}
.founder-title {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 2px;
}
@media (max-width: 760px) {
  .founder {
    grid-template-columns: 1fr;
    text-align: center;
    padding: var(--s-6);
  }
  .founder-photo {
    width: 160px;
    height: 200px;
    margin: 0 auto;
  }
}

/* ---- Region band (below hero, above worked-with-strip) ---- */
.region-band {
  background: var(--bg-warm);
  border-top: 1px solid var(--accent-soft);
  border-bottom: 1px solid var(--accent-soft);
  padding: var(--s-4) 0;
}
.region-band-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  flex-wrap: wrap;
  text-align: center;
}
.region-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--accent);
  line-height: 0;
}
.region-band-text {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-2);
  color: var(--ink-muted);
  font-size: 0.875rem;
  font-family: var(--font-body);
  line-height: 1.5;
  margin: 0;
}
.region-band-label { font-weight: 500; }
.region-band-cities { color: var(--ink); font-weight: 600; }
.region-band-since { font-weight: 400; font-style: italic; }
.region-band-sep { color: var(--ink-muted); opacity: 0.5; }

/* Mobile: stack stars above the text, let cities wrap gracefully */
@media (max-width: 600px) {
  .region-band { padding: var(--s-3) 0; }
  .region-band-inner { flex-direction: column; gap: var(--s-2); }
  .region-band-text { justify-content: center; gap: 6px; }
  .region-band-text .region-band-sep { display: none; }
  .region-band-label,
  .region-band-cities,
  .region-band-since { display: block; flex-basis: 100%; }
}

/* ---- Contact page-hero regional meta line ---- */
.page-hero-meta {
  margin-top: var(--s-4);
  color: var(--ink-muted);
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
}

/* ---- Footer service-area strip (above .footer-bottom) ---- */
.footer-service-area {
  text-align: center;
  padding: var(--s-4) 0 var(--s-3);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-service-area p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
