:root {
  --bg: #071820;
  --bg-deep: #041117;
  --panel: #0c222c;
  --panel-2: #102b36;
  --soft: #eef7f4;
  --white: #ffffff;
  --text: #e8f2f1;
  --muted: #a8bdc0;
  --ink: #13272e;
  --ink-muted: #536b70;
  --accent: #35d1a2;
  --accent-2: #78e7c2;
  --accent-dark: #0c765d;
  --line: rgba(255,255,255,.12);
  --soft-line: #d5e7e2;
  --warning: #f0ca69;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(0,0,0,.24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
strong { font-weight: 760; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: white; color: black; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(4,17,23,.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.18rem; font-weight: 850; letter-spacing: -.02em; }
.brand > span:last-child > span { color: var(--accent); }
.site-header .brand, .site-footer .brand { color: var(--text); }
.brand-mark { width: 32px; height: 32px; background: url('/scopemill-icon-512.png') center / cover no-repeat; border-radius: 8px; box-shadow: 0 0 18px rgba(53,209,162,.14); flex: 0 0 auto; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: .92rem; font-weight: 650; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--white); }
.nav-links .nav-cta { color: var(--bg-deep); background: var(--accent); padding: 9px 13px; border-radius: 10px; }

.hero { padding: 82px 0 32px; background: radial-gradient(circle at 75% 12%, rgba(53,209,162,.12), transparent 35%), linear-gradient(180deg, var(--bg-deep), var(--bg)); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 54px; align-items: center; }
.eyebrow, .kicker, .mini-label { color: var(--accent-2); font-size: .78rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; }
.dot { width: 8px; height: 8px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 5px rgba(53,209,162,.12); }
h1 { margin: 18px 0 18px; max-width: 820px; font-size: clamp(2.7rem, 5.8vw, 5.15rem); line-height: .99; letter-spacing: -.055em; }
.hero-lede { max-width: 760px; margin: 0; color: #c9d8da; font-size: clamp(1.05rem, 1.8vw, 1.28rem); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 12px 18px; border: 1px solid transparent; border-radius: 11px; text-decoration: none; font-weight: 790; cursor: pointer; transition: transform .16s ease, background .16s ease, border-color .16s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, .text-button:focus-visible, summary:focus-visible { outline: 3px solid rgba(120,231,194,.45); outline-offset: 3px; }
.btn.primary { color: #052119; background: var(--accent); }
.btn.primary:hover { background: var(--accent-2); }
.btn.secondary { color: var(--white); border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.04); }
.btn.secondary:hover { border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.07); }
.btn.full { width: 100%; }
.microcopy { margin-top: 14px; color: #879fa4; font-size: .88rem; }

.hero-card, .purchase-card { background: linear-gradient(180deg, rgba(18,48,58,.96), rgba(9,32,41,.98)); border: 1px solid rgba(120,231,194,.22); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); }
.fit-list, .included-list { list-style: none; padding: 0; margin: 18px 0 22px; }
.fit-list li, .included-list li { position: relative; padding: 9px 0 9px 27px; color: #d5e2e3; border-bottom: 1px solid rgba(255,255,255,.07); }
.fit-list li::before, .included-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }
.price-line { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding: 16px 0 20px; }
.price-line > div { display: flex; align-items: baseline; gap: 7px; }
.price-line strong { font-size: 2.55rem; line-height: 1; letter-spacing: -.04em; }
.price-line span, .price-line small { color: var(--muted); }
.price-line small { max-width: 120px; text-align: right; }
.card-note, .purchase-note { color: #8fa6aa; font-size: .84rem; margin: 12px 0 0; }

.proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 68px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-strip > div { padding: 19px 20px; border-right: 1px solid var(--line); }
.proof-strip > div:last-child { border-right: 0; }
.proof-strip strong, .proof-strip span { display: block; }
.proof-strip strong { font-size: .92rem; }
.proof-strip span { margin-top: 3px; color: #82999e; font-size: .8rem; }

.section { padding: 86px 0; background: var(--white); color: var(--ink); }
.section-dark { background: var(--bg); color: var(--text); }
.section-soft { background: var(--soft); }
.narrow-head { max-width: 820px; margin-left: auto; margin-right: auto; text-align: center; }
.narrow-head h2, .split h2, .pilot-copy h2 { margin: 10px 0 16px; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -.04em; }
.narrow-head p, .section-lede, .pilot-copy > p { margin: 0; color: var(--ink-muted); font-size: 1.04rem; }
.section-dark .narrow-head p { color: var(--muted); }
.kicker { color: var(--accent-dark); }
.section-dark .kicker { color: var(--accent-2); }

.evidence-callout { margin-top: 40px; display: grid; grid-template-columns: 230px 1fr; overflow: hidden; border: 1px solid var(--soft-line); border-radius: var(--radius); background: #f8fbfa; box-shadow: 0 15px 42px rgba(8,50,47,.07); }
.evidence-stat { padding: 32px; display: flex; flex-direction: column; justify-content: center; background: var(--bg); color: white; }
.evidence-stat strong { color: var(--accent); font-size: 2.45rem; letter-spacing: -.05em; }
.evidence-stat span { color: #a9bdc0; font-size: .86rem; }
.evidence-copy { padding: 30px 34px; }
.evidence-copy .mini-label { color: var(--accent-dark); }
.evidence-copy h3 { margin: 9px 0 8px; font-size: 1.4rem; line-height: 1.3; }
.evidence-copy p { color: var(--ink-muted); margin: 0 0 12px; }
.text-link { color: #075e4b; font-weight: 760; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 12px; align-items: stretch; margin-top: 40px; }
.flow-step { border: 1px solid var(--soft-line); border-radius: 14px; padding: 20px; background: white; min-height: 130px; }
.flow-step.accent { border-color: rgba(12,118,93,.35); background: #f2fbf7; }
.flow-step > span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 999px; background: #e7f4f0; color: #075e4b; font-size: .76rem; font-weight: 850; }
.flow-step strong, .flow-step small { display: block; }
.flow-step strong { margin-top: 14px; }
.flow-step small { margin-top: 4px; color: var(--ink-muted); line-height: 1.35; }
.flow-arrow { display: grid; place-items: center; color: #789095; font-size: 1.3rem; }

.demo-shell { margin-top: 42px; border: 1px solid rgba(255,255,255,.15); border-radius: 20px; overflow: hidden; background: var(--bg-deep); box-shadow: var(--shadow); }
.demo-top { min-height: 68px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 22px; border-bottom: 1px solid var(--line); background: #091c24; }
.demo-top strong, .demo-top span { display: block; }
.demo-top span { color: #839da2; font-size: .82rem; }
.demo-top .demo-badge { display: inline-block; color: var(--accent-2); border: 1px solid rgba(120,231,194,.25); border-radius: 999px; padding: 5px 9px; }
.demo-grid { display: grid; grid-template-columns: 1.12fr .88fr; }
.demo-order { padding: 24px; border-right: 1px solid var(--line); }
.table-wrap { overflow-x: auto; }
.demo-table { width: 100%; border-collapse: collapse; min-width: 540px; font-size: .89rem; }
.demo-table th { color: #7e989e; font-size: .73rem; text-transform: uppercase; letter-spacing: .05em; text-align: right; padding: 10px; border-bottom: 1px solid var(--line); }
.demo-table th:first-child, .demo-table td:first-child { text-align: left; }
.demo-table td { padding: 14px 10px; text-align: right; border-bottom: 1px solid rgba(255,255,255,.07); }
.demo-table td.eligible { color: var(--accent-2); font-weight: 850; }
.demo-summary { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 15px; border-radius: 12px; background: #0b242d; color: #a8bdc0; }
.demo-summary strong { color: white; }
.demo-result { min-height: 390px; padding: 30px; display: flex; align-items: center; }
.demo-state { width: 100%; }
.demo-state.hidden { display: none; }
.state-label { display: inline-block; color: var(--accent-2); font-size: .76rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.state-label.draft { color: #b7d7ff; }
.demo-state h3 { margin: 12px 0 10px; font-size: 1.52rem; line-height: 1.2; }
.demo-state p { color: #9ab0b4; margin: 0 0 18px; }
.result-box { display: flex; flex-direction: column; gap: 3px; margin: 18px 0; padding: 16px; border: 1px solid rgba(120,231,194,.24); border-radius: 12px; background: rgba(53,209,162,.07); }
.result-box strong { color: var(--accent-2); }
.result-box span { color: #9eb2b6; font-size: .87rem; }
.result-box.success { border-color: rgba(53,209,162,.38); }
.draft-lines { display: grid; gap: 8px; margin: 18px 0; }
.draft-lines span { display: flex; justify-content: space-between; padding: 12px 14px; background: #0b242d; border-radius: 9px; color: #c5d5d7; }
.demo-footer { display: flex; justify-content: center; padding: 14px 20px; border-top: 1px solid var(--line); }
.text-button { border: 0; background: transparent; color: var(--accent-2); font-weight: 720; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.validation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.proof-card { border: 1px solid var(--soft-line); border-radius: 15px; padding: 22px; background: #fbfdfc; }
.proof-card > span { display: inline-block; color: #075e4b; background: #e7f6f1; border-radius: 999px; padding: 4px 8px; font-size: .68rem; font-weight: 900; letter-spacing: .08em; }
.proof-card.caution > span { color: #71550b; background: #fff5d7; }
.proof-card h3 { margin: 13px 0 7px; font-size: 1.08rem; }
.proof-card p { margin: 0; color: var(--ink-muted); font-size: .91rem; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.boundary-list { display: grid; gap: 12px; }
.boundary-list > div { display: grid; gap: 2px; padding: 17px 18px; border: 1px solid #cfe2dc; border-radius: 12px; background: rgba(255,255,255,.7); }
.boundary-list strong { color: #075e4b; }
.boundary-list span { color: var(--ink-muted); font-size: .9rem; }

.pilot-section { color: var(--text); background: radial-gradient(circle at 20% 20%, rgba(53,209,162,.1), transparent 32%), var(--bg); }
.pilot-grid { display: grid; grid-template-columns: 1fr 390px; gap: 60px; align-items: center; }
.pilot-copy > p { color: #a6bbbf; max-width: 690px; }
.pilot-copy .included-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; max-width: 760px; }
.purchase-card { padding: 28px; }
.big-price { display: flex; align-items: baseline; gap: 7px; margin-top: 14px; }
.big-price strong { font-size: 4rem; letter-spacing: -.06em; line-height: .95; }
.big-price span, .purchase-card > p { color: var(--muted); }
.purchase-card > p { margin: 5px 0 20px; }
.purchase-card .purchase-note { margin: 13px 0; font-size: .83rem; }
.terms-links { display: flex; justify-content: center; gap: 8px; color: #9fb5b8; font-size: .84rem; }

.faq-section { padding-top: 78px; }
.faq-list { max-width: 860px; margin-top: 34px; }
details { border-top: 1px solid var(--soft-line); }
details:last-child { border-bottom: 1px solid var(--soft-line); }
summary { cursor: pointer; list-style: none; padding: 19px 2px; font-weight: 760; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--accent-dark); font-size: 1.25rem; }
details[open] summary::after { content: "-"; }
details p { margin: -6px 0 20px; color: var(--ink-muted); max-width: 760px; }

.site-footer { padding: 44px 0 30px; background: var(--bg-deep); border-top: 1px solid var(--line); }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; }
.footer-brand { margin-bottom: 7px; }
.footer-grid p { margin: 0; color: #769096; font-size: .87rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.footer-links a { color: #a9bdc0; font-size: .86rem; text-underline-offset: 3px; }
.legal { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); color: #678188; font-size: .77rem; }

@media (max-width: 920px) {
  .hero-grid, .pilot-grid, .split { grid-template-columns: 1fr; }
  .hero-grid { gap: 34px; }
  .hero-card { max-width: 620px; }
  .proof-strip { grid-template-columns: 1fr 1fr; }
  .proof-strip > div:nth-child(2) { border-right: 0; }
  .proof-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); min-height: 18px; }
  .validation-grid { grid-template-columns: 1fr 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-order { border-right: 0; border-bottom: 1px solid var(--line); }
  .demo-result { min-height: 320px; }
  .pilot-copy .included-list { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .wrap { width: min(100% - 28px, 1160px); }
  .site-header { position: static; }
  .nav { min-height: 62px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding-top: 58px; }
  h1 { font-size: clamp(2.55rem, 13vw, 3.65rem); }
  .hero-lede { font-size: 1.03rem; }
  .section { padding: 66px 0; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-strip > div:last-child { border-bottom: 0; }
  .evidence-callout { grid-template-columns: 1fr; }
  .evidence-stat { padding: 24px; }
  .evidence-copy { padding: 24px; }
  .validation-grid { grid-template-columns: 1fr; }
  .demo-top { align-items: flex-start; }
  .demo-summary { flex-direction: column; gap: 4px; }
  .demo-result { padding: 24px; }
  .footer-grid { flex-direction: column; }
  .footer-links { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Stripe-ready v2 additions */
.fit-section .grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.fit-card ul{margin:14px 0 0;padding-left:20px}.fit-card li{margin:9px 0;color:var(--muted,#5f7378);line-height:1.55}.muted-card{background:#f7faf9}.nav-cta[href^="https://buy.stripe.com"],.btn[href^="https://buy.stripe.com"]{text-decoration:none}@media(max-width:760px){.fit-section .grid-2{grid-template-columns:1fr}}


/* v9 readability and content-layout fixes */
.hero-card .mini-label,
.purchase-card .mini-label {
  letter-spacing: .12em;
}

.fit-list li,
.included-list li {
  padding: 11px 0 11px 30px;
  line-height: 1.45;
}

.fit-list li::before,
.included-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--accent);
  font-weight: 900;
  font-size: .98rem;
  line-height: 1;
}

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

.fit-card {
  background: #ffffff;
  border: 1px solid #d9e9e3;
}

.fit-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
}

.fit-card ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.fit-card li {
  margin: 10px 0;
  color: #4b6267;
  line-height: 1.6;
}

.muted-card {
  background: #f4f8f7;
}

.muted-card li {
  color: #53696e;
}

.purchase-card > p,
.pilot-copy > p,
.card-note,
.purchase-note {
  color: #b3c4c7;
}

.terms-links a {
  text-underline-offset: 3px;
}

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

/* 2026-08-27 customer readability pass */
.fit-card { background:#fff; border:1px solid #d9e9e3; }
.fit-card h3 { color:#13272e; }
.fit-card li { color:#4b6267; line-height:1.6; }
.muted-card { background:#f4f8f7; }
.muted-card li { color:#53696e; }
.fit-list li::before,
.included-list li::before { content:"\2713"; top:11px; }
.purchase-card > p,
.pilot-copy > p,
.card-note,
.purchase-note { color:#b3c4c7; }

/* v11.5.3 fit-section visual polish */
.fit-section {
  background:
    radial-gradient(circle at 18% 16%, rgba(53, 209, 162, .075), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f6faf9 100%);
}

.fit-intro {
  max-width: 860px;
}

.fit-intro p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.fit-panel {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 26px;
  border: 1px solid #d5e7e2;
  border-radius: 20px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 16px 42px rgba(8, 50, 47, .075);
}

.fit-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent);
}

.fit-panel-good {
  border-color: rgba(12, 118, 93, .24);
  background: linear-gradient(145deg, #ffffff 0%, #f2fbf7 100%);
}

.fit-panel-not {
  border-color: #dce7e4;
  background: linear-gradient(145deg, #ffffff 0%, #f7faf9 100%);
  box-shadow: 0 14px 34px rgba(23, 52, 57, .055);
}

.fit-panel-not::before {
  background: #9fb3b0;
}

.fit-panel-header {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(19, 39, 46, .09);
}

.fit-panel-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 1.02rem;
  font-weight: 900;
}

.fit-panel-icon-good {
  color: #075e4b;
  background: #dff7ef;
  box-shadow: inset 0 0 0 1px rgba(12, 118, 93, .08);
}

.fit-panel-icon-not {
  color: #5e7276;
  background: #eaf0ee;
  box-shadow: inset 0 0 0 1px rgba(83, 107, 112, .08);
}

.fit-panel-label {
  display: block;
  margin: 1px 0 5px;
  color: var(--accent-dark);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.fit-panel-not .fit-panel-label {
  color: #61777a;
}

.fit-panel h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.3;
  letter-spacing: -.015em;
}

.fit-panel-list {
  list-style: none;
  margin: 5px 0 0;
  padding: 0;
}

.fit-panel-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 0;
  padding: 15px 0;
  color: #435b60;
  line-height: 1.5;
  border-bottom: 1px solid rgba(19, 39, 46, .075);
}

.fit-panel-list li:last-child {
  padding-bottom: 4px;
  border-bottom: 0;
}

.fit-row-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 999px;
  color: #075e4b;
  background: #e4f8f1;
  font-size: .74rem;
  font-weight: 900;
  line-height: 1;
}

.fit-panel-list-muted li {
  color: #586d71;
}

.fit-panel-list-muted .fit-row-icon {
  color: #657b7e;
  background: #edf2f1;
}

@media (max-width: 760px) {
  .fit-panels {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 30px;
  }

  .fit-panel {
    padding: 22px 20px;
    border-radius: 17px;
  }

  .fit-panel-header {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

  .fit-panel-icon {
    width: 38px;
    height: 38px;
  }
}

/* ScopeFX preview v1: polished retro interaction layer */
.signal-rail {
  position: relative;
  display: grid;
  grid-template-columns: minmax(110px, 1fr) 54px minmax(110px, 1fr) 54px minmax(132px, 1fr) 54px minmax(110px, 1fr);
  gap: 8px;
  align-items: stretch;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(53,209,162,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53,209,162,.035) 1px, transparent 1px),
    #071920;
  background-size: 18px 18px;
}
.signal-node {
  position: relative;
  min-width: 0;
  padding: 13px 14px 12px;
  border: 1px solid rgba(255,255,255,.105);
  background: rgba(11,36,45,.76);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}
.signal-node::before,
.signal-node::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  pointer-events: none;
}
.signal-node::before {
  left: -1px;
  top: -1px;
  border-left: 1px solid rgba(120,231,194,.45);
  border-top: 1px solid rgba(120,231,194,.45);
}
.signal-node::after {
  right: -1px;
  bottom: -1px;
  border-right: 1px solid rgba(120,231,194,.22);
  border-bottom: 1px solid rgba(120,231,194,.22);
}
.signal-node span,
.signal-node small {
  display: block;
  color: #7f989d;
}
.signal-node span {
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.signal-node strong {
  display: inline-block;
  margin-top: 4px;
  color: #dce8e9;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
}
.signal-node small {
  margin-top: 4px;
  font-size: .7rem;
}
.signal-node-accent {
  border-color: rgba(53,209,162,.38);
  background: linear-gradient(180deg, rgba(20,77,64,.46), rgba(8,39,39,.8));
}
.signal-node-accent strong { color: var(--accent-2); }
.signal-link {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #617d81;
  font-weight: 900;
}
.signal-link i {
  position: absolute;
  left: 2px;
  right: 2px;
  top: 50%;
  height: 1px;
  background: rgba(120,231,194,.16);
}
.signal-link i::after {
  content: "";
  position: absolute;
  left: -7px;
  top: -2px;
  width: 5px;
  height: 5px;
  background: var(--accent);
  opacity: 0;
}
.signal-link span { position: relative; background: #071920; padding: 0 5px; }
html.scopefx-motion .signal-node,
html.scopefx-motion .signal-link {
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease, opacity .2s ease;
}
html.scopefx-motion .signal-node.is-live {
  border-color: rgba(120,231,194,.5);
  box-shadow: 0 0 0 1px rgba(53,209,162,.08), 0 0 28px rgba(53,209,162,.08);
  transform: translateY(-1px);
}
html.scopefx-motion .signal-link.is-live i::after {
  opacity: 1;
  animation: scopefx-signal-run .48s steps(6, end) both;
}
@keyframes scopefx-signal-run {
  from { transform: translateX(0); }
  to { transform: translateX(58px); }
}

@media (hover: hover) and (pointer: fine) {
  .proof-card,
  .boundary-list > div,
  .fit-panel,
  .flow-step,
  .demo-shell {
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }
  .proof-card:hover,
  .boundary-list > div:hover {
    transform: translateY(-1px);
    border-color: rgba(12,118,93,.26);
    box-shadow: 0 9px 24px rgba(8,50,47,.055);
  }
  .fit-panel:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 36px rgba(8,50,47,.065);
  }
  .flow-step:hover {
    transform: translateY(-1px);
    border-color: rgba(12,118,93,.24);
  }
}

.proof-card {
  position: relative;
  overflow: hidden;
}
.proof-card::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 10px;
  width: 5px;
  height: 5px;
  background: rgba(12,118,93,.38);
  box-shadow: -7px 0 0 rgba(12,118,93,.13), 0 7px 0 rgba(12,118,93,.13);
}
.boundary-list > div {
  position: relative;
}
.boundary-list > div::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 12px;
  width: 4px;
  height: 4px;
  background: rgba(12,118,93,.22);
}


.demo-equation { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 22px 18px; padding: 13px 16px; border: 1px solid rgba(120,231,194,.2); border-radius: 11px; background: rgba(9,34,39,.72); color: #a7bbbe; font-size: .9rem; text-align: center; flex-wrap: wrap; }
.demo-equation strong { color: #dce8e9; }
.demo-equation-result { color: #9bf0d3 !important; }
.demo-footer .text-button[disabled] { opacity: .65; cursor: wait; }
@media (max-width: 680px) { .demo-equation { margin: 0 14px 14px; gap: 7px; font-size: .82rem; } }

html.scopefx-motion .scopefx-reveal-target {
  opacity: 0;
  transform: translateY(10px);
}
html.scopefx-motion .scopefx-reveal-target.scopefx-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .42s ease, transform .42s cubic-bezier(.2,.7,.2,1);
}
html.scopefx-motion .flow-step.scopefx-flow-live {
  border-color: rgba(12,118,93,.38);
  box-shadow: 0 10px 26px rgba(8,50,47,.075);
}
html.scopefx-motion .flow-arrow.scopefx-flow-live {
  color: var(--accent-dark);
  text-shadow: 0 0 14px rgba(53,209,162,.22);
}
@media (max-width: 920px) {
  .signal-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
  .signal-link { display: none; }
}
@media (max-width: 680px) {
  .signal-rail {
    grid-template-columns: 1fr 1fr;
    padding: 14px;
  }
  .signal-node { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .signal-link i::after { animation: none !important; }
}

