:root {
  --blue: #2f5aae; --blue-d: #24478c; --blue-l: #eef2fa; --ink: #1d2330; --muted: #5d6677; --line: #dde1e8;
  --bg: #ffffff; --soft: #f4f5f7; --ok: #1f7a4d; --green: #7cb342;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font: 16px/1.6 var(--sans); color: var(--ink); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* chrome */
.topbar { background: var(--ink); color: #c9cfdb; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 12px; }
.topbar a { color: #fff; text-decoration: none; }
.langs { display: flex; gap: 2px; }
.langs button { background: none; border: 0; color: #9aa3b5; font: 500 12px var(--mono); padding: 4px 7px; cursor: pointer; border-radius: 3px; text-transform: uppercase; }
.langs button.on { background: var(--blue); color: #fff; }
header.main { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); z-index: 20; }
header.main .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
header.main .logo img { height: 36px; width: auto; }
nav.primary { display: flex; gap: 2px; align-items: center; }
nav.primary a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 4px; white-space: nowrap; }
nav.primary a:hover { background: var(--soft); }
nav.primary a.on { color: var(--blue); }
nav.primary a.cta { background: var(--blue); color: #fff; margin-left: 6px; }
nav.primary a.cta:hover { background: var(--blue-d); }
.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 4px; padding: 8px 10px; font-size: 18px; cursor: pointer; }

/* type */
section { padding: 64px 0; }
section.tight { padding: 40px 0; }
section.soft { background: var(--soft); }
h1 { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.015em; }
h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; margin: 0 0 10px; letter-spacing: -0.01em; }
h3 { font-size: 18px; margin: 0 0 6px; line-height: 1.3; }
.lead { font-size: 19px; color: var(--muted); max-width: 680px; margin: 0; }
.kicker { font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.sechead { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }

.btns { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 4px; font: 600 15px var(--sans); text-decoration: none; border: 1px solid var(--blue); cursor: pointer; background: var(--blue); color: #fff; }
.btn:hover { background: var(--blue-d); }
.btn.ghost { background: #fff; color: var(--blue); }
.btn.ghost:hover { background: var(--blue-l); }
.btn:disabled { opacity: .5; cursor: progress; }
.link { font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* hero */
.hero { background: linear-gradient(180deg, var(--soft), #fff); border-bottom: 1px solid var(--line); padding: 56px 0 0; }
.hero .grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero .img { border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 3.4; background: #ddd; }
.hero .img img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 48px; border: 1px solid var(--line); border-bottom: 0; background: #fff; border-radius: 6px 6px 0 0; }
.facts div { padding: 18px 22px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts b { display: block; font: 600 26px var(--mono); color: var(--blue); }
.facts span { font-size: 14px; color: var(--muted); }

/* cards */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: 6px; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.card .ph { aspect-ratio: 16 / 10; background: var(--soft); overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card .ph.contain img { object-fit: contain; background: #fff; }
a.card { text-decoration: none; color: inherit; }
a.card:hover .ph img { transform: scale(1.03); }
a.card:hover { border-color: #b8c4dc; }
.card .bd { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .bd p { margin: 0; color: var(--muted); font-size: 15px; }
.card .specs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; }
.chip { display: inline-block; font: 500 12px var(--mono); padding: 3px 8px; border-radius: 3px; background: var(--blue-l); color: var(--blue-d); white-space: nowrap; }
.chip.g { background: #eaf4e2; color: #3b6b1a; }
.chip.grey { background: var(--soft); color: var(--muted); }
.date { font: 12px var(--mono); color: var(--muted); }

.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why .item { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; }
.why .item img { width: 96px; height: 96px; object-fit: cover; border-radius: 6px; }
.why .item p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }

.ctaband { background: var(--ink); color: #fff; border-radius: 8px; padding: 40px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.ctaband p { color: #c9cfdb; margin: 6px 0 0; }
.ctaband .btn.ghost { background: transparent; color: #fff; border-color: #6c7586; }

/* products */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pills button { border: 1px solid var(--line); background: #fff; padding: 7px 14px; border-radius: 20px; font: 500 14px var(--sans); cursor: pointer; color: var(--ink); }
.pills button.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; }
table.spec { border-collapse: collapse; width: 100%; font-size: 14px; min-width: 900px; }
table.spec th, table.spec td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
table.spec th { background: var(--soft); font-weight: 600; font-size: 12px; letter-spacing: .03em; color: var(--muted); }
table.spec td.num { font-family: var(--mono); white-space: nowrap; }
table.spec tr:last-child td { border-bottom: 0; }
table.spec tr:hover td { background: #fafbfd; }
table.spec .thumb { width: 56px; height: 42px; object-fit: cover; border-radius: 3px; }

.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pdp .img { border-radius: 6px; overflow: hidden; border: 1px solid var(--line); background: #fff; aspect-ratio: 4 / 3; }
.pdp .img img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
dl.specs { display: grid; grid-template-columns: 200px 1fr; margin: 24px 0; border-top: 1px solid var(--line); }
dl.specs dt, dl.specs dd { padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; }
dl.specs dt { color: var(--muted); font-size: 14px; }
dl.specs dd { font-family: var(--mono); font-size: 14px; }
.vtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.vtable th, .vtable td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.vtable th { font-size: 12px; color: var(--muted); font-weight: 600; }
.note { background: var(--blue-l); border-radius: 6px; padding: 14px 16px; font-size: 14px; margin-top: 20px; }

/* forms */
.formgrid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.formgrid > * { min-width: 0; }
.fcard { border: 1px solid var(--line); border-radius: 8px; padding: 30px; background: #fff; }
.step { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; margin: 30px 0 14px; }
.step:first-child, #formErr:empty + .step { margin-top: 0; }
.step i { font: 600 13px var(--mono); font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; flex: none; }
label.f { display: block; font-size: 14px; font-weight: 500; margin-bottom: 14px; }
label.f > span { display: block; margin-bottom: 5px; }
label.f small { color: var(--muted); font-weight: 400; }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  width: 100%; max-width: 100%; padding: 11px 12px; border: 1px solid #c5cbd6; border-radius: 4px; font: 15px var(--sans); color: var(--ink); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid #b9cbee; border-color: var(--blue); }
textarea { min-height: 110px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: 130px 1fr 2fr; gap: 14px; }
.row2 > *, .row3 > * { min-width: 0; }
.pline { display: grid; grid-template-columns: minmax(0, 1fr) 124px 42px; gap: 10px; align-items: center; margin-bottom: 4px; }
.pline + .hint { margin-bottom: 12px; }
.hint { font: 12px var(--mono); color: var(--muted); min-height: 16px; }
.qty { display: flex; border: 1px solid #c5cbd6; border-radius: 4px; overflow: hidden; height: 44px; }
.qty button { width: 36px; border: 0; background: var(--soft); font-size: 18px; cursor: pointer; color: var(--ink); }
.qty input { border: 0; text-align: center; width: 100%; padding: 0; font-family: var(--mono); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.rm { border: 1px solid var(--line); background: #fff; border-radius: 4px; height: 44px; cursor: pointer; color: var(--muted); font-size: 18px; }
.rm:disabled { opacity: .35; cursor: default; }
.add { background: none; border: 1px dashed #9fb0d2; color: var(--blue); width: 100%; padding: 11px; border-radius: 4px; font: 500 14px var(--sans); cursor: pointer; margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin: 4px 0 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); margin-top: 3px; flex: none; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.ts { margin: 18px 0 8px; min-height: 65px; }
.consent { font-size: 13px; color: var(--muted); }
.err { color: #b3261e; font-size: 13px; margin: -8px 0 12px; }
.formerr { background: #fdecea; color: #8c1d18; padding: 12px 14px; border-radius: 4px; margin-bottom: 16px; font-size: 14px; }
aside.side .box { border-radius: 8px; padding: 22px; background: var(--soft); }
aside.side h3 { font-size: 15px; }
aside.side ul { padding-left: 18px; margin: 8px 0 0; font-size: 14px; color: var(--muted); }
aside.side .sum { font-family: var(--mono); font-size: 13px; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 12px; margin-top: 10px; line-height: 1.7; }
aside.side .contact { margin-top: 18px; font-size: 14px; }

.done { text-align: center; padding: 30px 0; }
.done .big { width: 64px; height: 64px; border-radius: 50%; background: #e3f3ea; color: var(--ok); display: grid; place-items: center; font-size: 30px; margin: 0 auto 18px; }
.mail { text-align: left; max-width: 580px; margin: 26px auto 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.mail header { background: var(--soft); padding: 10px 14px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); }
.mail pre { margin: 0; padding: 16px; white-space: pre-wrap; font: 14px/1.6 var(--sans); }

.loading { padding: 80px 0; text-align: center; color: var(--muted); }

footer { background: var(--ink); color: #9aa3b5; font-size: 14px; padding: 44px 0 28px; margin-top: 40px; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
footer a { color: #c9cfdb; text-decoration: none; }
footer a:hover { color: #fff; }
footer h4 { color: #fff; margin: 0 0 10px; font-size: 14px; }
footer ul { list-style: none; padding: 0; margin: 0; line-height: 2; }
footer .bottom { border-top: 1px solid #333a49; margin-top: 30px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }

@media (max-width: 960px) {
  .hero .grid, .pdp, .formgrid { grid-template-columns: 1fr; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .grid3, .why { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(2) { border-right: 0; }
  .facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .ctaband { grid-template-columns: 1fr; padding: 28px; }
  footer .cols { grid-template-columns: 1fr; }
  .burger { display: block; }
  nav.primary { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 16px 16px; border-bottom: 1px solid var(--line); }
  nav.primary.open { display: flex; }
  nav.primary a.cta { margin: 6px 0 0; text-align: center; }
}
@media (max-width: 600px) {
  section { padding: 44px 0; }
  .grid4 { grid-template-columns: 1fr; }
  .row2, .row3 { grid-template-columns: 1fr; }
  .fcard { padding: 20px; }
  .pline { grid-template-columns: minmax(0, 1fr) 110px 42px; }
  .topbar .mail-addr { display: none; }
  dl.specs { grid-template-columns: 1fr 1fr; }
}
