@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/InstrumentSans-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

/* Commercial search and newsroom */
.commercial-page {
  background: var(--ink, #111311);
  color: var(--paper, #f8f9f6);
}

.commercial-hero {
  min-height: min(900px, 92svh);
  padding: 150px 0 92px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.commercial-hero::before,
.news-hero::before {
  background-image: url("/assets/grayworth-octagon-contours.svg");
  background-position: right -180px center;
  background-repeat: no-repeat;
  background-size: min(68vw, 920px);
  content: "";
  inset: 0;
  opacity: 0.28;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.commercial-hero::after,
.news-hero::after {
  background-image: url("/assets/grayworth-texture-dark.svg");
  content: "";
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
  position: absolute;
  z-index: -2;
}

.commercial-hero-inner {
  position: relative;
}

.commercial-hero h1 {
  font-size: clamp(72px, 11vw, 162px);
  font-weight: 520;
  line-height: 0.82;
  margin: clamp(64px, 9vh, 112px) 0 0;
  max-width: 1050px;
}

.commercial-hero h1 span {
  color: #a7b2aa;
}

.commercial-hero-answer {
  align-items: start;
  border-top: 1px solid rgba(248, 249, 246, 0.24);
  display: grid;
  gap: 50px;
  grid-template-columns: minmax(240px, 0.8fr) minmax(420px, 1.4fr);
  margin: 76px 0 42px auto;
  max-width: 980px;
  padding-top: 25px;
}

.commercial-hero-answer p,
.commercial-hero-answer strong {
  font-size: 19px;
  line-height: 1.5;
  margin: 0;
}

.commercial-hero-answer p {
  color: #aeb5b0;
}

.commercial-hero-answer strong {
  font-weight: 520;
}

.commercial-section-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 76px;
}

.commercial-section-heading h2 {
  font-size: clamp(48px, 6vw, 86px);
  font-weight: 520;
  line-height: 0.94;
  margin: 0;
}

.alternative-shortlist,
.alternative-directory,
.news-index {
  padding: 125px 0 145px;
}

.alternative-list {
  border-top: 1px solid var(--rule-light);
}

.alternative-row {
  align-items: start;
  border-bottom: 1px solid var(--rule-light);
  color: var(--ink);
  display: grid;
  gap: 28px;
  grid-template-columns: 42px minmax(170px, 0.55fr) minmax(220px, 1fr) minmax(220px, 1fr);
  padding: 34px 0 40px;
  position: relative;
}

.alternative-row::after {
  background: var(--ink);
  bottom: -1px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms ease;
  width: 100%;
}

.alternative-row:hover::after {
  transform: scaleX(1);
}

.alternative-row.is-gray {
  background: rgba(116, 130, 120, 0.08);
}

.alternative-row > span,
.alternative-row small {
  color: #647067;
  font-size: 11px;
  text-transform: uppercase;
}

.alternative-row h3 {
  font-size: 28px;
  font-weight: 560;
  margin: 0;
}

.alternative-row p {
  font-size: 16px;
  line-height: 1.55;
  margin: 8px 0 0;
}

.alternative-criteria,
.alternative-fit,
.alternative-hub-policy {
  padding: 125px 0 145px;
  position: relative;
}

.alternative-criteria::after,
.alternative-hub-policy::after {
  background-image: url("/assets/grayworth-pattern-circuit.svg");
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: min(54vw, 760px);
  content: "";
  inset: 0;
  opacity: 0.12;
  pointer-events: none;
  position: absolute;
}

.alternative-criteria .shell,
.alternative-hub-policy .shell {
  position: relative;
  z-index: 1;
}

.alternative-criteria ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.alternative-criteria li {
  align-items: center;
  border-top: 1px solid rgba(248, 249, 246, 0.2);
  display: grid;
  gap: 26px;
  grid-template-columns: 50px 1fr;
  min-height: 100px;
}

.alternative-criteria li:last-child {
  border-bottom: 1px solid rgba(248, 249, 246, 0.2);
}

.alternative-criteria li span {
  color: #929d95;
  font-size: 12px;
}

.alternative-criteria li p {
  font-size: 20px;
  margin: 0;
}

.alternative-proof,
.commercial-faq,
.news-body {
  padding: 125px 0 145px;
}

.commercial-inline-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 38px;
}

.alternative-fit .comparison-choice {
  border-color: rgba(248, 249, 246, 0.2);
  color: var(--paper);
}

.alternative-fit .comparison-choice-grid {
  border-color: rgba(248, 249, 246, 0.2);
}

.alternative-fit .comparison-choice > span {
  color: #9ca69f;
}

.alternative-fit .comparison-choice li {
  border-color: rgba(248, 249, 246, 0.2);
  color: #e1e5e1;
}

.alternative-fit .comparison-choice-gray {
  background: rgba(248, 249, 246, 0.05);
}

.alternative-fit .comparison-choice li::before {
  background: var(--paper);
}

.commercial-faq {
  color: var(--ink);
}

.commercial-related {
  padding: 105px 0 125px;
}

.commercial-related .shell > div {
  border-top: 1px solid rgba(248, 249, 246, 0.2);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 36px 0 110px;
}

.commercial-related .shell > div a {
  align-items: center;
  border-bottom: 1px solid rgba(248, 249, 246, 0.2);
  border-right: 1px solid rgba(248, 249, 246, 0.2);
  color: var(--paper);
  display: flex;
  font-size: 17px;
  justify-content: space-between;
  min-height: 110px;
  padding: 22px 26px;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.commercial-related .shell > div a:last-child {
  border-right: 0;
}

.commercial-related .shell > div a:hover {
  background: var(--paper);
  color: var(--ink);
}

.commercial-related i {
  font-style: normal;
}

.commercial-related .shell > p:not(.section-number) {
  color: #9da69f;
  font-size: 16px;
  margin: 0 0 14px;
}

.commercial-related h2 {
  font-size: clamp(55px, 7vw, 104px);
  font-weight: 520;
  line-height: 0.92;
  margin: 0 0 52px;
}

.alternative-directory-grid {
  border-left: 1px solid var(--rule-light);
  border-top: 1px solid var(--rule-light);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.alternative-directory-card {
  border-bottom: 1px solid var(--rule-light);
  border-right: 1px solid var(--rule-light);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 30px;
  text-decoration: none;
  transition: background-color 220ms ease, color 220ms ease;
}

.alternative-directory-card:hover {
  background: var(--ink);
  color: var(--paper);
}

.alternative-directory-card > span {
  color: #6d776f;
  font-size: 11px;
}

.alternative-directory-card h2 {
  font-size: 42px;
  font-weight: 520;
  margin: 72px 0 18px;
}

.alternative-directory-card p {
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}

.alternative-directory-card strong {
  font-size: 13px;
  margin-top: auto;
}

.news-hero {
  min-height: min(860px, 90svh);
  overflow: hidden;
  padding: 150px 0 88px;
  position: relative;
  isolation: isolate;
}

.news-hero-inner {
  position: relative;
}

.news-kicker {
  align-items: center;
  display: flex;
  gap: 24px;
  margin: 80px 0 38px;
}

.news-kicker span,
.news-kicker time {
  color: #aeb5b0;
  font-size: 12px;
  text-transform: uppercase;
}

.news-kicker span {
  border: 1px solid rgba(248, 249, 246, 0.28);
  padding: 8px 10px;
}

.news-hero h1 {
  font-size: clamp(58px, 8.4vw, 124px);
  font-weight: 520;
  line-height: 0.9;
  margin: 0;
  max-width: 1160px;
}

.news-dek {
  color: #ced3cf;
  font-size: clamp(20px, 2.3vw, 31px);
  line-height: 1.35;
  margin: 48px 0 54px auto;
  max-width: 800px;
}

.news-facts {
  color: var(--ink);
}

.news-facts .shell {
  border-left: 1px solid var(--rule-light);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.news-facts .shell > div {
  border-right: 1px solid var(--rule-light);
  min-height: 178px;
  padding: 28px;
}

.news-facts span {
  color: #68736b;
  display: block;
  font-size: 11px;
  text-transform: uppercase;
}

.news-facts strong {
  display: block;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 550;
  line-height: 1.1;
  margin-top: 54px;
}

.news-copy-section {
  border-top: 1px solid var(--rule-light);
  color: var(--ink);
  display: grid;
  gap: 36px;
  grid-template-columns: 45px minmax(250px, 0.75fr) minmax(420px, 1.2fr);
  padding: 68px 0 82px;
}

.news-copy-section > span {
  color: #77827a;
  font-size: 12px;
}

.news-copy-section h2 {
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 520;
  line-height: 1;
  margin: 0;
}

.news-copy-section p {
  font-size: 18px;
  line-height: 1.65;
  margin: 0 0 25px;
}

.news-citations {
  border-bottom: 1px solid var(--rule-light);
  border-top: 1px solid var(--rule-light);
  display: grid;
  grid-template-columns: 1fr repeat(3, minmax(180px, 0.6fr));
  padding: 30px 0;
}

.news-citations p {
  margin: 0;
}

.news-citations a {
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
}

.news-citations a:hover {
  text-decoration: underline;
}

.news-index-list {
  border-top: 1px solid var(--rule-light);
}

.news-index-row {
  align-items: start;
  border-bottom: 1px solid var(--rule-light);
  color: var(--ink);
  display: grid;
  gap: 32px;
  grid-template-columns: 48px 1fr 34px;
  padding: 42px 0 50px;
  text-decoration: none;
}

.news-index-row > span,
.news-index-row small {
  color: #6c776f;
  font-size: 11px;
  text-transform: uppercase;
}

.news-index-row h2 {
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 520;
  line-height: 1;
  margin: 18px 0 16px;
}

.news-index-row p {
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
  max-width: 800px;
}

.news-index-row i {
  font-size: 26px;
  font-style: normal;
  transition: transform 180ms ease;
}

.news-index-row:hover i {
  transform: translateX(7px);
}

@media (max-width: 900px) {
  .commercial-hero-answer,
  .news-copy-section {
    grid-template-columns: 1fr;
  }

  .alternative-row {
    grid-template-columns: 36px minmax(150px, 0.5fr) 1fr;
  }

  .alternative-row > div:last-child {
    grid-column: 3;
  }

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

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

  .news-citations {
    gap: 20px;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .commercial-hero,
  .news-hero {
    min-height: auto;
    padding: 112px 0 68px;
  }

  .commercial-hero::before,
  .news-hero::before {
    background-position: right -120px top 110px;
    background-size: 520px;
    opacity: 0.18;
  }

  .commercial-hero h1 {
    font-size: 61px;
    margin-top: 58px;
  }

  .commercial-hero-answer {
    gap: 20px;
    margin-top: 52px;
  }

  .commercial-hero-answer p,
  .commercial-hero-answer strong {
    font-size: 17px;
  }

  .commercial-section-heading {
    align-items: start;
    display: block;
    margin-bottom: 48px;
  }

  .commercial-section-heading h2 {
    font-size: 42px;
    margin-top: 16px;
  }

  .alternative-shortlist,
  .alternative-directory,
  .news-index,
  .alternative-criteria,
  .alternative-fit,
  .alternative-hub-policy,
  .alternative-proof,
  .commercial-faq,
  .news-body {
    padding: 76px 0 86px;
  }

  .alternative-row {
    gap: 14px;
    grid-template-columns: 30px 1fr;
    padding: 25px 0 30px;
  }

  .alternative-row > div,
  .alternative-row > div:last-child {
    grid-column: 2;
  }

  .alternative-row h3 {
    font-size: 25px;
  }

  .alternative-directory-grid {
    border-left: 0;
    grid-template-columns: 1fr;
  }

  .alternative-directory-card {
    min-height: 310px;
    padding: 26px 0;
  }

  .commercial-related .shell > div {
    grid-template-columns: 1fr;
    margin-bottom: 76px;
  }

  .commercial-related .shell > div a {
    border-right: 0;
    min-height: 88px;
    padding-left: 0;
    padding-right: 0;
  }

  .commercial-related h2 {
    font-size: 52px;
  }

  .news-kicker {
    margin-top: 58px;
  }

  .news-hero h1 {
    font-size: 49px;
  }

  .news-dek {
    font-size: 20px;
    margin-top: 34px;
  }

  .news-facts .shell {
    border-left: 0;
    grid-template-columns: 1fr 1fr;
  }

  .news-facts .shell > div {
    min-height: 145px;
    padding: 22px 14px;
  }

  .news-facts strong {
    font-size: 21px;
    margin-top: 35px;
  }

  .news-copy-section {
    gap: 20px;
    padding: 48px 0 58px;
  }

  .news-copy-section h2 {
    font-size: 34px;
  }

  .news-copy-section p {
    font-size: 16px;
  }

  .news-index-row {
    gap: 14px;
    grid-template-columns: 30px 1fr;
    padding: 31px 0 38px;
  }

  .news-index-row i {
    display: none;
  }

  .news-index-row h2 {
    font-size: 32px;
  }
}

/* Publication, identity, sitemap, and error surfaces */
.publication-page,
.error-page {
  background: var(--paper);
  color: var(--ink);
}

.publication-main {
  min-height: 70svh;
}

.identity-hero,
.sitemap-hero {
  overflow: hidden;
  padding: 170px 0 110px;
  position: relative;
}

.identity-hero::after,
.sitemap-hero::after,
.error-main::after {
  background: url("/assets/grayworth-texture-dark.svg") center / cover;
  content: "";
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
  position: absolute;
}

.identity-hero-grid {
  align-items: center;
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  position: relative;
  z-index: 1;
}

.identity-hero h1,
.sitemap-hero h1 {
  font-size: clamp(72px, 10vw, 148px);
  font-weight: 520;
  letter-spacing: 0;
  line-height: 0.88;
  margin: 58px 0 32px;
}

.identity-hero p:not(.section-number),
.sitemap-hero p:not(.section-number) {
  color: #bac0bb;
  font-size: 21px;
  line-height: 1.55;
  max-width: 590px;
}

.identity-hero img {
  height: auto;
  max-height: 420px;
  width: min(100%, 420px);
}

.identity-section {
  padding: 120px 0 135px;
}

.publication-heading {
  align-items: end;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(180px, 0.45fr) minmax(320px, 1.3fr);
  margin-bottom: 78px;
}

.publication-heading h2 {
  font-size: clamp(48px, 6vw, 86px);
  font-weight: 520;
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0;
}

.identity-assets {
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr 1fr;
}

.identity-swatch {
  align-items: center;
  border: 1px solid var(--rule-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  min-height: 340px;
  padding: 60px;
}

.identity-swatch.dark {
  background: var(--ink);
  border-color: #303430;
  color: var(--paper);
}

.identity-swatch.light {
  background: var(--paper);
}

.identity-swatch img {
  height: auto;
  max-height: 150px;
  max-width: 100%;
}

.identity-swatch.symbol img {
  max-height: 210px;
  width: 210px;
}

.identity-swatch figcaption {
  font-size: 11px;
  margin-top: 48px;
  text-transform: uppercase;
}

.download-row {
  border-bottom: 1px solid var(--rule-light);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.download-row a {
  border-left: 1px solid var(--rule-light);
  color: var(--ink);
  font-size: 13px;
  min-height: 72px;
  padding: 26px 20px;
  text-decoration: none;
}

.download-row a:last-child {
  border-right: 1px solid var(--rule-light);
}

.download-row a:hover,
.download-row a:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.identity-colors {
  border-top: 1px solid rgba(248, 249, 246, 0.2);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
}

.identity-colors div {
  border-bottom: 1px solid rgba(248, 249, 246, 0.2);
  border-right: 1px solid rgba(248, 249, 246, 0.2);
  min-height: 280px;
  padding: 170px 28px 28px;
  position: relative;
}

.identity-colors div::before {
  background: var(--swatch);
  border: 1px solid rgba(248, 249, 246, 0.25);
  content: "";
  height: 92px;
  left: 28px;
  position: absolute;
  top: 36px;
  width: 92px;
}

.identity-colors dt {
  font-size: 20px;
  font-weight: 560;
}

.identity-colors dd {
  color: #abb3ad;
  font-family: ui-monospace, monospace;
  font-size: 13px;
  margin: 9px 0 0;
}

.identity-guidance ul {
  border-top: 1px solid var(--rule-light);
  list-style: none;
  margin: 0;
  padding: 0;
}

.identity-guidance li {
  border-bottom: 1px solid var(--rule-light);
  font-size: clamp(19px, 2.2vw, 30px);
  line-height: 1.35;
  padding: 27px 0;
}

.machine-records {
  color: #606961;
  font-size: 13px;
  margin-top: 42px;
}

.machine-records a {
  color: var(--ink);
}

.sitemap-directory {
  padding: 100px 0 140px;
}

.sitemap-group {
  border-top: 1px solid var(--rule-light);
  display: grid;
  gap: 50px;
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1.4fr);
  padding: 42px 0 80px;
}

.sitemap-group h2 {
  font-size: 34px;
  font-weight: 520;
  margin: 22px 0 0;
}

.sitemap-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sitemap-group li {
  border-bottom: 1px solid var(--rule-light);
}

.sitemap-group a {
  align-items: center;
  color: var(--ink);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(170px, 0.7fr) minmax(260px, 1.3fr) 22px;
  min-height: 88px;
  padding: 18px 4px;
  text-decoration: none;
}

.sitemap-group a span {
  color: #5d675f;
  font-size: 14px;
  line-height: 1.45;
}

.sitemap-group a i {
  font-style: normal;
  transition: transform 180ms ease;
}

.sitemap-group a:hover i,
.sitemap-group a:focus-visible i {
  transform: translateX(5px);
}

.publication-footer nav {
  display: flex;
  gap: 24px;
}

.publication-footer nav a,
.footer-publication-links a {
  color: inherit;
}

.footer-publication-links {
  display: flex;
  gap: 22px;
}

.footer-publication-links a {
  text-decoration: none;
}

.footer-publication-links a:hover,
.footer-publication-links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.error-main {
  align-items: center;
  display: flex;
  min-height: 100svh;
  overflow: hidden;
  padding: 145px 0 90px;
  position: relative;
}

.error-layout {
  align-items: center;
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(240px, 0.7fr) minmax(340px, 1fr);
  position: relative;
  z-index: 1;
}

.error-code {
  color: rgba(248, 249, 246, 0.1);
  font-size: clamp(180px, 28vw, 430px);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 0.72;
  margin: 0;
}

.error-layout h1 {
  font-size: clamp(54px, 7vw, 96px);
  font-weight: 520;
  letter-spacing: 0;
  line-height: 0.96;
  margin: 46px 0 28px;
}

.error-layout p:not(.section-number):not(.error-code) {
  color: #b7beb8;
  font-size: 19px;
  line-height: 1.55;
  max-width: 590px;
}

.error-actions {
  align-items: center;
  display: flex;
  gap: 28px;
  margin-top: 42px;
}

@media (max-width: 800px) {
  .identity-hero-grid,
  .publication-heading,
  .sitemap-group,
  .error-layout {
    grid-template-columns: 1fr;
  }

  .identity-hero-grid {
    gap: 34px;
  }

  .identity-hero img {
    max-height: 240px;
    width: 240px;
  }

  .identity-assets,
  .identity-colors {
    grid-template-columns: 1fr;
  }

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

  .sitemap-group {
    gap: 26px;
  }

  .sitemap-group a {
    grid-template-columns: 1fr 22px;
  }

  .sitemap-group a span {
    grid-column: 1;
  }

  .sitemap-group a i {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .error-code {
    font-size: 150px;
  }
}

@media (max-width: 560px) {
  .identity-hero,
  .sitemap-hero {
    padding: 132px 0 76px;
  }

  .identity-hero h1,
  .sitemap-hero h1 {
    font-size: 62px;
  }

  .identity-section {
    padding: 76px 0 88px;
  }

  .identity-swatch {
    min-height: 240px;
    padding: 38px;
  }

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

  .download-row a,
  .download-row a:last-child {
    border-right: 1px solid var(--rule-light);
  }

  .publication-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .publication-footer nav {
    flex-wrap: wrap;
  }

  .footer-publication-links {
    flex-wrap: wrap;
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .error-main {
    padding-top: 120px;
  }

  .error-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Grayworth News publication layer */
.news-article-page .news-hero {
  min-height: 660px;
  padding-bottom: 64px;
}

.news-article-page .news-hero h1 {
  font-size: clamp(58px, 7vw, 104px);
  line-height: 0.94;
  max-width: 1080px;
}

.news-article-page .news-dek {
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.42;
  margin: 42px 0 46px;
  max-width: 820px;
}

.news-byline {
  border-bottom: 1px solid var(--rule-dark);
  border-top: 1px solid var(--rule-dark);
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 0.8fr;
  max-width: 980px;
}

.news-byline > div {
  border-right: 1px solid var(--rule-dark);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 82px;
  padding: 18px 22px;
}

.news-byline > div:first-child {
  padding-left: 0;
}

.news-byline > div:last-child {
  border-right: 0;
}

.news-byline span {
  color: #929c94;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-byline a,
.news-byline strong,
.news-byline time {
  color: var(--paper);
  font-size: 14px;
  font-weight: 520;
  text-decoration: none;
}

.news-byline a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.news-featured-media {
  margin: 0;
  padding: 64px 0 32px;
}

.news-featured-media picture,
.news-featured-media img {
  display: block;
  width: 100%;
}

.news-featured-media-link {
  display: block;
}

.news-featured-media figcaption a {
  color: inherit;
  margin-left: 0.45em;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-featured-media img {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--rule-light);
  height: auto;
  object-fit: cover;
}

.news-featured-media figcaption {
  border-bottom: 1px solid var(--rule-light);
  color: #59635c;
  font-size: 13px;
  line-height: 1.55;
  padding: 16px 0 20px;
}

.news-article-page .news-facts {
  padding-top: 22px;
}

.news-article-page .news-body {
  padding-top: 54px;
}

.news-article-page .news-copy-section {
  gap: 42px;
  grid-template-columns: 40px minmax(220px, 0.55fr) minmax(0, 680px);
  justify-content: center;
  padding: 72px 0 86px;
}

.news-article-page .news-copy-section h2 {
  font-size: clamp(34px, 3.3vw, 50px);
  line-height: 1.04;
}

.news-article-page .news-copy-section p {
  font-size: 19px;
  line-height: 1.72;
  max-width: 68ch;
}

.news-article-page .news-copy-section p:first-child {
  font-size: 21px;
  line-height: 1.66;
}

.news-article-page .news-citations {
  grid-template-columns: 1.2fr repeat(4, minmax(135px, 0.7fr));
}

.news-related {
  padding: 94px 0 86px;
}

.news-related h2 {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 520;
  margin: 22px 0 52px;
}

.news-related-list {
  border-bottom: 1px solid var(--rule-dark);
  border-top: 1px solid var(--rule-dark);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.news-related-list a {
  border-right: 1px solid var(--rule-dark);
  color: var(--paper);
  display: grid;
  grid-template-columns: 1fr auto;
  min-height: 180px;
  padding: 26px 28px 28px;
  text-decoration: none;
}

.news-related-list a:last-child {
  border-right: 0;
}

.news-related-list small {
  color: #98a29a;
  font-size: 10px;
  grid-column: 1 / 3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-related-list span {
  align-self: end;
  font-size: 20px;
  line-height: 1.25;
  max-width: 280px;
}

.news-related-list i {
  align-self: end;
  font-size: 22px;
  font-style: normal;
  transition: transform 180ms ease;
}

.news-related-list a:hover i {
  transform: translateX(6px);
}

.news-product-note {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
}

.news-product-note p {
  color: #aeb6b0;
  font-size: 14px;
  margin: 0;
}

.news-index-row {
  align-items: center;
  grid-template-columns: 40px minmax(220px, 300px) 1fr 34px;
}

.news-index-row > img {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--rule-light);
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.news-hub .news-index .commercial-section-heading h2 {
  font-size: 58px;
  max-width: 650px;
}

.news-copy-section code {
  background: #ecefe9;
  border: 1px solid #d9ddd7;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.84em;
  padding: 0.08em 0.28em;
}

@media (max-width: 900px) {
  .news-byline {
    grid-template-columns: 1fr 1fr;
  }

  .news-byline > div:nth-child(2) {
    border-right: 0;
  }

  .news-byline > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--rule-dark);
  }

  .news-article-page .news-copy-section {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .news-article-page .news-copy-section > div {
    grid-column: 2;
  }

  .news-article-page .news-citations {
    grid-template-columns: 1fr 1fr;
  }

  .news-index-row {
    grid-template-columns: 34px minmax(180px, 240px) 1fr;
  }

  .news-index-row i {
    display: none;
  }
}

@media (max-width: 640px) {
  .news-article-page .news-hero {
    min-height: auto;
    padding-bottom: 48px;
  }

  .news-article-page .news-kicker {
    gap: 12px;
  }

  .news-article-page .news-hero h1 {
    font-size: 48px;
    line-height: 0.98;
  }

  .news-article-page .news-dek {
    font-size: 19px;
    margin: 30px 0 36px;
  }

  .news-byline {
    grid-template-columns: 1fr;
  }

  .news-byline > div,
  .news-byline > div:first-child {
    border-bottom: 1px solid var(--rule-dark);
    border-right: 0;
    min-height: 68px;
    padding: 14px 0;
  }

  .news-byline > div:last-child {
    border-bottom: 0;
  }

  .news-featured-media {
    padding: 34px 0 20px;
  }

  .news-featured-media img {
    aspect-ratio: 4 / 3;
  }

  .news-article-page .news-body {
    padding-top: 30px;
  }

  .news-article-page .news-copy-section {
    gap: 14px;
    grid-template-columns: 1fr;
    padding: 52px 0 62px;
  }

  .news-article-page .news-copy-section > div {
    grid-column: 1;
  }

  .news-article-page .news-copy-section h2 {
    font-size: 34px;
  }

  .news-article-page .news-copy-section p,
  .news-article-page .news-copy-section p:first-child {
    font-size: 17px;
    line-height: 1.7;
  }

  .news-article-page .news-citations {
    grid-template-columns: 1fr;
  }

  .news-related {
    padding: 72px 0 66px;
  }

  .news-related h2 {
    font-size: 40px;
  }

  .news-related-list {
    grid-template-columns: 1fr;
  }

  .news-related-list a,
  .news-related-list a:last-child {
    border-bottom: 1px solid var(--rule-dark);
    border-right: 0;
    min-height: 128px;
    padding-left: 0;
    padding-right: 0;
  }

  .news-product-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .news-index-row {
    align-items: start;
    grid-template-columns: 28px 1fr;
  }

  .news-index-row > img,
  .news-index-row > div {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .news-hub .news-index .commercial-section-heading h2 {
    font-size: 38px;
  }
}


:root {
  --ink: #111311;
  --ink-soft: #191c19;
  --paper: #f8f9f6;
  --paper-dim: #e7e9e4;
  --gray: #a5aaa3;
  --gray-dark: #555b55;
  --accent: #748278;
  --green: #2f7d5a;
  --blue: #3975d0;
  --coral: #d7634f;
  --amber: #c48a2f;
  --rule-dark: rgba(248, 249, 246, 0.17);
  --rule-light: rgba(17, 19, 17, 0.19);
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: var(--scroll-progress, 0%);
  height: 2px;
  background: var(--accent);
  content: "";
  pointer-events: none;
}

body,
a,
button {
  color: inherit;
}

a {
  text-decoration: none;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #78aaf0;
  outline-offset: 4px;
}

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

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
}

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

.sr-only,
.chart-data-table {
  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;
}

.nav-toggle {
  display: none;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
}

.site-header.is-scrolled {
  position: fixed;
  background: rgba(17, 19, 17, 0.94);
  border-bottom: 1px solid var(--rule-dark);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand {
  display: block;
  width: 166px;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--paper-dim);
  font-size: 15px;
}

.nav a {
  position: relative;
  padding-block: 10px;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--paper);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background-color: var(--ink);
  background-image: url("/assets/grayworth-texture-dark.svg");
  background-position: center top;
  background-size: 240px 240px;
  border-bottom: 1px solid var(--rule-dark);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 700px;
  padding-top: 150px;
  grid-template-columns: 0.88fr 1.12fr;
}

.hero-copy {
  z-index: 2;
  align-self: center;
  padding-bottom: 70px;
}

.hero-art {
  position: relative;
  min-width: 0;
  overflow: visible;
}

.hero-art::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -90px;
  width: 760px;
  height: 620px;
  background: radial-gradient(circle, rgba(103, 118, 109, 0.12), rgba(17, 19, 17, 0) 68%);
  content: "";
  filter: blur(18px);
  pointer-events: none;
  transform: translateY(-50%);
}

.hero-art::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  background: linear-gradient(90deg, var(--ink), transparent 24%);
  content: "";
  pointer-events: none;
}

.hero-art .hero-contours {
  position: absolute;
  z-index: 0;
  top: 49%;
  right: -52px;
  width: 740px;
  max-width: none;
  transform: translateY(-50%);
  animation: contour-breathe 13s ease-in-out infinite;
}

.hero-art .hero-bolt {
  position: absolute;
  z-index: 2;
  top: 49%;
  right: 100px;
  width: 390px;
  max-width: none;
  filter:
    drop-shadow(0 26px 30px rgba(0, 0, 0, 0.32))
    drop-shadow(0 0 24px rgba(224, 231, 227, 0.08));
  transform: translateY(-50%);
  animation: foil-float 7s ease-in-out infinite;
}

@keyframes foil-float {
  50% {
    transform: translateY(calc(-50% - 10px)) rotate(0.55deg);
  }
}

@keyframes contour-breathe {
  50% {
    opacity: 0.72;
    transform: translateY(-50%) scale(1.035) rotate(-0.65deg);
  }
}

.section-number {
  margin: 0 0 30px;
  color: var(--gray);
  font-size: 13px;
  font-weight: 620;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--paper);
  font-size: 76px;
  font-weight: 520;
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-statement {
  max-width: 520px;
  margin: 30px 0 0;
  color: var(--paper);
  font-size: 26px;
  font-weight: 430;
  line-height: 1.2;
}

.hero-copy .hero-actions {
  margin-top: 38px;
}

.hero-deck {
  max-width: 520px;
  margin: 25px 0 38px;
  color: var(--gray);
  font-size: 18px;
  line-height: 1.45;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  padding: 0 0 7px;
  border-bottom: 1px solid currentColor;
  font-size: 16px;
  transition: gap 180ms ease;
}

.hero .text-link {
  color: var(--paper);
}

.text-link:hover,
.text-link:focus-visible {
  gap: 44px;
}

.hero-field {
  position: relative;
  display: flex;
  min-width: 0;
  padding: 54px 0 69px 64px;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid var(--rule-dark);
}

.field-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.field-symbol {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.field-top p {
  max-width: 120px;
  margin: 4px 0 0;
  color: var(--gray);
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.field-index {
  width: 100%;
  border-top: 1px solid var(--rule-dark);
}

.field-index a {
  display: grid;
  min-height: 70px;
  padding: 15px 0;
  align-items: center;
  border-bottom: 1px solid var(--rule-dark);
  color: var(--paper);
  grid-template-columns: 45px 1fr 1.15fr;
  transition: padding 180ms ease, color 180ms ease;
}

.field-index a:hover,
.field-index a:focus-visible {
  padding-inline: 12px;
  color: var(--ink);
  background: var(--paper);
}

.field-index span,
.field-index small {
  color: var(--gray);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.field-index strong {
  font-size: 16px;
  font-weight: 520;
}

.hero-runtime {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--gray);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-runtime strong {
  margin-left: auto;
  color: var(--paper);
  font-weight: 560;
}

.hero-runtime.is-online .status-dot {
  background: #7e9b83;
  box-shadow: 0 0 0 4px rgba(126, 155, 131, 0.12);
}

.hero-chart-field {
  padding-top: 76px;
}

.code-field {
  padding-top: 70px;
}

.code-heading {
  display: flex;
  padding-bottom: 16px;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule-dark);
  color: var(--gray);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.code-field pre {
  margin: 30px 0;
  overflow: hidden;
  color: #e7ebe7;
  font: 14px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
}

.code-keyword {
  color: #b9cfc0;
}

.code-string {
  color: #8fb39c;
}

.code-number {
  color: #d8ded9;
}

.chart-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.chart-kicker,
.chart-unit {
  color: var(--gray);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.chart-heading h2,
.chart-heading h3 {
  margin: 10px 0 0;
  color: var(--paper);
  font-size: 20px;
  font-weight: 520;
}

.chart-wrap {
  position: relative;
  min-width: 0;
}

.chart-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.chart-wrap canvas.chart-enter {
  animation: chart-enter 450ms ease both;
}

@keyframes chart-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-chart {
  height: 330px;
  margin: 28px 0;
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
}

.hero-footer {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--rule-dark);
  color: var(--gray-dark);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.light-band {
  background: var(--paper);
  color: var(--ink);
}

.light-band .section-number {
  color: var(--gray-dark);
}

.evidence-strip {
  background: #d6dad4;
  color: var(--ink);
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.evidence-stat {
  position: relative;
  display: block;
  min-height: 148px;
  padding: 28px 26px 26px 0;
  border-right: 1px solid var(--rule-light);
  border-top: 3px solid var(--green);
  color: inherit;
  transition: background-color 180ms ease, padding-left 180ms ease;
}

.evidence-stat:nth-child(2) {
  border-top-color: var(--green);
}

.evidence-stat:nth-child(3) {
  border-top-color: var(--green);
}

.evidence-stat:nth-child(4) {
  border-top-color: var(--green);
}

.evidence-stat + .evidence-stat {
  padding-left: 26px;
}

.evidence-stat:last-child {
  border-right: 0;
}

.evidence-stat strong {
  display: block;
  margin-bottom: 24px;
  font-size: 30px;
  font-weight: 560;
}

.evidence-stat span {
  display: block;
  max-width: 210px;
  color: #545a54;
  font-size: 12px;
  line-height: 1.35;
  text-transform: uppercase;
}

.evidence-stat > small {
  display: block;
  margin-bottom: 18px;
  color: #59615b;
  font-size: 11px;
  font-style: normal;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.evidence-stat > i {
  position: absolute;
  right: 24px;
  bottom: 24px;
  color: #69736c;
  font-size: 14px;
  font-style: normal;
  transition: transform 180ms ease;
}

.evidence-stat:hover,
.evidence-stat:focus-visible {
  background: rgba(47, 125, 90, 0.06);
}

.evidence-stat:hover > i,
.evidence-stat:focus-visible > i {
  transform: translate(3px, -3px);
}

.dark-band {
  background: var(--ink);
  color: var(--paper);
}

.foundation {
  padding: 120px 0 0;
}

.section-intro {
  display: grid;
  padding-bottom: 110px;
  grid-template-columns: 1fr 1.25fr 0.75fr;
}

.section-intro .section-number {
  color: var(--gray-dark);
}

.section-intro h2,
.section-heading h2,
.research-copy h2,
.contact-copy h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 470;
  line-height: 1.06;
}

.section-intro > p:last-child {
  max-width: 330px;
  margin: 4px 0 0 auto;
  color: #353c37;
  font-size: 17px;
}

.foundation-grid {
  display: grid;
  border-top: 1px solid var(--rule-light);
  grid-template-columns: repeat(3, 1fr);
}

.company-principles {
  display: grid;
  border-top: 1px solid var(--rule-light);
  grid-template-columns: repeat(3, 1fr);
}

.company-principles span {
  padding: 22px 0 24px;
  border-right: 1px solid var(--rule-light);
  color: var(--gray-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.company-principles span + span {
  padding-left: 34px;
}

.company-principles span:last-child {
  border-right: 0;
}

.foundation-item {
  min-height: 245px;
  padding: 28px 34px 48px 0;
  border-right: 1px solid var(--rule-light);
}

.foundation-item + .foundation-item {
  padding-left: 34px;
}

.foundation-item:last-child {
  border-right: 0;
}

.item-index {
  display: block;
  margin-bottom: 58px;
  color: var(--gray-dark);
  font-size: 12px;
}

.foundation-item h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 520;
}

.foundation-item p {
  max-width: 260px;
  margin: 0;
  color: #555a54;
}

.work {
  padding: 130px 0 150px;
  background: #eef1ec;
  color: var(--ink);
}

.section-heading {
  display: grid;
  margin-bottom: 115px;
  grid-template-columns: 1fr 2fr;
}

.work-index {
  border-top: 1px solid var(--rule-light);
}

.work-row {
  display: grid;
  min-height: 112px;
  align-items: center;
  border-bottom: 1px solid var(--rule-light);
  grid-template-columns: 70px 1.3fr 1.7fr 0.8fr 30px;
  transition: background-color 180ms ease, padding 180ms ease;
}

.work-row.featured:hover,
.work-row.featured:focus-visible {
  padding-inline: 18px;
  background: var(--ink);
  color: var(--paper);
}

.work-number,
.work-state {
  color: var(--gray-dark);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-name {
  font-size: 25px;
  font-weight: 520;
}

.work-type {
  color: #596059;
}

.row-arrow {
  justify-self: end;
  font-size: 18px;
}

.gray-section {
  background: #cfd4ce;
  color: var(--ink);
}

.gray-layout {
  display: grid;
  min-height: 720px;
  grid-template-columns: 1fr 1fr;
}

.gray-title {
  padding: 125px 80px 100px 0;
  border-right: 1px solid var(--rule-light);
}

.gray-title .section-number {
  color: var(--gray-dark);
}

.gray-title h2 {
  margin: 0 0 30px;
  font-size: 112px;
  font-weight: 470;
  line-height: 0.9;
}

.gray-lead {
  max-width: 390px;
  margin: 0 0 60px;
  font-size: 22px;
  line-height: 1.4;
}

.dark-link {
  color: var(--ink);
}

.proof-list {
  align-self: end;
  padding: 100px 0 100px 75px;
}

.proof-row {
  display: grid;
  padding: 28px 0;
  border-top: 1px solid var(--rule-light);
  grid-template-columns: 160px 1fr;
}

.proof-row:last-of-type {
  border-bottom: 1px solid var(--rule-light);
}

.proof-value {
  font-size: 30px;
  font-weight: 560;
}

.proof-label {
  align-self: center;
  color: #464b45;
}

.proof-note {
  max-width: 460px;
  margin: 24px 0 0;
  color: #596059;
  font-size: 12px;
}

.research {
  padding: 135px 0;
}

.research-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.research-copy {
  padding-right: 70px;
}

.research-copy .section-number {
  color: var(--gray-dark);
}

.research-body {
  padding: 48px 0 0 70px;
  border-left: 1px solid var(--rule-light);
}

.section-link {
  margin-top: 58px;
}

.data-panel {
  padding-top: 0;
}

.dark-chart-heading h3 {
  color: var(--ink);
  font-size: 24px;
}

.dark-chart-heading .chart-kicker,
.dark-chart-heading .chart-unit {
  color: var(--gray-dark);
}

.capacity-chart {
  height: 310px;
  margin: 34px 0 22px;
}

.chart-source {
  margin: 16px 0 0;
  color: #4a514b;
  font-size: 13px;
  line-height: 1.55;
}

.chart-callout {
  display: flex;
  margin: 24px 0 10px;
  padding: 16px 0;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
}

.chart-callout strong {
  font-size: 22px;
  font-weight: 620;
}

.chart-callout span {
  max-width: 300px;
  color: #4a514b;
  font-size: 13px;
  line-height: 1.4;
  text-align: right;
}

.mobile-chart-summary {
  display: none;
}

.chart-legend {
  display: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule-light);
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}

.chart-legend li {
  display: flex;
  min-width: 0;
  padding: 15px 14px 0 0;
  flex-direction: column;
  border-right: 1px solid var(--rule-light);
}

.chart-legend li + li {
  padding-left: 14px;
}

.chart-legend li:last-child {
  border-right: 0;
}

.chart-legend span {
  color: var(--gray-dark);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chart-legend strong {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 560;
}

.chart-legend .legend-accent strong {
  color: #496355;
}

.research-body > p {
  max-width: 530px;
  margin: 0 0 48px;
  font-size: 22px;
}

.research-body ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule-light);
  list-style: none;
}

.research-body li {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-light);
  color: #4e534d;
}

.contact {
  min-height: 680px;
  padding: 120px 0;
}

.contact-inner {
  display: grid;
  min-height: 440px;
  align-items: end;
  grid-template-columns: 1fr;
}

.contact-mark {
  display: none;
}

.contact-copy {
  align-self: end;
  width: 100%;
  max-width: 760px;
  margin-left: auto;
}

.contact-copy h2 {
  margin-bottom: 65px;
  font-size: 62px;
}

.contact-email {
  display: flex;
  max-width: 590px;
  padding: 18px 0;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
  font-size: 20px;
}

.site-footer {
  border-top: 1px solid var(--rule-dark);
  background: var(--ink);
  color: var(--gray);
}

.page-hero {
  position: relative;
  min-height: 650px;
  padding: 185px 0 110px;
  overflow: hidden;
  background-color: var(--ink);
  background-image: url("/assets/grayworth-texture-dark.svg");
  background-size: 240px 240px;
}

.page-hero::before {
  position: absolute;
  inset: 70px 0 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: min(76vw, 1040px) auto;
  content: "";
  opacity: 0.9;
  pointer-events: none;
  animation: page-pattern-drift 18s ease-in-out infinite;
}

.company-page .page-hero::before {
  background-image: url("/assets/grayworth-pattern-core.svg");
}

.engineering-page .page-hero::before {
  background-image: url("/assets/grayworth-pattern-circuit.svg");
}

.research-page .page-hero::before {
  background-image: url("/assets/grayworth-pattern-measure.svg");
}

.preview-page .page-hero::before {
  background-image: url("/assets/grayworth-pattern-forward.svg");
}

@keyframes page-pattern-drift {
  50% {
    opacity: 0.68;
    transform: translate3d(8px, -5px, 0) scale(1.018);
  }
}

.dark-page {
  background: var(--ink);
  color: var(--paper);
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 355px;
  align-items: end;
  gap: 28px;
  grid-template-columns: 0.95fr 0.65fr 0.85fr;
}

.page-hero h1 {
  max-width: 520px;
  margin: 0;
  font-size: 68px;
  font-weight: 480;
  line-height: 1.02;
}

.page-hero-object {
  position: relative;
  display: grid;
  height: 355px;
  align-self: center;
  place-items: center;
  transition: transform 320ms ease, filter 320ms ease;
}

.page-hero-object::after {
  position: absolute;
  width: 92%;
  height: 72%;
  border: 1px solid rgba(248, 249, 246, 0.07);
  content: "";
  clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
  pointer-events: none;
}

.page-hero-object img {
  position: relative;
  z-index: 1;
  width: 120%;
  max-width: none;
  filter:
    drop-shadow(0 26px 30px rgba(0, 0, 0, 0.34))
    drop-shadow(0 0 24px rgba(229, 234, 231, 0.08));
  animation: page-object-float 7.8s ease-in-out infinite;
}

.company-page .page-hero-object img {
  width: 128%;
}

.engineering-page .page-hero-object img {
  width: 126%;
}

.research-page .page-hero-object img {
  width: 132%;
}

.preview-page .page-hero-object img {
  width: 96%;
}

@keyframes page-object-float {
  50% {
    transform: translateY(-9px) rotate(0.65deg);
  }
}

.page-hero-copy {
  max-width: 480px;
  padding: 48px 0 4px 30px;
  border-left: 1px solid var(--rule-dark);
}

.page-hero-copy > p {
  margin: 0 0 42px;
  color: var(--paper-dim);
  font-size: 20px;
  line-height: 1.5;
}

.page-hero-copy .founder-line {
  margin-top: -20px;
  color: #aeb7b0;
  font-size: 13px;
  font-weight: 620;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.method-note {
  color: #b4bab4 !important;
  font-size: 13px !important;
}

.company-manifesto,
.principles,
.stewardship,
.system-flow,
.capabilities,
.db-evolution,
.research-sheet,
.preview-table {
  background-image: url("/assets/grayworth-texture-light.svg");
  background-size: 240px 240px;
}

.research-ledger,
.faq {
  background-image: url("/assets/grayworth-texture-dark.svg");
  background-size: 240px 240px;
}

.object-break {
  position: relative;
  min-height: 450px;
  overflow: hidden;
  background-color: var(--ink);
  background-image:
    url("/assets/grayworth-texture-dark.svg");
  background-size: 240px 240px;
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
}

.object-break::before {
  position: absolute;
  inset: -70px 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: min(86vw, 1160px) auto;
  content: "";
  opacity: 0.62;
  pointer-events: none;
}

.company-object-break::before {
  background-image: url("/assets/grayworth-pattern-circuit.svg");
}

.engineering-object-break::before {
  background-image: url("/assets/grayworth-pattern-measure.svg");
}

.research-object-break::before {
  background-image: url("/assets/grayworth-pattern-forward.svg");
}

.preview-object-break::before {
  background-image: url("/assets/grayworth-pattern-core.svg");
}

.object-break-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 450px;
  align-items: center;
  grid-template-columns: 0.82fr 1.18fr;
}

.object-break-copy {
  z-index: 2;
}

.object-break-copy h2 {
  margin: 0;
  font-size: 54px;
  font-weight: 470;
  line-height: 1.02;
}

.object-break-stage {
  position: relative;
  height: 450px;
  transition: transform 320ms ease;
}

.object-break-stage::after {
  position: absolute;
  inset: 13% 7%;
  border: 1px solid rgba(248, 249, 246, 0.08);
  content: "";
  clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
}

.object-break-stage img {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: min(760px, 118%);
  max-width: none;
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.38));
  transform: translate(-50%, -50%);
  animation: object-break-drift 9s ease-in-out infinite;
}

.research-object-break .object-break-stage img {
  width: min(360px, 58%);
}

.preview-object-break .object-break-stage img {
  width: min(690px, 108%);
}

@keyframes object-break-drift {
  50% {
    transform: translate(-48%, calc(-50% - 8px)) rotate(-0.5deg);
  }
}

@media (hover: hover) {
  .page-hero-object.reveal.is-visible:hover {
    filter: brightness(1.08);
    transform: translateY(-6px) scale(1.025);
  }

  .object-break-stage.reveal.is-visible:hover {
    transform: scale(1.025);
  }

  .principle-grid article,
  .pipeline > div,
  .capability-row,
  .preview-step,
  .ledger-table > div,
  .chart-wrap {
    transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
  }

  .principle-grid article.reveal.is-visible:hover,
  .pipeline > div:hover,
  .preview-step.reveal.is-visible:hover {
    background: rgba(255, 255, 255, 0.28);
    box-shadow: inset 0 3px 0 rgba(57, 117, 208, 0.58);
    transform: translateY(-4px);
  }

  .capability-row.reveal.is-visible:hover,
  .ledger-table > div:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(8px);
  }

  .light-capabilities .capability-row.reveal.is-visible:hover {
    background: rgba(255, 255, 255, 0.35);
  }

  .chart-wrap:hover {
    box-shadow: 0 22px 45px rgba(17, 19, 17, 0.08);
    transform: translateY(-5px);
  }
}

.system-flow,
.db-evolution,
.research-sheet,
.company-manifesto,
.stewardship {
  padding: 120px 0;
}

.pipeline {
  display: grid;
  margin-top: 60px;
  border-top: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
  grid-template-columns: repeat(5, 1fr);
}

.pipeline > div {
  position: relative;
  min-height: 190px;
  padding: 24px 22px;
  border-right: 1px solid var(--rule-light);
}

.pipeline > div:last-child {
  border-right: 0;
}

.pipeline > div:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -8px;
  width: 15px;
  height: 15px;
  background: var(--paper);
  border-top: 1px solid var(--rule-light);
  border-right: 1px solid var(--rule-light);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.pipeline span,
.pipeline small {
  display: block;
  color: var(--gray-dark);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.pipeline strong {
  display: block;
  margin: 65px 0 7px;
  font-size: 18px;
  font-weight: 560;
}

.capabilities,
.principles,
.research-ledger,
.faq {
  padding: 130px 0;
}

.capability-table {
  border-top: 1px solid var(--rule-dark);
}

.capability-row {
  display: grid;
  min-height: 96px;
  padding: 24px 0;
  align-items: center;
  border-bottom: 1px solid var(--rule-dark);
  grid-template-columns: 0.75fr 2.2fr 0.55fr;
}

.capability-row span,
.capability-row small {
  color: var(--gray);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.capability-row strong {
  font-size: 18px;
  font-weight: 500;
}

.capability-row small {
  justify-self: end;
}

.split-data-layout,
.research-chart-grid {
  display: grid;
  gap: 85px;
  grid-template-columns: 0.8fr 1.2fr;
}

.split-data-layout h2,
.research-chart-grid h2,
.manifesto-grid blockquote,
.faq-layout h2,
.stewardship h2 {
  margin: 0 0 35px;
  font-size: 50px;
  font-weight: 470;
  line-height: 1.04;
}

.split-data-layout p,
.chart-copy p {
  max-width: 470px;
  color: #555a54;
  font-size: 17px;
}

.database-chart,
.research-line-chart {
  height: 330px;
  margin-top: 28px;
  border-top: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
}

.data-caption {
  display: grid;
  padding-top: 13px;
  color: var(--gray-dark);
  font-size: 10px;
  letter-spacing: 0.06em;
  grid-template-columns: repeat(3, 1fr);
  text-transform: uppercase;
}

.data-caption.four {
  grid-template-columns: repeat(4, 1fr);
}

.research-sheet {
  border-bottom: 1px solid var(--rule-light);
}

.muted-band {
  background: #d6dad4;
  color: var(--ink);
}

.large-chart {
  height: 300px;
}

.ledger-table {
  border-top: 1px solid var(--rule-dark);
}

.ledger-table > div {
  display: grid;
  min-height: 105px;
  padding: 25px 0;
  align-items: center;
  border-bottom: 1px solid var(--rule-dark);
  grid-template-columns: 0.55fr 1.1fr 0.8fr 1.2fr;
}

.ledger-table span,
.ledger-table small {
  color: var(--gray);
  font-size: 11px;
  text-transform: uppercase;
}

.ledger-table strong {
  font-size: 18px;
  font-weight: 520;
}

.ledger-table em {
  font-size: 24px;
  font-style: normal;
}

.pricing-hero .page-hero-copy {
  padding-top: 0;
}

.billing-toggle {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--rule-dark);
}

.billing-toggle button {
  min-width: 112px;
  padding: 10px 14px;
  background: transparent;
  border: 0;
  color: var(--gray);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
}

.billing-toggle button.is-active {
  background: var(--paper);
  color: var(--ink);
}

.pricing-table {
  padding: 0 0 95px;
}

.pricing-grid {
  display: grid;
  border-top: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
  grid-template-columns: repeat(3, 1fr);
}

.price-column {
  min-height: 650px;
  padding: 54px 42px 42px 0;
  border-right: 1px solid var(--rule-light);
}

.price-column + .price-column {
  padding-left: 42px;
}

.price-column:last-child {
  border-right: 0;
}

.featured-price {
  background: #edf0eb;
}

.price-label {
  color: var(--gray-dark);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price-column h2 {
  min-height: 86px;
  margin: 48px 0 0;
  font-size: 58px;
  font-weight: 500;
}

.price-suffix {
  min-height: 24px;
  margin: 0 0 38px;
  color: var(--gray-dark);
  font-size: 12px;
}

.price-column > p:not(.price-label, .price-suffix) {
  min-height: 82px;
  color: #515650;
}

.price-column ul {
  min-height: 185px;
  margin: 34px 0 44px;
  padding: 0;
  border-top: 1px solid var(--rule-light);
  list-style: none;
}

.price-column li {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-light);
  font-size: 13px;
}

.price-action {
  display: flex;
  padding: 14px 0;
  justify-content: space-between;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.pricing-disclosure {
  padding-top: 24px;
  color: var(--gray-dark);
  font-size: 11px;
}

.faq-layout,
.manifesto-grid {
  display: grid;
  gap: 80px;
  grid-template-columns: 0.8fr 1.2fr;
}

.faq details {
  border-top: 1px solid var(--rule-dark);
}

.faq details:last-child {
  border-bottom: 1px solid var(--rule-dark);
}

.faq summary {
  padding: 22px 0;
  cursor: pointer;
  font-size: 18px;
}

.faq details p {
  max-width: 620px;
  margin: 0 0 28px;
  color: var(--gray);
}

.manifesto-grid blockquote {
  margin-top: 0;
}

.manifesto-grid > div p {
  margin: 0 0 28px;
  color: #555a54;
  font-size: 17px;
}

.principle-grid {
  display: grid;
  border-top: 1px solid var(--rule-dark);
  grid-template-columns: repeat(3, 1fr);
}

.principle-grid article {
  min-height: 310px;
  padding: 26px 36px 40px 0;
  border-right: 1px solid var(--rule-dark);
}

.principle-grid article + article {
  padding-left: 36px;
}

.principle-grid article:last-child {
  border-right: 0;
}

.principle-grid span {
  color: var(--gray);
  font-size: 11px;
}

.principle-grid h3 {
  margin: 92px 0 18px;
  font-size: 22px;
  font-weight: 520;
}

.principle-grid p {
  color: var(--gray);
}

.footer-inner {
  display: grid;
  min-height: 86px;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  font-size: 12px;
}

.footer-inner > a {
  justify-self: end;
}

.runtime-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-dark);
}

.runtime-status.is-online .status-dot {
  background: #7e9b83;
  box-shadow: 0 0 0 4px rgba(126, 155, 131, 0.12);
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal {
  transition: opacity 300ms ease, transform 300ms ease;
}

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

.principle-grid .reveal:nth-child(2),
.preview-grid .reveal:nth-child(2) {
  transition-delay: 80ms;
}

.principle-grid .reveal:nth-child(3),
.preview-grid .reveal:nth-child(3) {
  transition-delay: 160ms;
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
    transition-delay: 0ms;
  }

  .nav a::after,
  .text-link,
  .work-row,
  .chart-wrap canvas.chart-enter {
    transition: none;
    animation: none;
  }

  .hero-art .hero-bolt,
  .hero-art .hero-contours,
  .page-hero::before,
  .page-hero-object img,
  .object-break-stage img {
    animation: none;
  }
}

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

  .header-inner {
    min-height: 76px;
  }

  .brand {
    width: 142px;
  }

  .nav {
    max-width: 58%;
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-inner {
    min-height: 655px;
    padding-top: 120px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    align-self: end;
    padding-bottom: 120px;
  }

  .hero h1 {
    font-size: 64px;
  }

  .hero-field {
    position: absolute;
    inset: 0 20px 0 64%;
    display: block;
    padding: 0;
    border-left: 1px solid var(--rule-dark);
    pointer-events: none;
  }

  .hero-chart-field {
    inset: 0 20px 0 68%;
  }

  .hero-chart-field .chart-heading,
  .hero-chart-field .hero-chart,
  .hero-chart-field .hero-runtime {
    display: none;
  }

  .code-field {
    display: none;
  }

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

  .evidence-stat:nth-child(2) {
    border-right: 0;
  }

  .evidence-stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--rule-light);
  }

  .section-intro,
  .section-heading,
  .research-layout {
    grid-template-columns: 1fr;
  }

  .section-intro h2,
  .section-heading h2,
  .research-copy h2 {
    margin-bottom: 38px;
  }

  .section-intro > p:last-child {
    margin-left: 0;
  }

  .section-heading {
    margin-bottom: 80px;
  }

  .work-row {
    grid-template-columns: 55px 1.2fr 1.4fr 30px;
  }

  .work-state {
    display: none;
  }

  .gray-layout {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .gray-title {
    padding: 105px 0 80px;
    border-right: 0;
    border-bottom: 1px solid var(--rule-light);
  }

  .proof-list {
    padding: 70px 0 100px;
  }

  .research-body {
    padding: 60px 0 0;
    border-left: 0;
  }

  .page-hero-grid,
  .split-data-layout,
  .research-chart-grid,
  .faq-layout,
  .manifesto-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-grid {
    gap: 0;
  }

  .page-hero-object {
    height: 300px;
    margin: 18px 0;
    overflow: hidden;
  }

  .company-page .page-hero-object img,
  .engineering-page .page-hero-object img,
  .research-page .page-hero-object img {
    width: min(510px, 82vw);
  }

  .preview-page .page-hero-object img {
    width: min(300px, 66vw);
  }

  .page-hero-copy {
    max-width: 620px;
    margin-top: 0;
    padding: 38px 0 0;
    border-top: 1px solid var(--rule-dark);
    border-left: 0;
  }

  .object-break-inner {
    min-height: 620px;
    padding-top: 72px;
    align-items: start;
    grid-template-columns: 1fr;
  }

  .object-break-copy h2 {
    font-size: 44px;
  }

  .object-break-stage {
    height: 390px;
  }

  .object-break-stage img {
    width: min(660px, 94vw);
  }

  .research-object-break .object-break-stage img {
    width: min(310px, 50vw);
  }

  .preview-object-break .object-break-stage img {
    width: min(580px, 86vw);
  }

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

  .pipeline > div {
    min-height: 110px;
    border-right: 0;
    border-bottom: 1px solid var(--rule-light);
  }

  .pipeline > div:not(:last-child)::after {
    display: none;
  }

  .pipeline strong {
    margin-top: 28px;
  }

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

  .price-column,
  .price-column + .price-column {
    min-height: 0;
    padding: 52px 0;
    border-right: 0;
    border-bottom: 1px solid var(--rule-light);
  }

  .featured-price {
    margin-inline: -20px;
    padding-inline: 20px !important;
  }

  .price-column > p:not(.price-label, .price-suffix),
  .price-column ul {
    min-height: 0;
  }

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

  .principle-grid article,
  .principle-grid article + article {
    min-height: 0;
    padding: 28px 0 46px;
    border-right: 0;
    border-bottom: 1px solid var(--rule-dark);
  }

  .principle-grid h3 {
    margin-top: 44px;
  }
}

@media (max-width: 620px) {
  .shell {
    width: calc(100% - 32px);
  }

  .header-inner {
    display: block;
    padding: 20px 0 12px;
  }

  .brand {
    width: 136px;
  }

  .nav {
    width: 100%;
    max-width: none;
    margin-top: 12px;
    gap: 14px;
    font-size: 13px;
  }

  .hero {
    min-height: 690px;
  }

  .hero-inner {
    min-height: 625px;
    padding-top: 120px;
  }

  .hero-copy {
    padding-bottom: 92px;
  }

  .hero h1 {
    font-size: 54px;
    line-height: 1.04;
  }

  .hero-statement {
    margin-top: 22px;
    font-size: 24px;
  }

  .hero-deck {
    max-width: 92%;
    margin: 22px 0 34px;
    font-size: 16px;
  }

  .hero-footer {
    min-height: 64px;
    font-size: 10px;
  }

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

  .evidence-stat {
    min-height: 132px;
    padding: 22px 16px 22px 0;
  }

  .evidence-stat + .evidence-stat {
    padding-left: 16px;
  }

  .evidence-stat strong {
    margin-bottom: 18px;
    font-size: 24px;
  }

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

  .chart-legend li {
    padding-bottom: 12px;
  }

  .foundation,
  .work,
  .research,
  .contact {
    padding-top: 90px;
  }

  .section-intro {
    padding-bottom: 75px;
  }

  .section-intro h2,
  .section-heading h2,
  .research-copy h2,
  .contact-copy h2 {
    font-size: 36px;
  }

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

  .foundation-item,
  .foundation-item + .foundation-item {
    min-height: 0;
    padding: 24px 0 38px;
    border-right: 0;
    border-bottom: 1px solid var(--rule-light);
  }

  .item-index {
    margin-bottom: 34px;
  }

  .company-principles {
    grid-template-columns: 1fr;
  }

  .company-principles span,
  .company-principles span + span {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--rule-light);
  }

  .work {
    padding-bottom: 100px;
  }

  .work-row {
    min-height: 104px;
    grid-template-columns: 40px 1fr 24px;
  }

  .work-type,
  .work-state {
    display: none;
  }

  .work-name {
    font-size: 20px;
  }

  .gray-title h2 {
    font-size: 78px;
  }

  .proof-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .proof-value {
    font-size: 27px;
  }

  .research-body > p {
    font-size: 19px;
  }

  .contact-inner {
    min-height: 470px;
    grid-template-columns: 1fr;
  }

  .contact-mark {
    width: 145px;
  }

  .contact-copy h2 {
    margin-bottom: 45px;
  }

  .contact-email {
    font-size: 16px;
  }

  .page-hero {
    min-height: 620px;
    padding: 150px 0 80px;
  }

  .page-hero-grid {
    min-height: 0;
  }

  .page-hero h1 {
    font-size: 45px;
  }

  .page-hero-copy > p {
    font-size: 17px;
  }

  .page-hero-object {
    height: 250px;
    margin: 14px -16px 20px;
  }

  .company-page .page-hero-object img,
  .engineering-page .page-hero-object img,
  .research-page .page-hero-object img {
    width: min(390px, 98vw);
  }

  .preview-page .page-hero-object img {
    width: min(245px, 64vw);
  }

  .object-break-inner {
    min-height: 550px;
    padding-top: 64px;
  }

  .object-break-copy h2 {
    font-size: 38px;
  }

  .object-break-stage {
    height: 330px;
    margin-inline: -16px;
  }

  .system-flow,
  .db-evolution,
  .research-sheet,
  .company-manifesto,
  .stewardship,
  .capabilities,
  .principles,
  .research-ledger,
  .faq {
    padding: 85px 0;
  }

  .capability-row {
    gap: 10px;
    grid-template-columns: 1fr auto;
  }

  .capability-row strong {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 16px;
  }

  .split-data-layout h2,
  .research-chart-grid h2,
  .manifesto-grid blockquote,
  .faq-layout h2,
  .stewardship h2 {
    font-size: 38px;
  }

  .research-line-chart,
  .database-chart {
    height: 260px;
  }

  .ledger-table > div {
    gap: 8px;
    grid-template-columns: 1fr 1fr;
  }

  .ledger-table em,
  .ledger-table small {
    grid-row: 2;
  }

  .billing-toggle {
    width: 100%;
  }

  .billing-toggle button {
    width: 50%;
  }

  .price-column h2 {
    font-size: 48px;
  }

  .footer-inner {
    min-height: 118px;
    grid-template-columns: 1fr 1fr;
    row-gap: 12px;
  }

  .runtime-status {
    display: none;
  }
}

/* Gray docs v2: utility first */

.docs-page {
  --docs-bg: #f7f8f5;
  --docs-surface: #fff;
  --docs-sidebar: #f1f3ef;
  --docs-text: #111411;
  --docs-muted: #586159;
  --docs-border: #d8ddd6;
  --docs-accent: #597065;
  --docs-code: #121512;
  background: var(--docs-bg);
  color: var(--docs-text);
  font-size: 15px;
}

.docs-header {
  position: sticky;
  z-index: 40;
  top: 0;
  display: grid;
  min-height: 56px;
  padding: 0 22px;
  align-items: center;
  border-bottom: 1px solid var(--docs-border);
  background: rgba(255, 255, 255, 0.97);
  gap: 28px;
  grid-template-columns: auto minmax(280px, 560px) 1fr;
  backdrop-filter: blur(14px);
}

.docs-header-brand {
  display: flex;
  align-items: center;
  color: var(--docs-text);
  font-size: 14px;
  gap: 9px;
  white-space: nowrap;
}

.docs-header-product {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.docs-header-product img {
  width: 24px;
  height: 24px;
}

.docs-header-product strong {
  font-weight: 690;
}

.docs-header-divider {
  color: #a2a8a2;
}

.docs-header-title {
  font-weight: 570;
}

.docs-header .docs-version {
  display: inline-flex;
  min-height: 22px;
  padding: 0 7px;
  align-items: center;
  border: 1px solid var(--docs-border);
  color: #687068;
  font-size: 10px;
  font-weight: 630;
}

.docs-header .docs-search-wrap {
  width: 100%;
}

.docs-header .docs-search {
  height: 36px;
  border-color: #cdd2cb;
  background: #f7f8f5;
}

.docs-header .docs-search:focus-within {
  background: #fff;
}

.docs-header-links {
  display: flex;
  justify-self: end;
  gap: 24px;
}

.docs-header-links a {
  color: #4f574f;
  font-size: 12px;
}

.docs-header-links a:hover {
  color: var(--docs-text);
}

.docs-header > .docs-index-toggle {
  display: none;
}

.docs-layout {
  display: grid;
  width: min(100%, 1240px);
  min-height: calc(100vh - 56px);
  margin: 0 auto;
  align-items: stretch;
  gap: 0;
  grid-template-columns: 246px minmax(0, 920px);
}

.docs-sidebar {
  position: sticky;
  top: 56px;
  height: calc(100vh - 56px);
  max-height: none;
  padding: 31px 20px 60px 22px;
  overflow-y: auto;
  border-right: 1px solid var(--docs-border);
  background: var(--docs-sidebar);
}

.docs-index {
  gap: 1px;
}

.docs-index p {
  margin: 25px 0 8px;
  color: #7a837b;
  font-size: 9px;
}

.docs-index p:first-child {
  margin-top: 0;
}

.docs-index a {
  padding: 6px 9px 6px 13px;
  color: #515a52;
  font-size: 13px;
}

.docs-index a::before {
  top: 7px;
  bottom: 7px;
}

.docs-content {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: var(--docs-surface);
}

.docs-intro,
.docs-section {
  padding-right: 64px;
  padding-left: 64px;
}

.docs-intro {
  display: block;
  min-height: 0;
  padding-top: 46px;
  padding-bottom: 58px;
  overflow: visible;
  border-bottom: 1px solid var(--docs-border);
  background: var(--docs-surface);
}

.docs-intro::after {
  display: none;
}

.docs-breadcrumb {
  margin: 0 0 17px;
  color: #758078;
  font-size: 10px;
  font-weight: 680;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-intro h1 {
  max-width: 720px;
  margin: 0;
  font-size: 34px;
  font-weight: 610;
  line-height: 1.12;
}

.docs-lead {
  max-width: 680px;
  margin: 12px 0 24px;
  color: var(--docs-muted);
  font-size: 16px;
  line-height: 1.55;
}

.docs-start-command {
  margin: 0 0 12px;
}

.docs-start-command pre {
  padding-top: 14px;
  padding-bottom: 14px;
}

.docs-start-source {
  margin: 0;
}

.docs-start-source pre {
  max-height: none;
  padding-top: 17px;
  padding-bottom: 19px;
  font-size: 12.5px;
  line-height: 1.55;
}

.docs-start-result {
  display: grid;
  min-height: 43px;
  padding: 0 13px;
  align-items: center;
  border: 1px solid var(--docs-border);
  border-top: 0;
  background: #f3f5f1;
  color: #525b53;
  font-size: 11px;
  gap: 16px;
  grid-template-columns: auto 1fr auto;
}

.docs-start-result > code {
  justify-self: start;
  border: 0 !important;
  background: transparent !important;
  color: #26342d;
}

.docs-start-result strong {
  color: #65756c;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.docs-section {
  padding-top: 62px;
  padding-bottom: 62px;
  scroll-margin-top: 56px;
  border-bottom-color: var(--docs-border);
}

.docs-heading {
  max-width: 710px;
  margin-bottom: 27px;
}

.docs-kicker {
  margin-bottom: 12px;
  color: #67796e;
  font-size: 10px;
}

.docs-heading h2 {
  font-size: 29px;
  font-weight: 610;
  line-height: 1.15;
}

.docs-heading > p:last-child,
.docs-heading > div > p:last-child {
  margin-top: 12px;
  color: var(--docs-muted);
  font-size: 14px;
  line-height: 1.6;
}

.docs-code {
  border-color: #2a302c;
  background: var(--docs-code);
  box-shadow: none;
  clip-path: polygon(
    5px 0,
    calc(100% - 5px) 0,
    100% 5px,
    100% calc(100% - 5px),
    calc(100% - 5px) 100%,
    5px 100%,
    0 calc(100% - 5px),
    0 5px
  );
}

.docs-code-head {
  min-height: 36px;
  padding-left: 14px;
  color: #98a49c;
  font-size: 10px;
}

.docs-code-copy {
  min-width: 48px;
  min-height: 26px;
  font-size: 9px;
}

.docs-code pre {
  padding: 19px 21px 22px;
  font-size: 12.5px;
  line-height: 1.65;
}

.docs-note {
  grid-template-columns: 145px 1fr;
}

.docs-columns {
  gap: 30px;
  grid-template-columns: 1.2fr 0.8fr;
}

.docs-project-grid {
  grid-template-columns: 0.7fr 1.3fr;
}

.docs-language-grid article {
  min-height: 186px;
}

.docs-language-grid h3 {
  margin-top: 31px;
}

.docs-data-flow div {
  min-height: 104px;
}

.docs-data-flow strong {
  margin-top: 33px;
}

.docs-mode-row {
  min-height: 74px;
  grid-template-columns: 90px 225px 1fr;
}

.docs-command-list div {
  min-height: 70px;
}

.docs-heading-api {
  align-items: end;
}

.docs-api-filters {
  margin: 0;
  border-bottom: 1px solid var(--docs-border);
  gap: 20px;
}

.docs-api-filters button {
  position: relative;
  min-height: 39px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #606960;
}

.docs-api-filters button::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: transparent;
  content: "";
}

.docs-api-filters button:hover,
.docs-api-filters button.is-active {
  border: 0;
  background: transparent;
  color: var(--docs-text);
}

.docs-api-filters button.is-active::after {
  background: var(--docs-accent);
}

.docs-api-layout {
  height: 540px;
  border: 0;
  border-bottom: 1px solid var(--docs-border);
  background: var(--docs-surface);
  grid-template-columns: minmax(190px, 0.72fr) minmax(0, 1.28fr);
}

.docs-api-list {
  border-right-color: var(--docs-border);
}

.docs-api-list button {
  min-height: 48px;
}

.docs-api-list button:hover,
.docs-api-list button.is-active {
  background: #f1f3ef;
}

.docs-api-detail {
  padding: 34px 30px;
}

.docs-api-detail h3 {
  margin-bottom: 18px;
}

.docs-api-detail pre {
  padding: 16px;
  border: 1px solid #252b27;
  background: var(--docs-code);
  color: #e6ebe7;
  line-height: 1.7;
}

.docs-status {
  background: #eef1ec;
  background-image: none;
}

.docs-status-grid {
  margin: 30px 0;
}

.docs-footer {
  border-top: 0;
}

@media (max-width: 900px) {
  .docs-header {
    min-height: 56px;
    padding: 0 16px;
    gap: 16px;
    grid-template-columns: auto minmax(180px, 1fr) auto;
  }

  .docs-header-links {
    display: none;
  }

  .docs-header > .docs-index-toggle {
    display: inline-flex;
    min-height: 34px;
    padding: 0 9px;
    align-items: center;
    border: 1px solid var(--docs-border);
    background: transparent;
    color: var(--docs-text);
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    gap: 7px;
  }

  .docs-header > .docs-index-toggle span {
    font-size: 16px;
    transition: transform 180ms ease;
  }

  .docs-header > .docs-index-toggle[aria-expanded="true"] span {
    transform: rotate(45deg);
  }

  .docs-layout {
    display: block;
    width: 100%;
  }

  .docs-sidebar {
    position: fixed;
    z-index: 35;
    top: 56px;
    bottom: 0;
    left: 0;
    display: none;
    width: min(310px, 86vw);
    height: auto;
    padding: 25px 20px;
    border-right: 1px solid var(--docs-border);
    box-shadow: 22px 0 55px rgba(17, 20, 17, 0.12);
  }

  .docs-sidebar:has(.docs-index.is-open) {
    display: block;
  }

  .docs-index.is-open {
    display: grid;
    max-height: none;
    padding: 0;
  }

  .docs-content {
    width: min(100%, 920px);
    margin: 0 auto;
    border: 0;
  }

  .docs-intro,
  .docs-section {
    padding-right: 40px;
    padding-left: 40px;
  }

  .docs-intro {
    padding-top: 40px;
  }
}

@media (max-width: 620px) {
  .docs-header {
    padding: 0 12px;
    gap: 9px;
    grid-template-columns: auto minmax(100px, 1fr) auto;
  }

  .docs-header-brand {
    gap: 6px;
  }

  .docs-header-product {
    gap: 6px;
  }

  .docs-header-product img {
    width: 22px;
    height: 22px;
  }

  .docs-header-divider,
  .docs-header .docs-version {
    display: none;
  }

  .docs-header .docs-search {
    grid-template-columns: 16px 1fr;
  }

  .docs-header .docs-search input {
    padding-right: 2px;
    padding-left: 6px;
    font-size: 12px;
  }

  .docs-header .docs-search input::placeholder {
    color: transparent;
  }

  .docs-header .docs-search input:focus::placeholder {
    color: #747b74;
  }

  .docs-header > .docs-index-toggle {
    padding-inline: 8px;
  }

  .docs-intro,
  .docs-section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .docs-intro {
    padding-top: 28px;
    padding-bottom: 44px;
  }

  .docs-intro h1 {
    font-size: 28px;
  }

  .docs-lead {
    margin-bottom: 20px;
    font-size: 14px;
  }

  .docs-start-command,
  .docs-start-source {
    margin-right: 0;
    margin-left: 0;
  }

  .docs-start-source pre {
    font-size: 11.5px;
  }

  .docs-start-result {
    padding: 9px 11px;
    gap: 5px 12px;
    grid-template-columns: auto 1fr;
  }

  .docs-start-result strong {
    grid-column: 1 / -1;
  }

  .docs-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .docs-heading h2 {
    font-size: 25px;
  }

  .docs-code:not(.docs-start-command):not(.docs-start-source) {
    margin-right: -20px;
    margin-left: -20px;
    clip-path: none;
  }

  .docs-mode-row {
    grid-template-columns: 78px 1fr;
  }

  .docs-api-filters {
    gap: 17px;
  }

  .docs-api-layout {
    height: auto;
  }
}

/* Product-led site revision */

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.primary-link {
  display: inline-flex;
  min-height: 46px;
  padding: 0 18px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid var(--paper);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  font-weight: 590;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.primary-link:hover,
.primary-link:focus-visible {
  background: #d9e7ff;
  border-color: #d9e7ff;
  transform: translateY(-2px);
}

.secondary-link {
  display: inline-flex;
  min-height: 46px;
  padding: 0 18px;
  align-items: center;
  border: 1px solid var(--rule-dark);
  border-radius: 4px;
  color: var(--paper);
  font-size: 14px;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.secondary-link:hover,
.secondary-link:focus-visible {
  background: rgba(248, 249, 246, 0.06);
  border-color: rgba(248, 249, 246, 0.5);
  transform: translateY(-2px);
}

.quiet-link {
  padding: 9px 0 7px;
  border-bottom: 1px solid var(--rule-dark);
  color: var(--paper-dim);
  font-size: 14px;
}

.product-field {
  padding-top: 70px;
  background:
    linear-gradient(90deg, rgba(17, 19, 17, 0.78), rgba(17, 19, 17, 0.24)),
    linear-gradient(180deg, rgba(57, 117, 208, 0.06), transparent 38%);
  backdrop-filter: blur(1.5px);
}

.product-field-head,
.product-field-foot {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
  color: var(--gray);
  font-size: 12px;
  font-weight: 620;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c9d9cf;
}

.product-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7bc59a;
  box-shadow: 0 0 0 5px rgba(123, 197, 154, 0.09);
  animation: live-pulse 2.4s ease-in-out infinite;
}

@keyframes live-pulse {
  50% {
    box-shadow: 0 0 0 9px rgba(123, 197, 154, 0);
  }
}

.product-path {
  display: grid;
  margin: 26px 0;
}

.product-path > div {
  position: relative;
  display: grid;
  min-height: 132px;
  padding: 22px 16px 20px 26px;
  align-items: start;
  border-bottom: 1px solid var(--rule-dark);
  background: linear-gradient(90deg, rgba(17, 19, 17, 0.58), rgba(17, 19, 17, 0.36));
  grid-template-columns: 38px 94px 1fr;
  transition: background 180ms ease, padding-left 180ms ease;
}

.product-path > div:first-child {
  border-top: 1px solid var(--rule-dark);
}

.product-path > div::before {
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: 0;
  width: 3px;
  background: #72a8ee;
  content: "";
}

.product-path > div:nth-child(2)::before {
  background: #76b88f;
}

.product-path > div:nth-child(3)::before {
  background: #e28a70;
}

.product-path > div:hover {
  padding-left: 32px;
  background: rgba(248, 249, 246, 0.035);
}

.product-path span,
.product-path small {
  color: var(--gray);
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.product-path strong {
  color: var(--paper);
  font-size: 17px;
  font-weight: 560;
}

.product-path p {
  margin: 0;
  color: #bdc2bc;
  font-size: 14px;
  line-height: 1.45;
}

.product-path small {
  grid-column: 3;
  margin-top: 12px;
}

.product-field-foot {
  border-top: 0;
}

.product-field-foot strong {
  color: #a8d8ba;
}

.hero-footer {
  position: relative;
  z-index: 1;
  color: #919891;
}

.product-strip {
  background-color: var(--paper);
  background-image: url("/assets/grayworth-texture-light.svg");
  background-size: 240px 240px;
}

.product-strip .evidence-stat {
  min-height: 165px;
  padding-top: 32px;
  border-top: 1px solid var(--rule-light);
  border-top-color: var(--rule-light);
}

.product-strip .evidence-stat:nth-child(1) {
  background: rgba(238, 241, 237, 0.9);
}

.product-strip .evidence-stat:nth-child(2) {
  background: rgba(238, 241, 237, 0.9);
}

.product-strip .evidence-stat:nth-child(3) {
  background: rgba(238, 241, 237, 0.9);
}

.product-strip .evidence-stat:nth-child(4) {
  background: rgba(238, 241, 237, 0.9);
}

.product-strip .evidence-stat strong {
  font-size: 19px;
}

.product-strip .evidence-stat span {
  max-width: 225px;
  color: #4e554f;
  font-size: 12px;
}

.product-strip .evidence-stat:hover,
.product-strip .evidence-stat:focus-visible {
  background: #e1e7e1;
}

.code-proof {
  padding: 125px 0;
  background-image: url("/assets/grayworth-texture-light.svg");
  background-size: 240px 240px;
  border-bottom: 1px solid var(--rule-light);
}

.code-proof-grid {
  display: grid;
  gap: 82px;
  align-items: stretch;
  grid-template-columns: 0.8fr 1.2fr;
}

.code-proof-copy h2 {
  margin: 0 0 28px;
  font-size: 48px;
  font-weight: 470;
  line-height: 1.04;
}

.code-proof-copy > p:not(.section-number) {
  max-width: 470px;
  margin: 0;
  color: #4d544e;
  font-size: 17px;
}

.code-proof-copy code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

.code-proof-copy dl {
  margin: 48px 0 0;
  border-top: 1px solid var(--rule-light);
}

.code-proof-copy dl > div {
  display: flex;
  padding: 16px 0;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule-light);
}

.code-proof-copy dt {
  color: var(--gray-dark);
  font-size: 12px;
  text-transform: uppercase;
}

.code-proof-copy dd {
  margin: 0;
  font-size: 20px;
  font-weight: 560;
}

.source-window {
  min-width: 0;
  padding: 0 30px;
  background-color: #141916;
  background-image: url("/assets/grayworth-texture-dark.svg");
  background-size: 240px 240px;
  border-left: 3px solid var(--green);
  color: var(--paper);
}

.source-window-head {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule-dark);
  color: #aeb8b0;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.source-window pre {
  margin: 0;
  padding: 28px 0;
  overflow-x: auto;
  color: #e8ece8;
  font: 14px/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.source-window > p {
  margin: 0;
  padding: 18px 0 22px;
  border-top: 1px solid var(--rule-dark);
  color: #c7cec8;
  font-size: 13px;
}

.home-story {
  padding-bottom: 110px;
  background-image: url("/assets/grayworth-texture-light.svg");
  background-position: 120px 0;
  background-size: 240px 240px;
}

.home-story .foundation-grid {
  border-bottom: 1px solid var(--rule-light);
}

.home-story .foundation-item {
  min-height: 270px;
}

.home-story .foundation-item p {
  max-width: 300px;
}

.home-system {
  padding: 125px 0;
  background-color: #dce3e0;
  background-image: url("/assets/grayworth-texture-light.svg");
  background-position: 0 120px;
  background-size: 240px 240px;
}

.home-system .section-intro {
  padding-bottom: 70px;
}

.home-system .section-number,
.home-system .system-rail span,
.home-system .system-rail small {
  color: #505750;
}

.system-rail {
  display: grid;
  min-width: 0;
  border-top: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
  grid-template-columns: 1fr 34px 1fr 34px 1fr 34px 1fr;
}

.system-rail > div {
  min-width: 0;
  min-height: 210px;
  padding: 24px 18px;
}

.system-rail > div:nth-of-type(1) {
  border-top: 4px solid #64736a;
}

.system-rail > div:nth-of-type(2) {
  border-top: 4px solid #64736a;
}

.system-rail > div:nth-of-type(3) {
  border-top: 4px solid #64736a;
}

.system-rail > div:nth-of-type(4) {
  border-top: 4px solid #64736a;
}

.system-rail > i {
  display: grid;
  place-items: center;
  color: #69716b;
  font-style: normal;
}

.system-rail span,
.system-rail small {
  display: block;
  color: var(--gray-dark);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-rail strong {
  display: block;
  margin: 68px 0 10px;
  font-size: 19px;
  font-weight: 560;
}

.home-proof {
  padding: 125px 0;
  background-image: url("/assets/grayworth-texture-light.svg");
  background-position: 120px 0;
  background-size: 240px 240px;
}

.proof-context {
  display: grid;
  gap: 90px;
  grid-template-columns: 0.9fr 1.1fr;
}

.proof-context .section-intro {
  display: block;
  padding: 0;
}

.proof-context .section-intro h2 {
  margin-bottom: 30px;
}

.proof-context .section-intro > p:last-of-type {
  max-width: 520px;
  margin: 0;
}

.qualification-grid {
  border-top: 1px solid var(--rule-light);
}

.qualification-grid article {
  display: grid;
  min-height: 128px;
  padding: 24px 0;
  align-items: center;
  border-bottom: 1px solid var(--rule-light);
  grid-template-columns: 1fr auto;
}

.qualification-grid span,
.qualification-grid small {
  color: var(--gray-dark);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.qualification-grid strong {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  font-size: 27px;
  font-weight: 560;
}

.qualification-grid small {
  max-width: 390px;
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  text-align: right;
  text-transform: none;
}

.contact-deck {
  max-width: 570px;
  margin: -35px 0 42px;
  color: var(--gray);
  font-size: 18px;
}

.contact {
  background-image: url("/assets/grayworth-texture-dark.svg");
  background-position: center top;
  background-size: 240px 240px;
}

.light-primary {
  margin-top: 8px;
}

.preview-table {
  padding-top: 0;
}

.preview-grid {
  display: grid;
  border-top: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
  grid-template-columns: repeat(3, 1fr);
}

.preview-step {
  min-height: 570px;
  padding: 44px 38px 48px 0;
  border-right: 1px solid var(--rule-light);
}

.preview-step + .preview-step {
  padding-left: 38px;
}

.preview-step:last-child {
  border-right: 0;
}

.preview-step-accent {
  background: transparent;
}

.preview-index {
  display: block;
  margin-bottom: 70px;
  color: var(--gray-dark);
  font-size: 12px;
}

.preview-step h2 {
  min-height: 70px;
  margin: 18px 0 22px;
  font-size: 30px;
  font-weight: 520;
  line-height: 1.08;
}

.preview-step > p:not(.price-label) {
  min-height: 86px;
  color: #515650;
}

.preview-step ul {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.preview-step li {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  font-size: 13px;
}

.preview-step li::before {
  color: var(--gray-dark);
  content: "—";
}

.light-capabilities .section-number,
.light-principles .section-number,
.light-capabilities .capability-row span,
.light-capabilities .capability-row small,
.light-principles .principle-grid span,
.light-principles .principle-grid p {
  color: var(--gray-dark);
}

.light-capabilities .capability-table,
.light-capabilities .capability-row,
.light-principles .principle-grid,
.light-principles .principle-grid article {
  border-color: var(--rule-light);
}

.light-capabilities .capability-row:last-child small {
  color: #26362d;
  font-weight: 700;
}

.pipeline > div:not(:last-child)::after {
  display: none;
}

.faq summary {
  position: relative;
  display: flex;
  min-height: 72px;
  margin-inline: -16px;
  padding: 22px 56px 22px 16px;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  transition: background-color 180ms ease, color 180ms ease;
}

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

.faq summary::after {
  position: absolute;
  right: 16px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(248, 249, 246, 0.42);
  color: var(--gray);
  content: "+";
  font-size: 20px;
  font-weight: 350;
  line-height: 1;
}

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

.faq details[open] summary,
.faq summary:hover {
  background: rgba(248, 249, 246, 0.06);
  color: #cfe1d5;
}

.chart-kicker,
.chart-unit,
.chart-source,
.pipeline span,
.pipeline small,
.capability-row span,
.capability-row small,
.ledger-table span,
.ledger-table small {
  font-size: 13px;
}

@media (max-width: 900px) {
  .product-field {
    position: relative;
    inset: auto;
    display: flex;
    padding: 34px 0 64px;
    border-top: 1px solid var(--rule-dark);
    border-left: 0;
    pointer-events: auto;
  }

  .hero {
    min-height: 0;
  }

  .hero-inner {
    min-height: 0;
    padding-top: 130px;
  }

  .hero-copy {
    padding-bottom: 48px;
  }

  .hero-art {
    min-height: 360px;
    overflow: hidden;
    border-top: 1px solid var(--rule-dark);
  }

  .hero-art::after {
    background: linear-gradient(180deg, var(--ink), transparent 25%, transparent 78%, var(--ink));
  }

  .hero-art .hero-contours {
    top: 50%;
    right: calc(50% - 350px);
    width: 700px;
  }

  .hero-art .hero-bolt {
    top: 50%;
    right: calc(50% - 120px);
    width: 240px;
  }

  .product-path > div {
    grid-template-columns: 38px 100px 1fr;
  }

  .proof-context {
    gap: 70px;
    grid-template-columns: 1fr;
  }

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

  .system-rail {
    grid-template-columns: 1fr 1fr;
  }

  .system-rail > i {
    display: none;
  }

  .system-rail > div {
    border-bottom: 1px solid var(--rule-light);
  }

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

  .preview-step,
  .preview-step + .preview-step {
    min-height: 0;
    padding: 44px 0;
    border-right: 0;
    border-bottom: 1px solid var(--rule-light);
  }

  .preview-step-accent {
    margin-inline: 0;
    padding-inline: 0 !important;
  }

  .preview-index {
    margin-bottom: 36px;
  }

  .preview-step h2,
  .preview-step > p:not(.price-label) {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .hero-footer {
    display: none;
  }

  .hero-art {
    min-height: 270px;
    margin-inline: -16px;
  }

  .hero-art .hero-contours {
    right: calc(50% - 250px);
    width: 500px;
  }

  .hero-art .hero-bolt {
    right: calc(50% - 103px);
    width: 206px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .code-proof {
    padding: 72px 0 0;
  }

  .code-proof-grid {
    gap: 50px;
  }

  .code-proof-copy h2 {
    font-size: 38px;
  }

  .source-window {
    margin-inline: -16px;
    padding-inline: 16px;
  }

  .source-window pre {
    font-size: 14px;
  }

  .primary-link {
    width: 100%;
  }

  .secondary-link {
    width: 100%;
    justify-content: center;
  }

  .product-field-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .product-path > div {
    min-height: 155px;
    padding-left: 18px;
    grid-template-columns: 34px 1fr;
  }

  .product-path p,
  .product-path small {
    grid-column: 2;
  }

  .product-path p {
    margin-top: 10px;
  }

  .product-strip .evidence-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-strip .evidence-stat {
    display: block;
    min-height: 168px;
    padding: 20px 16px 38px 0;
    border-bottom: 1px solid var(--rule-light);
    border-right: 1px solid var(--rule-light);
  }

  .product-strip .evidence-stat:nth-child(even) {
    padding-left: 16px;
    border-right: 0;
  }

  .product-strip .evidence-stat > small {
    min-height: 30px;
    margin-bottom: 16px;
    font-size: 10px;
  }

  .product-strip .evidence-stat strong {
    margin: 0 0 8px;
    font-size: 16px;
  }

  .product-strip .evidence-stat span {
    max-width: none;
    padding: 0;
    font-size: 11px;
    line-height: 1.45;
  }

  .product-strip .evidence-stat > i {
    right: 14px;
    bottom: 14px;
  }

  .home-story,
  .home-system,
  .home-proof {
    padding: 85px 0;
  }

  .home-story {
    padding-top: 72px;
  }

  .system-rail {
    grid-template-columns: 1fr;
  }

  .system-rail > div {
    min-height: 165px;
    padding-inline: 0;
  }

  .system-rail strong {
    margin-top: 42px;
  }

  .qualification-grid article {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .qualification-grid small {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    text-align: left;
  }

  .qualification-grid strong {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .contact-deck {
    margin-top: -20px;
    font-size: 16px;
  }

  .chart-data-table {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    margin: 28px 0 0 !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
    border-collapse: collapse !important;
  }

  .chart-data-table caption {
    margin-bottom: 12px;
    color: var(--gray-dark);
    font-size: 11px;
    font-weight: 620;
    letter-spacing: 0.07em;
    text-align: left;
    text-transform: uppercase;
  }

  .chart-data-table th,
  .chart-data-table td {
    padding: 11px 0;
    border-top: 1px solid var(--rule-light);
    font-size: 13px;
    text-align: left;
  }

  .chart-data-table th {
    font-weight: 550;
  }

  .chart-data-table td {
    text-align: right;
  }

  .research-line-chart,
  .capacity-chart,
  .database-chart {
    display: none;
  }

  .mobile-chart-summary {
    display: grid;
    margin: 24px 0 18px;
    padding: 18px 0;
    border-top: 1px solid var(--rule-light);
    border-bottom: 1px solid var(--rule-light);
    gap: 14px;
  }

  .mobile-chart-summary svg {
    display: block;
    width: 100%;
    height: auto;
    padding-right: 6px;
    overflow: visible;
  }

  .mobile-chart-grid {
    fill: none;
    stroke: rgba(17, 19, 17, 0.13);
    stroke-width: 1;
  }

  .mobile-chart-line {
    fill: none;
    stroke: #435a4c;
    stroke-linecap: square;
    stroke-linejoin: bevel;
    stroke-width: 2.5;
    vector-effect: non-scaling-stroke;
  }

  .mobile-chart-summary circle {
    fill: #2f7d5a;
  }

  .mobile-chart-summary div {
    display: grid;
    gap: 4px;
  }

  .mobile-chart-summary span,
  .mobile-chart-summary small {
    color: #555d57;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .mobile-chart-summary strong {
    font-size: 17px;
    font-weight: 620;
  }

  .chart-callout {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .chart-callout span {
    text-align: left;
  }

  .ledger-table > div {
    min-height: 126px;
    align-content: start;
    align-items: start;
  }

  .footer-inner > a {
    display: inline-flex;
    min-height: 44px;
    padding: 12px 0 12px 16px;
    align-items: center;
  }

  .product-strip,
  .code-proof,
  .home-story,
  .home-system,
  .home-proof {
    background-size: 360px 360px;
  }

  .preview-step-accent {
    margin-inline: 0;
    padding-inline: 0 !important;
  }
}

@media (max-width: 767px) {
  .header-inner {
    position: relative;
    z-index: 32;
    display: flex;
    min-height: 76px;
    padding: 0;
    align-items: center;
  }

  .brand {
    position: relative;
    z-index: 34;
    width: 142px;
  }

  .nav-toggle {
    position: relative;
    z-index: 34;
    display: grid;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--paper);
    cursor: pointer;
  }

  .nav-toggle-icon {
    position: relative;
    display: block;
    width: 23px;
    height: 14px;
  }

  .nav-toggle-icon i {
    position: absolute;
    right: 0;
    left: 0;
    height: 1px;
    background: currentColor;
    transition: top 180ms ease, transform 180ms ease;
  }

  .nav-toggle-icon i:first-child {
    top: 3px;
  }

  .nav-toggle-icon i:last-child {
    top: 11px;
  }

  .nav-open .nav-toggle-icon i:first-child {
    top: 7px;
    transform: rotate(45deg);
  }

  .nav-open .nav-toggle-icon i:last-child {
    top: 7px;
    transform: rotate(-45deg);
  }

  .nav {
    position: fixed;
    z-index: 33;
    inset: 0;
    display: none;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 112px 24px 38px;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    background: #111311;
  }

  .nav-open {
    overflow: hidden;
  }

  .nav-open .site-header {
    position: fixed;
  }

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

  .nav a {
    display: flex;
    min-height: 68px;
    padding: 0;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--rule-dark);
    font-size: 28px;
    font-weight: 470;
  }

  .nav a::after {
    position: static;
    width: auto;
    height: auto;
    background: none;
    color: var(--gray);
    content: "";
    transform: none;
  }

  .nav a[aria-current="page"]::after {
    color: #8ac5a0;
    content: "Current";
    font-size: 10px;
    font-weight: 620;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
}

/* Gray developer documentation */

.docs-page {
  background: #f4f5f1;
  color: var(--ink);
}

.docs-page::before {
  background: #8ea197;
}

.docs-page .site-header {
  position: fixed;
  background: rgba(17, 19, 17, 0.97);
  border-bottom: 1px solid var(--rule-dark);
  backdrop-filter: blur(14px);
}

.docs-bar {
  position: sticky;
  z-index: 15;
  top: 88px;
  margin-top: 88px;
  border-bottom: 1px solid #d7dad4;
  background: rgba(244, 245, 241, 0.96);
  backdrop-filter: blur(16px);
}

.docs-bar-inner {
  display: grid;
  width: min(calc(100% - 48px), 1440px);
  min-height: 64px;
  margin-inline: auto;
  align-items: center;
  gap: 30px;
  grid-template-columns: 220px minmax(280px, 620px) 1fr;
}

.docs-product {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #343934;
  font-size: 14px;
}

.docs-product img {
  width: 23px;
  height: 23px;
}

.docs-product strong {
  color: var(--ink);
  font-weight: 680;
}

.docs-search-wrap {
  position: relative;
}

.docs-search {
  display: grid;
  height: 40px;
  padding: 0 10px 0 13px;
  align-items: center;
  border: 1px solid #c9cdc6;
  background: #fff;
  color: #676e67;
  grid-template-columns: 18px 1fr auto;
}

.docs-search:focus-within {
  border-color: #75887e;
  box-shadow: 0 0 0 3px rgba(117, 136, 126, 0.12);
}

.docs-search input,
.docs-api-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.docs-search input {
  padding: 0 10px;
  font-size: 14px;
}

.docs-search input::placeholder,
.docs-api-search input::placeholder {
  color: #747b74;
}

.docs-search kbd {
  min-width: 23px;
  padding: 2px 7px;
  border: 1px solid #d7dad4;
  background: #f4f5f1;
  color: #727972;
  font-family: inherit;
  font-size: 11px;
  text-align: center;
}

.docs-search-results {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  max-height: min(520px, 70vh);
  padding: 8px;
  overflow-y: auto;
  border: 1px solid #cfd3cc;
  background: #fff;
  box-shadow: 0 20px 45px rgba(17, 19, 17, 0.14);
}

.docs-search-results a {
  display: grid;
  min-height: 54px;
  padding: 9px 11px;
  align-content: center;
  border-bottom: 1px solid #eceeea;
  color: var(--ink);
  gap: 2px;
}

.docs-search-results a:last-child {
  border-bottom: 0;
}

.docs-search-results a:hover,
.docs-search-results a:focus-visible {
  background: #f1f3ef;
}

.docs-search-results span {
  color: #697169;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.docs-search-results strong {
  font-size: 14px;
  font-weight: 610;
}

.docs-search-empty {
  margin: 0;
  padding: 15px;
  color: #626a62;
  font-size: 14px;
}

.docs-version {
  justify-self: end;
  color: #686f68;
  font-size: 12px;
}

.docs-layout {
  display: grid;
  width: min(calc(100% - 48px), 1440px);
  margin-inline: auto;
  align-items: start;
  gap: 46px;
  grid-template-columns: 220px minmax(0, 820px) minmax(160px, 1fr);
}

.docs-sidebar,
.docs-rail {
  position: sticky;
  top: 176px;
  max-height: calc(100vh - 196px);
  overflow-y: auto;
}

.docs-sidebar {
  padding: 35px 0 60px;
}

.docs-index {
  display: grid;
  gap: 2px;
}

.docs-index p {
  margin: 25px 0 7px;
  color: #737a73;
  font-size: 10px;
  font-weight: 670;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.docs-index p:first-child {
  margin-top: 0;
}

.docs-index a {
  position: relative;
  padding: 6px 10px 6px 14px;
  color: #565d56;
  font-size: 13px;
  line-height: 1.35;
}

.docs-index a::before {
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 0;
  width: 2px;
  background: transparent;
  content: "";
}

.docs-index a:hover,
.docs-index a.is-active {
  color: var(--ink);
}

.docs-index a.is-active::before {
  background: #73867b;
}

.docs-index-toggle {
  display: none;
}

.docs-content {
  min-width: 0;
  padding-bottom: 90px;
  border-right: 1px solid #dfe2dc;
  border-left: 1px solid #dfe2dc;
  background: #fafbf8;
}

.docs-intro,
.docs-section {
  padding-right: 58px;
  padding-left: 58px;
}

.docs-intro {
  position: relative;
  display: grid;
  min-height: 590px;
  padding-top: 88px;
  padding-bottom: 62px;
  align-content: space-between;
  overflow: hidden;
  border-bottom: 1px solid #dfe2dc;
  background-color: #f7f8f4;
  background-image: url("/assets/grayworth-pattern-measure.svg");
  background-position: right top;
  background-repeat: no-repeat;
  background-size: 74% auto;
}

.docs-intro::after {
  position: absolute;
  right: -90px;
  bottom: -160px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(103, 117, 108, 0.16);
  content: "";
  pointer-events: none;
  transform: rotate(22.5deg);
}

.docs-kicker {
  margin: 0 0 16px;
  color: #697b70;
  font-size: 11px;
  font-weight: 690;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.docs-intro h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 535;
  line-height: 0.98;
}

.docs-lead {
  max-width: 640px;
  margin: 27px 0 0;
  color: #555d55;
  font-size: 19px;
  line-height: 1.55;
}

.docs-actions {
  display: flex;
  margin-top: 30px;
  gap: 10px;
}

.docs-button {
  display: inline-flex;
  min-height: 42px;
  padding: 0 16px;
  align-items: center;
  justify-content: center;
  border: 1px solid #c8ccc5;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 620;
}

.docs-button:hover {
  border-color: #858d85;
}

.docs-button-primary {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.docs-button-primary:hover {
  border-color: #343834;
  background: #343834;
}

.docs-facts {
  position: relative;
  z-index: 1;
  display: grid;
  margin: 70px 0 0;
  border-top: 1px solid #ced2cb;
  grid-template-columns: repeat(3, 1fr);
}

.docs-facts div {
  min-height: 84px;
  padding: 16px 16px 0 0;
  border-right: 1px solid #d7dad4;
}

.docs-facts div + div {
  padding-left: 18px;
}

.docs-facts div:last-child {
  border-right: 0;
}

.docs-facts dt {
  color: #737a73;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.docs-facts dd {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 560;
}

.docs-facts code {
  font-size: 12px;
}

.docs-section {
  padding-top: 86px;
  padding-bottom: 86px;
  scroll-margin-top: 165px;
  border-bottom: 1px solid #dfe2dc;
}

.docs-heading {
  max-width: 700px;
  margin-bottom: 34px;
}

.docs-heading h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 44px);
  font-weight: 550;
  line-height: 1.08;
}

.docs-heading > p:last-child,
.docs-heading > div > p:last-child {
  max-width: 670px;
  margin: 18px 0 0;
  color: #5a625a;
  font-size: 16px;
  line-height: 1.65;
}

.docs-body-copy {
  margin: 28px 0 0;
  color: #565e56;
  line-height: 1.7;
}

.docs-page code,
.docs-page pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.docs-page :not(pre) > code {
  padding: 0.12em 0.3em;
  border: 1px solid #d7dad4;
  background: #f1f3ef;
  font-size: 0.88em;
}

.docs-code {
  margin: 26px 0;
  border: 1px solid #2f342f;
  background: #151815;
  color: #e9ece7;
  box-shadow: 0 16px 36px rgba(17, 19, 17, 0.08);
}

.docs-code-head {
  display: flex;
  min-height: 42px;
  padding: 0 10px 0 16px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #323732;
  color: #aeb5ae;
  font-size: 11px;
  font-weight: 620;
  letter-spacing: 0.04em;
}

.docs-code-copy {
  min-width: 54px;
  min-height: 29px;
  border: 1px solid #444a44;
  background: transparent;
  color: #d9ddd7;
  cursor: pointer;
  font: inherit;
}

.docs-code-copy:hover {
  border-color: #747c74;
  color: #fff;
}

.docs-code pre {
  max-height: 630px;
  margin: 0;
  padding: 22px 24px 26px;
  overflow: auto;
  font-size: 13px;
  line-height: 1.75;
  tab-size: 4;
}

.docs-code code {
  font: inherit;
}

.docs-code-compact pre {
  min-height: 190px;
}

.docs-note {
  display: grid;
  margin-top: 25px;
  padding: 18px 0;
  border-top: 1px solid #cfd3cc;
  border-bottom: 1px solid #cfd3cc;
  gap: 22px;
  grid-template-columns: 160px 1fr;
}

.docs-note strong {
  font-size: 13px;
}

.docs-note p {
  margin: 0;
  color: #5b625b;
  font-size: 14px;
  line-height: 1.6;
}

.docs-note-dark {
  padding: 22px;
  border: 0;
  background: #242824;
  color: #f3f5f1;
}

.docs-note-dark p {
  color: #c5cbc4;
}

.docs-columns {
  display: grid;
  margin-top: 34px;
  gap: 26px;
  grid-template-columns: 1.25fr 0.75fr;
}

.docs-columns h3 {
  margin: 0 0 13px;
  font-size: 15px;
  font-weight: 640;
}

.docs-columns .docs-code {
  margin: 0;
}

.docs-response {
  padding: 0 0 0 25px;
  border-left: 1px solid #cfd3cc;
}

.docs-response > code {
  display: block;
  padding: 18px;
  overflow-wrap: anywhere;
  border-color: #d5d9d2;
  background: #eef0ec;
  font-size: 12px;
}

.docs-response p {
  margin: 25px 0 0;
  color: #5c645c;
  font-size: 14px;
  line-height: 1.65;
}

.docs-project-grid {
  display: grid;
  align-items: stretch;
  gap: 24px;
  grid-template-columns: 0.75fr 1.25fr;
}

.docs-project-grid .docs-code {
  margin: 0;
}

.docs-tree {
  display: grid;
  padding: 23px;
  align-content: start;
  border: 1px solid #cfd3cc;
  background: #f1f3ef;
  color: #5a615a;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  gap: 10px;
}

.docs-tree strong {
  color: var(--ink);
  font-weight: 650;
}

.docs-tree .depth-1 {
  padding-left: 20px;
}

.docs-tree .depth-2 {
  padding-left: 40px;
}

.docs-language-grid {
  display: grid;
  margin-bottom: 34px;
  border-top: 1px solid #cfd3cc;
  border-left: 1px solid #cfd3cc;
  grid-template-columns: 1fr 1fr;
}

.docs-language-grid article {
  min-height: 210px;
  padding: 21px;
  border-right: 1px solid #cfd3cc;
  border-bottom: 1px solid #cfd3cc;
}

.docs-language-grid article > span {
  color: #818881;
  font-size: 10px;
}

.docs-language-grid h3 {
  margin: 46px 0 8px;
  font-size: 18px;
  font-weight: 590;
}

.docs-language-grid p {
  min-height: 44px;
  margin: 0 0 18px;
  color: #626a62;
  font-size: 13px;
}

.docs-language-grid code {
  font-size: 11px;
}

.docs-data-flow {
  display: grid;
  margin: 34px 0;
  border-top: 1px solid #cfd3cc;
  border-bottom: 1px solid #cfd3cc;
  align-items: stretch;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
}

.docs-data-flow div {
  min-height: 120px;
  padding: 17px 7px 18px;
}

.docs-data-flow span,
.docs-data-flow strong {
  display: block;
}

.docs-data-flow span {
  color: #7c837c;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-data-flow strong {
  margin-top: 42px;
  font-size: 12px;
  font-weight: 620;
}

.docs-data-flow i {
  display: grid;
  width: 18px;
  place-items: center;
  color: #919791;
  font-size: 11px;
  font-style: normal;
}

.docs-mode-table {
  border-top: 1px solid #cfd3cc;
}

.docs-mode-row {
  display: grid;
  min-height: 86px;
  padding: 18px 0;
  align-items: center;
  border-bottom: 1px solid #cfd3cc;
  gap: 20px;
  grid-template-columns: 100px 240px 1fr;
}

.docs-mode-row strong {
  font-size: 14px;
  font-weight: 650;
}

.docs-mode-row code {
  justify-self: start;
  font-size: 11px;
}

.docs-mode-row p {
  margin: 0;
  color: #626a62;
  font-size: 13px;
}

.docs-mode-head {
  min-height: 40px;
  padding-block: 9px;
  color: #777e77;
  font-size: 9px;
  font-weight: 680;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-command-list {
  display: grid;
  border-top: 1px solid #cfd3cc;
  grid-template-columns: 1fr 1fr;
}

.docs-command-list div {
  display: grid;
  min-height: 82px;
  padding: 16px 18px 16px 0;
  align-items: center;
  border-right: 1px solid #cfd3cc;
  border-bottom: 1px solid #cfd3cc;
  gap: 10px;
  grid-template-columns: 108px 1fr;
}

.docs-command-list div:nth-child(even) {
  padding-left: 18px;
  border-right: 0;
}

.docs-command-list code {
  justify-self: start;
  font-size: 11px;
}

.docs-command-list span {
  color: #606860;
  font-size: 12px;
  line-height: 1.45;
}

.docs-heading-api {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
}

.docs-api-search {
  width: 200px;
  min-height: 38px;
  padding: 0 12px;
  flex: 0 0 auto;
  border: 1px solid #c9cdc6;
  background: #fff;
}

.docs-api-search input {
  height: 36px;
  font-size: 13px;
}

.docs-api-filters {
  display: flex;
  margin-bottom: 18px;
  gap: 7px;
  overflow-x: auto;
}

.docs-api-filters button {
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid #cbd0c9;
  background: transparent;
  color: #5c645c;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  white-space: nowrap;
}

.docs-api-filters button:hover,
.docs-api-filters button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.docs-api-layout {
  display: grid;
  height: 520px;
  border: 1px solid #cbd0c9;
  background: #fff;
  grid-template-columns: minmax(190px, 0.75fr) minmax(0, 1.25fr);
}

.docs-api-list {
  overflow-y: auto;
  border-right: 1px solid #d7dad4;
}

.docs-api-list > p {
  padding: 16px;
  color: #6b736b;
  font-size: 13px;
}

.docs-api-list button {
  display: grid;
  width: 100%;
  min-height: 51px;
  padding: 9px 13px;
  align-content: center;
  border: 0;
  border-bottom: 1px solid #eceeea;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
  gap: 2px;
}

.docs-api-list button:hover,
.docs-api-list button.is-active {
  background: #eef1ec;
}

.docs-api-list button.is-active {
  box-shadow: inset 2px 0 #6e8276;
}

.docs-api-list strong {
  overflow: hidden;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 580;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.docs-api-list span {
  color: #7a827a;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.docs-api-detail {
  padding: 33px;
  overflow-y: auto;
}

.docs-api-kind {
  color: #6e7e74;
  font-size: 9px;
  font-weight: 680;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-api-detail h3 {
  margin: 16px 0 20px;
  overflow-wrap: anywhere;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 21px;
  font-weight: 590;
}

.docs-api-detail pre {
  margin: 0 0 22px;
  padding: 15px;
  overflow: auto;
  border: 1px solid #d5d9d2;
  background: #f1f3ef;
  font-size: 11px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.docs-api-detail p {
  color: #555d55;
  font-size: 14px;
  line-height: 1.65;
}

.docs-api-meta {
  display: flex;
  margin-top: 24px;
  gap: 7px;
}

.docs-api-meta span {
  padding: 5px 8px;
  border: 1px solid #d2d6cf;
  color: #687068;
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.docs-status {
  background-color: #e9ebe6;
  background-image: url("/assets/grayworth-pattern-core.svg");
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: 60% auto;
}

.docs-status-grid {
  display: grid;
  margin: 40px 0;
  border-top: 1px solid #c6cbc3;
  grid-template-columns: repeat(3, 1fr);
}

.docs-status-grid div {
  min-height: 110px;
  padding: 18px 16px 15px 0;
  border-right: 1px solid #c6cbc3;
}

.docs-status-grid div + div {
  padding-left: 16px;
}

.docs-status-grid div:last-child {
  border-right: 0;
}

.docs-status-grid span,
.docs-status-grid strong {
  display: block;
}

.docs-status-grid span {
  color: #737b73;
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.docs-status-grid strong {
  margin-top: 37px;
  font-size: 12px;
  font-weight: 620;
}

.docs-rail {
  display: grid;
  padding: 35px 0;
  gap: 0;
}

.docs-rail > div {
  padding: 15px 0;
  border-top: 1px solid #d5d9d2;
}

.docs-rail span,
.docs-rail strong {
  display: block;
}

.docs-rail span {
  color: #7a817a;
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.docs-rail strong {
  margin-top: 7px;
  color: #424842;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
}

.docs-rail a {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #d5d9d2;
  color: #545c54;
  font-size: 11px;
}

.docs-rail a:hover {
  color: var(--ink);
}

.docs-footer {
  background: var(--ink);
  color: var(--paper);
}

@media (max-width: 1180px) {
  .docs-layout {
    grid-template-columns: 205px minmax(0, 1fr);
  }

  .docs-rail {
    display: none;
  }

  .docs-content {
    border-right: 0;
  }
}

@media (max-width: 900px) {
  .docs-page .header-inner {
    min-height: 76px;
  }

  .docs-bar {
    top: 76px;
    margin-top: 76px;
  }

  .docs-bar-inner {
    min-height: 60px;
    grid-template-columns: 155px minmax(220px, 1fr);
  }

  .docs-version {
    display: none;
  }

  .docs-layout {
    display: block;
    width: 100%;
  }

  .docs-sidebar {
    position: sticky;
    z-index: 10;
    top: 136px;
    max-height: none;
    padding: 0;
    overflow: visible;
    border-bottom: 1px solid #d7dad4;
    background: #f4f5f1;
  }

  .docs-index-toggle {
    display: flex;
    width: 100%;
    min-height: 48px;
    padding: 0 24px;
    align-items: center;
    justify-content: space-between;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 620;
  }

  .docs-index-toggle span {
    font-size: 20px;
    font-weight: 350;
    transition: transform 180ms ease;
  }

  .docs-index-toggle[aria-expanded="true"] span {
    transform: rotate(45deg);
  }

  .docs-index {
    display: none;
    max-height: calc(100vh - 184px);
    padding: 4px 24px 24px;
    overflow-y: auto;
  }

  .docs-index.is-open {
    display: grid;
  }

  .docs-index p {
    margin-top: 18px;
  }

  .docs-content {
    width: min(100%, 820px);
    margin-inline: auto;
    border-right: 1px solid #dfe2dc;
  }

  .docs-intro,
  .docs-section {
    padding-right: 42px;
    padding-left: 42px;
  }

  .docs-intro {
    min-height: 540px;
    padding-top: 72px;
  }
}

@media (max-width: 620px) {
  .docs-bar-inner {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
  }

  .docs-product {
    display: none;
  }

  .docs-search kbd {
    display: none;
  }

  .docs-search {
    grid-template-columns: 18px 1fr;
  }

  .docs-sidebar {
    top: 136px;
  }

  .docs-content {
    border-right: 0;
    border-left: 0;
  }

  .docs-intro,
  .docs-section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .docs-intro {
    min-height: 570px;
    padding-top: 64px;
    background-size: 130% auto;
  }

  .docs-intro h1 {
    font-size: 43px;
  }

  .docs-lead {
    font-size: 16px;
  }

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

  .docs-facts {
    grid-template-columns: 1fr;
  }

  .docs-facts div,
  .docs-facts div + div {
    min-height: 64px;
    padding: 13px 0;
    border-right: 0;
    border-bottom: 1px solid #d7dad4;
  }

  .docs-facts dd {
    margin-top: 5px;
  }

  .docs-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .docs-heading h2 {
    font-size: 32px;
  }

  .docs-code {
    margin-right: -20px;
    margin-left: -20px;
    border-right: 0;
    border-left: 0;
  }

  .docs-code pre {
    padding: 20px;
    font-size: 12px;
  }

  .docs-note,
  .docs-note-dark {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .docs-note-dark {
    margin-right: -20px;
    margin-left: -20px;
    padding: 22px 20px;
  }

  .docs-columns,
  .docs-project-grid {
    grid-template-columns: 1fr;
  }

  .docs-response {
    padding: 24px 0 0;
    border-top: 1px solid #cfd3cc;
    border-left: 0;
  }

  .docs-language-grid {
    grid-template-columns: 1fr;
  }

  .docs-language-grid article {
    min-height: 190px;
  }

  .docs-data-flow {
    grid-template-columns: 1fr 1fr;
  }

  .docs-data-flow i {
    display: none;
  }

  .docs-mode-head {
    display: none;
  }

  .docs-mode-row {
    align-items: start;
    gap: 8px;
    grid-template-columns: 80px 1fr;
  }

  .docs-mode-row p {
    grid-column: 1 / -1;
  }

  .docs-command-list {
    grid-template-columns: 1fr;
  }

  .docs-command-list div,
  .docs-command-list div:nth-child(even) {
    padding: 15px 0;
    border-right: 0;
  }

  .docs-heading-api {
    align-items: stretch;
    flex-direction: column;
  }

  .docs-api-search {
    width: 100%;
  }

  .docs-api-layout {
    height: auto;
    grid-template-columns: 1fr;
  }

  .docs-api-list {
    max-height: 270px;
    border-right: 0;
    border-bottom: 1px solid #d7dad4;
  }

  .docs-api-detail {
    min-height: 330px;
    padding: 24px 18px;
  }

  .docs-status-grid {
    grid-template-columns: 1fr;
  }

  .docs-status-grid div,
  .docs-status-grid div + div {
    min-height: 70px;
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid #c6cbc3;
  }

  .docs-status-grid strong {
    margin-top: 15px;
  }
}

/* Comparison library */

.comparison-page {
  background: var(--ink);
}

.comparison-page .site-header {
  border-bottom: 1px solid var(--rule-dark);
}

.comparison-page .site-header.is-scrolled {
  border-bottom-color: var(--rule-dark);
}

.comparison-hero {
  position: relative;
  min-height: 820px;
  padding: 142px 0 92px;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(248, 249, 246, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 249, 246, 0.035) 1px, transparent 1px),
    url("/assets/grayworth-pattern-measure.svg");
  background-position: center, center, right center;
  background-size: 96px 96px, 96px 96px, min(760px, 62vw) auto;
}

.comparison-hero::after {
  position: absolute;
  right: clamp(-180px, -8vw, -80px);
  bottom: -320px;
  width: min(720px, 60vw);
  aspect-ratio: 1;
  border: 1px solid rgba(248, 249, 246, 0.11);
  content: "";
  transform: rotate(22.5deg);
}

.comparison-hero-inner {
  position: relative;
  z-index: 1;
}

.comparison-breadcrumb {
  display: flex;
  margin-bottom: 66px;
  align-items: center;
  gap: 10px;
  color: #8c948d;
  font-size: 12px;
}

.comparison-breadcrumb a {
  transition: color 180ms ease;
}

.comparison-breadcrumb a:hover {
  color: var(--paper);
}

.comparison-hero .section-number {
  margin-bottom: 25px;
  color: #9da59e;
}

.comparison-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(76px, 10vw, 146px);
  font-weight: 430;
  line-height: 0.86;
}

.comparison-hero h1 span {
  color: #748278;
  font-size: 0.45em;
  font-weight: 560;
  vertical-align: 0.38em;
}

.comparison-answer {
  display: grid;
  max-width: 900px;
  margin-top: 82px;
  padding-top: 28px;
  border-top: 1px solid var(--rule-dark);
  grid-template-columns: 180px 1fr;
}

.comparison-answer-label {
  margin: 4px 0 0;
  color: #98a098;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-answer > p:last-child {
  max-width: 700px;
  margin: 0;
  color: #e5e8e3;
  font-size: 21px;
  line-height: 1.52;
}

.comparison-disclosure {
  display: flex;
  max-width: 900px;
  margin-top: 30px;
  padding: 16px 0;
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
  gap: 30px;
  color: #9ca49d;
  font-size: 12px;
}

.comparison-disclosure strong {
  min-width: 150px;
  color: var(--paper);
  font-weight: 600;
  text-transform: uppercase;
}

.comparison-section-grid {
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(270px, 0.8fr) minmax(0, 1.2fr);
}

.comparison-section-grid > * {
  min-width: 0;
}

.comparison-section-heading h2,
.comparison-library-heading h2,
.comparison-next h2,
.methodology-limits h2,
.methodology-usage h2,
.comparison-sources h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 450;
  line-height: 0.98;
}

.comparison-overview,
.comparison-evidence,
.comparison-hub-intro,
.comparison-hub-evidence,
.methodology-facts,
.methodology-data,
.methodology-usage {
  padding: 118px 0;
}

.comparison-overview .comparison-section-heading {
  margin-bottom: 72px;
}

.comparison-dimension-list {
  border-top: 1px solid var(--rule-light);
}

.comparison-dimension {
  display: grid;
  min-height: 176px;
  align-items: start;
  padding: 25px 0 30px;
  border-bottom: 1px solid var(--rule-light);
  gap: 26px;
  grid-template-columns: 150px 1fr 1fr 0.85fr;
}

.comparison-dimension > span,
.comparison-dimension small {
  color: var(--gray-dark);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.comparison-dimension p {
  max-width: 290px;
  margin: 12px 0 0;
  color: #303631;
  line-height: 1.55;
}

.comparison-dimension strong {
  color: var(--green);
  font-size: 14px;
  font-weight: 570;
  line-height: 1.5;
}

.comparison-prose {
  max-width: 790px;
}

.comparison-prose > p {
  color: #394039;
  font-size: 17px;
  line-height: 1.65;
}

.comparison-prose .comparison-lead {
  margin-top: 0;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.35;
}

.comparison-actions {
  display: flex;
  margin-top: 28px;
  gap: 34px;
}

.comparison-table-wrap {
  margin-top: 38px;
  overflow-x: auto;
  border-top: 1px solid var(--rule-light);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.comparison-table th,
.comparison-table td {
  min-width: 180px;
  padding: 18px 16px;
  border-right: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  color: #4c534d;
  font-size: 12px;
  font-weight: 650;
}

.comparison-table td {
  color: var(--ink);
  font-size: 14px;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  padding-left: 0;
}

.comparison-table th:last-child,
.comparison-table td:last-child {
  border-right: 0;
}

.comparison-analysis {
  padding: 30px 0 90px;
}

.comparison-analysis-row {
  display: grid;
  min-height: 310px;
  padding: 72px 0;
  border-bottom: 1px solid var(--rule-dark);
  gap: 40px;
  grid-template-columns: 70px minmax(260px, 0.8fr) minmax(0, 1.2fr);
}

.comparison-analysis-row > span {
  color: #748278;
  font-size: 12px;
  font-weight: 650;
}

.comparison-analysis-row h2 {
  max-width: 380px;
  margin: 0;
  font-size: 37px;
  font-weight: 480;
  line-height: 1.08;
}

.comparison-analysis-row p {
  max-width: 650px;
  margin: 0 0 22px;
  color: #c7ccc7;
  font-size: 17px;
  line-height: 1.68;
}

.comparison-decision {
  padding: 118px 0;
}

.comparison-decision .comparison-section-heading {
  margin-bottom: 72px;
}

.comparison-choice-grid {
  display: grid;
  border-top: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
  grid-template-columns: 1fr 1fr;
}

.comparison-choice {
  min-height: 370px;
  padding: 30px 0 50px 50px;
  border-left: 1px solid var(--rule-light);
}

.comparison-choice:first-child {
  padding-right: 50px;
  padding-left: 0;
  border-left: 0;
}

.comparison-choice > span {
  color: var(--gray-dark);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.comparison-choice ul {
  padding: 0;
  margin: 65px 0 0;
  list-style: none;
}

.comparison-choice li {
  position: relative;
  padding: 18px 20px 18px 26px;
  border-top: 1px solid var(--rule-light);
  color: #2f3530;
  font-size: 17px;
}

.comparison-choice li::before {
  position: absolute;
  top: 24px;
  left: 2px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--green);
  content: "";
  transform: rotate(45deg);
}

.comparison-choice-gray {
  background: linear-gradient(135deg, rgba(47, 125, 90, 0.05), transparent 65%);
}

.comparison-migration,
.comparison-sources,
.methodology-limits {
  padding: 118px 0;
}

.comparison-migration .comparison-section-heading h2 {
  color: var(--paper);
}

.comparison-steps {
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--rule-dark);
  list-style: none;
}

.comparison-steps li {
  display: grid;
  min-height: 116px;
  align-items: start;
  padding: 25px 0;
  border-bottom: 1px solid var(--rule-dark);
  gap: 32px;
  grid-template-columns: 150px 1fr;
}

.comparison-steps span {
  color: #8d968e;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-steps p {
  max-width: 570px;
  margin: 0;
  color: #d0d4d0;
  font-size: 17px;
  line-height: 1.6;
}

.comparison-faq {
  padding: 118px 0;
}

.comparison-faq .faq-layout {
  padding: 0;
}

.comparison-sources p {
  max-width: 690px;
  color: #bbc1bb;
  line-height: 1.65;
}

.comparison-sources ul {
  padding: 0;
  margin: 34px 0;
  border-top: 1px solid var(--rule-dark);
  list-style: none;
}

.comparison-sources li {
  border-bottom: 1px solid var(--rule-dark);
}

.comparison-sources li a {
  display: flex;
  padding: 18px 0;
  align-items: center;
  justify-content: space-between;
  color: var(--paper);
  transition: color 180ms ease, padding-left 180ms ease;
}

.comparison-sources li a:hover {
  padding-left: 8px;
  color: #b8c3ba;
}

.comparison-reviewed {
  color: #778078 !important;
  font-size: 12px;
}

.comparison-next {
  padding: 120px 0 135px;
}

.comparison-next .shell > p {
  margin: 0 0 24px;
  color: var(--gray-dark);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-related {
  display: grid;
  margin: 0 0 92px;
  border-top: 1px solid var(--rule-light);
  border-left: 1px solid var(--rule-light);
  grid-template-columns: repeat(3, 1fr);
}

.comparison-related a {
  display: flex;
  min-height: 106px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-right: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
  font-size: 18px;
  font-weight: 540;
  transition: background-color 180ms ease, padding-left 180ms ease;
}

.comparison-related a:hover {
  padding-left: 31px;
  background: rgba(47, 125, 90, 0.06);
}

.comparison-related i {
  color: var(--green);
  font-style: normal;
}

.comparison-next .shell > div {
  display: flex;
  margin-top: 48px;
  align-items: center;
  gap: 34px;
}

.comparison-hub .comparison-hero {
  min-height: 740px;
}

.comparison-hub-intro {
  border-bottom: 1px solid var(--rule-light);
}

.comparison-library {
  padding: 120px 0;
}

.comparison-library-heading {
  display: flex;
  margin-bottom: 70px;
  align-items: end;
  justify-content: space-between;
}

.comparison-card-grid {
  display: grid;
  border-top: 1px solid var(--rule-dark);
  border-left: 1px solid var(--rule-dark);
  grid-template-columns: repeat(3, 1fr);
}

.comparison-card {
  position: relative;
  display: flex;
  min-height: 390px;
  padding: 26px 28px 32px;
  flex-direction: column;
  border-right: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
  transition: background-color 220ms ease, transform 220ms ease;
}

.comparison-card:hover {
  z-index: 1;
  background: #1a1e1a;
  transform: translateY(-4px);
}

.comparison-card > span,
.comparison-card > small {
  color: #758078;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.comparison-card > small {
  margin-top: 52px;
}

.comparison-card h3 {
  margin: 9px 0 22px;
  font-size: 31px;
  font-weight: 500;
}

.comparison-card p {
  display: -webkit-box;
  margin: 0 0 30px;
  overflow: hidden;
  color: #abb2ac;
  font-size: 14px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}

.comparison-card strong {
  margin-top: auto;
  font-size: 13px;
  font-weight: 590;
}

.comparison-capacity-row {
  display: grid;
  min-height: 90px;
  align-items: center;
  border-top: 1px solid var(--rule-light);
  gap: 22px;
  grid-template-columns: 1fr 150px 1.4fr;
}

.comparison-capacity-row span {
  font-weight: 590;
}

.comparison-capacity-row strong {
  font-size: 26px;
  font-weight: 520;
}

.comparison-capacity-row small {
  color: var(--gray-dark);
}

.methodology-grid {
  display: grid;
  margin: 70px 0 0;
  border-top: 1px solid var(--rule-light);
  border-left: 1px solid var(--rule-light);
  grid-template-columns: repeat(4, 1fr);
}

.methodology-grid div {
  min-height: 180px;
  padding: 26px;
  border-right: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
}

.methodology-grid dt {
  color: var(--gray-dark);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.methodology-grid dd {
  margin: 42px 0 0;
  font-size: 17px;
  line-height: 1.45;
}

.methodology-policy {
  padding: 40px 0 100px;
}

.methodology-policy .shell {
  display: grid;
  border-top: 1px solid var(--rule-dark);
  grid-template-columns: 1fr 1fr;
}

.methodology-policy article {
  min-height: 330px;
  padding: 34px 38px 50px 0;
  border-right: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
}

.methodology-policy article:nth-child(even) {
  padding-right: 0;
  padding-left: 38px;
  border-right: 0;
}

.methodology-policy span {
  color: #748278;
  font-size: 12px;
}

.methodology-policy h2 {
  margin: 76px 0 20px;
  font-size: 34px;
  font-weight: 480;
}

.methodology-policy p,
.methodology-limits li,
.methodology-usage p {
  color: #bbc1bb;
  font-size: 16px;
  line-height: 1.65;
}

.methodology-data .primary-link {
  display: inline-flex;
  margin-top: 26px;
}

.methodology-limits ul {
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--rule-dark);
  list-style: none;
}

.methodology-limits li {
  padding: 20px 0;
  border-bottom: 1px solid var(--rule-dark);
}

.methodology-usage p {
  max-width: 700px;
  margin-top: 0;
  color: #313832;
}

.home-compare {
  padding: 118px 0;
  border-top: 1px solid var(--rule-dark);
}

.home-compare .shell {
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
}

.home-compare-heading h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 450;
  line-height: 0.98;
}

.home-compare-heading > p:last-child {
  max-width: 390px;
  margin: 34px 0 0;
  color: #aeb5ae;
  line-height: 1.65;
}

.home-compare-links {
  border-top: 1px solid var(--rule-dark);
}

.home-compare-links a {
  display: grid;
  min-height: 104px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule-dark);
  gap: 20px;
  grid-template-columns: 160px 1fr 24px;
  transition: padding-left 180ms ease, background-color 180ms ease;
}

.home-compare-links a:hover {
  padding-left: 12px;
  background: rgba(248, 249, 246, 0.025);
}

.home-compare-links span {
  color: #778078;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.home-compare-links strong {
  font-size: 21px;
  font-weight: 510;
}

.home-compare-links i {
  color: #748278;
  font-style: normal;
}

@media (max-width: 900px) {
  .comparison-hero {
    min-height: 720px;
    padding-top: 128px;
    background-size: 80px 80px, 80px 80px, 720px auto;
  }

  .comparison-answer,
  .comparison-section-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .comparison-answer {
    gap: 18px;
  }

  .comparison-dimension {
    grid-template-columns: 110px 1fr 1fr;
  }

  .comparison-dimension strong {
    grid-column: 2 / -1;
  }

  .comparison-analysis-row {
    grid-template-columns: 50px 0.8fr 1.2fr;
  }

  .comparison-card-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .home-compare .shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .comparison-hero {
    min-height: auto;
    padding: 112px 0 72px;
    background-position: center, center, 62% bottom;
    background-size: 64px 64px, 64px 64px, 560px auto;
  }

  .comparison-breadcrumb {
    margin-bottom: 52px;
    overflow: hidden;
    white-space: nowrap;
  }

  .comparison-hero h1 {
    font-size: 64px;
    line-height: 0.9;
  }

  .comparison-hero h1 span {
    font-size: 0.42em;
  }

  .comparison-answer {
    margin-top: 58px;
  }

  .comparison-answer > p:last-child {
    font-size: 18px;
  }

  .comparison-disclosure {
    flex-direction: column;
    gap: 8px;
  }

  .comparison-overview,
  .comparison-evidence,
  .comparison-hub-intro,
  .comparison-hub-evidence,
  .methodology-facts,
  .methodology-data,
  .methodology-usage,
  .comparison-decision,
  .comparison-migration,
  .comparison-sources,
  .methodology-limits,
  .comparison-faq,
  .comparison-library {
    padding: 78px 0;
  }

  .comparison-section-heading h2,
  .comparison-library-heading h2,
  .comparison-next h2,
  .methodology-limits h2,
  .methodology-usage h2,
  .comparison-sources h2 {
    font-size: 39px;
  }

  .comparison-dimension {
    padding: 24px 0 30px;
    gap: 20px;
    grid-template-columns: 1fr;
  }

  .comparison-dimension strong {
    grid-column: auto;
  }

  .comparison-dimension p {
    max-width: none;
  }

  .comparison-analysis-row {
    padding: 58px 0;
    gap: 22px;
    grid-template-columns: 34px 1fr;
  }

  .comparison-analysis-row h2,
  .comparison-analysis-row > div {
    grid-column: 2;
  }

  .comparison-analysis-row h2 {
    font-size: 31px;
  }

  .comparison-analysis-row p {
    font-size: 16px;
  }

  .comparison-choice-grid,
  .comparison-card-grid,
  .methodology-grid,
  .methodology-policy .shell {
    grid-template-columns: 1fr;
  }

  .comparison-choice,
  .comparison-choice:first-child {
    min-height: auto;
    padding: 30px 0 40px;
    border-right: 0;
    border-left: 0;
  }

  .comparison-choice + .comparison-choice {
    border-top: 1px solid var(--rule-light);
  }

  .comparison-choice ul {
    margin-top: 38px;
  }

  .comparison-steps li {
    gap: 12px;
    grid-template-columns: 1fr;
  }

  .comparison-library-heading {
    display: block;
  }

  .comparison-library-heading h2 {
    margin-top: 18px;
  }

  .comparison-card {
    min-height: 340px;
  }

  .comparison-capacity-row {
    padding: 18px 0;
    gap: 8px;
    grid-template-columns: 1fr auto;
  }

  .comparison-capacity-row small {
    grid-column: 1 / -1;
  }

  .methodology-grid div {
    min-height: 150px;
  }

  .methodology-grid dd {
    margin-top: 28px;
  }

  .methodology-policy article,
  .methodology-policy article:nth-child(even) {
    min-height: auto;
    padding: 34px 0 48px;
    border-right: 0;
  }

  .methodology-policy h2 {
    margin-top: 44px;
  }

  .comparison-next {
    padding: 80px 0 95px;
  }

  .comparison-next .shell > div,
  .comparison-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .comparison-related {
    margin-bottom: 70px;
    grid-template-columns: 1fr;
  }

  .comparison-related a {
    min-height: 82px;
  }

  .home-compare {
    padding: 78px 0;
  }

  .home-compare .shell {
    gap: 50px;
  }

  .home-compare-links a {
    min-height: 94px;
    gap: 8px;
    grid-template-columns: 1fr 24px;
  }

  .home-compare-links span {
    grid-column: 1;
  }

  .home-compare-links strong {
    grid-column: 1;
  }

  .home-compare-links i {
    grid-column: 2;
    grid-row: 1 / 3;
  }
}

/* Product claim notes */
.comparison-answer sup,
.commercial-hero-answer sup {
  font-size: 11px;
  line-height: 1;
  margin-left: 5px;
  vertical-align: super;
}

.comparison-answer sup a,
.commercial-hero-answer sup a {
  color: inherit;
  text-decoration: none;
}

.claim-links {
  font-size: 11px;
  margin: 22px 0 0 auto;
  max-width: 980px;
  text-align: right;
  text-transform: uppercase;
}

.claim-links a {
  color: #9ca59e;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.claim-notes {
  border-top: 1px solid rgba(248, 249, 246, 0.22);
  list-style: none;
  margin: 38px 0;
  padding: 0;
}

.claim-notes li {
  border-bottom: 1px solid rgba(248, 249, 246, 0.16);
  color: #aeb5b0;
  display: grid;
  font-size: 12px;
  gap: 14px;
  grid-template-columns: 24px 1fr;
  line-height: 1.55;
  padding: 17px 0;
}

.claim-notes sup {
  color: var(--paper);
  font-size: 10px;
}

.commercial-claims {
  color: var(--ink);
  padding: 92px 0 105px;
}

.claims-product {
  font-size: 22px;
  font-weight: 560;
  margin: 0;
}

.dark-claim-notes {
  border-top-color: var(--rule-light);
}

.dark-claim-notes li {
  border-bottom-color: var(--rule-light);
  color: #566159;
}

.dark-claim-notes sup {
  color: var(--ink);
}

@media (max-width: 640px) {
  .claim-links {
    margin-top: 18px;
    text-align: left;
  }

  .commercial-claims {
    padding: 68px 0 78px;
  }

  .claim-notes li {
    font-size: 11px;
  }
}

@media (max-width: 767px) {
  .nav-toggle {
    display: inline-flex;
    width: 78px;
    height: 40px;
    padding: 0 11px;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(248, 249, 246, 0.34);
    color: var(--paper);
    gap: 9px;
  }

  .nav-toggle::before {
    content: "Menu";
    font-size: 11px;
    font-weight: 560;
    line-height: 1;
  }

  .nav-toggle[aria-expanded="true"]::before {
    content: "Close";
  }

  .nav-toggle-icon {
    width: 12px;
    height: 12px;
    transition: transform 180ms ease;
  }

  .nav-toggle-icon i {
    top: 5.5px !important;
    right: 0;
    left: 0;
    height: 1px;
  }

  .nav-toggle-icon i:last-child {
    transform: rotate(90deg);
  }

  .nav-open .nav-toggle-icon {
    transform: rotate(45deg);
  }

  .nav-open .nav-toggle-icon i:first-child {
    transform: none;
  }

  .nav-open .nav-toggle-icon i:last-child {
    transform: rotate(90deg);
  }
}
