:root {
  color-scheme: light;
  --paper: #f3f0e6;
  --paper-deep: #e7e0d1;
  --surface: #fffdf7;
  --ink: #18231d;
  --muted: #5b655f;
  --line: #c9c4b7;
  --forest: #173f32;
  --forest-deep: #0c2c23;
  --forest-soft: #275848;
  --acid: #daf36f;
  --acid-soft: #edf8b8;
  --clay: #c95d3d;
  --clay-soft: #f5d8ca;
  --focus: #245ef5;
  --shadow: 0 22px 70px rgb(16 39 29 / 12%);
  --radius-sm: 0.55rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --shell: 73rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
summary,
select {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

::selection {
  background: var(--acid);
  color: var(--ink);
}

.shell {
  width: min(calc(100% - 2rem), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-weight: 750;
  transform: translateY(-180%);
}

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

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 0.8rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--forest-soft);
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.99;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 7.5vw, 6.4rem);
}

h2 {
  max-width: 18ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.35rem, 5vw, 4.35rem);
}

h3,
h4 {
  line-height: 1.22;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgb(24 35 29 / 12%);
  background: rgb(243 240 230 / 91%);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand img {
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-left: auto;
}

.site-nav a {
  color: #39463e;
  font-size: 0.9rem;
  font-weight: 680;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--forest);
  text-decoration: underline;
}

.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--small {
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
}

.button--ink {
  background: var(--ink);
  color: var(--surface);
}

.button--ink:hover {
  background: var(--forest);
}

.button--accent {
  border-color: #bdd747;
  background: var(--acid);
  color: #142018;
  box-shadow: 0 8px 24px rgb(218 243 111 / 17%);
}

.button--accent:hover {
  background: #e4fa83;
}

.button--quiet {
  border-color: #9caa9f;
  background: transparent;
  color: #f5f6f2;
}

.button--quiet:hover {
  border-color: var(--surface);
}

.button--full {
  width: 100%;
}

.button.is-disabled,
.button[aria-disabled="true"] {
  border-color: #bdc2b8;
  background: #dfe0d7;
  box-shadow: none;
  color: #59615c;
  cursor: not-allowed;
}

.button.is-disabled:hover,
.button[aria-disabled="true"]:hover {
  transform: none;
}

.text-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.55rem;
  font-weight: 780;
}

.text-link span {
  font-size: 1.15em;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 8.5rem) 0 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgb(23 63 50 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(23 63 50 / 5%) 1px, transparent 1px),
    radial-gradient(circle at 84% 24%, rgb(218 243 111 / 45%), transparent 29rem),
    var(--paper);
  background-size: 4rem 4rem, 4rem 4rem, auto, auto;
}

.hero::before {
  position: absolute;
  width: 19rem;
  height: 19rem;
  border: 1px solid rgb(23 63 50 / 13%);
  border-radius: 50%;
  content: "";
  right: -10rem;
  top: 3rem;
}

.hero__grid {
  position: relative;
  display: grid;
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
}

.hero__copy {
  padding-bottom: clamp(4rem, 9vw, 7rem);
}

.hero__lede {
  max-width: 39rem;
  margin-bottom: 2rem;
  color: #46544c;
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.66;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
}

.price-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.price-line strong {
  color: var(--ink);
}

.snapshot {
  position: relative;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--forest-deep);
  color: #f8faef;
  box-shadow: var(--shadow);
}

.snapshot::after {
  position: absolute;
  z-index: -1;
  width: 70%;
  height: 2rem;
  border-radius: 50%;
  bottom: -0.8rem;
  left: 15%;
  background: rgb(12 44 35 / 23%);
  content: "";
  filter: blur(18px);
}

.snapshot__topline,
.snapshot__heading,
.snapshot__metrics,
.mini-ledger__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.snapshot__topline {
  margin-bottom: 2rem;
}

.sample-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 1.75rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid #a7b6aa;
  border-radius: 999px;
  color: #3b4a41;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  line-height: 1.1;
  text-transform: uppercase;
}

.sample-tag--dark {
  border-color: #597065;
  color: #cbd4cc;
}

.sync-state {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #c9d3cb;
  font-size: 0.74rem;
  font-weight: 650;
}

.sync-state > span,
.demo-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 4px rgb(218 243 111 / 10%);
}

.snapshot__heading {
  align-items: flex-start;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
}

.snapshot__heading p {
  margin-bottom: 0.2rem;
  color: #aebcb2;
  font-size: 0.75rem;
}

.snapshot__heading strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.snapshot__mark {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border: 1px solid rgb(218 243 111 / 46%);
  border-radius: 0.7rem;
  color: var(--acid);
  font-size: 0.72rem;
  font-weight: 900;
}

.snapshot__metrics {
  align-items: stretch;
  padding: 1.4rem 0;
}

.snapshot__metrics > div {
  flex: 1;
}

.snapshot__metrics > div + div {
  padding-left: 1rem;
  border-left: 1px solid rgb(255 255 255 / 12%);
}

.snapshot__metrics span,
.snapshot__metrics small {
  display: block;
  color: #9eafa4;
  font-size: 0.7rem;
}

.snapshot__metrics strong {
  display: block;
  margin: 0.25rem 0;
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.2;
}

.mini-ledger {
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 11%);
  border-radius: var(--radius-sm);
}

.mini-ledger__row {
  display: grid;
  padding: 0.75rem 0.8rem;
  grid-template-columns: minmax(0, 1fr) 3rem 3.1rem;
  border-top: 1px solid rgb(255 255 255 / 8%);
  font-size: 0.73rem;
}

.mini-ledger__row:first-child {
  border-top: 0;
}

.mini-ledger__row span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-ledger__row strong,
.mini-ledger__row em {
  text-align: right;
}

.mini-ledger__row em {
  color: #ffc1a9;
  font-style: normal;
  font-weight: 750;
}

.mini-ledger__row em.is-current {
  color: #bce2c9;
}

.mini-ledger__row--head {
  color: #899b90;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.snapshot__note {
  margin: 1rem 0 0;
  color: #aebcb2;
  font-size: 0.72rem;
  text-align: center;
}

.fit-strip {
  display: grid;
  border: 1px solid var(--line);
  border-bottom: 0;
  background: rgb(255 253 247 / 72%);
  grid-template-columns: repeat(3, 1fr);
}

.fit-strip span {
  display: flex;
  min-height: 4.8rem;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  color: #46534b;
  font-size: 0.78rem;
  font-weight: 730;
  text-align: center;
}

.fit-strip span + span {
  border-left: 1px solid var(--line);
}

.section {
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.section-heading > p:not(.eyebrow) {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-heading--split {
  display: grid;
  align-items: end;
  gap: 2rem 5rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.65fr);
}

.section-heading--split > p {
  margin-bottom: 0.4rem;
}

.section-heading--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-heading--center h2 {
  max-width: 21ch;
}

.section--problem {
  background: var(--surface);
}

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

.problem-card {
  min-height: 20rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  background: var(--surface);
}

.problem-card__number {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  margin-bottom: 5rem;
  place-items: center;
  border: 1px solid #98a399;
  border-radius: 50%;
  color: var(--forest);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 800;
}

.problem-card h3 {
  margin-bottom: 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 600;
}

.problem-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.workflow-list {
  display: grid;
  gap: 1.25rem;
  max-width: 58rem;
  margin: 4rem auto 0;
  padding: 0;
  list-style: none;
}

.workflow-list li {
  display: grid;
  align-items: start;
  gap: 1.5rem;
  padding: 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgb(255 253 247 / 62%);
  grid-template-columns: auto 1fr;
}

.workflow-list__number {
  display: grid;
  width: 3.15rem;
  height: 3.15rem;
  place-items: center;
  border-radius: 0.85rem;
  background: var(--forest);
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9rem;
  font-weight: 900;
}

.workflow-list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
}

.workflow-list p {
  max-width: 43rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.section--demo {
  overflow: hidden;
  background: var(--forest-deep);
  color: #f7f8f2;
}

.section-heading--light .eyebrow {
  color: var(--acid);
}

.section-heading--light > p:not(.eyebrow) {
  color: #d0d9d3;
}

.demo-shell {
  overflow: hidden;
  margin-top: 4rem;
  border: 1px solid #456257;
  border-radius: var(--radius-lg);
  background: #12362b;
  box-shadow: 0 30px 90px rgb(0 0 0 / 24%);
}

.demo-shell__bar {
  display: flex;
  min-height: 3.6rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.2rem;
  border-bottom: 1px solid #456257;
  background: #0a271f;
}

.demo-shell__bar > div {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.demo-shell__bar strong {
  font-size: 0.78rem;
}

.demo-shell__bar p {
  margin: 0;
  color: #b9c8be;
  font-size: 0.72rem;
  font-weight: 690;
}

.demo-layout {
  display: grid;
  gap: 1px;
  background: #456257;
  grid-template-columns: minmax(19rem, 0.7fr) minmax(0, 1.3fr);
}

.stop-card,
.ledger-panel {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2.1rem);
  background: #12362b;
}

.stop-card__heading,
.ledger-panel__heading,
.activity-panel__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.panel-kicker {
  margin-bottom: 0.35rem;
  color: #91a69a;
  font-size: 0.68rem;
}

.stop-card h3,
.ledger-panel h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 600;
}

.field-grid {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.6rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field label,
.count-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
}

.field select {
  width: 100%;
  min-height: 3rem;
  margin-top: 0.4rem;
  padding: 0.65rem 2rem 0.65rem 0.75rem;
  border: 1px solid #60796d;
  border-radius: var(--radius-sm);
  background: #0e2e25;
  color: #f7f8f2;
  font-size: 0.83rem;
}

.balance-before {
  display: grid;
  gap: 0.8rem;
  margin: 1.1rem 0;
  padding: 1rem;
  border: 1px solid #456257;
  border-radius: var(--radius-sm);
  background: #0d2c23;
  grid-template-columns: repeat(3, 1fr);
}

.balance-before span,
.balance-before strong {
  display: block;
}

.balance-before span {
  margin-bottom: 0.25rem;
  color: #91a69a;
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.03em;
}

.balance-before strong {
  color: #f3f6ee;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
}

.balance-before [data-status="review"] {
  color: #ffb59e;
}

.balance-before [data-status="current"] {
  color: #bce2c9;
}

.count-help {
  margin: 0 0 0.9rem;
  color: #aebfb4;
  font-size: 0.72rem;
}

.count-stack {
  overflow: hidden;
  border: 1px solid #456257;
  border-radius: var(--radius-sm);
}

.count-field {
  display: flex;
  min-height: 4.4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem;
  border-top: 1px solid #456257;
}

.count-field:first-child {
  border-top: 0;
}

.count-field > div:first-child span {
  display: block;
  margin-top: 0.1rem;
  color: #91a69a;
  font-size: 0.68rem;
}

.stepper {
  display: grid;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid #60796d;
  border-radius: 0.55rem;
  background: #0d2c23;
  grid-template-columns: 2.75rem 3.25rem 2.75rem;
}

.stepper button,
.stepper input {
  min-width: 0;
  min-height: 2.75rem;
  border: 0;
  background: transparent;
  color: #f7f8f2;
  text-align: center;
}

.stepper button {
  font-size: 1.15rem;
  font-weight: 800;
}

.stepper button:hover {
  background: #244c3f;
}

.stepper button:focus-visible,
.stepper input:focus-visible {
  position: relative;
  z-index: 1;
  outline-offset: -4px;
}

.stepper input {
  width: 100%;
  border-right: 1px solid #60796d;
  border-left: 1px solid #60796d;
  border-radius: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 800;
}

.stepper input[aria-invalid="true"] {
  background: #5a2b26;
}

.formula {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin: 1rem 0;
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  background: #0b2a21;
}

.formula span {
  min-width: 2.15rem;
  text-align: center;
}

.formula strong,
.formula small {
  display: block;
}

.formula strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88rem;
}

.formula small {
  color: #91a69a;
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.formula b {
  color: #738b7f;
  font-weight: 600;
}

.formula__result {
  padding: 0.25rem;
  border-radius: 0.35rem;
  background: var(--acid);
  color: var(--ink);
}

.formula__result small {
  color: #3e4e42;
}

.formula__result--invalid {
  background: var(--clay-soft);
  color: #5a2417;
}

.formula__result--invalid small {
  color: #6a2e20;
}

.form-error,
.noscript-note {
  margin: 0.8rem 0;
  padding: 0.7rem 0.8rem;
  border: 1px solid #c97962;
  border-radius: var(--radius-sm);
  background: #4b2822;
  color: #ffe7df;
  font-size: 0.78rem;
}

.stop-card__actions {
  display: grid;
  gap: 0.65rem;
}

.unit-cost {
  margin: 0.75rem 0 0;
  color: #91a69a;
  font-size: 0.68rem;
  text-align: center;
}

.unit-cost strong {
  color: #cad6ce;
}

.ledger-panel__heading {
  align-items: center;
}

.ledger-panel__heading > span {
  padding: 0.35rem 0.55rem;
  border: 1px solid #587166;
  border-radius: 999px;
  color: #b9c8be;
  font-size: 0.65rem;
  font-weight: 720;
}

.summary-grid {
  display: grid;
  overflow: hidden;
  margin: 1.6rem 0 1rem;
  border: 1px solid #456257;
  border-radius: var(--radius-sm);
  grid-template-columns: repeat(3, 1fr);
}

.summary-grid > div {
  min-width: 0;
  padding: 1rem;
  border-left: 1px solid #456257;
}

.summary-grid > div:first-child {
  border-left: 0;
}

.summary-grid span,
.summary-grid small,
.summary-grid strong {
  display: block;
}

.summary-grid span {
  min-height: 2.1em;
  color: #91a69a;
  font-size: 0.68rem;
  font-weight: 720;
  line-height: 1.3;
}

.summary-grid strong {
  overflow: hidden;
  margin: 0.25rem 0;
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(1.15rem, 2.6vw, 1.8rem);
  line-height: 1.2;
  text-overflow: ellipsis;
}

.summary-grid small {
  color: #a9b7ae;
  font-size: 0.64rem;
}

.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.05rem 0 0.5rem;
}

.table-toolbar strong {
  font-size: 0.74rem;
}

.table-toolbar span {
  display: none;
  color: #aebfb4;
  font-size: 0.64rem;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid #456257;
  border-radius: var(--radius-sm);
}

.table-scroll:focus-visible {
  outline-offset: 2px;
}

table {
  width: 100%;
  min-width: 37rem;
  border-collapse: collapse;
  font-size: 0.72rem;
}

th,
td {
  padding: 0.75rem;
  border-top: 1px solid #3f5b50;
  text-align: left;
  white-space: nowrap;
}

thead th {
  border-top: 0;
  background: #0c2b22;
  color: #8fa398;
  font-size: 0.64rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

tbody th {
  font-weight: 700;
}

tbody th span,
tbody th small {
  display: block;
}

tbody th small {
  margin-top: 0.15rem;
  color: #91a69a;
  font-size: 0.62rem;
  font-weight: 500;
}

.status-chip {
  display: inline-flex;
  padding: 0.25rem 0.45rem;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 800;
}

.status-chip--review {
  background: #542d25;
  color: #ffc1ad;
}

.status-chip--current {
  background: #1c4937;
  color: #c7ead3;
}

.activity-panel {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #456257;
  border-radius: var(--radius-sm);
}

.activity-panel__heading {
  align-items: center;
  margin-bottom: 0.6rem;
}

.activity-panel h4 {
  margin: 0;
  font-size: 0.77rem;
}

.activity-panel__heading > span {
  color: #91a69a;
  font-size: 0.65rem;
}

.activity-panel ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.activity-panel li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-top: 1px solid #3d594d;
}

.activity-panel li:first-child {
  border-top: 0;
}

.activity-panel li strong,
.activity-panel li span {
  display: block;
}

.activity-panel li strong {
  font-size: 0.7rem;
}

.activity-panel li div > span {
  margin-top: 0.15rem;
  color: #91a69a;
  font-size: 0.65rem;
}

.activity-balance {
  flex: 0 0 auto;
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
  font-weight: 800;
}

.exposure-note {
  max-width: 44rem;
  margin: 0.85rem 0 0;
  color: #91a69a;
  font-size: 0.69rem;
}

.section--boundary {
  background: var(--surface);
}

.boundary-grid {
  display: grid;
  align-items: start;
  gap: 4rem 7rem;
  grid-template-columns: minmax(16rem, 0.7fr) minmax(0, 1.3fr);
}

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

.boundary-columns > div {
  min-height: 25rem;
  padding: 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.boundary-columns > div:first-child {
  background: var(--forest);
  color: #f5f7ef;
}

.boundary-columns h3 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.boundary-columns h3 span {
  display: grid;
  width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.check-list,
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.55rem;
  border-top: 1px solid rgb(23 63 50 / 15%);
  font-size: 0.88rem;
}

.check-list li:first-child,
.plain-list li:first-child {
  border-top: 0;
}

.check-list li::before {
  position: absolute;
  top: 0.76rem;
  left: 0;
  color: var(--acid);
  content: "✓";
  font-weight: 900;
}

.plain-list li::before {
  position: absolute;
  top: 0.76rem;
  left: 0.15rem;
  color: var(--clay);
  content: "—";
  font-weight: 900;
}

.boundary-columns > div:first-child .check-list li {
  border-color: rgb(255 255 255 / 13%);
}

.section--pricing {
  background:
    radial-gradient(circle at 12% 18%, rgb(218 243 111 / 42%), transparent 24rem),
    var(--paper-deep);
}

.pricing-wrap {
  display: grid;
  align-items: center;
  gap: 4rem 8rem;
  grid-template-columns: minmax(0, 0.85fr) minmax(20rem, 0.65fr);
}

.pricing-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid #446156;
  border-radius: var(--radius-lg);
  background: var(--forest-deep);
  color: #f5f7ef;
  box-shadow: var(--shadow);
}

.pricing-card__head > span {
  display: inline-flex;
  padding: 0.35rem 0.6rem;
  border: 1px solid #587166;
  border-radius: 999px;
  color: var(--acid);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price {
  display: flex;
  align-items: end;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.price strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.8rem, 8vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.85;
}

.price p {
  margin: 0 0 0.35rem;
  color: #aebdb3;
  font-size: 0.8rem;
}

.pricing-card__head > p {
  margin: 0.85rem 0 1.5rem;
  color: #c2cec6;
  font-size: 0.9rem;
}

.check-list--light {
  margin-bottom: 1.5rem;
}

.check-list--light li {
  border-color: rgb(255 255 255 / 12%);
}

.pilot-status {
  margin: 0.8rem 0 0;
  color: #cbd5cf;
  font-size: 0.72rem;
  text-align: center;
}

.pricing-card > small {
  display: block;
  margin-top: 0.9rem;
  color: #91a69a;
  font-size: 0.64rem;
  line-height: 1.5;
  text-align: center;
}

.section--faq {
  background: var(--surface);
}

.faq-grid {
  display: grid;
  align-items: start;
  gap: 4rem 7rem;
  grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.28fr);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 1.4rem 3rem 1.4rem 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.17rem;
  font-weight: 600;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 1.2rem;
  right: 0;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "+";
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 42rem;
  padding: 0 3rem 1.4rem 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.closing-cta {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--forest);
  color: #f7f8f2;
}

.closing-cta .eyebrow {
  color: var(--acid);
}

.closing-cta h2 {
  max-width: 19ch;
  margin: 0;
}

.closing-cta__inner {
  display: grid;
  align-items: end;
  gap: 3rem 7rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(17rem, 0.6fr);
}

.closing-cta__inner > div:last-child p {
  margin-bottom: 1.5rem;
  color: #c3cec7;
}

.site-footer {
  padding: 3rem 0;
  background: #091f19;
  color: #dce4de;
}

.site-footer__grid {
  display: grid;
  align-items: start;
  gap: 2rem 4rem;
  grid-template-columns: 1fr auto;
}

.brand--footer {
  color: #f5f7ef;
}

.site-footer__grid > div > p {
  max-width: 25rem;
  margin: 0.7rem 0 0;
  color: #93a59a;
  font-size: 0.77rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 0.7rem 1.3rem;
}

.site-footer nav a {
  color: #c5d0c9;
  font-size: 0.75rem;
}

.site-footer__legal {
  grid-column: 1 / -1;
  padding-top: 1.3rem;
  border-top: 1px solid rgb(255 255 255 / 12%);
  margin: 0;
  color: #82968a;
  font-size: 0.67rem;
}

.legal-page {
  min-height: 100vh;
  background: var(--surface);
}

.legal-main {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.legal-main__header {
  max-width: 49rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.legal-main h1 {
  max-width: 18ch;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
}

.legal-main__header > p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}

.legal-content {
  max-width: 49rem;
  padding-top: 2.5rem;
}

.legal-content section + section {
  margin-top: 2.5rem;
}

.legal-content h2 {
  margin-bottom: 0.8rem;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.legal-content p,
.legal-content li {
  color: #4d5a52;
}

.legal-content ul {
  padding-left: 1.2rem;
}

.legal-callout {
  padding: 1.2rem;
  border: 1px solid #9cad9f;
  border-radius: var(--radius-md);
  background: var(--paper);
}

.not-found {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 2rem;
  background:
    radial-gradient(circle at 50% 25%, rgb(218 243 111 / 48%), transparent 22rem),
    var(--paper);
  text-align: center;
}

.not-found__inner {
  max-width: 38rem;
}

.not-found .brand {
  justify-content: center;
  margin-bottom: 3rem;
}

.not-found h1 {
  max-width: none;
  margin-bottom: 1rem;
}

.not-found p {
  margin-bottom: 2rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .hero__grid,
  .section-heading--split,
  .boundary-grid,
  .pricing-wrap,
  .faq-grid,
  .closing-cta__inner {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    padding-bottom: 0;
  }

  .snapshot {
    width: min(100%, 38rem);
    margin-inline: auto;
  }

  .demo-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .problem-card__number {
    margin-bottom: 3rem;
  }

  .boundary-grid,
  .faq-grid {
    gap: 2.5rem;
  }

  .pricing-wrap {
    gap: 2.5rem;
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(calc(100% - 1.25rem), var(--shell));
  }

  .site-header__inner {
    min-height: 4.4rem;
  }

  .site-header__inner > .button {
    display: none;
  }

  .brand {
    font-size: 1.15rem;
  }

  .brand img {
    width: 2.25rem;
    height: 2.25rem;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero__grid {
    gap: 3rem;
  }

  h1 {
    font-size: clamp(2.85rem, 15vw, 4.5rem);
  }

  h2 {
    font-size: clamp(2.25rem, 11vw, 3.35rem);
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__actions .text-link {
    justify-content: center;
  }

  .fit-strip,
  .problem-grid,
  .boundary-columns {
    grid-template-columns: 1fr;
  }

  .fit-strip span {
    min-height: 3.8rem;
  }

  .fit-strip span + span {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .problem-card {
    min-height: auto;
  }

  .problem-card__number {
    margin-bottom: 2.5rem;
  }

  .workflow-list li {
    gap: 1rem;
    padding: 1.25rem;
  }

  .demo-shell {
    margin-inline: -0.1rem;
    border-radius: var(--radius-md);
  }

  .demo-shell__bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .field-grid,
  .balance-before {
    grid-template-columns: 1fr;
  }

  .balance-before {
    gap: 0;
  }

  .balance-before > div {
    padding: 0.55rem 0;
    border-top: 1px solid #3d594d;
  }

  .balance-before > div:first-child {
    border-top: 0;
  }

  .count-field {
    align-items: stretch;
    flex-direction: column;
  }

  .stepper {
    grid-template-columns: 3rem 1fr 3rem;
  }

  .formula {
    gap: 0.15rem;
    padding-inline: 0.5rem;
  }

  .formula span {
    min-width: 1.7rem;
  }

  .formula strong {
    font-size: 0.78rem;
  }

  .formula small {
    font-size: 0.52rem;
  }

  .table-toolbar span {
    display: inline;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }

  .summary-grid > div {
    display: grid;
    align-items: center;
    gap: 0 0.8rem;
    border-top: 1px solid #456257;
    border-left: 0;
    grid-template-columns: 1fr auto;
  }

  .summary-grid > div:first-child {
    border-top: 0;
  }

  .summary-grid span,
  .summary-grid strong {
    min-height: auto;
  }

  .summary-grid small {
    grid-column: 1 / -1;
  }

  .activity-panel li {
    align-items: flex-start;
  }

  .boundary-columns > div {
    min-height: auto;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: start;
  }

  .site-footer__legal {
    grid-column: 1;
  }
}

@media (max-width: 380px) {
  .shell {
    width: min(calc(100% - 1rem), var(--shell));
  }

  .stop-card,
  .ledger-panel {
    padding: 1rem;
  }

  .snapshot__metrics {
    flex-direction: column;
    gap: 1rem;
  }

  .snapshot__metrics > div + div {
    padding-top: 1rem;
    padding-left: 0;
    border-top: 1px solid rgb(255 255 255 / 12%);
    border-left: 0;
  }

  .mini-ledger__row {
    grid-template-columns: minmax(0, 1fr) 2.5rem 2.7rem;
    padding-inline: 0.6rem;
  }

  .formula b {
    font-size: 0.72rem;
  }
}

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

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

@media (forced-colors: active) {
  .sample-tag,
  .status-chip,
  .button,
  .workflow-list__number,
  .formula__result {
    border: 1px solid currentColor;
  }

  .sync-state > span,
  .demo-dot {
    forced-color-adjust: none;
  }
}
