/* Landing 2 — design tokens. One warm neutral field, one accent (Case IH red), ink text.
   Display face: Unbounded (Cyrillic-first). Body: Manrope. Article numbers: monospace. */
:root {
  --sand: #f4f1ea;
  --sand-2: #ebe6db;
  --paper: #ffffff;
  --ink: #15161a;
  --ink-2: #3a3d46;
  --muted: #676b76;
  --line: #ddd7ca;
  --accent: #c8102e;
  --accent-ink: #9e0c24;
  --accent-soft: #fbe8eb;
  --steel: #16181d;
  --steel-2: #23262d;
  --ok: #1f8a4c;
  --radius: 22px;
  --radius-s: 12px;
  --shadow: 0 18px 50px -24px rgba(21, 22, 26, .35);
  --font-display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
  --gutter: 16px;
  --max: 1200px;
  --section: clamp(64px, 9vw, 128px);
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--sand);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; margin: 0; line-height: 1.12; }
p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--font-mono); font-size: .92em; letter-spacing: .02em; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.sec-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); display: grid; gap: 14px; }
.sec-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.75rem); }
.sec-head p.lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 28px -12px rgba(200, 16, 46, .65); }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sand-2); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); background: rgba(244, 241, 234, .82); border-bottom: 1px solid rgba(21, 22, 26, .06); }
.site-head .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: .01em; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand small { display: none; font-family: var(--font-mono); font-weight: 400; font-size: 10px; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.site-nav { display: none; gap: 26px; margin-left: auto; margin-right: 6px; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); white-space: nowrap; }
/* Six links fit in one row only on wide screens; the two descriptive ones go first. */
@media (max-width: 1199px) { .site-nav .nav-wide { display: none; } }
.site-nav a:hover { color: var(--accent); }
.site-head .btn { margin-left: auto; }
@media (min-width: 640px) { .brand small { display: block; } }
@media (min-width: 900px) { .site-nav { display: flex; } .site-head .btn { margin-left: 0; } }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(32px, 5vw, 64px); position: relative; }
.hero .wrap { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; } }
.hero h1 { font-size: clamp(1.95rem, 4.6vw, 3.8rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.04; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { margin-top: 22px; font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: var(--ink-2); max-width: 56ch; }
.hero .cta-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .fine { margin-top: 16px; font-size: 14px; color: var(--muted); }
.hero-visual { position: relative; }
.hero-card {
  position: relative; border-radius: calc(var(--radius) + 6px); background: linear-gradient(160deg, #fff 0%, #f7f4ee 100%);
  box-shadow: var(--shadow); padding: clamp(16px, 3vw, 28px); overflow: hidden; aspect-ratio: 1 / 1; max-width: 560px; margin-inline: auto;
}
.hero-card::before { content: ''; position: absolute; inset: auto -20% -35% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(200, 16, 46, .12), transparent 70%); }
.hero-card img { position: relative; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(21, 22, 26, .18)); }
.hero-card .tag { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(21, 22, 26, .92); color: #fff; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; box-shadow: 0 10px 24px -12px rgba(0,0,0,.5); }
.hero-card .tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(200,16,46,.2); }
.hero-card .tag-1 { left: 18px; top: 18px; }
.hero-card .tag-2 { right: 18px; bottom: 18px; background: #fff; color: var(--ink); border: 1px solid var(--line); }
/* Hero 3D: the model sits over the photo, invisible until it has loaded (landing.js adds .is-3d). */
.hero-card .tag { z-index: 2; pointer-events: none; }
.hero-card .tag-3d { right: 18px; top: 18px; background: #fff; color: var(--ink); border: 1px solid var(--line); opacity: 0; transition: opacity .5s ease .3s; }
.hero-card model-viewer { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; background: transparent; --poster-color: transparent; opacity: 0; pointer-events: none; cursor: grab; transition: opacity .5s ease; }
.hero-card model-viewer:active { cursor: grabbing; }
.hero-card model-viewer:focus-visible { outline-offset: -3px; }
.hero-card img { transition: opacity .5s ease; }
.hero-card.is-3d model-viewer { opacity: 1; pointer-events: auto; }
.hero-card.is-3d img { opacity: 0; }
.hero-card.is-3d .tag-3d { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-card model-viewer, .hero-card img, .hero-card .tag-3d { transition: none; } }
.hero-card .tag-3d .short { display: none; }
@media (max-width: 600px) { .hero-card .tag-3d .long { display: none; } .hero-card .tag-3d .short { display: inline; } }
.hero-card .grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(21,22,26,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(21,22,26,.05) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(circle at 50% 50%, #000 40%, transparent 78%); -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 40%, transparent 78%); }
.hero-marquee { margin-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 12px 0; }
.hero-marquee ul { display: flex; gap: 40px; margin: 0; padding: 0; list-style: none; white-space: nowrap; width: max-content; animation: marquee 40s linear infinite; }
.hero-marquee li { font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 40px; }
.hero-marquee li::after { content: '·'; color: var(--accent); font-size: 20px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hero-marquee ul { animation: none; width: auto; flex-wrap: wrap; white-space: normal; row-gap: 8px; } .hero-marquee li::after { display: none; } }

/* ---------- Facts stripe ---------- */
.facts { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fact { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 18px 18px 16px; display: grid; gap: 6px; }
.fact b { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: -.02em; }
.fact span { font-size: 14px; color: var(--muted); line-height: 1.4; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 14px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step { position: relative; background: var(--paper); border-radius: var(--radius); padding: 26px 22px 24px; border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; min-height: 100%; transition: transform .25s ease, box-shadow .25s ease; }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.step .num { font-family: var(--font-mono); font-size: 13px; letter-spacing: .12em; color: var(--accent); }
.step h3 { font-size: 1.18rem; line-height: 1.25; }
.step p { color: var(--ink-2); font-size: 15.5px; }
.step .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--sand); display: grid; place-items: center; color: var(--ink); }
.step .ico svg { width: 22px; height: 22px; }

/* ---------- Bento benefits ---------- */
.bento { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); } .b-wide { grid-column: span 4; } .b-tall { grid-column: span 2; grid-row: span 2; } .b-2 { grid-column: span 2; } .b-3 { grid-column: span 3; } }
@media (max-width: 899px) { .bento > * { grid-column: span 2; } .bento > .b-half { grid-column: span 1; } }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; position: relative; overflow: hidden; }
.tile h3 { font-size: 1.15rem; line-height: 1.25; }
.tile p { color: var(--ink-2); font-size: 15.5px; }
.tile.dark { background: var(--steel); color: #fff; border-color: transparent; }
.tile.dark p { color: rgba(255,255,255,.72); }
.tile.accent { background: var(--accent); color: #fff; border-color: transparent; }
.tile.accent p { color: rgba(255,255,255,.85); }
.tile .big { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: -.03em; line-height: 1; }
.tile .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tile .chip { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; padding: 6px 10px; border-radius: 8px; background: var(--sand); border: 1px solid var(--line); }
.tile.dark .chip { background: var(--steel-2); border-color: rgba(255,255,255,.08); color: #fff; }
.tile .mock { margin-top: 8px; border-radius: 12px; background: var(--sand); border: 1px solid var(--line); padding: 12px; display: grid; gap: 8px; }
.tile .mock .row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; font-family: var(--font-mono); font-size: 12.5px; }
.tile .mock .row span:last-child { color: var(--ok); font-weight: 600; }
.tile .mock .row.muted span:last-child { color: var(--muted); font-weight: 400; }
.tile .mock .bar { height: 8px; border-radius: 4px; background: var(--line); }
.tile .mock .bar.short { width: 60%; }

/* ---------- Dark band: for whom ---------- */
.band { background: var(--steel); color: #fff; border-radius: clamp(20px, 3vw, 36px); padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 56px); position: relative; overflow: hidden; }
.band::after { content: ''; position: absolute; right: -10%; top: -30%; width: 55%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(200,16,46,.35), transparent 70%); pointer-events: none; }
.band .eyebrow { color: rgba(255,255,255,.6); }
.band h2 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); max-width: 22ch; }
.band .lead { color: rgba(255,255,255,.75); }
.audience { display: grid; gap: 12px; margin-top: 28px; position: relative; }
@media (min-width: 720px) { .audience { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .audience { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.aud { border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-s); padding: 18px; display: grid; gap: 8px; background: rgba(255,255,255,.03); }
.aud b { font-size: 16px; }
.aud span { font-size: 14px; color: rgba(255,255,255,.68); line-height: 1.45; }
.machines { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.machines span { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; padding: 7px 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.85); }

/* ---------- Catalogue grid ---------- */
.grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.card.featured { grid-column: 1 / -1; }
@media (min-width: 1100px) { .card.featured { grid-column: span 2; grid-row: span 2; } }
.card-body { padding: 16px; display: grid; gap: 8px; align-content: start; flex: 1; }
.card .art { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; color: var(--muted); }
.card h3 { font-family: var(--font-body); font-weight: 700; font-size: 15.5px; line-height: 1.3; letter-spacing: 0; }
.card .brandline { font-size: 13px; color: var(--muted); }
.card-foot { padding: 0 16px 16px; margin-top: auto; }
.card-foot .btn { width: 100%; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; background: var(--accent-soft); color: var(--accent-ink); }
.badge.neutral { background: var(--sand); color: var(--muted); font-weight: 600; }

/* placeholder cards — honest skeletons, not fake products */
.placeholder { background: var(--paper); }
.placeholder .ph-media { aspect-ratio: 1 / 1; background: repeating-linear-gradient(135deg, var(--sand) 0 12px, #f0ece3 12px 24px); position: relative; display: grid; place-items: center; }
.placeholder .ph-media svg { width: 34%; height: auto; opacity: .35; }
.placeholder .ph-media .slot { position: absolute; left: 12px; top: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.placeholder .ph-line { height: 10px; border-radius: 5px; background: var(--sand-2); }
.placeholder .ph-line.w60 { width: 60%; }
.placeholder .ph-line.w80 { width: 80%; }
.placeholder .card-foot .btn { border-color: var(--line); color: var(--muted); pointer-events: none; }

/* featured product card */
.featured .media { position: relative; background: linear-gradient(180deg, #fbfaf7 0%, #f3f0e8 100%); }
.featured .stage { position: relative; aspect-ratio: 1 / 1; overflow: hidden; outline: none; }
@media (min-width: 1100px) { .featured .stage { aspect-ratio: 4 / 3; } }
.featured .stage img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: opacity .25s ease; }
.featured .stage img.is-switching { opacity: .4; }
.featured[data-mode="3d"] .stage img { display: none; }
.featured .viewer { position: absolute; inset: 0; display: none; }
.featured[data-mode="3d"] .viewer { display: block; }
.featured model-viewer { width: 100%; height: 100%; background: transparent; --poster-color: transparent; }
.featured .viewer-status { position: absolute; left: 12px; right: 12px; bottom: 56px; margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(21,22,26,.9); color: #fff; font-size: 13px; }
.featured .viewer-tools { position: absolute; z-index: 3; left: 56px; bottom: 12px; display: flex; gap: 6px; }
.featured .viewer-tools button { font-size: 12px; font-weight: 600; padding: 7px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.featured .nav { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.92); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.featured .nav:hover { background: #fff; box-shadow: var(--shadow); }
.featured .nav.prev { left: 10px; }
.featured .nav.next { right: 10px; }
.featured .counter { position: absolute; z-index: 3; right: 12px; bottom: 12px; font-family: var(--font-mono); font-size: 12px; background: rgba(255,255,255,.9); padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line); }
/* Photo-only cards: the featured carousel squeezed into one grid cell; thumbs stay in the DOM
   as the carousel's data source (landing.js reads them) but are not shown. */
.card.featured.compact { grid-column: auto; grid-row: auto; }
.featured.compact .stage { aspect-ratio: 1 / 1; }
.featured.compact .stage img { padding: 8%; }
.featured.compact .thumbs { display: none; }
.featured.compact .nav { width: 32px; height: 32px; opacity: .85; }
.featured.compact .nav.prev { left: 6px; }
.featured.compact .nav.next { right: 6px; }
.featured.compact .counter { right: 8px; bottom: 8px; font-size: 11px; padding: 3px 7px; }
.featured.compact .card-body details summary { font-size: 13px; }
.featured.compact .specs { grid-template-columns: 1fr; }
/* compact cards have no thumb strip: the 3D toggle sits on the photo, top left */
.featured .stage-3d { position: absolute; z-index: 3; left: 8px; top: 8px; min-width: 44px; height: 32px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.94); color: var(--ink); font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .06em; cursor: pointer; }
.featured .stage-3d:hover { box-shadow: var(--shadow); }
.featured .stage-3d[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.featured.compact .viewer-status { left: 8px; right: 8px; bottom: 44px; font-size: 12px; padding: 8px 10px; }
.featured.compact details + details { margin-top: 0; border-top: 0; }
.featured.compact .specs .v { font-size: 13.5px; font-weight: 600; }
.featured.compact .more p { font-size: 13.5px; }
.featured.compact .more ul.specs { padding-left: 0; margin-left: 0; }
.featured.compact .more ul.specs li { list-style: none; }
.featured.compact .card-body { padding: 14px 14px 6px; gap: 6px; }
.featured.compact h3 { font-family: var(--font-body); font-weight: 700; font-size: 15.5px; line-height: 1.3; overflow-wrap: anywhere; hyphens: auto; }
.featured.compact .brandline { font-size: 12.5px; }
.card.featured.compact .card-foot { padding: 6px 14px 14px; grid-template-columns: 1fr; }
.card.featured.compact .card-foot .btn { width: 100%; padding: 0 10px; font-size: 14px; }
.thumbs { display: flex; gap: 8px; padding: 10px 12px 12px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.thumbs::-webkit-scrollbar { display: none; }
.thumbs button { flex: 0 0 auto; width: 60px; height: 60px; padding: 0; border-radius: 10px; border: 2px solid transparent; background: #fff; overflow: hidden; cursor: pointer; scroll-snap-align: center; display: grid; place-items: center; }
.thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.thumbs .thumb-3d { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; font-weight: 700; background: var(--ink); color: #fff; }
.thumbs .thumb-3d[aria-pressed="true"] { border-color: var(--accent); }
.featured .card-body { padding: 18px 18px 8px; gap: 10px; }
.featured h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.2; }
.featured .desc { color: var(--ink-2); font-size: 15.5px; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; margin: 6px 0 0; padding: 0; list-style: none; }
@media (min-width: 520px) { .specs { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.specs li { border-top: 1px solid var(--line); padding-top: 8px; display: grid; gap: 2px; }
.specs dt, .specs .k { font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.specs .v { font-weight: 700; font-size: 15px; }
.featured details { border-top: 1px solid var(--line); margin-top: 6px; }
.featured summary { cursor: pointer; padding: 12px 0; font-weight: 700; font-size: 15px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.featured summary::-webkit-details-marker { display: none; }
.featured summary::after { content: '+'; font-family: var(--font-mono); font-size: 18px; color: var(--muted); }
.featured details[open] summary::after { content: '−'; }
.featured details .more { display: grid; gap: 10px; padding-bottom: 12px; font-size: 15px; color: var(--ink-2); }
.featured details .more ul { margin: 0; padding-left: 18px; }
.featured .card-foot { padding: 10px 18px 18px; display: grid; gap: 10px; }
.featured .card-foot .note { font-size: 13px; color: var(--muted); }
@media (min-width: 560px) { .featured .card-foot { grid-template-columns: auto 1fr; align-items: center; } .featured .card-foot .btn { width: auto; } }

/* ---------- Company ---------- */
.about { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .about { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; } }
.about .text { display: grid; gap: 16px; font-size: 16.5px; color: var(--ink-2); }
.about .text p strong { color: var(--ink); }
.about .side { display: grid; gap: 12px; }
.kpi { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 18px 20px; display: grid; gap: 4px; }
.kpi b { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -.02em; }
.kpi span { font-size: 14px; color: var(--muted); }
.about .link-out { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent-ink); text-decoration: none; border-bottom: 2px solid var(--accent-soft); padding-bottom: 2px; }
.about .link-out:hover { border-color: var(--accent); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-mono); font-size: 20px; color: var(--accent); flex: 0 0 auto; }
.faq details[open] summary::after { content: '−'; }
.faq .a { padding: 0 0 18px; color: var(--ink-2); font-size: 15.5px; display: grid; gap: 8px; }

/* ---------- Final CTA ---------- */
.final { background: var(--accent); color: #fff; border-radius: clamp(20px, 3vw, 36px); padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 56px); display: grid; gap: 22px; position: relative; overflow: hidden; }
.final::before { content: '278821A3'; position: absolute; right: -2%; bottom: -12%; font-family: var(--font-mono); font-size: clamp(5rem, 16vw, 14rem); font-weight: 700; color: rgba(255,255,255,.08); letter-spacing: -.04em; pointer-events: none; }
.final h2 { font-size: clamp(1.7rem, 3.6vw, 2.8rem); max-width: 20ch; position: relative; }
.final p { color: rgba(255,255,255,.88); max-width: 56ch; font-size: 1.05rem; position: relative; }
.final .cta-row { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }
.final .btn-light:hover { background: #fff; }

/* ---------- Footer ---------- */
.site-foot { padding: 40px 0 calc(40px + 72px); font-size: 14px; color: var(--muted); }
@media (min-width: 900px) { .site-foot { padding-bottom: 40px; } }
.site-foot .wrap { display: grid; gap: 18px; }
.site-foot .row { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.site-foot a { color: var(--ink-2); text-decoration: none; }
.site-foot a:hover { color: var(--accent); }
.site-foot .legal { font-size: 12.5px; max-width: 80ch; line-height: 1.5; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: center; transform: translateY(110%); transition: transform .3s ease; }
.sticky-cta.is-visible { transform: none; }
.sticky-cta .txt { font-size: 13px; line-height: 1.3; color: var(--ink-2); min-width: 0; }
.sticky-cta .txt b { display: block; color: var(--ink); }
.sticky-cta .btn { margin-left: auto; flex: 0 0 auto; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } .step:hover { transform: none; } }

/* 3D slide: hide the progress slot once the model is in; compact header on narrow phones */
.featured .viewer.is-ready [slot="progress-bar"] { display: none; }
@media (max-width: 479px) {
  .site-head .wrap { gap: 10px; }
  .site-head .btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .brand { font-size: 15px; gap: 8px; }
  .brand img { width: 34px; height: 34px; }
}

/* ---------- Stock & price search (top of page, part-search.js) ---------- */
.part-search { padding-block: clamp(20px, 3vw, 36px) 0; scroll-margin-top: 76px; }
.ps-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(14px, 2.4vw, 22px); display: grid; gap: 12px; }
/* One line: article · button; on a phone the button drops under the field. */
.ps-line { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-items: end; }
@media (min-width: 640px) {
  .ps-line { grid-template-columns: minmax(0, 1fr) auto; }
  .ps-line .btn { min-width: 160px; }
}
.ps-line .btn:disabled { opacity: .6; cursor: progress; }
.ps-field { display: grid; gap: 6px; }
.ps-field > label > span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ps-field input { width: 100%; min-height: 52px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: var(--sand); font: inherit; font-size: 17px; color: var(--ink); }
.ps-art input { font-family: var(--font-mono); letter-spacing: .04em; }
.ps-field input:focus { outline: none; border-color: var(--ink); background: #fff; }
/* Article autocomplete (part-search.js): a listbox under the field, matched part in bold. */
.ps-combo { position: relative; }
.ps-suggest { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); box-shadow: var(--shadow); max-height: min(360px, 60vh); overflow-y: auto; }
.ps-suggest li { display: flex; gap: 12px; align-items: baseline; padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.ps-suggest li[aria-selected="true"], .ps-suggest li:hover { background: var(--sand); }
.ps-suggest .mono { flex: none; color: var(--ink); font-size: 16px; }
.ps-suggest mark { background: none; color: var(--accent); font-weight: 800; }
.ps-suggest .ps-s-name { color: var(--ink-2); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ps-suggest .ps-s-empty { color: var(--muted); cursor: default; font-size: 14px; }
.ps-suggest .ps-s-empty:hover { background: none; }
.ps-examples { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; }
.ps-examples button { border: 1px dashed var(--muted); background: none; border-radius: 8px; padding: 2px 8px; color: var(--ink); cursor: pointer; }
.ps-examples button:hover { border-color: var(--accent); color: var(--accent); }
.ps-error { color: var(--accent-ink); background: var(--accent-soft); border-radius: var(--radius-s); padding: 10px 14px; font-size: 15px; }

.ps-results { margin-top: 18px; display: grid; gap: 14px; scroll-margin-top: 80px; }
.ps-results-head { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; justify-content: space-between; padding-inline: 4px; }
.ps-results-head h3 { font-size: 1.1rem; font-weight: 700; }
.ps-note, .ps-wait { font-size: 14px; color: var(--muted); }
.ps-wait { padding: 18px 4px; }
.ps-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(14px, 2.4vw, 22px); display: grid; gap: 14px; }
.ps-item.is-not_found { background: transparent; border-style: dashed; }
.ps-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px 16px; align-items: center; }
.ps-row > .ps-price, .ps-row > .ps-cta { grid-column: 2; }
.ps-row.no-thumb { grid-template-columns: minmax(0, 1fr); }
.ps-row.no-thumb > .ps-price, .ps-row.no-thumb > .ps-cta { grid-column: 1; }
@media (min-width: 760px) {
  .ps-row { grid-template-columns: 72px minmax(0, 1fr) 190px 150px; }
  .ps-row.no-thumb { grid-template-columns: minmax(0, 1fr) 190px 150px; }
  .ps-row > .ps-price, .ps-row > .ps-cta, .ps-row.no-thumb > .ps-price, .ps-row.no-thumb > .ps-cta { grid-column: auto; }
  .ps-row > .ps-price { text-align: right; }
}
.ps-thumb { width: 72px; height: 72px; border-radius: var(--radius-s); background: var(--sand); display: grid; place-items: center; overflow: hidden; }
.ps-thumb img { width: 100%; height: 100%; object-fit: contain; }
a.ps-thumb:hover { outline: 2px solid var(--accent); }
.ps-main { display: grid; gap: 6px; min-width: 0; }
.ps-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ps-main h3, .ps-main h4 { font-family: var(--font-body); font-size: 17px; font-weight: 700; display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; }
.ps-main h4 { font-size: 16px; }
.ps-name { font-weight: 500; color: var(--ink-2); }
.ps-stock { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 14px; }
.ps-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-weight: 700; font-size: 13px; }
.ps-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ps-badge.ok { color: var(--ok); background: #e5f4ea; }
.ps-badge.warn { color: #9a5b00; background: #fdf1dc; }
.ps-badge.wait { color: #2a5fa8; background: #e6eef9; }
.ps-badge.no { color: var(--muted); background: var(--sand-2); }
.ps-eta { color: var(--ink-2); }
.ps-help { font-size: 14px; color: var(--ink-2); }
.ps-price { display: grid; gap: 2px; }
.ps-price b { font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; }
.ps-unit, .ps-total, .ps-price-hint { font-size: 13px; color: var(--muted); }
.ps-price-hint { font-weight: 600; color: var(--ink-2); }
.ps-cta { justify-self: start; }
@media (min-width: 760px) { .ps-cta { justify-self: stretch; } }
.ps-reps { border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 10px; }
.ps-rep { padding: 10px; margin-inline: -10px; border-radius: var(--radius-s); background: #f0f7f2; }
.ps-item.is-replacement .ps-reps .ps-label { color: var(--ok); font-weight: 700; }
.ps-foot { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; padding: 6px 4px 0; font-size: 15px; color: var(--ink-2); }
.part-search.is-loading .ps-results { opacity: .7; }

/* ---------- Card price (data/prices.json) in place of the «Наличие и цена» button ---------- */
.card-price { display: grid; gap: 4px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--paper); color: var(--ink); text-decoration: none; transition: border-color .2s, background .2s; }
.card-price:hover { border-color: var(--accent); background: var(--accent-soft); }
.card-price-value { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; white-space: nowrap; }
.card-price-value .arrow { color: var(--accent); font-family: var(--font-body); font-size: 17px; }
.card-price-note { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.card-price-stock { font-weight: 700; }
.card-price-stock.is-ok { color: var(--ok); }
.card-price-stock.is-wait { color: #8a5a00; }
.card-price-stock.is-no { color: var(--muted); }
.card-price-big { padding: 14px 18px; }
.card-price-big .card-price-value { font-size: 26px; }
.card-price-big .card-price-note { font-size: 14px; }
@media (max-width: 639px) { .card-price-value { font-size: 17px; } .card-price-big .card-price-value { font-size: 22px; } }
