.skip{position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden}.skip:focus{left:16px;top:16px;width:auto;height:auto;padding:10px 14px;background:#111;color:#fff;z-index:99;border-radius:8px;text-decoration:none;font-weight:700}
:root {
  --paper: #f5f5f2;
  --surface: #ffffff;
  --ink: #1b1d1c;
  --muted: #686d69;
  --line: #dedfda;
  --soft-line: #eaebe7;
  --accent: #315e50;
  --accent-dark: #24483d;
  --accent-pale: #e9eeea;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
button { color: inherit; }
canvas { display: block; max-width: 100%; height: auto; }

.site-header {
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.035em;
  text-decoration: none;
}
.brand-mark {
  width: 19px;
  height: 19px;
  display: inline-block;
  border: 1.5px solid currentColor;
  border-radius: 50% 50% 50% 5px;
  transform: rotate(-10deg);
}
.amp { color: var(--muted); font-weight: 400; }
nav { display: flex; gap: 30px; align-items: center; }
nav a { font-size: 13px; color: #525752; text-decoration: none; }
nav a:hover { color: var(--ink); }
.local-label {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}
.local-label > span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

main { max-width: 1184px; margin: 0 auto; padding: 0 32px; }
.hero { padding: 90px 0 78px; max-width: 850px; }
.eyebrow, .section-index {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .15em;
  line-height: 1.4;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 780px;
  margin-bottom: 26px;
  font-size: clamp(46px, 6.4vw, 78px);
  font-weight: 550;
  letter-spacing: -.065em;
  line-height: 1.035;
}
h2 { font-size: 29px; font-weight: 550; letter-spacing: -.04em; line-height: 1.2; }
h3 { font-size: 16px; font-weight: 600; letter-spacing: -.015em; line-height: 1.35; }
.lead { max-width: 625px; margin-bottom: 30px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-note { color: var(--muted); font-size: 12px; }
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 11px 19px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  color: #fff;
  background: var(--ink);
  font-size: 13px;
  font-weight: 550;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.button:hover:not(:disabled) { background: #343835; border-color: #343835; }
.button:active:not(:disabled) { transform: translateY(1px); }
.button:disabled { opacity: .32; cursor: not-allowed; }
.text-button {
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid #c1c4bd;
  background: transparent;
  font-size: 13px;
  cursor: pointer;
}
.text-button:hover { border-color: var(--ink); }

.workspace {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 40px rgba(24, 29, 25, .035);
}
.workspace-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-bottom: 27px; }
.section-index { margin-bottom: 9px; color: var(--muted); font-size: 10px; }
.workspace-heading h2 { margin-bottom: 0; font-size: 25px; }
.format-note { padding-top: 24px; color: var(--muted); font-size: 11px; }
.format-note span { margin: 0 5px; }
.upload-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
}
.upload-action { display: flex; align-items: center; gap: 22px; }
.fine { color: var(--muted); font-size: 11px; }
#filename { text-align: right; overflow-wrap: anywhere; }
.controls { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 28px 0 32px; }
.control-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 12px; font-weight: 550; }
output { min-width: 29px; padding: 1px 6px; border: 1px solid var(--soft-line); border-radius: 4px; color: var(--muted); background: #fafaf8; font-size: 11px; text-align: center; font-variant-numeric: tabular-nums; }
input[type="range"] { --progress: 39%; width: 100%; height: 3px; display: block; margin: 15px 0; appearance: none; border-radius: 4px; background: #d6d9d2; accent-color: var(--accent); cursor: pointer; }
#detail { background: linear-gradient(to right, var(--accent) 0%, var(--accent) 39.13%, #d6d9d2 39.13%, #d6d9d2 100%); }
#thickness { background: linear-gradient(to right, var(--accent) 0%, var(--accent) 0%, #d6d9d2 0%, #d6d9d2 100%); }
input[type="range"]::-webkit-slider-thumb { width: 15px; height: 15px; appearance: none; border: 3px solid #fff; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
input[type="range"]::-moz-range-thumb { width: 9px; height: 9px; border: 3px solid #fff; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.range-labels { display: flex; justify-content: space-between; color: #8a8e88; font-size: 10px; }
.preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.preview { min-width: 0; margin: 0; }
.preview figcaption { margin-bottom: 10px; font-size: 11px; font-weight: 550; letter-spacing: .01em; }
.preview figcaption span { margin-right: 8px; color: #969b95; font-size: 10px; font-variant-numeric: tabular-nums; }
.canvas-frame { display: grid; place-items: center; overflow: hidden; min-height: 280px; border: 1px solid var(--soft-line); border-radius: 7px; background: #f0f1ed; }
.output-frame { background-color: #fff; background-image: linear-gradient(45deg, #f6f6f3 25%, transparent 25%), linear-gradient(-45deg, #f6f6f3 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #f6f6f3 75%), linear-gradient(-45deg, transparent 75%, #f6f6f3 75%); background-size: 16px 16px; background-position: 0 0, 0 8px, 8px -8px, -8px 0; }
.notice { margin: 20px 0 0; color: var(--muted); font-size: 12px; }
.download-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 24px; }
.download-row > div { display: flex; gap: 9px; }
.download-row p { margin: 0; }
.button.tertiary { border-color: var(--line); color: var(--ink); background: transparent; }
.button.tertiary:hover:not(:disabled) { border-color: #a7aca5; background: #f7f7f4; }
.workspace-footnote { margin: 24px 0 0; padding-top: 17px; border-top: 1px solid var(--soft-line); color: #888d87; font-size: 10px; }

.process-section { padding: 110px 0 106px; }
.section-heading { max-width: 560px; margin-bottom: 45px; }
.section-heading h2 { margin-bottom: 0; font-size: 37px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.steps li { padding: 0 38px 0 0; }
.steps li + li { padding-left: 38px; border-left: 1px solid var(--line); }
.step-number { display: block; margin-bottom: 35px; color: var(--accent); font-size: 11px; font-variant-numeric: tabular-nums; }
.steps h3 { margin-bottom: 11px; }
.steps p { margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.notes-section { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 56px 0 80px; border-top: 1px solid var(--line); }
.notes-section article h2 { max-width: 350px; margin-bottom: 18px; }
.notes-section article > p:last-child { max-width: 450px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.tech-note { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.tech-note strong { color: var(--ink); font-weight: 600; }
.tech-icon { color: var(--accent); font-size: 26px; line-height: 1; }

footer { max-width: 1184px; margin: 0 auto; padding: 34px 32px 45px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 35px; border-top: 1px solid var(--line); }
.footer-brand { font-size: 15px; }
.footer-brand .brand-mark { width: 16px; height: 16px; }
footer p { margin: 0; color: var(--muted); font-size: 11px; }
footer nav { gap: 22px; }
footer nav a { font-size: 11px; }
.prose { max-width: 740px; padding: 65px 0 90px; }
.prose h1 { margin-bottom: 50px; font-size: clamp(45px, 6vw, 65px); }
.prose h2 { margin: 40px 0 13px; font-size: 23px; }
.prose p { color: var(--muted); font-size: 15px; line-height: 1.85; }
.prose .eyebrow { color: var(--accent); font-size: 11px; }

a:focus-visible, button:focus-visible, input:focus-visible, label:has(+ input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (min-width: 1440px) { .site-header { padding-left: 0; padding-right: 0; } }
@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; padding: 24px 30px; }
  .site-header nav { grid-row: 2; grid-column: 1 / -1; gap: 22px; padding-top: 6px; }
  .hero { padding: 66px 0 56px; }
  .preview-grid { gap: 12px; }
  .canvas-frame { min-height: 220px; }
  .steps li { padding-right: 25px; }
  .steps li + li { padding-left: 25px; }
  footer { grid-template-columns: 1fr auto; }
  footer p { grid-row: 2; }
  footer nav { grid-row: 1 / 3; grid-column: 2; }
}
@media (max-width: 620px) {
  .site-header { padding: 22px 20px; gap: 15px; }
  .local-label { font-size: 10px; }
  main { padding: 0 18px; }
  .hero { padding: 47px 0 42px; }
  h1 { font-size: 48px; letter-spacing: -.06em; }
  .lead { font-size: 16px; }
  .hero-actions { gap: 18px; }
  .workspace { padding: 21px 18px; }
  .workspace-heading { display: block; }
  .format-note { display: block; padding-top: 10px; }
  .upload-row { display: block; }
  #filename { display: block; margin-top: 15px; text-align: left; }
  .controls { grid-template-columns: 1fr; gap: 26px; }
  .preview-grid { grid-template-columns: 1fr; gap: 25px; }
  .canvas-frame { min-height: 180px; }
  .download-row { align-items: flex-start; flex-direction: column; gap: 13px; }
  .process-section { padding: 75px 0; }
  .section-heading h2 { font-size: 31px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li, .steps li + li { padding: 0 0 28px; border: 0; border-bottom: 1px solid var(--line); }
  .steps li:last-child { padding-bottom: 0; border-bottom: 0; }
  .step-number { margin-bottom: 15px; }
  .notes-section { grid-template-columns: 1fr; gap: 20px; padding-bottom: 55px; }
  .notes-section article + article { margin-top: 25px; }
  .tech-note { margin-top: 15px; align-items: flex-start; }
  footer { margin: 0 18px; padding: 28px 0 35px; grid-template-columns: 1fr; gap: 15px; }
  footer p, footer nav { grid-row: auto; grid-column: auto; }
  .prose { padding-top: 45px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }
