/* ============================================================
   PracticeFlux marketing — Apple-light + Chirocat-slide redesign
   ============================================================ */

/* ── Design tokens ─────────────────────────────────────────── */
:root {
  /* Brand accents — used sparingly */
  --brand-1: #3478f6;   /* iOS blue */
  --brand-2: #8a5cf6;   /* violet */
  --brand-3: #22d3ee;   /* cyan */
  --brand-4: #fb7185;   /* coral (rare accent) */
  --brand-grad: linear-gradient(120deg, var(--brand-1) 0%, var(--brand-2) 55%, var(--brand-3) 110%);

  /* Per-capability accent colors */
  --cap-a: #3478f6;     /* page create — blue */
  --cap-b: #8a5cf6;     /* blog — violet */
  --cap-c: #10b981;     /* SEO — green */
  --cap-d: #f59e0b;     /* translations — amber */
  --cap-e: #ec4899;     /* promotions — pink */

  /* Surfaces — light first */
  --bg: #ffffff;
  --bg-cream: #fafbfc;
  --bg-mist: #f3f4f8;
  --bg-ink: #0a0b10;

  /* Type */
  --ink-1: #0a0b10;
  --ink-2: #1c1f2a;
  --ink-3: #3d4252;
  --ink-4: #6b7185;
  --ink-5: #9aa0b3;

  /* Lines */
  --line: rgba(10, 11, 16, 0.08);
  --line-strong: rgba(10, 11, 16, 0.14);
  --line-dark: rgba(255, 255, 255, 0.10);

  /* Type stacks */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
               "Inter", "Segoe UI", Roboto, system-ui, sans-serif;
  --font-mono: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, monospace;

  /* Layout */
  --max-w: 1240px;
  --max-w-narrow: 820px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(10, 11, 16, 0.04), 0 1px 1px rgba(10, 11, 16, 0.03);
  --shadow-md: 0 8px 24px rgba(10, 11, 16, 0.06), 0 2px 8px rgba(10, 11, 16, 0.04);
  --shadow-lg: 0 24px 64px rgba(10, 11, 16, 0.10), 0 4px 16px rgba(10, 11, 16, 0.05);
}

/* ── Reset / base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ── Containers ────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: var(--max-w-narrow); }

@media (min-width: 768px) {
  .container { padding: 0 40px; }
}

/* ── Typography primitives ─────────────────────────────────── */
.kicker {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-4);
  margin: 0 0 18px;
}
.kicker--center { text-align: center; }

.display {
  font-size: clamp(44px, 7.4vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--ink-1);
}
.display__sub {
  display: block;
  margin-top: 18px;
  font-size: clamp(20px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink-3);
}

.headline {
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.028em;
  font-weight: 700;
  margin: 0 0 22px;
  color: var(--ink-1);
}
.headline--center { text-align: center; }

.lede {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--ink-3);
  margin: 0 0 28px;
  max-width: 64ch;
}
.lede--center { text-align: center; margin-left: auto; margin-right: auto; }

.body {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-3);
  margin: 0 0 22px;
  max-width: 60ch;
}

.gradient-text {
  background: var(--brand-grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.strike { text-decoration: line-through; color: var(--ink-4); }

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
}
.checks li {
  position: relative;
  padding: 8px 0 8px 32px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.5;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-grad);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='11' fill='black'/><path d='M7 12.5l3 3 7-7' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' fill='none'/></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'><circle cx='12' cy='12' r='11' fill='black'/><path d='M7 12.5l3 3 7-7' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>") center/contain no-repeat;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--primary {
  background: var(--ink-1);
  color: #fff;
}
.btn--primary:hover { background: #1f2330; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--ghost {
  background: transparent;
  color: var(--ink-1);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--bg-mist); border-color: var(--ink-4); transform: translateY(-1px); }
.btn--block { display: flex; width: 100%; }
.btn__arrow { transition: transform 0.2s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ── Nav ───────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.86);
}
@media (min-width: 768px) {
  .nav { padding: 14px 40px; }
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink-1);
}
.nav__logo {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--brand-grad);
  box-shadow: 0 4px 12px rgba(52, 120, 246, 0.35);
}
.nav__wordmark { font-weight: 700; }
.nav__links {
  display: none;
  align-items: center;
  gap: 28px;
}
.nav__links a {
  font-size: 14px;
  color: var(--ink-3);
  font-weight: 500;
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--ink-1); }
.nav__cta {
  display: none;
  background: var(--ink-1);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.nav__cta:hover { background: #1f2330; transform: translateY(-1px); }
@media (min-width: 900px) {
  .nav__links { display: inline-flex; }
  .nav__cta { display: inline-flex; }
}

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 80px 24px 100px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__halo {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 90vh;
  z-index: -1;
  background:
    radial-gradient(40% 50% at 20% 30%, rgba(52, 120, 246, 0.18), transparent 70%),
    radial-gradient(35% 45% at 80% 25%, rgba(138, 92, 246, 0.16), transparent 70%),
    radial-gradient(30% 40% at 55% 60%, rgba(34, 211, 238, 0.14), transparent 70%);
  filter: blur(20px);
}
.hero__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 24px 0 8px;
}
.hero__changes {
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--ink-2);
  margin: 0 auto 28px;
  max-width: 780px;
}
.hero__sub {
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.5;
  color: var(--ink-3);
  margin: 0 auto 36px;
  max-width: 62ch;
}
.hero__sub strong {
  font-weight: 700;
  color: var(--ink-1);
}
.hero__cta {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
}
.hero__meta {
  font-size: 14px;
  color: var(--ink-4);
  margin: 0 0 14px;
}
.hero__demo-note {
  font-size: 13.5px;
  color: var(--ink-4);
  margin: 0 auto 32px;
  max-width: 560px;
  line-height: 1.5;
}
.hero__demo-note a {
  color: var(--brand-1);
  font-weight: 600;
  border-bottom: 1px solid rgba(52, 120, 246, 0.3);
  transition: border-color 0.2s var(--ease);
}
.hero__demo-note a:hover { border-bottom-color: var(--brand-1); }
.hero__chips {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 720px;
}
.hero__chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}
.hero__chip-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.hero__chip-dot[data-color="a"] { background: var(--cap-a); }
.hero__chip-dot[data-color="b"] { background: var(--cap-b); }
.hero__chip-dot[data-color="c"] { background: var(--cap-c); }
.hero__chip-dot[data-color="d"] { background: var(--cap-d); }
.hero__chip-dot[data-color="e"] { background: var(--cap-e); }

.hero__mock {
  max-width: 920px;
  margin: 64px auto 0;
}

/* Mock browser/admin window */
.mock-window {
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  text-align: left;
}
.mock-window__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(to bottom, #f8f9fb, #f1f2f6);
  border-bottom: 1px solid var(--line);
}
.mock-window__chrome span {
  width: 11px; height: 11px; border-radius: 50%;
  background: #d8d9de;
}
.mock-window__chrome span:nth-child(1) { background: #ff605c; }
.mock-window__chrome span:nth-child(2) { background: #ffbd44; }
.mock-window__chrome span:nth-child(3) { background: #00ca4e; }
.mock-window__url {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-4);
  background: #fff;
  border: 1px solid var(--line);
  padding: 5px 14px;
  border-radius: 999px;
  min-width: 280px;
  text-align: center;
}
.mock-window__body { padding: 28px 28px 32px; }

.mock-chat { display: flex; flex-direction: column; gap: 14px; }
.mock-msg {
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.5;
  max-width: 82%;
}
.mock-msg--user {
  background: var(--bg-mist);
  color: var(--ink-2);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.mock-msg--ai {
  background: linear-gradient(135deg, rgba(52, 120, 246, 0.06), rgba(138, 92, 246, 0.06));
  border: 1px solid rgba(52, 120, 246, 0.18);
  color: var(--ink-1);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.mock-msg__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-1);
  margin-bottom: 6px;
}
.mock-msg code {
  background: rgba(10, 11, 16, 0.06);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 13px;
  font-family: var(--font-mono);
}
.mock-typing {
  display: inline-flex;
  gap: 5px;
  padding: 12px 14px;
  background: var(--bg-mist);
  border-radius: 14px;
  align-self: flex-start;
  margin-top: -4px;
}
.mock-typing span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink-5);
  animation: blink 1.4s infinite both;
}
.mock-typing span:nth-child(2) { animation-delay: 0.2s; }
.mock-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

/* ── PROOF BAR (case-study teaser strip) ───────────────────── */
.proofbar {
  display: block;
  text-decoration: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(52, 120, 246, 0.045), rgba(138, 92, 246, 0.035));
  transition: background 0.2s var(--ease);
}
.proofbar:hover {
  background: linear-gradient(180deg, rgba(52, 120, 246, 0.08), rgba(138, 92, 246, 0.06));
}
.proofbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 26px;
  padding: 20px 24px;
}
.proofbar__item {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-size: 15px;
  color: var(--ink-3);
}
.proofbar__item strong {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--brand-grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.proofbar__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line-strong);
}
.proofbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-1);
}
.proofbar__cta span {
  transition: transform 0.2s var(--ease);
}
.proofbar:hover .proofbar__cta span {
  transform: translateX(4px);
}
@media (max-width: 640px) {
  .proofbar__dot { display: none; }
  .proofbar__inner { gap: 6px 16px; }
}

/* ── PAIN POINTS — "Sound familiar?" ───────────────────────── */
.pain {
  position: relative;
  padding: 100px 0;
  background: var(--bg-cream);
  overflow: hidden;
}
.pain .lede { margin-bottom: 56px; }
.pain__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 0 auto 64px;
  max-width: 1080px;
}
@media (min-width: 768px) {
  .pain__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.pain__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.pain__card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.pain__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pain__icon svg { width: 22px; height: 22px; }
.pain__icon--a { background: rgba(52, 120, 246, 0.10); color: var(--cap-a); }
.pain__icon--b { background: rgba(138, 92, 246, 0.10); color: var(--cap-b); }
.pain__icon--c { background: rgba(16, 185, 129, 0.10); color: var(--cap-c); }
.pain__icon--d { background: rgba(245, 158, 11, 0.10); color: var(--cap-d); }
.pain__icon--e { background: rgba(236, 72, 153, 0.10); color: var(--cap-e); }

.pain__head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pain__feature {
  margin: 0;
  font-size: clamp(19px, 1.9vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink-1);
}
.pain__feature[data-color="a"] { color: var(--cap-a); }
.pain__feature[data-color="b"] { color: var(--cap-b); }
.pain__feature[data-color="c"] { color: var(--cap-c); }
.pain__feature[data-color="d"] { color: var(--cap-d); }
.pain__feature[data-color="e"] { color: var(--cap-e); }

.pain__quote {
  font-size: 16.5px;
  line-height: 1.45;
  font-style: italic;
  color: var(--ink-3);
  margin: 0;
  padding-left: 16px;
  border-left: 3px solid var(--line);
}
.pain__fix {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.pain__closer {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.pain__closer p {
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink-2);
  margin: 0 0 12px;
}
.pain__closer p em {
  font-style: italic;
  color: var(--ink-1);
}
.pain__closer-payoff {
  font-weight: 600;
  color: var(--ink-1) !important;
  margin-top: 12px !important;
}

/* ── CUSTOM BUILD section ──────────────────────────────────── */
.build {
  padding: 100px 0;
  background: #fff;
}
.build__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .build__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: 64px;
  }
}
.build__copy { max-width: 560px; }
.build__process {
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-3);
}
.build__process a { font-weight: 600; }
.build__visual { display: flex; justify-content: center; }

/* Faux custom homepage shown inside the device frame */
.sitemock {
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fc 100%);
}
.sitemock__nav {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 18px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.sitemock__logo {
  width: 18px; height: 18px;
  border-radius: 5px;
  background: var(--brand-grad);
}
.sitemock__nav span {
  width: 32px; height: 6px;
  border-radius: 3px;
  background: var(--bg-mist);
}
.sitemock__navcta {
  margin-left: auto;
  width: 60px; height: 22px;
  border-radius: 999px;
  background: var(--brand-grad);
}
.sitemock__hero {
  padding: 40px 28px 30px;
  text-align: center;
}
.sitemock__h1 {
  font-size: clamp(22px, 2.4vw, 27px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink-1);
  margin-bottom: 8px;
}
.sitemock__sub {
  font-size: 13.5px;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.sitemock__cta {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--ink-1);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.sitemock__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 28px 32px;
}
.sitemock__card {
  height: 70px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

/* ── EDITOR section ────────────────────────────────────────── */
.editor {
  position: relative;
  padding: 100px 0 100px;
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
}
.editor__halo {
  position: absolute;
  inset: -10% -10% 30% -10%;
  z-index: -1;
  background:
    radial-gradient(35% 50% at 20% 30%, rgba(52, 120, 246, 0.10), transparent 70%),
    radial-gradient(40% 55% at 85% 45%, rgba(138, 92, 246, 0.10), transparent 70%);
  filter: blur(30px);
}
.editor__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
@media (min-width: 900px) {
  .editor__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 72px;
  }
}
.editor__copy { max-width: 540px; }
.editor__visual { display: flex; justify-content: center; }

.mock-window--tall {
  width: 100%;
  max-width: 640px;
}
.mock-window--tall .mock-window__body { padding: 24px 24px 28px; }
.mock-window--tall .mock-msg { font-size: 14.5px; padding: 12px 14px; }

.editor__chips-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-4);
  margin: 0 0 24px;
  text-transform: uppercase;
}
.editor__walkthrough {
  margin-top: 24px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(52, 120, 246, 0.06), rgba(138, 92, 246, 0.06));
  border: 1px solid rgba(52, 120, 246, 0.18);
  border-radius: 14px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
}
.editor__walkthrough a {
  color: var(--brand-1);
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 1px solid rgba(52, 120, 246, 0.3);
  transition: border-color 0.2s var(--ease);
}
.editor__walkthrough a:hover { border-bottom-color: var(--brand-1); }

/* ── Chip grid ─────────────────────────────────────────────── */
.chips {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 980px;
}
@media (min-width: 600px) {
  .chips { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
@media (min-width: 900px) {
  .chips { grid-template-columns: repeat(4, 1fr); }
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.chip:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}
.chip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(52, 120, 246, 0.12), rgba(138, 92, 246, 0.12));
  color: var(--brand-1);
  flex-shrink: 0;
}
.chip__icon svg { width: 16px; height: 16px; }

/* ── Bands ─────────────────────────────────────────────────── */
.band {
  padding: 100px 0;
  position: relative;
}
.band--intro { background: var(--bg); }
.band--intro .container--narrow { text-align: center; }
.band--intro .lede { margin-left: auto; margin-right: auto; }

.band--cream { background: var(--bg-cream); }
.band--yours { background: var(--bg); }
.band--pricing { background: var(--bg-cream); }
.band--faq { background: var(--bg); }
.band--cta {
  background: linear-gradient(180deg, #0a0b10 0%, #11131c 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.band--cta .kicker { color: rgba(255, 255, 255, 0.6); }
.band--cta .headline { color: #fff; }
.band--cta .lede { color: rgba(255, 255, 255, 0.75); }
.band--cta__halo {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70%;
  background:
    radial-gradient(40% 60% at 30% 20%, rgba(52, 120, 246, 0.28), transparent 70%),
    radial-gradient(35% 50% at 75% 30%, rgba(138, 92, 246, 0.24), transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}
.band--cta .container { position: relative; z-index: 1; }
.band--cta .kicker { text-align: center; }

/* ── CAPABILITIES — pinned horizontal slider ───────────────── */
.cap {
  background: var(--bg);
  position: relative;
}
.cap__head {
  padding: 100px 0 40px;
  text-align: left;
}
.cap__head .headline { margin-bottom: 8px; }

/* Outer creates scroll runway: ~4 viewports of vertical scroll
   while the inner sticky element stays pinned and translates horizontally. */
.cap__pin {
  position: relative;
  height: 520vh;
}
.cap__viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.cap__track {
  display: flex;
  align-items: stretch;
  gap: 0;
  height: 86vh;
  will-change: transform;
  transition: transform 0.05s linear;
}
.cap__slide {
  flex: 0 0 100vw;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-content: center;
  padding: 0 24px;
}
@media (min-width: 900px) {
  .cap__slide {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 56px;
    padding: 0 56px;
    align-items: center;
  }
}
.cap__copy {
  max-width: 540px;
  align-self: center;
}
.cap__num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-4);
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}
.cap__slide[data-color="a"] .cap__num { color: var(--cap-a); }
.cap__slide[data-color="b"] .cap__num { color: var(--cap-b); }
.cap__slide[data-color="c"] .cap__num { color: var(--cap-c); }
.cap__slide[data-color="d"] .cap__num { color: var(--cap-d); }
.cap__slide[data-color="e"] .cap__num { color: var(--cap-e); }
.cap__title {
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.028em;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--ink-1);
}
.cap__lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0 0 22px;
}
.cap__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cap__list li {
  position: relative;
  padding: 8px 0 8px 26px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}
.cap__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}
.cap__slide[data-color="a"] .cap__list li::before { background: var(--cap-a); opacity: 1; }
.cap__slide[data-color="b"] .cap__list li::before { background: var(--cap-b); opacity: 1; }
.cap__slide[data-color="c"] .cap__list li::before { background: var(--cap-c); opacity: 1; }
.cap__slide[data-color="d"] .cap__list li::before { background: var(--cap-d); opacity: 1; }
.cap__slide[data-color="e"] .cap__list li::before { background: var(--cap-e); opacity: 1; }

.cap__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.cap__visual::before {
  content: "";
  position: absolute;
  inset: -8% -4%;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(52, 120, 246, 0.06), rgba(138, 92, 246, 0.06));
  z-index: -1;
}
.cap__slide[data-color="a"] .cap__visual::before { background: linear-gradient(135deg, rgba(52, 120, 246, 0.12), rgba(52, 120, 246, 0.04)); }
.cap__slide[data-color="b"] .cap__visual::before { background: linear-gradient(135deg, rgba(138, 92, 246, 0.12), rgba(138, 92, 246, 0.04)); }
.cap__slide[data-color="c"] .cap__visual::before { background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.04)); }
.cap__slide[data-color="d"] .cap__visual::before { background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(245, 158, 11, 0.04)); }
.cap__slide[data-color="e"] .cap__visual::before { background: linear-gradient(135deg, rgba(236, 72, 153, 0.14), rgba(236, 72, 153, 0.04)); }

.cap__progress {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  gap: 10px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.cap__progress-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ink-5);
  opacity: 0.4;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), background 0.2s var(--ease);
}
.cap__progress-dot.is-on {
  opacity: 1;
  transform: scale(1.25);
  background: var(--ink-1);
}

/* Mobile: degrade to vertical scroll, drop pinning */
@media (max-width: 899px) {
  .cap__pin { height: auto; }
  .cap__viewport {
    position: static;
    height: auto;
    overflow: visible;
  }
  .cap__track {
    flex-direction: column;
    height: auto;
    transform: none !important;
    gap: 64px;
    padding: 24px 0 64px;
  }
  .cap__slide { flex: 0 0 auto; min-height: auto; padding: 0 24px; }
  .cap__progress { display: none; }
}

/* ── Device mock (used inside slides) ──────────────────────── */
.device {
  width: min(560px, 100%);
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.device__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(to bottom, #f8f9fb, #f1f2f6);
  border-bottom: 1px solid var(--line);
}
.device__chrome span {
  width: 11px; height: 11px; border-radius: 50%; background: #d8d9de;
}
.device__chrome span:nth-child(1) { background: #ff605c; }
.device__chrome span:nth-child(2) { background: #ffbd44; }
.device__chrome span:nth-child(3) { background: #00ca4e; }
.device__url {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-4);
  background: #fff;
  border: 1px solid var(--line);
  padding: 5px 14px;
  border-radius: 999px;
  min-width: 240px;
  text-align: center;
}
.device__viewport {
  padding: 24px;
  min-height: 320px;
  background: #fff;
}

/* Slide 1 — page mock */
.page-mock {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.page-mock__h1 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-1);
}
.page-mock__sub {
  font-size: 14px;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.page-mock__grid { display: grid; gap: 8px; margin: 8px 0; }
.page-mock__row {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(to right, var(--bg-mist) 0%, #e7e9f0 100%);
}
.page-mock__row--short { width: 65%; }
.page-mock__cta {
  align-self: flex-start;
  background: var(--cap-a);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  margin-top: 6px;
}
.page-mock__stamp {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cap-a);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  letter-spacing: 0.04em;
}

/* Slide 2 — blog mock */
.blog-mock { display: flex; flex-direction: column; gap: 10px; }
.blog-mock__item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 4px 12px;
  align-items: center;
  padding: 14px;
  background: var(--bg-cream);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.blog-mock__pill {
  grid-row: 1 / 3;
  align-self: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--ink-5);
  color: #fff;
  white-space: nowrap;
}
.blog-mock__pill--live { background: var(--cap-c); }
.blog-mock__pill--draft { background: var(--cap-b); }
.blog-mock__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-1);
  line-height: 1.3;
}
.blog-mock__meta { font-size: 12px; color: var(--ink-4); }
.blog-mock__item--muted { opacity: 0.7; }

/* Slide 3 — SEO mock */
.seo-mock { display: flex; flex-direction: column; gap: 14px; }
.seo-mock__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seo-mock__metric {
  padding: 16px;
  background: var(--bg-cream);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.seo-mock__big {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cap-c);
  margin-bottom: 4px;
}
.seo-mock__label { font-size: 11px; color: var(--ink-4); line-height: 1.4; }
.seo-mock__rec {
  padding: 16px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(16, 185, 129, 0.02));
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 12px;
}
.seo-mock__rec-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cap-c);
  margin-bottom: 6px;
}
.seo-mock__rec-text {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.45;
  margin-bottom: 10px;
}
.seo-mock__rec-cta {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--cap-c);
  padding: 7px 14px;
  border-radius: 999px;
}

/* Slide 4 — translations mock */
.lang-mock {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lang-mock__toggle {
  display: inline-flex;
  align-self: flex-start;
  gap: 4px;
  padding: 4px;
  background: var(--bg-mist);
  border-radius: 999px;
  margin-bottom: 8px;
}
.lang-mock__pill {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
}
.lang-mock__pill--off { color: var(--ink-4); }
.lang-mock__pill--on { background: var(--cap-d); color: #fff; }
.lang-mock__h1 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-1);
  line-height: 1.15;
}
.lang-mock__sub {
  font-size: 14px;
  color: var(--ink-3);
}
.lang-mock__cta {
  align-self: flex-start;
  background: var(--cap-d);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  margin-top: 4px;
}
.lang-mock__stamp {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cap-d);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  letter-spacing: 0.04em;
}

/* Slide 5 — promotions mock */
.promo-mock {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.promo-mock__banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, var(--cap-e), #d946ef);
  color: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(236, 72, 153, 0.25);
}
.promo-mock__pill {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
}
.promo-mock__copy { flex: 1; min-width: 0; }
.promo-mock__title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 2px;
}
.promo-mock__sub {
  font-size: 12px;
  opacity: 0.85;
}
.promo-mock__cta {
  flex-shrink: 0;
  background: #fff;
  color: var(--cap-e);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.promo-mock__schedule {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--bg-cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
}
.promo-mock__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.promo-mock__row:last-child { border-bottom: none; }
.promo-mock__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ink-5);
}
.promo-mock__dot--live { background: var(--cap-c); box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18); }
.promo-mock__dot--queued { background: var(--cap-d); }
.promo-mock__dot--draft { background: var(--ink-5); }
.promo-mock__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.promo-mock__when {
  font-size: 11px;
  color: var(--ink-4);
  font-family: var(--font-mono);
}
.promo-mock__stamp {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cap-e);
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  letter-spacing: 0.04em;
}

/* ── BENTO grid (Included) ─────────────────────────────────── */
.bento {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(6, 1fr); gap: 20px; }
}
.bento__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  grid-column: span 2;
}
.bento__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
@media (min-width: 768px) {
  .bento__card { grid-column: span 2; padding: 32px; }
  .bento__card--lg { grid-column: span 3; }
  .bento__card--xl { grid-column: span 6; padding: 40px; }
}

/* Full-width bento card with side-by-side copy + visual */
.bento__xl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 768px) {
  .bento__xl {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 48px;
  }
}
.bento__xl-copy { max-width: 480px; }
.bento__xl .bento__title { font-size: 28px; line-height: 1.15; }
.bento__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-1);
  margin-bottom: 12px;
}
.bento__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(52, 120, 246, 0.12), rgba(138, 92, 246, 0.12));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-1);
  margin-bottom: 16px;
}
.bento__icon svg { width: 20px; height: 20px; }
.bento__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  line-height: 1.25;
  color: var(--ink-1);
}
.bento__card--lg .bento__title { font-size: 28px; line-height: 1.15; }
.bento__body {
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.55;
  margin: 0;
}
.bento__mock {
  margin-top: 24px;
  background: var(--bg-cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}
.mini-chat { display: flex; flex-direction: column; gap: 8px; }
.mini-chat__msg {
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 12px;
  max-width: 85%;
}
.mini-chat__msg--user {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.mini-chat__msg--ai {
  background: linear-gradient(135deg, rgba(52, 120, 246, 0.08), rgba(138, 92, 246, 0.08));
  border: 1px solid rgba(52, 120, 246, 0.18);
  color: var(--ink-1);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  font-weight: 500;
}
.bento__site {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #f6f8fc 0%, #eef1f7 100%);
}
.bento__site-nav {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 16px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.bento__site-logo {
  width: 16px; height: 16px; border-radius: 5px;
  background: var(--brand-grad);
}
.bento__site-nav span {
  width: 32px; height: 6px; border-radius: 3px; background: var(--bg-mist);
}
.bento__site-hero {
  padding: 28px 20px 32px;
  text-align: center;
}
.bento__site-h1 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink-1);
  margin-bottom: 6px;
}
.bento__site-sub {
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.bento__site-cta {
  display: inline-block;
  background: var(--ink-1);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
}

/* ── Yours / no-lock-in ────────────────────────────────────── */
.yours {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.yours__lead {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.25;
  color: var(--ink-1);
  margin: 0 0 18px;
}
.yours__lead strong { font-weight: 700; }
@media (min-width: 900px) {
  .yours { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 80px; }
}
.export-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.export-card__head {
  margin-bottom: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.export-card__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
  background: var(--bg-mist);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.export-card__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink-1);
  margin-bottom: 8px;
}
.export-card__subtitle {
  font-size: 13.5px;
  color: var(--ink-4);
  line-height: 1.55;
}
.export-card__why {
  margin-top: 14px;
  padding: 14px 16px;
  background: var(--bg-cream);
  border-radius: 12px;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.55;
}
.export-card__why strong { color: var(--ink-1); font-weight: 600; }
.export-card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.export-card__row:last-of-type { border-bottom: none; }
.export-card__when { font-size: 15px; color: var(--ink-3); }
.export-card__price {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-1);
}
.export-card__row--free .export-card__price {
  background: var(--brand-grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.export-card__note {
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-4);
  line-height: 1.55;
}

/* ── COMPARISON TABLE ──────────────────────────────────────── */
.compare {
  padding: 100px 0;
  background: var(--bg);
  position: relative;
}
.compare .lede { margin-bottom: 48px; }

.compare__table {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0 auto;
  max-width: 1100px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.compare__row {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid var(--line);
}
.compare__row:last-child { border-bottom: none; }

@media (min-width: 768px) {
  .compare__row {
    grid-template-columns: minmax(160px, 1.1fr) 1fr 1fr 1.1fr;
  }
}

.compare__col {
  padding: 18px 20px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.45;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.compare__col:last-child { border-bottom: none; }
@media (min-width: 768px) {
  .compare__col {
    border-bottom: none;
    border-right: 1px solid var(--line);
  }
  .compare__col:last-child { border-right: none; }
}
.compare__col small { font-size: 12px; color: var(--ink-4); }

.compare__col--label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--bg-cream);
}

.compare__col--us {
  background: linear-gradient(180deg, rgba(52, 120, 246, 0.06), rgba(138, 92, 246, 0.04));
  font-weight: 600;
  color: var(--ink-1);
  position: relative;
}

.compare__row--head .compare__col {
  padding: 22px 20px;
  background: var(--bg-cream);
  border-bottom: 2px solid var(--line);
}
.compare__row--head .compare__col--label {
  background: var(--bg-cream);
}
.compare__row--head .compare__col--us {
  background: linear-gradient(180deg, rgba(52, 120, 246, 0.12), rgba(138, 92, 246, 0.08));
  border-bottom-color: var(--brand-1);
}

.compare__name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-1);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.compare__tag {
  font-size: 12px;
  color: var(--ink-4);
  font-weight: 400;
  line-height: 1.4;
}
.compare__us-mark {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-grad);
}

.compare__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.14);
  color: var(--cap-c);
  font-weight: 700;
  margin-right: 8px;
  flex-shrink: 0;
  font-size: 12px;
}
.compare__x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(10, 11, 16, 0.06);
  color: var(--ink-4);
  font-weight: 600;
  margin-right: 8px;
  flex-shrink: 0;
  font-size: 14px;
}

.compare__footnote {
  margin-top: 28px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-4);
  line-height: 1.55;
}
.compare__footnote em { color: var(--ink-3); font-style: italic; }
.compare__footnote a {
  color: var(--ink-3);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
}
.compare__footnote a:hover { color: var(--brand-1); }

/* Hidden-pricing callout: sits between the compare table and the footnote */
.compare__hidden {
  margin: 40px auto 0;
  max-width: 880px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(52, 120, 246, 0.05), rgba(138, 92, 246, 0.04));
  border: 1px solid rgba(52, 120, 246, 0.18);
  text-align: center;
}
.compare__hidden-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-1);
  margin: 0 0 12px;
}
.compare__hidden-headline {
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.022em;
  font-weight: 700;
  color: var(--ink-1);
  margin: 0 0 18px;
}
.compare__hidden-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 auto;
  max-width: 620px;
}
.compare__hidden-body em { font-style: italic; color: var(--ink-3); }
.compare__hidden-body strong { color: var(--ink-1); font-weight: 600; }

/* Mobile: stack each row as a label + 3 stacked columns */
@media (max-width: 767px) {
  .compare__row--head { display: none; }
  .compare__row {
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
  }
  .compare__col {
    border: none;
    padding: 8px 0;
  }
  .compare__col--label {
    background: transparent;
    padding-bottom: 4px;
    color: var(--ink-3);
  }
  .compare__col::before {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-4);
    margin-bottom: 2px;
  }
  .compare__col:nth-child(2)::before { content: "Custom developer"; }
  .compare__col:nth-child(3)::before { content: "Templated chiro host"; }
  .compare__col:nth-child(4)::before { content: "PracticeFlux"; color: var(--brand-1); }
  .compare__col--us { background: linear-gradient(180deg, rgba(52, 120, 246, 0.08), rgba(138, 92, 246, 0.05)); border-radius: 10px; padding: 10px 14px; margin-top: 4px; }
}

/* ── Pricing ───────────────────────────────────────────────── */
.pricing {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 900px) {
  .pricing { grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
}
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.price-card--featured {
  border-color: rgba(52, 120, 246, 0.4);
  box-shadow:
    0 0 0 1px rgba(52, 120, 246, 0.25),
    0 24px 48px rgba(52, 120, 246, 0.12),
    0 8px 16px rgba(10, 11, 16, 0.04);
  position: relative;
  isolation: isolate;
}
.price-card--featured::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: var(--brand-grad);
  z-index: -1;
  opacity: 0.7;
  filter: blur(2px);
}
.price-card--featured::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: #fff;
  z-index: -1;
}
.price-card__tag {
  display: inline-block;
  background: var(--brand-grad);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.price-card__tag--muted {
  background: var(--bg-mist);
  color: var(--ink-3);
}
.price-card__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-3);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}
.price-card__amount {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink-1);
  line-height: 1;
}
.price-card__period { font-size: 16px; color: var(--ink-4); }
.price-card__compare {
  font-size: 14px;
  color: var(--ink-4);
  margin-bottom: 24px;
}
.price-card__features {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
.price-card__features li {
  position: relative;
  padding: 9px 0 9px 28px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.45;
  border-bottom: 1px solid rgba(10, 11, 16, 0.04);
}
.price-card__features li:last-child { border-bottom: none; }
.price-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand-grad);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='11' fill='black'/><path d='M7 12.5l3 3 7-7' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' fill='none'/></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'><circle cx='12' cy='12' r='11' fill='black'/><path d='M7 12.5l3 3 7-7' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>") center/contain no-repeat;
}
.price-card__fineprint {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-4);
  line-height: 1.55;
}
.price-card__fineprint--strong { color: var(--ink-2); font-weight: 500; }

/* ── ABOUT — who built it ──────────────────────────────────── */
.about {
  padding: 100px 0;
  background: var(--bg-cream);
  position: relative;
  overflow: hidden;
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 900px) {
  .about__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 80px;
  }
}

.about__visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}
@media (min-width: 900px) {
  .about__visual { align-items: flex-start; }
}

.about__photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--brand-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 30px 60px rgba(52, 120, 246, 0.25),
    0 8px 24px rgba(138, 92, 246, 0.15);
  position: relative;
  isolation: isolate;
}
.about__photo::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3478f6 0%, #8a5cf6 60%, #22d3ee 100%);
  z-index: -1;
}
.about__photo-initials {
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
  font-family: var(--font-sans);
}
.about__photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

.about__creds {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 320px;
}
.about__cred {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
}
.about__cred-when {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-1);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.about__cred-what {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-1);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 2px;
}
.about__cred-where {
  font-size: 12.5px;
  color: var(--ink-4);
  line-height: 1.4;
}

.about__copy { max-width: 620px; }

.about__pull {
  margin-top: 24px;
  padding: 20px 24px;
  background: #fff;
  border-left: 3px solid var(--brand-1);
  border-radius: 0 14px 14px 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-1);
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-sm);
}

/* ── FAQ ───────────────────────────────────────────────────── */
.faq {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 24px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.faq__item[open] {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 32px 18px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-1);
  position: relative;
  outline: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink-4);
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}
.faq__item[open] summary::after { content: "−"; color: var(--ink-1); }
.faq__a {
  padding: 0 0 20px;
  font-size: 16px;
  color: var(--ink-3);
  line-height: 1.6;
}

/* ── Lead form ─────────────────────────────────────────────── */
.lead-form {
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(20px);
}
.lead-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (min-width: 600px) {
  .lead-form__row { grid-template-columns: 1fr 1fr; }
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.01em;
}
.field__opt { color: rgba(255, 255, 255, 0.45); font-weight: 400; }
.field input,
.field textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 15px;
  color: #fff;
  font-family: var(--font-sans);
  width: 100%;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-1);
  background: rgba(255, 255, 255, 0.10);
}
.field textarea { resize: vertical; min-height: 96px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.band--cta .btn--primary {
  background: #fff;
  color: var(--ink-1);
}
.band--cta .btn--primary:hover { background: rgba(255, 255, 255, 0.9); }

.lead-form__note {
  margin-top: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}
.lead-form__status {
  margin-top: 14px;
  font-size: 14px;
  text-align: center;
  min-height: 1.4em;
  color: rgba(255, 255, 255, 0.7);
}
.lead-form__status.is-ok { color: #6ee7b7; }
.lead-form__status.is-error { color: #fca5a5; }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
  color: var(--ink-3);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .footer__inner { grid-template-columns: 1fr 2fr 1fr; align-items: start; }
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer__wordmark { font-weight: 700; color: var(--ink-1); }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer__h {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 12px;
}
.footer__cols a {
  display: block;
  font-size: 14px;
  color: var(--ink-2);
  padding: 4px 0;
  transition: color 0.2s var(--ease);
}
.footer__cols a:hover { color: var(--brand-1); }
.footer__legal {
  font-size: 12px;
  color: var(--ink-4);
  align-self: end;
}

/* ============================================================
   CASE STUDY pages (e.g. /case-studies/bay-view-chiropractic.html)
   ============================================================ */

/* ── Hero ──────────────────────────────────────────────────── */
.case-hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.case-hero__halo {
  position: absolute;
  inset: -20% -10% 30% -10%;
  z-index: -1;
  background:
    radial-gradient(40% 50% at 20% 30%, rgba(52, 120, 246, 0.18), transparent 70%),
    radial-gradient(35% 45% at 80% 25%, rgba(138, 92, 246, 0.16), transparent 70%);
  filter: blur(30px);
}
.case-hero__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin: 0 0 32px;
}
.case-hero__title {
  margin: 0 auto 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  max-width: 1100px;
}
.case-hero__stat {
  display: block;
  font-size: clamp(110px, 18vw, 220px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.05em;
  background: var(--brand-grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px;
}
.case-hero__title-text {
  display: block;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink-1);
}
.case-hero__sub {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0 auto;
  max-width: 720px;
}

/* Dual-stat hero (two headline numbers side by side) */
.case-hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 4vw, 60px);
  margin: 0 0 30px;
}
.case-hero__stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.case-hero__stat--dual {
  display: block;
  font-size: clamp(60px, 9vw, 132px);
  font-weight: 800;
  line-height: 1;
  padding-bottom: 0.08em;
  letter-spacing: -0.05em;
  background: var(--brand-grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin: 0;
  white-space: nowrap;
}
.case-hero__stat-cap {
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  max-width: 220px;
}
.case-hero__stat-sep {
  align-self: stretch;
  width: 1px;
  background: var(--line-strong);
  margin: 10px 0;
}
@media (max-width: 600px) {
  .case-hero__stat-sep { width: 56%; height: 1px; margin: 4px 0; }
}

/* ── Before / After ────────────────────────────────────────── */
.case-bna {
  padding: 80px 0;
  background: var(--bg-cream);
}
.case-bna__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}
@media (min-width: 800px) {
  .case-bna__grid { grid-template-columns: 1fr 1fr; }
}
.case-bna__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.case-bna__card--after {
  border-color: rgba(52, 120, 246, 0.22);
  box-shadow:
    0 24px 48px rgba(52, 120, 246, 0.10),
    0 4px 12px rgba(10, 11, 16, 0.04);
  position: relative;
  isolation: isolate;
}
.case-bna__card--after::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: var(--brand-grad);
  z-index: -1;
  opacity: 0.4;
  filter: blur(2px);
}
.case-bna__card--after::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: #fff;
  z-index: -1;
}
.case-bna__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin: 0 0 18px;
  background: var(--bg-mist);
  padding: 5px 12px;
  border-radius: 999px;
}
.case-bna__label--after {
  background: var(--brand-grad);
  color: #fff;
}
.case-bna__big {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink-1);
  margin: 0 0 14px;
}
.case-bna__sub {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0 0 22px;
}
.case-bna__stats {
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}
.case-bna__stats li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 7px 0;
  font-size: 15px;
  color: var(--ink-2);
}
.case-bna__stats strong {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink-1);
  min-width: 90px;
}

/* ── Story band ────────────────────────────────────────────── */
.case-story {
  padding: 100px 0;
  background: #fff;
  text-align: center;
}
.case-story .lede {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 24px;
}
.case-story .lede:last-child { margin-bottom: 0; }

/* Left-aligned narrative variant (e.g. "Why I built this") —
   one centered column, every block sharing the same edges. */
.case-story--left { text-align: left; }
.case-story--left .kicker,
.case-story--left .headline,
.case-story--left .lede,
.case-story--left .body,
.case-story--left .case-byline {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* Author byline with headshot */
.case-byline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}
.case-byline__photo {
  flex: none;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  box-shadow: var(--shadow-md);
}
.case-byline__who {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.case-byline__name {
  font-weight: 700;
  color: var(--ink-1);
  letter-spacing: -0.005em;
}
.case-byline__role {
  font-size: 14px;
  color: var(--ink-4);
}

/* ── Metrics grid ──────────────────────────────────────────── */
.case-metrics {
  padding: 100px 0;
  background: var(--bg-cream);
}
.case-metrics .lede { margin-bottom: 56px; }
.case-metrics__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
}
@media (min-width: 600px) {
  .case-metrics__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .case-metrics__grid { grid-template-columns: repeat(3, 1fr); }
}
.case-metric {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 28px 32px;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.case-metric::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--brand-grad);
}
.case-metric:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.case-metric__number {
  font-size: clamp(44px, 4.4vw, 58px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  white-space: nowrap;
  padding-bottom: 0.05em;
  background: var(--brand-grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin: 0 0 14px;
}
.case-metric__label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-2);
  margin: 0 0 8px;
}
.case-metric__note {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-4);
  margin: 0;
}

/* ── Visibility (keyword pills) ────────────────────────────── */
.case-visibility {
  padding: 100px 0;
  background: #fff;
}
.case-visibility .lede { margin-bottom: 40px; }
.case-keywords {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 920px;
  margin: 0 auto 32px;
}
@media (min-width: 600px) {
  .case-keywords { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .case-keywords { grid-template-columns: 1fr 1fr 1fr; }
}
.case-keyword {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.case-keyword:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}
.case-keyword__rank {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink-4);
  min-width: 44px;
}
.case-keyword--top {
  background: linear-gradient(135deg, rgba(52, 120, 246, 0.08), rgba(138, 92, 246, 0.04));
  border-color: rgba(52, 120, 246, 0.22);
}
.case-keyword--top .case-keyword__rank {
  background: var(--brand-grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.case-keyword__term {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-1);
  line-height: 1.3;
}
.case-visibility__note {
  max-width: 720px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-3);
}

/* ── Honest read band ──────────────────────────────────────── */
.case-honest {
  padding: 100px 0;
  background: var(--bg-cream);
}
.case-honest__item {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.case-honest__item:first-of-type { border-top: none; padding-top: 0; }
.case-honest__title {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.2;
  color: var(--ink-1);
  margin: 0 0 14px;
}
.case-honest__body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-3);
  margin: 0;
}
.case-honest__body strong {
  color: var(--ink-1);
  font-weight: 600;
}

/* ── Pull quote ────────────────────────────────────────────── */
.case-quote {
  padding: 100px 0;
  background: #fff;
}
.case-quote__block {
  margin: 0;
  padding: 0;
  text-align: center;
}
.case-quote__text {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.35;
  letter-spacing: -0.022em;
  font-weight: 500;
  color: var(--ink-1);
  margin: 0 0 32px;
  font-style: italic;
}
.case-quote__author {
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.case-quote__name {
  font-weight: 700;
  color: var(--ink-1);
  letter-spacing: -0.005em;
}
.case-quote__role {
  color: var(--ink-4);
}

/* ── Case CTA buttons ──────────────────────────────────────── */
.case-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 32px 0 0;
}

/* ── Reveal animation ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
