@font-face{font-family:"Gabarito";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/gabarito-latin-600-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Gabarito";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/gabarito-latin-700-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Figtree";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/figtree-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Figtree";font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/figtree-latin-500-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Figtree";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/figtree-latin-600-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* MOSON — layout concept: product datasheet on clean paper. Large transparent renders,
   engineering callouts with real units, a graphite band that echoes the Inkson housing. */
:root {
  --paper: #f7f8f4;
  --surface: #ffffff;
  --mint: #e4f1eb;
  --mint-line: #c9e3d8;
  --ink: #26302c;
  --heading: #143a30;
  --muted: #5b6863;
  --line: #dde2dc;
  --accent: #00b57e;
  --accent-hover: #00a070;
  --on-accent: #052a1e;
  --link: #00754f;
  --signal: #e8791a;
  --band: #2d3132;
  --band-2: #383d3e;
  --band-fg: #eef2ef;
  --band-muted: #aeb7b3;
  --band-line: #4a5051;
  --logo-ink: #251715;
  --logo-green: #00b57e;
  --tbd-bg: #fff1c2;
  --tbd-fg: #6b4a00;
  --shadow: rgba(20, 40, 32, 0.16);
  --sheet: #ffffff; /* engineering drawing stays white in both themes */
  --sheet-ink: #4f5b56;

  --font-display: "Gabarito", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-data: var(--font-body); /* numbers, tags and contacts use the body font; tabular-nums keeps figures aligned */

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.1rem + 1.4vw, 2rem);
  --step-3: clamp(1.9rem, 1.3rem + 2.4vw, 2.75rem);
  --step-4: clamp(2.4rem, 1.4rem + 4.2vw, 4.25rem);

  --radius: 14px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1513; --surface: #161e1b; --mint: #152c25; --mint-line: #24443a;
    --ink: #d5dfda; --heading: #ecf5f0; --muted: #94a39d; --line: #26312d;
    --accent: #14c48b; --accent-hover: #2fd59d; --on-accent: #03211a; --link: #4cd9a6;
    --signal: #f0892f; --band: #1a2220; --band-2: #222c29; --band-fg: #eef2ef;
    --band-muted: #9eaaa5; --band-line: #34403c; --logo-ink: #f1ece9; --logo-green: #14c48b;
    --tbd-bg: #3d3210; --tbd-fg: #ffd970; --shadow: rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0f1513; --surface: #161e1b; --mint: #152c25; --mint-line: #24443a;
  --ink: #d5dfda; --heading: #ecf5f0; --muted: #94a39d; --line: #26312d;
  --accent: #14c48b; --accent-hover: #2fd59d; --on-accent: #03211a; --link: #4cd9a6;
  --signal: #f0892f; --band: #1a2220; --band-2: #222c29; --band-fg: #eef2ef;
  --band-muted: #9eaaa5; --band-line: #34403c; --logo-ink: #f1ece9; --logo-green: #14c48b;
  --tbd-bg: #3d3210; --tbd-fg: #ffd970; --shadow: rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--heading);
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: var(--step-4); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: var(--step-3); font-weight: 700; }
h3 { font-size: var(--step-1); font-weight: 600; line-height: 1.25; letter-spacing: -0.005em; }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 12px; }

.wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}
.narrow { max-width: 760px; }
.stack { display: grid; gap: 1rem; }
.lead { font-size: clamp(1.125rem, 1.02rem + 0.4vw, 1.3rem); line-height: 1.55; color: var(--ink); max-width: 38em; }
.muted { color: var(--muted); }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--link);
}
.data { font-family: var(--font-data); font-variant-numeric: tabular-nums; }
.tbd {
  display: inline-block;
  background: var(--tbd-bg);
  color: var(--tbd-fg);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.05em 0.55em;
  border-radius: 5px;
  letter-spacing: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 0.95em 1.3em;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { border-color: var(--heading); color: var(--heading); background: transparent; }
button.btn { cursor: pointer; }
.btn--ghost:hover { background: var(--heading); color: var(--paper); }
.btn--small { padding: 0.7em 1.05em; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (prefers-reduced-motion: no-preference) {
  .btn:active { transform: translateY(1px); }
}

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.logo { display: inline-flex; color: var(--logo-ink); flex: none; }
.logo svg { height: 26px; width: auto; display: block; }
.logo .g { fill: var(--logo-green); }
.logo .d { fill: var(--logo-ink); }
.nav { display: flex; gap: 1.6rem; margin-left: auto; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.98rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--link); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.5em; }
.menu { display: none; margin-left: auto; }
.menu summary {
  list-style: none; cursor: pointer; font-weight: 600; padding: 0.55em 0.9em;
  border: 1.5px solid var(--line); border-radius: 999px; color: var(--heading);
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { border-color: var(--heading); }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 0.5rem var(--gutter-r) 1.25rem var(--gutter);
  display: grid; gap: 0.15rem;
  box-shadow: 0 18px 30px -18px var(--shadow);
}
.menu-panel a { padding: 0.7rem 0; color: var(--heading); text-decoration: none; font-weight: 600; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
.menu-panel .btn { margin-top: 0.9rem; justify-content: center; border-bottom: 0; }
@media (max-width: 920px) {
  .nav { display: none; }
  .menu { display: block; }
  .header-cta { display: none; }
}

/* Sections */
.section { padding-block: clamp(3.5rem, 2.4rem + 4vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head { display: grid; gap: 0.9rem; max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* Hero */
.hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.hero-copy { display: grid; gap: 1.4rem; min-width: 0; }
.hero-copy h1 span { color: var(--link); }
.hero-figure { margin: 0; position: relative; min-width: 0; }
.hero-figure::after {
  content: ""; position: absolute; left: 12%; right: 10%; bottom: 3%; height: 9%;
  background: radial-gradient(closest-side, var(--shadow), transparent);
  z-index: 0;
}
.hero-figure img { position: relative; z-index: 1; width: 100%; }
.hero-figure figcaption { margin-top: 0.75rem; text-align: center; color: var(--muted); font-size: var(--step--1); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { max-width: 520px; width: 100%; margin-inline: auto; }
}

/* Company facts */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.fact { padding: 1.4rem 1.4rem 0.4rem 0; display: grid; gap: 0.3rem; align-content: start; min-width: 0; }
.fact + .fact { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.fact b { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--heading); line-height: 1.2; }
.fact span { color: var(--muted); font-size: 0.95rem; line-height: 1.45; }
@media (max-width: 860px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 440px) {
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding-left: 0; border-left: 0; padding-right: 0; }
  .fact + .fact { border-top: 1px solid var(--line); }
}

/* Graphite product band */
.band { background: var(--band); color: var(--band-fg); }
.band h2, .band h3 { color: var(--band-fg); }
.band .eyebrow { color: var(--accent); }
.band .muted { color: var(--band-muted); }
.band a:not(.btn) { color: var(--accent); }
.band .btn--ghost { border-color: var(--band-fg); color: var(--band-fg); }
.band .btn--ghost:hover { background: var(--band-fg); color: var(--band); }
.product-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.product-feature figure { margin: 0; min-width: 0; }
.product-feature .copy { display: grid; gap: 1.4rem; min-width: 0; }
@media (max-width: 860px) { .product-feature { grid-template-columns: 1fr; } }

/* Datasheet list */
.sheet { margin: 0; display: grid; border-top: 1px solid var(--line); }
.sheet div { display: grid; grid-template-columns: minmax(7.5rem, 0.8fr) minmax(0, 1.4fr); gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.sheet dt { color: var(--muted); font-size: 0.95rem; }
.sheet dd { margin: 0; font-family: var(--font-data); font-variant-numeric: tabular-nums; font-size: 0.95rem; color: var(--heading); min-width: 0; overflow-wrap: anywhere; }
.band .sheet { border-color: var(--band-line); }
.band .sheet div { border-color: var(--band-line); }
.band .sheet dt { color: var(--band-muted); }
.band .sheet dd { color: var(--band-fg); }

/* Port callouts, drawn like the engineering sheets */
.callout-fig { margin: 0; }
.callout-fig { max-width: 920px; margin-inline: auto; }
.ports { position: relative; margin-bottom: 5rem; }
.ports img { width: 100%; }
.pin { position: absolute; left: var(--x); top: var(--y); bottom: -4.6rem; width: 0; }
.pin::before {
  content: ""; position: absolute; top: -6px; left: -6px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--surface); border: 2.5px solid var(--heading); z-index: 2;
}
.pin::after { content: ""; position: absolute; top: 0; bottom: 2.7rem; left: -0.75px; border-left: 1.5px solid var(--heading); }
.pin span {
  position: absolute; bottom: 0; left: 0; transform: translateX(-50%); white-space: nowrap; text-align: center;
  background: var(--mint); border: 1px solid var(--mint-line); border-radius: 8px; padding: 0.35rem 0.65rem; line-height: 1.2;
}
.pin b { display: block; font-family: var(--font-display); font-weight: 600; color: var(--heading); font-size: 1rem; }
.pin small { display: block; color: var(--muted); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }
@media (max-width: 520px) {
  .pin span { padding: 0.3rem 0.4rem; }
  .pin b { font-size: 0.8rem; }
  .pin small { font-size: 0.6rem; letter-spacing: 0.03em; }
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 1.1rem + 1vw, 2rem); display: grid; gap: 0.9rem; align-content: start; min-width: 0;
}
.card .tag { font-family: var(--font-data); font-size: 0.85rem; color: var(--link); }
.card p { color: var(--muted); }
.card .more { font-weight: 600; text-decoration: none; margin-top: 0.4rem; }
.card .more:hover { text-decoration: underline; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .cards--2 { grid-template-columns: 1fr; } }
.card--feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 1.5rem; }
@media (max-width: 700px) { .card--feature { grid-template-columns: 1fr; } }

/* Steps (a real sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 0.6rem; align-content: start; padding-top: 1.1rem; border-top: 2px solid var(--heading); min-width: 0; }
.steps li::before { content: "Step " counter(step); font-family: var(--font-data); font-size: 0.85rem; color: var(--link); }
.steps p { color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Split text/image rows */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.split > * { min-width: 0; }
.split figure { margin: 0; }
.split figure img.crop { border-radius: var(--radius); }
.split .copy { display: grid; gap: 1.1rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--flip figure { order: -1; } }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.ticks li { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr); gap: 0.6rem; }
.ticks li::before {
  content: ""; width: 0.9rem; height: 0.55rem; margin-top: 0.42em;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg);
}

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.25rem 2.5rem 1.25rem 0; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--heading); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0.4rem; top: 1.55rem; width: 0.6rem; height: 0.6rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.8rem; }
.faq .answer { padding: 0 0 1.4rem; display: grid; gap: 0.8rem; max-width: 46rem; }

/* CTA band */
.cta { background: var(--mint); border-block: 1px solid var(--mint-line); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 2rem; align-items: center; }
.cta-grid > div { display: grid; gap: 0.8rem; min-width: 0; }
.cta-grid p { color: var(--muted); max-width: 36em; }
@media (max-width: 760px) { .cta-grid { grid-template-columns: 1fr; } }

/* Page header for inner pages */
.page-head { padding-block: clamp(2.25rem, 1.5rem + 3vw, 4.5rem) clamp(1.5rem, 1rem + 2vw, 2.5rem); display: grid; gap: 1.1rem; }
.crumbs { font-size: 0.9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--line); }
.crumbs a { color: var(--muted); }

/* Product page */
.product-top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.product-top > * { min-width: 0; }
.product-info { display: grid; gap: 1.3rem; position: sticky; top: 1.5rem; }
.gallery { display: grid; gap: 1rem; }
.gallery .main { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1rem, 0.5rem + 2vw, 2.5rem); }
.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.thumbs figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 0.6rem; display: grid; gap: 0.4rem; }
.thumbs img { aspect-ratio: 4 / 3; object-fit: contain; width: 100%; }
.thumbs figcaption { font-size: 0.78rem; color: var(--muted); text-align: center; }
@media (max-width: 860px) { .product-top { grid-template-columns: 1fr; } .product-info { position: static; } }

.spec-table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.spec-table th, .spec-table td { text-align: left; padding: 0.85rem 1rem 0.85rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { font-weight: 500; color: var(--muted); width: 38%; }
.spec-table td { font-family: var(--font-data); font-variant-numeric: tabular-nums; color: var(--heading); font-size: 0.95rem; }
.spec-group th { font-family: var(--font-display); color: var(--heading); font-weight: 600; font-size: 1.1rem; padding-top: 1.8rem; }
.table-scroll { overflow-x: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.model-table { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: 0.95rem; }
.model-table th, .model-table td { text-align: left; padding: 0.8rem 0.9rem 0.8rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.model-table thead th { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--heading); border-bottom: 2px solid var(--heading); }
.model-table tbody th { font-weight: 500; color: var(--muted); width: 26%; min-width: 9rem; }
.model-table th:first-child { position: sticky; left: 0; background: var(--surface); z-index: 1; }
@media (max-width: 600px) { .model-table { font-size: 0.88rem; } .model-table td { font-size: 0.85rem; } .model-table thead th { font-size: 1rem; } }
.model-table td { font-family: var(--font-data); font-variant-numeric: tabular-nums; color: var(--heading); font-size: 0.92rem; }
.model-table tbody tr:first-child td { font-weight: 700; color: var(--link); }
.footnote { margin-top: 1rem; color: var(--muted); font-size: 0.88rem; }

.drawing { margin: 0; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(0.5rem, 0.3rem + 1vw, 1.25rem); }
.drawing figcaption { color: var(--sheet-ink); font-size: 0.85rem; padding: 0.5rem 0.25rem 0.25rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1.25rem; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: grid; gap: 0.6rem; align-content: start; min-width: 0; }
.contact-card .value { font-family: var(--font-data); font-size: 1rem; color: var(--heading); overflow-wrap: anywhere; }
.contact-card .btn { justify-self: start; margin-top: 0.4rem; }
.icon { width: 1.6rem; height: 1.6rem; color: var(--link); }

/* Article */
.prose { display: grid; gap: 1.15rem; max-width: 42rem; }
.prose h2 { font-size: var(--step-2); margin-top: 1.4rem; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3rem; display: grid; gap: 0.5rem; }
.prose .answer-box { background: var(--mint); border: 1px solid var(--mint-line); border-radius: var(--radius); padding: 1.25rem 1.4rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 0.7rem 0.9rem 0.7rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--heading); font-family: var(--font-display); font-weight: 600; }
.byline { color: var(--muted); font-size: 0.95rem; }

/* Footer */
.site-footer { background: var(--band); color: var(--band-muted); padding-block: 3.5rem 2.5rem; margin-top: 0; }
.site-footer .logo { color: var(--band-fg); }
.site-footer .logo .d { fill: var(--band-fg); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.foot-grid > * { min-width: 0; }
.foot-grid h2 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--band-fg); font-weight: 600; margin-bottom: 0.9rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.foot-grid a { color: var(--band-muted); text-decoration: none; }
.foot-grid a:hover { color: var(--band-fg); text-decoration: underline; }
.foot-about { display: grid; gap: 1rem; align-content: start; max-width: 22rem; font-size: 0.95rem; }
.foot-base { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--band-line); font-size: 0.88rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-about { grid-column: 1 / -1; } }

/* Preview-only note */
.preview-note { background: var(--tbd-bg); color: var(--tbd-fg); font-size: 0.9rem; }
.preview-note .wrap { padding-block: 0.6rem; }

.center { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* Products dropdown */
.nav { align-self: stretch; }
.has-sub { position: relative; display: flex; align-items: center; align-self: stretch; }
.has-sub > a { display: inline-flex; align-items: center; gap: 0.4rem; }
.has-sub > a::after { content: ""; width: 0.4rem; height: 0.4rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.sub {
  position: absolute; top: 100%; left: -0.9rem; width: 19.5rem; display: none; z-index: 30;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0.45rem;
  box-shadow: 0 22px 40px -22px var(--shadow);
}
.has-sub:hover .sub, .has-sub:focus-within .sub { display: grid; }
.nav .sub a { display: grid; gap: 0.1rem; padding: 0.6rem 0.75rem; border-radius: 8px; text-decoration: none; }
.nav .sub a b { font-weight: 600; color: var(--heading); font-size: 0.98rem; }
.nav .sub a small { color: var(--muted); font-size: 0.82rem; font-family: var(--font-data); }
.nav .sub a:hover, .nav .sub a[aria-current="page"] { background: var(--mint); text-decoration: none; }
.nav .sub .sub-all { color: var(--link); font-weight: 600; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; margin-top: 0.3rem; }
.menu-panel .menu-sub { padding-left: 1rem; font-weight: 500; font-size: 1rem; color: var(--ink); }

/* Category tiles */
.ctiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.ctiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .ctiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .ctiles--3 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .ctiles { grid-template-columns: 1fr; } }
.ctile {
  position: relative; display: grid; gap: 0.35rem; align-content: start; min-width: 0;
  padding: 1.4rem 3rem 1.4rem 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); transition: border-color 0.15s ease;
}
.ctile:hover { border-color: var(--heading); }
.ctile-icon { width: 2.3rem; height: 2.3rem; color: var(--link); margin-bottom: 0.5rem; }
.ctile-icon svg { width: 100%; height: 100%; }
.ctile-name { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--heading); line-height: 1.2; }
.ctile-range { font-family: var(--font-data); font-size: 0.88rem; color: var(--muted); }
.ctile-go { position: absolute; right: 1.2rem; bottom: 1.3rem; width: 1.2rem; height: 1.2rem; color: var(--heading); transition: transform 0.15s ease; }
@media (prefers-reduced-motion: no-preference) { .ctile:hover .ctile-go { transform: translateX(3px); } }

/* Product cards */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; }
.pcard { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 0; }
.pcard-visual { aspect-ratio: 16 / 10; position: relative; border-bottom: 1px solid var(--line); }
.pcard-visual img { position: absolute; top: 0.9rem; left: 1.25rem; width: calc(100% - 2.5rem); height: calc(100% - 1.8rem); max-width: none; object-fit: contain; }
.pcard-visual--spec { background: var(--mint); display: flex; align-items: flex-end; padding: 1.25rem 1.4rem; }
.pcard-icon { position: absolute; top: 1.2rem; left: 1.3rem; width: 2.1rem; height: 2.1rem; color: var(--link); }
.pcard-icon svg { width: 100%; height: 100%; }
.pcard-big { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); color: var(--heading); line-height: 1; letter-spacing: -0.02em; }
.pcard-body { padding: 1.25rem 1.4rem 1.5rem; display: grid; gap: 0.6rem; align-content: start; }
.pcard-kind { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pcard h3 a { color: var(--heading); text-decoration: none; }
.pcard h3 a:hover { text-decoration: underline; }
.pcard p { color: var(--muted); }
.pcard .more { font-weight: 600; text-decoration: none; margin-top: 0.3rem; }
.pcard .more:hover { text-decoration: underline; }
.pcard .tbd { justify-self: start; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chips li { font-family: var(--font-data); font-size: 0.84rem; color: var(--heading); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 0.2rem 0.65rem; }

/* Selection guide */
.guide-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.guide-table th { text-align: left; font-family: var(--font-display); font-weight: 600; color: var(--heading); padding: 0 1rem 0.7rem 0; border-bottom: 2px solid var(--heading); }
.guide-table td { padding: 0.9rem 1rem 0.9rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.guide-table td:first-child { color: var(--ink); width: 58%; }
.guide-table td a { font-weight: 600; }

.section-head--row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; max-width: none; }
.section-head--row .more { font-weight: 600; text-decoration: none; }
.section-head--row .more:hover { text-decoration: underline; }
.h-small { font-size: var(--step-2); margin-bottom: 1.25rem; }

.compare-table { min-width: 38rem; }
.compare-table tbody th { text-align: left; font-weight: 600; color: var(--heading); padding: 0.9rem 1rem 0.9rem 0; border-bottom: 1px solid var(--line); vertical-align: top; width: 22%; border-top: 0; font-family: var(--font-body); }
.compare-table td:first-child, .compare-table td { width: 39%; color: var(--ink); }

.foot-contact { font-family: var(--font-data); font-size: 0.95rem; line-height: 1.8; }
.foot-contact a { color: var(--band-fg); text-decoration: none; }
.foot-contact a:hover { text-decoration: underline; }
.contact-card .addr { color: var(--heading); }

/* Language switcher */
.lang { position: relative; flex: none; }
.lang summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.35rem;
  font-weight: 600; font-size: 0.9rem; color: var(--heading); padding: 0.5em 0.75em;
  border: 1.5px solid var(--line); border-radius: 999px;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 1.05rem; height: 1.05rem; }
.lang[open] summary { border-color: var(--heading); }
.lang-panel {
  position: absolute; right: 0; top: calc(100% + 0.5rem); z-index: 30; min-width: 11rem;
  display: grid; padding: 0.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 22px 40px -22px var(--shadow);
}
.lang-panel a { padding: 0.55rem 0.75rem; border-radius: 8px; color: var(--heading); text-decoration: none; font-weight: 500; }
.lang-panel a:hover { background: var(--mint); }
.lang-panel a[aria-current="true"] { background: var(--mint); font-weight: 700; }
@media (max-width: 920px) { .lang { margin-left: auto; } .menu { margin-left: 0.5rem; } }

/* ── News ─────────────────────────────────────────────────────── */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1.25rem; }
.ncard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius, 14px); overflow: hidden; }
.ncard-img { display: block; aspect-ratio: 16 / 10; background: var(--mint); border-bottom: 1px solid var(--line); }
.ncard-img img { width: 100%; height: 100%; object-fit: cover; }
.ncard-body { display: grid; gap: 0.6rem; padding: 1.25rem 1.4rem 1.4rem; align-content: start; flex: 1; }
.ncard-body h3 { font-size: 1.2rem; line-height: 1.3; }
.ncard-body h3 a { color: var(--heading); text-decoration: none; }
.ncard-body h3 a:hover { text-decoration: underline; }
.ncard-body p { margin: 0; }
.ncard-date { color: var(--muted); font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.ncard .more { margin-top: auto; }
.news-cover { margin: 0 0 2rem; }
.news-cover img { width: 100%; height: auto; border-radius: var(--radius, 14px); }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius, 14px); }

/* ── Enquiry form and downloads ───────────────────────────────── */
.enquiry { display: grid; gap: 1.1rem; padding: clamp(1.25rem, 3vw, 2rem); }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem 1.25rem; }
.field { display: grid; gap: 0.4rem; min-width: 0; border: 0; padding: 0; margin: 0; }
.field > span, .field legend { font-weight: 600; color: var(--heading); font-size: 0.95rem; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 0.7rem 0.85rem; }
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--link); outline-offset: 1px; border-color: transparent; }
.checks { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; }
.checks legend { margin-bottom: 0.5rem; padding: 0; }
.checks label { display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer; }
.checks input { width: 1.1rem; height: 1.1rem; accent-color: var(--link); }
.req { color: var(--link); margin-left: 0.15rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { margin: 0; color: var(--muted); font-size: 0.9rem; }
.form-status { margin: 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--link); }
.form-status.err { color: #b42318; }
.more--pdf { display: inline-flex; align-items: center; gap: 0.4rem; }
.more--pdf svg, .btn svg { flex: none; }
.more--pdf svg { width: 1.05rem; height: 1.05rem; }

/* ── Interactive features (src/js/) ───────────────────────────── */
.no-scroll, .no-scroll body { overflow: hidden; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--link); text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; justify-self: start; }
.field select { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 0.7rem 0.85rem; }
.field select:focus { outline: 2px solid var(--link); outline-offset: 1px; border-color: transparent; }

/* Floating WhatsApp button and enquiry list button */
.floaters {
  position: fixed; z-index: 40; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px));
  display: flex; gap: 0.6rem; align-items: center; pointer-events: none;
}
.floaters > * { pointer-events: auto; }
.wa-float, .list-pill {
  display: inline-flex; align-items: center; gap: 0.5rem; height: 3.1rem; padding: 0 1.15rem; border-radius: 999px;
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 26px -10px var(--shadow), 0 2px 6px rgba(0, 0, 0, 0.12);
}
.wa-float { background: var(--accent); color: var(--on-accent); border: 0; }
.wa-float:hover { background: var(--accent-hover); }
.wa-float svg, .list-pill svg { width: 1.3rem; height: 1.3rem; flex: none; }
.list-pill { background: var(--surface); color: var(--heading); border: 1.5px solid var(--heading); }
.list-pill b { min-width: 1.5rem; height: 1.5rem; padding: 0 0.35rem; border-radius: 999px; background: var(--heading); color: var(--paper); display: inline-grid; place-items: center; font-size: 0.85rem; }
.list-pill[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .list-pill.is-bump { animation: bump 0.4s ease; }
  @keyframes bump { 40% { transform: scale(1.08); } }
}
@media (min-width: 921px) {
  /* The header already has a WhatsApp button; show the floating one after scrolling past it */
  .wa-float { opacity: 0; transform: translateY(0.75rem); visibility: hidden; transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s; }
  .wa-float.is-shown { opacity: 1; transform: none; visibility: visible; }
}
@media (max-width: 520px) {
  .wa-float span, .list-pill span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wa-float, .list-pill { padding: 0 0.95rem; }
}
@media (max-width: 920px) { .has-float .site-footer { padding-bottom: 6rem; } }

/* "Add to enquiry list" buttons */
.add-list { display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer; font-family: var(--font-body); }
.add-list[hidden] { display: none; }
.add-list svg { width: 1.1rem; height: 1.1rem; flex: none; }
.add-list--card, .add-list--sm {
  background: none; border: 1.5px solid var(--line); border-radius: 999px; color: var(--heading);
  font-weight: 600; font-size: 0.92rem; padding: 0.5rem 0.85rem; justify-self: start;
}
.add-list--card:hover, .add-list--sm:hover { border-color: var(--heading); }
.add-list--sm { font-size: 0.85rem; padding: 0.4rem 0.7rem; white-space: nowrap; }
.add-list[aria-pressed="true"] { background: var(--mint); border-color: var(--mint-line); color: var(--heading); }
.btn.add-list[aria-pressed="true"] { background: var(--mint); border-color: var(--link); color: var(--heading); }
.pcard-actions { display: grid; gap: 0.6rem; justify-items: start; margin-top: 0.3rem; }
.pcard-actions .more { margin-top: 0; }
.model-table tfoot th, .model-table tfoot td { padding-top: 1rem; border-bottom: 0; }

/* Enquiry list panel */
.drawer { position: fixed; inset: 0; z-index: 60; background: rgba(10, 20, 16, 0.45); display: flex; justify-content: flex-end; }
.drawer[hidden] { display: none; }
.drawer-panel {
  width: min(28rem, 100%); height: 100%; overflow-y: auto; background: var(--paper);
  padding: 1.4rem var(--gutter-r) calc(1.6rem + env(safe-area-inset-bottom, 0px)) 1.4rem;
  display: grid; gap: 1.1rem; align-content: start; box-shadow: -20px 0 40px -20px var(--shadow);
}
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.drawer-head h2 { font-size: var(--step-2); }
.drawer-x { width: 2.5rem; height: 2.5rem; flex: none; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--heading); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.drawer-x:hover { border-color: var(--heading); }
.drawer-empty { color: var(--muted); }
.drawer-empty[hidden], .drawer-actions[hidden] { display: none; }
.drawer-items { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.drawer-items li { display: grid; grid-template-columns: minmax(0, 1fr) 6.5rem 2.25rem; gap: 0.6rem; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.di-name { font-weight: 600; color: var(--heading); line-height: 1.3; }
.di-qty input { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 0.45rem 0.6rem; }
.di-x { width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 0; background: none; color: var(--muted); font-size: 1.4rem; cursor: pointer; }
.di-x:hover { background: var(--mint); color: var(--heading); }
.drawer-actions { display: grid; gap: 1rem; }
.drawer-btns { display: grid; gap: 0.6rem; }
.drawer-btns .btn { justify-content: center; }
.drawer-btns .btn[hidden] { display: none; }

/* Language suggestion */
.langbar { background: var(--mint); border-bottom: 1px solid var(--mint-line); font-size: 0.95rem; }
.langbar[hidden] { display: none; }
.langbar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1rem; padding-block: 0.6rem; }
.langbar svg { width: 1.1rem; height: 1.1rem; color: var(--link); flex: none; }
.langbar-text { color: var(--heading); }
.langbar-go { font-weight: 700; }
.langbar-x { margin-left: auto; background: none; border: 0; padding: 0.2rem 0; font: inherit; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 0.18em; }

/* Size calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: start; }
.calc-main { min-width: 0; }
.calc-head, .calc-row { display: grid; grid-template-columns: minmax(0, 1fr) 8.5rem 7rem; gap: 1rem; align-items: center; }
.calc-head { font-size: 0.85rem; font-weight: 600; color: var(--muted); padding-bottom: 0.6rem; border-bottom: 2px solid var(--heading); }
.calc-row { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.calc-row:not(.is-on) .calc-app { opacity: 0.6; }
.calc-app { display: grid; gap: 0.1rem; min-width: 0; }
.calc-app b { color: var(--heading); font-weight: 600; }
.calc-app small { color: var(--muted); font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.calc-qty { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) 2.4rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); overflow: hidden; }
.calc-qty .step { border: 0; background: none; color: var(--heading); font-size: 1.25rem; line-height: 1; cursor: pointer; height: 2.4rem; }
.calc-qty .step:hover { background: var(--mint); }
.calc-qty input, .calc-h input { font: inherit; font-variant-numeric: tabular-nums; color: var(--heading); text-align: center; width: 100%; min-width: 0; -moz-appearance: textfield; appearance: textfield; }
.calc-qty input { border: 0; background: none; padding: 0; font-weight: 600; }
.calc-qty input::-webkit-inner-spin-button, .calc-qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.calc-h { display: flex; align-items: center; gap: 0.35rem; }
.calc-h input { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 0.5rem 0.3rem; }
.calc-h > span:last-child { color: var(--muted); font-size: 0.9rem; }
.calc-result { position: sticky; top: 1.5rem; gap: 1rem; }
.calc-result[hidden] { display: none; }
.calc-use { display: grid; gap: 0.2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.calc-use > span { color: var(--muted); font-size: 0.95rem; }
.calc-use b { font-family: var(--font-display); font-size: var(--step-3); color: var(--heading); line-height: 1.1; font-variant-numeric: tabular-nums; }
.calc-pick { display: grid; gap: 0.6rem; }
.calc-pick[hidden], .calc-none[hidden] { display: none; }
.calc-name { font-size: var(--step-2); line-height: 1.15; }
.calc-meta { font-weight: 600; color: var(--heading); font-variant-numeric: tabular-nums; }
.calc-actions { display: grid; gap: 0.6rem; margin-top: 0.4rem; }
.calc-actions .btn { justify-content: center; white-space: normal; text-align: center; line-height: 1.2; }
.calc-noscript { margin: 0; grid-column: 1 / -1; }
.calc-mini { display: none; }
@media (max-width: 860px) {
  /* Phones: a running total stays at the bottom of the screen while scrolling the list */
  .calc-mini:not([hidden]) {
    display: flex; flex-wrap: wrap; gap: 0.15rem 0.5rem; align-items: baseline;
    position: sticky; bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + 3.7rem); z-index: 5; margin: 1rem 0 0;
    padding: 0.7rem 1rem; border-radius: 14px; background: var(--heading); color: var(--paper); text-decoration: none;
    box-shadow: 0 10px 24px -12px var(--shadow); line-height: 1.3;
  }
  .calc-mini b { font-weight: 700; }
}
@media (max-width: 860px) {
  .calc { grid-template-columns: 1fr; }
  .calc-result { position: static; }
}
@media (max-width: 520px) {
  .calc-head { display: none; }
  .calc-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.6rem 0.75rem; }
  .calc-app { grid-column: 1 / -1; }
}

/* PAYGO keypad demo: drawn after the H Series front label (fixed device colours in both themes) */
.kp { display: grid; grid-template-columns: minmax(0, 21rem) minmax(0, 1fr); grid-template-areas: "device intro" "device panel"; gap: 1.25rem clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
.kp-device { grid-area: device; align-self: center; }
.kp-intro { grid-area: intro; display: grid; gap: 1rem; align-self: end; min-width: 0; }
.kp-panel { grid-area: panel; display: grid; gap: 1rem; min-width: 0; }
.kp-device { background: #3b3f40; border-radius: 26px; padding: clamp(1rem, 0.6rem + 2vw, 1.6rem); box-shadow: 0 24px 40px -24px var(--shadow); }
.kp-face {
  --kp-cut: 3.2rem;
  background: #e8771b; border: 3px solid #161616; border-radius: 18px 18px var(--kp-cut) 18px;
  padding: 1.1rem 1.1rem 1.2rem; display: grid; gap: 0.9rem;
}
.kp-keys { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.55rem; }
.kp-key {
  aspect-ratio: 1.12 / 1; border-radius: 50%; border: 2px solid #fff; background: transparent; color: #fff;
  font: 600 clamp(1.15rem, 0.9rem + 1vw, 1.45rem) / 1 var(--font-display); cursor: pointer; padding: 0;
  transition: background-color 0.1s ease, transform 0.1s ease;
}
.kp-key:hover { background: rgba(255, 255, 255, 0.14); }
.kp-key:active, .kp-key.is-pressed { background: rgba(255, 255, 255, 0.34); transform: scale(0.95); }
.kp-key:focus-visible, .kp-power:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.kp-row { display: flex; justify-content: space-between; align-items: center; padding: 0 0.6rem 0 1.4rem; }
.kp-sun { width: 2.1rem; height: 2.1rem; color: #fff; display: inline-flex; }
.kp-sun svg { width: 100%; height: 100%; }
.kp-power { width: 3.1rem; height: 3.1rem; border-radius: 50%; border: 0; background: #47b23f; color: #fff; display: grid; place-items: center; cursor: pointer; }
.kp-power svg { width: 1.7rem; height: 1.7rem; }
.kp-power:active, .kp-power.is-pressed { transform: scale(0.94); background: #3c9a35; }
.kp-leds { display: flex; gap: 1.1rem; padding-left: 1.6rem; }
.kp-led { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: #7a4310; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25); transition: background-color 0.15s ease, box-shadow 0.15s ease; }
.kp-led.is-on { background: #46e04f; box-shadow: 0 0 0.6rem 0.1rem rgba(70, 224, 79, 0.75); }
.kp.is-bad .kp-face { animation: kp-shake 0.35s ease; }
@keyframes kp-shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
@media (prefers-reduced-motion: reduce) { .kp.is-bad .kp-face { animation: none; } }
.kp-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.8rem; }
.kp-line span { color: var(--muted); font-size: 0.95rem; }
.kp-code, .kp-typed { font-family: var(--font-display); font-size: 1.35rem; color: var(--heading); letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.kp-msg { min-height: 3.2em; padding: 0.8rem 1rem; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); color: var(--heading); font-weight: 500; }
.kp-msg[data-tone="ok"], .kp-msg[data-tone="on"] { background: var(--mint); border-color: var(--mint-line); }
.kp-msg[data-tone="bad"], .kp-msg[data-tone="used"], .kp-msg[data-tone="locked"] { border-color: var(--signal); }
@media (max-width: 760px) {
  .kp { grid-template-columns: 1fr; grid-template-areas: "intro" "device" "panel"; }
  .kp-device { max-width: 21rem; width: 100%; margin-inline: auto; }
}
