.itself-brief-page {
  background: var(--itself-paper);
}

.itself-brief-page .site-header {
  border-bottom-color: rgba(255,255,255,.24);
}

.itself-brief-page .itself-actions {
  gap: 10px;
  flex-wrap: wrap;
}

.itself-brief-actions {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #455149;
}

.itself-brief-actions a {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid #455149;
  color: #f4f7f3;
  text-decoration: none;
  font: 700 8px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.itself-brief-actions a:hover {
  color: var(--itself-accent);
}

.itself-brief-section {
  padding: 120px 0 132px;
}

.itself-brief-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  align-items: start;
  gap: clamp(70px, 10vw, 150px);
}

.itself-brief-intro h2,
.itself-brief-receipt h2,
.itself-brief-boundary h2,
.itself-brief-cta h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(50px, 6vw, 80px);
  line-height: .96;
  letter-spacing: -.057em;
  font-weight: 500;
}

.itself-brief-intro__copy {
  padding-top: 42px;
}

.itself-brief-intro__copy p,
.itself-brief-receipt__copy p,
.itself-brief-boundary__grid > div:first-child > p:last-child,
.itself-brief-cta__grid > div:last-child > p {
  margin: 0 0 20px;
  color: var(--itself-muted);
  font-size: 17px;
  line-height: 1.72;
}

.itself-brief-citation {
  color: inherit;
  text-underline-offset: 3px;
}

.itself-brief-citation:hover {
  color: var(--itself-ink);
}

.itself-brief-comparison {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  margin-top: 94px;
  border-top: 1px solid var(--itself-ink);
  border-left: 1px solid var(--itself-ink);
}

.itself-brief-comparison article {
  min-height: 500px;
  padding: 30px;
  border-right: 1px solid var(--itself-ink);
  border-bottom: 1px solid var(--itself-ink);
}

.itself-brief-label {
  margin: 0;
  color: var(--itself-muted);
  font: 700 8px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: .11em;
}

.itself-brief-comparison__answer {
  display: flex;
  flex-direction: column;
  background: #e7ebe6;
}

.itself-brief-comparison__answer blockquote {
  margin: 76px 0 48px;
  color: var(--itself-ink);
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.itself-brief-comparison__answer > p:last-child {
  max-width: 470px;
  margin: auto 0 0;
  color: var(--itself-muted);
  font-size: 15px;
  line-height: 1.62;
}

.itself-brief-comparison__records {
  background: #f8faf6;
}

.itself-brief-comparison__records dl {
  margin: 36px 0 30px;
  border-top: 1px solid var(--itself-rule);
}

.itself-brief-comparison__records dl > div {
  display: grid;
  grid-template-columns: 110px 1fr 120px;
  gap: 18px;
  align-items: center;
  min-height: 62px;
  border-bottom: 1px solid var(--itself-rule);
}

.itself-brief-comparison__records dt {
  color: var(--itself-muted);
  font: 700 8px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.itself-brief-comparison__records dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.itself-brief-comparison__records dd:last-child {
  color: var(--itself-muted);
  font: 700 8px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.itself-brief-comparison__records > p:last-child {
  max-width: 530px;
  margin: 0;
  color: var(--itself-muted);
  font-size: 15px;
  line-height: 1.62;
}

.itself-brief-lifecycle,
.itself-brief-integration,
.itself-brief-boundary {
  padding: 120px 0 132px;
  background: var(--itself-night);
  color: #f4f7f3;
}

.itself-brief-intro--dark .itself-eyebrow,
.itself-brief-intro--integration .itself-eyebrow,
.itself-brief-boundary .itself-eyebrow {
  color: var(--itself-accent);
}

.itself-brief-intro--dark .itself-brief-intro__copy p,
.itself-brief-intro--integration .itself-brief-intro__copy p {
  color: #b9c6bd;
}

.itself-brief-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 94px;
  padding: 0;
  border-top: 1px solid #6f7c73;
  border-left: 1px solid #6f7c73;
  list-style: none;
}

.itself-brief-steps li {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-right: 1px solid #6f7c73;
  border-bottom: 1px solid #6f7c73;
}

.itself-brief-steps span,
.itself-brief-use-cases__grid article > span,
.itself-brief-flow span {
  color: #89978e;
  font: 700 8px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.itself-brief-steps h3 {
  margin: 56px 0 22px;
  font-size: 25px;
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 500;
}

.itself-brief-steps p {
  margin: auto 0 0;
  color: #d4ddd7;
  font-size: 14px;
  line-height: 1.62;
}

.itself-brief-rule {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 44px;
  align-items: start;
  margin-top: 48px;
  padding-top: 34px;
  border-top: 1px solid #455149;
}

.itself-brief-rule .itself-brief-label {
  color: var(--itself-accent);
}

.itself-brief-rule > p:last-child {
  max-width: 900px;
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -.035em;
}

.itself-brief-use-cases__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 94px;
  border-top: 1px solid var(--itself-ink);
  border-left: 1px solid var(--itself-ink);
}

.itself-brief-use-cases__grid article {
  min-height: 410px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-right: 1px solid var(--itself-ink);
  border-bottom: 1px solid var(--itself-ink);
}

.itself-brief-use-cases__grid article > span {
  color: var(--itself-muted);
}

.itself-brief-use-cases__grid h3 {
  max-width: 470px;
  margin: 54px 0 28px;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 500;
}

.itself-brief-use-cases__grid p {
  max-width: 500px;
  margin: 0 0 16px;
  color: var(--itself-ink);
  font-size: 16px;
  line-height: 1.62;
}

.itself-brief-use-cases__grid p:last-child {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 30px;
  color: var(--itself-muted);
  font-size: 14px;
}

.itself-brief-integration {
  background: #1a251f;
}

.itself-brief-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 94px;
  padding: 0;
  border-top: 1px solid #6f7c73;
  border-left: 1px solid #6f7c73;
  list-style: none;
}

.itself-brief-flow > li {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  padding: 22px;
  border-right: 1px solid #6f7c73;
  border-bottom: 1px solid #6f7c73;
}

.itself-brief-flow strong {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
}

.itself-brief-flow__active {
  background: var(--itself-accent);
  color: var(--itself-night);
}

.itself-brief-flow__active span {
  color: #3d6a51;
}

.itself-brief-run {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 1px;
  margin-top: 56px;
  background: #6f7c73;
  border: 1px solid #6f7c73;
}

.itself-brief-terminal,
.itself-brief-capabilities {
  background: var(--itself-night);
}

.itself-brief-terminal__meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px;
  border-bottom: 1px solid #455149;
  color: #89978e;
  font: 700 8px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.itself-brief-terminal pre {
  min-height: 380px;
  margin: 0;
  padding: 34px;
  overflow-x: auto;
  color: #d4ddd7;
  font: 13px/1.85 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.itself-brief-terminal code span {
  color: var(--itself-accent);
}

.itself-brief-capabilities {
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.itself-brief-capabilities .itself-brief-label {
  color: var(--itself-accent);
}

.itself-brief-capabilities ul {
  margin: 44px 0 50px;
  padding: 0;
  list-style: none;
  border-top: 1px solid #455149;
}

.itself-brief-capabilities li {
  padding: 17px 0;
  border-bottom: 1px solid #455149;
  color: #d4ddd7;
  font-size: 15px;
  line-height: 1.45;
}

.itself-brief-capabilities a {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #6f7c73;
  color: var(--itself-accent);
  text-decoration: none;
  font: 700 8px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.itself-brief-cookbook {
  scroll-margin-top: 24px;
  background: #f1f4ef;
}

.itself-brief-cookbook__list {
  margin-top: 82px;
  border-top: 1px solid var(--itself-ink);
  border-bottom: 1px solid var(--itself-ink);
}

.itself-brief-cookbook__list > a {
  display: grid;
  grid-template-columns: 48px minmax(230px, .78fr) minmax(280px, 1.22fr) 24px;
  gap: 28px;
  align-items: center;
  min-height: 142px;
  padding: 24px 18px;
  border-bottom: 1px solid var(--itself-rule);
  color: var(--itself-ink);
  text-decoration: none;
  transition: background-color 160ms ease;
}

.itself-brief-cookbook__list > a:last-child {
  border-bottom: 0;
}

.itself-brief-cookbook__list > a:hover {
  background: #e5ebe4;
}

.itself-brief-cookbook__index,
.itself-brief-cookbook__identity > span {
  color: var(--itself-muted);
  font: 700 8px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.itself-brief-cookbook__identity {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.itself-brief-cookbook__identity strong {
  font-size: 27px;
  line-height: 1.05;
  letter-spacing: -.035em;
  font-weight: 500;
}

.itself-brief-cookbook__description {
  max-width: 580px;
  color: var(--itself-muted);
  font-size: 15px;
  line-height: 1.62;
}

.itself-brief-cookbook__arrow {
  color: #1e7a4b;
  font-size: 20px;
  transition: transform 160ms ease;
}

.itself-brief-cookbook__list > a:hover .itself-brief-cookbook__arrow {
  transform: translate(2px, -2px);
}

.itself-brief-cookbook__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}

.itself-brief-cookbook__footer a {
  color: var(--itself-ink);
  text-decoration: none;
  font: 700 8px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.itself-brief-cookbook__footer a:hover {
  color: #1e7a4b;
}

.itself-brief-receipt {
  background: #e6ece6;
}

.itself-brief-receipt__grid,
.itself-brief-boundary__grid,
.itself-brief-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
  gap: clamp(70px, 10vw, 150px);
  align-items: start;
}

.itself-brief-receipt__copy {
  max-width: 650px;
  margin-top: 44px;
}

.itself-brief-receipt-card {
  border: 1px solid var(--itself-ink);
  background: #f8faf6;
}

.itself-brief-receipt-card header,
.itself-brief-receipt-card footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  font: 700 8px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.itself-brief-receipt-card header {
  border-bottom: 1px dashed var(--itself-rule);
}

.itself-brief-receipt-card header span,
.itself-brief-receipt-card footer span {
  color: var(--itself-muted);
}

.itself-brief-receipt-card dl {
  margin: 0;
  padding: 8px 20px;
}

.itself-brief-receipt-card dl > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--itself-rule);
}

.itself-brief-receipt-card dl > div:last-child {
  border-bottom: 0;
}

.itself-brief-receipt-card dt {
  color: var(--itself-muted);
  font: 700 8px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.itself-brief-receipt-card dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.itself-brief-receipt-card__state {
  color: #1e7a4b;
  font-weight: 700;
}

.itself-brief-receipt-card footer {
  border-top: 1px dashed var(--itself-rule);
}

.itself-brief-receipt-card footer strong {
  color: #1e7a4b;
}

.itself-brief-boundary__grid > div:first-child > p:last-child {
  max-width: 690px;
  margin-top: 42px;
  color: #b9c6bd;
}

.itself-brief-boundary__grid > div:last-child > p:first-child {
  margin: 46px 0 0;
  color: #d4ddd7;
  font-size: 17px;
}

.itself-brief-boundary ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #455149;
}

.itself-brief-boundary li {
  padding: 17px 0;
  border-bottom: 1px solid #455149;
  color: #b9c6bd;
  font-size: 15px;
  line-height: 1.5;
}

.itself-brief-boundary li::before {
  content: "—";
  margin-right: 12px;
  color: var(--itself-accent);
}

.itself-brief-boundary__note {
  margin: 30px 0 0;
  color: #89978e;
  font: 700 8px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.itself-brief-cta {
  padding: 108px 0 116px;
  background: #dbe5dc;
}

.itself-brief-cta__grid > div:last-child {
  padding-top: 42px;
}

.itself-brief-actions--dark {
  margin-top: 34px;
  border-top-color: var(--itself-ink);
}

.itself-brief-actions--dark a {
  border-bottom-color: var(--itself-ink);
  color: var(--itself-ink);
}

.itself-brief-actions--dark a:hover {
  color: #1e7a4b;
}

@media (max-width: 1100px) {
  .itself-brief-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .itself-brief-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .itself-brief-intro,
  .itself-brief-receipt__grid,
  .itself-brief-boundary__grid,
  .itself-brief-cta__grid {
    grid-template-columns: 1fr 300px;
    gap: 54px;
  }

  .itself-brief-run {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .itself-brief-page .itself-actions {
    flex-direction: column;
  }

  .itself-brief-intro,
  .itself-brief-receipt__grid,
  .itself-brief-boundary__grid,
  .itself-brief-cta__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .itself-brief-section,
  .itself-brief-lifecycle,
  .itself-brief-integration,
  .itself-brief-boundary {
    padding: 76px 0 84px;
  }

  .itself-brief-intro h2,
  .itself-brief-receipt h2,
  .itself-brief-boundary h2,
  .itself-brief-cta h2 {
    font-size: 45px;
  }

  .itself-brief-intro__copy,
  .itself-brief-cta__grid > div:last-child {
    padding-top: 0;
  }

  .itself-brief-comparison,
  .itself-brief-use-cases__grid {
    grid-template-columns: 1fr;
    margin-top: 58px;
  }

  .itself-brief-comparison article {
    min-height: 430px;
    padding: 24px;
  }

  .itself-brief-comparison__answer blockquote {
    margin-top: 54px;
    font-size: 32px;
  }

  .itself-brief-comparison__records dl > div {
    grid-template-columns: 86px 1fr;
    gap: 10px 16px;
    padding: 12px 0;
  }

  .itself-brief-comparison__records dd:last-child {
    grid-column: 2;
    text-align: left;
  }

  .itself-brief-steps,
  .itself-brief-flow {
    grid-template-columns: 1fr;
    margin-top: 58px;
  }

  .itself-brief-steps li {
    min-height: 240px;
  }

  .itself-brief-steps h3 {
    margin-top: 40px;
  }

  .itself-brief-rule {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 36px;
  }

  .itself-brief-use-cases__grid article {
    min-height: 370px;
    padding: 24px;
  }

  .itself-brief-use-cases__grid h3 {
    margin-top: 42px;
    font-size: 34px;
  }

  .itself-brief-flow > li {
    min-height: 120px;
  }

  .itself-brief-terminal__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .itself-brief-terminal pre {
    min-height: 0;
    padding: 24px 20px;
    font-size: 11px;
  }

  .itself-brief-capabilities {
    padding: 24px;
  }

  .itself-brief-cookbook__list {
    margin-top: 58px;
  }

  .itself-brief-cookbook__list > a {
    grid-template-columns: 32px 1fr 18px;
    gap: 18px;
    min-height: 0;
    padding: 26px 0;
  }

  .itself-brief-cookbook__identity strong {
    font-size: 24px;
  }

  .itself-brief-cookbook__description {
    grid-column: 2 / 4;
  }

  .itself-brief-cookbook__arrow {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .itself-brief-receipt-card dl > div {
    grid-template-columns: 78px 1fr;
    gap: 14px;
  }

  .itself-brief-cta {
    padding: 76px 0 84px;
  }
}
