:root {
  --black: #070707;
  --black-soft: #10100e;
  --black-card: rgba(18, 18, 18, 0.92);
  --white: rgba(214, 213, 204, 0.84);
  --silver: rgba(142, 145, 136, 0.7);
  --line: rgba(214, 213, 204, 0.09);
  --blue: rgba(54, 91, 196, 0.78);
  --blue-solid: #365bc4;
  --blue-dim: rgba(54, 91, 196, 0.12);
  --fog: #cecec6;
  --fog-deep: #b8b9b1;
  --fog-soft: #e1e1da;
  --navy: #0c1929;
  --navy-2: #112238;
  --navy-3: #1a3350;
  --status-g: #22c55e;
  --status-a: #f59e0b;
  --status-r: #ef4444;
  --fog-ink: rgba(8, 8, 8, 0.64);
  --ink-muted: rgba(8, 8, 8, 0.5);
  --system-teal: #78979a;
  --pad: clamp(24px, 4vw, 64px);
  --section-y-lg: clamp(112px, 15vh, 170px);
  --section-y-sm: clamp(64px, 8vh, 96px);
  --section-y-cta: clamp(120px, 18vh, 200px);
  --mono: 'DM Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --step--1: 12.8px;
  --step-0: 16px;
  --step-1: 20px;
  --step-2: 25px;
  --step-3: 31.25px;
  --step-4: 39.06px;
  --step-5: 48.83px;
  --step-6: 61.04px;
  --step-7: 76.29px;
  --ease-system: cubic-bezier(0.19, 1, 0.22, 1);
}

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

html {
  background: var(--black);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

p {
  font-size: var(--step-0);
  line-height: 1.5;
  letter-spacing: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--sans);
  font-weight: 700;
}

h1 {
  font-size: var(--step-7);
  line-height: 1;
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--step-6);
  line-height: 1.1;
  letter-spacing: -0.018em;
}

h3 {
  font-size: var(--step-5);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

h4 {
  font-size: var(--step-4);
  line-height: 1.3;
  letter-spacing: -0.012em;
}

h5 {
  font-size: var(--step-2);
  line-height: 1.35;
  letter-spacing: -0.008em;
}

h6 {
  font-size: var(--step-1);
  line-height: 1.4;
  letter-spacing: -0.005em;
}

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

#field-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cursor-orb {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(214, 213, 204, 0.12);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 213, 204, 0.045), rgba(214, 213, 204, 0.012) 48%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0) scale(0.72);
  transition: opacity 0.28s ease, transform 0.42s var(--ease-system);
}

.cursor-orb.is-active {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) scale(1);
}

#nav,
main,
.footer {
  position: relative;
  z-index: 2;
}

#nav {
  position: fixed;
  top: 24px;
  left: var(--pad);
  right: var(--pad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  mix-blend-mode: normal;
  pointer-events: none;
  transition: top 0.6s var(--ease-system);
}

.nav-shell {
  --nav-max: 2200px;
  --nav-pad-y: 0px;
  --nav-pad-x: 0px;
  --nav-bg-alpha: 0;
  --nav-line-alpha: 0;
  display: flex;
  width: 100%;
  max-width: var(--nav-max);
  align-items: center;
  justify-content: space-between;
  gap: clamp(22px, 3vw, 48px);
  padding: var(--nav-pad-y) var(--nav-pad-x);
  border: 1px solid transparent;
  border-radius: 8px;
  border-color: rgba(214, 213, 204, var(--nav-line-alpha));
  background: rgba(16, 16, 14, var(--nav-bg-alpha));
  pointer-events: auto;
  transition:
    max-width 0.6s var(--ease-system),
    padding 0.6s var(--ease-system),
    border-color 0.6s var(--ease-system),
    background 0.6s var(--ease-system);
}

.brand {
  position: relative;
  display: inline-flex;
  width: 132px;
  height: 42px;
  align-items: flex-start;
  overflow: hidden;
  color: rgba(245, 245, 241, 0.96);
  font-size: 19px;
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.02em;
  transition: width 0.6s var(--ease-system);
}

.brand-full,
.brand-mark {
  transition: transform 0.6s var(--ease-system), opacity 0.6s var(--ease-system);
}

.brand-full {
  display: block;
}

.brand-mark {
  position: absolute;
  inset: 0 auto auto 0;
  display: grid;
  width: 30px;
  height: 30px;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  opacity: 0;
  transform: translateY(24px);
}

.brand-mark i {
  display: block;
  width: 6px;
  height: 24px;
  border-radius: 3px;
  background: currentColor;
}

.brand-mark i:nth-child(1) {
  height: 11px;
}

.brand-mark i:nth-child(2) {
  margin-top: 7px;
}

.brand-mark i:nth-child(3) {
  height: 18px;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  gap: clamp(22px, 3vw, 48px);
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links a {
  opacity: 0.48;
  transition: opacity 0.2s ease, transform 0.28s var(--ease-system);
}

.nav-links a:hover {
  opacity: 0.82;
  transform: translateY(-1px);
}

.panel {
  position: relative;
  min-height: 100vh;
  padding: var(--section-y-lg) var(--pad);
}

.hero {
  display: flex;
  align-items: center;
  padding-top: 120px;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.hero-title {
  position: absolute;
  inset: 0 var(--pad);
  z-index: 2;
  pointer-events: none;
  text-transform: uppercase;
}

.hero-title span {
  position: absolute;
  display: block;
  max-width: min(520px, 34vw);
  color: rgba(245, 245, 241, 0.96);
  font-size: clamp(52px, 7.5vw, 92px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
  opacity: 1;
}

.hero-left {
  top: 52%;
  left: clamp(12px, 2vw, 34px);
  transform: translateY(-50%);
}

.hero-right {
  top: 52%;
  right: clamp(12px, 2vw, 34px);
  transform: translateY(-50%);
  text-align: right;
}

.hero-cta {
  position: absolute;
  left: var(--pad);
  bottom: clamp(84px, 10vh, 120px);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 22px;
  opacity: 1;
}

.hero-footer {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 26px;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(150px, 190px) minmax(320px, 0.72fr) minmax(360px, 0.9fr);
  gap: clamp(24px, 5vw, 90px);
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.hero-footer p {
  color: var(--silver);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.55;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.hero-proof span {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  background: rgba(16, 16, 14, 0.72);
  color: rgba(214, 213, 204, 0.62);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.proof-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.demos {
  background: var(--black);
}

.demos-header {
  max-width: 720px;
}

.demos-sub {
  max-width: 620px;
  margin-top: 18px;
  color: var(--silver);
  font-size: var(--step-1);
  line-height: 1.55;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.demo-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin: clamp(32px, 4vw, 48px) 0 0;
}

.demo-tab {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver);
  padding: 10px 0;
  margin-right: 28px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.demo-tab.active {
  color: var(--white);
  border-bottom-color: var(--blue-solid);
}

.demo-panel {
  background: var(--navy);
  border: 1px solid var(--navy-3);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 20px;
  transform-style: preserve-3d;
}

.demo-chrome {
  background: var(--navy-2);
  border-bottom: 1px solid var(--navy-3);
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.demo-chrome-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver);
}

.demo-chrome-dots {
  display: flex;
  gap: 6px;
}

.demo-chrome-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(18, 18, 18, 0.9);
  display: block;
}

.demo-summary {
  background: var(--navy);
  border-bottom: 1px solid var(--navy-3);
  padding: 12px 20px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--silver);
}

.summary-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.summary-dot::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.summary-dot.is-green,
.summary-cash,
.cashflow-green {
  color: var(--status-g);
}

.summary-dot.is-amber,
.summary-avg,
.cashflow-amber {
  color: var(--status-a);
}

.summary-risk,
.cashflow-red {
  color: var(--status-r);
}

.summary-dot.is-muted {
  color: var(--silver);
}

.demo-body {
  padding: 20px;
}

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

.agent-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
  min-height: 118px;
  background: var(--navy-2);
  border: 1px solid var(--navy-3);
  border-left: 2px solid var(--silver);
  border-radius: 8px;
  padding: 16px;
}

.agent-card.active {
  border-left-color: var(--status-g);
}

.agent-card.break {
  border-left-color: var(--status-a);
}

.agent-card.offline {
  border-left-color: var(--silver);
}

.agent-initials {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue-dim);
  color: var(--white);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.agent-card h3 {
  color: var(--white);
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0;
}

.agent-card p,
.agent-card time,
.agent-status {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.agent-card p {
  margin-top: 10px;
  color: var(--silver);
}

.agent-card p span {
  display: block;
  margin-top: 3px;
}

.agent-card time {
  grid-column: 2 / 4;
  color: var(--silver);
}

.agent-status.active {
  color: var(--status-g);
}

.agent-status.break {
  color: var(--status-a);
}

.agent-status.offline {
  color: var(--silver);
}

.demo-bottom {
  margin-top: 16px;
  color: var(--silver);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.demo-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.forecast-table {
  min-width: 780px;
}

.forecast-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr 0.82fr 0.7fr 0.7fr 0.7fr 0.85fr;
  gap: 12px;
  align-items: center;
  min-height: 42px;
  border-bottom: 1px solid var(--navy-3);
  color: var(--silver);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.forecast-head {
  color: var(--white);
}

.risk-badge,
.badge {
  width: fit-content;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 9px;
  font-family: var(--mono);
  font-style: normal;
  letter-spacing: 0.06em;
}

.risk-badge.low,
.badge.low {
  background: var(--blue-dim);
  color: var(--blue-solid);
}

.risk-badge.med {
  background: rgba(245, 158, 11, 0.12);
  color: var(--status-a);
}

.risk-badge.high,
.badge.high {
  background: rgba(239, 68, 68, 0.12);
  color: var(--status-r);
}

.cashflow-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 16px;
  border: 1px solid var(--navy-3);
  background: var(--navy-3);
}

.cashflow-strip span {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--navy-2);
  padding: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.cashflow-strip strong {
  font-size: 15px;
}

.hero-link,
.hero-note {
  color: var(--silver);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-link {
  opacity: 0.48;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.hero-link:hover {
  color: var(--white);
  opacity: 0.8;
}

.hero-note {
  justify-self: end;
  max-width: 230px;
  text-align: right;
}

.corner-button {
  position: relative;
  display: inline-flex;
  width: fit-content;
  min-width: 128px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: var(--white);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.corner-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(currentColor, currentColor) left top / 12px 1px no-repeat,
    linear-gradient(currentColor, currentColor) left top / 1px 12px no-repeat,
    linear-gradient(currentColor, currentColor) right bottom / 12px 1px no-repeat,
    linear-gradient(currentColor, currentColor) right bottom / 1px 12px no-repeat;
  opacity: 0.42;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.corner-button:hover::before {
  transform: scale(1.08);
  opacity: 0.72;
}

.corner-button.large {
  min-width: 160px;
  min-height: 52px;
  margin-top: 34px;
  color: var(--blue-solid);
}

.has-corners {
  position: relative;
}

.has-corners::before,
.has-corners::after {
  content: '';
  position: absolute;
  width: 9px;
  height: 9px;
  border-color: var(--line);
  border-style: solid;
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.has-corners::before {
  top: -1px;
  left: -1px;
  border-width: 1px 0 0 1px;
}

.has-corners::after {
  right: -1px;
  bottom: -1px;
  border-width: 0 1px 1px 0;
}

.corner-tl,
.corner-tr,
.corner-bl,
.corner-br {
  position: absolute;
  width: 9px;
  height: 9px;
  border-color: var(--line);
  border-style: solid;
  opacity: 0.4;
  pointer-events: none;
}

.corner-tl {
  top: -1px;
  left: -1px;
  border-width: 1px 0 0 1px;
}

.corner-tr {
  top: -1px;
  right: -1px;
  border-width: 1px 1px 0 0;
}

.corner-bl {
  bottom: -1px;
  left: -1px;
  border-width: 0 0 1px 1px;
}

.corner-br {
  right: -1px;
  bottom: -1px;
  border-width: 0 1px 1px 0;
}

.has-corners:hover .corner-tl,
.has-corners:hover .corner-tr,
.has-corners:hover .corner-bl,
.has-corners:hover .corner-br {
  opacity: 1;
}

.panel-rise {
  z-index: 3;
  margin-top: -1px;
  overflow: hidden;
}

.contrast-panel {
  background: var(--fog);
  color: var(--black);
  border-radius: 26px 26px 0 0;
}

.section-intro {
  max-width: 760px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contrast-panel .eyebrow {
  color: var(--black);
}

.section-title {
  color: var(--white);
  font-size: clamp(var(--step-4), 4.2vw, var(--step-6));
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.contrast-panel .section-title {
  color: var(--black);
}

.services {
  padding-top: clamp(118px, 14vh, 190px);
  padding-bottom: clamp(130px, 18vh, 220px);
}

.services-header {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(300px, 0.72fr);
  gap: clamp(40px, 10vw, 190px);
  align-items: end;
}

.services-copy {
  max-width: 620px;
}

.services-copy p {
  border-top: 1px solid rgba(8, 8, 8, 0.14);
  padding-top: 22px;
  color: rgba(8, 8, 8, 0.64);
  font-size: var(--step-1);
  line-height: 1.5;
}

.text-cta {
  position: relative;
  display: inline-flex;
  margin-top: 28px;
  color: var(--black);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-cta::after {
  content: '';
  position: absolute;
  left: 0;
  right: -18px;
  bottom: -6px;
  height: 1px;
  background: var(--blue);
  transform-origin: left;
  transition: transform 0.35s var(--ease-system);
}

.text-cta:hover::after {
  transform: scaleX(0.72);
}

.service-grid {
  display: flex;
  gap: 0;
  margin-top: clamp(62px, 9vw, 124px);
  overflow: hidden;
  border: 1px solid rgba(8, 8, 8, 0.13);
  border-radius: 20px;
  background: rgba(8, 8, 8, 0.09);
}

.service-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  min-height: clamp(460px, 48vw, 640px);
  overflow: hidden;
  padding: clamp(28px, 3vw, 46px);
  isolation: isolate;
  background: var(--fog-soft);
  color: var(--black);
  transform-style: preserve-3d;
  transition:
    flex-basis 0.62s var(--ease-system),
    flex-grow 0.62s var(--ease-system),
    background 0.48s var(--ease-system),
    color 0.48s var(--ease-system),
    box-shadow 0.48s var(--ease-system),
    transform 0.48s var(--ease-system);
}

.service-card + .service-card {
  border-left: 1px solid rgba(8, 8, 8, 0.11);
}

.service-grid:hover .service-card {
  flex-grow: 0.82;
}

.service-grid .service-card:hover,
.service-card:focus-within {
  flex-grow: 1.58;
  background: var(--black);
  color: var(--white);
  box-shadow: 0 30px 90px rgba(8, 8, 8, 0.18);
}

.service-card.is-primary:not(:hover) {
  background: var(--fog-deep);
}

.service-card:nth-child(2):not(:hover) {
  background: var(--fog-soft);
}

.service-card:nth-child(3):not(:hover) {
  background: var(--fog);
}

.service-card:nth-child(2):hover {
  background: var(--system-teal);
  color: var(--black);
}

.service-card:nth-child(3):hover {
  background: var(--fog-soft);
  color: var(--black);
}

.service-card span,
.stat span,
.step span,
.footer {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card span {
  display: block;
  color: var(--ink-muted);
  transform: translateZ(28px);
}

.service-card:hover span {
  color: currentColor;
  opacity: 0.68;
}

.service-card h3 {
  margin-top: auto;
  color: currentColor;
  font-size: clamp(var(--step-3), 3.2vw, var(--step-5));
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
  transform: translateZ(34px);
}

.service-card p {
  max-width: 390px;
  margin-top: 16px;
  color: currentColor;
  font-size: var(--step-0);
  line-height: 1.5;
  opacity: 0.62;
  transform: translateZ(30px);
}

.service-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding-bottom: 70px;
}

.service-action {
  position: absolute;
  left: clamp(28px, 3vw, 46px);
  bottom: clamp(26px, 3vw, 42px);
  z-index: 3;
  color: currentColor;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.36s var(--ease-system), transform 0.36s var(--ease-system);
}

.service-card:hover .service-action,
.service-card:focus-within .service-action {
  opacity: 1;
  transform: translateY(0);
}

.service-mark {
  position: absolute;
  top: clamp(72px, 8vw, 118px);
  left: 50%;
  z-index: 1;
  width: min(260px, 46%);
  height: 180px;
  transform: translateX(-50%) translateZ(46px);
  opacity: 0.52;
  transition: opacity 0.48s var(--ease-system), transform 0.62s var(--ease-system);
}

.service-card:hover .service-mark {
  opacity: 0.86;
  transform: translateX(-50%) translateY(-10px) translateZ(60px) scale(1.1);
}

.bars {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 12px;
}

.bars i {
  width: 8px;
  height: var(--h);
  background: currentColor;
  opacity: 0.5;
}

.bars i:nth-child(1) { --h: 44px; }
.bars i:nth-child(2) { --h: 80px; }
.bars i:nth-child(3) { --h: 130px; background: var(--blue); opacity: 1; }
.bars i:nth-child(4) { --h: 88px; }
.bars i:nth-child(5) { --h: 52px; }

.orbit i,
.stack i {
  position: absolute;
  border: 1px solid currentColor;
}

.orbit i {
  inset: calc(var(--i) * 24px);
  border-radius: 50%;
  transform: rotate(calc(var(--i) * 26deg)) skewX(-16deg);
}

.orbit i:nth-child(1) { --i: 0; border-color: var(--blue); }
.orbit i:nth-child(2) { --i: 1; }
.orbit i:nth-child(3) { --i: 2; }

.stack i {
  left: 18px;
  width: 154px;
  height: 44px;
  transform: translateY(calc(var(--i) * 32px)) skewY(-8deg);
}

.stack i:nth-child(1) { --i: 0; }
.stack i:nth-child(2) { --i: 1; border-color: var(--blue); }
.stack i:nth-child(3) { --i: 2; }

.mark-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mark-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 28px;
  border-bottom: 1px solid currentColor;
  color: currentColor;
  font-family: var(--mono);
  font-size: 10px;
  opacity: 0.78;
}

.mark-row span {
  display: inline;
  color: currentColor;
  transform: none;
}

.service-card:hover .mark-row span {
  color: currentColor;
  opacity: 1;
}

.mark-app {
  display: flex;
  gap: 8px;
  height: 100%;
}

.mark-sidebar {
  width: 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 8px;
}

.mark-sidebar i {
  height: 6px;
  border-radius: 3px;
  background: currentColor;
  opacity: 0.3;
}

.mark-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mark-card {
  flex: 1;
  border-radius: 6px;
  background: currentColor;
  opacity: 0.12;
}

.mark-page {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mark-band {
  border-radius: 4px;
  background: currentColor;
  opacity: 0.15;
}

.nav-band {
  height: 12px;
  opacity: 0.3;
}

.hero-band {
  height: 52px;
  opacity: 0.18;
  border-left: 2px solid var(--blue-solid);
}

.body-band {
  height: 36px;
}

.proof {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.proof-intro {
  margin-left: auto;
  max-width: 720px;
  text-align: right;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: auto;
  border: 1px solid var(--line);
  background: var(--line);
}

.stat {
  min-height: 170px;
  padding: 24px;
  background: rgba(18, 18, 18, 0.92);
}

.stat span {
  color: var(--silver);
}

.stat strong {
  display: block;
  margin-top: 50px;
  color: var(--white);
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.case-studies {
  background: var(--black-soft);
}

.cs-sub {
  max-width: 520px;
  margin-top: 18px;
  color: var(--silver);
  font-size: var(--step-1);
  line-height: 1.55;
}

.cs-anchor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  background: var(--black-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(28px, 4vw, 48px);
  margin: clamp(40px, 5vh, 64px) 0 2px;
}

.cs-anchor-left p {
  max-width: 560px;
  color: var(--silver);
  font-size: var(--step-0);
  line-height: 1.65;
}

.cs-big-stat {
  display: block;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--blue-solid);
  margin-bottom: 14px;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bar-row:last-child {
  margin-bottom: 0;
}

.bar-label {
  width: 48px;
  color: var(--silver);
}

.bar-label.after {
  color: var(--blue-solid);
}

.bar-track {
  flex: 1;
  height: 6px;
  background: rgba(214, 213, 204, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 4px;
  width: 0;
  transition: none;
}

.before-bar {
  background: rgba(214, 213, 204, 0.2);
}

.after-bar {
  background: var(--blue-solid);
}

.bar-value {
  min-width: 52px;
  color: var(--silver);
  text-align: right;
  font-size: 10px;
}

.bar-value.after {
  color: var(--blue-solid);
}

.cs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 2px;
}

.cs-card {
  background: var(--black-card);
  border: 1px solid var(--line);
  border-top: 2px solid var(--blue-solid);
  border-radius: 10px;
  padding: clamp(22px, 3vw, 32px);
}

.cs-card.financial {
  border-top-color: var(--status-a);
}

.cs-tag,
.cs-tags,
.cs-portfolio-note {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cs-tag {
  display: block;
  color: var(--silver);
}

.cs-metric {
  display: block;
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--blue-solid);
  margin: 12px 0 8px;
}

.cs-card.financial .cs-metric {
  color: var(--status-a);
}

.cs-card h3,
.cs-full h3 {
  color: var(--white);
  font-size: var(--step-2);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.cs-card p,
.cs-full p {
  max-width: 560px;
  margin-top: 12px;
  color: var(--silver);
  line-height: 1.6;
}

.cs-tags {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--silver);
}

.cs-full {
  margin-top: 2px;
  background: var(--black-card);
  border: 1px solid var(--line);
  border-top: 2px solid var(--blue-solid);
  border-radius: 10px;
  padding: clamp(22px, 3vw, 32px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.funnel {
  display: grid;
  gap: 14px;
  padding: 8px 0;
}

.funnel-row {
  display: grid;
  grid-template-columns: 90px 1fr 48px;
  gap: 12px;
  align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver);
}

.funnel-track {
  height: 10px;
  background: rgba(214, 213, 204, 0.08);
  border-radius: 5px;
  overflow: hidden;
}

.funnel-track i {
  display: block;
  width: var(--w);
  height: 100%;
  background: var(--blue-solid);
  border-radius: inherit;
}

.funnel-row strong {
  color: var(--white);
  text-align: right;
}

.cs-portfolio-note {
  color: var(--silver);
  margin-top: clamp(24px, 3vh, 40px);
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(420px, 1fr);
  gap: clamp(54px, 10vw, 160px);
  align-items: start;
}

.steps {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.step {
  display: grid;
  grid-template-columns: 76px 0.55fr 1fr;
  gap: 28px;
  align-items: baseline;
  padding: 28px;
  background: rgba(18, 18, 18, 0.92);
}

.step span {
  color: var(--blue);
}

.step h3 {
  font-size: clamp(24px, 2.6vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.step p {
  color: var(--silver);
  line-height: 1.5;
}

.contact {
  display: grid;
  min-height: 78vh;
  place-items: center;
  padding-top: var(--section-y-cta);
  padding-bottom: var(--section-y-cta);
  text-align: center;
}

.contact-inner {
  width: min(780px, 100%);
}

.contact-sub {
  max-width: 540px;
  margin: 24px auto 0;
  color: var(--silver);
  font-size: var(--step-0);
  line-height: 1.65;
}

.contact-context {
  max-width: 440px;
  margin: 14px auto 0;
  color: var(--silver);
  font-size: 13px;
  font-style: italic;
  line-height: 1.55;
  opacity: 0.7;
}

.contact-email {
  margin-top: 18px;
  color: var(--silver);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-email a {
  color: var(--white);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s ease;
}

.contact-email a:hover {
  border-color: var(--blue-solid);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 22px var(--pad);
  color: var(--silver);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.footer-meta > * {
  display: inline-flex;
  align-items: center;
}

.footer-meta > * + *::before {
  content: '\00B7';
  margin-right: 12px;
  color: var(--silver);
}

.footer-cta {
  color: var(--white);
  flex: 0 0 auto;
}

.js .reveal,
.js .reveal-child {
  opacity: 0;
}

.js .hero-footer.reveal {
  opacity: 1;
}

.js .hero-title span {
  opacity: 0;
}

.js .reveal-clip {
  opacity: 0;
  clip-path: inset(0 0 100% 0);
}

.tilt-card {
  will-change: transform;
}

@media (max-width: 980px) {
  .nav-links {
    gap: 18px;
    font-size: 10px;
  }

  .hero-title span {
    max-width: min(700px, 78vw);
  }

  .hero-left,
  .hero-right {
    left: 0;
    right: auto;
    text-align: left;
  }

  .hero-left {
    top: 35%;
  }

  .hero-right {
    top: 53%;
  }

  .hero-cta {
    bottom: 166px;
  }

  .hero-footer {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-footer p {
    grid-column: auto;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-note {
    justify-self: start;
    text-align: left;
  }

  .proof-bar,
  .stat-row,
  .process-grid {
    grid-template-columns: 1fr;
  }

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

  .cs-anchor {
    grid-template-columns: 1fr;
  }

  .services-header {
    grid-template-columns: 1fr;
  }

  .service-grid {
    flex-direction: column;
    border-radius: 16px;
  }

  .service-grid:hover .service-card,
  .service-grid .service-card:hover,
  .service-card:focus-within {
    flex-grow: 1;
  }

  .service-card + .service-card {
    border-left: 0;
    border-top: 1px solid rgba(10, 10, 10, 0.13);
  }

  .service-card {
    min-height: 380px;
  }

  .service-mark {
    left: auto;
    right: 32px;
    width: 150px;
    max-width: 34%;
    opacity: 0.36;
    transform: translateZ(24px);
  }

  .service-card:hover .service-mark {
    opacity: 0.58;
    transform: translateY(-6px) translateZ(28px) scale(1.04);
  }

  .proof-intro {
    margin-left: 0;
    text-align: left;
  }

  .step {
    grid-template-columns: 56px 1fr;
  }

  .step p {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  #nav {
    top: 18px;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .panel {
    min-height: auto;
    padding-top: 110px;
    padding-bottom: 110px;
  }

  .hero {
    min-height: 100vh;
  }

  .hero-title span {
    font-size: clamp(30px, 9vw, 48px);
    max-width: 88vw;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
    bottom: 190px;
    gap: 16px;
  }

  .hero-footer {
    bottom: 18px;
  }

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

  .hero-proof span {
    min-height: 38px;
    padding: 10px 8px;
    font-size: 8.5px;
  }

  .demo-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }

  .demo-panel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .demo-summary,
  .agent-grid,
  .cashflow-strip {
    min-width: 720px;
  }

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

  .demo-body {
    min-width: 720px;
  }

  .cs-grid,
  .cs-full {
    grid-template-columns: 1fr;
  }

  .funnel {
    display: none;
  }

  .contact-sub {
    font-size: 15px;
  }

  .section-title {
    font-size: clamp(34px, 11vw, 54px);
  }

  .service-card {
    min-height: 360px;
  }

  .service-card h3 {
    font-size: clamp(var(--step-2), 9vw, var(--step-4));
  }

  .service-mark {
    top: 58px;
    width: 132px;
  }

  .footer {
    flex-direction: column;
  }
}
