@font-face { font-family: Inter; src: url('Inter.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }
* { box-sizing: border-box; }
:root { color-scheme: light; font-family: Inter, system-ui, sans-serif; color: #25313d; background: #fff; line-height: 1.65; }
body { margin: 0; }
a { color: #086a84; text-underline-offset: .2em; }
a:hover { color: #03495b; }
a:focus-visible { outline: 3px solid #087e9b; outline-offset: 4px; }
.site-nav, main { max-width: 1240px; padding: 24px 32px; margin: auto; }
.site-nav { border-bottom: 1px solid #e2e8ed; font-weight: 650; }
main { padding-bottom: 80px; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.15; letter-spacing: -.035em; max-width: 950px; margin: 8px 0 16px; }
h2 { line-height: 1.3; font-size: 1.35rem; }
p { margin: 0 0 1em; }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; color: #53707f; font-size: .8rem; font-weight: 650; margin: 16px 0 8px; }
.byline, .gallery-hint { color: #5c6a76; font-size: .88rem; }
.introduction { max-width: 800px; margin: 28px 0; }
.supplies { display: flex; gap: 64px; margin: 24px 0; }
.supplies h2 { margin-bottom: 8px; font-size: 1rem; }
.supplies ul { padding-left: 20px; }
.step-nav { border: 1px solid #dce6eb; background: #f5f9fb; padding: 20px 24px; border-radius: 8px; margin: 32px 0 44px; }
.step-nav h2 { margin: 0 0 12px; font-size: 1rem; }
.step-nav ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 40px; }
.step-nav li { padding: 3px 0; break-inside: avoid; }
.tutorial-step { padding: 0 0 40px; margin: 0 0 36px; border-bottom: 1px solid #e2e8ed; scroll-margin-top: 20px; }
.tutorial-step h2 { margin: 0 0 20px; }
.tutorial-step h2 a { color: inherit; text-decoration: none; }
.tutorial-step h2 span { font-weight: 750; margin-right: 16px; }
.step-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.full-image { display: block; cursor: zoom-in; border: 1px solid #e1e5e8; border-radius: 8px; overflow: hidden; background: #f4f6f7; }
.full-image[hidden] { display: none; }
.full-image img { display: block; width: 100%; height: auto; }
.gallery-hint { margin: 8px 0 0; font-size: .75rem; }
.thumbnails { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.thumbnail { display: block; border: 2px solid transparent; border-radius: 5px; padding: 2px; flex: 0 1 112px; }
.thumbnail.active { border-color: #087e9b; background: #eef8fb; }
.thumbnail img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 2px; }
.instructions { padding: 0; margin: 0; list-style: none; }
.instructions li { padding-left: 22px; margin-left: calc(var(--level, 0) * 16px); position: relative; }
.instructions li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--bullet, #555); position: absolute; left: 0; top: .62em; }
.instructions .note, .instructions .warning { background: #f5f8fa; padding: 12px 14px 0 26px; border-radius: 5px; }
.instructions .note::before, .instructions .warning::before { left: 10px; top: 1.35em; }
.instructions .warning { border-left: 3px solid #b1491b; }
.conclusion { max-width: 800px; }
.guide-list { padding: 0; list-style: none; }
.guide-list li { border: 1px solid #dce6eb; border-radius: 8px; padding: 20px 24px; margin: 14px 0; }
.guide-list a { font-size: 1.1rem; font-weight: 600; }
.guide-list span { display: block; color: #5c6a76; font-size: .85rem; }
.skip-link { position: absolute; left: -10000px; }
.skip-link:focus { left: 12px; top: 12px; background: white; padding: 8px; z-index: 10; }
@media (max-width: 760px) {
  .site-nav, main { padding-left: 20px; padding-right: 20px; }
  .step-layout { grid-template-columns: 1fr; gap: 18px; }
  .step-nav ol { columns: 1; }
  .supplies { gap: 24px; flex-wrap: wrap; }
  .tutorial-step h2 span { display: block; font-size: .85rem; color: #53707f; margin-bottom: 5px; }
  .thumbnails { justify-content: flex-start; }
}
@media print {
  @page { margin: 16mm; }
  :root { font-size: 10pt; }
  .site-nav, .step-nav, .thumbnails, .gallery-hint, .skip-link { display: none; }
  main { max-width: none; padding: 0; }
  .step-layout { display: block; }
  .large-images { display: flex; gap: 8px; align-items: flex-start; }
  .full-image, .full-image[hidden] { display: block; flex: 1; min-width: 0; margin-bottom: 12px; }
  .full-image img { max-height: 90mm; object-fit: contain; }
  .tutorial-step { break-inside: avoid; margin-bottom: 16px; padding-bottom: 16px; }
  a { color: inherit; text-decoration: none; }
}
.site-nav { display: flex; align-items: center; gap: 28px; }
.guide-lead { display: flex; gap: 28px; align-items: center; margin: 28px 0; }
.guide-cover { width: 240px; height: 180px; object-fit: contain; border: 1px solid #dce6eb; border-radius: 8px; background: #f5f8fa; }
.guide-lead .introduction { margin: 0; }
.category-nav { border: 1px solid #dce6eb; background: #f5f9fb; padding: 20px 24px; border-radius: 8px; margin: 32px 0 40px; }
.category-nav h2 { margin: 0 0 14px; font-size: 1rem; }
.category-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; row-gap: 8px; list-style: none; padding: 0; margin: 0; }
.category-links li { margin: 0; }
.category-links a { display: block; padding: 3px 0; }
.category-nav a { font-size: .95rem; }
.category-section { margin: 40px 0 52px; scroll-margin-top: 24px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; row-gap: 0; align-items: stretch; }
.guide-card-frame { display: flex; min-width: 0; margin: 12px 0; border: 1px solid #b9c8d2; border-radius: 8px; overflow: hidden; background: #fff; }
.guide-card-frame:hover, .guide-card-frame:focus-within { border-color: #087e9b; }
.guide-card { display: flex; flex-direction: column; width: 100%; min-width: 0; color: inherit; text-decoration: none; background: #fff; }
.guide-card:hover { color: #03495b; }
.guide-card:focus-visible { outline-offset: -4px; }
.guide-card > img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #f5f8fa; }
.guide-card-caption { flex: 1; padding: 18px 20px; border-top: 1px solid #dce6eb; background: #f8fafb; }
.guide-card h3 { font-size: 1.05rem; line-height: 1.45; margin: 0 0 10px; color: #086a84; text-decoration: underline; text-underline-offset: .18em; }
.guide-card p { margin: 0; font-size: .82rem; color: #5c6a76; }
.step-layout.no-media { display: block; max-width: 850px; }
.step-videos video, .intro-video video { display: block; max-width: 100%; height: auto; }
.video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #172630; border-radius: 8px; overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.intro-video { max-width: 900px; margin: 28px 0; }
.video-fallback { font-size: .85rem; margin-top: 8px; }
.unavailable-link { text-decoration: underline dotted; text-underline-offset: .2em; }
.instructions code { font-family: ui-monospace, Consolas, monospace; padding: .1em .3em; background: #edf2f5; border-radius: 3px; overflow-wrap: anywhere; }
.instructions a { overflow-wrap: anywhere; }
@media (max-width: 1000px) { .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
 .category-links { grid-template-columns: 1fr; }
 .guide-grid { grid-template-columns: 1fr; }
 .guide-lead { flex-direction: column; align-items: flex-start; gap: 18px; }
 .guide-cover { width: 180px; height: 135px; }
 .guide-card > img { max-height: 260px; }
}
@media print {
 .guide-lead { margin: 16px 0; }
 .guide-cover { width: 120px; height: 90px; }
 .category-nav { display: none; }
 .guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
 .guide-card-frame { break-inside: avoid; }
 .video-frame, .step-videos video, .intro-video video { display: none; }
 .video-fallback a::after { content: ' (' attr(href) ')'; overflow-wrap: anywhere; }
}
