﻿:root {
  color-scheme: dark;
  --bg: #121212;
  --surface: #1b1c1f;
  --surface-2: #24272b;
  --text: #f7f4ee;
  --muted: #b7b0a5;
  --line: rgba(255, 255, 255, 0.13);
  --accent: #ff6a1a;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(18, 18, 18, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  text-decoration: none;
}

.brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 5px;
}

.brand-wordmark {
  width: auto;
  height: 22px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 11px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  outline: none;
}

.site-nav a.is-active {
  color: var(--text);
}

.nav-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: 0;
  max-width: 1380px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 56px) clamp(18px, 4vw, 56px);
  align-items: center;
  column-gap: clamp(28px, 5vw, 64px);
}

.hero-media {
  margin: 0;
}

.hero-media img {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-copy {
  display: grid;
  gap: 18px;
  align-items: start;
  padding: 0;
  background: transparent;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 0;
  font-size: clamp(32px, 3.7vw, 52px);
  line-height: 1.05;
}

h2 {
  max-width: 840px;
  margin-bottom: 14px;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.12;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.12;
}

p {
  color: var(--muted);
}

.hero-copy > p {
  align-self: start;
  margin-bottom: 0;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 850;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: #140a05;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
}

.button.disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.section {
  max-width: 1380px;
  margin: 0 auto;
  padding: clamp(46px, 6vw, 76px) clamp(18px, 4vw, 56px);
}

.section-title {
  max-width: 880px;
  margin-bottom: 30px;
}

.section-title.compact {
  margin-bottom: 18px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.summary-grid article,
.doc-card,
.gallery article,
.workflow-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.summary-grid article {
  overflow: hidden;
}

.summary-grid strong {
  display: block;
  margin: 14px 16px 6px;
  font-size: 17px;
}

.summary-grid p {
  margin-bottom: 0;
  padding: 0 16px 16px;
  font-size: 14px;
}

.summary-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.tools-section,
.docs-section {
  background: transparent;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.workflow-grid article {
  padding: 18px;
}

.workflow-grid span {
  display: block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 16px;
}

.workflow-grid h3 {
  font-size: 21px;
}

.workflow-grid p {
  margin-bottom: 0;
  font-size: 14px;
}

.tool-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.tool-row.reverse {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.tool-row.reverse .tool-copy {
  order: 2;
}

.tool-copy p {
  max-width: 620px;
}

.shape2d-feature {
  grid-template-columns: minmax(280px, 0.88fr) minmax(260px, 0.52fr);
  grid-template-areas:
    "copy main"
    "gallery main";
  align-items: stretch;
}

.shape2d-feature .tool-copy {
  grid-area: copy;
  align-self: end;
}

.shape2d-main {
  grid-area: main;
  margin: 0;
  max-width: 420px;
  justify-self: end;
}

.shape2d-main img {
  width: 100%;
  height: 100%;
  max-height: 660px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}

.shape2d-gallery {
  grid-area: gallery;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-self: end;
}

.shape2d-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}

.outline-feature {
  grid-template-columns: minmax(260px, 0.52fr) minmax(280px, 0.88fr);
  grid-template-areas:
    "main copy"
    "main gallery";
  align-items: stretch;
}

.outline-main {
  grid-area: main;
  margin: 0;
  max-width: 420px;
}

.outline-main img {
  width: 100%;
  height: 100%;
  max-height: 660px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}

.outline-feature .tool-copy {
  grid-area: copy;
  align-self: end;
}

.outline-gallery {
  grid-area: gallery;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-self: end;
}

.outline-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}

.spline-feature {
  grid-template-columns: minmax(280px, 0.88fr) minmax(260px, 0.52fr);
  grid-template-areas:
    "copy main"
    "gallery main";
  align-items: stretch;
}

.spline-feature .tool-copy {
  grid-area: copy;
  align-self: end;
}

.spline-main {
  grid-area: main;
  margin: 0;
  max-width: 420px;
  justify-self: end;
}

.spline-main img {
  width: 100%;
  height: 100%;
  max-height: 660px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}

.spline-gallery {
  grid-area: gallery;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-self: end;
}

.spline-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0a0a0a;
}

.tool-copy ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.tool-copy li {
  position: relative;
  padding-left: 18px;
}

.tool-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.image-pair,
.image-grid {
  display: grid;
  gap: 14px;
}

.image-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.image-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.image-pair img,
.image-grid img,
.wide-shot img,
.gallery img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}

.image-pair img,
.image-grid img {
  aspect-ratio: 1;
  object-fit: cover;
}

.image-pair,
.image-grid,
.wide-shot {
  max-width: 760px;
}

.wide-shot {
  margin: 0;
}

.wide-shot img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.pricing-section {
  padding-top: clamp(38px, 5vw, 66px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 980px;
}

.pricing-card {
  display: grid;
  gap: 22px;
  align-content: start;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.pricing-card.featured {
  border-color: rgba(255, 106, 26, 0.55);
  background: linear-gradient(180deg, rgba(255, 106, 26, 0.11), rgba(27, 28, 31, 0.98) 42%);
}

.pricing-label {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pricing-card h3 {
  margin-bottom: 10px;
  font-size: clamp(34px, 4vw, 52px);
}

.pricing-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.pricing-card li {
  position: relative;
  padding-left: 18px;
}

.pricing-card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.pricing-card .button {
  justify-self: start;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery article {
  overflow: hidden;
}

.gallery img {
  aspect-ratio: 1;
  object-fit: cover;
  border-width: 0 0 1px;
  border-radius: 0;
}

.gallery h3,
.gallery p {
  padding-inline: 14px;
}

.gallery h3 {
  padding-top: 14px;
  font-size: 19px;
}

.gallery p {
  margin-bottom: 0;
  padding-bottom: 16px;
  font-size: 13px;
}

.docs-section {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 30px;
  max-width: 1380px;
  margin: 0 auto;
  padding: clamp(46px, 6vw, 76px) clamp(18px, 4vw, 56px);
}

.docs-nav {
  position: sticky;
  top: 82px;
  align-self: start;
  display: grid;
  gap: 6px;
}

.docs-nav a {
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
}

.docs-nav a:hover,
.docs-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  outline: none;
}

.docs-content {
  display: grid;
  gap: 16px;
}

.doc-card {
  padding: clamp(20px, 3vw, 30px);
  scroll-margin-top: 92px;
}

.doc-card ol {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
}

.doc-card li + li {
  margin-top: 7px;
}

.component-list {
  display: grid;
  gap: 10px;
}

.component-list div,
.note {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-2);
  padding: 14px;
}

.component-list strong,
.component-list span {
  display: block;
}

.component-list span {
  color: var(--muted);
  margin-top: 4px;
}

.note {
  color: var(--text);
}

.inspector-list {
  display: grid;
  gap: 16px;
}

.inspector-list figure {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(260px, 1fr);
  gap: 18px;
  align-items: start;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}

.inspector-list img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.inspector-list strong,
.inspector-list figcaption {
  display: block;
}

.inspector-list figcaption {
  color: var(--muted);
  font-size: 14px;
}

.docs-link {
  margin-top: 18px;
}

.credits-section {
  max-width: 1380px;
  margin: 0 auto;
  padding-top: clamp(34px, 5vw, 62px);
}

.credits-card {
  max-width: 980px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.credits-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.credits-list li::marker {
  color: var(--accent);
}

.credits-list a,
.contact-line a {
  color: var(--text);
  text-decoration-color: rgba(255, 119, 31, 0.55);
  text-underline-offset: 3px;
}

.contact-line {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: var(--muted);
}

.site-footer a {
  text-decoration: none;
}

.documentation-page {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 56px) clamp(46px, 6vw, 76px);
}

.doc-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(34px, 5vw, 64px) 0;
}

.doc-hero p {
  max-width: 740px;
}

.doc-hero figure {
  margin: 0;
}

.doc-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.doc-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: start;
}

.doc-sidebar {
  position: sticky;
  top: 84px;
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(27, 28, 31, 0.72);
  box-shadow: var(--shadow);
}

.doc-topic {
  width: 100%;
  min-height: 38px;
  padding: 9px 11px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  text-align: left;
}

.doc-nav-group > .doc-topic {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.doc-nav-group > .doc-topic::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.65;
  transform: rotate(45deg);
  transition: transform 160ms ease, opacity 160ms ease;
}

.doc-nav-group.is-open > .doc-topic::after {
  opacity: 1;
  transform: rotate(225deg);
}

.doc-topic:hover,
.doc-topic:focus-visible,
.doc-topic.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  outline: none;
}

.doc-topic.is-active {
  box-shadow: inset 3px 0 0 var(--accent);
}

.doc-nav-group {
  display: grid;
  gap: 4px;
}

.doc-subnav {
  display: none;
  gap: 2px;
  margin: 0 0 8px 12px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.doc-nav-group.is-open .doc-subnav {
  display: grid;
}

.doc-subnav a {
  padding: 5px 8px;
  border-radius: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.doc-subnav a:hover,
.doc-subnav a:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  outline: none;
}

.doc-reader {
  min-width: 0;
}

.doc-panel {
  display: none;
  padding: clamp(22px, 3vw, 34px);
  scroll-margin-top: 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.doc-panel.is-active {
  display: block;
}

.doc-panel h2 {
  margin-bottom: 12px;
}

.doc-panel h3 {
  font-size: 20px;
}

.doc-list,
.doc-steps {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  color: var(--muted);
}

.doc-list {
  padding: 0;
  list-style: none;
}

.doc-list li {
  position: relative;
  padding-left: 18px;
}

.doc-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.doc-steps {
  padding-left: 22px;
}

.doc-media-grid,
.doc-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.doc-media-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.doc-media-grid figure,
.doc-wide-figure {
  margin: 0;
}

.doc-media-grid img,
.doc-wide-figure img,
.doc-feature-row img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}

.doc-media-grid img {
  aspect-ratio: 1;
  object-fit: cover;
}

.doc-wide-figure {
  margin-top: 22px;
}

.doc-wide-figure img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
}

.doc-media-grid figcaption,
.doc-wide-figure figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.doc-callout,
.doc-columns section,
.faq-list section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  padding: 16px;
}

.doc-callout {
  margin: 20px 0;
  color: var(--text);
  font-weight: 800;
}

.doc-subsection {
  margin-top: 24px;
  scroll-margin-top: 92px;
}

.doc-native-figure,
.doc-native-grid figure {
  margin: 22px 0 0;
}

.doc-native-figure img,
.doc-native-grid img {
  width: auto;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}

.doc-figure-tight img {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.doc-figure-medium {
  display: grid;
  justify-items: center;
}

.doc-figure-medium img {
  width: 60%;
}

.doc-figure-medium figcaption {
  width: 60%;
}

.doc-figure-small {
  display: grid;
  justify-items: center;
}

.doc-figure-small img,
.doc-figure-small figcaption {
  width: min(100%, 360px);
}

.doc-figure-half {
  display: grid;
  justify-items: center;
}

.doc-figure-half img,
.doc-figure-half figcaption {
  width: 50%;
}

.doc-figure-large-centered {
  display: grid;
  justify-items: center;
}

.doc-figure-large-centered img,
.doc-figure-large-centered figcaption {
  width: 90%;
}

.doc-native-figure figcaption,
.doc-native-grid figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.doc-native-grid {
  display: grid;
  gap: 18px;
  margin-top: 16px;
}

.doc-native-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.doc-native-grid figcaption strong {
  display: block;
  color: var(--text);
  font-size: 14px;
}

.doc-table {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.doc-table div {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 0.68fr);
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}

.doc-table strong,
.doc-table span {
  display: block;
}

.doc-table span {
  color: var(--muted);
}

.doc-toggle-list {
  display: grid;
  gap: 8px;
}

.doc-toggle-list span {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.doc-toggle-list b {
  min-width: 58px;
  color: var(--text);
}

.doc-toggle-list em {
  color: var(--muted);
  font-style: normal;
}

.doc-columns section p,
.faq-list section p {
  margin-bottom: 0;
}

.concept-feature-grid {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.concept-feature-grid article {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}

.concept-feature-grid img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0a0a0a;
}

.concept-feature-grid h3 {
  margin-bottom: 8px;
}

.concept-feature-grid p {
  margin-bottom: 0;
}

.doc-feature-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.44fr) minmax(0, 0.56fr);
  gap: 18px;
  align-items: center;
  margin-top: 22px;
}

.doc-feature-row img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

@media (max-width: 1040px) {
  .hero,
  .hero-copy,
  .tool-row,
  .tool-row.reverse,
  .shape2d-feature,
  .outline-feature,
  .spline-feature,
  .docs-section,
  .doc-hero,
  .doc-layout {
    grid-template-columns: 1fr;
  }

  .shape2d-feature {
    grid-template-areas:
      "copy"
      "main"
      "gallery";
  }

  .outline-feature {
    grid-template-areas:
      "copy"
      "main"
      "gallery";
  }

  .spline-feature {
    grid-template-areas:
      "copy"
      "main"
      "gallery";
  }

  .shape2d-main,
  .outline-main,
  .spline-main {
    max-width: 460px;
    justify-self: start;
  }

  .tool-row.reverse .tool-copy {
    order: 0;
  }

  .summary-grid,
  .workflow-grid,
  .pricing-grid,
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .docs-nav {
    position: static;
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .doc-sidebar {
    position: static;
    display: flex;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .doc-nav-group {
    display: flex;
    gap: 8px;
    align-items: center;
  }

  .doc-subnav {
    display: none;
    margin: 0;
    padding-left: 0;
    border-left: 0;
  }

  .doc-nav-group.is-open .doc-subnav {
    display: flex;
  }

  .doc-topic {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-grid;
    gap: 5px;
    place-content: center;
    width: 42px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--text);
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 18px;
    right: 18px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #141414;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .hero-media img {
    min-height: 310px;
  }

  .summary-grid,
  .workflow-grid,
  .pricing-grid,
  .gallery,
  .image-pair,
  .shape2d-gallery,
  .outline-gallery,
  .spline-gallery,
  .inspector-list figure,
  .doc-media-grid,
  .doc-media-grid.three,
  .doc-columns,
  .doc-feature-row,
  .doc-table div,
  .concept-feature-grid article {
    grid-template-columns: 1fr;
  }

  .concept-feature-grid img {
    width: min(100%, 280px);
    height: auto;
    aspect-ratio: 1;
  }

  .doc-figure-medium img,
  .doc-figure-medium figcaption,
  .doc-figure-half img,
  .doc-figure-half figcaption,
  .doc-figure-large-centered img,
  .doc-figure-large-centered figcaption {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}
