:root {
  --paper: #f3f3f6;
  --paper-raised: #ffffff;
  --ink: #1a1a22;
  --ink-soft: #5c5c66;
  --ink-faint: #8a8a94;
  --line: #e2e2e8;
  --line-strong: #c8c8d0;
  --accent: #c43b32;
  --accent-hover: #a8322a;
  --accent-soft: #fdeeee;
  --accent-line: #f0c4c0;
  --brand-start: #ff5a72;
  --brand-mid: #ff7344;
  --brand-end: #ffb03a;
  --shadow: 0 18px 40px rgba(26, 26, 34, 0.06);
  --radius: 16px;
  --max: 1120px;
  --sans: "Inter", system-ui, sans-serif;
  --serif: "Outfit", "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.inquiry-sent {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.has-rail {
  overflow-x: hidden;
}

body.has-rail #main {
  position: relative;
  isolation: isolate;
}

body.has-rail #main::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: min(46vw, 560px);
  height: min(1680px, 100%);
  background: url("/assets/rail-squares.svg?v=brandhue") no-repeat top right;
  background-size: 100% auto;
  pointer-events: none;
  z-index: 0;
}

body.has-rail #main > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 760px) {
  body.has-rail #main::before {
    width: min(48vw, 240px);
    opacity: 0.4;
  }
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 200;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: linear-gradient(115deg, var(--brand-start) 0%, var(--brand-mid) 48%, var(--brand-end) 100%);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 28px rgba(255, 80, 70, 0.16);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.brand img {
  width: 38px;
  height: 38px;
}

.site-header .brand img {
  filter: brightness(0) invert(1);
}

.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.045em;
  font-size: 1.5rem;
  line-height: 1;
  text-transform: lowercase;
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links > li {
  display: flex;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-sub-toggle:hover,
.nav-sub-toggle:focus-visible {
  color: #fff;
}

.has-sub {
  position: relative;
}

.nav-sub-toggle {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
}

.nav-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: #0a0a0a;
  border: 1px solid #222;
  border-radius: 14px;
  box-shadow: var(--shadow);
  z-index: 80;
}

.nav-sub::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 8px;
}

.has-sub:hover .nav-sub,
.has-sub:focus-within .nav-sub,
.has-sub.is-open .nav-sub {
  display: grid;
}

.nav-sub a {
  display: block;
  padding: 8px 16px;
}

.nav-panel {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  height: 100%;
  gap: 28px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
}

.site-header .btn-primary {
  background: #fff;
  color: var(--accent);
}

.site-header .btn-primary:hover {
  background: #fff7f2;
  color: var(--accent-hover);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  border-radius: 10px;
  width: 42px;
  height: 42px;
  padding: 0;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #fff;
  margin: 0 auto;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before { top: -5px; }
.menu-toggle span::after { top: 5px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

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

.btn-primary,
.btn-accent,
.btn-light {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover,
.btn-accent:hover,
.btn-light:hover {
  background: var(--accent-hover);
}

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

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-weight: 600;
}

h1, h2 {
  font-family: var(--serif);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.03em; }

.lede,
.section-copy {
  color: var(--ink-soft);
  max-width: 62ch;
}

.hero {
  padding: 72px 0 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: start;
}

.hero .lede,
.hero-support,
.hero .qualify {
  font-size: 1.15rem;
  margin: 22px 0 0;
  max-width: 62ch;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.promises {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-faint);
  font-size: 0.92rem;
}

.promises li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.promises li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.flow-card,
.card,
.brief {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.flow-card {
  padding: 28px 24px;
}

.flow-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
}

.flow-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 14px;
  text-align: center;
}

.flow-box strong {
  display: block;
  margin-bottom: 4px;
}

.flow-box span,
.flow-mini span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.flow-arrow {
  display: flex;
  justify-content: center;
  color: var(--ink-faint);
  font-size: 1.2rem;
  padding: 10px 0;
}

.flow-standalone {
  max-width: 28rem;
  margin: 28px 0;
  padding: 28px 24px;
}

@media (min-width: 761px) {
  .flow-standalone {
    display: flex;
    align-items: stretch;
    max-width: none;
    padding: 18px 16px;
    gap: 0;
  }

  .flow-standalone .flow-node {
    flex: 1 1 0;
    display: grid;
    place-items: center;
    min-width: 0;
    padding: 14px 12px;
    font-size: 0.86rem;
    line-height: 1.35;
  }

  .flow-standalone .flow-arrow {
    flex: 0 0 22px;
    padding: 0;
    align-items: center;
    font-size: 0;
  }

  .flow-standalone .flow-arrow::before {
    content: "→";
    font-size: 1.15rem;
    line-height: 1;
    color: var(--ink-faint);
  }
}

section {
  padding: 88px 0;
  scroll-margin-top: 88px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-head h2 {
  margin-bottom: 16px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.checklist li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  padding: 14px 16px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.checklist li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.muted {
  color: var(--ink-soft);
}

.outcomes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.card {
  padding: 28px;
}

.card p,
.card li {
  color: var(--ink-soft);
}

.card ul {
  margin: 16px 0 0;
  padding: 0 0 0 18px;
}

.card.wide {
  grid-column: 1 / -1;
}

.brief {
  margin-top: 20px;
  padding: 20px 22px;
}

.brief-title {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 12px;
}

.brief p {
  margin: 0 0 8px;
  color: var(--ink);
}

.steps {
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 18px;
  padding: 22px 24px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  grid-row: 1 / 4;
}

.step h3 {
  margin-bottom: 6px;
}

.step p,
.step li {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.step ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.examples {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.flow-mini {
  padding: 22px 18px 24px;
  overflow: hidden;
}

.flow-mini:has(.flow-head) {
  padding-top: 0;
}

.flow-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 0 -18px 22px;
  padding: 24px 18px 20px;
  background: linear-gradient(180deg, var(--accent-soft) 0%, #fff6f5 68%, #fff 100%);
  border-bottom: 1px solid var(--accent-line);
  text-align: center;
}

.flow-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #fff;
  color: var(--accent);
  border: 1px solid var(--accent-line);
  box-shadow: 0 10px 22px rgba(196, 59, 50, 0.12);
}

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

.flow-mini h3 {
  margin: 0;
  text-align: center;
  font-size: 1.2rem;
}

.flow-mini h3 a {
  color: inherit;
  text-decoration: none;
}

.flow-mini h3 a:hover {
  color: var(--accent);
}

.flow-node {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.4;
}

.flow-node.emphasis {
  background: var(--accent-soft);
  border-color: var(--accent-line);
  font-weight: 600;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-raised);
  font-size: 0.92rem;
}

.tech-note {
  margin-top: 28px;
  padding: 22px 24px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
}

.offer,
.final-cta {
  background: var(--ink);
  color: #fff;
  border-radius: 28px;
  padding: 56px;
}

.offer h2,
.offer h3,
.final-cta h2,
.offer .eyebrow,
.final-cta .eyebrow {
  color: #fff;
}

.offer .eyebrow,
.final-cta .eyebrow {
  opacity: 0.7;
}

.offer p,
.final-cta p,
.offer li {
  color: rgba(255, 255, 255, 0.78);
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.form {
  position: relative;
  display: grid;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 22px;
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 500;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hp-field,
.hp-field input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  opacity: 0;
  pointer-events: none;
}

.form .btn {
  width: 100%;
  white-space: normal;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 10px;
  padding: 12px 12px;
  font: inherit;
  caret-color: #fff;
}

.form input::placeholder,
.form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.form-status {
  min-height: 1.2em;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.form-progress {
  display: none;
}

.form-progress:not([hidden]) {
  display: block;
}

.form-progress-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.form-progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transform-origin: left center;
}

.form.is-sending .form-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.form.is-sending .form-progress-fill {
  animation: form-progress-fill 3.4s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.form.is-sent .form-progress-fill {
  animation: none;
  width: 100%;
  transition: width 0.28s ease-out;
}

@keyframes form-progress-fill {
  0% { width: 0; }
  100% { width: 90%; }
}

.form[hidden],
.form-thanks[hidden] {
  display: none !important;
}

.form-thanks {
  align-content: start;
  min-height: 220px;
}

.form-thanks h3 {
  margin-bottom: 8px;
}

.sent-banner {
  background: var(--accent-soft);
  color: var(--ink);
  padding: 18px 0;
  border-bottom: 1px solid var(--accent-line);
}

.sent-banner p {
  margin: 0;
  max-width: 62ch;
}

.sent-banner[hidden] {
  display: none !important;
}

html.inquiry-sent .sent-banner:not(.error-banner) {
  display: block !important;
}

html.inquiry-sent #review-form {
  display: none !important;
}

html.inquiry-sent #review-thanks {
  display: grid !important;
}

.error-banner {
  background: #f8e8e8;
  border-bottom-color: #e4c0c0;
}

.error-banner a {
  color: inherit;
}

.final-cta {
  text-align: center;
}

.final-cta p {
  margin: 16px auto 28px;
}

.site-footer {
  padding: 56px 0 36px;
  background: #000;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: #fff;
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.045em;
  font-size: 1.35rem;
  text-transform: lowercase;
}

.footer-brand img {
  width: 36px;
  height: 36px;
}

.footer-tagline {
  margin: 0;
  max-width: 28ch;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
}

.footer-links {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.legal-nav a:hover,
.legal-nav a:focus-visible {
  color: #fff;
}

.legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid #1a1a1a;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.88rem;
}

.legal-nav {
  display: flex;
  gap: 16px;
}

.legal-nav a {
  color: inherit;
  text-decoration: none;
}

.page-main {
  padding: 72px 0 96px;
}

.page-main h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.page-main h2 {
  font-size: 1.6rem;
  margin: 36px 0 12px;
}

.page-main p,
.page-main li {
  color: var(--ink-soft);
  max-width: 70ch;
}

.page-main .stack-group li,
.page-main .layer-steps p,
.page-main .tree-node p,
.page-main .tree-node li,
.page-main .stack-used p,
.page-main .plan-grid p,
.page-main .catalog-grid p {
  max-width: none;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: var(--ink-faint);
}

.crumbs a {
  color: var(--accent);
  text-decoration: none;
}

.callout {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  margin: 28px 0;
  max-width: 70ch;
}

.callout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.callout-grid .callout {
  margin: 0;
  max-width: none;
}

@media (max-width: 760px) {
  .callout-grid {
    grid-template-columns: 1fr;
  }
}

.callout strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.city-list,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.city-list li,
.tag-list li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

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

.industry-grid .card {
  text-decoration: none;
  color: inherit;
}

.industry-grid .card h3 {
  margin-bottom: 8px;
}

.industry-grid .card:hover {
  border-color: var(--accent);
}

.industry-grid.featured-first {
  grid-template-columns: 1fr;
  margin-bottom: 8px;
}

.also-label {
  margin: 32px 0 16px;
}

.offer-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

.offer-road {
  margin-top: 28px;
  padding: 28px 28px 32px;
  border-radius: 24px;
  background: linear-gradient(
    115deg,
    color-mix(in srgb, var(--brand-start) 16%, #fff) 0%,
    color-mix(in srgb, var(--brand-mid) 14%, #fff) 48%,
    color-mix(in srgb, var(--brand-end) 18%, #fff) 100%
  );
}

.offer-road-bank .workflow-app {
  color: var(--accent);
  margin: 0 0 6px;
}

.offer-road-lead {
  margin: 0 0 18px;
  max-width: 62ch;
  color: var(--ink-soft);
}

.offer-road-stops {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.offer-road-stops p {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.offer-road-track {
  height: 110px;
  margin: 4px 0 10px;
}

.offer-road-track svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.offer-road-glow {
  fill: none;
  stroke: url(#offer-road-grad);
  stroke-width: 28;
  stroke-linecap: round;
  opacity: 0.28;
}

.offer-road-bed {
  fill: none;
  stroke: url(#offer-road-grad);
  stroke-width: 14;
  stroke-linecap: round;
}

.offer-road-lane {
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 10 14;
  opacity: 0.7;
}

.hero-proof {
  display: grid;
  gap: 12px;
}

.hero-proof.is-artifact {
  padding: 18px;
  border-radius: calc(var(--radius) + 6px);
  background-color: rgba(255, 255, 255, 0.35);
  background-image:
    linear-gradient(rgba(226, 226, 232, 0.7) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 226, 232, 0.7) 1px, transparent 1px);
  background-size: 22px 22px;
}

.hero-proof .eyebrow {
  margin: 0 0 4px;
  justify-self: start;
  width: max-content;
  color: var(--ink);
  background: var(--paper);
  box-shadow: -10px 0 0 var(--paper), 10px 0 0 var(--paper);
}

.hero-proof.is-artifact .eyebrow {
  background: #fff;
  box-shadow: -10px 0 0 #fff, 10px 0 0 #fff;
}

.hero-proof .card {
  text-decoration: none;
  color: inherit;
  padding: 20px 22px;
}

.hero-proof .card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.hero-proof .card p {
  margin: 0;
}

.hero-proof .card:hover {
  border-color: var(--accent);
}

.hero-proof .workflow-app {
  margin: 0 0 6px;
}

.hero-artifact {
  position: relative;
  display: grid;
  gap: 0;
}

.hero-artifact-alert {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px 5px 7px;
  border-radius: 999px;
  background: var(--brand-mid);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1;
  pointer-events: none;
}

.hero-artifact-alert svg {
  display: block;
  width: 12px;
  height: 12px;
  fill: #fff;
}

.hero-artifact-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding-right: 86px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 500;
}

.hero-artifact-chrome .workflow-logo {
  width: 36px;
  height: 36px;
  margin: 0;
}

.hero-artifact-chrome .workflow-logo img {
  width: 20px;
  height: 20px;
}

.hero-artifact .hero-artifact-next {
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--accent-soft);
  border-radius: 10px;
  color: var(--ink);
}

.hero-artifact .hero-artifact-next strong {
  display: block;
  margin-bottom: 3px;
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-more {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}

.hero-more a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  box-shadow: var(--shadow);
}

.hero-more a:hover {
  border-color: var(--accent);
}

.hero-more strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-more em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  color: var(--ink-faint);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-more .use-badge-icon,
.job-row .use-badge-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
}

.hero-more .use-badge-icon svg,
.job-row .use-badge-icon svg {
  width: 22px;
  height: 22px;
}

.job-panel {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.job-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  color: inherit;
  border-bottom: 1px solid var(--line);
}

.job-row:last-child {
  border-bottom: 0;
}

.job-row:hover {
  background: var(--accent-soft);
}

.job-row-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.job-row-text strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.job-row-text em {
  font-style: normal;
  color: var(--ink-faint);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.job-row-text span {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.case-meta {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.case-meta li,
.page-main .case-meta li {
  max-width: none;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.case-meta strong {
  color: var(--ink);
}

.buyer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.buyer-grid .card.is-primary {
  box-shadow: 0 0 0 1px var(--accent);
}

.buyer-grid .card.is-not {
  background: var(--paper);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
  margin-bottom: 8px;
}

.catalog-grid .card {
  margin: 0;
}

.catalog-grid .card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.catalog-grid .card p {
  margin: 0;
}

.use-split {
  margin: 64px 0 8px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.use-split h2 {
  margin-top: 8px;
}

#work .examples,
.examples.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.silo-panel {
  display: grid;
  gap: 16px;
}

.silo-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.silo-tile {
  margin: 0;
  padding: 16px 16px 18px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: none;
}

.silo-tile h3 {
  margin: 10px 0 4px;
  font-size: 1rem;
}

.silo-tile p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.4;
}

.silo-tile .workflow-logo {
  margin: 0;
}

.silo-unify {
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.02em;
  background: linear-gradient(115deg, var(--brand-start), var(--brand-mid) 48%, var(--brand-end));
}

.silo-more {
  margin: 0;
  font-size: 0.92rem;
}

.use-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 20px;
  margin: 36px 0 16px;
  padding: 0;
  list-style: none;
}

.page-main .use-jump a.use-badge,
.use-jump a.use-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 118px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--ink);
  text-decoration: none;
}

.use-badge-icon {
  position: relative;
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--badge) 0%, var(--badge-deep) 100%);
  color: #fff;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 10px 22px color-mix(in srgb, var(--badge-deep) 34%, transparent);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.use-badge-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 46%);
  pointer-events: none;
}

.use-badge-icon svg {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  display: block;
  flex: none;
}

.use-badge-label {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-align: center;
  color: var(--ink-soft);
}

.page-main .use-jump a.use-badge .use-badge-label {
  color: var(--ink-soft);
}

.use-jump a.use-badge:hover .use-badge-icon,
.use-jump a.use-badge:focus-visible .use-badge-icon {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 16px 28px color-mix(in srgb, var(--badge-deep) 42%, transparent);
}

.use-jump a.use-badge:hover .use-badge-label,
.use-jump a.use-badge:focus-visible .use-badge-label {
  color: var(--ink);
}

.use-jump a.use-badge:focus-visible {
  outline: none;
}

.use-jump a.use-badge:focus-visible .use-badge-icon {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.use-jump a.use-badge.is-active .use-badge-icon,
.use-jump a.use-badge[aria-selected="true"] .use-badge-icon {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 0 3px var(--paper),
    0 0 0 5px var(--badge),
    0 14px 24px color-mix(in srgb, var(--badge-deep) 38%, transparent);
}

.use-jump a.use-badge.is-active .use-badge-label,
.use-jump a.use-badge[aria-selected="true"] .use-badge-label {
  color: var(--ink);
}

.page-main .use-jump a.use-badge--signals,
.use-badge--signals { --badge: #e05678; --badge-deep: #c13d5c; }
.page-main .use-jump a.use-badge--plans,
.use-badge--plans { --badge: #4a6a8c; --badge-deep: #334e6c; }
.page-main .use-jump a.use-badge--forecast,
.use-badge--forecast { --badge: #d2504c; --badge-deep: #b03432; }
.page-main .use-jump a.use-badge--committee,
.use-badge--committee { --badge: #5a8f68; --badge-deep: #3f6d4b; }
.page-main .use-jump a.use-badge--outbound,
.use-badge--outbound { --badge: #e4843c; --badge-deep: #c46222; }
.page-main .use-jump a.use-badge--meeting,
.use-badge--meeting { --badge: #5a8ec4; --badge-deep: #3d6ea0; }
.page-main .use-jump a.use-badge--brief,
.use-badge--brief {
  --badge: #e8b44a;
  --badge-deep: #c9921e;
  --badge-ink: #2a2410;
}

.use-badge--brief .use-badge-icon,
.use-badge-icon.use-badge--brief {
  color: var(--badge-ink);
}

.use-case-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.use-case-kicker .eyebrow {
  margin: 0;
}

.use-case-kicker .use-badge-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 11px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 8px 16px color-mix(in srgb, var(--badge-deep, var(--badge)) 26%, transparent);
}

.use-case-kicker .use-badge-icon svg {
  width: 20px;
  height: 20px;
}

.use-card-badge {
  margin: 0 0 12px;
}

.use-card-badge .use-badge-icon,
.use-case-mark .use-badge-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
}

.use-card-badge .use-badge-icon svg,
.use-case-mark .use-badge-icon svg {
  width: 22px;
  height: 22px;
}

.use-case-mark {
  display: inline-flex;
  text-decoration: none;
}

.use-case-mark .use-badge-icon {
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.use-case-mark:hover .use-badge-icon,
.use-case-mark:focus-visible .use-badge-icon {
  transform: translateY(-2px);
}

.page-main p.use-related,
.use-related {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 16px;
  max-width: none;
  margin: 20px 0 0;
  color: var(--ink);
}

.use-related-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-right: 4px;
}

.use-related a.use-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 92px;
  color: var(--ink);
}

.use-related .use-badge-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 11px;
}

.use-related .use-badge-icon svg {
  width: 18px;
  height: 18px;
}

.use-related .use-badge-label {
  font-size: 0.7rem;
  line-height: 1.25;
  color: var(--ink-soft);
}

.use-related a.use-badge:hover .use-badge-label,
.use-related a.use-badge:focus-visible .use-badge-label {
  color: var(--ink);
}

.workflow-logos .use-badge-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
}

.workflow-logos .use-badge-icon svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 760px) {
  .page-main .use-jump a.use-badge,
  .use-jump a.use-badge {
    width: 96px;
  }

  .use-jump .use-badge-icon {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
    border-radius: 16px;
  }

  .use-deck.is-enhanced .use-stage {
    padding: 22px 18px 28px;
  }
}

.use-deck {
  scroll-margin-top: 96px;
}

.use-deck.is-enhanced .use-split {
  display: none;
}

.use-deck.is-enhanced .use-stage {
  margin-top: 8px;
  padding: 28px 32px 36px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  scroll-margin-top: 96px;
}

.use-deck.is-enhanced .use-case {
  margin-top: 0;
  padding-top: 0;
}

.use-deck.is-enhanced .use-case:focus {
  outline: none;
}

.use-case {
  margin-top: 56px;
  padding-top: 8px;
  scroll-margin-top: 96px;
}

#fundraising-signals {
  scroll-margin-top: 96px;
}

.use-case h2 {
  margin-top: 8px;
}

.use-case h3 {
  margin: 28px 0 12px;
}

.stack-used,
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 20px 0 8px;
}

.stack-used.is-quad {
  grid-template-columns: repeat(2, 1fr);
}

.stack-used .card,
.plan-grid .card {
  margin: 0;
}

.stack-used .card h3,
.plan-grid .card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.page-main .stack-used p,
.page-main .plan-grid p,
.page-main .catalog-grid p,
.page-main .use-jump a,
.page-main .use-badge-label {
  max-width: none;
}

.stack-used .workflow-logos {
  min-height: 0;
  margin-bottom: 10px;
}

.page-cta {
  margin-top: 40px;
}

.brief-sample {
  background: var(--ink);
  color: #fff;
  border-radius: 20px;
  padding: 28px 26px;
  margin: 28px 0;
  max-width: 54ch;
}

.brief-sample h2,
.brief-sample h3 {
  color: #fff;
  margin-bottom: 12px;
}

.brief-sample p,
.brief-sample li {
  color: rgba(255, 255, 255, 0.82);
}

.brief-sample strong {
  color: #fff;
}

@media (max-width: 980px) {
  .industry-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .offer-road-stops {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .offer-road-track {
    height: 72px;
    margin: 12px 0;
  }

  .hero-grid,
  .hero-more,
  .split,
  .offer-grid,
  .offer-pair,
  .footer-grid,
  .why-grid,
  .examples,
  .stack-used,
  .plan-grid,
  .buyer-grid,
  #work .examples,
  .examples.cols-3 {
    grid-template-columns: 1fr;
  }

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

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

  .hero {
    padding-top: 48px;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-panel {
    display: none;
  }

  .nav.is-open .nav-panel {
    display: grid;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    height: auto;
    z-index: 60;
    background: linear-gradient(160deg, var(--brand-start), var(--brand-mid));
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 16px;
    gap: 16px;
  }

  .nav.is-open .nav-links {
    display: grid;
    height: auto;
    gap: 14px;
  }

  .nav.is-open .nav-links > li {
    display: block;
  }

  .has-sub:hover .nav-sub {
    display: none;
  }

  .nav.is-open .has-sub.is-open .nav-sub {
    display: grid;
    position: static;
    min-width: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 8px 0 0 12px;
  }

  .nav.is-open .nav-cta,
  .nav.is-open .nav-cta .btn {
    width: 100%;
  }

  .outcomes,
  .examples,
  .catalog-grid,
  .footer-grid,
  .legal {
    grid-template-columns: 1fr;
  }

  .offer,
  .final-cta {
    padding: 32px 22px;
  }

  .hero-actions,
  .legal,
  .form-row {
    display: grid;
    grid-template-columns: 1fr;
  }
}

.qualify {
  margin: 18px 0 0;
  color: var(--ink-soft);
  max-width: 48ch;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat {
  padding: 22px 20px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.stat span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.brief-hero {
  padding: 32px;
}

.brief-hero .brief-title {
  color: var(--accent);
}

.brief-hero h2 {
  margin-bottom: 10px;
}

.brief-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 14px;
}

.metric b {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.metric span {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.mock {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #111118;
  color: #e6e8ef;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #1a1a24;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a8fa3;
}

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.mock-body {
  display: grid;
  gap: 8px;
  padding: 16px;
  font-size: 0.92rem;
}

.mock-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: #16161e;
  border-radius: 8px;
}

.mock-row em {
  font-style: normal;
  color: #b7b3ff;
}

.proof-grid,
.buy-grid,
.faq-list {
  display: grid;
  gap: 14px;
}

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

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

.buy-flow {
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  overflow: visible;
}

.buy-flow .card {
  position: relative;
}

.buy-flow .card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 40px;
  right: -28px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c43b32' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 15px 15px;
  border: 1px solid var(--accent-line);
  box-shadow: 0 8px 18px rgba(26, 26, 34, 0.1);
  pointer-events: none;
}

.founder {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: start;
}

.founder-photo {
  width: 220px;
  height: 260px;
  border-radius: 20px;
  object-fit: cover;
  object-position: center top;
}

.founder-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
}

.founder-list li {
  padding-left: 16px;
  position: relative;
}

.founder-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 0.65em;
}

.faq-list details {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-list details p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.security-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.page-main a:not(.btn):not(.use-badge),
.section-head a:not(.btn),
.founder a:not(.btn),
.faq-list a:not(.btn) {
  color: var(--accent);
}

.page-main a:not(.btn):not(.use-badge):hover,
.section-head a:not(.btn):hover,
.founder a:not(.btn):hover,
.faq-list a:not(.btn):hover {
  color: var(--accent-hover);
}

.page-main .btn-primary,
.page-main .btn-accent,
.page-main .btn-light {
  color: #fff;
}

.app-note {
  margin: 16px 0 0;
  font-size: 0.88rem;
  color: var(--ink-faint);
  max-width: 70ch;
}

.workflow {
  margin: 0;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px 18px 22px;
  box-shadow: var(--shadow);
}

.workflow-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 4px 8px 16px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.tree {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tree-node {
  width: min(100%, 520px);
  padding: 20px 22px 22px;
  background: #f7f7fa;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.tree-node.is-lumify {
  width: min(100%, 640px);
  background: var(--accent-soft);
  border-color: var(--accent-line);
}

.tree-node.is-action {
  background: #111118;
  border-color: #111118;
  color: #fff;
}

.tree-node.is-quiet {
  background: #f3f3f6;
}

.tree-node h3 {
  font-family: var(--sans);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.tree-node p,
.tree-node li {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.tree-node.is-action h3,
.tree-node.is-action p,
.tree-node.is-action li,
.tree-node.is-action .workflow-app {
  color: rgba(255, 255, 255, 0.88);
}

.tree-node.is-action .workflow-app {
  color: #c8b8ff;
}

.tree-quote {
  margin: 10px 0 12px !important;
  font-style: italic;
}

.tree-node ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.tree-node li {
  padding-left: 14px;
  position: relative;
}

.tree-node li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.45;
}

.tree-edge {
  display: block;
  width: 20px;
  height: 56px;
  overflow: visible;
}

.tree-fork {
  position: relative;
  width: min(100%, 860px);
  height: 168px;
}

.tree-fork svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.tree-fork-label {
  position: absolute;
  top: 88px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tree-fork-label.is-high {
  left: 10%;
  color: var(--accent);
}

.tree-fork-label.is-low {
  right: 10%;
  color: var(--ink-faint);
}

.tree-outcomes {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tree-outcomes .tree-node {
  width: auto;
}

.workflow-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 44px;
  align-items: center;
  margin-bottom: 6px;
}

.workflow-logo {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.workflow-logo img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.workflow-logo.lumify {
  background: #000;
  border-color: #000;
}

.workflow-app {
  margin: 4px 0 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.workflow-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 16px 8px 0;
  padding: 0;
  list-style: none;
}

.workflow-legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.workflow-legend .workflow-logo {
  width: 28px;
  height: 28px;
}

.workflow-legend .workflow-logo img {
  width: 16px;
  height: 16px;
}

.stack-groups {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.stack-group {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}

.stack-group h3 {
  margin-bottom: 10px;
}

.stack-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.stack-group li {
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.stack-group li:last-child {
  border-bottom: 0;
}

.layer-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.layer-steps article {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

.layer-steps h3 {
  color: var(--accent);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.correlate {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.correlate-source,
.correlate-out {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
}

.correlate-out {
  grid-column: 1 / -1;
  background: var(--ink);
  color: #fff;
  border-color: #111;
}

.correlate-out h3,
.correlate-out p,
.correlate-out li {
  color: rgba(255, 255, 255, 0.86);
}

.correlate-source b,
.correlate-out b {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.lead-intel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

.lead-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}

.lead-card.high {
  border-color: var(--accent-line);
  background: #faf8ff;
}

.lead-card pre {
  margin: 12px 0 0;
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

@media (max-width: 980px) {
  .tree-fork {
    width: 20px;
    height: 56px;
  }

  .tree-fork svg,
  .tree-fork-label {
    display: none;
  }

  .tree-fork::after {
    content: "";
    display: block;
    width: 0;
    height: 44px;
    margin: 4px auto 0;
    border-left: 1.5px dashed #1a1a22;
  }

  .buy-flow {
    gap: 28px;
  }

  .buy-flow .card:not(:last-child)::after {
    top: auto;
    right: auto;
    left: 50%;
    bottom: -31px;
    transform: translateX(-50%) rotate(90deg);
  }

  .stats,
  .brief-metrics,
  .proof-grid,
  .buy-grid,
  .founder,
  .security-box,
  .industry-grid,
  .tree-outcomes,
  .stack-groups,
  .layer-steps,
  .correlate,
  .lead-intel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .brief-metrics {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
