/* Paper: Folio's calm cousin. White header with the search in it, a soft tinted welcome panel, white cards
   on a light grey page, duotone product icons in tinted boxes. */
:root {
  --ink: #16191f;
  --ink-2: #4a5160;
  --ink-3: #6b7280;
  --page: #f5f6f8;
  --card: #ffffff;
  --line: #e4e7ec;
  --accent-fill: var(--accent-text, var(--accent));
  --accent-deep: color-mix(in srgb, var(--accent-fill) 80%, black);
  --accent-soft: color-mix(in srgb, var(--accent) 10%, white);
  --accent-line: color-mix(in srgb, var(--accent) 28%, white);
}
* { 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: 1140px; margin: 0 auto; padding: 0 22px; }
.muted { color: var(--ink-3); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; }

/* icons: an <i> masked with the icon file, painted in the current colour */
.ic { display: inline-block; flex: none; width: 1.15em; height: 1.15em; vertical-align: -0.2em; 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.box, .head-ic { width: 52px; height: 52px; border-radius: calc(var(--radius) + 6px); color: var(--accent-fill);
  background: var(--accent-soft); -webkit-mask: none; mask: none; position: relative; }
.ic.box::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; }

/* header */
.top { background: var(--card); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 22px; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); }
.logo:hover { text-decoration: none; }
.mark { width: 32px; height: 32px; border-radius: var(--radius); display: grid; place-items: center; font-weight: 900; font-size: 16px;
  background: var(--accent-fill); color: #fff; }
.top-links { margin-left: auto; display: flex; gap: 20px; font-weight: 600; font-size: 15px; }
.top-links a { color: var(--ink-2); }
.find, .search { display: flex; flex: 1; max-width: 460px; border: 1px solid var(--line); border-radius: calc(var(--radius) + 2px);
  background: var(--page); overflow: hidden; }
.find:focus-within, .search:focus-within { border-color: var(--accent); background: #fff; }
.find input, .search input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; padding: 9px 14px; background: transparent; color: var(--ink); }
.find button, .search button { border: 0; font: inherit; font-weight: 700; padding: 0 18px; background: var(--accent-fill); color: #fff; cursor: pointer; }
.find.big, .search.big { max-width: 640px; margin: 24px 0 0; background: #fff; box-shadow: 0 12px 30px -20px rgba(20, 40, 90, .5); }
.find.big input { font-size: 18px; padding: 15px 18px; }
.search.big { margin: 18px 0; }
.cats { border-top: 1px solid var(--line); }
.cats .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.cats a { display: inline-flex; align-items: center; gap: 7px; padding: 11px 12px; white-space: nowrap; font-size: 14px; font-weight: 600;
  color: var(--ink-2); border-bottom: 2px solid transparent; }
.cats a .ic { color: var(--ink-3); }
.cats a:hover, .cats a[aria-current] { color: var(--accent-deep); border-bottom-color: var(--accent); text-decoration: none; }
.cats a:hover .ic, .cats 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: .6; }
.crumbs a { color: var(--ink-2); }

/* welcome panel */
.welcome { margin-top: 26px; padding: 44px 44px 36px; border-radius: calc(var(--radius) + 12px); background: var(--accent-soft);
  border: 1px solid var(--accent-line); }
.welcome h1 { font-size: clamp(30px, 4.6vw, 48px); margin: 0 0 12px; max-width: 780px; }
.welcome .lead { max-width: 680px; }
.stats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 22px 0 0; }
.stats li { padding: 6px 14px; border-radius: 999px; background: #fff; font-size: 14px; color: var(--ink-2); }
.stats b { color: var(--ink); }

.page-head { margin: 20px 0 26px; padding: 28px 30px; background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) + 8px);
  display: flow-root; }
.page-head .head-ic { float: left; width: 60px; height: 60px; margin: 2px 20px 8px 0; }
.page-head .head-ic::before { inset: 13px; }
.page-head h1 { font-size: clamp(26px, 3.6vw, 38px); margin: 0 0 8px; }
.kicker { margin: 0 0 6px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--accent-deep); }
.lead { font-size: 18px; color: var(--ink-2); margin: 0; }
.section { font-size: 22px; margin: 42px 0 16px; }
.section.small { font-size: 18px; margin-top: 30px; }
.more { font-weight: 700; font-size: 15px; }
.more::after { content: " →"; }

/* home */
.cat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.cat-card { display: flex; gap: 16px; align-items: flex-start; padding: 18px; background: var(--card); border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.cat-card:hover { border-color: var(--accent-line); box-shadow: 0 14px 28px -22px rgba(20, 40, 90, .55); text-decoration: none; }
.cat-text { display: flex; flex-direction: column; min-width: 0; }
.cat-text b { font-size: 18px; }
.cat-text small { font-size: 13px; color: var(--accent-deep); font-weight: 700; }
.cat-text em { font-style: normal; font-size: 14px; color: var(--ink-3); margin-top: 4px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.rows { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); }
.rows li + li { border-top: 1px solid var(--line); }
.rows a { display: flex; align-items: center; gap: 4px; padding: 11px 16px; color: var(--ink); }
.rows a:hover { background: var(--accent-soft); text-decoration: none; }
.rows b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.rows span { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { display: inline-flex; align-items: center; padding: 6px 13px; border-radius: 999px; background: var(--card); border: 1px solid var(--line);
  color: var(--ink); font-weight: 600; font-size: 14px; }
.tags a:hover { border-color: var(--accent); color: var(--accent-deep); text-decoration: none; }

/* 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: 700; color: var(--ink-3); }
.type-grid a:hover, .brand-grid a:hover, .card:hover { border-color: var(--accent); text-decoration: none; }
.card { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); color: var(--ink); }
.card .ic { width: 26px; height: 26px; color: var(--accent-fill); margin-bottom: 6px; }
.card b { font-weight: 700; }
.card span { 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: 999px; 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(--ink-3); 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); border-radius: var(--radius); overflow: hidden; margin: 6px 0; }
.list th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); padding: 11px 16px; background: var(--page);
  border-bottom: 1px solid var(--line); }
.list td { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.list tr:last-child td { border-bottom: 0; }
.list .model { font-weight: 700; color: var(--ink); }
.list td { overflow-wrap: anywhere; }
.r { text-align: right; }
.pill { font-size: 13px; font-weight: 700; 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); border: 1px solid var(--line); background: var(--card); }
.pager a:hover { border-color: var(--accent); text-decoration: none; }
.empty { padding: 30px; background: var(--card); border-radius: var(--radius); 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(--card); border: 1px solid var(--line);
  font-weight: 700; color: var(--ink); }
.letters a:hover { background: var(--accent-fill); border-color: var(--accent-fill); color: #fff; text-decoration: none; }
.letter-group h2 { font-size: 26px; color: var(--accent-deep); margin: 28px 0 10px; }
main > .hero { padding: 40px 0 10px; }
main > .hero h1 { font-size: 38px; margin: 0 0 8px; }

/* product */
.doc-page { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 22px; margin-top: 20px; }
.doc-main { background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) + 8px); padding: 30px; }
.doc-head { display: flex; gap: 18px; align-items: center; margin-bottom: 16px; }
.doc-head .ic.box { width: 64px; height: 64px; }
.doc-head .ic.box::before { inset: 14px; }
.doc-head h1 { font-size: clamp(26px, 3.6vw, 40px); margin: 0; }
.doc-head .kicker { margin-bottom: 4px; }
.sub { margin: 2px 0 0; color: var(--ink-3); font-weight: 600; }
.files { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.files li { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid var(--accent-line); border-radius: var(--radius);
  background: var(--accent-soft); }
.file-ic { position: relative; width: 46px; height: 58px; flex: none; display: grid; place-items: center; border-radius: 5px; background: #fff;
  color: var(--accent-fill); box-shadow: 0 4px 12px -8px rgba(0, 0, 0, .4); }
.file-ic .ic { width: 24px; height: 24px; margin-top: -8px; }
.file-ic i { position: absolute; bottom: 4px; font-style: normal; font-size: 9px; font-weight: 800; letter-spacing: .1em; color: var(--ink-3); }
.file-meta { flex: 1; display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.file-meta small { font-size: 14px; color: var(--ink-2); }
.btn { padding: 10px 18px; border-radius: var(--radius); background: var(--accent-fill); color: #fff; font-weight: 700; white-space: nowrap; }
.btn:hover { background: var(--accent-deep); text-decoration: none; }
.doc-side h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin: 4px 0 10px; }
.doc-side dl { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) + 8px); padding: 6px 20px 14px; }
.doc-side dt { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); font-weight: 700; margin-top: 12px; }
.doc-side dd { margin: 2px 0 0; font-weight: 600; }

/* footer */
.bottom { background: var(--card); border-top: 1px solid var(--line); padding: 40px 0 24px; color: var(--ink-2); }
.bottom-row { display: grid; grid-template-columns: 300px 1fr 200px; gap: 36px; }
.bottom-about p { margin: 12px 0 0; font-size: 15px; }
.bottom-col { display: flex; flex-wrap: wrap; gap: 6px 18px; align-content: flex-start; font-size: 15px; }
.bottom-col:last-child { flex-direction: column; flex-wrap: nowrap; }
.bottom-col a { color: var(--ink-2); }
.fine { font-size: 13px; color: var(--ink-3); 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; padding: 24px 28px 10px; background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) + 8px); max-width: none; }
.doc-main .prose { margin-top: 24px; }
.note { margin-top: 18px; padding: 16px 18px; border-left: 3px solid var(--accent); background: var(--page); border-radius: 0 var(--radius) var(--radius) 0; }
.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) {
  .doc-page, .two, .bottom-row { grid-template-columns: minmax(0, 1fr); }
  .top-row { flex-wrap: wrap; height: auto; padding: 12px 22px; gap: 12px; }
  .top-row .find { order: 3; flex-basis: 100%; max-width: none; }
  .welcome { padding: 28px 22px; }
  .list th:nth-child(3), .list td:nth-child(3) { display: none; }
  .page-head, .doc-main { padding: 22px; }
  .list th, .list td { padding-left: 10px; padding-right: 10px; }
  .files li { flex-wrap: wrap; }
}

/* 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}
