@font-face {
  font-family: "Mona Sans";
  src: url("assets/fonts/mona-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --font: "Mona Sans", Arial, sans-serif;
  --paper: #f8f9fb;
  --paper-blue: #eef0f3;
  --ink: #112b60;
  --blue: #0748c6;
  --band: #0346b8;
  --band-deep: #003a9f;
  --muted: #526074;
  --pale: #b7d2ff;
  --white: #f9fbff;
  --line: #d3d9e2;
  --focus: #2c6ae2;
  --transparent: transparent;
  --section: clamp(64px, 8vw, 128px);
  --gap: clamp(24px, 4vw, 64px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
:root {
  --r-header-x: 0%;
  --r-header-y: 0%;
  --r-header-w: 100%;
  --r-header-h: 8.79%;
  --r-wordmark-x: 5.21%;
  --r-wordmark-y: 2.15%;
  --r-wordmark-w: 10.74%;
  --r-wordmark-h: 4.3%;
  --r-wordmark-cap: 28px;
  --r-wordmark-font: 41px;
  --r-nav-firmware-x: 74.02%;
  --r-nav-firmware-y: 2.83%;
  --r-nav-firmware-w: 7.29%;
  --r-nav-firmware-h: 4.1%;
  --r-nav-build-x: 82.94%;
  --r-nav-build-y: 2.83%;
  --r-nav-build-w: 5.01%;
  --r-nav-build-h: 4.1%;
  --r-nav-github-x: 89.91%;
  --r-nav-github-y: 2.83%;
  --r-nav-github-w: 6.97%;
  --r-nav-github-h: 4.1%;
  --r-masthead-x: 5.08%;
  --r-masthead-y: 12.11%;
  --r-masthead-w: 60.68%;
  --r-masthead-h: 16.21%;
  --r-masthead-cap: 121px;
  --r-masthead-font: 174px;
  --r-masthead-family: "Mona Sans";
  --r-masthead-weight: 700;
  --r-enclosure-x: 26.04%;
  --r-enclosure-y: 26.86%;
  --r-enclosure-w: 66.67%;
  --r-enclosure-h: 49.8%;
  --r-information-band-x: 0%;
  --r-information-band-y: 60.64%;
  --r-information-band-w: 100%;
  --r-information-band-h: 39.36%;
  --r-intro-title-x: 5.21%;
  --r-intro-title-y: 76.07%;
  --r-intro-title-w: 59.9%;
  --r-intro-title-h: 5.66%;
  --r-intro-title-cap: 39px;
  --r-intro-title-font: 56px;
  --r-intro-body-x: 5.21%;
  --r-intro-body-y: 82.62%;
  --r-intro-body-w: 59.9%;
  --r-intro-body-h: 4.2%;
  --r-intro-body-cap: 21px;
  --r-intro-body-font: 31px;
  --r-github-action-x: 5.34%;
  --r-github-action-y: 88.77%;
  --r-github-action-w: 22.59%;
  --r-github-action-h: 7.13%;
  --r-presence-caption-x: 70.18%;
  --r-presence-caption-y: 80.96%;
  --r-presence-caption-w: 26.3%;
  --r-presence-caption-h: 4%;
  --r-presence-caption-cap: 19px;
  --r-presence-caption-font: 28px;
  --r-case-link-x: 70.18%;
  --r-case-link-y: 90.72%;
  --r-case-link-w: 26.69%;
  --r-case-link-h: 6.25%;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
}
body {
  overflow-x: clip;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
.opening {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  width: 100%;
  max-width: 1536px;
  aspect-ratio: 1536 / 1024;
  margin-inline: auto;
  background: var(--paper);
}
.hero-device {
  position: absolute;
  left: var(--r-enclosure-x);
  top: var(--r-enclosure-y);
  width: var(--r-enclosure-w);
  height: var(--r-enclosure-h);
  object-fit: contain;
  z-index: 2;
}
.hero-band {
  position: absolute;
  left: calc((100% - var(--page-width, 100vw)) / 2);
  top: var(--r-information-band-y);
  width: var(--page-width, 100vw);
  height: var(--r-information-band-h);
  background: linear-gradient(115deg, var(--band), var(--band-deep));
  clip-path: polygon(0 0, 100% 46%, 100% 100%, 0 100%);
  z-index: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
a,
button {
  -webkit-tap-highlight-color: var(--transparent);
}
a:focus-visible,
button:focus-visible,
canvas:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
  transition: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 0.24em;
}
a:active,
button:active {
  opacity: 0.76;
}
button:disabled,
[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}
[aria-busy="true"] {
  cursor: progress;
}
::selection {
  background: var(--blue);
  color: var(--white);
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
  scrollbar-color: var(--blue) var(--paper-blue);
}
body {
  caret-color: var(--blue);
}
svg {
  display: block;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
h1,
h2,
h3 {
  overflow-wrap: break-word;
  min-width: 0;
  text-wrap: balance;
  font-synthesis: none;
}
p {
  text-wrap: pretty;
}
.skip-link {
  position: absolute;
  left: 20px;
  top: -100px;
  z-index: 20;
  padding: 12px 16px;
  background: var(--white);
  color: var(--ink);
  white-space: nowrap;
}
.skip-link:focus-visible {
  top: 12px;
}
.hero-header {
  position: absolute;
  inset: 0 0 auto;
  height: var(--r-header-h);
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.52cqw;
  position: absolute;
  left: var(--r-wordmark-x);
  top: 24%;
  font-size: 2.48cqw;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  white-space: nowrap;
}
.brand img {
  width: 2.21cqw;
  height: 2.21cqw;
}
.hero-header nav a {
  position: static;
  font-size: 1.4cqw;
  font-weight: 500;
  line-height: 1.4;
  min-height: 32px;
  display: flex;
  align-items: center;
  color: var(--muted);
  white-space: nowrap;
}
.hero-title {
  position: absolute;
  left: var(--r-masthead-x);
  top: var(--r-masthead-y);
  width: var(--r-masthead-w);
  font-size: 11.328cqw;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
  z-index: 1;
}
.hero-title > span {
  color: var(--blue);
}
.hero-lead,
.hero-description,
.hero-action,
.presence-caption,
.case-jump {
  position: absolute;
  z-index: 3;
}
.hero-lead {
  left: var(--r-intro-title-x);
  top: var(--r-intro-title-y);
  width: var(--r-intro-title-w);
  font-size: 3.45cqw;
  line-height: 1.13;
  font-weight: 650;
  letter-spacing: -0.025em;
  color: var(--white);
}
.hero-description {
  left: var(--r-intro-body-x);
  top: var(--r-intro-body-y);
  width: var(--r-intro-body-w);
  font-size: 1.96cqw;
  line-height: 1.35;
  letter-spacing: -0.025em;
  color: var(--pale);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 52px;
  padding: 16px 26px;
  border: 0;
  border-radius: 14px;
  font-weight: 600;
  font-size: 17px;
  white-space: nowrap;
  transition:
    background-color 0.16s var(--ease),
    color 0.16s var(--ease);
}
.button:hover {
  text-decoration: none;
}
.button-light {
  background: var(--white);
  color: var(--blue);
}
.button-light:hover {
  background: var(--paper-blue);
}
.hero-action {
  left: var(--r-github-action-x);
  top: var(--r-github-action-y);
  width: var(--r-github-action-w);
  height: var(--r-github-action-h);
  min-height: 0;
  border-radius: 1cqw;
  padding: 0.8cqw 2.1cqw;
  font-size: 1.82cqw;
  line-height: 1.1;
}
.hero-action svg {
  width: 1.8cqw;
  height: 1.8cqw;
}
.presence-caption {
  left: var(--r-presence-caption-x);
  top: var(--r-presence-caption-y);
  width: var(--r-presence-caption-w);
  font-size: 1.82cqw;
  line-height: 1.4;
  letter-spacing: -0.035em;
  color: var(--pale);
  white-space: nowrap;
}
.presence-caption strong {
  font-weight: 600;
  color: var(--white);
}
.case-jump {
  left: var(--r-case-link-x);
  top: var(--r-case-link-y);
  width: var(--r-case-link-w);
  height: var(--r-case-link-h);
  display: flex;
  align-items: center;
  gap: 1.5cqw;
  font-size: 1.62cqw;
  line-height: 1.2;
  color: var(--white);
  white-space: nowrap;
}
.case-jump > svg:last-child {
  margin-left: auto;
  width: 1.8cqw;
  height: 1.8cqw;
}
.case-jump .document-icon {
  width: 2.4cqw;
  height: 2.4cqw;
}
.case-jump::before {
  content: "";
  position: absolute;
  bottom: 140%;
  left: 0;
  right: 0;
  border-top: 1px solid color-mix(in srgb, var(--white) 25%, var(--transparent));
}
.presence-caption::before {
  content: "";
  position: absolute;
  right: 113%;
  top: -40%;
  height: 6.4em;
  border-left: 1px solid
    color-mix(in srgb, var(--white) 25%, var(--transparent));
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
.hero-header nav {
  position: absolute;
  right: 5.2%;
  top: 30%;
  display: flex;
  gap: 2.8cqw;
}
.hero-header nav a {
  padding-inline: 0.4cqw;
}
.case-jump {
  gap: 1cqw;
  font-size: 1.43cqw;
  top: calc(var(--r-case-link-y) - 0.4cqw);
  padding-left: 0.3cqw;
}
.case-jump > svg:last-child {
  margin-left: 0;
  width: 1.56cqw;
  height: 1.56cqw;
}
.case-jump .document-icon {
  width: 2cqw;
  height: 2.4cqw;
}
.hero-action {
  justify-content: center;
  font-size: 1.48cqw;
  gap: 1.8cqw;
  padding: 1cqw 1.3cqw 1cqw 2.4cqw;
  left: calc(var(--r-github-action-x) + 0.13cqw);
  top: calc(var(--r-github-action-y) + 0.13cqw);
  width: calc(var(--r-github-action-w) - 0.26cqw);
  height: calc(var(--r-github-action-h) - 0.33cqw);
}
.hero-action svg {
  width: 1.56cqw;
  height: 1.56cqw;
}
.content-wrap {
  width: 100%;
  max-width: 1536px;
  padding-inline: 5.2%;
  margin-inline: auto;
}
.page-section {
  padding-block: var(--section);
}
.page-section h2 {
  font-size: clamp(32px, 3.9vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 650;
  max-width: 21ch;
}
.page-section h3 {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.use-layout,
.section-heading,
.source-layout,
.security-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--gap);
}
.use-layout {
  align-items: start;
}
.use-copy {
  max-width: 56ch;
  font-size: 20px;
  line-height: 1.7;
  color: var(--muted);
}
.use-copy p + p {
  margin-top: 24px;
}
.firmware-section {
  background: var(--paper-blue);
}
.section-heading {
  align-items: end;
  margin-bottom: 56px;
}
.section-heading > p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 46ch;
}
code {
  font-family: var(--font);
  font-size: 0.95em;
  white-space: nowrap;
}
.source-layout > div > p {
  font-size: 19px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 54ch;
}
.source-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 30px;
}
.button-blue {
  background: var(--blue);
  color: var(--white);
}
.button-blue:hover {
  background: var(--ink);
}
.plain-link {
  text-decoration: underline;
  text-underline-offset: 0.28em;
  font-weight: 500;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.security-note {
  padding-top: 40px;
  margin-top: 72px;
  border-top: 1px solid var(--line);
}
.security-note h3 {
  font-size: 20px;
}
.security-note p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 66ch;
}
.security-note a {
  font-size: 14px;
  margin-top: 12px;
}
.case-section {
  background: var(--paper-blue);
}
.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: var(--gap);
  align-items: start;
}

.file-list {
  border-top: 1px solid var(--line);
}
.file-list > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 23px;
  border-bottom: 1px solid var(--line);
}
.file-list > a:hover {
  text-decoration: none;
  color: var(--blue);
}
.file-list strong {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.file-list small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}
.file-download {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}
.case-actions {
  margin-top: 28px;
}
.download-meta {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}
.case-note {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 82ch;
  margin-top: 32px;
}
.case-note a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 128px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
footer > .plain-link {
  font-size: 14px;
}
@media (max-width: 1000px) {
  .use-layout,
  .source-layout,
  .security-note {
    gap: 32px;
  }
  .page-section h2 {
    font-size: 42px;
  }
  .use-copy {
    font-size: 18px;
  }
  .case-layout {
    gap: 32px;
  }
  .file-list strong {
    font-size: 20px;
  }
  .file-download {
    gap: 10px;
  }
  .button {
    font-size: 15px;
    padding: 15px 20px;
  }
  .case-actions .button {
    gap: 18px;
  }

  .source-actions {
    gap: 20px;
  }
}
@media (max-width: 760px) {
  .opening {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    padding-top: 92px;
    padding-bottom: 36px;
  }
  .hero-header {
    height: 72px;
  }
  .hero-header .brand {
    left: 20px;
    top: 19px;
    font-size: 24px;
    gap: 8px;
  }
  .brand img {
    width: 28px;
    height: 28px;
  }
  .hero-header nav {
    position: absolute;
    right: 20px;
    top: 20px;
    display: flex;
    align-items: center;
    gap: 22px;
  }
  .hero-header nav a {
    position: static;
    min-height: 32px;
    font-size: 13px;
    padding: 0;
  }
  .hero-header .nav-github {
    display: none;
  }
  .hero-title {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    max-width: 100%;
    margin-inline: 20px;
    font-size: 14cqw;
    line-height: 1.05;
    letter-spacing: -0.035em;
    white-space: nowrap;
  }
  .hero-device {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    margin-top: 18px;
    margin-bottom: 4px;
    z-index: 2;
  }
  .hero-band {
    top: 64cqw;
    bottom: 0;
    height: auto;
    clip-path: polygon(0 0, 100% 45px, 100% 100%, 0 100%);
  }
  .hero-lead,
  .hero-description,
  .hero-action,
  .presence-caption,
  .case-jump {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    margin-inline: 20px;
  }
  .hero-lead {
    font-size: 27px;
    line-height: 1.22;
    font-weight: 650;
    letter-spacing: -0.025em;
    margin-top: 18px;
    max-width: 26ch;
  }
  .hero-description {
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0;
    margin-top: 16px;
    max-width: 36ch;
  }
  .hero-action {
    align-self: start;
    justify-content: space-between;
    gap: 28px;
    font-size: 16px;
    min-height: 52px;
    min-width: 220px;
    padding: 14px 22px;
    border-radius: 12px;
    margin-top: 25px;
  }
  .hero-action svg {
    width: 22px;
    height: 22px;
  }
  .presence-caption {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.015em;
    margin-top: 32px;
    white-space: normal;
  }
  .presence-caption::before,
  .case-jump::before {
    display: none;
  }
  .case-jump {
    font-size: 15px;
    line-height: 1.4;
    gap: 15px;
    min-height: 44px;
    margin-top: 12px;
    align-self: start;
    padding: 0;
  }
  .case-jump .document-icon {
    width: 25px;
    height: 29px;
  }
  .case-jump > svg:last-child {
    width: 21px;
    height: 21px;
    margin-left: 7px;
  }
  .content-wrap {
    padding-inline: 22px;
  }
  .page-section {
    padding-block: 64px;
  }
  .use-layout,
  .section-heading,
  .source-layout,
  .security-note,
  .case-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .page-section h2 {
    font-size: 34px;
    line-height: 1.15;
    letter-spacing: -0.03em;
    max-width: 19ch;
  }
  .use-layout h2 br,
  .source-layout h2 br {
    display: none;
  }
  .use-copy {
    font-size: 17px;
    line-height: 1.8;
  }
  .use-copy p + p {
    margin-top: 18px;
  }
  .section-heading {
    margin-bottom: 35px;
  }
  .section-heading > p {
    font-size: 16px;
    line-height: 1.75;
  }
  .source-layout > div > p {
    font-size: 17px;
    line-height: 1.8;
  }
  .source-actions {
    gap: 23px;
    margin-top: 25px;
  }
  .button-blue {
    font-size: 15px;
    padding: 15px 20px;
    gap: 25px;
    border-radius: 12px;
  }
  .plain-link {
    font-size: 15px;
  }
  .security-note {
    gap: 18px;
    margin-top: 44px;
    padding-top: 30px;
  }
  .security-note h3 {
    font-size: 20px;
  }
  .security-note p {
    font-size: 14px;
    line-height: 1.9;
  }
  .case-layout {
    gap: 30px;
  }

  .file-list > a {
    padding-block: 21px;
  }
  .file-list strong {
    font-size: 22px;
  }
  .file-download {
    font-size: 14px;
    gap: 15px;
  }
  .case-actions {
    margin-top: 25px;
  }
  .case-note {
    font-size: 13px;
    margin-top: 25px;
  }
  footer {
    min-height: 104px;
  }
  .footer-brand {
    font-size: 19px;
    gap: 10px;
  }
}
@media (max-width: 370px) {
  .hero-header .brand {
    left: 16px;
    font-size: 22px;
  }
  .hero-header nav {
    right: 16px;
    gap: 16px;
  }
  .hero-title,
  .hero-lead,
  .hero-description,
  .hero-action,
  .presence-caption,
  .case-jump {
    margin-inline: 16px;
  }
  .hero-lead {
    font-size: 25px;
  }
  .hero-description {
    font-size: 15px;
  }
  .hero-band {
    top: 65cqw;
  }
  .content-wrap {
    padding-inline: 18px;
  }
  .page-section h2 {
    font-size: 31px;
  }

  .file-download {
    gap: 10px;
  }
  .case-actions .button {
    font-size: 14px;
    gap: 20px;
  }
  .footer-brand {
    font-size: 17px;
  }
}
:root {
  --focus: #2c6ae2;
  --viewer-surface: #e4e7eb;
  --viewer-rule: #bec6d1;
}
.hero-action:focus-visible,
.case-jump:focus-visible {
  outline-color: var(--white);
}

/* Product refinements: the object and technical drawings carry the detail. */
.hero-device canvas,
.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero-device canvas {
  opacity: 0;
  transition: opacity 0.25s ease;
}
.hero-device.ready canvas {
  opacity: 1;
}
.hero-device.ready .hero-fallback {
  visibility: hidden;
}
.hero-device {
  perspective: 1000px;
}
.hero-fallback {
  transition: transform 0.7s var(--ease);
}
.use-cases {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
}
.use-cases article {
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.use-cases h3 {
  font-size: 25px;
  margin-bottom: 20px;
  max-width: 16ch;
}
.use-cases p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 42ch;
}
.use-cases .detail {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 28px;
  color: var(--ink);
}

@media (min-width: 1537px) {
  .hero-band {
    clip-path: polygon(0 0, 100% 46%, 100% 100%, 0 100%);
  }
}
@media (max-width: 1000px) {
  .use-cases {
    gap: 28px;
  }
  .use-cases h3 {
    font-size: 23px;
  }
  .use-cases p {
    font-size: 16px;
  }
}
@media (max-width: 760px) {
  .hero-device {
    aspect-ratio: 2/1;
    height: auto;
  }
  .hero-band {
    left: 0;
    width: 100%;
  }
  .hero-header nav {
    top: 20px;
    right: 20px;
    gap: 16px;
  }
  .hero-header nav a {
    font-size: 12px;
  }
  .hero-header nav a:first-child {
    display: none;
  }
  .hero-action {
    min-width: 230px;
  }
  .use-cases {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .use-cases h3 {
    max-width: none;
    margin-bottom: 14px;
  }
  .use-cases p {
    max-width: 60ch;
  }
  .use-cases .detail {
    margin-top: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-device canvas,
  .hero-fallback {
    transition: none;
  }
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.hero-device {
  transition:
    translate 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    rotate 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: translate;
}
.hero-header nav {
  top: 22%;
  gap: 14px;
}
.hero-header nav a {
  min-height: 44px;
  padding: 8px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: clamp(15px, 1.4cqw, 21px);
  transition:
    background 0.15s,
    color 0.15s;
}
.hero-header nav a:hover {
  background: transparent;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.3em;
}
.file-list .switch-note {
  font-size: 12px;
  line-height: 1.5;
  max-width: 32ch;
  margin-top: 8px;
  white-space: normal;
}
.firmware-section .section-heading {
  grid-template-columns: 1fr;
}
@media (max-width: 760px) {
  .hero-header nav {
    top: 17px;
    gap: 22px;
  }
  .hero-header nav a {
    min-height: 40px;
    padding: 7px 0;
    font-size: 12px;
  }
  .hero-device {
    aspect-ratio: 2/1;
  }
  .hero-image {
    height: 100%;
  }
  .file-download {
    flex-shrink: 0;
  }
  .file-list .switch-note {
    max-width: 23ch;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-device {
    transition: none;
  }
}

.case-preview {
  display: grid;
  place-items: center;
  min-width: 0;
  aspect-ratio: 1.28;
  background: var(--viewer-surface);
  padding: 24px;
}
.case-preview img {
  width: 100%;
  height: auto;
}
.hero-image {
  animation: device-float 6s ease-in-out 1.5s infinite;
  transform-origin: 50% 60%;
}
@keyframes device-float {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-10px) rotate(-0.35deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-image {
    animation: none;
  }
}
