@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/space-grotesk-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/space-grotesk-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/ibm-plex-mono-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #111111;
  --paper: #ffffff;
  --surface: #f7f7f7;
  --line: #e5e5e5;
  --muted: #626262;
  --orange: #ed542d;
  --sans: "Space Grotesk", Arial, sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --display: var(--sans);
  --gutter: clamp(24px, 5vw, 80px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: not-allowed; }
img { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible, summary:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
::selection { background: #dedede; color: #000; }
[hidden] { display: none !important; }
.frame { width: min(1200px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.label { font: 12px/1.6 var(--mono); letter-spacing: .025em; }
.square-dot { display: inline-block; width: 6px; height: 6px; background: currentColor; flex: none; border-radius: 50%; }
.section { padding: 80px 0; }
.section-number { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); margin-bottom: 24px; }
.section-number > span { text-align: right; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.08; letter-spacing: -.055em; }
h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.15; letter-spacing: -.045em; margin-bottom: 22px; }
h3 { font-size: 24px; line-height: 1.25; letter-spacing: -.035em; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 100; background: var(--paper); color: var(--ink); padding: 14px 20px; border: 1px solid var(--ink); border-radius: 6px; }
.skip-link:focus { top: 12px; }

/* Shared navigation. */
.site-header { height: 80px; background: #ffffffed; backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #f0f0f0; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 27px; height: 27px; }
.brand > span { font: 700 21px/1.2 var(--sans); letter-spacing: -.8px; }
.brand-index { font: 12px/1 var(--mono); letter-spacing: 0; color: var(--muted); margin-left: 10px; vertical-align: middle; }
.nav-wrap nav { display: flex; align-items: center; gap: 28px; }
.nav-wrap nav a { font-size: 14px; padding: 12px 0; color: #494949; transition: color .2s; }
.nav-wrap nav a:hover { color: #000; text-decoration: underline; text-underline-offset: 6px; }
.nav-wrap nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.nav-contact { font-size: 13px; line-height: 1.4; padding: 10px 15px; min-height: 42px; border: 1px solid #d3d3d3; border-radius: 5px; display: inline-flex; align-items: center; gap: 18px; transition: background .2s, border-color .2s; }
.nav-contact:hover { background: var(--surface); border-color: #999; }
.nav-contact > span { font-size: 19px; line-height: 1; }
.nav-contact > .nav-label, .nav-contact > .nav-short { font-size: inherit; line-height: inherit; }
.nav-short { display: none; }
.menu-toggle { display: none; }

/* Controls share a readable type scale on every page. */
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; padding: 13px 18px; min-height: 48px; border: 1px solid var(--ink); border-radius: 5px; font: 14px/1.4 var(--sans); transition: background .18s, border-color .18s, transform .18s; }
.button > span:not(.buy-label) { font: 20px/1 var(--sans); transition: transform .18s; }
.button:hover:not(:disabled) > span:not(.buy-label) { transform: translate(2px, -2px); }
.button-dark, .buy-button { background: var(--ink); color: var(--paper); }
.button-dark:hover:not(:disabled), .buy-button:hover { background: #303030; border-color: #303030; }
.button-outline { background: var(--paper); color: var(--ink); border-color: #ccc; }
.button-outline:hover { background: var(--surface); border-color: #999; }
.button:disabled { background: #ededed; color: #666; border-color: #ededed; }
.button-full { width: 100%; margin-top: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding: 6px 0; background: transparent; border: 0; font-size: 14px; text-decoration: underline; text-decoration-color: #bfbfbf; text-underline-offset: 5px; }
.text-link span { font-size: 18px; flex: none; }
.text-link:hover { text-decoration-color: var(--ink); }

/* Quiet, white footer. */
.site-footer { background: var(--paper); color: var(--ink); padding: 36px 0 28px; border-top: 1px solid var(--line); }
body:has(.chat-launcher) .site-footer { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 26px; padding-bottom: 28px; }
.footer-top > .label { color: var(--muted); font-size: 12px; }
.footer-top > div { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-link { background: transparent; border: 0; padding: 8px 0; font-size: 13px; color: var(--muted); }
.footer-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 12px; padding-top: 22px; border-top: 1px solid var(--line); }

/* Order previews and information dialogs. */
/* Right-side drawer: slides in from the edge rather than a centred modal */
dialog {
  position: fixed;
  width: min(520px, 100%);
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  inset: 0 0 0 auto;
  margin: 0;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: -18px 0 60px #00000014;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.32,.72,0,1), overlay .32s allow-discrete, display .32s allow-discrete;
}
dialog[open] { transform: translateX(0); }
@starting-style { dialog[open] { transform: translateX(100%); } }
dialog::backdrop { opacity: 0; transition: opacity .32s, overlay .32s allow-discrete, display .32s allow-discrete; }
dialog[open]::backdrop { opacity: 1; }
@starting-style { dialog[open]::backdrop { opacity: 0; } }
@media (max-width: 620px) { dialog { width: 100%; border-left: 0; } }
@media (prefers-reduced-motion: reduce) { dialog, dialog::backdrop { transition: none; } }
dialog::backdrop { background: #0005; backdrop-filter: blur(4px); }
body:has(dialog[open]) { overflow: hidden; }
.dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 28px; background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 1; }
.dialog-top .label { font-size: 12px; color: var(--muted); }
.dialog-close { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 4px; background: var(--surface); color: var(--ink); font: 26px/1 var(--sans); }
.dialog-close:hover { background: #eaeaea; }
/* Email choices stay in the browser until the visitor chooses a mail service. */
.email-contact-dialog {
  width: min(480px, calc(100% - 32px));
  height: fit-content;
  max-height: calc(100dvh - 32px);
  inset: 0;
  margin: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 24px 80px #0002;
  transform: none;
  transition: none;
}
.email-contact-dialog[open] { transform: none; }
.email-contact-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.email-contact-heading .label { color: var(--muted); font-size: 11px; margin: 0; }
.email-contact-dialog h2 { font-size: 28px; margin: 0 0 12px; }
.email-contact-dialog > p { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 24px; }
.email-contact-dialog > label { display: block; font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.email-contact-address { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.email-contact-address input { min-width: 0; width: 100%; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 5px; padding: 12px; font-size: 14px; }
.email-contact-address input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.email-contact-address .button { justify-content: center; padding: 10px 12px; font-size: 13px; }
.email-contact-dialog > .email-contact-status { min-height: 20px; margin: 8px 0 20px; font-size: 12px; }
.email-contact-actions { display: grid; gap: 10px; }
@media (max-width: 400px) { .email-contact-dialog { padding: 20px; } .email-contact-address input { padding-inline: 8px; font-size: 13px; } }
.dialog-body { padding: 28px; }
.dialog-body > .label { color: var(--muted); margin-bottom: 10px; }
.dialog-body > h2 { font-size: 32px; margin: 0 0 14px; }
.dialog-body > p:not(.label) { font-size: 14px; line-height: 1.75; color: var(--muted); }
.dialog-body > label { display: block; font-size: 13px; margin: 22px 0 9px; }
.dialog-body select { border: 1px solid #ccc; background: var(--paper); border-radius: 5px; width: 100%; height: 48px; color: var(--ink); padding: 0 12px; font-size: 14px; }
.dialog-price { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); padding: 24px 0; margin-bottom: 20px; }
.dialog-price .label { color: var(--muted); }
.dialog-price strong { font-size: 28px; font-weight: 400; letter-spacing: -.04em; }
.dialog-price strong.price-pending { font-size: 23px; }
.configuration-care { padding: 14px 16px; border-radius: 5px; background: var(--surface); }
.notice { padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; margin: 24px 0; }
.notice strong { font-size: 14px; }
.notice p { margin: 6px 0 0; font-size: 13px; line-height: 1.7; color: var(--muted); }
.dialog-body .small-text { font-size: 12px; min-height: 18px; margin-bottom: 0; }
.sandbox-checkout { margin-top: 24px; border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.sandbox-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sandbox-heading h3 { font-size: 20px; letter-spacing: -.03em; margin: 0; }
.sandbox-badge { font: 12px/1.5 var(--mono); border: 1px solid var(--line); border-radius: 4px; padding: 4px 7px; }
.sandbox-checkout p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 14px 0; }
.payment-methods { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.payment-methods span { border-radius: 4px; background: var(--surface); padding: 7px 10px; font-size: 13px; }
.sandbox-total { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.sandbox-total small { display: block; font-size: 12px; line-height: 1.6; color: var(--muted); margin-top: 3px; }
.sandbox-total strong { font-size: 25px; font-weight: 500; white-space: nowrap; }
.sandbox-checkout .checkout-help { font-size: 12px; margin-bottom: 0; }
.sandbox-checkout .checkout-error { color: #a12c20; font-size: 14px; }
.checkout-error:empty { display: none; }
.receipt-notice { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 18px; }
.receipt-notice strong { font-size: 14px; font-weight: 700; }
.receipt-notice p { margin: 8px 0 0; }
.configuration-details { font-size: 14px; line-height: 1.75; margin-bottom: 20px; }
.configuration-details summary { cursor: pointer; font-weight: 500; }
.configuration-details p { color: var(--muted); }
#legal-content { font-size: 14px; line-height: 1.8; color: var(--muted); }
#legal-content a { text-decoration: underline; color: var(--ink); }
#legal-content strong { color: var(--ink); }
#legal-content ul { padding-left: 18px; }
#legal-content li { margin: 9px 0; }
.noscript-note { padding: 20px; background: var(--surface); font-size: 14px; text-align: center; }

/* Supporting specification and company pages. */
.document-header { padding: 64px 0 42px; }
.document-header > .label { color: var(--muted); margin-bottom: 24px; }
.document-header h1 { margin-bottom: 28px; max-width: 1000px; }
.document-header > .lead { max-width: 800px; font-size: 17px; line-height: 1.75; color: var(--muted); }
.document-status { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 5px; background: var(--surface); font: 12px/1.6 var(--mono); }
.document-section { padding: 40px 0; border-top: 1px solid var(--line); }
.document-section h2 { font-size: 30px; margin-bottom: 24px; }
.document-section p, .document-section li { font-size: 15px; line-height: 1.8; color: var(--muted); }
.document-section p:last-child { margin-bottom: 0; }
.document-section a { color: var(--ink); text-decoration: underline; text-decoration-color: #ccc; text-underline-offset: 3px; }
.document-section .button { text-decoration: none; }
.document-section .button-dark { color: var(--paper); }
.document-footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.hardware-summary { display: grid; grid-template-columns: 1.35fr 1fr; align-items: start; gap: 50px; }
.hardware-summary aside { padding: 28px; border-radius: 8px; background: var(--surface); }
.hardware-summary aside .label { display: block; margin-bottom: 14px; }
.hardware-table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 8px; }
.hardware-table { width: 100%; border-collapse: collapse; min-width: 680px; font-size: 14px; line-height: 1.75; }
.hardware-table th, .hardware-table td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 18px; }
.hardware-table th { font: 12px/1.6 var(--mono); background: var(--surface); }
.hardware-table td:first-child { width: 16%; font-weight: 700; }
.hardware-table td:nth-child(2) { width: 40%; }
.hardware-table td:last-child { color: var(--muted); }
.hardware-table tr:last-child td { border-bottom: 0; }
.hardware-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 28px; }
.hardware-gallery figure { margin: 0; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; background: var(--surface); display: flex; flex-direction: column; }
.hardware-gallery img { height: 190px; width: 100%; object-fit: contain; padding: 18px; }
.hardware-gallery figure.dark-photo img { padding: 0; object-fit: cover; background: #111; }
.hardware-gallery figcaption { padding: 18px; border-top: 1px solid var(--line); margin-top: auto; background: var(--paper); }
.hardware-gallery figcaption strong { display: block; font-size: 14px; line-height: 1.6; font-weight: 400; }
.hardware-gallery figcaption a { display: inline-block; font-size: 12px; margin-top: 8px; color: var(--muted); }
.document-note { font-size: 13px !important; margin-top: 18px; color: var(--muted); }
.source-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 36px; margin-top: 24px; }
.source-list a { font-size: 14px; line-height: 1.7; }
.document-actions { display: flex; gap: 16px; margin: 32px 0 50px; flex-wrap: wrap; }
.brief-range { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-bottom: 24px; }
.brief-range > div { background: var(--surface); border-radius: 8px; padding: 28px; }
.brief-range h3 { margin-bottom: 16px; }
.hardware-table-wrap + .hardware-summary { margin-top: 40px; }
.brief-footer { padding: 24px 0; font-size: 12px; color: var(--muted); }

@media (max-width: 1000px) {
  .nav-wrap { gap: 18px; }
  .nav-wrap nav { gap: 20px; }
  .nav-wrap nav a { font-size: 13px; }
  .brand-index { display: none; }
  .footer-top > .label { display: none; }
  .hardware-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  :root { --gutter: 24px; }
  .site-header { height: 68px; }
  .nav-wrap { gap: 12px; }
  .brand > span { font-size: 20px; }
  .brand img { width: 25px; height: 25px; }
  .nav-wrap nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--paper); padding: 16px var(--gutter) 24px; border-bottom: 1px solid var(--line); box-shadow: 0 10px 18px #00000005; }
  .nav-wrap nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .nav-wrap nav a { font-size: 16px; padding: 12px 0; }
  .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 40px; height: 40px; border: 1px solid var(--line); background: var(--paper); border-radius: 5px; flex: none; }
  .menu-toggle span { display: block; width: 16px; height: 1px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .landing-page .nav-contact { display: none; }
  .content-page .nav-contact { margin-left: auto; }
  .content-page .nav-label { display: none; }
  .content-page .nav-short { display: inline; }
  .nav-contact { font-size: 12px; gap: 10px; padding: 10px 12px; }
  .section { padding: 56px 0; }
  .section-number { align-items: start; font-size: 12px; gap: 18px; }
  .section-number > span { max-width: 46%; }
  .footer-top { align-items: start; flex-direction: column; gap: 16px; padding-bottom: 20px; }
  .footer-bottom { flex-direction: column; gap: 8px; font-size: 12px; }
  .dialog-top { padding: 12px 20px; }
  .dialog-body { padding: 24px 20px; }
  .dialog-body > h2 { font-size: 28px; }
  .dialog-body select { font-size: 14px; padding-left: 10px; }
  .document-header { padding: 40px 0 32px; }
  .document-header > .lead { font-size: 16px; }
  .document-header > .label, .document-status { font-size: 12px; }
  .document-section { padding: 32px 0; }
  .document-section h2 { font-size: 27px; }
  .hardware-summary, .brief-range { grid-template-columns: 1fr; gap: 24px; }
  .hardware-gallery { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hardware-gallery img { height: 170px; padding: 12px; }
  .hardware-gallery figcaption { padding: 15px; }
  .source-list { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 380px) {
  :root { --gutter: 20px; }
  .brand { gap: 7px; }
  .brand > span { font-size: 18px; }
  .nav-contact { font-size: 12px; padding: 9px; gap: 7px; }
  .hardware-gallery { grid-template-columns: 1fr; }
  .document-actions .button { width: 100%; font-size: 13px; }
  .dialog-price { align-items: start; flex-direction: column; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .site-footer, .document-actions, .hardware-gallery { display: none; }
  .frame { width: 100%; max-width: none; }
  body { background: white; color: black; font-family: Arial, sans-serif; }
  .document-header { padding-top: 15px; }
  .document-header h1 { font-size: 36px; }
  .document-section { padding: 20px 0; }
  .document-section h2 { font-size: 24px; }
  .hardware-table { min-width: 0; font-size: 12px; }
  .hardware-table th, .hardware-table td { padding: 10px; }
  .hardware-summary, .brief-range { break-inside: avoid; }
  .document-section p, .document-section li, .document-header > .lead { font-size: 12px; }
  .source-list { gap: 8px; }
  .source-list a { font-size: 12px; }
}
