:root { --ice: var(--sand);
  --sea: var(--copper-deep);
  --hair: var(--rule);
  --faint: var(--sand);
  --warm: #e4d9b9;
  --shell: 1180px; }
[hidden] { display: none !important; }
body { background: var(--paper); min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
main { flex: 1; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.mast { background: var(--paper); }
.mast-inner, .mast nav, .wordmark, .mast nav a, .primary, .back, .mast-footer .shell { display: flex; align-items: center; }
.mast-inner { flex-wrap: wrap; justify-content: space-between; gap: 0 12px; min-height: 66px; padding-block: 8px; }
.wordmark, .mast nav a { white-space: nowrap; }
.wordmark { gap: 8px; font-family: var(--display); font-weight: 500; letter-spacing: -.01em; font-size: 21px; text-decoration: none; min-height: 44px; }
.wordmark img { width: 30px; height: 30px; }
.mast nav { gap: 0 clamp(14px, 1.8vw, 28px); }
.mast nav a, .mast-footer a { min-height: 44px; font-size: 15px; font-weight: 500; text-decoration: none; }
.mast nav .current { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .4em; }
.mast-contact { gap: 5px; }
a:hover { color: var(--link-hover, var(--copper-deep)); }
.hero { display: grid; gap: 28px; padding-block: 24px 40px; }
.hero h1 { font-size: var(--t-hero); line-height: 1; max-width: 9ch; }
.hero h1 span { color: var(--copper); }
.hero-text > p { color: var(--muted); max-width: 38ch; font-size: var(--t-lead); line-height: 1.5; margin: 18px 0 24px; }
.primary, .action { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 14px 22px; background: var(--copper); color: #fff; border: 1px solid var(--copper); border-radius: var(--radius-s); text-decoration: none; font-weight: 600; font-size: 16px; line-height: 1.2; cursor: pointer; }
.primary:hover, .action:hover { background: var(--copper-deep); border-color: var(--copper-deep); color: #fff; }
.feature { display: flex; flex-direction: column; align-self: stretch; overflow: hidden; background: var(--ice); color: var(--ink); border-radius: var(--radius); text-decoration: none; box-shadow: var(--lift); }
.feature-scene { position: relative; isolation: isolate; flex: 1; min-height: 165px; overflow: hidden; background: linear-gradient(115deg, #d9e6e7ab, #ccdce16b), url('/assets/glacier-still.webp') center 74% / cover; }
.feature-ticket { position: absolute; top: 48%; left: 42%; transform: translate(-50%, -50%) rotate(-10deg); width: 142px; padding: 11px 15px 18px; background: #fffdf4; box-shadow: 3px 6px 18px #152e3e32; color: #27392f; }
.feature-ticket::after { content: ''; position: absolute; inset: auto 0 -5px; height: 6px; background: linear-gradient(135deg, #fffdf4 33%, transparent 34%) 0 0/10px 10px, linear-gradient(225deg, #fffdf4 33%, transparent 34%) 0 0/10px 10px; }
.feature-ticket b, .feature-ticket span, .feature-ticket small { display: block; }
.feature-ticket b { font-size: 24px; font-weight: 500; line-height: 1; letter-spacing:-.02em; }
.feature-ticket small, .feature-ticket span { font-size: 13px; }
.feature-ticket span { margin-top: 3px; }
.receipt-flower { line-height: 1; font-size: 26px; }
.ticket-rule { border-top: 1px dashed #738277; margin: 7px 0; }
.feature-ticket strong { display: flex; justify-content: space-between; font-size: 14px; }
.feature-ticket i { font-style: normal; }
.scan-beam { position: absolute; top: 57%; left: 14%; width: 55%; height: 2px; background: var(--copper); box-shadow: 0 -5px 12px 4px #9dd5d6a1; }
.feature-field { position: absolute; right: 7%; top: 59%; background: var(--ink); color: white; padding: 8px 13px; line-height: 1; box-shadow: 1px 4px 10px #20344026; }
.feature-field span { display: block; font-size: 13px; color: var(--on-dark-muted); margin-bottom: 6px; }
.feature-field b { font-size: 25px; font-weight: 450; letter-spacing:-.02em; }
.feature-field small { font-size: 13px; }
.feature-caption, .service-name, .service-foot, .demo-heading, .demo-foot, .section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.feature-caption { background: var(--ink); color: white; padding: 12px 16px; }
.feature-caption strong { display: block; font-size: 18px; font-weight: 600; color: #fff; }
.eyebrow, .sample-label { color: var(--muted); font-size: 13px; font-weight: 500; }
.feature-caption .eyebrow { color: var(--on-dark-muted); }
.round-arrow, .open-mark { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border: 1px solid var(--rule-strong); border-radius: 50%; font-size: 20px; }
.catalog-section { background: var(--sand); padding-block: 40px 56px; }
.section-head { flex-wrap: wrap; gap: 6px 16px; align-items: baseline; margin-bottom: 24px; }
.section-head h2 { font-size: var(--t-h2); line-height: 1.1; }
.section-head p, .audience, .service-foot, .subtle { color: var(--muted); font-size: 14px; }
.cards { display: grid; gap: 16px; }
.service { position: relative; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 12px 12px 6px; display: flex; flex-direction: column; min-width: 0; }
.demo-link { display: block; text-decoration: none; border-radius: 4px; }
.demo-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.service-foot a { position: relative; z-index: 1; }
.plate { display: grid; place-items: center; border-radius: var(--radius-s); background-color: var(--sand); background-image: radial-gradient(#cdc4b2 0.7px, transparent 0.8px); background-size: 9px 9px; }
.plate svg { width: 100%; height: 90px; stroke: var(--ink); stroke-linejoin: round; stroke-linecap: round; stroke-width: 2; fill: none; }
.plate .sheet { fill: var(--card); }
.plate .dark { fill: var(--ink); }
.plate .fill { fill: #ddd4c2; }
.plate .light { stroke: white; }
.plate .accent { stroke: var(--copper); stroke-width: 3; }
.plate .wave { stroke-width: 3.7; }
.plate-read, .plate-review { background-color: var(--copper-soft); }
.plate-build, .plate-know { background-color: var(--sand); }
.service-name { padding: 14px 6px 0; }
.service-name h3 { font-family: var(--display); font-size: 30px; line-height: 1.08; font-weight: 500; letter-spacing: -.02em; }
.open-mark { width: 32px; height: 32px; font-size: 18px; color: var(--copper-deep); }
.demo-link:hover .open-mark, .demo-link:focus-visible .open-mark { background: var(--copper); border-color: var(--copper); color: #fff; }
.promise { padding: 8px 6px 0; font-size: 17px; line-height: 1.45; }
.audience { padding: 6px 6px 14px; }
.service-foot { margin: auto 6px 0; padding-top: 2px; border-top: 1px solid var(--rule); font-size: 14px; }
.service-foot a, .back { display: inline-flex; align-items: center; min-height: 44px; color: var(--copper-deep); font-weight: 600; }
.mast-footer { --link-line: rgba(245, 241, 232, .45); --link-hover: #fff; background: var(--ink); color: var(--on-dark); }
.mast-footer .shell { flex-wrap: wrap; gap: 4px 24px; padding-block: 32px calc(32px + env(safe-area-inset-bottom, 0px)); }
.mast-footer a { display: inline-flex; align-items: center; }
.mast-footer .wordmark { margin-right: auto; font-size: 21px; }
.mast-footer :focus-visible { outline-color: var(--glow); }
@media (min-width: 600px) {
  .shell { width: min(calc(100% - 2 * var(--pad)), var(--shell)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; padding-block: clamp(40px, 5vw, 74px); }
  .hero-text > p { margin-block: 24px; }
  .feature-scene { min-height: 235px; }
  .feature-ticket { width: 174px; padding: 18px 22px; }
  .feature-ticket b { font-size: 30px; }
  .feature-caption { padding: 15px 22px; }
  .feature-field { padding: 13px 18px; }
  .catalog-section { padding-block: 42px 68px; }
}
@media (min-width: 1000px) {
  .mast-inner { min-height: 76px; }
  .mast-contact { border: 1px solid var(--rule-strong); padding-inline: 14px; border-radius: var(--radius-s); }
  .hero { grid-template-columns: 1fr .95fr; }
  .feature-ticket { width: 202px; padding: 21px 24px; }
  .feature-ticket b { font-size: 33px; }
  .receipt-flower { font-size: 33px; }
  .ticket-rule { margin-block: 12px; }
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .plate svg { height: 102px; }
  .section-head { margin-bottom: 26px; }
}
@media (max-width: 360px) {
  .mast-inner { flex-wrap: wrap; justify-content: space-between; gap: 0 8px; }
  .mast nav { flex-wrap: wrap; gap: 8px; }
}
@media (prefers-reduced-motion: no-preference) {
  .round-arrow, .open-mark { transition: transform 160ms ease, background-color 160ms ease; }
  .feature:hover .round-arrow, .demo-link:hover .open-mark { transform: translate(2px, -2px); }
}

/* Each workbench pairs a shop artifact with the controls that change it. */
.demo-view { max-width: 1050px; padding-bottom: 32px; }
.back { font-size: 15px; text-decoration: none; }
.demo-view > .back { margin-block: 12px; }
.demo-heading { align-items: end; flex-wrap: wrap; }
.demo-heading h2 { font-size: var(--t-hero); line-height: 1; margin-top: 6px; }
#demo-title:focus { outline: none; }
.sample-label { display: inline-block; background: var(--card); color: var(--ink); padding: 4px 12px; border: 1px solid var(--rule-strong); border-radius: 999px; white-space: nowrap; }
#demo-intro { margin: 14px 0 24px; color: var(--muted); max-width: 62ch; }
.bench-grid { display: grid; overflow: hidden; border: 1px solid var(--hair); border-radius: var(--radius); background: var(--card); }
.bench-grid > * { min-width: 0; }
.scene-box { display: grid; align-content: center; justify-items: center; padding: 24px 14px; background: radial-gradient(#cdc4b2 .7px, transparent .9px) 0 0/10px 10px, var(--sand); }
.panel { padding: clamp(20px, 3.2vw, 44px); align-self: center; }
.panel h3, .export-sheet h3 { font-family: var(--display); font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; letter-spacing: -.015em; line-height: 1.12; }
.help { font-size: 16px; color: var(--muted); margin: 10px 0 16px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.choice, select { border: 1px solid var(--rule-strong); background: var(--card); border-radius: var(--radius-s); font: inherit; color: var(--ink); font-size: 15px; min-height: 44px; }
.choice { cursor: pointer; padding: 8px 14px; text-align: left; }
.choice:hover, .choice[aria-pressed="true"] { background: var(--copper-soft); border-color: var(--copper); }
.choice[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--copper); }
.field-label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
select { width: 100%; padding: 8px 10px; }
select + .field-label { margin-top: 14px; }
#reply-action, #extraction, #dashboard, #review-prompt:not(:empty) { margin-top: 20px; }
.note, .confirmation, .estimate { margin-top: 20px; padding: 16px; background: var(--sand); border: 1px solid var(--rule); border-radius: var(--radius-s); }
.note b, .confirmation b { display: block; font-weight: 600; }
.note p, .confirmation p { margin-top: 4px; font-size: 16px; }
.demo-foot { margin-top: 18px; flex-wrap: wrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.scanner { position: relative; width: clamp(180px, 50vw, 268px); }
.receipt-art { display: block; width: 100%; transform: rotate(-3deg); filter: drop-shadow(2px 6px 4px #16344024); fill: #293731; font-size: 15px; }
.paper-mark, .vendor { font-size: 30px; font-weight: 500; }
.paper-rule { stroke: #8a9990; fill: none; stroke-dasharray: 4 3; }
.sum { font-weight: 600; font-size: 22px; }
.scanning .reader-line { position: absolute; inset: 10% -5% auto; border-top: 2px solid var(--copper); box-shadow: 0 -6px 10px #86ced3; }
.data-table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 1.35; text-align: left; font-variant-numeric: tabular-nums; }
.data-table th, .data-table td { border-bottom: 1px solid var(--rule); padding: 6px 4px; text-align: left; }
.data-table tbody th { font-weight: 500; }
.data-table caption { text-align: left; margin-bottom: 6px; font-weight: 600; font-size: 16px; }
.file-actions { margin-top: 12px; }
.file-actions summary { margin-top: 5px; width: fit-content; padding-block: 10px; font-size: 15px; color: var(--sea); cursor: pointer; }
.file-actions pre { font: inherit; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.estimate { background: var(--copper-soft); border-color: #dcc3ae; }
.estimate h4 { font-weight: 600; font-size: 18px; margin: 2px 0 10px; }
.estimate .eyebrow { color: var(--copper-deep); }
.estimate label, .range-label { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; font-size: 14px; font-weight: 500; }
input[type="range"] { width: 100%; min-height: 32px; margin: 0; accent-color: var(--sea); cursor: pointer; }
.estimate p, .read-status, .attribution { font-size: 14px; color: var(--muted); }
.device, .call-sheet, .export-sheet, .binder { width: min(100%, 335px); background: var(--card); box-shadow: 1px 5px 16px #0b223012; }
.device { border: 3px solid var(--ink); border-radius: 22px; overflow: hidden; }
.device-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--ink); color: white; padding: 12px 14px; font-size: 14px; font-weight: 600; }
.device-bar span { color: var(--on-dark-muted); font-size: 13px; font-weight: 400; }
.thread { display: grid; gap: 10px; padding: 16px; min-height: 140px; align-content: start; }
.bubble { width: fit-content; max-width: 92%; border-radius: 3px 12px 12px; background: var(--sand); padding: 9px 12px; font-size: 15px; }
.bubble b { font-size: 13px; color: var(--sea); }
.bubble.customer { justify-self: end; border-radius: 12px 3px 12px 12px; background: var(--ink); color: white; }
.bubble.customer b { color: var(--on-dark-muted); }
.compare { width: min(100%, 300px); height: 367px; position: relative; user-select: none; touch-action: pan-y; cursor: ew-resize; }
.compare .device-bar { height: 36px; }
.phone-site { position: absolute; inset: 36px 0 0; padding: 14px 18px; font-size: 14px; }
.phone-site.modern { background: #e7e7d9; color: #273e33; }
.shop-brand { display: flex; align-items: center; justify-content: space-between; font-size: 16px; font-weight: 600; }
.modern strong { text-align: right; display: block; font-size: 38px; line-height: .94; font-weight: 400; letter-spacing:-.02em; margin-top: 10px; }
.pots { width: 100%; height: 112px; display: block; }
.modern > p:not(.shop-brand) { text-align: right; }
.shop-cta { float: right; display: inline-block; margin-top: 9px; padding: 6px 10px; background: #314b3c; color: white; border-radius: 2px; }
.phone-site.old { clip-path: inset(0 calc(100% - var(--split)) 0 0); background: #f4eedf; color: #393830; }
.old b { display: block; font-size: 19px; color: #624432; margin: 14px 0 6px; }
.old-pots { margin: 15px 0; border: 2px solid #a69772; background: #e5d8b9; }
.old-pots .pots { width: 65%; height: 64px; margin: auto; }
.divider { position: absolute; inset: 36px auto 0 var(--split); border-left: 2px solid #0e3545; pointer-events: none; }
.divider i { position: absolute; top: 48%; left: -15px; background: var(--ink); color: white; border: 2px solid white; width: 30px; height: 30px; border-radius: 50%; text-align: center; font-style: normal; }
.stand-scene { padding: 8px 20px 12px; }
.tap-stand { position: relative; isolation: isolate; display: grid; justify-items: center; gap: 6px; padding: 24px 20px 18px; min-width: 180px; color: #2d3d32; background: #f4f1df; border: 1px solid #a7ad9f; border-radius: 5px 5px 0 0; transform: rotate(-3deg); box-shadow: 10px 6px 0 #b9bcae, 14px 13px 9px #17334121; }
.stand-mark { font-size: 35px; line-height: 1; }
.tap-stand > b, .binder-heading b { font-size: 29px; font-weight: 450; letter-spacing:-.02em; }
.tap-stand > span:not(.stand-mark) { font-size: 14px; }
.tap-target { display: grid; justify-items: center; margin-top: 8px; padding: 8px 20px; background: #294639; color: white; border: 0; border-radius: 5px; font-size: 14px; cursor: pointer; }
.tap-target svg { width: 45px; height: 30px; }
fieldset { padding: 0; margin: 0; border: 0; }
legend { margin-bottom: 8px; font-weight: 600; }
.ratings { display: flex; gap: 5px; flex-wrap: wrap; }
.ratings label { position: relative; }
.ratings input { position: absolute; opacity: 0; }
.ratings span { display: grid; place-items: center; width: 44px; height: 44px; background: var(--card); border: 1px solid var(--rule-strong); border-radius: var(--radius-s); cursor: pointer; }
.ratings input:checked + span { background: var(--ink); color: white; }
.ratings input:focus-visible + span { outline: 2px solid var(--sea); outline-offset: 2px; }
.action:disabled { background: var(--sand); color: var(--muted); border-color: var(--rule); cursor: default; }
.binder, .export-sheet { padding: 18px; border: 1px solid var(--rule); border-radius: 3px; }
.binder { border-left: 6px solid #49675c; background: #fafbf5; }
.binder-heading { display: flex; flex-direction: column; padding-bottom: 12px; }
.binder-heading span, .source p { font-size: 14px; color: var(--muted); }
.source { border-top: 1px solid var(--rule); padding: 8px 5px; }
.source b { font-size: 14px; }
.source.cited { background: #dce9df; }
#knowledge .attribution { padding-top: 10px; border-top: 1px solid var(--rule); margin-top: 10px; font-size: 14px; }
.export-sheet caption { margin-top: 10px; font-size: 14px; font-weight: 400; color: var(--muted); }
.export-sheet td { white-space: pre; }
.dashboard { padding: 18px; background: var(--sand); border-radius: var(--radius-s); margin-bottom: 14px; }
.dashboard strong { display: block; font-family: var(--display); font-size: 34px; letter-spacing: -.02em; font-weight: 500; line-height: 1.15; }
.dashboard p { font-size: 14px; }
.bars { display: grid; gap: 7px; margin-block: 15px; }
.bars > div { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; font-size: 14px; }
.bars i { background: linear-gradient(to right, var(--copper) var(--bar), var(--rule) var(--bar)); height: 9px; border-radius: 2px; }
.bars b { font-variant-numeric: tabular-nums; font-weight: 500; }
.call-sheet { border: 1px solid var(--hair); border-radius: var(--radius); overflow: hidden; }
.call-wave { background: var(--sand); border-bottom: 1px solid var(--hair); }
.call-wave svg { display: block; width: 100%; height: 72px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.gallery-link { padding-top: 16px; margin-top: 20px; border-top: 1px solid var(--rule); }
@media (min-width: 760px) {
  .bench-grid { grid-template-columns: 1.05fr 1fr; min-height: 390px; }
  .scene-box { padding: 36px 25px; }
  .demo-view > .back { margin-block: 18px; }
}
@media (prefers-reduced-motion: no-preference) {
  .scanning .reader-line { animation: scan 650ms ease both; }
  .tapped .tap-target { animation: tap 480ms ease-out; }
  #extraction tbody tr { animation: field-in 180ms ease-out both; }
  #extraction tbody tr:nth-child(n + 3) { animation-delay: 70ms; }
  #extraction tbody tr:nth-last-child(-n + 2) { animation-delay: 140ms; }
  @keyframes field-in { from { background-color: var(--copper-soft); } to { background-color: transparent; } }
  @keyframes scan { from { top: 8%; } to { top: 90%; } }
  @keyframes tap { 50% { box-shadow: 0 0 0 10px #526f600f, 0 0 0 4px #526f6040; } }
}

@media (max-width: 759px) {
  .bench-grid:has(.binder) .panel { grid-row: 1; }
  #thread { max-height: 270px; overflow-y: auto; }
}

.shop-sheet { width: min(100%, 350px); padding: 22px; background: var(--card); border: 1px solid var(--rule); box-shadow: 2px 5px 15px #16344010; }
.shop-sheet h3 { margin: 7px 0 16px; font-family: var(--display); font-size: 28px; font-weight: 500; line-height: 1.1; letter-spacing: -.02em; }
#reference-photo img { width: 100%; height: 190px; display: block; object-fit: cover; }
#reference-photo figcaption, .opening-list small { color: var(--muted); font-size: 14px; }
#reference-photo figcaption { margin-top: 9px; }
.panel select + .action, #callback-action, #reply-editor, .fix-list, .panel select + .range-label { margin-top: 18px; }
.listing-data > div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-top: 1px solid var(--rule); padding-block: 10px; font-size: 15px; }
.listing-data dt { color: var(--muted); }
.listing-data dd { font-weight: 600; overflow-wrap: anywhere; }
.fix-list label { display: flex; align-items: center; gap: 10px; padding-block: 8px; cursor: pointer; }
.fix-list input { width: 19px; height: 19px; accent-color: var(--sea); flex: none; }
.fix-list small, .opening-list span, .opening-list small { display: block; }
.fix-list small { color: var(--muted); }
#review-body { margin: 10px 0 0; font-size: 20px; line-height: 1.35; }
#review-text { width: 100%; resize: vertical; min-height: 120px; padding: 10px; border: 1px solid var(--rule-strong); border-radius: var(--radius-s); font: inherit; color: var(--ink); background: var(--card); }
.opening-list { list-style: none; padding: 0; margin: 0; }
.opening-list li { padding-block: 10px; border-top: 1px solid var(--rule); }
.opening-list .choice { margin-top: 8px; }
.plate-quote, .plate-restock { background-color: var(--copper-soft); }
.plate-list, .plate-prospect { background-color: var(--sand); }
