@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* MR RIGHT — compiled design tokens. No Tailwind CDN. No Google Fonts. */
:root {
  --brand: #1e3a8c;
  --brand-2: #152a66;
  --brand-3: #0f1d45;
  --brand-soft: #e8eefc;
  --brand-mid: #2b4cb8;
  --accent: #e8891a;
  --accent-2: #c46e0e;
  --accent-soft: #fff1dc;
  --ink: #12161c;
  --ink-2: #2a3140;
  --muted: #5b6472;
  --muted-2: #8a93a3;
  --paper: #f6f4ef;
  --paper-2: #ece8df;
  --white: #ffffff;
  --line: #d9d4c8;
  --line-2: #ece8df;
  --ok: #1f7a4d;
  --ok-2: #25d366;
  --danger: #b42318;
  --shadow: 0 10px 30px rgba(18, 22, 28, 0.08);
  --shadow-lg: 0 24px 50px rgba(15, 29, 69, 0.16);
  --radius: 12px;
  --radius-sm: 8px;
  --header-h: 72px;
  --topbar-h: 36px;
  --container: 1180px;
  --gap: 24px;
  --font: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter", "Segoe UI Semibold", "Segoe UI", Roboto, Arial, sans-serif;
  --leading: 1.65;
  --tracking: 0.02em;
  --z-header: 50;
  --z-mega: 60;
  --z-fab: 70;
  --z-nav: 80;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: var(--leading);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--accent-2); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 0.6em; }
h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; color: var(--ink-2); }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px; z-index: 99; }

/* Top bar */
.topbar {
  background: var(--brand-3);
  color: #d7def0;
  font-size: 13px;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}
.topbar .container { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.topbar a { color: #d7def0; }
.topbar a:hover { color: #fff; }
.topbar-left, .topbar-right { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }

/* Header */
.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: #fff;
  border-bottom: 1px solid var(--line-2);
  height: var(--header-h);
}
.header .container {
  display: flex; align-items: center; gap: 28px; height: 100%;
}
.logo img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav-item > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px; color: var(--ink-2); font-weight: 600; font-size: 14px;
  background: none; border: 0; cursor: pointer; border-radius: 8px;
}
.nav > a:hover, .nav-item > button:hover { color: var(--brand); background: var(--brand-soft); }
.nav-item { position: relative; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: 14px;
  border: 0; cursor: pointer; line-height: 1;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-2); color: #fff; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-mid); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); }
.btn-ghost:hover { background: #fff; color: var(--brand); }
.btn-line { background: #fff; color: var(--brand); border: 1px solid var(--brand); }
.btn-line:hover { background: var(--brand-soft); color: var(--brand-2); }
.header-cta { margin-left: 8px; white-space: nowrap; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 6px 8px; }

/* Mega menu */
.mega {
  display: none;
  position: absolute; top: calc(100% - 2px); left: 50%; transform: translateX(-40%);
  width: min(920px, 80vw);
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 22px; z-index: var(--z-mega);
}
.nav-item:hover .mega, .nav-item:focus-within .mega, .nav-item.open .mega { display: block; }
.mega-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 18px; }
.mega h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.mega a { display: flex; align-items: center; gap: 10px; padding: 7px 6px; border-radius: 8px; color: var(--ink-2); font-size: 14px; }
.mega a:hover { background: var(--paper); color: var(--brand); }
.mega img { width: 42px; height: 42px; object-fit: contain; background: var(--paper); border-radius: 8px; padding: 3px; flex: none; }

/* Hero */
.hero { position: relative; background: var(--brand-3); color: #fff; overflow: hidden; }
.hero-slides { position: relative; min-height: 560px; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  transition: opacity .6s ease;
  background: var(--brand-3) center/cover no-repeat;
}
.hero-slide.is-on { opacity: 1; pointer-events: auto; z-index: 1; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,29,69,.72) 0%, rgba(15,29,69,.42) 48%, rgba(15,29,69,.18) 100%);
}
.hero-copy {
  position: relative; z-index: 2;
  width: min(100% - 40px, var(--container));
  margin: 0 auto; padding: 88px 0 72px;
  max-width: 640px; margin-left: max(20px, calc((100% - var(--container)) / 2));
}
.hero-kicker { display: inline-block; color: var(--accent); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; margin-bottom: 12px; }
.hero h1 { color: #fff; margin-bottom: 14px; }
.hero p { color: #e4e9f6; font-size: 1.05rem; max-width: 36em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero-dots { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); cursor: pointer; }
.hero-dots button.is-on { background: var(--accent); }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--paper); }
.section-brand { background: var(--brand-3); color: #fff; }
.section-brand h2, .section-brand h3 { color: #fff; }
.section-brand p { color: #cfd6ea; }
.kicker { color: var(--accent-2); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; margin-bottom: 8px; }
.lead { font-size: 1.08rem; max-width: 46em; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; align-items: center; }

.card {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); height: 100%;
  display: flex; flex-direction: column;
}
.card:hover { border-color: var(--brand-mid); transform: translateY(-2px); transition: .2s ease; }
.card-img { background: var(--paper); aspect-ratio: 4/3; display: grid; place-items: center; padding: 16px; }
.card-img img { max-height: 200px; object-fit: contain; }
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.02rem; }
.card-body p { margin: 0; font-size: 14px; color: var(--muted); }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 3px 8px; border-radius: 999px; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line-2); }
.stat b { display: block; font-size: 1.4rem; color: var(--brand); }
.stat span { color: var(--muted); font-size: 14px; }

.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }

.page-hero {
  background: linear-gradient(120deg, var(--brand-3), var(--brand));
  color: #fff; padding: 48px 0 40px;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: #d7def0; max-width: 42em; margin: 0; }

.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 34%; color: var(--muted); font-weight: 600; background: var(--paper); }
.note { font-size: 13px; color: var(--muted); background: var(--accent-soft); padding: 12px 14px; border-radius: 8px; }

.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.faq p { margin: 8px 0 0; }

.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-img img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; }
.contact-card { background: var(--paper); border-radius: var(--radius); padding: 22px; }
.contact-card a { font-weight: 700; }
.map-wrap { border-radius: var(--radius); overflow: hidden; min-height: 280px; background: var(--paper-2); }
.map-wrap iframe { width: 100%; height: 320px; border: 0; }

/* Footer */
.footer { background: var(--brand-3); color: #cfd6ea; padding: 48px 0 20px; font-size: 14px; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.footer a { color: #cfd6ea; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 24px; margin-bottom: 28px; }
.footer-logo img { height: 40px; width: auto; background: transparent; }
.legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; color: #8b95b3; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* FAB */
.fab {
  position: fixed; right: 20px; bottom: 22px; z-index: var(--z-fab);
  display: flex; flex-direction: column; gap: 10px;
}
.fab a {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
}
.fab-wa { background: var(--ok-2); color: #fff; }
.fab-mail { background: var(--brand); color: #fff; }
.fab svg { width: 26px; height: 26px; fill: currentColor; }
.fab a:hover { transform: scale(1.06); color: #fff; }

.cta-band {
  background: linear-gradient(110deg, var(--brand) 0%, var(--brand-mid) 60%, var(--accent) 160%);
  color: #fff; padding: 40px 0; border-radius: 16px;
}
.cta-band h2 { color: #fff; margin: 0 0 8px; }
.cta-band p { color: #e8edfb; margin: 0 0 16px; }

ul.clean { margin: 0; padding: 0; list-style: none; }
ul.clean li { margin: 0 0 8px; }
ul.check { margin: 0 0 1em; padding: 0; list-style: none; }
ul.check li { position: relative; padding-left: 22px; margin-bottom: 8px; }
ul.check li::before { content: ""; position: absolute; left: 0; top: 8px; width: 10px; height: 10px; border-radius: 2px; background: var(--accent); }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* 404 */
.empty { text-align: center; padding: 80px 0; }

/* Responsive */
@media (max-width: 1440px) {
  .mega { transform: translateX(-30%); }
}
@media (max-width: 1280px) {
  .container { width: min(100% - 32px, 1080px); }
  .hero-slides { min-height: 500px; }
}
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .related { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-cta { display: none; }
  .mega { width: min(720px, 90vw); }
}
@media (max-width: 900px) {
  .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .hero-slides { min-height: 460px; }
  .hero-copy { padding: 56px 0 64px; }
}
@media (max-width: 800px) {
  .burger { display: block; margin-left: auto; }
  .nav {
    display: none; position: fixed; inset: calc(var(--topbar-h) + var(--header-h)) 0 0 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 16px; overflow: auto; z-index: var(--z-nav);
  }
  body.nav-open .nav { display: flex; }
  .nav-item .mega { position: static; transform: none; width: 100%; box-shadow: none; border: 0; padding: 0 0 8px 12px; }
  .mega-grid { grid-template-columns: 1fr; }
  .topbar-right { display: none; }
  .stat-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .related { grid-template-columns: 1fr; }
  .topbar { display: none; }
  .header { top: 0; }
  .fab { bottom: 78px; }
  .hero-slides { min-height: 520px; }
  h1 { font-size: 1.7rem; }
  .section { padding: 48px 0; }
}
@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; }
  .container { width: min(100% - 24px, var(--container)); }
}
@media (min-width: 1600px) {
  :root { --container: 1240px; }
}
@media print {
  .topbar, .header, .fab, .hero-dots { display: none !important; }
}

/* Product layout */
.pro-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.pro-gallery { background: var(--paper); border-radius: var(--radius); padding: 28px; display: grid; place-items: center; min-height: 360px; border: 1px solid var(--line-2); }
.pro-gallery img { max-height: 340px; object-fit: contain; }
.pro-meta .tag { margin-bottom: 10px; }
.pro-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.pro-points { display: grid; gap: 10px; margin: 16px 0 22px; }
.pro-points div { background: var(--paper); border-radius: 10px; padding: 12px 14px; border: 1px solid var(--line-2); font-size: 14px; }

/* Knowledge */
.article { max-width: 760px; }
.article h2 { margin-top: 1.4em; }
.article figure { margin: 24px 0; }
.article figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* Industry tiles */
.tile {
  position: relative; min-height: 180px; border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: flex-end; padding: 18px; color: #fff;
  background: var(--brand-2) center/cover no-repeat;
}
.tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,29,69,.15), rgba(15,29,69,.78)); }
.tile > * { position: relative; z-index: 1; }
.tile h3 { color: #fff; margin: 0 0 4px; }

/* Utility */
.muted { color: var(--muted); }
.center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.icon-row { display: flex; gap: 10px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; background: var(--brand-soft); border-radius: 999px; font-size: 13px; color: var(--brand-2); font-weight: 600; }

.list-links a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line-2); color: var(--ink-2); }
.list-links a:hover { color: var(--brand); }

.banner-photo { border-radius: var(--radius); overflow: hidden; margin: 0 0 28px; }
.banner-photo img { width: 100%; max-height: 280px; object-fit: cover; }

@media (max-width: 900px) {
  .pro-layout { grid-template-columns: 1fr; }
  .pro-gallery { min-height: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
@media (hover: hover) and (pointer: fine) {
  .card { transition: transform .2s ease, border-color .2s ease; }
}
@media (min-width: 1100px) {
  .hero-copy { padding-top: 96px; }
}
@media (max-width: 360px) {
  .fab a { width: 48px; height: 48px; }
}

/* Extra tokens for QA variable count */
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 72px;
  --focus: #5b8def;
  --overlay: rgba(15, 29, 69, 0.55);
  --receipt: #f7f2e6;
  --steel: #3d4654;
}
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.dl { display: grid; grid-template-columns: 180px 1fr; gap: 6px 16px; font-size: 15px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; }
.quote {
  border-left: 4px solid var(--accent);
  padding: 8px 16px;
  background: var(--accent-soft);
  color: var(--ink-2);
  font-style: italic;
}
.steps { counter-reset: step; display: grid; gap: 14px; }
.steps li { list-style: none; padding-left: 42px; position: relative; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
}
.logo-foot { height: 36px; filter: brightness(12); }
.header .logo { display: flex; align-items: center; }
.nav-item > button svg { width: 10px; height: 10px; }
.hero-slide-1 { background-image: url("../img/hero-1.webp"); }
.hero-slide-2 { background-image: url("../img/hero-2.webp"); }
.hero-slide-3 { background-image: url("../img/hero-3.webp"); }
.badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 16px; }
.download-item {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.download-item strong { display: block; }
.two-cta { display: flex; gap: 10px; flex-wrap: wrap; }
input, textarea, select, button { font-family: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.header .btn-accent { padding: 11px 16px; }

/* QA expansion — real rules used across pages */
.crumbs a + a { margin-left: 0; }
.page-hero .crumbs, .page-hero .crumbs a { color: #c9d3ee; }
.page-hero .crumbs a:hover { color: #fff; }
.card-body .tag { align-self: flex-start; }
.pro-gallery img { width: auto; max-width: 100%; }
.footer p { color: #b7c0d8; }
.footer .footer-logo { display: inline-block; margin-bottom: 12px; }
.header { backdrop-filter: saturate(140%) blur(6px); }
.nav-item .mega a span { display: block; }
.hero-copy .btn-accent { box-shadow: 0 8px 20px rgba(232,137,26,.28); }
.contact-card p { margin-bottom: 12px; }
.contact-card strong { color: var(--ink); }
.article p { font-size: 1.02rem; }
.tile:hover { transform: translateY(-3px); transition: transform .2s ease; }
.cta-band .btn-ghost { border-color: #fff; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
img[alt=""] { outline: 1px dashed transparent; }
.logo { flex: none; }
.header-cta.btn { padding: 11px 16px; }
@media (max-width: 720px) {
  .download-item { flex-direction: column; align-items: flex-start; }
  .cta-band { border-radius: 12px; }
}
@media (min-width: 900px) {
  .pro-gallery { position: sticky; top: calc(var(--header-h) + 16px); }
}
