:root {
  color-scheme: dark;
  --background: #070b12;
  --surface: #101925;
  --surface-soft: #0c1420;
  --border: #29394d;
  --border-strong: #3d526c;
  --text: #f4f7fb;
  --muted: #a9b8c9;
  --accent: #6ee7d2;
  --accent-strong: #9cf4e5;
  --accent-ink: #06201c;
  --warning: #f3c969;
  --focus: #ffd56a;
  --corner-radius: 0.35rem;
  --header-height: 2.25rem;
  --home-spacing: 2rem;
  --section-spacing: clamp(4rem, 9vw, 7rem);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  min-width: 18rem;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% -8%, rgb(36 131 118 / 20%), transparent 35rem),
    var(--background);
  font-size: 1rem;
  line-height: 1.65;
}

.home-page {
  color-scheme: light;
  --background: #e1e1e1;
  --surface: #fcfcfc;
  --surface-soft: #f3f5f7;
  --border: #c8ddf1;
  --border-strong: #9aafc1;
  --text: #000f19;
  --muted: rgb(0 15 25 / 75%);
  --accent: #0091c8;
  --accent-strong: #0055a5;
  --accent-ink: #fcfcfc;
  --warning: #e16a00;
  --focus: #0091c8;
  background: #e1e1e1;
}

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

a {
  color: var(--accent-strong);
  text-underline-offset: 0.2em;
}

a:hover {
  color: #d5fff8;
}

a:focus-visible {
  outline: 0.18rem solid var(--focus);
  outline-offset: 0.2rem;
  border-radius: var(--corner-radius);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.55rem 0.8rem;
  color: var(--accent-ink);
  background: var(--focus);
  border-radius: var(--corner-radius);
  transform: translateY(-180%);
}

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

.shell,
.wide-shell {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}

.wide-shell {
  width: min(100% - 2.5rem, 92rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--header-height);
  background: rgb(7 11 18 / 88%);
  border-bottom: 1px solid rgb(255 255 255 / 9%);
  backdrop-filter: blur(1rem);
  transition: transform 240ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.topbar {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.025em;
  text-decoration: none;
  white-space: nowrap;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-left: auto;
}

.global-nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.global-nav a:hover,
.global-nav a[aria-current="page"] {
  color: var(--text);
}

.beta-notice-link::after {
  display: inline-block;
  width: 0.48rem;
  height: 0.48rem;
  margin-left: 0.28rem;
  background: #ff4d5f;
  clip-path: circle(50%);
  content: "";
  vertical-align: 0.08em;
}

main {
  min-width: 0;
}

.home-main {
  padding-block: var(--home-spacing);
}

.home-page .site-header {
  min-height: 44px;
  background: rgb(13 22 34 / 70%);
  border-bottom: 0;
  backdrop-filter: none;
}

.home-page .topbar {
  width: min(86.6667%, 1664px);
  min-height: 44px;
}

.home-page .brand {
  width: 84px;
  height: 28px;
  line-height: 0;
}

.home-page .brand img {
  width: 84px;
  height: 28px;
}

.home-page .global-nav {
  gap: 22px;
}

.home-page .global-nav a {
  color: #c8ddf1;
  font-family: sourcesanspro, "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.home-page .global-nav .beta-notice-link {
  color: #e16a00;
}

.home-page .beta-notice-link::after {
  display: none;
}

.home-page .home-main {
  padding-block: 0;
}

.penpot-hero {
  position: relative;
  width: 100%;
  max-width: 1920px;
  height: min(45.104167vw, 866px);
  min-height: 406px;
  margin-inline: auto;
  overflow: hidden;
  color: #c8ddf1;
  background: #e1e1e1;
}

.hero-banner {
  position: absolute;
  top: min(0.78125vw, 15px);
  left: 0;
  width: 100%;
  height: min(37.083333vw, 712px);
  overflow: hidden;
  background: #000f19;
}

.hero-motion {
  position: absolute;
  top: 0;
  left: min(0.833333vw, 16px);
  width: min(56.302083vw, 1081px);
  height: min(39.791667vw, 764px);
  object-fit: cover;
}

.hero-tint,
.hero-fade {
  position: absolute;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.hero-tint {
  top: 0;
  height: 100%;
  background: rgb(0 15 25 / 75%);
}

.hero-fade {
  top: 80.477528%;
  height: 19.522472%;
  background: linear-gradient(to bottom, transparent, #e1e1e1);
}

.hero-copy {
  position: absolute;
  top: 33.005618%;
  left: 6.666667%;
  z-index: 1;
  width: 40.885417%;
  display: flex;
  flex-direction: column;
}

.hero-copy h1 {
  max-width: none;
  margin: 0;
  color: #c8ddf1;
  font-family: "Exo 2", "Segoe UI", sans-serif;
  font-size: min(8.090311vw, 155.333974px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  white-space: nowrap;
}

.hero-copy p {
  margin: min(1.25vw, 24px) 0 0;
  color: #c8ddf1;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: min(1.354167vw, 26px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  white-space: nowrap;
}

.hero-banner .store-badge {
  position: absolute;
  top: 80.477528%;
  left: 6.666667%;
  z-index: 1;
  width: min(12vw, 230px);
  height: min(4.4vw, 84px);
  align-items: center;
  justify-content: flex-start;
}

.hero-banner .store-badge img {
  width: min(10.5vw, 202px);
  height: auto;
}

.hero-main-overview {
  position: absolute;
  top: min(4.635417vw, 89px);
  left: 51.822917%;
  z-index: 2;
  width: min(41.510417vw, 797px);
  max-width: none;
  aspect-ratio: 1038 / 734;
  height: auto;
  object-fit: contain;
  transform: scale(1);
  transform-origin: center;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-main-overview:hover {
  transform: scale(1.035);
}

.hero-description {
  position: absolute;
  top: min(37.864583vw, 727px);
  left: 6.666667%;
  width: 86.666667%;
  height: min(7.239583vw, 139px);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000f19;
  font-family: Exo, "Segoe UI", sans-serif;
  font-size: min(1.25vw, 24px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
}

.preferences-showcase {
  position: relative;
  width: 100%;
  max-width: 1920px;
  height: min(46.875vw, 900px);
  min-height: 422px;
  margin-block-start: clamp(3rem, 5vw, 6rem);
  margin-inline: auto;
  overflow: hidden;
  color: #000f19;
  background: #e1e1e1;
}

.preferences-heading {
  position: absolute;
  z-index: 4;
  margin: 0;
  color: #000f19;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: min(2.250989vw, 43.218982px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.preferences-heading-top {
  top: min(3.958333vw, 76px);
  left: 60.353055%;
  width: 23.396945%;
}

.preferences-heading-bottom {
  top: min(31.197917vw, 599px);
  left: 16.197917%;
  width: 24.0625%;
}

.preference-card {
  --preference-scale: 1;
  --preference-caption-left: 0;
  --preference-caption-offset: 0%;
  --preference-caption-width: 100%;
  position: absolute;
  margin: 0;
  line-height: 0;
  transition: filter 180ms ease;
}

.preference-card:hover,
.preference-card:focus,
.preference-card:focus-within {
  z-index: 20;
}

.preference-card:focus-visible {
  outline: 0.18rem solid var(--focus);
  outline-offset: 0.2rem;
}

.preference-card img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  object-fit: cover;
  transform: scale(var(--preference-scale));
  transform-origin: center;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (min-width: 56.01rem) {
  .preference-card:hover,
  .preference-card:focus,
  .preference-card:focus-within {
    --preference-scale: 1.2;
    --preference-caption-left: -10%;
    --preference-caption-offset: 10%;
    --preference-caption-width: 120%;
  }
}

.preference-card figcaption {
  position: absolute;
  top: calc(100% + var(--preference-caption-offset));
  left: var(--preference-caption-left);
  z-index: 1;
  width: var(--preference-caption-width);
  max-height: 0;
  padding: 0 min(0.833333vw, 16px);
  overflow: hidden;
  color: #000;
  background: rgb(252 252 252 / 78%);
  border-end-start-radius: 5.4px;
  border-end-end-radius: 5.4px;
  opacity: 0;
  transform: translateY(-14px);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: min(0.844121vw, 16.207118px);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-transform: lowercase;
  transition:
    max-height 220ms ease,
    padding 220ms ease,
    opacity 160ms ease,
    transform 220ms ease,
    top 360ms cubic-bezier(0.22, 1, 0.36, 1),
    left 360ms cubic-bezier(0.22, 1, 0.36, 1),
    width 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.preference-card:hover figcaption,
.preference-card:focus figcaption,
.preference-card:focus-within figcaption {
  max-height: min(3.586307vw, 68.85709px);
  min-height: min(3.586307vw, 68.85709px);
  padding-top: min(0.416667vw, 8px);
  padding-bottom: min(0.416667vw, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transform: translateY(0);
}

.preference-card-full-ui {
  top: min(3.958333vw, 76px);
  left: 16.197917%;
  z-index: 3;
  width: 42.818169%;
}

.preference-card-full-ui img {
  aspect-ratio: 822.108854 / 441.495459;
}

.preference-card-default {
  top: min(13.1vw, 251.52px);
  left: 40.263542%;
  z-index: 2;
  width: 32.474257%;
}

.preference-card-default img {
  aspect-ratio: 623.505729 / 440.820389;
}

.preference-card-full-window {
  top: min(22.171354vw, 425.69px);
  left: 55.919792%;
  z-index: 1;
  width: 27.830051%;
}

.preference-card-full-window img {
  aspect-ratio: 534.336979 / 379.389064;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 0.7rem;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 19ch;
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 4vw, 3.25rem);
}

h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.08rem;
}

p,
ul,
ol {
  margin-top: 0;
}

.lede {
  max-width: 48rem;
  color: var(--muted);
  font-size: clamp(1.06rem, 2.3vw, 1.24rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.store-badge {
  display: inline-flex;
  line-height: 0;
  transition: filter 160ms ease;
}

.store-badge img {
  width: 13rem;
  height: auto;
}

.store-badge:hover {
  filter: brightness(1.12);
}

.store-badge:focus-visible {
  outline: 0.18rem solid var(--focus);
  outline-offset: 0.2rem;
  border-radius: var(--corner-radius);
}

.action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.7rem 1rem;
  border-radius: var(--corner-radius);
  font-weight: 800;
  text-decoration: none;
}

.action {
  color: var(--accent-ink);
  background: var(--accent);
}

.action:hover {
  color: var(--accent-ink);
  background: var(--accent-strong);
}

.secondary-action {
  color: var(--text);
  background: rgb(255 255 255 / 2%);
  border: 1px solid var(--border-strong);
}

.section-block {
  padding-top: var(--section-spacing);
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 1.6rem;
}

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

.feature-grid,
.requirements-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-grid {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-card {
  min-height: 100%;
}

.feature-card h3 {
  max-width: 28ch;
}

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

.card.feature-card-more {
  background: linear-gradient(145deg, rgb(20 42 52 / 96%), rgb(12 20 32 / 95%));
  border-color: rgb(110 231 210 / 35%);
}

.card,
.requirement-card {
  padding: clamp(1.1rem, 2.4vw, 1.5rem);
  background: rgb(16 25 37 / 92%);
  border: 1px solid var(--border);
  border-radius: var(--corner-radius);
}

.card p:last-child,
.requirement-card p:last-child {
  margin-bottom: 0;
}

.screenshot-frame {
  overflow: hidden;
  margin: 0;
  background: var(--surface-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--corner-radius);
  box-shadow: 0 1.25rem 4rem rgb(0 0 0 / 28%);
}

.screenshot-frame img {
  width: 100%;
  aspect-ratio: 1038 / 734;
  object-fit: cover;
}

.screenshot-frame figcaption {
  padding: 0.75rem 0.9rem;
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

.inspection-carousel {
  position: relative;
  width: 100%;
  margin-inline: auto;
}

.carousel-viewport {
  overflow: hidden;
  padding-block: 0.5rem 1.25rem;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: clamp(16rem, calc(42.5vw + 4rem), 43rem);
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 20%;
  width: 60%;
  overflow: hidden;
  margin: 0;
  background: var(--surface-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--corner-radius);
  box-shadow: 0 1rem 3rem rgb(0 0 0 / 24%);
  transform-origin: left center;
  opacity: 0;
  transform: scale(0.5);
  transition:
    left 600ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 420ms ease,
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: left, opacity, transform;
}

.carousel-slide.is-previous {
  left: 0;
  opacity: 0.72;
}

.carousel-slide.is-selected {
  left: 20%;
  z-index: 2;
  opacity: 1;
  transform: scale(1);
}

/* Accessibility helper */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

#formats .section-heading {
  margin-bottom: 1.5rem;
}

#formats {
  padding-top: calc(var(--section-spacing) / 1.4);
}

.formats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.format-card {
  --format-color: #a5a5a5;
  position: relative;
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 6.5rem;
  padding: 0.85rem 1rem 0.85rem 1.2rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 20%, rgb(255 255 255 / 5%), transparent 8rem),
    linear-gradient(145deg, rgb(16 25 37 / 98%), rgb(12 20 32 / 95%));
  border: 1px solid var(--border);
  border-radius: var(--corner-radius);
  box-shadow: 0 0.8rem 2rem rgb(0 0 0 / 14%);
}

.format-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.2rem;
  background: var(--format-color);
  content: "";
}

.format-card img {
  width: 4.25rem;
  height: 4.25rem;
}

.format-card strong {
  min-width: 0;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.2;
}

.format-extensions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.format-card code {
  padding: 0.28rem 0.48rem;
  color: var(--text);
  background: rgb(7 11 18 / 72%);
  border-color: var(--format-color);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.format-gltf { --format-color: #87c540; }
.format-vrm { --format-color: #00a6c7; }
.format-obj { --format-color: #a5a5a5; }
.format-ply { --format-color: #8c3d5a; }
.format-stl { --format-color: #e05a33; }
.format-3mf { --format-color: #155b8e; }
.format-dae { --format-color: #f1a42b; }
.format-fbx { --format-color: #0077ff; }
.format-pmx { --format-color: #39c5a2; }
.format-abc { --format-color: #c8c8c8; }
.format-usd { --format-color: #4aa6d8; grid-column: span 2; }
.format-step { --format-color: #315c9b; }
.format-iges { --format-color: #159a8c; }
.format-brep { --format-color: #8066cc; }

.carousel-slide.is-next {
  left: 70%;
  opacity: 0.72;
}

.carousel-slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.carousel-slide figcaption {
  padding: 0.75rem 0.9rem;
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid var(--border);
  font-size: 0.84rem;
}

.carousel-image-link {
  display: block;
  color: inherit;
  line-height: 0;
}

.carousel-image-link:focus-visible {
  outline: 0.18rem solid var(--focus);
  outline-offset: -0.35rem;
}

.inspection-carousel.is-dragging .carousel-viewport {
  cursor: grabbing;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 1.5rem;
  margin-top: 0.35rem;
}

.carousel-indicators {
  display: flex;
  gap: 0.1rem;
}

.carousel-indicators button {
  display: grid;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  place-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.carousel-indicators button::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  background: var(--border-strong);
  border-radius: var(--corner-radius);
  transition: width 300ms ease, background-color 300ms ease;
}

.carousel-indicators button:focus-visible {
  outline: 0.18rem solid var(--focus);
  outline-offset: 0;
}

.carousel-indicators button[aria-current="true"]::before {
  width: 1.35rem;
  background: var(--accent);
}

.image-lightbox {
  width: fit-content;
  max-width: min(92vw, calc(100vw - 7rem));
  max-height: 92vh;
  overflow: visible;
  padding: 0;
  color: var(--text);
  background: transparent;
  border: 0;
}

.image-lightbox::backdrop {
  background: rgb(2 5 10 / 84%);
  backdrop-filter: blur(0.35rem);
}

.image-lightbox button {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  place-items: center;
  color: var(--text);
  background: rgb(7 11 18 / 88%);
  border: 1px solid var(--border-strong);
  border-radius: var(--corner-radius);
  font: inherit;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}

.image-lightbox button:hover {
  color: var(--accent-strong);
  border-color: var(--accent);
}

.image-lightbox button:focus-visible {
  outline: 0.18rem solid var(--focus);
  outline-offset: 0.2rem;
}

.lightbox-navigation {
  position: absolute;
  top: calc(50% - 1.25rem);
  z-index: 1;
}

.lightbox-close {
  position: absolute;
  top: -3.25rem;
  right: 0;
  z-index: 2;
}

.lightbox-navigation span {
  transform: translateY(-0.08em);
}

.lightbox-previous {
  left: -3.25rem;
}

.lightbox-next {
  right: -3.25rem;
}

.image-lightbox figure {
  margin: 0;
}

.image-lightbox img {
  width: auto;
  max-width: min(92vw, calc(100vw - 7rem));
  max-height: 78vh;
  object-fit: contain;
}

.image-lightbox figcaption {
  padding-top: 0.75rem;
  color: var(--muted);
  text-align: center;
}

.format-table {
  max-width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

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

th {
  color: var(--accent-strong);
  font-size: 0.9rem;
}

tbody tr:hover {
  background: rgb(255 255 255 / 2%);
}

code {
  padding: 0.12em 0.32em;
  overflow-wrap: anywhere;
  color: #d9fff8;
  background: #071d19;
  border: 1px solid #19483f;
  border-radius: var(--corner-radius);
}

.callout {
  margin-top: 1.25rem;
  padding: 1rem;
  background: rgb(243 201 105 / 9%);
  border-left: 0.25rem solid var(--warning);
}

.alpha-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(1.3rem, 4vw, 2.2rem);
  background: linear-gradient(130deg, rgb(110 231 210 / 12%), rgb(22 34 50 / 90%));
  border: 1px solid rgb(110 231 210 / 35%);
  border-radius: var(--corner-radius);
}

.alpha-callout p:last-child {
  margin-bottom: 0;
}

.release-status {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  margin-top: clamp(2rem, 5vw, 4rem);
  padding-block: 1.1rem;
  color: var(--muted);
  background: #080d15;
  border-top: 1px solid rgb(255 255 255 / 9%);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(0 15 25 / 12%);
}

.footer-meta nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.footer-meta nav a {
  color: var(--muted);
  text-decoration: none;
}

.footer-meta nav a:hover {
  color: var(--text);
}

.footer-note {
  margin: 0;
  text-align: right;
  white-space: nowrap;
}

.model-credits {
  min-width: 0;
  font-size: 0.8rem;
}

.model-credits-title {
  margin: 0;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.4;
}

.model-credit-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 0.6rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.model-credit-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: none;
  min-width: 0;
  padding: 0.65rem 0.7rem;
  background: rgb(255 255 255 / 4%);
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: var(--corner-radius);
  overflow-wrap: anywhere;
}

.model-credit-copy {
  min-width: 0;
}

.model-credit-name {
  color: var(--text);
  font-weight: 700;
}

.model-credit-author {
  display: block;
  margin-top: 0.1rem;
  color: var(--muted);
}

.model-license-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem;
}

.model-license {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 1.55rem;
  padding: 0.12rem 0.42rem;
  color: var(--accent-strong);
  background: rgb(0 145 200 / 9%);
  border: 1px solid rgb(0 145 200 / 24%);
  border-radius: var(--corner-radius);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.model-credit-list a:hover {
  color: var(--text);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 2.5rem;
}

.guide-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  color: var(--text);
  background: linear-gradient(145deg, var(--surface), var(--surface-soft));
  border: 1px solid var(--border);
  border-radius: var(--corner-radius);
  text-decoration: none;
}

.guide-card:hover {
  color: var(--text);
  border-color: var(--accent);
}

.guide-card span {
  color: var(--muted);
}

.home-page .card,
.home-page .requirement-card,
.home-page .carousel-slide,
.home-page .guide-card {
  background: #fcfcfc;
  box-shadow: 0 0.8rem 2rem rgb(0 15 25 / 8%);
}

.home-page .card.feature-card-more {
  background: #c8ddf1;
  border-color: #9aafc1;
}

.home-page .carousel-viewport {
  color: #000f19;
  background: transparent;
}

.home-page .format-card {
  background:
    radial-gradient(circle at 14% 20%, color-mix(in srgb, var(--format-color) 18%, transparent), transparent 8rem),
    linear-gradient(145deg, #fcfcfc, #f3f5f7);
  box-shadow: 0 0.8rem 2rem rgb(0 15 25 / 8%);
}

.home-page .format-card code,
.home-page code {
  color: #000f19;
  background: #f3f5f7;
  border-color: #9aafc1;
}

.home-page .secondary-action {
  background: #fcfcfc;
}

.home-page .callout {
  background: rgb(225 106 0 / 9%);
}

.home-page .alpha-callout {
  background: linear-gradient(130deg, rgb(0 145 200 / 12%), #fcfcfc);
  border-color: #9aafc1;
}

.home-page .site-footer {
  color: rgb(0 15 25 / 75%);
  background: #d5dce2;
  border-top-color: #c8ddf1;
}

.home-page .model-credit-list li {
  background: rgb(252 252 252 / 55%);
  border-color: #c8ddf1;
}

@media (max-width: 56rem) {
  .preferences-showcase {
    height: auto;
    min-height: 0;
    padding: 3rem 1rem 5rem;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .preferences-heading,
  .preference-card {
    position: relative;
    top: auto;
    left: auto;
    width: min(100%, 52rem);
    margin-inline: auto;
  }

  .preferences-heading {
    font-size: clamp(2rem, 7vw, 2.7rem);
  }

  .preferences-heading-top,
  .preferences-heading-bottom {
    width: min(100%, 52rem);
  }

  .preference-card figcaption {
    padding-inline: 1rem;
    font-size: 0.92rem;
  }

  .preference-card:hover figcaption,
  .preference-card:focus figcaption,
  .preference-card:focus-within figcaption {
    max-height: 5.5rem;
    min-height: 4.3rem;
    padding-block: 0.5rem;
  }

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

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

  .global-nav {
    gap: 0.8rem;
  }

  .global-nav a {
    font-size: 0.86rem;
  }

}

@media (max-width: 40rem) {
  .shell,
  .wide-shell {
    width: min(100% - 1.25rem, 72rem);
  }

  .global-nav {
    width: auto;
    margin-left: auto;
  }

  .global-nav a {
    white-space: nowrap;
  }

  .home-page .topbar {
    width: calc(100% - 1.25rem);
    gap: 0.75rem;
  }

  .home-page .brand,
  .home-page .brand img {
    width: 72px;
    height: auto;
  }

  .home-page .global-nav {
    gap: 6px;
  }

  .home-page .global-nav a {
    font-size: clamp(11px, 3.2vw, 14px);
  }

  .home-page .global-nav a[href="/privacy/"] {
    display: none;
  }

  .penpot-hero {
    height: calc(clamp(560px, 112.5vw, 720px) + 192px);
    min-height: 0;
  }

  .hero-banner {
    top: 12px;
    height: clamp(560px, 112.5vw, 720px);
  }

  .hero-motion {
    left: 0;
    width: 100%;
    height: 100%;
  }

  .hero-fade {
    top: 82%;
    height: 18%;
  }

  .hero-copy {
    top: 48px;
    left: 20px;
    width: calc(100% - 40px);
  }

  .hero-copy h1 {
    font-size: clamp(54px, 17vw, 76px);
  }

  .hero-copy p {
    max-width: 31rem;
    margin-top: 12px;
    font-size: clamp(16px, 4.5vw, 20px);
    white-space: normal;
  }

  .hero-banner .store-badge {
    top: 190px;
    left: 20px;
    width: 178px;
    height: 65px;
  }

  .hero-banner .store-badge img {
    width: 161px;
  }

  .hero-main-overview {
    top: 265px;
    left: 5%;
    width: 90%;
  }

  .hero-description {
    top: calc(12px + clamp(560px, 112.5vw, 720px));
    left: 20px;
    width: calc(100% - 40px);
    height: 180px;
    font-size: 16px;
    line-height: 1.4;
  }

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

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

  .format-usd {
    grid-column: auto;
  }

  .format-card {
    grid-template-columns: 3.75rem minmax(0, 1fr) auto;
    gap: 0.75rem;
    min-height: 5.5rem;
    padding: 0.7rem 0.75rem 0.7rem 0.95rem;
  }

  .format-card img {
    width: 3.75rem;
    height: 3.75rem;
  }

  .format-card code {
    font-size: 0.74rem;
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-note {
    text-align: left;
    white-space: normal;
  }

  .alpha-callout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
  }

  th,
  td {
    padding: 0.55rem;
  }
}

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

  .carousel-slide {
    transition: none;
  }

  .carousel-indicators button::before {
    transition: none;
  }

  .site-header {
    transition: none;
  }

  .preference-card,
  .preference-card figcaption,
  .preference-card img,
  .hero-main-overview {
    transition: none;
  }
}
