:root {
  --ink: #121812;
  --ink-soft: #3d4a40;
  --paper: #f6f3ec;
  --paper-2: #ece7dc;
  --forest: #1a3328;
  --forest-2: #244636;
  --moss: #4d6b57;
  --gold: #b0894d;
  --line: #d5cfc2;
  --white: #fffcf7;
  --danger: #7a3a32;
  --win: #2f5d42;
  --shadow: 0 24px 50px rgba(18, 24, 18, 0.08);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --max: min(1520px, calc(100vw - 2.4rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--forest);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 20;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: var(--max);
  max-width: calc(100% - 2.4rem);
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 243, 236, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-dark {
  background: rgba(26, 51, 40, 0.96);
  border-bottom-color: #3e5c4a;
  color: var(--white);
}

.nav-dark .brand {
  color: var(--white);
}

.nav-dark .brand img {
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(230, 213, 168, 0.55);
}

.nav-dark .nav-links > li > a,
.nav-dark .nav-parent {
  color: #d7e3da;
}

.nav-dark .nav-links > li > a:hover,
.nav-dark .nav-links > li > a:focus-visible,
.nav-dark .nav-parent:hover,
.nav-dark .nav-parent:focus-visible {
  color: var(--white);
}

.nav-dark .nav-cta {
  background: var(--white);
  color: var(--forest);
}

.nav-dark .menu-toggle {
  color: var(--white);
  border-color: #3e5c4a;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.02em;
}

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

.brand span {
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-parent:hover,
.nav-parent:focus-visible {
  color: var(--ink);
}

.has-sub {
  position: relative;
}

.nav-parent {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--ink-soft);
  font-size: 0.92rem;
  cursor: pointer;
}

.sub-nav {
  display: none;
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  min-width: 13.5rem;
  margin: 0;
  padding: 0.45rem 0;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 12;
}

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

.sub-nav a {
  display: block;
  padding: 0.45rem 0.9rem;
  white-space: nowrap;
}

.motto {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.4;
  color: var(--forest);
  font-weight: 650;
  max-width: 42rem;
  margin: 0 0 1.1rem;
}

.contact-list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
}

.contact-list li {
  margin: 0 0 0.85rem;
}

.contact-list a {
  display: block;
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}

.contact-form .hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-status {
  margin: 0;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  background: #e7f0ea;
}

.form-status.is-error {
  background: #f6e6e4;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.btn-primary,
.nav-cta {
  background: var(--forest);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
}

#contact {
  padding: 3.5rem 0 4rem;
}

#contact h2 {
  margin-top: 0;
}

.hero .wrap,
#adi .wrap,
#memory .wrap {
  width: calc(100% - 2.4rem);
  max-width: none;
}

.hero h1,
.hero .lede,
.hero .support,
.hero .motto,
.hero .loop-rect,
#adi .lede,
#memory h2,
#memory .lede {
  max-width: none !important;
  width: 100%;
}

.eyebrow {
  display: inline-block;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--moss);
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  letter-spacing: -0.03em;
  line-height: 1.18;
  font-weight: 600;
}

.word-fail {
  color: #c62828;
}

.word-win {
  color: #1b7a43;
}

h1 {
  font-size: clamp(2.25rem, 4.2vw, 3.85rem);
  max-width: none;
  width: 100%;
  margin: 0 0 1.3rem;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
}

.loop-rect {
  margin: 1.8rem 0 1.4rem;
  padding: 1.35rem 1.2rem 1.1rem;
  border: 2px solid var(--forest);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.loop-cycle {
  display: grid;
  grid-template-columns: 4.4rem 1fr 4.4rem;
  gap: 0.45rem;
  align-items: stretch;
}

.loop-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: var(--forest);
  text-align: center;
}

.loop-rail .rail-arrow {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
}

.loop-rail .rail-label {
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--moss);
}

.adi-loop {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem 1.15rem;
  min-width: 0;
}

.adi-loop li {
  position: relative;
  margin: 0;
  text-align: center;
  padding: 0.72rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.25;
}

.adi-loop li:nth-child(5) {
  grid-column: 4;
  grid-row: 2;
}

.adi-loop li:nth-child(6) {
  grid-column: 3;
  grid-row: 2;
}

.adi-loop li:nth-child(7) {
  grid-column: 2;
  grid-row: 2;
}

.adi-loop li:nth-child(8) {
  grid-column: 1;
  grid-row: 2;
}

.adi-loop li.accent {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}

.adi-loop li:nth-child(-n+3)::after,
.adi-loop li:nth-child(n+5):nth-child(-n+7)::before {
  position: absolute;
  top: 50%;
  color: var(--moss);
  font-style: normal;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1;
  transform: translateY(-50%);
}

.adi-loop li:nth-child(-n+3)::after {
  content: "→";
  right: -0.95rem;
}

.adi-loop li:nth-child(n+5):nth-child(-n+7)::before {
  content: "←";
  left: -0.95rem;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-top: 1.4rem;
}

.product-grid-single {
  grid-template-columns: 1fr;
  max-width: 28rem;
}

.product-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.adi-pipeline {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.adi-pipeline article {
  flex: 1 1 9.5rem;
  padding: 1rem 1.05rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.adi-pipeline article.outcome {
  border-color: var(--forest);
  background: #eaf5ee;
}

.adi-pipeline .pipe-arrow {
  flex: 0 0 auto;
  align-self: center;
  color: var(--moss);
  font-weight: 800;
}

.source-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  align-content: flex-start;
}

.source-chips li {
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.25;
}

/* Chips on dark `.band` sections (BYOK providers, call pitch tags) */
.source-chips.light,
.band .source-chips {
  margin: 0;
  align-self: center;
}

.source-chips.light li,
.band .source-chips li {
  background: rgba(255, 252, 247, 0.14);
  border: 1px solid rgba(215, 227, 218, 0.65);
  color: #f6f3ec;
  box-shadow: none;
}

.band .split .source-chips {
  margin-top: 0.25rem;
}

.vision-motto {
  padding: 1.35rem 1.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.vision-motto .motto {
  margin-bottom: 0.75rem;
}

.about-glance .eyebrow {
  margin-bottom: 0.4rem;
}

.glance {
  display: grid;
  margin: 0;
}

.glance div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}

.glance div:first-child {
  border-top: 0;
}

.glance dt {
  font-weight: 650;
  color: var(--forest);
}

.glance dd {
  margin: 0;
  color: var(--ink);
}

.glance a {
  color: inherit;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

.powered-by {
  margin: 1.1rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.powered-by a {
  color: var(--forest);
  font-weight: 650;
}

.feature-cats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.feature-cats article {
  padding: 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.feature-cats ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.feature-cats li {
  margin: 0.25rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.4rem;
  align-items: stretch;
}

.pricing-card {
  margin-top: 0;
  max-width: none;
  padding: 1.6rem 1.5rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.pricing-card-featured {
  border: 2px solid var(--forest);
}

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

.price-tag {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--moss);
}

.price-amount {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--forest);
  line-height: 1.1;
}

.price-amount span {
  font-size: 1rem;
  font-family: var(--sans);
  font-weight: 600;
  color: var(--ink-soft);
}

.price-compare {
  margin: 0.55rem 0 1rem;
  color: var(--ink-soft);
}

.price-includes {
  margin: 0 0 1.2rem;
  padding-left: 1.15rem;
  color: var(--ink-soft);
}

.price-note {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.footer-brand {
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: var(--ink);
}

.footer-heading {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--moss);
}

.footer-tag {
  margin-top: 0.55rem;
  font-weight: 650;
  color: var(--forest);
}

.article-main {
  padding-bottom: 2rem;
}

.article {
  padding: 2.4rem 0 3rem;
  max-width: 48rem;
}

.article .lede {
  font-size: 1.15rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin: 0 0 1.2rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.breadcrumb a {
  color: var(--forest);
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  text-decoration: underline;
}

.article-points {
  margin: 1.2rem 0 1.4rem;
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.article-points li {
  margin: 0.4rem 0;
}

.resource-list {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.resource-list li {
  padding: 1.1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.resource-list a {
  color: var(--forest);
  text-decoration: none;
  font-size: 1.05rem;
}

.resource-list a:hover,
.resource-list a:focus-visible {
  text-decoration: underline;
}

.resource-list p {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.legal-note {
  margin-top: 1.2rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.product-card {
  padding: 1.25rem 1.2rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.product-card.live {
  border-color: var(--forest);
}

.product-card .product-host {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--moss);
}

.product-card p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.product-card .btn {
  margin-top: 0.2rem;
}

.btn-soon {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px dashed var(--line);
  color: var(--ink-soft);
  font-weight: 650;
  font-size: 0.92rem;
  cursor: default;
}

.cta-title {
  max-width: none;
  white-space: nowrap;
  margin-left: auto;
  margin-right: auto;
}

.split.pair {
  align-items: stretch;
}

.pair-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.05rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.pair-card h2 {
  min-height: 0;
  margin-bottom: 0.4rem;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.pair-card p {
  margin: 0.35rem 0;
}

.pair-card .steps {
  margin: 0.25rem 0 0;
}

.panel,
.mock {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.loop {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  padding: 0;
  margin: 0;
}

.loop li {
  list-style: none;
  margin: 0;
  padding: 0.7rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font-size: 0.78rem;
  font-weight: 650;
  text-align: center;
}

.loop li.accent {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}

.loop-note {
  margin: 0.9rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1.1rem;
  text-align: left;
}

.help-grid article {
  padding: 1rem 1.05rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.help-grid h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.help-grid p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.stats article {
  padding: 1.15rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.stats .stat {
  margin: 0 0 0.45rem;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--forest);
  line-height: 1.15;
}

.stats h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.stats p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

section {
  padding: 3.2rem 0;
}

section.hero {
  padding-bottom: 1.2rem;
}

.hero .support {
  margin-bottom: 0;
}

section#adi {
  padding-top: 1.6rem;
}

#loop {
  padding: 2.2rem 0 1.6rem;
}

#outcomes {
  padding-top: 1.6rem;
}

#how-it-works {
  padding: 2.2rem 0;
}

.band {
  background: var(--forest);
  color: var(--white);
}

.band .lede,
.band .support,
.band p {
  color: #d7e3da;
}

.band .eyebrow {
  color: #e6d5a8;
}

.band h2 {
  color: var(--white);
}

.band .stack div {
  background: #102018;
  color: #f6f3ec;
  border: 1px solid #3e5c4a;
  border-left: 3px solid var(--gold);
  font-weight: 650;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.compare {
  display: grid;
  gap: 0.8rem;
}

.compare article {
  padding: 1.2rem 1.3rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--white);
}

.compare .old {
  opacity: 0.92;
}

.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0.8rem 0 0;
  font-size: 0.92rem;
}

.flow span {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: var(--paper-2);
}

.flow .arrow {
  background: transparent;
  color: var(--moss);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.cards article,
.list-card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

/* Dark band sections: keep card panels readable (white card + dark ink) */
.band .cards article {
  background: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.band .cards article h3 {
  color: var(--forest);
}

.band .cards article p {
  color: #3d5246;
}

.stack {
  display: grid;
  gap: 0.55rem;
  margin: 1.2rem 0 0;
}

.stack div {
  padding: 0.7rem 0.9rem;
  border-left: 3px solid var(--gold);
  background: var(--white);
}

.org-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.55rem;
  width: 100%;
  max-width: none;
  margin: 1rem 0 0.85rem;
}

.org-flow span {
  flex: 1 1 12rem;
  padding: 0.85rem 0.95rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.35;
}

.org-flow i {
  flex: 0 0 auto;
  align-self: center;
  color: var(--forest);
  font-style: normal;
  font-weight: 800;
  font-size: 1.25rem;
}

.org-loop {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.7rem;
  padding: 0;
}

.org-loop li {
  list-style: none;
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.org-loop li.is-active {
  transform: scale(1.035);
  background: #eaf5ee;
  border-color: var(--forest);
  box-shadow: 0 14px 32px rgba(26, 51, 40, 0.14);
  font-weight: 650;
}

.mock {
  padding: 1rem;
}

.mock-bar {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-bottom: 0.8rem;
}

.bubble {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  margin-bottom: 0.7rem;
  max-width: 92%;
}

.bubble.user {
  margin-left: auto;
  background: var(--forest);
  color: var(--white);
}

.bubble.adi {
  background: var(--paper-2);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chips span {
  font-size: 0.78rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.path {
  padding: 1.2rem;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
}

.path.loss {
  background: #f8f1e8;
  border: 1px solid #c47a32;
  border-left: 8px solid #c47a32;
}

.path.loss h3 {
  color: #8a4b12;
}

.path.win {
  background: #e9f4ee;
  border: 1px solid #2f7a4f;
  border-left: 8px solid #2f7a4f;
}

.path.win h3 {
  color: #1b5c38;
}

.steps ol {
  padding-left: 1.1rem;
}

.steps {
  padding-left: 1.15rem;
}

.contrast-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.contrast-grid article {
  padding: 1rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--line);
}

.contrast-grid .tone-red {
  background: #fdecea;
  border-color: #d92d20;
  color: #7a1c16;
}

.contrast-grid .tone-amber {
  background: #fff4d6;
  border-color: #d97706;
  color: #7a4500;
}

.contrast-grid .tone-green {
  background: #e7f6ed;
  border-color: #1b7a43;
  color: #14532d;
}

.cta {
  text-align: center;
  padding: 4.6rem 0 5rem;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.6rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer a {
  color: var(--forest);
}

.visitor-count {
  width: 100%;
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.footnote {
  margin: 0.85rem auto 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

@media (max-width: 1100px) {
  .loop-cycle {
    grid-template-columns: 1fr;
  }

  .product-grid-four,
  .product-grid-five {
    grid-template-columns: 1fr 1fr;
  }

  .loop-rail {
    display: none;
  }

  .adi-loop {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.55rem 1.3rem;
  }

  .adi-loop li:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .adi-loop li:nth-child(-n+3)::after,
  .adi-loop li:nth-child(n+5):nth-child(-n+7)::before {
    display: none;
  }

  .adi-loop li:not(:last-child)::after {
    content: "→";
    display: block;
    position: absolute;
    top: 50%;
    right: -1.05rem;
    transform: translateY(-50%);
    color: var(--moss);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
  }
}

@media (max-width: 900px) {
  .split,
  .cards,
  .paths,
  .contrast-grid,
  .help-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .pair-card h2 {
    min-height: 0;
  }

  .cta-title {
    white-space: normal;
    font-size: clamp(1.35rem, 6vw, 2.35rem);
  }

  .product-grid,
  .product-grid-four,
  .product-grid-five,
  .feature-cats,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .adi-pipeline .pipe-arrow {
    display: none;
  }

  .org-flow {
    flex-direction: column;
  }

  .org-flow i {
    transform: rotate(90deg);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    top: 4.2rem;
    background: var(--paper);
    padding: 1rem 1.2rem 1.2rem;
    border-bottom: 1px solid var(--line);
  }

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

  .has-sub.open .sub-nav {
    display: block;
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0.2rem 0 0.4rem 0.6rem;
    min-width: 0;
  }

  .nav.open .nav-cta {
    display: inline-flex;
    margin: 0.4rem 1.2rem 1rem auto;
  }

  .nav-dark.open .nav-links {
    background: var(--forest);
    border-bottom-color: #3e5c4a;
  }

  .nav-dark .has-sub.open .sub-nav {
    background: transparent;
  }

  .nav-dark .has-sub.open .sub-nav a {
    color: #d7e3da;
  }
}

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

  .org-loop li,
  .org-loop li.is-active {
    transition: none;
    transform: none;
  }
}

/* CRM product tour (click to expand) */
#product-tour {
  padding: 3.5rem 0 4rem;
}

.product-tour-toggles {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.25rem;
  max-width: 52rem;
}

.product-tour-disclose {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0.85rem 1rem 1rem;
}

.product-tour-disclose summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--forest);
  list-style: none;
}

.product-tour-disclose summary::-webkit-details-marker {
  display: none;
}

.product-tour-disclose summary::after {
  content: " ▾";
  font-weight: 400;
  color: var(--moss);
}

.product-tour-disclose[open] summary::after {
  content: " ▴";
}

.product-tour-note {
  margin: 0.65rem 0 0.9rem;
  color: var(--ink-muted, #4a5c50);
  font-size: 0.95rem;
}

.product-tour-stills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 0.95rem;
}

.product-tour-stills figure {
  margin: 0;
}

.product-tour-stills img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: var(--paper);
}

.product-tour-stills figcaption {
  margin-top: 0.45rem;
  font-size: 0.85rem;
  color: var(--moss);
  font-weight: 600;
}

.product-tour-player {
  margin: 0;
  border: 1px solid var(--line);
  background: #0f1a12;
  overflow: hidden;
}

.product-tour-player video {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(70vh, 720px);
  background: #0f1a12;
}

@media (max-width: 900px) {
  .product-tour-stills {
    grid-template-columns: 1fr;
  }
}

