/* Layout: catalog-as-instrument — the motor finder and nameplate-style product plates lead; spec tables carry the detail; one gentian-blue accent plus a safety-yellow stamp for stock. */
:root {
  --paper: #F1F3F5;
  --surface: #FFFFFF;
  --plate: #E2E7EC;
  --ink: #111A23;
  --muted: #54616D;
  --line: #D2D9E0;
  --accent: #1A4E8A;
  --accent-hover: #123D6E;
  --on-accent: #FFFFFF;
  --signal: #F0B800;
  --on-signal: #1B1500;
  --motor: #235E9F;
  --motor-dark: #183F6B;
  --metal: #9AA5B0;
  --foot-bg: #0F2238;
  --foot-fg: #C5D2DF;
  --foot-head: #FFFFFF;
  --logo-plate: transparent;
  --logo-pad: 0;
  --logo-white: #FFFFFF;
  --font-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 6px;
  --maxw: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0D141B; --surface: #131C25; --plate: #1A2530; --ink: #E5EBF1; --muted: #9AA8B6;
    --line: #27343F; --accent: #86B6EF; --accent-hover: #A8CBF5; --on-accent: #0B131B;
    --signal: #F2C230; --on-signal: #1B1500; --motor: #2E6DB4; --motor-dark: #1C4778; --metal: #6E7C8A;
    --foot-bg: #091018; --foot-fg: #93A2B0; --foot-head: #E5EBF1; --logo-plate: #F4F6F8; --logo-pad: 3px 8px;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0D141B; --surface: #131C25; --plate: #1A2530; --ink: #E5EBF1; --muted: #9AA8B6;
  --line: #27343F; --accent: #86B6EF; --accent-hover: #A8CBF5; --on-accent: #0B131B;
  --signal: #F2C230; --on-signal: #1B1500; --motor: #2E6DB4; --motor-dark: #1C4778; --metal: #6E7C8A;
  --foot-bg: #091018; --foot-fg: #93A2B0; --foot-head: #E5EBF1; --logo-plate: #F4F6F8; --logo-pad: 3px 8px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 1rem; line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
p, ul, ol, dl, dd, figure { margin: 0; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); color: var(--ink); padding: 8px 12px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; text-wrap: balance; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); font-weight: 800; font-stretch: 72%; letter-spacing: -0.005em; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.15rem); font-weight: 780; font-stretch: 78%; }
h3 { font-size: 1.15rem; font-weight: 700; font-stretch: 90%; line-height: 1.25; }
.eyebrow { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: 1.125rem; max-width: 62ch; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }
.num { font-variant-numeric: tabular-nums; }

/* Header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.brand:hover { color: var(--ink); }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand-logo { display: block; height: 41px; width: auto; max-width: 168px; background: var(--logo-plate); padding: var(--logo-pad); border-radius: 4px; box-sizing: content-box; }
.foot-logo { display: inline-flex; background: var(--logo-white); padding: 8px 12px; border-radius: 4px; justify-self: start; }
.foot-logo img { display: block; height: 36px; width: auto; }
@media (max-width: 420px) { .brand-logo { height: 34px; } .head-call strong { font-size: 1.05rem; } }
.mk-bg { fill: var(--accent); }
.mk-fg { fill: none; stroke: var(--on-accent); stroke-width: 2.4; stroke-linecap: round; }
.mk-dot { fill: var(--on-accent); }
.brand-name { font-family: var(--font-display); font-weight: 800; font-stretch: 75%; font-size: 1.45rem; letter-spacing: .05em; line-height: 1; }
.brand-sub { display: block; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 10px; border-radius: 4px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--paper); color: var(--accent); }
.head-call { display: inline-flex; flex-direction: column; align-items: flex-end; text-decoration: none; color: var(--ink); line-height: 1.15; flex: none; }
.head-call span { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.head-call strong { font-family: var(--font-display); font-stretch: 80%; font-size: 1.2rem; font-weight: 800; font-variant-numeric: tabular-nums; }
@media (max-width: 960px) {
  .head-row { flex-wrap: wrap; gap: 0 12px; }
  .head-call { margin-left: auto; }
  .nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
}

/* Buttons, chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 4px; font: inherit; font-weight: 700; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-line { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; }
.fact { font-family: var(--font-mono); font-size: .78rem; padding: 4px 9px; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chip { font: inherit; font-weight: 600; font-variant-numeric: tabular-nums; padding: 7px 13px; border: 1.5px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* Sections */
.section { padding-block: clamp(44px, 6.5vw, 84px); }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; margin-bottom: 28px; }
.section-head > div { display: grid; gap: 8px; min-width: 0; }
.section-head p { max-width: 60ch; color: var(--muted); }

/* Hero + page heads */
.hero { padding-block: clamp(32px, 5vw, 64px) clamp(24px, 3vw, 36px); }
.hero-grid, .page-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.hero-copy, .page-copy { display: grid; gap: 18px; min-width: 0; }
@media (max-width: 880px) { .hero-grid, .page-grid { grid-template-columns: minmax(0, 1fr); } }
.page-head { padding-block: 8px clamp(28px, 4vw, 48px); }
.crumbs { font-family: var(--font-mono); font-size: .76rem; color: var(--muted); padding-block: 20px 16px; }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li + li::before { content: "›"; margin-right: 8px; }
.crumbs a { color: var(--muted); }

/* Answer box (AEO) */
.answer { display: grid; gap: 8px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); max-width: 68ch; }
.answer-label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.answer p:not(.answer-label) { font-size: 1.06rem; }

/* Finder */
.finder { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 26px); display: grid; gap: 18px; }
.finder h2 { font-size: 1.45rem; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field-label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.seg label { padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 4px; cursor: pointer; font-weight: 600; font-variant-numeric: tabular-nums; background: var(--paper); }
.seg label:hover { border-color: var(--accent); }
.seg input:checked + label { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.seg input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.finder-out { padding-top: 14px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; }
.finder-out strong { font-family: var(--font-display); font-stretch: 80%; font-size: 1.35rem; font-variant-numeric: tabular-nums; }

select, input, textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 4px; padding: 10px 12px; width: 100%; min-width: 0; }
select:focus, input:focus, textarea:focus { border-color: var(--accent); outline: 3px solid color-mix(in srgb, var(--accent) 28%, transparent); outline-offset: 0; }
textarea { min-height: 120px; resize: vertical; }

/* Product plates (nameplate style) */
.plates { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 262px), 1fr)); gap: 16px; }
.plate {
  position: relative; display: grid; gap: 12px; padding: 20px 20px 16px; border-radius: 5px; border: 1px solid var(--line); min-width: 0;
  background:
    radial-gradient(circle at 9px 9px, var(--metal) 0 2.2px, transparent 2.9px),
    radial-gradient(circle at calc(100% - 9px) 9px, var(--metal) 0 2.2px, transparent 2.9px),
    radial-gradient(circle at 9px calc(100% - 9px), var(--metal) 0 2.2px, transparent 2.9px),
    radial-gradient(circle at calc(100% - 9px) calc(100% - 9px), var(--metal) 0 2.2px, transparent 2.9px),
    var(--plate);
}
.plate:hover { border-color: var(--accent); }
.plate:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.plate-top { display: flex; justify-content: space-between; gap: 8px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.plate-main { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.plate-kw { font-family: var(--font-display); font-weight: 800; font-stretch: 68%; font-size: 2.7rem; line-height: .95; font-variant-numeric: tabular-nums; }
.plate-kw span { font-size: 1.05rem; font-weight: 700; font-stretch: 85%; margin-left: 5px; color: var(--muted); }
.plate-main .motor { width: 104px; height: auto; flex: none; }
.plate-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 3px; background: var(--surface); }
.plate-grid div { padding: 6px 8px; border-left: 1px solid var(--line); min-width: 0; }
.plate-grid div:first-child { border-left: 0; }
.plate-grid dt { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.plate-grid dd { font-family: var(--font-mono); font-weight: 500; font-size: .92rem; font-variant-numeric: tabular-nums; }
.plate-foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.plate-name { font-family: var(--font-body); font-size: .9rem; font-weight: 600; font-stretch: 100%; line-height: 1.35; }
.plate-link { color: var(--ink); text-decoration: none; }
.plate-link:hover { color: var(--accent); }
.plate-link:focus-visible { outline: none; }
.plate-link::after { content: ""; position: absolute; inset: 0; border-radius: 5px; }
.stamp { flex: none; font-family: var(--font-mono); font-size: .66rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; background: var(--signal); color: var(--on-signal); padding: 3px 7px; border-radius: 2px; }

/* Motor drawing */
.motor .m-body { fill: var(--motor); }
.motor .m-dark { fill: var(--motor-dark); }
.motor .m-fin { stroke: var(--motor-dark); stroke-width: 2.2; fill: none; }
.motor .m-shaft { fill: var(--metal); }
.motor .m-key { fill: var(--muted); }
.motor .m-base { stroke: var(--line); stroke-width: 2; fill: none; }
.motor .m-dim { stroke: var(--muted); stroke-width: 1.2; fill: none; }
.motor .m-dash { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; fill: none; }
.motor .m-head { fill: var(--muted); }
.motor text { fill: var(--muted); font-family: var(--font-mono); font-size: 11px; }
.motor .m-label { fill: var(--ink); font-size: 15px; font-weight: 500; }
.motor-fig { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 14px; display: grid; gap: 10px; }
.motor-fig .motor { width: 100%; height: auto; }
.motor-fig figcaption { font-family: var(--font-mono); font-size: .74rem; color: var(--muted); }

/* Category groups */
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-block: 8px 20px; }
.toolbar .count { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); }
.group { display: grid; gap: 16px; padding-block: 26px; border-top: 1px solid var(--line); }
.group-head { display: flex; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; }
.group-head h2 { font-size: 1.55rem; }
.group-head p { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); }

/* Tables */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; }
table.wide { min-width: 640px; }
caption { text-align: left; padding: 12px 14px 0; font-family: var(--font-mono); font-size: .74rem; color: var(--muted); caption-side: top; }
th, td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
thead th { font-family: var(--font-mono); font-size: .68rem; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); background: var(--paper); white-space: nowrap; }
td.num, th.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.spec th { width: 44%; font-weight: 600; color: var(--muted); }
.spec td { font-family: var(--font-mono); font-size: .93rem; }
tbody tr:hover td, tbody tr:hover th { background: color-mix(in srgb, var(--accent) 6%, transparent); }

/* Content blocks */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); }
@media (max-width: 820px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.stack { display: grid; gap: 16px; min-width: 0; align-content: start; }
.stack > p { max-width: 68ch; }
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 28px; }
.why-item { border-top: 2px solid var(--ink); padding-top: 14px; display: grid; gap: 8px; align-content: start; }
.why-item p { color: var(--muted); }
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 16px; }
.cat { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 128px; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); }
.cat:hover { border-color: var(--accent); }
.cat-copy { display: grid; gap: 10px; min-width: 0; }
.cat h3 { font-size: 1.6rem; font-stretch: 75%; font-weight: 800; }
.cat h3 a { color: var(--ink); text-decoration: none; }
.cat h3 a::after { content: ""; position: absolute; inset: 0; }
.cat .motor { width: 128px; height: auto; }
.mini-spec { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; font-size: .92rem; }
.mini-spec dt { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.mini-spec dd { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
@media (max-width: 420px) { .cat { grid-template-columns: minmax(0, 1fr); } .cat .motor { width: 110px; } }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 16px; }
.card { position: relative; display: grid; gap: 10px; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card:hover { border-color: var(--accent); }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { color: var(--muted); }
.brand-card { display: grid; gap: 10px; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.brand-card h3 { font-size: 1.7rem; font-stretch: 72%; font-weight: 800; letter-spacing: .02em; }

/* FAQ */
.faq { display: grid; max-width: 80ch; }
.faq-item { padding-block: 18px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3, .faq-item h2 { font-size: 1.14rem; font-stretch: 95%; font-weight: 700; }

/* Articles */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .article-grid { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } }
.toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 88px); display: grid; gap: 10px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.toc ol { padding-left: 1.1em; display: grid; gap: 6px; font-size: .92rem; }
.prose { max-width: 70ch; min-width: 0; }
.prose > * + * { margin-top: 14px; }
.prose h2 { margin-top: 44px; font-size: clamp(1.4rem, 2.6vw, 1.8rem); scroll-margin-top: 96px; }
.prose h3 { margin-top: 26px; }
.prose ul, .prose ol { padding-left: 1.2em; display: grid; gap: 6px; }
.prose .table-scroll, .prose .answer { margin-top: 18px; }
.prose code { font-family: var(--font-mono); font-size: .92em; background: var(--surface); border: 1px solid var(--line); border-radius: 3px; padding: 1px 5px; }
.byline { font-family: var(--font-mono); font-size: .76rem; color: var(--muted); }
.formula { font-family: var(--font-mono); font-size: 1.05rem; padding: 12px 16px; background: var(--surface); border: 1px dashed var(--line); border-radius: 4px; display: inline-block; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.gallery figure { aspect-ratio: 1; max-width: 100%; overflow: hidden; border-radius: 4px; border: 1px solid var(--line); background: var(--surface); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* CTA band */
.cta-band { background: var(--accent); color: var(--on-accent); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center; }
.cta-band h2 { color: var(--on-accent); }
.cta-band p { max-width: 54ch; margin-top: 8px; }
.cta-actions { display: grid; gap: 12px; justify-items: start; }
.cta-tel { font-family: var(--font-display); font-stretch: 75%; font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--on-accent); text-decoration: none; line-height: 1; font-variant-numeric: tabular-nums; }
.cta-tel:hover { color: var(--on-accent); text-decoration: underline; }
.cta-band .btn { background: var(--on-accent); color: var(--accent); }
.cta-band .btn:hover { background: var(--paper); color: var(--accent-hover); }
@media (max-width: 720px) { .cta-band { grid-template-columns: minmax(0, 1fr); } }

/* Forms */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.form { display: grid; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; min-width: 0; }
.form .opt { font-weight: 400; color: var(--muted); font-size: .85rem; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--on-signal); background: var(--signal); padding: 10px 12px; border-radius: 4px; font-weight: 600; }
.result-box { display: grid; gap: 12px; padding: 20px; background: var(--surface); border: 1.5px solid var(--accent); border-radius: var(--radius); }
.result-box pre { white-space: pre-wrap; font-family: var(--font-mono); font-size: .84rem; background: var(--paper); padding: 12px; border-radius: 4px; max-height: 300px; overflow: auto; margin: 0; }
.side-card { display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.side-card ul { padding-left: 1.1em; display: grid; gap: 6px; }
.big-tel { font-family: var(--font-display); font-stretch: 75%; font-weight: 800; font-size: 2rem; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }

/* Footer */
.site-foot { background: var(--foot-bg); color: var(--foot-fg); padding-block: 48px 28px; }
.site-foot a { color: var(--foot-fg); }
.site-foot a:hover { color: var(--foot-head); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot-grid h2 { font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: var(--foot-head); font-stretch: 100%; margin-bottom: 12px; }
.foot-grid ul { list-style: none; padding: 0; display: grid; gap: 7px; font-size: .95rem; }
.foot-brand { display: grid; gap: 10px; align-content: start; }
.foot-brand .brand-name { color: var(--foot-head); }
.foot-tel { font-family: var(--font-display); font-stretch: 78%; font-weight: 800; font-size: 1.5rem; color: var(--foot-head) !important; text-decoration: none; }
.foot-legal { border-top: 1px solid color-mix(in srgb, var(--foot-fg) 25%, transparent); margin-top: 32px; padding-top: 16px; font-size: .84rem; display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* Mobile call bar */
.mcta { display: none; }
@media (max-width: 720px) {
  .mcta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line); }
  .mcta .btn { min-height: 44px; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .plate, .btn, .chip, .card, .cat, .seg label { transition: border-color .15s ease, background-color .15s ease, color .15s ease; }
}
