/* MarsCompute marketing site. No build step: edit and upload. */

:root {
  --paper: #f4f1ea;
  --surface: #fffefa;
  --ink: #171816;
  --ink-soft: #2a2b28;
  --muted: #686a65;
  --line: #d4d0c6;
  --line-strong: #a8a49a;
  --accent: #e4511e;
  --accent-dark: #b83a10;
  --accent-soft: #fbe3d8;
  --green: #19724c;
  --green-soft: #dceade;
  --night: #131412;
  --night-line: #33342f;
  --night-muted: #a7aaa2;
  --sans:
    "IBM Plex Sans", "Inter", ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono:
    "IBM Plex Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas,
    "Liberation Mono", monospace;
  --wrap: 1180px;
  --gutter: 24px;
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
pre {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--surface);
  padding: 10px 14px;
  font-family: var(--mono);
  font-size: 13px;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Type */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
}

.display {
  font-size: clamp(2.5rem, 5.4vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.title {
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 500;
}

.subtitle {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 500;
}

.lede {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 34em;
}

.mono {
  font-family: var(--mono);
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

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

.button-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.button-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

.button-light {
  border-color: var(--night-line);
  color: var(--surface);
}

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

.button-small {
  min-height: 38px;
  padding: 0 16px;
}

.arrow::after {
  content: "\2192";
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0;
}

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

/* Announcement and header */

.announce {
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  color: #fff;
  text-align: center;
  font-size: 14px;
  padding: 9px var(--gutter);
}

.announce a {
  text-decoration: none;
}

.announce a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand svg {
  width: 30px;
  height: 30px;
}

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

.site-nav ul {
  display: flex;
  gap: 28px;
}

.site-nav a {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.site-nav ul a:hover,
.site-nav ul a[aria-current="page"] {
  border-bottom-color: var(--accent);
}

.site-nav .actions {
  margin-left: auto;
}

.site-nav .text-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 8px;
}

.site-nav .text-link:hover {
  color: var(--accent-dark);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  content: "";
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before {
  position: absolute;
  top: -6px;
}

.menu-toggle span::after {
  position: absolute;
  top: 6px;
}

/* Sections */

.section {
  padding: 96px 0;
}

.section-tight {
  padding: 64px 0;
}

.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: 48px;
  max-width: 46em;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  justify-items: center;
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

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

.night .eyebrow,
.night .lede,
.night .muted {
  color: var(--night-muted);
}

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

/* Hero */

.hero {
  position: relative;
  padding: 84px 0 96px;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(23, 24, 22, 0.11) 1px,
    transparent 0
  );
  background-size: 26px 26px;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--paper) 0%,
    rgba(244, 241, 234, 0.86) 46%,
    rgba(244, 241, 234, 0.2) 100%
  );
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 26px;
  justify-items: start;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
}

.hero-facts li::before {
  content: "+ ";
  color: var(--accent);
}

/* Bracket frame, used around visuals */

.frame {
  position: relative;
  padding: 18px;
}

.frame::before,
.frame::after,
.frame > .corner::before,
.frame > .corner::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--ink);
}

.frame::before {
  top: 0;
  left: 0;
  border-right: 0;
  border-bottom: 0;
}

.frame::after {
  top: 0;
  right: 0;
  border-left: 0;
  border-bottom: 0;
}

.frame > .corner::before {
  bottom: 0;
  left: 0;
  border-right: 0;
  border-top: 0;
}

.frame > .corner::after {
  bottom: 0;
  right: 0;
  border-left: 0;
  border-top: 0;
}

/* Code window */

.code-window {
  background: var(--night);
  color: #ece9e1;
  border: 1px solid var(--night);
  box-shadow: 12px 12px 0 rgba(228, 81, 30, 0.16);
}

.code-tabs {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--night-line);
}

.code-tabs [role="tab"] {
  appearance: none;
  border: 0;
  border-right: 1px solid var(--night-line);
  background: transparent;
  color: var(--night-muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 18px;
  cursor: pointer;
}

.code-tabs [role="tab"][aria-selected="true"] {
  color: #fff;
  box-shadow: inset 0 -2px 0 var(--accent);
}

.code-tabs [role="tab"]:hover {
  color: #fff;
}

.copy-button {
  margin-left: auto;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--night-muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 18px;
  cursor: pointer;
}

.copy-button:hover {
  color: #fff;
}

.code-window pre {
  padding: 22px 24px 26px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.7;
  tab-size: 2;
}

.code-window code {
  font-family: inherit;
}

.code-window .c-key {
  color: #f0a27f;
}

.code-window .c-str {
  color: #b9d7a8;
}

.code-window .c-dim {
  color: #8f928a;
}

.code-plain {
  background: var(--night);
  color: #ece9e1;
  padding: 20px 22px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.7;
}

/* Model cards */

.model-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.model-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 26px 24px 28px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background-color 0.15s ease;
}

a.model-card:hover {
  background: #fff;
}

.model-card h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 600;
}

.model-card .maker {
  font-size: 14px;
  color: var(--muted);
}

.model-card .model-id {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-soft);
  word-break: break-all;
}

.model-card .price {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  justify-self: start;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 9px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
}

.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-strong);
}

.pill-live {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-soft);
}

.pill-live::before {
  background: var(--green);
}

/* Statement band */

.statement {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: end;
}

.fact-list {
  display: grid;
  border-top: 1px solid var(--night-line);
}

.fact-list li {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--night-line);
  font-family: var(--mono);
  font-size: 13.5px;
}

.fact-list .label {
  color: var(--night-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

.fact-list .value {
  overflow-wrap: anywhere;
}

/* Split panels */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--ink);
}

.panel {
  display: grid;
  align-content: start;
  gap: 20px;
  padding: 48px 44px 52px;
}

.panel-night {
  background: var(--night);
  color: var(--surface);
}

.panel-night .eyebrow,
.panel-night p,
.panel-night li {
  color: var(--night-muted);
}

.panel-light {
  background: var(--surface);
}

.checks {
  display: grid;
  gap: 12px;
}

.checks li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  background: var(--accent);
}

.checks strong {
  color: var(--ink);
  font-weight: 600;
}

.panel-night .checks strong {
  color: var(--surface);
}

/* Features */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 32px 28px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature svg {
  width: 30px;
  height: 30px;
  color: var(--accent);
  margin-bottom: 8px;
}

.feature h3 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  counter-reset: step;
}

.step {
  display: grid;
  align-content: start;
  gap: 12px;
  padding-top: 22px;
  border-top: 2px solid var(--ink);
  counter-increment: step;
}

.step::before {
  content: "0" counter(step);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
}

.step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

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

/* Tables */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

th,
td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

thead th {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper);
  white-space: nowrap;
}

tbody tr:last-child td,
tbody tr:last-child th {
  border-bottom: 0;
}

tbody th {
  font-weight: 600;
}

td.num,
th.num {
  text-align: right;
  font-family: var(--mono);
  white-space: nowrap;
}

td code,
p code,
li code {
  font-family: var(--mono);
  font-size: 0.86em;
  background: rgba(23, 24, 22, 0.07);
  padding: 2px 6px;
}

.night td code,
.night p code {
  background: rgba(255, 255, 255, 0.1);
}

/* Call to action */

.cta {
  background: var(--accent);
  color: #fff;
}

.cta .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 40px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.cta p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.86);
  max-width: 34em;
}

.cta .button {
  border-color: #fff;
  color: #fff;
}

.cta .button:hover {
  background: #fff;
  color: var(--accent-dark);
}

.cta .button-solid {
  background: var(--ink);
  border-color: var(--ink);
}

.cta .button-solid:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}

/* Page header (inner pages) */

.page-head {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line);
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(23, 24, 22, 0.09) 1px,
    transparent 0
  );
  background-size: 26px 26px;
}

.page-head .wrap {
  display: grid;
  gap: 20px;
  justify-items: start;
}

/* Model detail rows */

.model-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 96px;
}

.model-detail:last-child {
  border-bottom: 0;
}

.model-detail .frame {
  align-self: start;
}

.model-detail .summary {
  display: grid;
  align-content: start;
  gap: 16px;
  justify-items: start;
}

.spec {
  display: grid;
  border-top: 1px solid var(--line);
}

.spec div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.spec dt {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}

.spec dd {
  margin: 0;
  overflow-wrap: anywhere;
}

/* Docs layout */

.docs {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 4px;
  font-size: 15px;
}

.toc .eyebrow {
  margin-bottom: 10px;
}

.toc a {
  display: block;
  padding: 6px 0 6px 14px;
  border-left: 2px solid var(--line);
  color: var(--muted);
  text-decoration: none;
}

.toc a:hover {
  color: var(--ink);
  border-left-color: var(--accent);
}

.prose {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 56px;
  min-width: 0;
}

.prose section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  scroll-margin-top: 96px;
  min-width: 0;
}

.prose h2 {
  font-size: 1.75rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 500;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.prose h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 8px;
}

.prose p,
.prose li {
  max-width: 44em;
}

.prose ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  list-style: square;
}

.prose ul li::marker {
  color: var(--accent);
}

.note {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  padding: 14px 18px;
  font-size: 16px;
}

/* FAQ */

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

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

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 600;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  font-family: var(--mono);
  color: var(--accent-dark);
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p {
  padding: 0 0 22px;
  color: var(--muted);
  max-width: 46em;
}

/* Footer */

.site-footer {
  background: var(--night);
  color: var(--night-muted);
  font-size: 15px;
}

.site-footer .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 40px;
}

.site-footer .brand {
  color: var(--surface);
}

.site-footer .about {
  display: grid;
  gap: 16px;
  align-content: start;
  max-width: 24em;
}

.site-footer h2 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--surface);
  margin-bottom: 14px;
}

.site-footer ul {
  display: grid;
  gap: 9px;
}

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

.site-footer a:hover {
  color: var(--surface);
}

.site-footer .legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--night-line);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* Not found */

.not-found {
  min-height: 60vh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 22px;
  padding: 96px 0;
}

.not-found .code {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--accent-dark);
}

/* Reveal on scroll (only when JavaScript is running) */

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

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

/* Responsive */

@media (max-width: 1040px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 20px var(--gutter) 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

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

  .site-nav ul {
    flex-direction: column;
    gap: 4px;
  }

  .site-nav ul a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }

  .site-nav .actions {
    margin-left: 0;
  }

  .site-nav .actions .button,
  .site-nav .actions .text-link {
    flex: 1;
    justify-content: center;
    min-height: 44px;
    border: 1px solid var(--line-strong);
  }

  .site-nav .actions .button-primary {
    border-color: var(--accent);
  }

  .hero .wrap,
  .statement,
  .model-detail {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero .wrap {
    gap: 48px;
  }

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

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

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

  .docs {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .toc {
    position: static;
  }
}

@media (max-width: 860px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 72px 0;
  }

  .split,
  .steps,
  .cta .wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .panel {
    padding: 36px 26px 40px;
  }

  .cta .wrap {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

@media (max-width: 600px) {
  :root {
    --gutter: 16px;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .model-grid,
  .feature-grid,
  .site-footer .wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .frame {
    padding: 12px;
  }

  .code-window {
    box-shadow: 6px 6px 0 rgba(228, 81, 30, 0.16);
  }

  .code-window pre,
  .code-plain {
    font-size: 12.5px;
    padding: 18px 16px 20px;
  }

  .code-tabs [role="tab"],
  .copy-button {
    padding: 12px 12px;
  }

  .fact-list li,
  .spec div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  th,
  td {
    padding: 13px 14px;
  }
}
