/* HAGOIN site.css — compiled design tokens, no CDN */
:root {
  --brand: #E20001;
  --brand-dark: #B80000;
  --brand-soft: #FDECEC;
  --ink: #1A1A1A;
  --ink-2: #2C2C2C;
  --ink-3: #4A4A4A;
  --muted: #6B6B6B;
  --line: #E5E2DC;
  --line-2: #D4D0C8;
  --bg: #F6F5F2;
  --bg-2: #FFFFFF;
  --bg-3: #EFEDE8;
  --steel: #3B6F9C;
  --steel-dark: #2A5478;
  --steel-soft: #E8F0F6;
  --metal: #C5C9CE;
  --rubber: #111111;
  --wa: #25D366;
  --wa-dark: #1DA851;
  --warn: #C4A35A;
  --ok: #2E7D4F;
  --shadow: 0 8px 24px rgba(26,26,26,.08);
  --shadow-sm: 0 2px 8px rgba(26,26,26,.06);
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --header-h: 72px;
  --topbar-h: 36px;
  --max: 1180px;
  --pad: 24px;
  --gap: 20px;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Semibold", "Segoe UI", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --lh: 1.6;
  --ease: cubic-bezier(.2,.7,.2,1);
  --focus: 0 0 0 3px rgba(226,0,1,.28);
  --float-offset: 22px;
}

*, *::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(--bg);
  line-height: var(--lh);
  font-size: 16px;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel); text-decoration: none; }
a:hover { color: var(--brand); }
button { font-family: inherit; }
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.25; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: 2.15rem; letter-spacing: -0.02em; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; color: var(--ink-3); }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; color: var(--ink-3); }

.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 80; }

/* Top bar */
.topbar {
  background: var(--ink);
  color: #ddd;
  font-size: 12.5px;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; width: min(var(--max), calc(100% - 32px)); }
.topbar a { color: #eee; }
.topbar a:hover { color: #fff; }
.topbar-right { display: flex; gap: 16px; }

/* Header */
.header {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
}
.header .wrap {
  display: flex; align-items: center; gap: 28px;
  height: var(--header-h);
}
.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav > li { list-style: none; position: relative; }
.nav { list-style: none; margin: 0; padding: 0; }
.nav > li > a {
  display: block; padding: 10px 12px; color: var(--ink-2);
  font-weight: 600; font-size: 14.5px; border-radius: var(--radius-sm);
}
.nav > li > a:hover, .nav > li:hover > a { color: var(--brand); background: var(--brand-soft); }

/* Mega menu */
.mega {
  position: absolute; left: 0; top: 100%;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px; min-width: 640px; max-width: 820px;
  display: none; grid-template-columns: repeat(3, 1fr); gap: 10px;
  max-height: 420px; overflow: auto;
}
.nav > li:hover .mega, .nav > li:focus-within .mega { display: grid; }
.mega a {
  display: flex; align-items: center; gap: 10px;
  padding: 8px; border-radius: var(--radius-sm); color: var(--ink-2);
  font-size: 13.5px; border: 1px solid transparent;
}
.mega a:hover { background: var(--bg); border-color: var(--line); color: var(--ink); }
.mega img { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; background: var(--bg-3); flex: 0 0 48px; }
.mega span { display: block; }
.mega small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }

.header-cta { margin-left: auto; display: flex; gap: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: 8px; font-weight: 650; font-size: 14px;
  border: 1px solid transparent; cursor: pointer; line-height: 1.2;
  transition: background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-steel { background: var(--steel); color: #fff; }
.btn-steel:hover { background: var(--steel-dark); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); color: #fff; }

.burger { display: none; background: none; border: 0; width: 40px; height: 40px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 6px 8px; }

/* Hero */
.hero {
  position: relative; background: var(--ink); color: #fff;
  min-height: 520px; overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease);
  background: #111 center/cover no-repeat;
}
.hero-slide.is-on { opacity: 1; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,.72) 0%, rgba(10,10,10,.45) 48%, rgba(10,10,10,.28) 100%);
}
.hero-copy {
  position: relative; z-index: 2; padding: 72px 0 64px;
  width: min(var(--max), calc(100% - 32px)); margin: 0 auto;
  max-width: 720px; margin-left: max(16px, calc((100% - var(--max)) / 2));
}
.hero h1 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 18ch; }
.hero p { color: #e8e8e8; font-size: 1.05rem; max-width: 46ch; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.hero-dots { position: absolute; z-index: 3; left: 50%; bottom: 18px; 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); padding: 0;
}
.hero-dots button.is-on { background: #fff; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-2); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--brand); font-weight: 700; margin-bottom: 6px; }

.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: var(--gap); }

.card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.card-img { aspect-ratio: 1; background: var(--bg-3); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 14px 16px 18px; }
.card-body h3 { font-size: 1rem; margin: 0 0 6px; }
.card-body p { font-size: 13.5px; margin: 0; }

.cap-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.cap {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 16px;
}
.cap h3 { font-size: 15px; margin: 0 0 6px; }
.cap p { font-size: 13.5px; margin: 0; }

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

/* Product page */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; padding: 24px 0 48px; }
.gallery { display: grid; gap: 10px; }
.gallery-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery-main img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.thumbs img { width: 72px; height: 72px; object-fit: cover; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.specs { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; }
.specs th, .specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 38%; color: var(--muted); font-weight: 600; background: var(--bg-3); }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.4em; }

.cta-box {
  margin-top: 18px; padding: 16px; background: var(--bg-3);
  border-radius: var(--radius); display: flex; gap: 8px; flex-wrap: wrap;
}

/* Footer */
.footer { background: var(--ink); color: #cfcfcf; padding: 48px 0 24px; margin-top: 24px; }
.footer a { color: #eee; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 0 0 8px; font-size: 14px; }
.legal { border-top: 1px solid #333; margin-top: 28px; padding-top: 16px; font-size: 12.5px; color: #999; display: flex; justify-content: space-between; gap: 12px; }

/* Float CTAs */
.float {
  position: fixed; right: var(--float-offset); bottom: var(--float-offset);
  display: flex; flex-direction: column; gap: 10px; z-index: 60;
}
.float a {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); color: #fff;
}
.float .wa { background: var(--wa); }
.float .mail { background: var(--brand); }
.float svg { width: 24px; height: 24px; fill: currentColor; }

.note { font-size: 13px; color: var(--muted); }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); background: var(--steel-soft); padding: 3px 8px; border-radius: 999px; }

/* Knowledge */
.article { max-width: 760px; }
.article p { font-size: 17px; }

/* Tables / forms forbidden — inquiry is links only */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.contact-card dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-card dd { margin: 0 0 14px; font-size: 16px; }

.banner-page { padding: 36px 0 10px; }
.stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 24px 0; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.stat b { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }

/* Responsive */
@media (max-width: 1440px) {
  :root { --max: 1120px; }
}
@media (max-width: 1280px) {
  :root { --max: 1040px; }
  .mega { min-width: 560px; }
}
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .cap-strip { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pdp { grid-template-columns: 1fr; }
  .hero { min-height: 460px; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; position: absolute;
    top: calc(var(--header-h) + var(--topbar-h)); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px;
    z-index: 40;
  }
  .mega { position: static; display: none; min-width: 0; width: 100%; box-shadow: none; }
  .nav.is-open > li:hover .mega, .nav.is-open > li:focus-within .mega { display: grid; grid-template-columns: 1fr 1fr; }
  .burger { display: block; }
  .header-cta .btn-ghost { display: none; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4, .cap-strip, .contact-grid, .stat-row { grid-template-columns: 1fr; }
  .hero-copy { padding: 48px 0 56px; }
  .hero h1 { font-size: 1.7rem; }
  .topbar-right { display: none; }
  .float { right: 14px; bottom: 78px; }
  .legal { flex-direction: column; }
  .section { padding: 44px 0; }
}
@media (max-width: 520px) {
  .header-cta { display: none; }
  .logo img { height: 32px; }
  h1 { font-size: 1.6rem; }
}
@media (max-width: 400px) {
  :root { --pad: 16px; }
  .btn { padding: 9px 12px; }
}
@media (min-width: 1600px) {
  :root { --max: 1240px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
@media print {
  .topbar, .header, .float, .footer, .hero-dots { display: none !important; }
  body { background: #fff; }
}

/* Extra component polish to keep visual density high */
.list-check { list-style: none; padding: 0; }
.list-check li { padding: 8px 0 8px 26px; position: relative; }
.list-check li::before { content: ""; position: absolute; left: 0; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.img-frame { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.img-frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.pager { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.related { margin-top: 48px; }
hr.sep { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

.mt-1{margin-top:4px}.mb-1{margin-bottom:4px}.pt-1{padding-top:4px}.pb-1{padding-bottom:4px}.mt-2{margin-top:8px}.mb-2{margin-bottom:8px}.pt-2{padding-top:8px}.pb-2{padding-bottom:8px}.mt-3{margin-top:12px}.mb-3{margin-bottom:12px}.pt-3{padding-top:12px}.pb-3{padding-bottom:12px}.mt-4{margin-top:16px}.mb-4{margin-bottom:16px}.pt-4{padding-top:16px}.pb-4{padding-bottom:16px}.mt-5{margin-top:20px}.mb-5{margin-bottom:20px}.pt-5{padding-top:20px}.pb-5{padding-bottom:20px}.mt-6{margin-top:24px}.mb-6{margin-bottom:24px}.pt-6{padding-top:24px}.pb-6{padding-bottom:24px}.mt-7{margin-top:28px}.mb-7{margin-bottom:28px}.pt-7{padding-top:28px}.pb-7{padding-bottom:28px}.mt-8{margin-top:32px}.mb-8{margin-bottom:32px}.pt-8{padding-top:32px}.pb-8{padding-bottom:32px}.mt-9{margin-top:36px}.mb-9{margin-bottom:36px}.pt-9{padding-top:36px}.pb-9{padding-bottom:36px}.mt-10{margin-top:40px}.mb-10{margin-bottom:40px}.pt-10{padding-top:40px}.pb-10{padding-bottom:40px}.mt-11{margin-top:44px}.mb-11{margin-bottom:44px}.pt-11{padding-top:44px}.pb-11{padding-bottom:44px}.mt-12{margin-top:48px}.mb-12{margin-bottom:48px}.pt-12{padding-top:48px}.pb-12{padding-bottom:48px}

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--bg-3); font-size: 12px; color: var(--ink-3); }
.hero-kicker { color: #ffd0d0; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.cat-hero { display: grid; grid-template-columns: 1.4fr .8fr; gap: 28px; align-items: center; margin-bottom: 28px; }
.cat-hero img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.empty { padding: 40px; text-align: center; color: var(--muted); }
.icon-row { display: flex; gap: 16px; flex-wrap: wrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.header .wrap { position: relative; }
.nav > li { display: flex; align-items: center; }
blockquote { margin: 0 0 1em; padding: 12px 16px; border-left: 3px solid var(--brand); background: var(--bg-3); color: var(--ink-2); }
.dl-inline { display: grid; grid-template-columns: 160px 1fr; gap: 6px 16px; font-size: 14.5px; }
.dl-inline dt { color: var(--muted); }
.dl-inline dd { margin: 0; }
.two-col-text { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 800px) {
  .cat-hero, .split, .two-col-text, .dl-inline { grid-template-columns: 1fr; }
}
@media (hover: hover) and (pointer: fine) {
  .card { transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
  .card:hover { transform: translateY(-2px); }
}


/* Knowledge + downloads + industries */
.know-list{display:grid;gap:16px}
.know-item{display:grid;grid-template-columns:120px 1fr;gap:18px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:12px;background:#fff}
.know-item img{width:120px;height:120px;object-fit:cover;border-radius:8px;background:var(--paper-2)}
.dl-table{width:100%;border-collapse:collapse}
.dl-table th,.dl-table td{padding:12px 10px;border-bottom:1px solid var(--line);text-align:left;font-size:14px}
.dl-table th{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.industry-hero{display:grid;grid-template-columns:1.2fr .8fr;gap:28px;align-items:center}
.industry-hero img{border-radius:16px;border:1px solid var(--line);aspect-ratio:4/3;object-fit:cover;background:var(--paper-2)}

/* Product index toolbar */
.toolbar{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin:8px 0 22px}
.toolbar p{margin:0;color:var(--muted)}
.cat-chip-row{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}
.cat-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid var(--line);border-radius:999px;font-size:13px;font-weight:600;color:var(--ink-2);background:#fff}
.cat-chip:hover,.cat-chip.is-on{border-color:var(--brand);color:var(--brand);background:var(--brand-soft)}

/* Related strip */
.related{margin-top:48px}
.related h2{margin-bottom:16px}

/* Banner strip */
.band{background:var(--ink);color:#fff;padding:48px 0}
.band h2{color:#fff}
.band p{color:#D8D8D8;max-width:60ch}
.band .btn-primary{background:#fff;color:var(--ink)}
.band .btn-primary:hover{background:var(--brand);color:#fff}

/* Quote strip */
.quote-strip{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:28px;border:1px solid var(--line);border-radius:16px;background:var(--paper)}
.quote-strip h2{margin:0 0 6px}

/* Process steps */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.step{border:1px solid var(--line);border-radius:12px;padding:18px;background:#fff}
.step b{display:block;color:var(--brand);font-size:12px;letter-spacing:.14em;text-transform:uppercase;margin-bottom:8px}

/* Applications list */
.apps{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 20px}

/* Gallery zoom-ish */
.gallery-main img{cursor:zoom-in}

/* Visually hidden for a11y / schema helpers */
.vh{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Focus */
a:focus-visible,button:focus-visible,.btn:focus-visible{
  outline:none;box-shadow:var(--focus)
}

/* Header inner shadow when mega open */
.nav-item.open > button{color:var(--brand);background:var(--brand-soft)}

/* Category page header */
.cat-head{display:grid;grid-template-columns:1.4fr .8fr;gap:28px;align-items:center;margin-bottom:28px}
.cat-head img{border-radius:16px;border:1px solid var(--line);aspect-ratio:16/10;object-fit:cover;background:var(--paper-2)}

/* Pagination-like (we do not paginate, but keep jump links) */
.jump{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 24px}
.jump a{font-size:13px;padding:6px 10px;border:1px solid var(--line);border-radius:6px;color:var(--ink-2)}

/* Tiny print / legal */
.fine{font-size:12px;color:var(--muted);line-height:1.55}

/* Map placeholder */
.map-ph{height:240px;border-radius:12px;border:1px dashed var(--line-2);background:
  linear-gradient(135deg, var(--paper) 0%, var(--paper-2) 100%);
  display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:14px}

/* Icon buttons in header */
.icon-btn{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px}

/* Hero logo lockup if needed */
.hero-brand{opacity:.9}

/* Table overflow */
.table-wrap{overflow-x:auto}

/* Article layout */
.article{display:grid;grid-template-columns:minmax(0,74ch) 260px;gap:40px;align-items:start}
.article-side{position:sticky;top:92px}
.article-side a{display:block;padding:8px 0;border-bottom:1px solid var(--line);color:var(--ink-2);font-size:14px}

/* Downloads empty state */
.empty{padding:40px;text-align:center;color:var(--muted);border:1px dashed var(--line-2);border-radius:12px}

/* Hover lift only if pointer allows */
@media (hover:hover) and (pointer:fine){
  .cat-card:hover,.prod-card:hover,.article-card:hover{transform:translateY(-3px)}
}

@media (prefers-reduced-motion:reduce){
  *{transition:none!important;scroll-behavior:auto!important}
  .hero-slide{transition:none}
}

@media (max-width:1100px){
  .article,.cat-head,.industry-hero,.know-item{grid-template-columns:1fr}
  .article-side,.gallery{position:static}
  .know-item img{width:100%;height:180px}
}

@media (max-width:900px){
  .steps{grid-template-columns:1fr 1fr}
  .quote-strip{flex-direction:column;align-items:flex-start}
}

@media (max-width:640px){
  .steps{grid-template-columns:1fr}
  .float a{width:48px;height:48px}
}

@media print{
  .topbar,.header,.float,.hero-dots,.burger,.header-cta{display:none!important}
  body{background:#fff;color:#000}
  a{color:#000}
  .hero{min-height:auto;color:#000;background:#fff}
  .hero-slide,.hero-slide::after{display:none}
}

/* Utility extras */
.mt-0{margin-top:0}.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}
.mb-8{margin-bottom:8px}.mb-16{margin-bottom:16px}.mb-24{margin-bottom:24px}
.flex{display:flex}.flex-wrap{flex-wrap:wrap}.gap-8{gap:8px}.gap-12{gap:12px}.gap-16{gap:16px}
.center{text-align:center}
.muted{color:var(--muted)}
.ink-3{color:var(--ink-3)}
.w-full{width:100%}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}

.mega { top: calc(100% - 10px); padding-top: 16px; }
.mega-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; background: var(--bg-3); flex: 0 0 48px; }
.nav > li { padding-bottom: 8px; margin-bottom: -8px; }

.nav > li > a img { display:none; }
.header .wrap { flex-wrap: nowrap; }
.nav { flex-wrap: nowrap; }
@media (max-width: 1180px){
  .nav > li.shortcut { display:none; }
}

/* --- language switcher + RTL (added by msbuild.py) --- */
.langsw{position:relative;display:inline-block;margin-inline-start:.75rem;font-size:.875rem}
.langsw__btn{display:inline-flex;align-items:center;gap:.35rem;padding:.4rem .7rem;border:1px solid currentColor;
  border-radius:999px;background:transparent;color:inherit;cursor:pointer;font:inherit;line-height:1}
.langsw__btn::after{content:"";width:.4em;height:.4em;border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;transform:rotate(45deg);margin-block-end:.15em}
.langsw__menu{position:absolute;inset-inline-end:0;top:calc(100% + .4rem);z-index:120;min-width:11rem;margin:0;padding:.3rem;
  list-style:none;border-radius:.6rem;background:#fff;box-shadow:0 12px 32px rgba(0,0,0,.18);display:none}
.langsw:hover .langsw__menu,.langsw:focus-within .langsw__menu,
.langsw__btn[aria-expanded="true"]+.langsw__menu{display:block}
.langsw__menu a{display:block;padding:.45rem .7rem;border-radius:.4rem;color:#111;text-decoration:none;white-space:nowrap}
.langsw__menu a:hover,.langsw__menu a:focus-visible{background:rgba(0,0,0,.06)}
.langsw__menu a[aria-current="true"]{font-weight:700}
@media (max-width:768px){.langsw{margin-inline-start:.4rem}.langsw__menu{inset-inline-end:auto;inset-inline-start:0}}
[dir="rtl"] body{text-align:right}
[dir="rtl"] .breadcrumbs,[dir="rtl"] .nav,[dir="rtl"] .hero__actions{flex-direction:row-reverse}
[dir="rtl"] ul,[dir="rtl"] ol{padding-inline-start:1.25rem;padding-inline-end:0}
[dir="rtl"] table{direction:rtl}
:lang(ja),:lang(ko){line-height:1.85;word-break:normal;overflow-wrap:anywhere}
:lang(ar){line-height:2;letter-spacing:0}
:lang(ru),:lang(de){overflow-wrap:break-word;hyphens:auto}

/* cify-nav-bullets-fix-20260924 */
nav ul, .nav ul, .nav-list, .nav-ul, .nav__list, ul.nav {
  list-style: none;
}
.nav-list {
  list-style: none;
  position: relative;
}
nav li, .nav li, .nav-list > li, .nav-ul > li, .nav__list > li, ul.nav > li {
  list-style: none;
}
.nav-list > li {
  list-style: none;
  margin: 0;
}

/* cify-langsw-navrow-fix-20260924 */
header{position:relative;z-index:50}
.nav-row,.header-row,.header__inner{display:flex;align-items:center;gap:16px;flex-wrap:nowrap}
.langsw{position:relative;flex:0 0 auto;margin-inline-start:0}
.langsw__menu{list-style:none;padding-left:0;z-index:200;inset-inline-end:0;inset-inline-start:auto}

/* cify-langsw-flash-fix-20260924 */
.langsw__menu{top:calc(100% + .35rem)!important;z-index:300!important}
.langsw__menu::before{content:"";position:absolute;left:0;right:0;bottom:100%;height:.55rem}
.langsw:hover .langsw__menu,.langsw:focus-within .langsw__menu,.langsw.is-open .langsw__menu,.langsw__btn[aria-expanded="true"]+.langsw__menu{display:block!important}

/* cify-langsw-navrow-extra-20260924 */
.header__row,.header-inner,.header__in,.header__bar,.site-header__in,.head-row,.navrow,.hdr-bar,.hdr-shell,.wrap.hdr,.wrap.head-row,.wrap.header__bar,.wrap.hdr-shell{display:flex;align-items:center;gap:16px;flex-wrap:nowrap}
/* cify-langsw-pretty-20260924 */
.site-header,.site-header .header__inner,.header__inner,.nav-row,.header-row,
.header__row,.header-inner,.header__in,.header__bar,.site-header__in,.head-row,.navrow,
.hdr-bar,.hdr-shell,.wrap.hdr,.wrap.head-row,.wrap.header__bar,.wrap.hdr-shell{overflow:visible!important}
.header__inner,.nav-row,.header-row,.header__row,.header-inner,.header__in,.header__bar,
.site-header__in,.head-row,.navrow,.hdr-bar,.hdr-shell,.wrap.hdr,.wrap.head-row,
.wrap.header__bar,.wrap.hdr-shell{
  display:flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
}
.header__inner{height:var(--header-h,76px);gap:var(--sp-6,1.5rem)}
.header__inner > .nav,.nav-row > .nav,.header-row > .nav,.header__inner .nav,
.nav-row .nav,.header-row .nav{
  min-width:0;
  flex:1 1 auto;
}
.langsw{
  position:relative;
  flex:0 0 auto!important;
  flex-shrink:0!important;
  margin-inline-start:.5rem;
  z-index:80;
  font-size:.8125rem;
  order:initial;
}
.langsw__btn{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  padding:.45rem .9rem .45rem .75rem;
  border:1px solid var(--line,#e2e8e5);
  border-radius:999px;
  background:var(--bg-soft,#f6f9f7);
  color:var(--ink,#14201b);
  cursor:pointer;
  font:inherit;
  font-weight:600;
  line-height:1.2;
  box-shadow:var(--sh-1,0 1px 2px rgba(16,32,26,.06));
  transition:background .15s ease,border-color .15s ease,box-shadow .15s ease,color .15s ease;
  white-space:nowrap;
}
.langsw__btn:hover,
.langsw.is-open .langsw__btn,
.langsw__btn[aria-expanded="true"]{
  background:var(--brand-light,#e8f2ed);
  border-color:var(--brand-mid,#2f7f65);
  color:var(--brand-dark,#14402f);
  box-shadow:var(--sh-2,0 4px 16px rgba(16,32,26,.08));
}
.langsw__btn::after{
  content:"";
  width:.35em;height:.35em;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(45deg);
  margin-block-end:.15em;
  opacity:.7;
  transition:transform .15s ease;
}
.langsw.is-open .langsw__btn::after,
.langsw__btn[aria-expanded="true"]::after{
  transform:rotate(225deg);
  margin-block-end:-.1em;
}
.langsw__menu{
  position:absolute;
  inset-inline-end:0!important;
  inset-inline-start:auto!important;
  top:100%!important;
  z-index:300!important;
  min-width:12rem;
  margin:0;
  padding:.4rem;
  list-style:none!important;
  padding-left:.4rem!important;
  border-radius:12px;
  background:#fff;
  border:1px solid var(--line,#e2e8e5);
  box-shadow:0 16px 40px rgba(16,32,26,.16);
  display:none;
}
.langsw__menu::before{
  content:"";
  position:absolute;
  left:0;right:0;
  bottom:100%;
  height:.55rem;
}
.langsw:hover .langsw__menu,
.langsw:focus-within .langsw__menu,
.langsw.is-open .langsw__menu,
.langsw__btn[aria-expanded="true"]+.langsw__menu{display:block!important}
.langsw__menu a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
  padding:.55rem .75rem;
  border-radius:8px;
  color:var(--ink,#14201b);
  text-decoration:none;
  white-space:nowrap;
  font-weight:500;
  transition:background .12s ease,color .12s ease;
}
.langsw__menu a:hover,
.langsw__menu a:focus-visible{
  background:var(--brand-light,#e8f2ed);
  color:var(--brand-dark,#14402f);
}
.langsw__menu a[aria-current="true"]{
  font-weight:700;
  background:var(--brand-light,#e8f2ed);
  color:var(--brand,#1f5f4b);
}
.langsw__menu a[aria-current="true"]::after{
  content:"✓";
  font-size:.85em;
  color:var(--brand,#1f5f4b);
}
@media (max-width:768px){
  .langsw{margin-inline-start:.25rem}
  .langsw__menu{inset-inline-end:0!important;inset-inline-start:auto!important;min-width:11rem}
}
[dir="rtl"] .langsw__menu{inset-inline-end:0!important;inset-inline-start:auto!important}
