:root {
  --ink: #101114;
  --muted: #5d6169;
  --line: #dedfdf;
  --paper: #ffffff;
  --soft: #f4f4f1;
  --coal: #14161a;
  --coal-2: #1c2026;
  --teal: #129f7f;
  --teal-dark: #0d725d;
  --coral: #e45f45;
  --amber: #d99a21;
  --blue: #477bd3;
  --lime: #8bbf3d;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(16, 17, 20, 0.16);
  --mouse-x: 50vw;
  --mouse-y: 50vh;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    circle 520px at var(--mouse-x) var(--mouse-y),
    rgba(102, 224, 194, 0.095),
    rgba(18, 159, 127, 0.035) 22%,
    transparent 48%
  );
  mix-blend-mode: screen;
  transition: opacity 220ms ease;
}

@media (hover: hover) and (pointer: fine) {
  body.has-cursor-spotlight::before {
    opacity: 1;
  }
}

@media (hover: none), (pointer: coarse), (max-width: 760px) {
  body::before {
    display: none;
  }
}

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 30;
  transform: translateY(-140%);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(222, 223, 223, 0.72);
  backdrop-filter: blur(18px);
}

.nav-wrap,
.section-inner {
  position: relative;
  z-index: 3;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.nav-wrap {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  background: var(--coal);
  color: #ffffff;
  font-size: 0.8rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 7px;
  color: var(--muted);
  font-weight: 650;
  font-size: 0.92rem;
}

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

.hero {
  position: relative;
  min-height: calc(100svh - 82px);
  max-height: 850px;
  isolation: isolate;
  background: var(--coal);
  color: #ffffff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 28%, rgba(18, 159, 127, 0.18), transparent 31%),
    radial-gradient(circle at 92% 76%, rgba(228, 95, 69, 0.08), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), transparent 48%);
  opacity: 1;
  z-index: 0;
}

.hero-inner {
  position: relative;
  min-height: inherit;
  display: flex;
  align-items: center;
  padding: 86px 0 96px;
  z-index: 4;
}

.hero-copy {
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #66e0c2;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: 4.7rem;
}

h1 span {
  display: block;
  color: #d6ddd9;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 1.4rem;
}

h4 {
  font-size: 1rem;
}

.hero-subhead {
  max-width: 650px;
  margin: 26px 0 0;
  color: #d7dbdf;
  font-size: 1.16rem;
}

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

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

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

.btn-primary {
  background: #ffffff;
  color: var(--ink);
  border-color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
}

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

.hero-bullets li {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  padding: 8px 10px;
  color: #eef1f0;
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.98;
  pointer-events: none;
}

.scene-node,
.scene-mail {
  position: absolute;
  right: 4%;
  width: 292px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.115),
    rgba(255, 255, 255, 0.052)
  );
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.32),
    0 0 42px rgba(18, 159, 127, 0.075);
  backdrop-filter: blur(18px) saturate(1.08);
}

.scene-node {
  padding: 16px;
}

.scene-mail {
  padding: 18px;
  animation: float-card 7s ease-in-out infinite;
}

.scene-node span,
.scene-mail span {
  display: block;
  color: #aeb7ba;
  font-size: 0.74rem;
  text-transform: uppercase;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.scene-node strong,
.scene-mail strong {
  display: block;
  margin-top: 8px;
  color: #ffffff;
  font-size: 1rem;
}

.scene-mail p {
  margin: 8px 0 0;
  color: #cbd1d4;
  font-size: 0.84rem;
}

.node-cart {
  top: 12%;
  right: 16%;
}

.mail-one {
  top: 28%;
  right: 4%;
  border-left: 4px solid var(--teal);
}

.mail-two {
  top: 48%;
  right: 20%;
  animation-delay: -1.8s;
  border-left: 4px solid var(--amber);
}

.mail-three {
  top: 68%;
  right: 8%;
  animation-delay: -3.4s;
  border-left: 4px solid var(--coral);
}

.node-revenue {
  top: 78%;
  right: 28%;
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.section {
  padding: 96px 0;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: start;
}

.pain-section {
  background: var(--paper);
}

.pain-copy p,
.section-heading p,
.audit-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.pain-copy > p {
  font-size: 1.14rem;
}

.leak-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.leak-grid span {
  min-height: 50px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: var(--soft);
  color: #25282d;
  font-weight: 750;
}

.demo-section {
  background:
    linear-gradient(180deg, #f4f4f1 0%, #eceee8 100%);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 36px;
}

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

.section-heading.compact {
  max-width: 680px;
}

.fix-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.fix-grid article {
  min-height: 148px;
  border: 1px solid #d7d9d3;
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 30px rgba(16, 17, 20, 0.06);
}

.fix-grid span,
.metric-card span,
.version-grid span,
.money-note span,
.system-compare span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fix-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.03rem;
  line-height: 1.15;
}

.fix-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.demo-shell {
  border: 1px solid #c7cac3;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(16, 17, 20, 0.18);
  overflow: hidden;
}

.flow-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: #fbfbfa;
}

.flow-tab {
  min-height: 58px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  padding: 14px 10px;
  font-weight: 850;
  cursor: pointer;
}

.flow-tab:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid rgba(18, 159, 127, 0.34);
  outline-offset: -3px;
}

.flow-tab:last-child {
  border-right: 0;
}

.flow-tab:hover,
.flow-tab:focus-visible {
  background: var(--soft);
  color: var(--ink);
}

.flow-tab.is-active {
  color: var(--ink);
  background: #ffffff;
  box-shadow: inset 0 -3px 0 var(--teal);
}

.demo-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
}

.demo-copy,
.demo-visual {
  padding: 34px;
}

.demo-copy {
  border-right: 1px solid var(--line);
  background: #ffffff;
}

.demo-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(18, 159, 127, 0.12);
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.demo-copy h3 {
  margin-top: 14px;
  font-size: 2rem;
}

.flow-trigger {
  margin: 14px 0 0;
  color: var(--muted);
}

.flow-trigger strong {
  color: var(--ink);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.metric-card {
  border: 1px solid #d7d9d3;
  border-radius: var(--radius);
  padding: 14px;
  background: #f6f7f3;
}

.metric-card strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.22;
}

.leak-box,
.segmentation-box,
.money-note {
  margin-top: 14px;
  border: 1px solid #d7d9d3;
  border-radius: var(--radius);
  padding: 16px;
  background: #fbfbfa;
}

.leak-box {
  border-left: 4px solid var(--coral);
}

.leak-box p,
.segmentation-box p,
.money-note p {
  margin: 8px 0 0;
  color: var(--muted);
}

.version-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.version-grid div {
  border: 1px solid #d7d9d3;
  border-radius: var(--radius);
  padding: 16px;
  background: #ffffff;
}

.version-grid div:first-child {
  border-top: 4px solid var(--coral);
}

.version-grid div:last-child {
  border-top: 4px solid var(--teal);
}

.version-grid div:first-child span {
  color: var(--coral);
}

.version-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.segmentation-box ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 12px 0 0;
  list-style: none;
}

.segmentation-box li {
  position: relative;
  padding-left: 18px;
  color: #2f3338;
  font-size: 0.95rem;
}

.segmentation-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.sequence-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.sequence-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: #fbfbfa;
}

.sequence-time {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sequence-item h4 {
  margin-bottom: 4px;
}

.sequence-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.why-box {
  margin-top: 18px;
  border-left: 4px solid var(--coal);
  padding: 16px 0 16px 16px;
}

.why-box p {
  margin: 8px 0 0;
  color: var(--muted);
}

.money-note {
  background: #14161a;
  border-color: #14161a;
}

.money-note span {
  color: #66e0c2;
}

.money-note p {
  color: #d3d8d8;
}

.demo-visual {
  background: #f3f5ef;
}

.visual-topline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.timeline-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.timeline-heading h4 {
  font-size: 1.2rem;
}

.timeline-heading p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: right;
}

.timeline {
  position: relative;
  display: grid;
  gap: 14px;
}

.email-card {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  min-height: 0;
  border: 1px solid #d6d7d4;
  border-radius: var(--radius);
  padding: 16px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(16, 17, 20, 0.08);
  animation: card-in 280ms ease both;
}

.email-card:nth-child(2) {
  animation-delay: 50ms;
}

.email-card:nth-child(3) {
  animation-delay: 100ms;
}

.email-card:nth-child(4) {
  animation-delay: 150ms;
}

.email-number {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--coal);
  color: #ffffff;
  font-weight: 850;
}

.email-card h4 {
  margin: 10px 0 6px;
  font-size: 1.13rem;
}

.email-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.email-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
}

.email-meta span {
  border-radius: 999px;
  padding: 4px 8px;
  color: #394047;
  background: var(--soft);
  font-size: 0.76rem;
  font-weight: 750;
}

.email-preview {
  font-weight: 700;
}

.email-snippet {
  margin-top: 10px !important;
  color: #333940 !important;
}

.email-footer {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.email-cta {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--coal);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 850;
}

.email-footer p {
  font-size: 0.9rem;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.before-after div {
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.before-after div:first-child {
  border-top: 4px solid var(--coral);
}

.before-after div:last-child {
  border-top: 4px solid var(--teal);
}

.before-after span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.before-after p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.system-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.system-compare div {
  border: 1px solid #cfd2ca;
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.system-compare div:first-child {
  border-top: 4px solid var(--coral);
}

.system-compare div:first-child span {
  color: var(--coral);
}

.system-compare div:last-child {
  border-top: 4px solid var(--teal);
}

.system-compare ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  padding: 0;
  margin: 10px 0 0;
  list-style: none;
}

.system-compare li {
  position: relative;
  padding-left: 18px;
  color: #2f3338;
  font-weight: 700;
}

.system-compare li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.system-compare div:first-child li::before {
  background: var(--coral);
}

.live-demo-section {
  background: #101114;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.live-demo-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(18, 159, 127, 0.18), transparent 30%),
    radial-gradient(circle at 86% 74%, rgba(71, 123, 211, 0.12), transparent 28%);
  pointer-events: none;
}

.live-demo-section .section-heading p {
  color: #cdd3d2;
}

.live-demo-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.live-control-panel,
.live-output-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(15, 18, 22, 0.82);
}

.live-control-panel {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 20px;
}

.live-panel-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 16px;
}

.live-panel-top span,
.live-output-top span,
.live-score-row span,
.live-map span,
.live-email-mini span,
.live-logic-card span {
  display: block;
  margin-bottom: 7px;
  color: #66e0c2;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-panel-top strong {
  display: block;
  color: #ffffff;
  font-size: 1.28rem;
  line-height: 1.08;
}

.live-control-group {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.live-control-group legend {
  padding: 0;
  color: #d7dddc;
  font-size: 0.86rem;
  font-weight: 850;
}

.live-segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.live-chip {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  padding: 9px 8px;
  background: rgba(255, 255, 255, 0.055);
  color: #dbe1df;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.live-chip:hover,
.live-chip:focus-visible {
  color: #ffffff;
  border-color: rgba(102, 224, 194, 0.45);
}

.live-chip:focus-visible {
  outline: 3px solid rgba(102, 224, 194, 0.22);
  outline-offset: 2px;
}

.live-chip.is-active {
  color: #0d1816;
  background: #66e0c2;
  border-color: #66e0c2;
  transform: translateY(-1px);
}

.live-range {
  display: grid;
  gap: 10px;
}

.live-range span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #d7dddc;
  font-size: 0.86rem;
  font-weight: 850;
}

.live-range strong {
  color: #ffffff;
  font-size: 1rem;
}

.live-range input {
  width: 100%;
  accent-color: var(--teal);
}

.live-output-panel {
  display: grid;
  gap: 16px;
  padding: 20px;
  overflow: hidden;
}

.live-output-top {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 1.05fr);
  gap: 20px;
  align-items: end;
}

.live-output-top h3 {
  font-size: 2rem;
}

.live-output-top p {
  margin: 0;
  color: #cdd3d2;
  font-size: 1rem;
}

.live-score-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.live-score-row article,
.live-map article,
.live-email-mini,
.live-logic-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.065);
}

.live-score-row article {
  min-height: 116px;
  padding: 15px;
}

.live-score-row strong,
.live-map strong {
  display: block;
  color: #ffffff;
  line-height: 1.16;
}

.live-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.live-map article {
  min-height: 178px;
  padding: 16px;
}

.live-map p,
.live-email-mini p,
.live-logic-card p {
  margin: 10px 0 0;
  color: #c7cecc;
  font-size: 0.92rem;
}

.live-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
  gap: 10px;
}

.live-email-stack {
  display: grid;
  gap: 10px;
}

.live-email-mini {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  padding: 15px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  animation: card-in 260ms ease both;
}

.live-email-mini:nth-child(2) {
  animation-delay: 45ms;
}

.live-email-mini:nth-child(3) {
  animation-delay: 90ms;
}

.live-email-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(102, 224, 194, 0.16);
  color: #66e0c2;
  font-weight: 900;
}

.live-email-mini h4 {
  margin: 0;
  color: #ffffff;
  font-size: 1.02rem;
  line-height: 1.15;
}

.live-email-mini .live-email-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.live-email-meta b,
.live-email-meta em {
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 0.74rem;
  font-style: normal;
}

.live-email-meta b {
  color: #101114;
  background: #ffffff;
}

.live-email-meta em {
  color: #dbe1df;
  background: rgba(255, 255, 255, 0.1);
}

.live-logic-card {
  display: grid;
  align-content: start;
  padding: 18px;
}

.live-logic-card pre {
  margin: 0;
  border-radius: var(--radius);
  padding: 16px;
  overflow-x: auto;
  background: rgba(0, 0, 0, 0.32);
  color: #e6fbf4;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.88rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.included-section {
  background: var(--paper);
}

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

.included-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #ffffff;
}

.included-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 850;
}

.included-grid h3 {
  margin-bottom: 9px;
}

.included-grid p {
  margin: 0;
  color: var(--muted);
}

.pricing-section {
  background: #f7f7f5;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #ffffff;
}

.price-card.best-fit {
  border-color: var(--coal);
  box-shadow: var(--shadow);
}

.best-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--coal);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 850;
}

.tier-label {
  margin: 0 0 8px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price {
  margin: 14px 0 0;
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: 0;
}

.price-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 20px;
  color: #2f3338;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.fit-note {
  margin: 22px 0 20px;
  color: var(--muted);
}

.price-card .btn {
  margin-top: auto;
}

.btn-card {
  color: var(--ink);
  background: var(--soft);
  border-color: var(--line);
}

.btn-card.dark {
  color: #ffffff;
  background: var(--coal);
  border-color: var(--coal);
}

.process-section {
  background: var(--paper);
}

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

.process-list li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--soft);
}

.process-list span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--coal);
  color: #ffffff;
  font-weight: 900;
}

.process-list h3 {
  margin-bottom: 4px;
}

.process-list p {
  margin: 0;
  color: var(--muted);
}

.audit-section {
  padding: 92px 0;
  background: var(--coal);
  color: #ffffff;
}

.audit-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 54px;
  align-items: center;
}

.audit-inner h2 {
  max-width: 760px;
}

.audit-inner p {
  max-width: 650px;
  margin-top: 18px;
  color: #d3d8d8;
}

.audit-actions {
  display: grid;
  gap: 12px;
}

.audit-actions .btn {
  width: 100%;
}

.audit-actions .btn-secondary {
  background: transparent;
}

.audit-brief {
  width: 100%;
  min-height: 142px;
  resize: vertical;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  outline: none;
}

.audit-brief:focus {
  border-color: rgba(102, 224, 194, 0.78);
}

.audit-actions .microcopy {
  margin: 8px 0 0;
  color: #b9c0c2;
  font-size: 0.9rem;
}

.site-footer {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 24px;
  align-items: start;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner p:first-child {
  color: var(--ink);
  font-weight: 850;
}

.footer-disclaimer {
  grid-column: 1 / -1;
  color: #8a8f94 !important;
  font-size: 0.78rem !important;
}

@media (max-width: 1060px) {
  h1 {
    font-size: 3.7rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .hero {
    max-height: none;
  }

  .hero-copy {
    width: min(640px, 100%);
  }

  .hero-scene {
    opacity: 0.42;
  }

  .node-cart {
    right: 5%;
  }

  .mail-two,
  .node-revenue {
    right: 10%;
  }

  .split-layout,
  .demo-panel,
  .live-demo-shell,
  .audit-inner {
    grid-template-columns: 1fr;
  }

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

  .demo-copy {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .included-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .live-output-top,
  .live-preview-grid {
    grid-template-columns: 1fr;
  }

  .live-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav-wrap,
  .section-inner {
    width: min(100% - 28px, 1160px);
  }

  .nav-wrap {
    min-height: 62px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: 0;
    padding: 68px 0 58px;
  }

  .hero-scene {
    position: relative;
    height: 315px;
    margin: 0 14px;
    opacity: 1;
    z-index: 0;
  }

  .hero-inner {
    display: block;
  }

  .node-revenue {
    display: none;
  }

  .scene-node,
  .scene-mail {
    width: min(300px, calc(100vw - 40px));
    right: auto;
  }

  .node-cart {
    top: 24px;
    left: 0;
  }

  .mail-one {
    top: 90px;
    left: 34px;
  }

  .mail-two {
    top: 168px;
    left: 2px;
  }

  .mail-three {
    top: 246px;
    left: 28px;
  }

  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-subhead,
  .pain-copy > p {
    font-size: 1.02rem;
  }

  .section {
    padding: 68px 0;
  }

  .split-layout {
    gap: 30px;
  }

  .leak-grid,
  .fix-grid,
  .live-score-row,
  .live-map,
  .included-grid,
  .pricing-grid,
  .before-after,
  .system-compare,
  .system-compare ul {
    grid-template-columns: 1fr;
  }

  .fix-grid article {
    min-height: 0;
  }

  .live-demo-shell,
  .live-control-panel,
  .live-output-panel {
    padding: 14px;
  }

  .live-segmented {
    grid-template-columns: 1fr;
  }

  .live-output-top h3 {
    font-size: 1.55rem;
  }

  .live-score-row article,
  .live-map article {
    min-height: 0;
  }

  .metric-row,
  .version-grid {
    grid-template-columns: 1fr;
  }

  .timeline-heading {
    display: block;
  }

  .timeline-heading p {
    max-width: none;
    margin-top: 8px;
    text-align: left;
  }

  .flow-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .flow-tab:nth-child(2) {
    border-right: 0;
  }

  .flow-tab:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .demo-copy,
  .demo-visual {
    padding: 22px;
  }

  .demo-copy h3 {
    font-size: 1.65rem;
  }

  .sequence-item {
    grid-template-columns: 1fr;
  }

  .email-card {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 14px;
  }

  .email-number {
    width: 34px;
    height: 34px;
  }

  .audit-section {
    padding: 68px 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .hero-bullets li {
    width: 100%;
  }

  .flow-tabs {
    grid-template-columns: 1fr;
  }

  .flow-tab {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .flow-tab:last-child {
    border-bottom: 0;
  }

  .process-list li {
    grid-template-columns: 1fr;
  }

  .live-email-mini {
    grid-template-columns: 1fr;
  }

  .live-email-number {
    width: 34px;
    height: 34px;
  }
}

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

  body::before {
    display: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
