/* A small open-source hardware project: compact reading, useful comparisons. */
.product-site {
  --bg: #fff; --paper: #fff; --ink: #252724; --muted: #62655f;
  --primary: #303930; --primary-deep: #192219; --line: #dfe1dc; --tint: #f4f5f1;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --fs-md: 16px; --fs-h2: clamp(27px, 3vw, 34px);
  font-family: var(--font-sans);
}
.product-site .shell { width: min(1120px, calc(100% - 80px)); }
.product-site .topbar { min-height: 80px; border-bottom: 1px solid var(--line); gap: 24px; }
.product-site .brand { font-size: 19px; letter-spacing: -.5px; }
.product-site .mark { width: 26px; height: 26px; border-radius: 5px; box-shadow: none; }
.product-site nav { gap: 24px; }
.product-site nav a { color: var(--muted); font-size: 14px; font-weight: 400; }
.product-site nav a:hover, .product-site nav a.is-active { color: var(--ink); }
.product-site .lang-switch { background: none; padding: 0; border-radius: 0; }
.product-site .lang-switch button { min-width: 32px; font-weight: 400; border-radius: 2px; }
.product-site .lang-switch button[aria-pressed="true"] { box-shadow: none; background: var(--tint); color: var(--ink); }
.product-site .hero { display: grid; grid-template-columns: .82fr 1.18fr; gap: 24px 56px; align-items: start; padding-block: 54px 26px; }
.hero-intro { padding-top: 32px; min-width: 0; }
.product-site .eyebrow { font-family: var(--font-sans); text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--muted); font-weight: 400; }
.product-site .hero-eyebrow { margin-bottom: 20px; display: block; }
.product-site .hero h1 { font-size: clamp(35px, 3.6vw, 45px); font-weight: 600; line-height: 1.1; letter-spacing: -.04em; }
.product-site .hero-copy { margin-top: 24px; font-size: 16px; line-height: 1.65; color: var(--muted); }
.product-site .hero-actions { margin-top: 28px; gap: 20px; }
.product-site .hero-actions .text-link { font-weight: 400; }
.product-site .button { border-radius: 5px; min-height: 44px; padding: 11px 16px; font-size: 14px; font-weight: 500; }
.product-site .button:hover { transform: none; }
.product-site .button.secondary { background: transparent; border-color: #bdc3b9; }
.product-site .text-link { font-size: 14px; }
.product-site .hero-note { font-size: 12px; margin-top: 18px; }
.product-site .hero-visual { padding: 0; background: transparent; border: 0; border-radius: 0; transform: none; overflow: visible; }
.product-site .product-photo { position: relative; background: #f4f1ec; border-radius: 4px; }
.product-site .product-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.product-controls { display: grid; grid-template-columns: 1.1fr 1fr; column-gap: 28px; padding-top: 20px; }
.product-kicker { margin: 0 0 8px; display: block; color: var(--muted); font-size: 12px; }
.product-controls > .product-kicker { grid-column: 1; }
.model-switch { grid-column: 1; display: flex; gap: 16px; }
.model-switch button { border: 0; padding: 8px 0; background: none; color: var(--muted); border-bottom: 2px solid transparent; cursor: pointer; font: 500 14px var(--font-sans); min-height: 44px; white-space: nowrap; }
.model-switch button span { display: block; font-size: 11px; font-weight: 400; margin-top: 3px; }
.model-switch button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.product-options { grid-column: 2; grid-row: 1 / 3; }
#product-name { margin: 0; font-size: 12px; color: var(--muted); }
.swatches { display: flex; gap: 2px; margin-top: 4px; }
.swatch { width: 36px; height: 38px; display: grid; place-items: center; padding: 0; background: none; border: 1px solid transparent; border-radius: 50%; cursor: pointer; }
.swatch::after { content: ''; width: 24px; height: 24px; border-radius: 50%; border: 1px solid #0002; }
.swatch.blue::after { background: #2462c0; }
.swatch.graphite::after { background: #3b3e3b; }
.swatch.terracotta::after { background: #bd755b; }
.swatch[aria-pressed="true"] { border-color: var(--ink); }
.swatch:hover { background: var(--tint); }
.product-specs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 16px 0 8px; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.product-specs > div { display: flex; gap: 8px; }
.product-specs dd { margin: 0; color: var(--ink); }
.product-controls .product-more { display: none; }
.render-note { color: var(--muted); font-size: 11px; line-height: 1.5; }
.product-controls .render-note { grid-column: 1 / -1; margin: 0; }
.image-loading { position: absolute; bottom: 12px; left: 12px; background: white; padding: 6px 10px; border-radius: 3px; font-size: 12px; }
#product-error { color: #a02a20; }
.product-facts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 12px; color: var(--muted); padding-top: 12px; }
.product-facts a { color: inherit; }
.product-site .provider-band { padding-block: 18px; gap: 20px; margin-bottom: 0; }
.product-site .provider-band > a { display: none; }
.product-site .provider-band > p { font-size: 12px; }
.product-site .providers { gap: 15px 24px; }
.product-site .provider { font-size: 13px; font-weight: 400; letter-spacing: 0; }
.product-site .provider-mark { width: 16px; height: 16px; }
.product-site .section { padding-block: 64px; }
.product-site h2 { font-weight: 600; line-height: 1.2; letter-spacing: -.03em; }
.product-site h3 { letter-spacing: -.02em; }
.display-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.display-explanation > p:not(.eyebrow) { font-size: 16px; color: var(--muted); line-height: 1.6; }
.display-notes { margin: 28px 0 0; }
.display-notes > div { border-top: 1px solid var(--line); padding-block: 14px; }
.display-notes dt { font-size: 14px; font-weight: 600; margin-bottom: 5px; }
.display-notes dd { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.firmware-detail { margin: 0; }
.firmware-detail img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: 3px; }
.firmware-detail figcaption { margin-top: 12px; font-size: 11px; color: var(--muted); }
.cyd-layouts { margin-top: 44px; padding: 28px; background: var(--tint); display: grid; grid-template-columns: 1fr 220px 125px; gap: 36px; align-items: center; }
.cyd-layouts h3 { font-size: 20px; margin: 0 0 10px; }
.cyd-layouts p { margin: 0; color: var(--muted); font-size: 14px; max-width: 42ch; line-height: 1.6; }
.cyd-layouts figure { margin: 0; }
.cyd-layouts img { display: block; width: 100%; height: auto; border: 5px solid #30332d; border-radius: 3px; }
.cyd-layouts figcaption { color: var(--muted); margin-top: 8px; font-size: 11px; }
.desk-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.desk-pair figure { margin: 0; }
.desk-pair img { width: 100%; height: auto; display: block; border-radius: 3px; }
.desk-pair figcaption { color: var(--muted); font-size: 13px; margin-top: 10px; }
.desk-story > .render-note { margin-bottom: 0; }
.product-site .section-header { max-width: 760px; margin-bottom: 28px; }
.product-site .section-header > p:not(.eyebrow) { font-size: 16px; line-height: 1.65; }
.product-site .hardware-grid, .hardware-support { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.product-site .board-card { padding: 0; background: none; border-radius: 0; border-top: 1px solid var(--line); }
.product-site .board-copy { margin: 20px 0 0; }
.product-site .board-copy h3 { font-size: 23px; }
.product-site .board-copy p { font-size: 14px; line-height: 1.65; }
.product-site .board-copy .board-model { font-size: 11px; }
.product-site .board-copy .eyebrow { margin-bottom: 8px; }
.product-site .tag { background: var(--tint); border: 0; border-radius: 3px; font-size: 11px; }
.hardware-support { margin-top: 36px; }
.product-site .plain-card { padding: 24px 0 0; background: transparent; border: 0; border-radius: 0; border-top: 1px solid var(--line); }
.product-site .plain-card h3 { font-size: 22px; }
.product-site .plain-card p, .product-site .plain-card li { font-size: 14px; line-height: 1.65; }
.product-site .plain-card li::before { content: '·'; color: var(--muted); }
.product-site .case-link { padding-block: 12px; }
.product-site .case-link strong { font-weight: 500; font-size: 14px; }
.product-site .download-list { gap: 40px; }
.product-site .download-heading { margin-bottom: 18px; }
.product-site .app-symbol { width: 30px; height: 30px; border-radius: 4px; box-shadow: none; font-size: 15px; }
.product-site .app-gallery { gap: 24px; margin-top: 36px; }
.product-site .app-shot-frame { background: var(--tint); border: 0; border-radius: 3px; padding: 12px; }
.product-site .app-shot figcaption strong { font-family: var(--font-sans); font-size: 13px; color: var(--ink); text-transform: none; letter-spacing: 0; }
.product-site .app-shot figcaption { font-size: 12px; }
.product-site .num { width: auto; height: auto; background: none; border-radius: 0; color: var(--muted); font-size: 16px; display: block; margin-bottom: 14px; }
.product-site .flow-step { border-top-color: var(--line); }
.product-site .flow-step:not(:last-child)::after { display: none; }
.product-site .flow-step h3 { font-size: 16px; }
.product-site .flow-step p { font-size: 14px; line-height: 1.65; }
.product-site .split { grid-template-columns: .75fr 1.25fr; gap: 56px; }
.product-site .split > div > p { font-size: 14px; }
.product-site summary { font-size: 14px; }
.product-site details p { font-size: 14px; }
.product-site .footer-row { font-size: 11px; }
.product-site :is(a,button,summary):focus-visible { outline: 2px solid #245bd8; outline-offset: 4px; }
.product-site section[id] { scroll-margin-top: 24px; }
[hidden] { display: none !important; }
@media (max-width: 1000px) {
  .product-site .shell { width: calc(100% - 48px); }
  .product-site .hero { gap: 24px 32px; }
  .hero-intro { padding-top: 8px; }
  .product-site nav { gap: 16px; }
  .product-controls { column-gap: 16px; }
  .display-detail { gap: 32px; }
  .cyd-layouts { grid-template-columns: 1fr 190px 110px; gap: 24px; }
  .product-site .provider-band { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .product-site .shell { width: calc(100% - 40px); }
  .product-site .topbar { min-height: 100px; padding-top: 12px; gap: 8px; }
  .product-site nav { gap: 12px; }
  .product-site nav a { font-size: 13px; }
  .product-site nav a[target="_blank"] { display: none; }
  .product-site .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 28px 20px; }
  .hero-intro { padding: 0; }
  .product-site .hero h1 { font-size: 36px; max-width: 17ch; }
  .product-site .hero-copy { margin-top: 18px; }
  .product-site .hero-actions { margin-top: 22px; gap: 20px; }
  .product-site .hero-eyebrow { margin-bottom: 16px; }
  .product-facts { padding: 0; gap: 8px 16px; }
  .product-site .provider-band { gap: 12px; }
  .product-site .providers { gap: 14px 20px; }
  .product-site .section { padding-block: 40px; }
  .display-detail { grid-template-columns: 1fr; gap: 24px; }
  .display-explanation > p:not(.eyebrow) { font-size: 15px; }
  .display-notes { margin-top: 18px; }
  .firmware-detail { max-width: 480px; }
  .cyd-layouts { grid-template-columns: 1.45fr 1fr; gap: 20px; padding: 20px; margin-top: 32px; }
  .cyd-layouts > div { grid-column: 1 / -1; }
  .cyd-layouts .cyd-portrait { max-width: 110px; justify-self: end; }
  .desk-pair { grid-template-columns: 1fr; }
  .product-site .hardware-grid, .hardware-support, .product-site .split { grid-template-columns: 1fr; gap: 28px; }
  .hardware-support { margin-top: 28px; }
  .product-site .download-list { gap: 28px; }
  .product-site .footer-row { align-items: flex-start; }
}
@media (max-width: 380px) {
  .product-site .shell { width: calc(100% - 32px); }
  .product-site .hero h1 { font-size: 32px; }
  .product-site nav { gap: 8px; }
  .product-site nav a { font-size: 12px; }
  .product-controls { column-gap: 12px; }
  .model-switch { gap: 12px; }
  .model-switch button { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .product-site *, .product-site *::before, .product-site *::after { transition: none !important; animation: none !important; }
}
