/* Slate: Folio with the colour moved into the details. A dark header and footer, category rows with solid
   icons on accent squares, product pages with a spec strip. */
:root {
  --ink: #15181d;
  --ink-2: #464c57;
  --ink-3: #6b717c;
  --night: #161b22;
  --night-2: #222933;
  --page: #f3f4f1;
  --card: #ffffff;
  --line: #e2e4df;
  --accent-fill: var(--accent-text, var(--accent));
  --accent-deep: color-mix(in srgb, var(--accent-fill) 78%, black);
  --accent-wash: color-mix(in srgb, var(--accent) 11%, white);
  --accent-glow: color-mix(in srgb, var(--accent) 45%, transparent);
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--page); }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.muted { color: var(--ink-3); }
h1, h2, h3 { line-height: 1.18; letter-spacing: -0.02em; }

/* icons */
.ic { display: inline-block; flex: none; width: 1.2em; height: 1.2em; vertical-align: -0.22em; background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.ic.sm { width: 1em; height: 1em; margin-right: 6px; color: var(--accent-fill); }
.ic.sq, .head-ic { position: relative; width: 46px; height: 46px; border-radius: var(--radius); color: #fff; background: var(--accent-fill);
  -webkit-mask: none; mask: none; margin: 0; }
.ic.sq::before, .head-ic::before { content: ""; position: absolute; inset: 11px; background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.ic.sq.sm { width: 36px; height: 36px; }
.ic.sq.sm::before { inset: 8px; }
.ic.sq.big { width: 72px; height: 72px; border-radius: calc(var(--radius) + 6px); }
.ic.sq.big::before { inset: 16px; }

/* dark header */
.night { background: var(--night); color: rgba(255, 255, 255, .86);
  background-image: radial-gradient(900px 260px at 90% -60%, var(--accent-glow), transparent 70%); }
.bar { display: flex; align-items: center; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: #fff; }
.logo:hover { text-decoration: none; }
.tile { width: 32px; height: 32px; border-radius: var(--radius); display: grid; place-items: center; font-weight: 900; background: var(--accent-fill); color: #fff; }
.bar-links { margin-left: auto; display: flex; gap: 22px; font-weight: 600; font-size: 15px; }
.bar-links a { color: rgba(255, 255, 255, .8); }
.search { display: flex; background: #fff; border-radius: calc(var(--radius) + 2px); padding: 4px; }
.search input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; padding: 8px 12px; background: transparent; color: var(--ink); }
.search button { border: 0; font: inherit; font-weight: 700; padding: 0 18px; border-radius: var(--radius); background: var(--accent-fill); color: #fff; cursor: pointer; }
.search.slim { max-width: 540px; margin-bottom: 18px; }
.search.huge { max-width: 700px; margin-top: 24px; }
.search.huge input { font-size: 18px; padding: 13px 14px; }
.search.big { max-width: 600px; margin: 18px 0; border: 1px solid var(--line); }
.hero { padding-top: 18px; padding-bottom: 28px; }
.hero h1 { font-size: clamp(30px, 4.8vw, 50px); margin: 0 0 12px; color: #fff; max-width: 780px; }
.hero .lead { color: rgba(255, 255, 255, .78); max-width: 660px; }
.hero-count { margin: 16px 0 0; font-size: 15px; color: rgba(255, 255, 255, .7); }
.hero-count b { color: #fff; }
.depts { background: var(--night-2); }
.depts .wrap { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.depts a { display: inline-flex; align-items: center; gap: 8px; padding: 11px 12px; white-space: nowrap; font-size: 14px; font-weight: 600;
  color: rgba(255, 255, 255, .78); border-bottom: 3px solid transparent; }
.depts a .ic { color: rgba(255, 255, 255, .55); }
.depts a:hover, .depts a[aria-current] { color: #fff; border-bottom-color: var(--accent); text-decoration: none; }
.depts a:hover .ic, .depts a[aria-current] .ic { color: var(--accent-fill); }

main { padding-bottom: 64px; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 20px 0 0; font-size: 14px; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { color: var(--ink-2); }
.page-head { margin: 20px 0 26px; display: flow-root; }
.page-head .head-ic { float: left; width: 64px; height: 64px; margin: 4px 20px 8px 0; }
.page-head .head-ic::before { inset: 14px; }
.page-head h1 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 8px; }
.kicker { margin: 0 0 6px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-deep); }
.lead { font-size: 18px; color: var(--ink-2); margin: 0; }
.section { font-size: 22px; margin: 40px 0 14px; display: flex; align-items: baseline; gap: 12px; }
.section.small { font-size: 18px; margin-top: 28px; }
.more { font-size: 15px; font-weight: 700; }
.more::after { content: " →"; }

/* home */
.dept-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
.dept { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  color: var(--ink); }
.dept:hover { border-color: var(--accent); text-decoration: none; }
.dept-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dept-text b { font-size: 17px; }
.dept-text small { font-size: 14px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dept-n { font-size: 13px; font-weight: 800; color: var(--accent-deep); background: var(--accent-wash); padding: 3px 10px; border-radius: 999px; }
.brand-cols { columns: 4 180px; column-gap: 24px; list-style: none; padding: 0; margin: 0; }
.brand-cols li { padding: 5px 0; break-inside: avoid; border-bottom: 1px solid var(--line); }
.brand-cols a { color: var(--ink); font-weight: 600; }
.t-ic { width: 40px; color: var(--accent-fill); }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.plain a { font-weight: 700; color: var(--ink); }
.plain span { font-size: 14px; color: var(--ink-3); }

/* lists shared with the base templates */
.type-grid, .brand-grid, .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.brand-grid.compact { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.type-grid a, .brand-grid a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); color: var(--ink); font-weight: 600; }
.type-grid a .ic { color: var(--accent-fill); width: 22px; height: 22px; }
.type-grid span, .brand-grid span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.type-grid small, .brand-grid small { font-size: 12px; font-weight: 800; color: var(--accent-deep); }
.type-grid a:hover, .brand-grid a:hover, .card:hover { border-color: var(--accent); text-decoration: none; }
.card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); }
.card > span { display: flex; flex-direction: column; min-width: 0; }
.card b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card small { font-size: 13px; color: var(--ink-3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  color: var(--ink); font-weight: 600; font-size: 14px; }
.chips a .ic { margin-right: 0; }
.chips a b { color: var(--accent-deep); font-size: 12px; }
.chips a:hover { border-color: var(--accent); text-decoration: none; }
.filter { margin-bottom: 20px; }
.filter summary { cursor: pointer; font-weight: 700; margin-bottom: 10px; }
table.list { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); margin: 6px 0; }
.list th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .8); padding: 10px 14px; background: var(--night); }
.list td { padding: 11px 14px; border-bottom: 1px solid var(--line); }
.list tr:nth-child(even) td { background: #fafaf8; }
.list .model { font-weight: 800; color: var(--ink); }
.list td { overflow-wrap: anywhere; }
.r { text-align: right; }
.pill { font-size: 13px; font-weight: 800; color: var(--accent-deep); }
.pill::after { content: " →"; }
.pager { display: flex; justify-content: space-between; align-items: center; margin: 14px 0; font-weight: 600; color: var(--ink-3); }
.pager a { padding: 8px 16px; border-radius: var(--radius); background: var(--night); color: #fff; }
.pager a:hover { background: var(--accent-deep); text-decoration: none; }
.empty { padding: 30px; background: var(--card); border: 1px dashed var(--line); text-align: center; }
.letters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.letters a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--radius); background: var(--night); font-weight: 800; color: #fff; }
.letters a:hover { background: var(--accent-fill); text-decoration: none; }
.letter-group h2 { font-size: 28px; color: var(--accent-deep); margin: 28px 0 10px; }
main > .hero { padding: 40px 0 10px; }
main > .hero h1 { font-size: 38px; margin: 0 0 8px; color: var(--ink); }
main > .hero .lead { color: var(--ink-2); }

/* product */
.prod { max-width: 920px; margin-top: 20px; }
.prod-top { display: flex; align-items: center; gap: 20px; }
.prod-top h1 { font-size: clamp(28px, 4.2vw, 44px); margin: 0; }
.spec { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 22px 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.spec div { padding: 12px 16px; border-left: 1px solid var(--line); min-width: 0; }
.spec div:first-child { border-left: 0; }
.spec dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); font-weight: 800; }
.spec dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.manuals { margin: 22px 0; display: grid; gap: 10px; }
.man { display: flex; align-items: center; gap: 16px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: var(--radius); }
.man-doc { width: 44px; height: 54px; flex: none; display: grid; place-items: end center; padding-bottom: 6px; border-radius: 4px; background: var(--night);
  color: #fff; font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.man-text { flex: 1; display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.man-text small { font-size: 14px; color: var(--ink-2); }
.btn { padding: 10px 20px; border-radius: var(--radius); background: var(--accent-fill); color: #fff; font-weight: 800; white-space: nowrap; }
.btn:hover { background: var(--accent-deep); text-decoration: none; }

/* footer */
.foot { padding: 42px 0 24px; margin-top: 10px; color: rgba(255, 255, 255, .72); }
.foot-grid { display: grid; grid-template-columns: 300px 1fr 180px; gap: 36px; }
.foot-grid p { margin: 12px 0 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; align-content: flex-start; }
.foot-links.col { flex-direction: column; }
.foot-links a { color: rgba(255, 255, 255, .82); }
.fine { font-size: 13px; color: rgba(255, 255, 255, .5); margin-top: 28px; }

/* written text */
.prose { max-width: 760px; color: var(--ink-2); font-size: 17px; line-height: 1.75; }
.prose p { margin: 0 0 16px; }
.prose.after { margin-top: 30px; max-width: 820px; }
.note { margin-top: 18px; padding: 16px 18px; background: var(--accent-wash); border-radius: var(--radius); }
.note b { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-deep); }
.note p { margin: 6px 0 0; color: var(--ink-2); }

@media (max-width: 860px) {
  .dept-list, .pair, .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec div { border-left: 0; border-top: 1px solid var(--line); }
  .bar-links a:last-child { display: none; }
  .list th:nth-child(3), .list td:nth-child(3) { display: none; }
  .man { flex-wrap: wrap; }
  .list th, .list td { padding-left: 10px; padding-right: 10px; }
}

/* contact, privacy and terms pages (atlas/page.html, shared by every theme): colours and fonts come from the theme */
.lp{box-sizing:border-box;width:100%;max-width:46rem;margin:0 auto;padding:clamp(20px,4vw,48px) clamp(16px,4vw,24px) 56px;font-family:var(--font);line-height:1.65}
.lp h1{font-size:clamp(28px,4.4vw,42px);line-height:1.15;margin:0 0 14px;overflow-wrap:anywhere}
.lp-intro{font-size:18px;margin:0 0 24px}
.lp h2{font-size:21px;line-height:1.3;margin:30px 0 8px}
.lp section p{font-size:16px;margin:0 0 12px}
.lp a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.lp-mail{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline;border-left:4px solid var(--accent);padding:10px 16px;margin:0 0 26px}
.lp-mail span{font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.lp-mail a{font-size:clamp(16px,4.4vw,19px);font-weight:700;overflow-wrap:anywhere}
.lp-date{margin:32px 0 0;font-size:15px}
