:root {
  --ink: #15243a;
  --muted: #48596b;
  --blue: #204fc6;
  --line: #cfd8e2;
  --mono: "IBM Plex Mono", Consolas, monospace;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 100%;
  scroll-padding-top: 1.5rem;
}
* { box-sizing: border-box; }
body, figure, h1, h2, h3, p, dl, dd { margin: 0; }
body { background: #fff; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #b05402; outline-offset: 4px; }
.wrap { width: min(88%, 77rem); margin-inline: auto; }
.symbols { position: absolute; width: 0; height: 0; }
.skip { position: absolute; left: 10px; top: -100px; z-index: 9; background: white; padding: 1rem; }
.skip:focus { top: 8px; }
.mast { border-bottom: 1px solid var(--line); }
.nav, footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.nav { min-height: 4.75rem; }
.brand { display: inline-flex; align-items: center; gap: .58rem; font-size: 1.45rem; letter-spacing: -.055em; font-weight: 710; }
.brand img { display: block; }
nav { display: flex; align-items: center; gap: 2rem; }
nav a, footer a:last-child { font-size: .94rem; font-weight: 550; }
nav a:hover, footer a:last-child:hover { color: var(--blue); text-decoration: underline; text-underline-offset: .3rem; }
.button { min-height: 3rem; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; background: var(--blue); color: white; border: 1px solid var(--blue); border-radius: 5px; padding: .75rem 1.15rem; font-size: 1rem; font-weight: 600; transition: background .15s; }
.button:hover { background: #123c9e; }
.button.small { min-height: 2.55rem; font-size: .9rem; padding: .52rem .95rem; }
.button.secondary { background: transparent; border-color: #aebac9; color: var(--ink); }
.button.secondary:hover { background: white; border-color: var(--blue); }
.icon, .feature-icon { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hero { background: #f3f6fa; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2.2rem, 5vw, 5.5rem); padding-block: clamp(3.3rem, 5.7vw, 5.7rem); }
.kicker, .plate-head { text-transform: uppercase; font-family: var(--mono); letter-spacing: .11em; font-size: .8rem; font-weight: 600; }
.kicker { display: flex; align-items: center; gap: .65rem; color: #214c9c; }
.kicker > span { width: 1.65rem; height: 2px; background: currentColor; }
h1, h2, h3 { font-weight: 640; }
h1 { margin: 1.25rem 0; letter-spacing: -.068em; font-size: clamp(3rem, 4.85vw, 4.9rem); line-height: 1.035; }
.intro h2 { margin-bottom: 1rem; }
.intro h2 em { color: var(--blue); font-style: normal; }
.lead { font-size: clamp(1.04rem, 1.35vw, 1.22rem); line-height: 1.6; color: var(--muted); max-width: 28rem; }
.sample-step { margin-top: 1.25rem; padding: .3rem 0 .3rem 1rem; border-left: 3px solid #94b1de; max-width: 30rem; }
.step-number { font: 600 .82rem var(--mono); color: var(--muted); }
.sample-step p { line-height: 1.6; margin-top: .25rem; }
.sample-step a { color: #1646ae; text-decoration: underline; text-underline-offset: .18em; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.85rem; }
.plate { position: relative; align-self: center; border: 1px solid #afc1d5; background: #f8fbff; box-shadow: 5px 5px 0 -1px #f3f6fa, 5px 5px 0 #bccbda; }
.plate-head, .plate figcaption { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .72rem 1rem; }
.plate-head { color: #486382; font-size: .76rem; letter-spacing: .08em; border-bottom: 1px solid #c8d4df; }
.plate-head span:first-child { color: var(--blue); }
.drawing { position: relative; aspect-ratio: 1.5; background-color: #f1f6fd; background-image: linear-gradient(#c6d4e530 1px,transparent 1px),linear-gradient(90deg,#c6d4e530 1px,transparent 1px); background-size: 1.2rem 1.2rem; }
#engraving { position: absolute; height: 87.5%; width: 58.3333%; left: 18.3333%; top: 6.25%; object-fit: contain; mix-blend-mode: multiply; }
.cross { position: absolute; width: 9px; height: 9px; background: linear-gradient(#8ea6bf,#8ea6bf) center / 1px 100% no-repeat, linear-gradient(#8ea6bf,#8ea6bf) center / 100% 1px no-repeat; }
.tl, .tr { top: 12px; } .bl, .br { bottom: 12px; } .tl, .bl { left: 12px; } .tr, .br { right: 12px; }
.leaders { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #244f95; stroke-width: 1.5; }
.leaders circle { fill: #f7fbff; }
.leaders text { fill: #214987; stroke: none; text-anchor: middle; dominant-baseline: central; font: bold 15px var(--mono); }
.leaders g { scroll-margin-top: 50vh; }
:is(.leaders:not(.interactive) g:target, .leaders g.selected) path { stroke: #a24705; stroke-width: 4; }
:is(.leaders:not(.interactive) g:target, .leaders g.selected) circle { fill: #944100; stroke: #fff; stroke-width: 3; }
:is(.leaders:not(.interactive) g:target, .leaders g.selected) text { fill: white; }
.plate-picker { display: flex; gap: .4rem; padding: .55rem .8rem; border-top: 1px solid #c8d4df; background: #eaf0f8; }
.plate-picker[hidden] { display: none; }
.plate-picker button { cursor: pointer; font: 550 .875rem Inter, "Segoe UI", sans-serif; color: #405674; background: transparent; border: 1px solid transparent; border-radius: 3px; padding: .38rem .55rem; }
.plate-picker button[aria-pressed="true"] { color: #1743a4; background: white; border-color: #bacce7; }
.plate-picker button:hover { color: #123c9e; background: #f6faff; }
.plate-picker button:focus-visible { outline: 3px solid #b05402; }
.plate figcaption { justify-content: flex-start; flex-wrap: wrap; border-top: 1px solid #c8d4df; font: .76rem var(--mono); color: #405674; }
.plate figcaption strong { margin-right: auto; font: 600 .91rem Inter, "Segoe UI", sans-serif; color: var(--ink); }
.plate figcaption b { font-size: .7rem; display: inline-grid; place-items: center; height: 1.04rem; width: 1.04rem; border-radius: 50%; border: 1px solid #899cb6; }
.packages-section, .tools-grid, .catalog-section, .tour-section, .format-section, .comparison-section { padding-block: clamp(3.2rem, 5vw, 5rem); }
.packages-section { border-bottom: 1px solid var(--line); }
.packages-section h2 { margin: 0; }
.package-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1.6rem; }
.package-card { display: flex; flex-direction: column; padding: clamp(1.2rem, 2.8vw, 2.3rem); border: 1px solid #b9cbdf; background: #f3f7fb; }
.package-card h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); }
.package-card p { margin-top: .65rem; line-height: 1.6; }
.package-card ul { padding-left: 1.2rem; margin: .85rem 0 1.4rem; line-height: 1.6; color: var(--muted); }
.package-card li::marker { color: var(--blue); }
.package-card .button { align-self: flex-start; margin-top: auto; }
.tools-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem); }
.tool { display: flex; flex-direction: column; }
.tool > p:not(.kicker) { color: var(--muted); line-height: 1.6; margin: .85rem 0 1.4rem; max-width: 34rem; }
.tool-demo { margin-top: auto; border: 1px solid #b9cbdf; background: #f3f7fb; }
.sketch-stage { height: 15rem; display: flex; align-items: center; justify-content: center; }
.sketch-stage { background-image: radial-gradient(#b3c7dc 1px, transparent 1px); background-size: 12px 12px; }
#plate-sketch { width: 100%; height: 90%; fill: #fff; stroke: #245086; stroke-width: 1.6; }
#plate-sketch path { fill: none; }
#plate-sketch text { text-anchor: middle; font: bold 13px var(--mono); stroke: none; fill: #244f95; }
.focus-stage { display: grid; align-items: center; justify-content: center; grid-template-columns: minmax(0, 24rem); gap: .8rem; min-height: 15rem; padding: .9rem; }
.focus-stage h3 { font: 600 .85rem/1.3 var(--mono); color: #385676; margin: 0 0 .55rem; }
.focus-stage ol { display: grid; list-style: none; margin: 0; padding: 0; }
.overview-pages { grid-template-columns: repeat(9, minmax(0, 1fr)); gap: .25rem; }
.overview-pages li { display: grid; align-content: end; justify-items: center; height: 3rem; padding-bottom: .15rem; border: 1px solid #a5bad0; color: #284b75; font: 600 .78rem var(--mono); background: repeating-linear-gradient(#c2d2e5 0 1px, transparent 1px 4px) center 20% / 62% 32% no-repeat white; transition: opacity .3s, background-color .3s; }
.focus-stage:not([data-stage="full"]) .overview-pages li { opacity: .42; }
.focus-stage:not([data-stage="full"]) .overview-pages .picked { opacity: 1; background-color: #204fc6; border-color: #1743a4; color: white; }
.focus-stage[data-stage="editing"] { grid-template-columns: minmax(5.2rem, 1fr) minmax(0, 2fr); }
[data-stage="editing"] .focus-overview h3 { max-width: 10ch; }
[data-stage="editing"] .overview-pages { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; }
[data-stage="editing"] .overview-pages li { height: 1.25rem; align-content: center; padding: 0; background-image: none; font-size: .65rem; }
.focus-editor { padding-left: .8rem; border-left: 1px solid #c6d4e3; }
.editing-pages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; }
.editing-pages li { display: grid; align-content: start; gap: .35rem; padding: .55rem .35rem; min-height: 4.8rem; border: 1px solid #94add3; border-top: 3px solid var(--blue); background: white; color: #294d79; font: .75rem var(--mono); transform-origin: top left; }
.editing-pages li::after { content: ""; height: .6rem; background: repeating-linear-gradient(#c7d5e7 0 1px, transparent 1px 4px); }
#focus-control { flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) { .overview-pages li { transition: none; } }
.demo-bar { display: flex; justify-content: space-between; align-items: center; gap: .65rem; min-height: 3.8rem; padding: .55rem 1rem; border-top: 1px solid #c8d4df; background: #f8fbff; color: #344f70; font-size: .9rem; }
.demo-bar input { min-width: 2.5rem; flex: 1; max-width: 12rem; accent-color: var(--blue); }
.demo-bar output, #page-count { font: 600 .85rem var(--mono); white-space: nowrap; }
.demo-bar button { padding: .45rem .65rem; border: 1px solid #adc2dc; border-radius: 3px; background: white; color: #1743a4; font-family: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; }
.demo-bar button:hover { border-color: var(--blue); }
.demo-bar[hidden] { display: none; }
.sketch-controls { display: grid; grid-template-columns: max-content minmax(0, 1fr) 5ch; row-gap: .25rem; }
.sketch-controls input { width: 100%; height: 1.5rem; justify-self: center; margin: 0; }
.sketch-controls output { text-align: right; }
.catalog-section { border-top: 1px solid var(--line); }
h2 { font-size: clamp(2.05rem, 3vw, 3.15rem); line-height: 1.12; letter-spacing: -.055em; margin-top: .75rem; }
.catalog-intro, .catalog-note, .catalog-controls > p { color: var(--muted); line-height: 1.6; }
.catalog-intro { margin-top: .75rem; }
.catalog-lab { margin-top: 1.6rem; background: #f3f7fb; border: 1px solid #b9cbdf; }
.catalog-switch { display: flex; flex-wrap: wrap; background: #eaf0f8; padding: .4rem; gap: .25rem; border-bottom: 1px solid #b9cbdf; }
.catalog-lab button, .catalog-lab input, .catalog-lab textarea { font: inherit; }
.catalog-switch button, .doc-actions button { cursor: pointer; border: 1px solid transparent; border-radius: 3px; font-weight: 600; padding: .6rem .85rem; }
.catalog-switch button { color: #354e70; background: transparent; }
.catalog-switch button[aria-pressed="true"] { color: #1743a4; background: white; border-color: #adc2dc; }
.catalog-switch button:hover, .reset-demo:hover { text-decoration: underline; }
.catalog-lab :focus-visible { outline: 3px solid #ad570e; outline-offset: 2px; }
.catalog-panel { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); }
.catalog-controls, .catalog-paper { min-width: 0; padding: clamp(1.1rem, 2.8vw, 2.3rem); }
.catalog-controls > p { margin: .55rem 0 1.1rem; }
.catalog-controls label[for], .catalog-controls legend { color: #344f70; font-size: .9rem; font-weight: 600; }
.catalog-controls input[type="search"], .catalog-controls textarea { display: block; width: 100%; padding: .65rem .75rem; background: white; color: var(--ink); border: 1px solid #9eb0c7; border-radius: 3px; margin-top: .35rem; }
.catalog-controls textarea { resize: vertical; min-height: 5rem; line-height: 1.55; }
.catalog-controls fieldset { margin: 1rem 0 0; padding: 0; border: 0; min-width: 0; }
#equipment-results, #procedure-results { max-height: 15rem; overflow-y: auto; overscroll-behavior-y: contain; padding: .2rem; }
.catalog-controls fieldset small { display: block; margin-top: .2rem; color: var(--muted); font-size: .85rem; }
.catalog-controls legend { padding: 0; margin-bottom: .35rem; }
.catalog-controls fieldset label { display: flex; align-items: baseline; gap: .55rem; cursor: pointer; padding: .55rem .65rem; background: white; border: 1px solid #c7d4e2; margin-bottom: .25rem; line-height: 1.4; }
.catalog-controls fieldset label:has(:checked) { background: #e5edff; border-color: #748fc3; }
.catalog-controls input[type="radio"] { accent-color: var(--blue); margin: 0; }
.catalog-controls [role="status"]:not(:empty) { margin-top: .65rem; color: #344f70; font-size: .95rem; }
.catalog-paper { background: #fff; border-left: 1px solid var(--line); }
.catalog-paper h4 { font: 600 .85rem var(--mono); color: #486382; margin: 0; padding-bottom: .85rem; border-bottom: 2px solid #b9cbdf; }
.doc-lines > div { display: grid; grid-template-columns: 2.1rem 1fr; gap: .6rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.doc-lines dt { font: 600 .85rem/1.8 var(--mono); color: #52657b; }
.doc-lines dd { line-height: 1.6; overflow-wrap: anywhere; }
.doc-lines del { color: #785054; }
.doc-lines ins, .inserted-field { color: #163f93; background: #e5edff; }
.empty-field { color: #52657b; font-style: italic; }
#formatted-step { white-space: pre-wrap; }
.doc-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.25rem; }
.apply-demo { background: var(--blue); color: white; }
.apply-demo:disabled { background: #e3e9ef; color: #526073; cursor: default; }
.reset-demo { background: white; color: var(--blue); }
.catalog-lab [hidden] { display: none; }
.catalog-note { margin-top: 1rem; }
.catalog-note strong { color: var(--ink); }
.workflow-section { border-bottom: 1px solid var(--line); padding-block: clamp(3.2rem, 5vw, 5rem); }
.workflow-intro { margin-bottom: 1.7rem; }
.workflow-tagline { font-size: clamp(1.125rem, 1.65vw, 1.4rem); line-height: 1.35; }
.hub-plate { --rule: #839cb6; padding: clamp(1rem, 2.7vw, 2.4rem); background: #f4f8fc; border: 1px solid #a6bad0; outline: 1px solid #c6d3df; outline-offset: -6px; text-align: center; }
.hub-plate h2 { margin: 0; font-size: 1.18rem; letter-spacing: -.03em; }
.hub-plate p { margin-top: .3rem; color: #405773; line-height: 1.45; }
.hub-agent, .hub-output { width: fit-content; max-width: 100%; margin-inline: auto; position: relative; }
.hub-agent { padding: .55rem 1.35rem; border-block: 1px solid var(--rule); background: #fff; }
.hub-agent::after, .hub-output::before { content: ""; position: absolute; left: 50%; height: 1.55rem; border-left: 1px solid var(--rule); }
.hub-agent::after { top: 100%; } .hub-output::before { bottom: 100%; }
.hub-body { position: relative; display: grid; grid-template: "write center draw" 1fr "mark center data" 1fr / 29% 1fr 29%; align-items: center; margin-block: 1.5rem; }
.hub-leaders { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--rule); pointer-events: none; }
.hub-leaders path { vector-effect: non-scaling-stroke; }
.hub-node { position: relative; text-align: left; padding: .65rem clamp(.4rem, 1.3vw, 1rem); border-block-start: 1px solid var(--rule); background: #f4f8fc; }
.hub-node a { color: #224b80; text-decoration: underline; text-underline-offset: .21em; text-decoration-color: #91a8bf; }
.hub-node a:hover { color: var(--blue); }
.hub-write { grid-area: write; } .hub-mark { grid-area: mark; } .hub-data { grid-area: data; } .hub-draw { grid-area: draw; }
.hub-center { grid-area: center; position: relative; justify-self: center; display: flex; flex-direction: column; align-items: center; justify-content: center; width: min(88%, 17rem); aspect-ratio: 1; background: white; border: 3px double #819ab5; outline: 1px solid #abbcd0; outline-offset: 4px; border-radius: 50%; }
.hub-center img { width: 48%; height: auto; display: block; margin-bottom: .55rem; }
.hub-center strong { color: #173650; font-size: clamp(1.15rem, 2.4vw, 2rem); letter-spacing: -.055em; line-height: 1.1; }
.hub-output { display: grid; gap: .3rem; padding: .8rem 1.3rem; background: #1e3c5a; color: white; }
.hub-output strong { font-size: 1.25rem; }
.hub-output span { max-width: 46ch; font-size: 1rem; line-height: 1.45; color: #e6eff8; }
h3 { font-size: 1.2rem; letter-spacing: -.03em; }
.format-section dd { font-size: 1rem; line-height: 1.6; color: var(--muted); margin-top: .55rem; }
.tour-section { background: #f3f6fa; border-block: 1px solid var(--line); }
.tour-grid { display: grid; grid-template-columns: minmax(13rem, 1fr) 2.7fr; gap: 2rem; margin-top: 2rem; align-items: start; }
.choices { display: grid; gap: .25rem; }
.choices a { padding: 1rem; font-weight: 550; border-left: 3px solid transparent; }
.choices a:hover { background: #ebf0f7; }
.choices [aria-current="true"] { background: #e3ebfa; border-color: var(--blue); color: #1947aa; }
.screen { background: white; border: 1px solid var(--line); }
.screen a { display: grid; aspect-ratio: 1.6; background: #e9edf2; }
.screen img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.screen figcaption { padding: 1rem 1.25rem; line-height: 1.5; color: var(--muted); }
.format-section { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.format-section dl > div { display: grid; grid-template-columns: 4.2rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.format-section dt { font: bold 1rem var(--mono); color: var(--blue); padding-top: .22rem; }
.format-section dd { margin: 0; }
.comparison-section { border-top: 1px solid var(--line); background: #f3f6fa; }
.comparison-section h2 { margin: 0; }
.comparison-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-top: 1.6rem; background: white; line-height: 1.5; }
.comparison-table th, .comparison-table td { padding: clamp(.6rem, 1.6vw, 1.25rem); border: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.comparison-table thead th { background: #1e3c5a; color: white; }
.comparison-table tbody th { background: #f8fbff; }
.comparison-table td { color: var(--muted); }
.comparison-table strong { color: var(--ink); }
.comparison-link { color: var(--blue); text-decoration: underline; text-underline-offset: .2em; }
.package-grid + .comparison-link { display: inline-block; margin-top: 1rem; }
.comparison-table .comparison-link { display: inline-block; margin-top: .35rem; }
footer { border-top: 1px solid var(--line); }
footer .wrap { min-height: 5rem; }
footer .brand { font-size: 1.15rem; }
@media (max-width: 60rem) {
  .wrap { width: 91%; } .hero-grid { gap: 1.75rem; }
  .plate figcaption strong { width: 100%; }
}
@media (max-width: 44rem) {
  .nav { flex-wrap: wrap; gap: 0; padding-top: .8rem; } .nav nav { order: 3; width: 100%; flex-wrap: wrap; justify-content: space-between; gap: .4rem .8rem; padding: .85rem 0; }
  footer .wrap { flex-wrap: wrap; gap: .7rem 1rem; padding-block: 1rem; }
  .nav nav a { font-size: .88rem; } .brand { font-size: 1.32rem; }
  .hero-grid, .tools-grid, .tour-grid, .format-section, .package-grid { grid-template-columns: 1fr; }
  .hub-body { grid-template: "center center" auto "write draw" auto "mark data" auto / repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .hub-leaders { display: none; }
  .hub-center { width: 12rem; margin-bottom: .5rem; }
  .hub-node { align-self: stretch; }
  .catalog-panel { grid-template-columns: 1fr; }
  .catalog-paper { border-left: 0; border-top: 1px solid var(--line); }
  .catalog-switch button { flex: 1 1 0; padding: .45rem .25rem; font-size: .875rem; }
  .hero-grid { gap: 2rem; padding-block: 2.7rem; } h1 { font-size: clamp(3rem, 9.8vw, 4.15rem); }
  .plate { width: min(100%, 32rem); justify-self: center; } .plate figcaption strong { width: auto; }
  .tour-grid { gap: 1rem; } .choices { grid-template-columns: 1fr 1fr; } .choices a { padding: .65rem; }
}
@media (max-width: 28rem) {
  .comparison-table { font-size: .875rem; }
  .comparison-table th, .comparison-table td { padding: .6rem .4rem; }
  .plate figcaption strong { width: 100%; }
  .hub-body { grid-template: "center" auto "write" auto "mark" auto "draw" auto "data" auto / 1fr; gap: .55rem; }
  .hub-node { padding: .55rem .35rem; }
}
