:root {
  --navy: #10335f;
  --navy-900: #0a2348;
  --navy-700: #184b87;
  --navy-500: #2b6fc2;
  --accent: #2c9bff;          /* tweakable */
  --accent-soft: #e6f2ff;
  --accent-softer: #f1f7ff;
  --ink: #0d1b2f;
  --ink-2: #394861;
  --ink-3: #6a778b;
  --line: #e3e8f0;
  --line-2: #eef2f7;
  --bg: #ffffff;
  --bg-tint: #f7f9fc;
  --bg-blue: #f1f6fd;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16,51,95,.05), 0 1px 1px rgba(16,51,95,.03);
  --shadow-md: 0 4px 20px rgba(16,51,95,.06), 0 2px 6px rgba(16,51,95,.04);
  --shadow-lg: 0 24px 60px -20px rgba(16,51,95,.22), 0 8px 20px -10px rgba(16,51,95,.12);
  --max: 1240px;
  --pad: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  font-feature-settings: "ss01", "ss02";
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }

/* Typography */
h1, h2, h3, h4 { margin: 0; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; line-height: 1.06; }
h1 { font-size: clamp(42px, 6.2vw, 84px); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 700; letter-spacing: -0.028em; }
h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.02em; }
p  { margin: 0; color: var(--ink-2); }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}

.container { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary {
  background: var(--accent); color: white;
  box-shadow: 0 6px 18px -4px color-mix(in oklab, var(--accent) 60%, transparent);
}
.btn-primary:hover { background: color-mix(in oklab, var(--accent) 90%, black); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--navy);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--bg-tint); border-color: var(--navy-500); }
.btn-dark { background: var(--navy); color: white; }
.btn-dark:hover { background: var(--navy-900); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex; align-items: center;
  color: var(--navy);
}
.logo img { height: 30px; width: auto; object-fit: contain; display: block; }
.nav-links {
  display: flex; align-items: center; gap: 28px;
}
.nav-links a {
  color: var(--ink-2); font-size: 14px; font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover { color: var(--navy); }

/* Quote banner */
.quote-band {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--accent-softer) 0%, #ffffff 100%);
}
.quote-band-inner {
  padding: 28px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.quote-band blockquote {
  margin: 0;
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--ink);
  font-weight: 500;
  max-width: 760px;
  line-height: 1.45;
}
.quote-band blockquote::before {
  content: "“";
  font-size: 28px; color: var(--accent); font-weight: 700;
  margin-right: 4px; vertical-align: -4px;
}
.quote-band blockquote::after {
  content: "”";
  font-size: 28px; color: var(--accent); font-weight: 700;
  margin-left: 4px; vertical-align: -4px;
}
.quote-attr {
  text-align: right;
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.45;
}
.quote-attr strong { display: block; color: var(--navy); font-size: 13px; font-weight: 700; letter-spacing: -0.01em; }
.quote-attr .stats { margin-top: 4px; font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.quote-attr .stats span { color: var(--navy-700); font-weight: 600; }
.quote-attr .stats span + span::before { content: " · "; color: var(--ink-3); font-weight: 400; }

/* Hero */
.hero { position: relative; padding: clamp(70px, 11vw, 140px) 0 clamp(70px, 10vw, 130px); overflow: hidden; }
.hero-inner { position: relative; z-index: 2; max-width: 1040px; }
.hero h1 { color: var(--navy); }
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  position: relative;
  white-space: nowrap;
}
@media (max-width: 640px) {
  /* Let the accent phrase wrap on its own line(s) at phone widths */
  .hero h1 em { white-space: normal; display: block; }
}
.hero .eyebrow { display: block; margin-bottom: 22px; }
.hero-clean-h {
  font-size: clamp(44px, 6.8vw, 96px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--navy);
  max-width: 14ch;
}
.hero-sub {
  margin-top: 28px;
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--ink-2);
  max-width: 620px;
  line-height: 1.5;
}
.hero-pillars {
  margin-top: 36px;
  display: flex; gap: 10px; flex-wrap: wrap;
}
.hero-cta { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* Demo video section */
.demo-video { padding: 0 0 clamp(40px, 6vw, 80px); background: #fff; }
.demo-shell { max-width: 1100px; margin: 0 auto; transform: translateY(-40px); }
.demo-window {
  border-radius: 18px; overflow: hidden;
  background: #0a1a32;
  box-shadow: 0 40px 90px -30px rgba(16,51,95,.35), 0 16px 40px -20px rgba(16,51,95,.25);
  border: 1px solid var(--line);
}
.demo-chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px; background: #0f2548;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.demo-chrome .dot-red, .demo-chrome .dot-yel, .demo-chrome .dot-grn {
  width: 11px; height: 11px; border-radius: 50%;
}
.demo-chrome .dot-red { background: #ff5f56; }
.demo-chrome .dot-yel { background: #ffbd2e; }
.demo-chrome .dot-grn { background: #27c93f; }
.demo-url {
  margin-left: 14px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.6);
  padding: 4px 14px; border-radius: 6px;
  font-size: 12px; font-family: ui-monospace, Menlo, monospace;
}
.demo-canvas {
  position: relative; aspect-ratio: 16 / 9;
  display: grid; place-items: center; text-align: center;
  background: linear-gradient(135deg, #0a1a32 0%, #123a6e 50%, #0a1a32 100%);
  overflow: hidden;
}
.demo-stripes {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,0) 0 22px,
    rgba(255,255,255,0.03) 22px 23px
  );
  pointer-events: none;
}
.demo-play {
  position: relative; z-index: 2;
  width: 86px; height: 86px; border-radius: 50%;
  background: var(--accent); color: white;
  display: grid; place-items: center;
  box-shadow: 0 20px 50px -10px color-mix(in oklab, var(--accent) 60%, transparent);
  cursor: pointer; transition: transform .25s ease;
}
.demo-play:hover { transform: scale(1.05); }
.demo-play svg { margin-left: 4px; }
.demo-meta { position: relative; z-index: 2; margin-top: 22px; color: rgba(255,255,255,.95); }
.demo-label { font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
.demo-caption {
  margin-top: 6px; font-family: ui-monospace, Menlo, monospace;
  font-size: 11px; letter-spacing: .06em; color: rgba(255,255,255,.5);
  text-transform: uppercase;
}

/* Problem section (merged ChatGPT hook + cards) */
.problem {
  background: linear-gradient(180deg, #fff 0%, var(--bg-tint) 100%);
  border-top: 1px solid var(--line-2);
  padding-bottom: clamp(80px, 10vw, 140px);
}
.problem-head { text-align: center; max-width: 860px; margin: 0 auto 60px; }
.problem-lede {
  color: var(--ink-3);
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-bottom: 18px;
}
.problem-hook {
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.035em;
  line-height: 1.04;
}
.problem-sub {
  margin-top: 26px;
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--ink-2);
  max-width: 640px;
  margin-left: auto; margin-right: auto;
}
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.problem-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 0 0 30px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative; overflow: hidden;
}
.problem-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: color-mix(in oklab, var(--accent) 30%, var(--line)); }
.problem-card-header {
  display: flex; align-items: baseline; gap: 14px;
  padding: 26px 30px 22px;
  background: linear-gradient(180deg, var(--accent-softer) 0%, #fff 100%);
  border-bottom: 1px dashed var(--line);
  margin-bottom: 4px;
}
.problem-card-num {
  font-size: clamp(44px, 4.8vw, 64px);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.problem-card-tag {
  font-size: clamp(13px, 1.15vw, 15px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  flex: 1;
}
.problem-card h3 { color: var(--navy); font-size: 22px; padding: 0 30px; }
.problem-card p { color: var(--ink-2); font-size: 15px; line-height: 1.55; padding: 0 30px; }

/* Lease abstraction screen */
.lease-rows { display: flex; flex-direction: column; gap: 0; }
.lease-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0;
  border-top: 1px dashed var(--line);
  font-size: 11.5px;
}
.lease-row:first-child { border-top: none; }
.lease-k { color: var(--ink-3); font-size: 10.5px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }
.lease-v { color: var(--navy); font-weight: 600; font-size: 11.5px; }

/* Tabbed features section ============================================== */
.features {
  background: linear-gradient(180deg, #fff 0%, var(--bg-tint) 100%);
  border-top: 1px solid var(--line-2);
  padding-bottom: clamp(80px, 10vw, 130px);
}
.features-head { text-align: center; max-width: 880px; margin: 0 auto 56px; }
.features-lede {
  color: var(--ink-3);
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 500;
  margin-bottom: 18px;
}
.features-h {
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.035em;
  line-height: 1.04;
}

/* Tab bar */
.tabs-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto 48px;
  padding: 6px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
  box-shadow: 0 4px 16px -8px rgba(16,51,95,.12);
}
.tab {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  border: none; background: transparent;
  border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 14px;
  color: var(--ink-3);
  cursor: pointer;
  letter-spacing: -0.005em;
  transition: color .2s ease, background .25s ease, transform .15s ease;
  white-space: nowrap;
}
.tab:hover { color: var(--navy); }
.tab.is-active {
  background: var(--accent);
  color: white;
  box-shadow: 0 6px 16px -6px color-mix(in oklab, var(--accent) 50%, transparent);
}
.tab-num {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: color-mix(in oklab, currentColor 70%, transparent);
}
.tab.is-active .tab-num { color: rgba(255,255,255,.75); }
.tab-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  color: color-mix(in oklab, currentColor 80%, transparent);
  margin-right: 2px;
  flex-shrink: 0;
}
.tab-icon svg { width: 100%; height: 100%; display: block; }
.tab.is-active .tab-icon { color: rgba(255,255,255,.95); }

/* Tab panel */
.tab-panel {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
  animation: tab-fade .35s ease both;
}
@keyframes tab-fade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.tab-copy { display: flex; flex-direction: column; gap: 36px; }
.tab-component {
  animation: comp-in .5s cubic-bezier(.2,.7,.2,1) both;
  opacity: 0;
}
@keyframes comp-in {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: none; }
}
.tab-component-h {
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.022em;
  line-height: 1.25;
  margin-bottom: 8px;
}
.tab-component-p {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 56ch;
}

/* Right visual */
.tab-visual {
  display: flex; align-items: center; justify-content: center;
}
.tab-visual-card {
  width: 100%;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow:
    0 30px 60px -28px rgba(16,51,95,.18),
    0 8px 24px -12px rgba(16,51,95,.10);
  position: relative;
}
.tab-visual-card::before {
  content: "";
  position: absolute;
  inset: -16px;
  background: radial-gradient(60% 60% at 50% 50%, color-mix(in oklab, var(--accent) 12%, transparent), transparent 70%);
  z-index: -1;
  border-radius: 24px;
}
.tab-visual-card .screen {
  border: none;
  box-shadow: none;
  padding: 0;
  font-size: 13px;
}
.tab-visual-card .screen-tag { font-size: 10.5px; }
.tab-visual-card .screen-item-name { font-size: 13px; }
.tab-visual-card .screen-item-sub { font-size: 11.5px; }
.tab-visual-card .lease-row { padding: 11px 0; }
.tab-visual-card .lease-k { font-size: 11px; }
.tab-visual-card .lease-v { font-size: 13px; }
.tab-visual-card .screen-mail-subj { font-size: 13px; }
.tab-visual-card .screen-donut { width: 110px; height: 110px; }
.tab-visual-card .screen-donut-label b { font-size: 22px; }

@media (max-width: 980px) {
  .tab-panel { grid-template-columns: 1fr; gap: 40px; }
  .tab-visual { order: 2; }
  .tab-copy { order: 1; }
}
@media (max-width: 720px) {
  .tabs-bar {
    border-radius: 14px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding: 6px;
    gap: 6px;
  }
  .tab { padding: 10px 14px; font-size: 13px; }
  .tab-num { display: none; }
  .tab-icon { width: 18px; height: 18px; }
  .tab-label { white-space: normal; }
}

/* ====================================================================== */

/* Product screen placeholders */
.product-screen {
  margin: -36px -32px 18px;
  padding: 22px;
  background: linear-gradient(180deg, var(--accent-softer) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
  min-height: 220px;
  display: flex; align-items: stretch;
}
.products.variant-rows .product-screen {
  margin: 0; border-bottom: none; border-left: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--bg-tint) 0%, #fff 100%);
}
.screen {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 10px 24px -12px rgba(16,51,95,.15);
  font-size: 12px;
  color: var(--ink-2);
}
.screen-row { display: flex; justify-content: space-between; align-items: center; }
.screen-tag {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--ink-3); text-transform: uppercase;
}
.screen-badge {
  font-size: 10px; font-weight: 600;
  background: var(--accent-soft); color: var(--accent);
  padding: 3px 8px; border-radius: 999px;
}
.screen-badge-ok { background: #e6f7ec; color: #16864d; }
.screen-item { display: grid; grid-template-columns: 1fr 80px; gap: 12px; align-items: center; padding: 6px 0; }
.screen-item-name { font-weight: 600; color: var(--navy); font-size: 12px; }
.screen-item-sub { color: var(--ink-3); font-size: 10.5px; margin-top: 2px; }
.screen-bar { height: 5px; background: var(--line-2); border-radius: 999px; overflow: hidden; }
.screen-bar-fill { height: 100%; background: var(--accent); border-radius: 999px; }

.screen-comp { flex-direction: row; align-items: center; gap: 16px; }
.screen-donut { position: relative; width: 90px; height: 90px; flex-shrink: 0; }
.screen-donut svg { width: 100%; height: 100%; }
.screen-donut-label {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--navy);
}
.screen-donut-label b { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.screen-donut-label span { font-size: 9px; color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; }
.screen-list { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.screen-row-sm { display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: center; font-size: 11px; }
.screen-row-sm .dot-ok   { width: 8px; height: 8px; border-radius: 50%; background: #16864d; }
.screen-row-sm .dot-warn { width: 8px; height: 8px; border-radius: 50%; background: #d99a00; }
.screen-row-sm .dot-bad  { width: 8px; height: 8px; border-radius: 50%; background: #c64545; }
.screen-row-name { color: var(--navy); font-weight: 500; }
.screen-row-val  { color: var(--ink-3); font-size: 10.5px; }

.screen-mail { padding: 8px 0; border-top: 1px dashed var(--line); }
.screen-mail:first-of-type { border-top: none; }
.screen-mail-from { font-size: 10.5px; color: var(--ink-3); }
.screen-mail-subj { font-size: 12px; font-weight: 600; color: var(--navy); margin-top: 1px; }
.screen-mail-draft { font-size: 10.5px; color: var(--ink-2); margin-top: 4px; display: flex; align-items: center; gap: 8px; }
.draft-chip {
  font-size: 9px; font-weight: 700; letter-spacing: 0.1em;
  padding: 2px 6px; border-radius: 4px;
  background: var(--accent-soft); color: var(--accent);
}

/* Building motif (hero background) */
.building-motif {
  position: absolute;
  right: max(0px, calc((100vw - var(--max)) / 2)); top: 50%;
  transform: translateY(-50%);
  width: min(640px, 52vw);
  aspect-ratio: 499 / 338;
  pointer-events: none;
  opacity: 0.95;
  z-index: 1;
}
.building-motif svg,
.building-motif img { width: 100%; height: 100%; display: block; object-fit: contain; }

/* Section */
section { padding: clamp(80px, 10vw, 140px) 0; }
.section-head { max-width: 820px; margin: 0 0 56px; }
.section-head .eyebrow { margin-bottom: 14px; display: block; }
.section-head h2 { color: var(--navy); }
.section-head p { margin-top: 18px; font-size: clamp(16px, 1.3vw, 19px); color: var(--ink-2); max-width: 640px; }

/* Pain */
.pain { background: var(--bg); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pain-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px 34px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative; overflow: hidden;
}
.pain-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), color-mix(in oklab, var(--accent) 50%, white));
  opacity: 0; transition: opacity .25s;
}
.pain-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: color-mix(in oklab, var(--accent) 30%, var(--line)); }
.pain-card:hover::before { opacity: 1; }
.pain-index {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}
.pain-index-num {
  font-family: 'Manrope'; font-size: 13px; font-weight: 700;
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
}
.pain-card h3 { color: var(--navy); }
.pain-card p { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }

/* Platform transition */
.transition {
  background: linear-gradient(180deg, #fff 0%, var(--accent-softer) 50%, #fff 100%);
  text-align: center;
  padding: clamp(100px, 13vw, 160px) 0;
}
.transition .eyebrow { display: block; margin-bottom: 24px; }
.transition h2 { max-width: 900px; margin: 0 auto; color: var(--navy); }
.transition .pillars {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin-top: 40px;
}
.pillar {
  padding: 10px 20px; border-radius: 999px;
  background: white; border: 1px solid color-mix(in oklab, var(--accent) 25%, var(--line));
  font-weight: 600; font-size: 14px; color: var(--navy);
  display: inline-flex; align-items: center; gap: 8px;
}
.pillar .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--accent); }
.pillar .pillar-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}
.pillar .pillar-icon svg { width: 100%; height: 100%; display: block; }

/* Product cards -- variants */
.products { background: #fff; }
.products.variant-flat .product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.products.variant-flat .product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px 32px; display: flex; flex-direction: column; gap: 18px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.products.variant-flat .product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in oklab, var(--accent) 40%, var(--line)); }

.products.variant-gradient .product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.products.variant-gradient .product-card {
  background: linear-gradient(180deg, #fff 0%, var(--accent-softer) 100%);
  border: 1px solid color-mix(in oklab, var(--accent) 18%, var(--line));
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.products.variant-gradient .product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.products.variant-rows .product-grid { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.products.variant-rows .product-card {
  display: grid; grid-template-columns: 1.1fr 1.3fr; gap: 48px;
  padding: 56px 0; border-bottom: 1px solid var(--line);
  align-items: center;
  background: transparent; border-radius: 0;
  transition: background .25s;
}
.products.variant-rows .product-card > .product-icon { display: none; }
.products.variant-rows .product-card .product-how { border-top: 1px dashed var(--line); padding-top: 16px; margin-top: 8px; }

.product-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; flex-shrink: 0;
}
.product-icon svg { width: 28px; height: 28px; }
.product-card h3 { color: var(--navy); }
.product-card .product-body { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.product-how {
  margin-top: 8px; padding-top: 18px; border-top: 1px dashed var(--line);
  font-size: 13.5px; color: var(--ink-3); line-height: 1.55;
}
.product-how .label {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--navy); margin-bottom: 8px;
}

/* Who it's for */
.audience {
  background: var(--navy);
  color: white;
  position: relative; overflow: hidden;
}
.audience::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 85% 20%, color-mix(in oklab, var(--accent) 40%, transparent), transparent 60%),
    radial-gradient(50% 70% at 10% 90%, color-mix(in oklab, var(--accent) 22%, transparent), transparent 65%);
  opacity: 0.55; pointer-events: none;
}
.audience-inner { position: relative; z-index: 2; max-width: 900px; }
.audience h2 { color: white; }
.audience-list {
  list-style: none; padding: 0; margin: 36px 0 0;
  display: flex; flex-direction: column; gap: 14px;
  max-width: min(1100px, 100%);
  --cascade-step: clamp(28px, 4.5vw, 70px);
}
.audience-list li {
  padding-left: 28px;
  position: relative;
  color: color-mix(in oklab, white 82%, transparent);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  /* Cascade: each successive bullet slants further to the right */
  margin-left: calc(var(--cascade-step) * var(--i, 0));
  transition: margin-left .5s cubic-bezier(.2,.8,.2,1);
}
.audience-list li:nth-child(1) { --i: 0; }
.audience-list li:nth-child(2) { --i: 1; }
.audience-list li:nth-child(3) { --i: 2; }
.audience-list li:nth-child(4) { --i: 3; }
.audience-list li:nth-child(5) { --i: 4; }
.audience-list li:nth-child(6) { --i: 5; }
@media (max-width: 720px) {
  /* Mobile: bullets align flush instead of cascading */
  .audience-list { --cascade-step: 0px; }
}
.audience-list li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 25%, transparent);
}
.audience .chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 36px; }
.audience .chip {
  padding: 8px 16px; border-radius: 999px;
  background: color-mix(in oklab, white 10%, transparent);
  border: 1px solid color-mix(in oklab, white 20%, transparent);
  font-size: 13px; font-weight: 500;
  color: color-mix(in oklab, white 90%, transparent);
}

/* Credibility — diagonal 2×2 grid */
.credibility { background: var(--bg-tint); }
.cred-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.cred-cell { display: flex; flex-direction: column; justify-content: center; }
.cred-cell-c1r1 { padding-right: 16px; }
.cred-cell-c2r2 { padding-left: 16px; }
.cred-cell-c1r1 h2 { color: var(--navy); }
.cred-blurb {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 520px;
}
.cred-card {
  background: white; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm);
}
.cred-quote {
  background: white; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-sm);
  position: relative;
}
.cred-quote .quote-mark {
  position: absolute; top: 24px; left: 36px;
  font-size: 64px; color: var(--accent); line-height: 0.6; font-weight: 800;
  opacity: 0.35;
}
.cred-quote blockquote {
  margin: 0; padding-top: 24px;
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--navy); font-weight: 500;
  line-height: 1.5; letter-spacing: -0.01em;
}
.cred-quote .by { margin-top: 22px; font-size: 13px; color: var(--ink-3); }
.cred-quote .by strong { display: block; color: var(--navy); font-weight: 700; font-size: 14px; }
.press-row {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.press-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 18px;
}
.press-slots { display: flex; gap: 12px; flex-wrap: wrap; }
.press-slot {
  height: 44px; padding: 0 22px;
  display: flex; align-items: center;
  background: white; border: 1px dashed var(--line);
  border-radius: 10px;
  font-family: 'SF Mono', ui-monospace, Menlo, monospace;
  font-size: 11px; color: var(--ink-3);
  letter-spacing: 0.05em;
}

.cred-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px;
  background: var(--line); border-radius: 14px; overflow: hidden;
}
.cred-stat {
  background: white; padding: 20px 22px;
}
.cred-stat .num {
  font-size: clamp(28px, 3vw, 36px); font-weight: 800; color: var(--navy);
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.cred-stat .lbl { margin-top: 4px; font-size: 12px; color: var(--ink-3); font-weight: 500; }

/* Final CTA */
.final-cta {
  background: linear-gradient(180deg, #fff 0%, var(--accent-softer) 100%);
  text-align: center;
  position: relative; overflow: hidden;
}
.final-cta::before, .final-cta::after {
  content: ""; position: absolute; width: 400px; height: 400px;
  border-radius: 50%; filter: blur(80px);
  background: color-mix(in oklab, var(--accent) 20%, transparent);
  pointer-events: none;
}
.final-cta::before { top: -100px; left: -100px; }
.final-cta::after  { bottom: -150px; right: -100px; }
.final-cta-inner { position: relative; z-index: 2; }
.final-cta h2 { color: var(--navy); max-width: 780px; margin: 0 auto; }
.final-cta p { margin-top: 20px; font-size: 18px; color: var(--ink-2); }
.final-cta .btn { margin-top: 40px; padding: 18px 30px; font-size: 16px; }

/* Footer */
footer {
  background: var(--navy);
  color: color-mix(in oklab, white 70%, transparent);
  padding: 64px 0 40px;
}
.footer-row { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 36px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; color: white; }
.footer-brand img { height: 26px; width: auto; display: block; }
.footer-brand .sub { display: block; font-weight: 500; font-size: 11px; color: color-mix(in oklab, white 55%, transparent); letter-spacing: 0.14em; text-transform: uppercase; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; text-align: right; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; transition: color .15s; }
.footer-links a:hover { color: white; }
.footer-legal {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid color-mix(in oklab, white 12%, transparent);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 12px; color: color-mix(in oklab, white 50%, transparent);
}

/* Fade-in on scroll */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.fade-in.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1180px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .products.variant-flat .product-grid,
  .products.variant-gradient .product-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-card h3 { font-size: 20px; }
}

@media (max-width: 920px) {
  .pain-grid { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .products.variant-flat .product-grid,
  .products.variant-gradient .product-grid { grid-template-columns: 1fr; }
  .products.variant-rows .product-card { grid-template-columns: 1fr; gap: 24px; }
  .cred-grid { grid-template-columns: 1fr; gap: 24px; }
  .cred-cell-c1r1, .cred-cell-c2r2 { padding: 0; }
  .quote-band-inner { grid-template-columns: 1fr; gap: 16px; }
  .quote-attr { text-align: left; }
  .building-motif { opacity: 0.18; width: 120%; right: -20%; }
  .nav-links .nav-link-item { display: none; }
  .demo-shell { transform: none; margin-top: -20px; }
}

@media (max-width: 560px) {
  .nav-row { height: 64px; }
  .logo img { height: 24px; }
  .hero-cta .btn-ghost { display: none; }
}

/* ===========================================================
   Mobile refinements
   =========================================================== */

/* Show short CTA label on narrow viewports */
.nav-cta-short { display: none; }
@media (max-width: 640px) {
  .nav-cta-full  { display: none; }
  .nav-cta-short { display: inline; }
  .nav-cta { padding: 10px 16px; font-size: 14px; gap: 6px; }
}
@media (max-width: 380px) {
  .nav-cta { padding: 9px 14px; font-size: 13px; }
}

/* Tighter sections on small phones */
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .hero { padding: 56px 0 48px; }
  .problem,
  .features { padding-bottom: 64px; }
  .section-head { margin-bottom: 36px; }
  .features-head,
  .problem-head { margin-bottom: 36px; }
  .tabs-bar { margin-bottom: 28px; }
}

/* Hero — keep headline punchy, sub readable, button friendly */
@media (max-width: 640px) {
  .hero-clean-h { font-size: clamp(38px, 11vw, 56px); max-width: 100%; }
  .hero-sub { margin-top: 18px; font-size: 16px; }
  .hero-pillars {
    margin-top: 24px;
    gap: 6px;
  }
  .hero-pillars .pillar {
    padding: 7px 12px;
    font-size: 12px;
  }
  .hero-pillars .pillar-icon { width: 14px; height: 14px; }
  .hero-cta { margin-top: 28px; }
  .hero-cta .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 16px 22px;
  }
}

/* Quote band */
@media (max-width: 640px) {
  /* Bump the container padding inside the quote band so it doesn't kiss the edges */
  .quote-band .container { padding-left: 24px; padding-right: 24px; }
  .quote-band-inner { padding: 24px 0; gap: 14px; }
  /* Aggressive wrapping only where the narrow column would clip long tokens */
  .quote-band blockquote {
    font-size: 14.5px; line-height: 1.55;
    overflow-wrap: anywhere; word-break: break-word; hyphens: auto;
    max-width: 100%;
  }
  .quote-band blockquote::before { font-size: 22px; margin-right: 2px; line-height: 0; }
  .quote-band blockquote::after { font-size: 22px; margin-left: 2px; line-height: 0; }
  .quote-attr { font-size: 12px; }
  .quote-attr .stats { line-height: 1.7; overflow-wrap: anywhere; }
}

/* Tabs — wrap into a 2×2 grid on phones instead of horizontal scroll */
@media (max-width: 720px) {
  .tabs-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border-radius: 18px;
    background: white;
    border: 1px solid var(--line);
    box-shadow: 0 4px 16px -8px rgba(16,51,95,.12);
  }
  .tab {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 12px 10px;
    font-size: 13px;
    line-height: 1.25;
    white-space: normal;
    min-height: 56px;
  }
  .tab .tab-label {
    display: inline-block;
    text-align: center;
  }
}
@media (max-width: 380px) {
  .tabs-bar { grid-template-columns: 1fr; }
}

/* Tabbed feature panel — tighten card */
@media (max-width: 640px) {
  .tab-panel { gap: 28px; }
  .tab-copy { gap: 24px; }
  .tab-visual-card { padding: 18px; border-radius: 14px; }
  .tab-visual-card .screen { font-size: 12px; }
  .tab-component-h { font-size: 18px; }
  .tab-component-p { font-size: 15px; }
}

/* Problem cards — keep numbers visible, less internal padding */
@media (max-width: 640px) {
  .problem-card-header { padding: 22px 22px 18px; }
  .problem-card h3,
  .problem-card p { padding: 0 22px; }
  .problem-card { padding-bottom: 24px; }
  .problem-card-num { font-size: 40px; }
}

/* Audience — bullets shouldn't cascade off-screen on tiny phones */
@media (max-width: 480px) {
  .audience-list { --cascade-step: 0px; }
  .audience-list li { font-size: 15.5px; }
}

/* Credibility */
@media (max-width: 640px) {
  .cred-stats { grid-template-columns: 1fr 1fr; }
  .cred-stat { padding: 16px 18px; }
  .cred-stat .num { font-size: 24px; }
  .cred-quote { padding: 28px 22px; }
  .cred-quote .quote-mark { left: 20px; top: 18px; font-size: 48px; }
  .cred-quote blockquote { padding-top: 18px; font-size: 17px; }
}

/* Final CTA — full-width button on small screens */
@media (max-width: 640px) {
  .final-cta .btn {
    margin-top: 28px;
    padding: 16px 22px;
    font-size: 15px;
    width: 100%;
    justify-content: center;
    max-width: 360px;
  }
  .final-cta p { font-size: 16px; margin-top: 14px; }
}

/* Footer */
@media (max-width: 640px) {
  footer { padding: 44px 0 28px; }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-links { text-align: left; }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Hide the heavy building motif on the smallest screens — it competes with text */
@media (max-width: 560px) {
  .building-motif { display: none; }
}

/* Make Tweaks panel less intrusive on mobile (if shown) */
@media (max-width: 640px) {
  .tweaks-panel { max-width: 92vw; }
}
