:root {
  color-scheme: light;
  --bg: #ffffff;
  --section: #f8f9fb;
  --ink: #1a1a2e;
  --navy: #0f1f3d;
  --muted: #5a607a;
  --line: #e8ecf4;
  --line-strong: #d8deeb;
  --blue: #2b7fff;
  --green: #17a673;
  --yellow: #c8941b;
  --red: #d5483f;
  --surface: rgba(255, 255, 255, 0.92);
  --shadow-soft: 0 8px 32px rgba(43, 127, 255, 0.08);
  --shadow-panel: 0 24px 70px rgba(15, 31, 61, 0.08);
  --radius: 12px;
  --content: 1360px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 9% 12%, rgba(43, 127, 255, 0.055), transparent 30%),
    radial-gradient(circle at 92% 6%, rgba(15, 31, 61, 0.045), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 38%, #ffffff 100%);
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

::selection {
  background: rgba(43, 127, 255, 0.14);
}

.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.78;
}

.ambient-bg::before,
.ambient-bg::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(43, 127, 255, 0.08);
  border-radius: 999px;
}

.ambient-bg::before {
  width: 760px;
  height: 760px;
  right: -260px;
  top: 110px;
}

.ambient-bg::after {
  width: 520px;
  height: 520px;
  left: -240px;
  top: 820px;
}

.wallet-rain {
  position: absolute;
  inset: -12vh 0;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent, #000 9%, #000 88%, transparent);
}

.wallet-rain span {
  position: absolute;
  left: var(--x);
  top: var(--slot-top, -34vh);
  display: block;
  color: var(--navy);
  font-family: "DM Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 14px;
  line-height: 2.9;
  letter-spacing: 0.08em;
  white-space: nowrap;
  opacity: 0.115;
  filter: blur(0.2px);
  animation: walletRain calc(var(--duration) * 0.34) linear infinite;
  animation-delay: var(--delay);
}

.wallet-rain span:nth-child(even) {
  opacity: 0.088;
}

.wallet-rain span:nth-child(3n) {
  font-size: 13px;
  opacity: 0.096;
}

@keyframes walletRain {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(34vh);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 12px 32px rgba(15, 31, 61, 0.04);
}

.nav {
  width: min(var(--content), calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #ffffff;
  color: var(--navy);
  font-family: Sora, Inter, sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
  text-decoration: none;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px !important;
  border-radius: 10px;
  background: var(--navy);
  color: #ffffff;
}

.nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.section-frame {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: 120px 0;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.84fr);
  align-items: center;
  gap: 74px;
  padding-top: 94px;
}

.eyebrow,
.section-kicker,
.mono-label {
  font-family: "DM Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker {
  color: var(--blue);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-family: Sora, Inter, sans-serif;
  color: var(--ink);
  letter-spacing: -0.03em;
}

h1 {
  max-width: 780px;
  margin-top: 18px;
  font-size: clamp(52px, 7vw, 80px);
  line-height: 0.97;
  font-weight: 600;
}

h2 {
  max-width: 780px;
  margin-top: 13px;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.03;
  font-weight: 600;
}

h3 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}

.hero-lead,
.section-heading p,
.contact-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.hero-lead {
  max-width: 690px;
  margin-top: 28px;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--navy);
  border-radius: 10px;
  padding: 14px 28px;
  background: var(--navy);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 240ms ease, background 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.button:active {
  transform: scale(0.98);
}

.button.ghost {
  border-color: var(--line-strong);
  background: #ffffff;
  color: var(--navy);
}

.button.compact {
  min-height: 48px;
  padding: 0 20px;
  white-space: nowrap;
}

.button.full {
  width: 100%;
}

.button.submit {
  width: fit-content;
  margin-top: 22px;
}

.hero-proof {
  max-width: 700px;
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-proof span {
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.hero-proof span:last-child {
  border-right: 0;
  padding-left: 22px;
}

.hero-proof span:not(:first-child) {
  padding-left: 22px;
}

.hero-proof b {
  color: var(--navy);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.device-demo,
.demo-widget,
.lead-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-panel);
}

.device-demo {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  padding: 34px 28px 26px;
  background:
    radial-gradient(circle at 77% 21%, rgba(43, 127, 255, 0.12), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 249, 251, 0.86));
}

.device-demo::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0 44%, rgba(43, 127, 255, 0.055) 44.2% 44.6%, transparent 44.8%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.58));
}

.laptop-shell,
.phone-shell {
  position: relative;
  z-index: 1;
}

.laptop-shell {
  width: min(100%, 620px);
  margin: 18px auto 0;
}

.laptop-screen {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid #dce3ef;
  border-radius: 22px 22px 12px 12px;
  padding: 24px;
  background:
    linear-gradient(180deg, #ffffff, #fbfcff),
    #ffffff;
  box-shadow: 0 28px 68px rgba(15, 31, 61, 0.12);
}

.laptop-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0 36%, rgba(43, 127, 255, 0.09) 45%, transparent 54%);
  transform: translateX(-120%);
  animation: screenSweep 4.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.screen-top,
.console-footer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
}

.screen-top strong {
  display: block;
  margin-top: 6px;
  color: var(--navy);
  font-size: 18px;
}

.wallet-line {
  position: relative;
  z-index: 1;
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: #ffffff;
}

.wallet-line b {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 15px;
}

.wallet-line i {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  transform: translateX(-100%);
  animation: scanLine 3.4s ease-in-out infinite;
}

.laptop-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.risk-summary,
.signal-stack {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(248, 249, 251, 0.82);
}

.risk-summary {
  min-height: 168px;
  padding: 18px;
}

.risk-summary strong {
  display: block;
  margin-top: 16px;
  color: var(--navy);
  font-family: Sora, Inter, sans-serif;
  font-size: 72px;
  line-height: 0.88;
  letter-spacing: -0.06em;
}

.risk-summary em {
  display: inline-flex;
  margin-top: 12px;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(213, 72, 63, 0.1);
  color: var(--red);
  font-style: normal;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
}

.risk-summary em[data-level="medium"],
.phone-score em[data-level="medium"] {
  background: rgba(200, 148, 27, 0.12);
  color: var(--yellow);
}

.risk-summary em[data-level="low"],
.phone-score em[data-level="low"] {
  background: rgba(23, 166, 115, 0.1);
  color: var(--green);
}

.risk-summary em[data-level="high"],
.phone-score em[data-level="high"] {
  background: rgba(213, 72, 63, 0.1);
  color: var(--red);
}

.signal-stack {
  display: grid;
  align-content: center;
  gap: 15px;
  padding: 18px;
}

.signal-stack span {
  position: relative;
  min-height: 34px;
  overflow: hidden;
  border-radius: 999px;
  background: #ffffff;
}

.signal-stack span::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: rgba(43, 127, 255, 0.12);
  transform-origin: left;
  animation: signalGrow 3.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.signal-stack b {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  color: var(--navy);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.workflow-lane {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 18px 1fr 18px 1fr 18px 1fr 18px;
  align-items: center;
  gap: 8px;
  margin: 26px 6px 20px;
}

.lane-node {
  width: 18px;
  height: 18px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px var(--line-strong);
}

.lane-node.is-hot {
  background: var(--green);
}

.lane-node.is-warn {
  background: var(--yellow);
}

.lane-node.is-final {
  background: var(--red);
}

.lane-line {
  position: relative;
  height: 2px;
  overflow: hidden;
  background: var(--line);
}

.lane-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: translateX(-100%);
  animation: laneFlow 2.8s ease-in-out infinite;
}

.console-footer {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.console-footer div {
  border-right: 1px solid var(--line);
}

.console-footer div:last-child {
  border-right: 0;
}

.console-footer strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 14px;
}

.laptop-base {
  width: 82%;
  height: 22px;
  margin: 0 auto;
  border: 1px solid #dce3ef;
  border-top: 0;
  border-radius: 0 0 28px 28px;
  background: linear-gradient(180deg, #f6f8fb, #dfe5ef);
  box-shadow: 0 22px 38px rgba(15, 31, 61, 0.08);
}

.phone-shell {
  position: absolute;
  right: 12px;
  bottom: 28px;
  width: 184px;
  min-height: 356px;
  border: 1px solid #d8deeb;
  border-radius: 30px;
  padding: 12px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(15, 31, 61, 0.18);
  transform: rotate(2.5deg);
}

.phone-speaker {
  width: 46px;
  height: 4px;
  margin: 0 auto 9px;
  border-radius: 999px;
  background: #d8deeb;
}

.phone-screen {
  min-height: 315px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 15px;
  background:
    radial-gradient(circle at 78% 16%, rgba(43, 127, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #fbfcff, #ffffff);
}

.phone-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.phone-top b {
  color: var(--green);
  font-size: 11px;
  text-transform: uppercase;
}

.phone-score {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 16px 16px;
  background: #ffffff;
  text-align: center;
}

.phone-score strong {
  display: block;
  color: var(--navy);
  font-family: Sora, Inter, sans-serif;
  font-size: 54px;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.phone-score em {
  display: block;
  margin-top: 8px;
  border-radius: 999px;
  padding: 6px 8px;
  background: rgba(213, 72, 63, 0.1);
  color: var(--red);
  font-style: normal;
  font-weight: 800;
  font-size: 11px;
}

.phone-events {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.phone-events span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.phone-events i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulseDot 1.8s ease-out infinite;
}

.phone-events span:nth-child(2) i {
  animation-delay: 0.28s;
}

.phone-events span:nth-child(3) i {
  animation-delay: 0.56s;
}

.phone-action {
  margin-top: 16px;
  border-radius: 14px;
  padding: 12px;
  background: var(--navy);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

@keyframes screenSweep {
  0%,
  18% {
    transform: translateX(-120%);
  }

  52%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(43, 127, 255, 0.34);
  }

  70%,
  100% {
    box-shadow: 0 0 0 12px rgba(43, 127, 255, 0);
  }
}

@keyframes scanLine {
  0%,
  20% {
    transform: translateX(-100%);
  }

  70%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes signalGrow {
  0%,
  12% {
    transform: scaleX(0.12);
  }

  48%,
  100% {
    transform: scaleX(1);
  }
}

@keyframes laneFlow {
  0% {
    transform: translateX(-100%);
  }

  48%,
  100% {
    transform: translateX(100%);
  }
}

.risk-pill,
.reason-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 11px;
  background: rgba(43, 127, 255, 0.09);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.workflow-strip {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 249, 251, 0.78);
}

.workflow-track {
  width: max-content;
  display: flex;
  gap: 0;
  animation: workflowSlide 34s linear infinite;
}

.workflow-track span {
  min-width: max-content;
  padding: 18px 34px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes workflowSlide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.section-heading {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  align-items: end;
  gap: 64px;
  margin-bottom: 54px;
}

.section-heading > :not(.section-art) {
  position: relative;
  z-index: 1;
}

.section-art {
  position: absolute;
  left: clamp(28px, 4.8vw, 98px);
  top: clamp(-54px, -2.8vw, -28px);
  width: min(625px, 42vw);
  height: 306px;
  color: rgba(43, 127, 255, 0.44);
  pointer-events: none;
  z-index: 0;
}

.section-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.9;
  filter: saturate(1.14) contrast(1.1) brightness(1.01);
  image-rendering: auto;
  user-select: none;
}

.art-flow {
  left: clamp(32px, 5vw, 102px);
  top: clamp(-56px, -2.8vw, -28px);
}

.art-network {
  left: clamp(20px, 4.2vw, 82px);
  top: clamp(-58px, -3vw, -30px);
  width: min(665px, 45vw);
}

.art-shield {
  left: clamp(30px, 4.9vw, 98px);
  top: clamp(-56px, -2.8vw, -28px);
}

.art-rollout {
  left: clamp(18px, 4vw, 80px);
  top: clamp(-58px, -3vw, -30px);
  width: min(655px, 44vw);
}

.art-diligence {
  left: clamp(10px, 3.2vw, 68px);
  top: clamp(-68px, -3.5vw, -34px);
  width: min(710px, 47vw);
  height: 334px;
}

.section-heading.narrow {
  max-width: 760px;
  display: block;
}

.section-heading.narrow p {
  margin-top: 20px;
}

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

.step-card,
.system-card,
.evidence-card,
.price-card,
.flow-step,
.pilot-pack,
.faq-list details,
.chain-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.step-card:hover,
.system-card:hover,
.evidence-card:hover,
.price-card:hover,
.flow-step:hover,
.faq-list details:hover {
  transform: translateY(-3px);
  border-color: rgba(43, 127, 255, 0.28);
  box-shadow: var(--shadow-soft);
}

.step-card {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 250px;
  padding: 28px;
  text-align: center;
}

.step-card p,
.price-card p,
.evidence-card p,
.chain-panel p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.demo-section,
.api-section,
.pilot-section {
  width: 100%;
  max-width: none;
  padding: 120px max(20px, calc((100% - var(--content)) / 2));
  background: var(--section);
}

.use-case-section {
  position: relative;
}

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

.system-card {
  min-height: 224px;
  padding: 28px;
}

.system-card h3 {
  margin-top: 52px;
}

.system-card p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.demo-widget {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  background: #ffffff;
}

.demo-input-panel,
.demo-output-panel {
  padding: 34px;
}

.demo-input-panel {
  border-right: 1px solid var(--line);
}

.demo-input-panel label,
.lead-form label span {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 700;
}

.wallet-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

input,
select {
  height: 48px;
  padding: 0 15px;
}

textarea {
  min-height: 132px;
  resize: vertical;
  padding: 14px 15px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(43, 127, 255, 0.16);
}

#walletInput {
  font-family: "DM Mono", ui-monospace, monospace;
}

.scenario-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.scenario-tab {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 15px;
  background: #ffffff;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
  transition: border-color 200ms ease, color 200ms ease, background 200ms ease;
}

.scenario-tab[aria-selected="true"] {
  border-color: rgba(43, 127, 255, 0.32);
  background: rgba(43, 127, 255, 0.08);
  color: var(--blue);
}

.policy-grid {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.policy-grid div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 17px;
}

.policy-grid strong {
  display: block;
  margin-top: 6px;
}

.policy-grid p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.output-head {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}

.mini-score {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    conic-gradient(var(--score-color, var(--yellow)) calc(var(--score) * 1%), var(--line) 0),
    #ffffff;
  position: relative;
}

.mini-score::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  background: #ffffff;
}

.mini-score span {
  position: relative;
  z-index: 1;
  color: var(--navy);
  font-family: Sora, Inter, sans-serif;
  font-size: 32px;
  font-weight: 700;
}

.risk-pill {
  margin-bottom: 10px;
}

.risk-pill.low {
  background: rgba(23, 166, 115, 0.1);
  color: var(--green);
}

.risk-pill.review {
  background: rgba(200, 148, 27, 0.12);
  color: var(--yellow);
}

.risk-pill.high {
  background: rgba(213, 72, 63, 0.11);
  color: var(--red);
}

.demo-output-panel p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.65;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.result-grid div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.result-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 14px;
}

.reason-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.code-surface {
  margin: 20px 0 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: #fbfcff;
  color: #31384c;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 13px;
  line-height: 1.65;
}

.api-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(560px, 1fr);
  align-items: center;
  gap: 60px;
}

.api-copy p {
  margin-top: 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.api-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.api-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-panel);
}

.api-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding: 12px;
  background: rgba(248, 249, 251, 0.9);
}

.api-tab {
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 0 13px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
}

.api-tab.is-active {
  border-color: var(--line-strong);
  background: #ffffff;
  color: var(--navy);
}

.api-code {
  max-height: 520px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #ffffff;
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.76fr) minmax(0, 1.24fr);
  gap: 18px;
}

.chain-panel {
  padding: 28px;
}

.chain-panel h3 {
  margin-top: 12px;
  font-size: 28px;
}

.chain-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.chain-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--navy);
  font-weight: 700;
}

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

.evidence-card {
  min-height: 198px;
  padding: 28px;
}

.evidence-card strong {
  display: block;
  margin-top: 16px;
  color: var(--navy);
  font-family: Sora, Inter, sans-serif;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

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

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

.flow-step {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 244px;
  padding: 28px;
  text-align: center;
}

.flow-step h3 {
  margin-top: 0;
}

.flow-step p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.pilot-pack {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(280px, 0.64fr) minmax(0, 1fr);
  gap: 36px;
  padding: 30px;
}

.pilot-pack h3 {
  margin-top: 14px;
  font-size: 28px;
}

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

.pilot-pack li {
  display: grid;
  grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.pilot-pack b {
  color: var(--navy);
}

.pilot-pack span {
  color: var(--muted);
  line-height: 1.6;
}

.technical-section {
  position: relative;
}

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

.technical-card {
  min-height: 276px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: #ffffff;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.technical-card:hover {
  transform: translateY(-3px);
  border-color: rgba(43, 127, 255, 0.28);
  box-shadow: var(--shadow-soft);
}

.technical-card h3 {
  margin-top: 42px;
}

.technical-card p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.diligence-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.diligence-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 22px 24px;
}

.faq-list summary {
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
}

.faq-list p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.price-card.featured {
  border-color: rgba(43, 127, 255, 0.35);
  box-shadow: var(--shadow-panel);
}

.price-card h3 {
  margin-top: 16px;
}

.price {
  margin-top: 16px !important;
  color: var(--navy) !important;
  font-family: Sora, Inter, sans-serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.price-card ul {
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.price-card li {
  position: relative;
  padding-left: 20px;
}

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

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

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(500px, 1fr);
  gap: 54px;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 110px;
}

.contact-copy p {
  margin-top: 22px;
}

.contact-notes {
  display: grid;
  gap: 10px;
  margin-top: 34px;
  color: var(--muted);
}

.contact-notes span {
  min-height: 42px;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--line);
  font-weight: 600;
}

.lead-form {
  padding: 28px;
}

.hidden-field {
  display: none;
}

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

.form-grid .full {
  grid-column: 1 / -1;
}

.lead-form label span {
  font-size: 14px;
}

.budget-help {
  display: none;
  margin-top: 10px;
  border: 1px solid rgba(43, 127, 255, 0.18);
  border-radius: 10px;
  padding: 11px 12px;
  background: rgba(43, 127, 255, 0.06);
  color: var(--muted);
}

.budget-help.visible {
  display: block;
}

.budget-help strong {
  display: block;
  margin-bottom: 3px;
  color: var(--navy);
  font-size: 12px;
}

.budget-help span {
  display: block;
  font-size: 12px;
  line-height: 1.45;
}

.consent-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.consent-row input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.form-error {
  display: none;
  margin-top: 16px;
  border: 1px solid rgba(213, 72, 63, 0.24);
  border-radius: var(--radius);
  padding: 13px 15px;
  background: rgba(213, 72, 63, 0.06);
  color: var(--red);
  font-weight: 600;
}

.form-error.visible {
  display: block;
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--section);
}

.footer-inner {
  width: min(var(--content), calc(100% - 40px));
  min-height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 600ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal].reveal-left {
  transform: translateX(-24px);
}

[data-reveal].reveal-right {
  transform: translateX(24px);
}

[data-reveal].reveal-left.is-visible,
[data-reveal].reveal-right.is-visible {
  transform: translateX(0);
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .workflow-track {
    animation: none;
  }

  .wallet-rain span {
    animation: none;
  }
}

@media (max-width: 980px) {
  .section-frame {
    padding: 88px 0;
  }

  .hero,
  .section-heading,
  .demo-widget,
  .trust-layout,
  .api-section,
  .pilot-pack,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .section-art {
    display: none;
  }

  .hero {
    gap: 42px;
    padding-top: 68px;
  }

  .device-demo {
    min-height: auto;
  }

  .laptop-shell {
    width: 100%;
  }

  .phone-shell {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(240px, 72%);
    margin: -52px 26px 0 auto;
  }

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

  .pricing-grid,
  .use-case-grid,
  .pilot-grid,
  .steps {
    grid-template-columns: 1fr;
  }

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

  .contact-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  .nav {
    width: min(100% - 28px, var(--content));
    min-height: 66px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
    background: #ffffff;
    box-shadow: var(--shadow-panel);
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 12px 14px;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 6px;
  }

  .section-frame {
    width: min(100% - 28px, var(--content));
    padding: 78px 0;
  }

  .demo-section,
  .api-section,
  .pilot-section {
    padding: 78px 14px;
  }

  h1 {
    font-size: clamp(46px, 14vw, 62px);
  }

  h2 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-proof,
  .meter-signals,
  .laptop-grid,
  .console-footer,
  .result-grid,
  .evidence-grid,
  .use-case-grid,
  .technical-grid,
  .pilot-grid,
  .pilot-pack li,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof span,
  .hero-proof span:not(:first-child),
  .hero-proof span:last-child {
    min-height: 66px;
    padding-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-proof span:last-child {
    border-bottom: 0;
  }

  .meter-signals div,
  .meter-signals div:not(:first-child) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-left: 0;
  }

  .meter-signals div:last-child {
    border-bottom: 0;
  }

  .device-demo {
    padding: 20px 16px 18px;
  }

  .laptop-screen {
    min-height: auto;
    padding: 18px;
    border-radius: 18px 18px 10px 10px;
  }

  .screen-top {
    grid-template-columns: 1fr;
  }

  .risk-summary strong {
    font-size: 58px;
  }

  .console-footer div,
  .console-footer div:last-child {
    min-height: 58px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .console-footer div:last-child {
    border-bottom: 0;
  }

  .phone-shell {
    width: min(210px, 82%);
    margin-top: -28px;
    transform: rotate(1.5deg);
  }

  .wallet-row {
    grid-template-columns: 1fr;
  }

  .output-head {
    grid-template-columns: 1fr;
  }

  .demo-input-panel,
  .demo-output-panel,
  .lead-form {
    padding: 22px;
  }

  .footer-inner {
    min-height: 118px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}
