:root {
  color-scheme: light;
  --ink: #222c21;
  --muted: #526050;
  --line: #dfe4d7;
  --accent: #dcecc2;
  --paper: #f8f8f1;
  font-family: "Trebuchet MS", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid #62764b; outline-offset: 3px; }
.site-header, .site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 14px clamp(16px, 4vw, 56px);
  margin: 0 auto;
  max-width: 1440px;
  height: auto;
}
.site-header { border-bottom: 1px solid var(--line); }
.site-footer { border-top: 1px solid var(--line); }
.site-header nav, .site-footer nav { display: flex; gap: 8px 18px; flex-wrap: wrap; }
.site-header a, .site-footer a { font-size: 13px; }
.site-header .site-brand, .site-footer .site-brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 19px; font-weight: bold; text-decoration: none; letter-spacing: -.055em;
}
.site-mark { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid; border-radius: 7px; transform: rotate(-9deg); font-size: 18px; }
.site-home .intro { display: block; margin: 26px 0 18px; }
.site-home .intro h1, .page-title, .site-section h2, .guide-step h2 {
  font: 400 clamp(2.45rem, 6vw, 5rem)/.99 Georgia, serif;
  letter-spacing: -.065em;
  margin: 0;
}
.site-home .intro p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.site-home .controls { min-width: 0; }
.site-home .workbench { scroll-margin-top: 14px; }
.site-home .material strong { text-align: center; }
.site-home .empty p { max-width: 260px; }
.site-home .stage-footer { line-height: 1.4; }
.site-section { padding: 45px 0; border-top: 1px solid var(--line); }
.site-home .site-section:has(> #finishes-title) { margin-top: 44px; }
.site-home #top-upload { margin-top: 12px; }
.site-home .workbench:has(#empty:not(.hidden)) #top-upload { display: none; }
.site-section h2, .guide-step h2 { font-size: clamp(1.9rem, 4vw, 3.25rem); line-height: 1.05; }
.site-copy { line-height: 1.7; color: var(--muted); max-width: 68ch; }
.sample-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.sample-grid figure, .guide-step figure { margin: 0; min-width: 0; }
.sample-grid img { display: block; width: 100%; aspect-ratio: 1.3; object-fit: contain; background: #e9edde; border-radius: 15px; }
.sample-grid figure:nth-child(2) img { background: #e8dfeb; }
.sample-grid figure:nth-child(3) img { background: #eee3d6; }
.sample-grid figcaption { margin-top: 10px; line-height: 1.45; font-size: 14px; }
.faq { max-width: 790px; margin-top: 22px; }
.faq details { border-top: 1px solid var(--line); padding: 14px 2px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 9px 0 3px; }
.content-page { max-width: 1020px; padding: 54px clamp(16px, 5vw, 65px) 60px; margin: auto; }
.content-page .page-title { max-width: 18ch; }
.content-page p, .content-page li { line-height: 1.7; }
.content-page .lede { font-size: 18px; margin: 18px 0 22px; }
.content-page section { margin-top: 28px; }
.content-page h2 { font-weight: 600; }
.cta-link { display: inline-block; padding: 11px 16px; border-radius: 6px; background: #2d3b2a; color: #fff; text-decoration: none; }
.guide-step { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(16px, 4vw, 45px); align-items: start; border-top: 1px solid var(--line); padding: 24px 0 4px; }
.guide-step figure img { display: block; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.guide-step figcaption { font-size: 13px; margin-top: 6px; color: var(--muted); }
.contact-note { border: 1px solid var(--line); border-radius: 9px; padding: 14px 18px; background: #fffefa; }
@media(max-width: 650px) {
  .site-home .intro { margin: 18px 0 14px; }
  .site-header nav { gap: 6px 12px; }
  .site-home .stage { width: 100%; aspect-ratio: auto; height: clamp(306px, 78vw, 360px); }
  .site-home .stage-footer { height: auto; min-height: 46px; padding: 5px 0; }
  .site-header nav a { display: inline-flex; align-items: center; min-height: 28px; }
  .site-home .print-settings input, .site-home .print-settings select { min-height: 36px; }
  .sample-grid, .guide-step { grid-template-columns: minmax(0,1fr); }
  .sample-grid img { max-height: 260px; }
  .site-section { padding: 32px 0; }
  .content-page { padding-top: 36px; }
}

.guide-finish-table { width: 100%; border-collapse: collapse; margin: 0 0 1.25rem; font-size: .9375rem; line-height: 1.45; }
.guide-finish-table :is(th, td) { padding: .55rem .45rem; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.guide-finish-table thead { background: var(--surface, #f5f5fb); }
