:root {
  --page: #020b0a;
  --page-2: #071612;
  --panel: #091713;
  --panel-2: #0d201a;
  --panel-3: #142a23;
  --ink: #f4eee1;
  --text: #d5e5de;
  --muted: #93aea4;
  --faint: #66847a;
  --line: rgba(99, 171, 148, .16);
  --line-strong: rgba(99, 171, 148, .3);
  --teal: #54b79e;
  --teal-strong: #d3a263;
  --teal-dim: #123a30;
  --copper: #c78e4f;
  --blue: #71bca8;
  --plum: #152922;
  --pulse-bg: #020b0a;
  --pulse-lift: #081813;
  --pulse-edge-rgb: 29, 91, 75;
  --pulse-accent-rgb: 199, 142, 79;
  --continuum-accent: #54b79e;
  --continuum-accent-soft: rgba(84, 183, 158, .12);
  --continuum-blue: #d3a263;
}

body {
  font-family: "Inter", system-ui, sans-serif;
}

h1,
h2,
h3,
.hero-line {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  transition: background-color 180ms ease, border-color 180ms ease, transform 220ms ease;
}

.topbar.is-scrolled {
  border-color: rgba(140, 220, 214, .2);
  background: rgba(4, 9, 12, .94);
}

.topbar-inner {
  min-height: 76px;
}

.brand {
  position: relative;
  min-width: 176px;
  overflow: hidden;
}

.brand-mark {
  width: 176px;
  height: 44px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(199, 142, 79, .24);
  border-radius: 8px;
}

.brand::before,
.brand::after {
  display: none;
}

.nav a {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .01em;
}

.nav .primary-link {
  border-radius: 0;
}

.continuum-hero {
  min-height: 820px;
  padding: 150px 0 92px;
  background:
    linear-gradient(90deg, rgba(2, 11, 10, .24), rgba(2, 11, 10, .7)),
    radial-gradient(900px 560px at 12% 12%, rgba(50, 132, 109, .22), transparent 68%),
    radial-gradient(760px 480px at 92% 28%, rgba(199, 142, 79, .12), transparent 72%),
    #04100d;
}

.continuum-hero::before {
  opacity: .24;
}

.hero-inner {
  grid-template-columns: minmax(420px, .9fr) minmax(560px, 1.1fr);
  gap: clamp(56px, 8vw, 138px);
  align-items: center;
}

.hero-copy {
  max-width: 720px;
}

.hero-logo-picture {
  width: min(100%, 620px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(199, 142, 79, .28);
  border-radius: 18px;
  background: #06110e;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .34), 0 0 54px rgba(84, 183, 158, .08);
}

.hero-logo-picture::before,
.hero-logo-picture::after {
  display: none;
}

.hero-logo {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(.94) contrast(1.03);
}

.hero-line {
  max-width: 660px;
  margin-top: 28px;
  font-size: clamp(34px, 3.45vw, 54px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
}

.hero-copy > p {
  max-width: 64ch;
  color: #a9c0c4;
  font-size: 15px;
  line-height: 1.68;
}

.hero-copy > p + p {
  margin-top: 12px;
}

.cf-button {
  min-height: 48px;
  border-radius: 0;
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: .01em;
  transition: transform 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

.cf-button:hover {
  transform: translate(-3px, -3px);
}

.workflow-animation {
  width: 100%;
  min-height: 590px;
  align-self: center;
  overflow: hidden;
  border: 1px solid rgba(140, 220, 214, .3);
  border-radius: 0;
  background: #061013;
  box-shadow: 24px 24px 0 rgba(1, 7, 9, .7);
}

.live-workspace {
  min-height: 590px;
  display: flex;
  flex-direction: column;
}

.workspace-bar {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(140, 220, 214, .18);
  color: #6f9399;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.workspace-bar span:first-child {
  color: var(--continuum-accent);
}

.workspace-grid {
  min-height: 542px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
}

.workspace-index {
  border-right: 1px solid rgba(140, 220, 214, .18);
  background: #071419;
}

.workspace-tab {
  width: 100%;
  min-height: 106px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 6px 10px;
  align-content: center;
  padding: 16px;
  border: 0;
  border-bottom: 1px solid rgba(140, 220, 214, .13);
  border-radius: 0;
  background: transparent;
  color: #dcecef;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 150ms ease, box-shadow 150ms ease;
}

.workspace-tab span {
  grid-row: 1 / 3;
  color: #50828a;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 9px;
}

.workspace-tab strong {
  color: #eaf4f5;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
}

.workspace-tab small {
  color: #68878d;
  font-size: 9px;
}

.workspace-tab.is-active {
  background: rgba(47, 212, 194, .08);
  box-shadow: inset 3px 0 var(--continuum-accent);
}

.workspace-detail {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 46px);
}

.workspace-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(140, 220, 214, .22);
}

.workspace-heading span,
.workspace-action span {
  color: #5f8990;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.workspace-heading h2 {
  margin-top: 9px;
  color: #f1f7f7;
  font-size: clamp(28px, 2.35vw, 38px);
  line-height: .98;
}

.workspace-heading b {
  justify-self: start;
  min-width: max-content;
  padding: 8px 10px;
  border: 1px solid rgba(47, 212, 194, .4);
  color: var(--continuum-accent);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.workspace-fields {
  margin: 0;
}

.workspace-fields div {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(140, 220, 214, .12);
}

.workspace-fields dt {
  color: #55777d;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.workspace-fields dd {
  margin: 0;
  color: #c9dade;
  font-size: 11px;
}

.workspace-action {
  margin-top: auto;
  padding: 20px;
  border-left: 3px solid var(--continuum-accent);
  background: rgba(47, 212, 194, .07);
}

.workspace-action p {
  margin-top: 10px;
  color: #e3edef;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.35;
}

.band {
  padding: clamp(92px, 9vw, 136px) 0;
  background: #050c0f;
}

.band:nth-of-type(odd) {
  background: #071115;
}

.split-head {
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(140, 220, 214, .14);
}

.split-head h2,
.system-identity h2,
.statement-inner h2,
.cta-band h2 {
  letter-spacing: -.045em;
}

.problem-row,
.ledger-row,
.flow-row {
  transition: padding-left 180ms ease, background-color 180ms ease;
}

.problem-row:hover,
.ledger-row:hover,
.flow-row:hover {
  padding-left: 16px;
  background: rgba(47, 212, 194, .025);
}

.statement-band {
  border-block: 1px solid rgba(140, 220, 214, .2);
  background: #0a191c;
}

.statement-inner {
  min-height: 410px;
}

.record-mock {
  border-radius: 0;
  background: #061317;
}

.record-pill {
  border-radius: 0;
}

.cta-band {
  background:
    linear-gradient(90deg, rgba(47, 212, 194, .08), transparent 58%),
    #071317;
}

.footer-inner {
  min-height: 180px;
}

@media (max-width: 1120px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 780px;
  }

  .workflow-animation {
    max-width: 860px;
  }
}

@media (max-width: 760px) {
  .topbar {
    position: sticky;
  }

  .topbar-inner {
    min-height: 66px;
  }

  .brand {
    min-width: 132px;
  }

  .brand-mark {
    width: 132px;
    height: 36px;
  }

  .continuum-hero {
    min-height: 0;
    padding: 82px 0 74px;
  }

  .hero-line {
    font-size: clamp(34px, 10vw, 48px);
  }

  .workflow-animation,
  .live-workspace {
    min-height: 0;
    box-shadow: 10px 10px 0 rgba(1, 7, 9, .7);
  }

  .workspace-grid {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .workspace-index {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-right: 0;
    border-bottom: 1px solid rgba(140, 220, 214, .18);
  }

  .workspace-tab {
    min-height: 94px;
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .workspace-tab + .workspace-tab {
    border-left: 1px solid rgba(140, 220, 214, .12);
  }

  .workspace-tab span {
    grid-row: auto;
  }

  .workspace-tab small {
    display: none;
  }

  .workspace-tab.is-active {
    box-shadow: inset 0 3px var(--continuum-accent);
  }

  .workspace-detail {
    padding: 24px 17px;
  }

  .workspace-heading {
    flex-direction: column;
  }

  .workspace-fields div {
    grid-template-columns: 88px 1fr;
  }

  .band {
    padding: 78px 0;
  }

  .problem-row:hover,
  .ledger-row:hover,
  .flow-row:hover {
    padding-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* 2026-08-07 refinement: one flowing canvas, contained cards, no drifting field. */
body,
body.os {
  background:
    radial-gradient(900px 680px at -8% 4%, rgba(38, 117, 97, .24), transparent 70%),
    radial-gradient(780px 600px at 106% 18%, rgba(84, 183, 158, .15), transparent 72%),
    radial-gradient(960px 720px at 86% 62%, rgba(199, 142, 79, .12), transparent 76%),
    radial-gradient(920px 700px at 4% 88%, rgba(72, 134, 112, .14), transparent 74%),
    linear-gradient(155deg, #020a09 0%, #061410 42%, #0b1a14 72%, #020a09 100%) !important;
  background-attachment: fixed !important;
  background-position: center !important;
  background-size: cover !important;
  animation: none !important;
}

body::before {
  inset: -18% !important;
  background:
    radial-gradient(closest-side at 18% 24%, rgba(43, 125, 103, .2), transparent 76%),
    radial-gradient(closest-side at 82% 30%, rgba(84, 183, 158, .13), transparent 78%),
    radial-gradient(closest-side at 64% 82%, rgba(199, 142, 79, .1), transparent 80%) !important;
  background-size: auto !important;
  opacity: .72 !important;
  transform: scale(1) !important;
  transform-origin: 50% 42% !important;
  animation: continuumAmbientPulse 10s ease-in-out infinite !important;
}

body::after {
  inset: -12% !important;
  background:
    radial-gradient(ellipse at 48% 18%, rgba(84, 183, 158, .08), transparent 46%),
    radial-gradient(ellipse at 58% 72%, rgba(199, 142, 79, .07), transparent 52%) !important;
  filter: blur(42px) !important;
  opacity: .46 !important;
  transform: scale(1) !important;
  transform-origin: center !important;
  animation: continuumAmbientPulse 12s ease-in-out -3s infinite reverse !important;
}

.continuum-hero,
.band,
.band:nth-of-type(odd),
.statement-band,
.cta-band {
  border-block: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  background: transparent !important;
}

.continuum-hero::before,
.statement-band::before,
.cta-band::before {
  display: none !important;
}

.split-head {
  border-bottom: 0;
}

.hero-boundary {
  margin-top: 18px !important;
  padding-left: 16px;
  border-left: 2px solid rgba(47, 212, 194, .46);
  color: #87a8ae !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
}

.problem-list,
.system-ledger,
.engagement-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  border-top: 0;
}

.problem-row,
.ledger-row,
.flow-row,
.system-ledger .ledger-row {
  flex: 1 1 calc(50% - 9px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  min-width: min(100%, 360px);
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid rgba(140, 220, 214, .16);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(15, 49, 40, .74), rgba(5, 17, 14, .92) 58%),
    rgba(5, 16, 13, .84);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .16);
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.problem-row:last-child:nth-child(odd),
.flow-row:last-child:nth-child(odd) {
  flex-basis: 100%;
}

.problem-row:hover,
.ledger-row:hover,
.flow-row:hover {
  padding-left: clamp(26px, 3vw, 38px);
  border-color: rgba(199, 142, 79, .44);
  background:
    linear-gradient(145deg, rgba(20, 61, 50, .8), rgba(7, 20, 16, .94) 58%),
    rgba(6, 19, 15, .9);
  box-shadow: 0 28px 76px rgba(0, 0, 0, .22);
}

.problem-row span,
.ledger-row span,
.flow-row span {
  color: #d3a263;
  letter-spacing: .12em;
}

.problem-row h3,
.ledger-row h3,
.flow-row h3 {
  font-size: clamp(25px, 2.2vw, 32px);
}

.problem-row p,
.ledger-row p,
.flow-row p {
  color: #9fb7bd;
  font-size: 16px;
}

.statement-inner {
  min-height: 410px;
  padding: clamp(34px, 6vw, 82px);
  border: 1px solid rgba(199, 142, 79, .22);
  border-radius: 24px;
  background:
    radial-gradient(620px 360px at 88% 16%, rgba(199, 142, 79, .1), transparent 70%),
    linear-gradient(135deg, rgba(18, 53, 43, .74), rgba(5, 18, 14, .92) 62%);
  box-shadow: 0 32px 100px rgba(0, 0, 0, .2);
}

.system-identity {
  border: 1px solid rgba(140, 220, 214, .16);
  border-radius: 18px;
  padding: clamp(28px, 4vw, 46px);
  background:
    radial-gradient(420px 260px at 12% 0%, rgba(84, 183, 158, .1), transparent 70%),
    rgba(5, 19, 15, .78);
}

.cta-band > .shell {
  padding: clamp(46px, 7vw, 90px);
  border: 1px solid rgba(199, 142, 79, .22);
  border-radius: 24px;
  background:
    radial-gradient(680px 360px at 50% 0%, rgba(199, 142, 79, .1), transparent 72%),
    linear-gradient(135deg, rgba(17, 51, 42, .8), rgba(5, 18, 14, .94) 64%);
  box-shadow: 0 32px 100px rgba(0, 0, 0, .22);
}

@keyframes continuumAmbientPulse {
  0%,
  100% {
    opacity: .42;
    transform: scale(.98);
  }

  50% {
    opacity: .78;
    transform: scale(1.025);
  }
}

@media (max-width: 760px) {
  .workflow-animation {
    display: block;
  }

  .problem-list,
  .system-ledger,
  .engagement-flow {
    display: grid;
    grid-template-columns: 1fr;
  }

  .problem-row,
  .ledger-row,
  .flow-row,
  .system-ledger .ledger-row,
  .problem-row:hover,
  .ledger-row:hover,
  .flow-row:hover {
    min-width: 0;
    padding: 26px;
  }

  .statement-inner,
  .cta-band > .shell {
    padding: 34px 24px;
    border-radius: 18px;
  }
}
