/* STL from 3MF — paper-white / ink / violet theme.
   Carried over from the previous site (3mf-to-stl-converter/src/styles/mesh.css).
   There the hero's h1 was the only h1 on the site; its rules are scoped to
   .hero here so that inner pages and the 404 page can use normal headings.
   Icons: Lucide v0.511 (ISC License, https://lucide.dev). */

/* Inter Variable, self-hosted: the same font files the previous site served. */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/_a/inter-latin-wght-normal.3100e775e8.woff2) format('woff2-variations');
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/_a/inter-latin-ext-wght-normal.34b9c504ca.woff2) format('woff2-variations');
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  font-family: 'Inter Variable', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: #25252a;
  background: #f7f7f2;
  font-synthesis: none;
  --ink: #25252a;
  --muted: #666570;
  --paper: #f7f7f2;
  --line: #dcdcd7;
  --accent: #6650db;
  --accent-dark: #5140b8;
  --lilac: #eeebf7;
  --preview-shape: #e2ddf3;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
button,
a,
summary,
input {
  outline-offset: 5px;
}
:focus-visible {
  outline: 2px solid var(--accent);
}
::selection {
  background: #dbd4f7;
  color: #25252a;
}
svg {
  flex-shrink: 0;
}
.wrap {
  width: min(1280px, calc(100% - 112px));
  margin: 0 auto;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.site-header {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.7px;
  white-space: nowrap;
}
.brand-mark {
  width: 28px;
  height: 30px;
  display: block;
  background: var(--ink);
  clip-path: polygon(
    50% 0,
    100% 25%,
    100% 75%,
    50% 100%,
    0 75%,
    0 25%,
    50% 50%,
    77% 36%,
    50% 22%,
    23% 36%,
    0 25%
  );
}
.brand-note {
  font-size: 11px;
  color: var(--muted);
  margin-right: auto;
  max-width: 150px;
  line-height: 1.5;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 12px;
  font-weight: 500;
}
.site-header nav a {
  padding: 10px 0;
  transition: color 0.2s;
}
.site-header nav a:hover {
  color: var(--accent);
}

.mobile-nav-label {
  display: none;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 690px;
  padding-top: 65px;
  padding-bottom: 74px;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 28px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 400;
}
.eyebrow > span {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.hero h1 {
  font-size: clamp(88px, 11vw, 157px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.09em;
  margin: 0 0 30px -7px;
}
.hero h1 > span {
  display: flex;
  align-items: center;
}
.format-from {
  color: var(--ink);
}
.hero-to {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1;
  margin: 23px 0 0 28px;
  color: var(--muted);
}
.format-to {
  margin-top: 8px;
  color: var(--accent);
}
.hero-converter {
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.045em;
  margin: 20px 0 0 7px;
}
.hero-arrow {
  margin: 18px 0 0 25px;
  display: flex;
}
.hero-arrow svg {
  width: 99px;
  height: 99px;
}
.hero-description {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 410px;
  margin: 0 0 26px;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.primary-button,
.outline-button {
  min-height: 49px;
  padding: 14px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  border: 1px solid transparent;
  transition:
    background 0.18s,
    transform 0.18s,
    box-shadow 0.18s;
}
.primary-button {
  color: white;
  background: var(--accent);
}
.primary-button:not(:disabled):hover {
  background: var(--accent-dark);
  box-shadow: 0 5px 16px #6650db22;
  transform: translateY(-2px);
}
.hero-cta {
  background: var(--ink);
  padding-inline: 24px;
}
.hero-cta:hover {
  background: #3c3c42 !important;
}
.hero-local {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 10px;
}
.hero-art {
  height: 520px;
  position: relative;
  min-width: 0;
  align-self: center;
}
.format-sculpture {
  z-index: 1;
  cursor: grab;
}
.format-sculpture:active {
  cursor: grabbing;
}
.art-orbit {
  position: absolute;
  width: 89%;
  height: 89%;
  left: 5.5%;
  top: 3%;
  border-radius: 50%;
  border: 1px solid #e1e0e8;
}
.art-orbit::before {
  content: '';
  width: 7px;
  height: 7px;
  position: absolute;
  background: var(--accent);
  border-radius: 50%;
  top: 14%;
  left: 14%;
}
.art-orbit::after {
  content: '';
  position: absolute;
  inset: 12%;
  border: 1px dashed #e1e0e8;
  border-radius: 50%;
}
.art-label {
  position: absolute;
  z-index: 2;
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.6px;
  pointer-events: none;
}
.art-label span:first-child {
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 20px;
  padding: 7px 10px;
}
.art-label span:last-child {
  color: var(--muted);
}
.art-label-top {
  top: 6px;
  left: 10%;
}
.art-label-bottom {
  right: 0;
  bottom: 59px;
}
.art-hint {
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  text-align: center;
  color: var(--muted);
  font-size: 10px;
}
.converter-section {
  padding: 0 0 94px;
}
.converter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 24px;
}
.converter-heading h2 {
  font-size: 28px;
  letter-spacing: -1.3px;
  font-weight: 550;
  margin: 0;
}
.converter-heading h2 span {
  color: var(--accent);
}
.section-index {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
}
.workbench {
  overflow: hidden;
  border: 1px solid #d8d4e2;
  border-radius: 18px;
  background: white;
  box-shadow: 0 22px 65px -40px #49405b4d;
}
.workbench-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 43px;
  padding: 0 26px;
  border-bottom: 1px solid #e5e2eb;
  font: 9px var(--mono);
  letter-spacing: 1px;
  background: #fdfdfb;
}
.workbench-strip > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.workbench-body {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}
.workbench-input {
  padding: 27px;
  min-width: 0;
}
.drop-zone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 34px 28px 25px;
  min-height: 357px;
  border: 1px dashed #cac4db;
  border-radius: 11px;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.drop-zone.is-dragging {
  background: var(--lilac);
  border-color: var(--accent);
}
.drop-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 64px;
  background: var(--lilac);
  color: var(--accent);
  border: 1px solid #ded7ef;
  border-radius: 10px;
  margin-bottom: 21px;
  transform: rotate(-8deg);
  box-shadow: 6px 5px 0 #f5f3fa;
}
.drop-icon svg {
  transform: rotate(8deg);
}
.drop-zone h2 {
  font-size: 21px;
  font-weight: 550;
  letter-spacing: -0.7px;
  margin: 0 0 10px;
}
.drop-zone > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  margin: 0 0 22px;
  max-width: 280px;
}
.drop-zone .primary-button {
  width: min(100%, 260px);
}
.file-limit {
  display: block;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.7;
  max-width: 282px;
  margin: 13px 0 17px;
}
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: transparent;
  border: 0;
  color: var(--ink);
  font-size: 11px;
  padding: 5px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.text-button:hover {
  color: var(--accent);
}
.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 21px;
  padding: 0 2px;
}
.privacy-note > span {
  color: var(--muted);
  margin-top: 2px;
}
.privacy-note strong {
  font-size: 10px;
  font-weight: 600;
}
.privacy-note p {
  font-size: 10px;
  line-height: 1.7;
  margin: 4px 0 0;
  color: var(--muted);
  max-width: 300px;
}
.workbench-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--lilac);
  border-left: 1px solid #e5e2eb;
  padding: 24px 28px 23px;
}
.preview-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 10px;
}
.preview-top > span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}
.preview-top > span:first-child::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.preview-indicator {
  font: 9px var(--mono);
  color: var(--muted);
}
.model-viewport {
  position: relative;
  width: 100%;
  min-height: 305px;
  flex: 1;
  color: #9b90c8;
}
.model-viewport canvas {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  min-height: 305px;
  border-radius: 7px;
}
.empty-mesh {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  padding: 10px 30px;
}
.preview-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 0 4px;
  min-height: 57px;
  text-align: center;
}
.preview-caption strong {
  font-size: 12px;
  font-weight: 500;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.preview-caption > span {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.6;
}
.viewport-reset {
  position: absolute;
  bottom: 8px;
  right: 0;
  background: #fff9;
  border: 1px solid #d0c9e2;
  font-size: 10px;
  border-radius: 5px;
  color: var(--ink);
  padding: 7px 10px;
}
.viewport-reset:hover {
  background: white;
}
.viewport-unavailable {
  color: var(--ink);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  padding: 30px;
  line-height: 1.7;
  background: var(--lilac);
}
.status-message,
.error-message {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border-radius: 7px;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 12px;
}
.status-message {
  color: var(--accent-dark);
  background: var(--lilac);
}
.status-message button {
  background: none;
  border: none;
  text-decoration: underline;
  color: inherit;
  margin-left: auto;
  font-size: 11px;
  padding: 5px;
}
.error-message {
  color: #9a2832;
  background: #fff0f0;
  border: 1px solid #f2c5c8;
  align-items: flex-start;
}
.error-message button {
  background: none;
  border: none;
  padding: 3px;
  color: inherit;
}
.spinner {
  width: 13px;
  height: 13px;
  border: 2px solid #c9bfed;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.result-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  border-top: 1px solid #e5e2eb;
}
.measure-block {
  padding: 26px;
  border-right: 1px solid #e5e2eb;
}
.result-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  font-weight: 600;
}
.result-label > span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
}
.measure-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 25px;
}
.measure-values > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}
.measure-values span {
  width: 100%;
  color: var(--accent);
  font: 10px var(--mono);
  margin-bottom: 4px;
}
.measure-values strong {
  color: var(--ink);
  font-size: clamp(17px, 2.5vw, 32px);
  letter-spacing: -1.2px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.measure-values small {
  color: var(--muted);
  font-size: 9px;
}
.part-block {
  padding: 26px 28px;
  min-width: 0;
}
.parts-header {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.parts-header .result-label {
  flex-wrap: wrap;
  gap: 5px;
}
.parts-header > div {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.parts-header button {
  background: none;
  color: var(--muted);
  padding: 0;
  border: 0;
  font-size: 9px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.part-list {
  max-height: 190px;
  overflow: auto;
}
.part-list label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 8px 0;
  border-bottom: 1px solid #f1eff5;
  cursor: pointer;
  font-size: 11px;
}
.part-list input {
  accent-color: var(--accent);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.part-list label > span {
  overflow-wrap: anywhere;
  min-width: 0;
}
.part-list label > svg {
  color: var(--muted);
}
.part-list small {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}
.export-block {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 26px;
  background: #fbfafc;
  border-top: 1px solid #e5e2eb;
}
.outline-button {
  border: 1px solid #d4cede;
  color: var(--ink);
  background: transparent;
}
.outline-button:not(:disabled):hover {
  background: var(--lilac);
}
.selection-hint {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.conversion-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 23px 0 0;
}
.notice-icon {
  color: var(--muted);
  padding-top: 2px;
}
.conversion-notice strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
}
.conversion-notice p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin: 5px 0;
}
.conversion-notice small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
}
.steps-section {
  padding: 82px 0 85px;
  background: #eeeee8;
  border-top: 1px solid #e0e0d9;
}
.section-heading {
  display: flex;
  align-items: baseline;
  gap: 85px;
}
.section-heading .eyebrow {
  white-space: nowrap;
}
.section-heading h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -2.5px;
  margin: 0;
}
.steps-rail {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 56px 0 0;
  padding: 0;
  gap: 56px;
}
.steps-rail li {
  min-width: 0;
}
.step-visual {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #cccac5;
  color: var(--accent);
}
.step-visual > span {
  font: 11px var(--mono);
}
.step-visual > svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.2;
}
.steps-rail h3 {
  font-size: 28px;
  letter-spacing: -1.2px;
  font-weight: 500;
  margin: 23px 0 13px;
}
.steps-rail p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  max-width: 290px;
  margin: 0;
}
.faq-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 95px;
  padding-block: 110px 115px;
}
.notes-label {
  font: 10px var(--mono);
  letter-spacing: 1px;
  color: var(--muted);
}
.faq-heading h2 {
  font-size: clamp(30px, 3.3vw, 44px);
  letter-spacing: -1.8px;
  line-height: 1.15;
  font-weight: 500;
  margin: 22px 0 0;
  max-width: 340px;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  list-style: none;
  padding: 24px 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.note-no {
  color: var(--muted);
  font: 9px var(--mono);
}
.faq-list summary svg {
  margin-left: auto;
  transition: transform 0.2s;
}
.faq-list details[open] summary svg {
  transform: rotate(45deg);
}
.faq-list details[open] summary {
  color: var(--accent-dark);
}
.faq-list details p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  margin: -4px 0 23px 32px;
  padding-right: 30px;
}
.faq-list details a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.site-footer {
  color: var(--paper);
  background: #28272f;
  padding: 54px 0 24px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-top strong {
  font-size: 26px;
  line-height: 1.4;
  letter-spacing: -0.8px;
  font-weight: 450;
}
.footer-top p {
  color: #bebcc8;
  font-size: 11px;
  margin: 9px 0 0;
}
.footer-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  color: #28272f;
  background: #c8bcff;
  border-radius: 50%;
  transition: transform 0.2s;
}
.footer-action:hover {
  transform: rotate(45deg);
}
.footer-wordmark {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: clamp(60px, 16.5vw, 240px);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
  padding: 51px 0 55px;
}
.footer-wordmark > span {
  color: #c8bcff;
  font-weight: 300;
  font-size: 0.85em;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 23px;
  border-top: 1px solid #4e4c57;
  font-size: 10px;
  color: #bebcc8;
}
.footer-bottom a {
  color: white;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1600px) {
  .hero {
    min-height: 750px;
  }
  .hero-art {
    height: 580px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 72px);
  }
  .brand-note {
    display: none;
  }
  .hero {
    min-height: 630px;
    padding-block: 56px;
  }
  .hero h1 {
    font-size: 125px;
  }
  .hero-art {
    height: 440px;
  }
  .hero-arrow svg {
    width: 75px;
    height: 75px;
  }
  .hero-local {
    width: 100%;
  }
  .hero-actions {
    gap: 15px;
  }
  .hero-description {
    max-width: 305px;
  }
  .drop-zone {
    padding-inline: 20px;
  }
  .workbench-input {
    padding: 20px;
  }
  .workbench-preview {
    padding-inline: 20px;
  }
  .art-label-top {
    left: 1%;
  }
  .art-label-bottom {
    right: 1%;
  }
  .art-label span:last-child {
    display: none;
  }
  .faq-section {
    gap: 50px;
  }
  .steps-rail {
    gap: 35px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 78px;
    gap: 16px;
  }
  .brand {
    font-size: 14px;
    gap: 8px;
  }
  .brand-mark {
    width: 23px;
    height: 25px;
  }
  .site-header nav {
    gap: 17px;
    font-size: 11px;
  }
  .site-header nav a:first-child {
    display: none;
  }
  .hero {
    min-height: unset;
    grid-template-columns: 1fr 1fr;
    padding-block: 45px;
    gap: 0;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 0.5px;
    margin-bottom: 23px;
  }
  .hero h1 {
    font-size: clamp(70px, 16vw, 120px);
    margin-left: -4px;
  }
  .hero-to {
    font-size: 18px;
    margin-left: 16px;
  }
  .hero-arrow {
    margin-left: 12px;
    margin-top: 10px;
  }
  .hero-arrow svg {
    width: 60px;
    height: 60px;
  }
  .hero-description {
    font-size: 12px;
    max-width: 280px;
  }
  .hero-art {
    height: 380px;
    margin-left: -22px;
  }
  .art-orbit {
    height: 65%;
    top: 15%;
  }
  .art-label-top {
    top: 28px;
  }
  .art-label-bottom {
    bottom: 55px;
  }
  .art-hint {
    font-size: 8px;
    bottom: 12px;
  }
  .hero-cta {
    min-height: 45px;
    padding: 11px 16px;
    font-size: 12px;
  }
  .hero-local {
    font-size: 9px;
  }
  .converter-heading h2 {
    font-size: 25px;
  }
  .converter-section {
    padding-bottom: 60px;
  }
  .workbench-input {
    padding: 16px;
  }
  .drop-zone {
    padding: 25px 14px;
    min-height: 350px;
  }
  .drop-zone h2 {
    font-size: 18px;
  }
  .drop-zone > p {
    font-size: 11px;
  }
  .drop-zone .primary-button {
    padding-inline: 13px;
    font-size: 11px;
    gap: 10px;
  }
  .workbench-body {
    grid-template-columns: 1fr 1fr;
  }
  .workbench-preview {
    padding: 20px 16px;
  }
  .model-viewport,
  .model-viewport canvas {
    min-height: 270px;
  }
  .empty-mesh {
    padding-inline: 0;
  }
  .preview-indicator {
    font-size: 8px;
  }
  .privacy-note p {
    font-size: 9px;
  }
  .result-panel {
    grid-template-columns: 1fr;
  }
  .measure-block {
    border-right: 0;
    border-bottom: 1px solid #e5e2eb;
    padding: 24px;
  }
  .measure-values {
    margin-top: 15px;
  }
  .measure-values strong {
    font-size: 28px;
  }
  .part-block {
    padding: 24px;
  }
  .steps-section {
    padding-block: 56px;
  }
  .section-heading {
    display: block;
  }
  .section-heading h2 {
    font-size: 38px;
    letter-spacing: -1.8px;
  }
  .steps-rail {
    margin-top: 40px;
    gap: 25px;
  }
  .steps-rail h3 {
    font-size: 24px;
  }
  .steps-rail p {
    font-size: 11px;
  }
  .faq-section {
    padding-block: 65px;
    gap: 35px;
    grid-template-columns: 0.8fr 1.2fr;
  }
  .faq-heading h2 {
    font-size: 31px;
  }
  .faq-list summary {
    font-size: 12px;
    gap: 10px;
  }
  .faq-list details p {
    margin-left: 23px;
    padding-right: 0;
    font-size: 11px;
  }
  .footer-top strong {
    font-size: 23px;
  }
  .footer-wordmark {
    padding-block: 40px;
  }
}
@media (max-width: 560px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 38px 0 34px;
  }
  .hero-copy {
    z-index: 2;
  }
  .hero .eyebrow {
    margin-bottom: 25px;
  }
  .hero h1 {
    font-size: clamp(100px, 27vw, 150px);
    line-height: 0.85;
    margin-bottom: 24px;
    width: fit-content;
  }
  .hero-to {
    font-size: 19px;
    margin-top: 13px;
    margin-left: 24px;
  }
  .hero-arrow svg {
    width: 69px;
    height: 69px;
  }
  .hero-arrow {
    margin-left: 28px;
  }
  .hero-description {
    max-width: 300px;
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 22px;
  }
  .hero-actions {
    gap: 17px;
  }
  .hero-local {
    width: auto;
  }
  .hero-art {
    height: 310px;
    margin: 25px 0 0;
  }
  .art-orbit {
    width: 255px;
    height: 255px;
    left: calc(50% - 127.5px);
    top: 13px;
  }
  .art-label-top {
    top: 15px;
    left: 6%;
  }
  .art-label-bottom {
    right: 3%;
    bottom: 32px;
  }
  .art-hint {
    bottom: -2px;
    font-size: 9px;
  }
  .workbench-body {
    grid-template-columns: 1fr;
  }
  .workbench-strip {
    padding-inline: 19px;
    font-size: 8px;
  }
  .workbench-input {
    padding: 20px;
  }
  .drop-zone {
    min-height: 350px;
    padding: 29px 23px;
  }
  .drop-zone h2 {
    font-size: 22px;
  }
  .drop-zone > p {
    font-size: 12px;
  }
  .drop-zone .primary-button {
    font-size: 13px;
  }
  .file-limit {
    font-size: 9px;
  }
  .privacy-note strong {
    font-size: 10px;
  }
  .privacy-note p {
    font-size: 10px;
  }
  .workbench-preview {
    min-height: 365px;
    border-left: 0;
    border-top: 1px solid #e5e2eb;
    padding: 21px;
  }
  .model-viewport,
  .model-viewport canvas {
    min-height: 245px;
  }
  .preview-top {
    font-size: 10px;
  }
  .preview-indicator {
    font-size: 9px;
  }
  .preview-caption strong {
    font-size: 12px;
  }
  .preview-caption > span {
    font-size: 10px;
  }
  .conversion-notice {
    gap: 10px;
  }
  .conversion-notice p {
    font-size: 10px;
  }
  .conversion-notice small {
    font-size: 9px;
  }
  .export-block {
    flex-wrap: wrap;
    padding: 20px;
  }
  .export-block button {
    width: 100%;
  }
  .selection-hint {
    margin: 0;
  }
  .measure-block,
  .part-block {
    padding: 22px 20px;
  }
  .measure-values {
    gap: 13px;
  }
  .measure-values strong {
    font-size: 26px;
  }
  .steps-rail {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .step-visual {
    padding-bottom: 15px;
  }
  .steps-rail h3 {
    font-size: 28px;
    margin-top: 18px;
  }
  .steps-rail p {
    font-size: 12px;
    max-width: 100%;
  }
  .faq-section {
    display: block;
  }
  .faq-heading h2 {
    max-width: 270px;
    font-size: 35px;
    margin-bottom: 35px;
  }
  .faq-list summary {
    padding-block: 23px;
    font-size: 12px;
  }
  .faq-list details p {
    font-size: 12px;
  }
  .footer-top strong {
    font-size: 19px;
    max-width: 230px;
    display: block;
  }
  .footer-action {
    width: 43px;
    height: 43px;
    margin-left: 15px;
    flex-shrink: 0;
  }
  .footer-action svg {
    width: 26px;
    height: 26px;
  }
  .footer-wordmark {
    font-size: 16.3vw;
    padding-block: 35px;
  }
  .footer-bottom {
    font-size: 9px;
    gap: 12px;
  }
  .footer-bottom > span:nth-child(2) {
    display: none;
  }
}
@media (max-width: 360px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .site-header {
    gap: 9px;
  }
  .site-header nav {
    gap: 12px;
  }
  .desktop-nav-label {
    display: none;
  }
  .mobile-nav-label {
    display: inline;
  }

  .hero-local {
    width: 100%;
  }
  .hero-art {
    height: 280px;
  }
  .art-orbit {
    width: 230px;
    height: 230px;
    left: calc(50% - 115px);
  }
  .drop-zone {
    padding-inline: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.site-footer :focus-visible {
  outline-color: #c8bcff;
}

/* ----- Added for the pages that did not exist on the previous site ----- */

/* Link to the license of the embedded sample model. */
.sample-license {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 9px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.sample-license:hover {
  color: var(--accent);
}

/* Status and error messages sit between the drop zone and the privacy note. */
.workbench-messages:empty {
  display: none;
}

/* Inner pages (sample license). */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 28px;
  font-size: 12px;
  color: var(--muted);
}
.crumbs a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.inner-page {
  padding: 56px 0 96px;
}
.inner-page h1 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -1.8px;
  line-height: 1.15;
  margin: 0 0 20px;
}
.inner-page h2 {
  font-size: 21px;
  font-weight: 550;
  letter-spacing: -0.7px;
  margin: 36px 0 14px;
}
.inner-page p {
  max-width: 70ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 14px;
}
.inner-page p:first-of-type {
  color: var(--ink);
}
.license-text {
  margin: 0;
  padding: 24px;
  max-width: 70ch;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
  font: 12px/1.8 var(--mono);
  color: var(--ink);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* Not found. */
.not-found {
  padding: 72px 0 120px;
}
.nf-code {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: clamp(72px, 16vw, 112px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 1;
}
.not-found h1 {
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin: 0;
}
.nf-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.nf-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--accent);
  border-radius: 7px;
  color: white;
  background: var(--accent);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.nf-nav a:hover {
  background: var(--accent-dark);
}
