:root {
  --ink: #171a1a;
  --ink-deep: #050607;
  --paper: #f5f5f1;
  --paper-raised: #fbfaf7;
  --paper-cool: #edf1f0;
  --teal: #1e8a83;
  --teal-dark: #17605c;
  --muted: #5d6563;
  --line: #d8dcda;
  --line-dark: #343a3d;
  --shell: 1200px;
  --media: 1040px;
  --copy: 720px;
  --gutter: 48px;
  --heading: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

html.product-document {
  scroll-padding-top: 142px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
}

a {
  color: inherit;
}

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

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

h1,
h2,
h3 {
  font-family: var(--heading);
  font-weight: 600;
  letter-spacing: 0;
}

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

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

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

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  background: var(--ink-deep);
  color: #f4f1ec;
  border-bottom: 1px solid #25292b;
}

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

.brand {
  flex: 0 0 auto;
  display: block;
  width: 244px;
  height: 56px;
  overflow: hidden;
}

.brand img {
  width: 326px;
  max-width: none;
  height: auto;
  transform: translate(-46px, -37px);
}

.primary-nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 44px;
}

.primary-nav a {
  position: relative;
  display: flex;
  align-items: center;
  font-family: var(--heading);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav a[aria-current="location"]::after {
  transform: scaleX(1);
}

.product-context {
  position: sticky;
  z-index: 25;
  top: 76px;
  background: var(--paper-raised);
  border-bottom: 1px solid var(--line);
}

.product-context-inner {
  min-height: 58px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: stretch;
  gap: 38px;
}

.breadcrumb {
  display: flex;
  align-items: center;
}

.breadcrumb ol {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  white-space: nowrap;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.breadcrumb li + li::before {
  content: "/";
  color: #8a9190;
}

.breadcrumb a,
.breadcrumb span {
  font-family: var(--heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.breadcrumb a {
  color: var(--teal-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.product-section-nav {
  min-width: 0;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 30px;
  overflow-x: auto;
  scrollbar-width: none;
}

.product-section-nav::-webkit-scrollbar {
  display: none;
}

.product-section-nav a {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-family: var(--heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
}

.product-section-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.product-section-nav a:hover,
.product-section-nav a:focus-visible,
.product-section-nav a[aria-current="location"] {
  color: var(--ink);
}

.product-section-nav a:hover::after,
.product-section-nav a:focus-visible::after,
.product-section-nav a[aria-current="location"]::after {
  transform: scaleX(1);
}

.product-section-nav .product-docs-link {
  margin-left: 6px;
  padding-left: 30px;
  color: var(--teal-dark);
  border-left: 1px solid var(--line);
}

.product-hero {
  padding: 82px 0 104px;
  border-bottom: 1px solid var(--line);
}

.product-hero-inner {
  text-align: center;
}

.product-hero h1 {
  max-width: 920px;
  margin: 0 auto 26px;
  font-size: 76px;
  line-height: 0.98;
  text-transform: uppercase;
}

.product-hero > .shell > p,
.product-hero-inner > p {
  max-width: var(--copy);
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 23px;
  line-height: 1.45;
}

.hero-links {
  margin-bottom: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 28px;
}

.solid-link {
  min-height: 46px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #ffffff;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.solid-link:hover,
.solid-link:focus-visible {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.text-link,
.feature-notes a,
.compatibility a,
.route > span {
  color: var(--teal-dark);
  font-weight: 500;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.text-link:hover,
.text-link:focus-visible,
.feature-notes a:hover,
.feature-notes a:focus-visible,
.compatibility a:hover,
.compatibility a:focus-visible,
.route:hover > span,
.route:focus-visible > span {
  color: var(--teal);
}

.media-frame {
  width: min(100%, var(--media));
  margin: 0 auto;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line-dark);
  border-radius: 3px;
}

.media-frame img,
.media-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.media-frame figcaption {
  min-height: 38px;
  padding: 9px 12px 10px;
  background: var(--ink);
  color: #cbd0d2;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
}

.media-frame-dark {
  background: #09101a;
}

.hero-media img {
  object-position: center 42%;
}

.feature-section {
  padding: 112px 0 118px;
  border-bottom: 1px solid var(--line);
}

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

.feature-section-dark {
  background: #0b111a;
  color: #eef0ef;
  border-bottom-color: #384044;
}

.feature-copy {
  max-width: var(--copy);
  margin: 0 auto 50px;
  text-align: center;
}

.section-index {
  margin-bottom: 17px;
  color: var(--teal-dark);
  font-family: var(--heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.feature-section-dark .section-index {
  color: #63c6be;
}

.feature-copy h2 {
  margin-bottom: 22px;
  font-size: 56px;
  line-height: 1;
  text-transform: uppercase;
}

.feature-copy > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.5;
}

.feature-section-dark .feature-copy > p:last-child {
  color: #b8c0c2;
}

.feature-media-compact {
  width: min(100%, 920px);
  background: #f0f2f9;
}

.feature-media-compact img {
  object-fit: contain;
}

.feature-notes {
  width: min(100%, var(--media));
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-notes > * {
  min-height: 86px;
  margin: 0;
  padding: 18px 22px;
  display: flex;
  align-items: center;
}

.feature-notes > * + * {
  border-left: 1px solid var(--line);
}

.feature-notes p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.4;
}

.feature-notes a {
  justify-content: flex-start;
}

.feature-section-dark .feature-notes {
  border-color: #3d454a;
}

.feature-section-dark .feature-notes > * + * {
  border-color: #3d454a;
}

.feature-section-dark .feature-notes p {
  color: #b8c0c2;
}

.feature-section-dark .feature-notes a {
  color: #63c6be;
}

.technical-range {
  background: var(--ink);
  color: #edf0ef;
  border-bottom: 1px solid #434a4d;
}

.technical-range-inner {
  min-height: 520px;
  padding-block: 92px;
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(520px, 1.25fr);
  gap: 88px;
  align-items: start;
}

.technical-range-heading h2 {
  max-width: 10ch;
  margin-bottom: 18px;
  font-size: 52px;
  line-height: 1;
  text-transform: uppercase;
}

.technical-range-heading p {
  max-width: 34ch;
  margin-bottom: 0;
  color: #b8c0c2;
}

.technical-list {
  border-top: 1px solid #576064;
}

.technical-list p {
  min-height: 96px;
  margin: 0;
  padding: 22px 0;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  border-bottom: 1px solid #576064;
}

.technical-list strong {
  color: #ffffff;
  font-family: var(--heading);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
}

.technical-list span {
  color: #c5cbcc;
}

.compatibility {
  background: var(--paper-cool);
  border-bottom: 1px solid var(--line);
}

.compatibility-inner {
  min-height: 290px;
  padding-block: 66px;
  display: grid;
  grid-template-columns: minmax(250px, 0.6fr) minmax(420px, 1fr);
  grid-template-areas:
    "title body"
    "title link";
  gap: 12px 72px;
  align-content: center;
}

.compatibility h2 {
  grid-area: title;
  margin: 0;
  font-size: 46px;
  line-height: 1;
  text-transform: uppercase;
}

.compatibility p {
  grid-area: body;
  max-width: 62ch;
  margin-bottom: 8px;
  color: var(--muted);
}

.compatibility a {
  grid-area: link;
  justify-self: start;
}

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

.route {
  min-height: 278px;
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  transition: background-color 160ms ease;
}

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

.route:hover,
.route:focus-visible {
  background: var(--paper-raised);
}

.route h2 {
  margin-bottom: 14px;
  font-size: 40px;
  line-height: 1;
  text-transform: uppercase;
}

.route p {
  max-width: 52ch;
  margin-bottom: 26px;
  color: var(--muted);
}

.route > span {
  margin-top: auto;
}

.site-footer {
  background: var(--ink-deep);
  color: #dfe2e2;
}

.footer-inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand {
  font-family: var(--heading);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
}

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

.footer-nav a {
  color: inherit;
  text-decoration-color: #5c6769;
  text-underline-offset: 4px;
}

.publisher-intro {
  border-bottom: 1px solid var(--line);
}

.publisher-intro-inner {
  min-height: 292px;
  padding-block: 54px;
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1.15fr);
  align-items: center;
  gap: 72px;
}

.publisher-intro h1 {
  margin: 0;
  font-size: 78px;
  line-height: 0.92;
  text-transform: uppercase;
}

.publisher-intro p {
  max-width: 30ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 26px;
  line-height: 1.4;
}

.section-heading {
  background: var(--ink);
  color: var(--paper);
}

.section-heading h2 {
  margin: 0;
  padding: 22px 0 22px 24px;
  border-left: 5px solid var(--teal);
  font-size: 31px;
  line-height: 1;
  text-transform: uppercase;
}

.tool-index {
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.tool-entry {
  min-height: 306px;
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  color: inherit;
}

.tool-thumbnail {
  margin: 0;
  border-right: 1px solid var(--line);
  background: #454545;
}

.tool-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tool-summary {
  padding: 44px 52px 46px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tool-summary h2 {
  max-width: 18ch;
  margin-bottom: 16px;
  font-size: 44px;
  line-height: 1;
  text-transform: uppercase;
}

.tool-summary p {
  max-width: 55ch;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 20px;
}

.tool-links {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
}

.tool-links a {
  color: var(--teal-dark);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.tool-links a:hover,
.tool-links a:focus-visible {
  color: var(--teal);
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}

@media (max-width: 1040px) {
  :root {
    --gutter: 30px;
  }

  .product-hero h1 {
    max-width: 760px;
    font-size: 64px;
  }

  .feature-copy h2 {
    font-size: 50px;
  }

  .product-context-inner {
    gap: 26px;
  }

  .product-section-nav {
    justify-content: flex-start;
  }

  .technical-range-inner {
    grid-template-columns: minmax(240px, 0.65fr) minmax(440px, 1.35fr);
    gap: 50px;
  }

  .compatibility-inner {
    gap: 12px 44px;
  }

  .publisher-intro-inner {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
  }

  .tool-entry {
    grid-template-columns: 350px minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 20px;
  }

  html {
    scroll-padding-top: 82px;
  }

  html.product-document {
    scroll-padding-top: 176px;
  }

  body {
    font-size: 17px;
  }

  .header-inner {
    min-height: 70px;
    flex-direction: row;
    align-items: center;
    gap: 18px;
  }

  .brand {
    width: 172px;
    height: 42px;
  }

  .brand img {
    width: 230px;
    transform: translate(-32px, -26px);
  }

  .primary-nav {
    width: auto;
    margin-left: auto;
    align-self: stretch;
    justify-content: flex-end;
    gap: 20px;
  }

  .primary-nav a {
    min-height: 40px;
    font-size: 13px;
  }

  .product-context {
    top: 70px;
  }

  .product-context-inner {
    width: 100%;
    display: block;
  }

  .breadcrumb {
    min-height: 43px;
    padding-inline: 20px;
    border-bottom: 1px solid var(--line);
  }

  .breadcrumb a,
  .breadcrumb span {
    font-size: 14px;
  }

  .product-section-nav {
    min-height: 51px;
    padding-left: 20px;
    gap: 26px;
  }

  .product-section-nav a {
    font-size: 14px;
  }

  .product-section-nav .product-docs-link {
    position: sticky;
    z-index: 2;
    right: 0;
    margin-left: 0;
    padding: 0 20px 0 22px;
    background: var(--paper-raised);
    box-shadow: -14px 0 18px var(--paper-raised);
  }

  .product-hero {
    padding: 52px 0 66px;
  }

  .product-hero h1 {
    max-width: 12ch;
    margin-bottom: 22px;
    font-size: 46px;
    line-height: 0.98;
  }

  .product-hero > .shell > p,
  .product-hero-inner > p {
    max-width: 31ch;
    margin-bottom: 26px;
    font-size: 19px;
  }

  .hero-links {
    margin-bottom: 38px;
    flex-direction: column;
  }

  .solid-link {
    width: 100%;
  }

  .media-frame {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .media-frame figcaption {
    min-height: 0;
    font-size: 12px;
  }

  .feature-section {
    padding: 72px 0 78px;
  }

  .feature-copy {
    margin-bottom: 34px;
    text-align: left;
  }

  .section-index {
    margin-bottom: 14px;
    font-size: 14px;
  }

  .feature-copy h2 {
    margin-bottom: 18px;
    font-size: 40px;
  }

  .feature-copy > p:last-child {
    font-size: 18px;
  }

  .feature-notes {
    margin-top: 24px;
    grid-template-columns: 1fr;
  }

  .feature-notes > * {
    min-height: 68px;
    padding: 15px 0;
  }

  .feature-notes > * + * {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .feature-section-dark .feature-notes > * + * {
    border-top-color: #3d454a;
  }

  .technical-range-inner {
    min-height: 0;
    padding-block: 70px;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .technical-range-heading h2 {
    max-width: none;
    font-size: 40px;
  }

  .technical-list p {
    min-height: 0;
    padding: 21px 0;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .compatibility-inner {
    min-height: 0;
    padding-block: 58px;
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "body"
      "link";
    gap: 20px;
  }

  .compatibility h2 {
    font-size: 38px;
  }

  .compatibility p {
    margin: 0;
  }

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

  .route {
    min-height: 224px;
    padding: 38px 0;
  }

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

  .route h2 {
    font-size: 36px;
  }

  .footer-inner {
    min-height: 126px;
    padding-block: 28px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
  }

  .footer-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .publisher-intro-inner {
    min-height: 250px;
    padding-block: 44px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .publisher-intro h1 {
    font-size: 50px;
  }

  .publisher-intro p {
    font-size: 20px;
  }

  .section-heading h2 {
    padding-block: 19px;
    font-size: 27px;
  }

  .tool-index {
    border: 0;
  }

  .tool-entry {
    min-height: 0;
    grid-template-columns: 1fr;
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .tool-thumbnail {
    aspect-ratio: 16 / 9;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .tool-summary {
    min-height: 300px;
    padding: 34px 26px 38px;
  }

  .tool-summary h2 {
    font-size: 36px;
  }

  .tool-summary p {
    font-size: 18px;
  }

  .tool-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
