:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,sans-serif;color:#302720;background:#fbf7ef;line-height:1.6;--ink-strong:#49382e;--accent:#803f30;--line:#e4d7ca}*{box-sizing:border-box}body{margin:0}a{color:inherit}a:focus-visible,button:focus-visible,select:focus-visible{outline:3px solid #a85b37;outline-offset:4px}.wrap{max-width:1200px;margin-inline:auto;padding-inline:clamp(20px,5vw,64px)}.skip{position:absolute;left:1rem;top:-100px;background:white;padding:.5rem;z-index:3}.skip:focus{top:1rem}header{background:#fff;border-bottom:1px solid var(--line)}.nav{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:20px}.nav a,.footer a{text-decoration:none}.nav nav{display:flex;gap:clamp(10px,2vw,28px);flex-wrap:wrap;font-size:.9rem}.home{font-weight:800}.nav-action{border:1px solid var(--line);padding:8px 16px;border-radius:6px;font-weight:700}.hero{background:#f1e5d7;padding:clamp(32px,6vw,84px) 0}.hero-grid{display:grid;grid-template-columns:1.06fr 1fr;align-items:center;gap:clamp(24px,5vw,66px)}h1,h2,h3,p,figure{margin:0}h1,h2,h3{line-height:1.08;letter-spacing:-.045em}h1{font-size:clamp(2.25rem,5vw,4rem)}h2{font-size:clamp(1.85rem,3.5vw,3.05rem)}h3{font-size:1.4rem}.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-weight:800;color:#804632;font-size:.88rem;margin-bottom:14px}.lead{font-size:1.12rem;line-height:1.65;color:#5f4c40;max-width:36rem;margin:18px 0 24px}.primary,.hero-link{display:inline-block}.primary{padding:12px 19px;background:var(--accent);color:white;border:0;font:inherit;font-weight:750;border-radius:7px;text-decoration:none;cursor:pointer}.hero-link{margin:12px 0 0 12px;font-weight:700;color:var(--accent)}figure{position:relative;overflow:hidden;border-radius:18px;background:#ead9c8;aspect-ratio:4/3}figure img{display:block;width:100%;height:100%;object-fit:cover}figcaption{position:absolute;bottom:15px;left:15px;background:#49382e;color:white;border-radius:5px;padding:7px 11px;font-size:.85rem}.section{padding-block:clamp(32px,5vw,68px)}.section-title{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.section-title>p,.model p,.card p{color:#625247}.brands,.cards{display:grid;gap:12px}.brands{grid-template-columns:repeat(6,1fr)}.brand,.card{border:1px solid var(--line);border-radius:10px;background:white;text-decoration:none;transition:box-shadow .18s,border-color .18s}.brand:hover,.card:hover{border-color:#b78169;box-shadow:0 6px 20px #49382e14}.brand{min-height:106px;display:grid;justify-items:center;align-content:center;gap:6px;font-weight:800}.brand img{object-fit:contain}.help{background:#f6ede3}.cards{grid-template-columns:repeat(4,1fr)}.card{padding:20px}.card p{margin-top:9px}.icon{display:grid;place-items:center;width:42px;height:42px;border-radius:7px;background:#f2e2d4;color:var(--accent);font-size:1.45rem;font-weight:800;margin-bottom:16px}.model{display:grid;grid-template-columns:1fr 1fr;gap:28px}.model p{margin-top:12px}form{display:grid;gap:8px;align-content:start}label{font-weight:700}select{border:1px solid #ae9b8a;border-radius:7px;background:white;padding:11px;color:inherit;font:inherit}footer{background:var(--ink-strong);color:#fff7ee}.footer{display:grid;grid-template-columns:1fr auto;gap:10px;padding-block:28px}.footer a{margin-left:15px}.footer small{color:#e8d8cb}.inner{background:var(--page-intro);padding:clamp(32px,5vw,64px) 0}.inner .lead{margin-bottom:0}.article{padding-block:32px 72px;min-height:45vh}.article>*{max-width:48rem;margin-bottom:20px}.article li{margin:8px 0}.resource-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0;list-style:none}.resource-list a{display:block;padding:12px;border:1px solid var(--line);background:white;border-radius:6px;color:var(--accent);font-weight:700}details{padding:14px 16px;background:white;border:1px solid var(--line);border-radius:8px}summary{cursor:pointer;font-weight:750}details p{margin-top:9px}@media(max-width:800px){.nav{padding-block:12px;flex-wrap:wrap}.nav nav{order:3;width:100%}.hero-grid,.model{grid-template-columns:1fr}.brands{grid-template-columns:repeat(3,1fr)}.cards{grid-template-columns:repeat(2,1fr)}.section-title{align-items:start;flex-direction:column;gap:8px}}@media(max-width:390px){.cards{grid-template-columns:1fr}.footer{grid-template-columns:1fr}.footer a{margin:0 12px 0 0}}
.brand-guide{padding:22px;background:white;border:1px solid var(--line);border-radius:10px;scroll-margin-top:1rem}.brand-guide p{margin-top:10px}.brand-guide:target{border-color:var(--accent)}

/* Homepage brand navigation */
.brand-strip{background:#fff;padding:16px 0 18px;border-bottom:1px solid var(--line)}
.brand-strip h2{font-size:1rem;letter-spacing:0;margin-bottom:12px}
.brand-strip .brand{min-height:66px;padding:10px 12px}
.brand-strip img{display:block;width:min(100%,126px);height:43px;object-fit:contain}
.brand-strip a[href$="#hp"] img{width:43px}
@media(max-width:800px){.brand-strip .brands{gap:8px}.brand-strip .brand{min-height:58px;padding:8px}.brand-strip img{height:37px}.brand-strip a[href$="#hp"] img{width:37px}}

.support-hero{background:var(--page-intro)}
.support-hero .eyebrow{color:#804632}
.support-hero .lead,.demo-number{color:#5f4c40}
.support-actions{display:flex;gap:12px;flex-wrap:wrap}
.demo-number{font-size:.88rem;margin-top:12px}
.chat-launcher{position:fixed;z-index:5;right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));display:grid;place-items:center;width:58px;height:58px;border-radius:50%;border:2px solid white;background:#803f30;color:white;box-shadow:0 5px 22px #49382e44;cursor:pointer}
.chat-launcher img{width:26px;height:26px}
.support-dialog{max-width:min(92vw,440px);border:1px solid var(--line);border-radius:15px;color:var(--ink-strong);padding:24px}
.support-dialog::backdrop{background:#49382e80}
.support-dialog p{margin:14px 0 20px}
.support-dialog form{justify-content:start}

:root{--paper:#fbf7ef;--surface:#fffdf8;--page-intro:#f1e5d7;--muted:#5f4c40}
header,.brand-strip{background:var(--paper)}
.brand-strip .brand,.card,.brand-guide,.resource-list a,details,select,.support-dialog{background:var(--surface)}
.nav nav{font-size:.9375rem}
.nav-action:hover,.nav nav a:hover,.footer a:hover{text-decoration:underline;text-underline-offset:.23em}
.hero,.inner{background:var(--page-intro)}
.hero h1,.inner h1{line-height:1.08}
.support-hero figure{border:1px solid var(--line);border-radius:18px;box-shadow:0 14px 36px #49382e24}
.support-hero figure img{object-position:55% center}
.support-actions .call-action{border:1px solid var(--accent);background:transparent;color:var(--accent)}
.support-actions .call-action:hover,.resource-list a:hover{background:#f6e8dc}
.primary:hover,.chat-launcher:hover{background:#693328}
.support-dialog{box-shadow:0 16px 48px #49382e2b}
.article details{padding:16px 20px}
.article summary{line-height:1.45}
.article p,.article li{line-height:1.65}

.footer nav{display:flex;flex-wrap:wrap;gap:8px 15px}
.footer nav a{margin:0}
@media(max-width:800px){.footer{grid-template-columns:1fr}}

.guide-logo {
  display: block;
  width: min(100%, 104px);
  height: 34px;
  object-fit: contain;
  object-position: left center;
}
.article .guide-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
}
.guide-links li { margin: 0; }
.guide-links a {
  display: grid;
  grid-template-rows: 34px auto;
  align-content: center;
  gap: 8px;
  min-height: 94px;
  height: 100%;
  padding: 12px 14px;
  text-decoration: none;
}
.guide-links a span { overflow-wrap: anywhere; }
.guide-links a:hover span{text-decoration:underline}
.article .brand-guide + .brand-guide{margin-top:12px}
.article section[id],.article h2[id],.article details[id]{scroll-margin-top:1rem}
.guide-diagram {
  aspect-ratio: auto;
  margin: 20px 0 28px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.guide-diagram svg { display: block; width: 100%; height: auto; }
.guide-diagram figcaption {
  position: static;
  margin: 8px 0 0;
  padding: 0;
  background: none;
  color: var(--muted);
  font-size: .9rem;
}
.article > h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.95rem);
  line-height: 1.2;
  margin: 32px 0 12px;
}
.article > h2:first-child { margin-top: 0; }
.article > .brand-guide h2 { font-size: clamp(1.35rem, 2.8vw, 1.95rem); }
.brand-guide > .guide-logo { margin-bottom: 12px; }
@media (max-width: 480px) {
  .article { padding-block: 24px 64px; }
  .guide-links a { font-size: .9rem; }
}

/* Printer guides */
:root {
  --paper: #f5f7f5;
  --surface: #ffffff;
  --page-intro: #e6eeea;
  --ink-strong: #172e2c;
  --accent: #19584f;
  --line: #d3dfd9;
  --muted: #455e58;
  color: #172e2c;
  background: var(--paper);
}
.site-name {
  margin-bottom: 14px;
  color: var(--accent);
  font-weight: 800;
  font-size: 1.15rem;
}
.support-hero {
  background: linear-gradient(120deg, #edf3ef, #dceae3);
}
.support-hero .lead, .section-title > p, .model p, .card p {
  color: var(--muted);
}
.support-hero figure {
  border: 4px solid var(--surface);
  box-shadow: 0 18px 50px #172e2c26;
}
.brand-strip .brands { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.brand-strip .brand { min-width: 0; }
.brand:hover, .card:hover { border-color: var(--accent); }
.help { background: #edf2ee; }
.icon { background: #e1eee7; }
.eyebrow, .article p a { color: var(--accent); }
.footer small { color: #d5e3de; }
.primary:hover { background: #123f39; }
.support-actions .call-action:hover, .resource-list a:hover { background: #e9f2ed; }
.support-actions > * { display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 800px) {
  .brand-strip .brands { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .support-hero figure { aspect-ratio: 16 / 10; }
}
@media (max-width: 480px) {
  .support-actions { display: grid; }
  .support-actions > * { min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand, .card { transition: none; }
}

/* Shared header and brand navigation */
.site-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; min-height: 76px; padding-block: 12px; }
.site-header nav { display: flex; flex-wrap: wrap; column-gap: 20px; row-gap: 8px; font-size: .94rem; }
.site-header a { text-decoration: none; }
.site-header nav a:hover, .header-phone:hover { text-decoration: underline; }
.site-wordmark { font-size: 1.4rem; font-weight: 850; letter-spacing: -.045em; }
.site-wordmark span, .header-phone { color: var(--accent); }
.header-phone { font-weight: 750; }
.brand-strip { position: relative; padding-block: 14px; background: #fff; }
.brand-strip .brands { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.brand-strip .brand { border: 1px solid var(--line); border-bottom: 3px solid var(--brand-colour); gap: 8px; text-align: center; min-height: 85px; }
.brand-strip .brand:hover, .brand-strip [aria-current="page"] { background: var(--brand-tint); border-color: var(--brand-colour); }
.brand-strip .brand span { color: var(--ink-strong); font-size: .8rem; }
.brand-strip img { width: min(100%, 114px); height: 34px; }
.brand-hp { --brand-colour: #075b9c; --brand-tint: #e9f4fc; }
.brand-canon { --brand-colour: #ad1722; --brand-tint: #fdecef; }
.brand-epson { --brand-colour: #162786; --brand-tint: #eceefd; }
.brand-brother { --brand-colour: #173b9b; --brand-tint: #ebf2ff; }
.brand-pantum { --brand-colour: #343c44; --brand-tint: #edf0f3; }
.brand-strip .brand-hp img { width: 34px; }
.brand-page { --accent: var(--brand-colour); }
.brand-page .primary:hover { filter: brightness(.88); background: var(--accent); }
.brand-masthead { background: var(--brand-tint); border-bottom: 1px solid var(--line); padding-block: clamp(35px, 6vw, 85px); }
.brand-masthead-grid { display: grid; grid-template-columns: 1.55fr 1fr; align-items: center; gap: clamp(18px, 5vw, 68px); }
.brand-masthead h1 { color: var(--brand-colour); margin-top: 12px; }
.brand-family { display: grid; justify-items: start; gap: 14px; border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 4vw, 46px); background: #fff; box-shadow: 0 16px 46px #182c3312; }
.brand-family img { object-fit: contain; object-position: left center; }
.brand-hp .brand-family img { width: 42px; height: 42px; }
.brand-family p { font-size: .96rem; color: var(--muted); }
.brand-topics, .brand-index-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.brand-index .card span { display: block; margin-top: 12px; color: var(--brand-colour); font-weight: 700; }
.brand-index .card h2 { font-size: 1.7rem; }
.brand-details { min-height: 0; padding-top: 0; }
.brand-details .brand-guide { max-width: none; }
.footer-actions { grid-column: 1 / -1; }
.footer-actions a, .footer-actions button { margin: 0; }
.phone-action { white-space: nowrap; }
@media (max-width: 800px) {
  .site-header nav { order: 3; width: 100%; }
  .brand-strip .brands { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-masthead-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .brand-topics, .brand-index-grid { grid-template-columns: 1fr; }
  .footer-actions { grid-template-columns: 1fr; }
}

.quick-help { padding-block: 26px; }
.quick-help h2 { font-size: clamp(1.25rem, 2.5vw, 1.7rem); }
.quick-help div { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.quick-help a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; background: #fff; border: 1px solid var(--line); border-radius: 8px; color: var(--accent); font-weight: 725; text-decoration: none; }
.quick-help a:hover { border-color: var(--accent); }
.support-hero { padding-block: clamp(28px, 4vw, 54px); }
.support-hero figure { aspect-ratio: 16 / 11; }

.selected-brand-header {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px 34px;
  min-height: 78px;
  padding-block: 12px;
}
.selected-brand-logo { display: flex; align-items: center; }
.selected-brand-logo img { display: block; width: 114px; height: 37px; object-fit: contain; object-position: left center; }
.brand-hp .selected-brand-logo img { width: 45px; height: 45px; }
.selected-brand-header nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px 20px; }
.selected-brand-header a { font-size: .94rem; font-weight: 700; text-decoration: none; }
.selected-brand-header a:hover { text-decoration: underline; }
.brand-pantum .selected-brand-logo img { filter: brightness(0); }
.brand-pantum .selected-brand-header nav a { color: #343c44; }
.brand-masthead {
  background: linear-gradient(125deg, var(--brand-colour), color-mix(in srgb, var(--brand-colour), #12182d 36%));
  color: #fff;
}
.brand-masthead-grid { grid-template-columns: 1.05fr 1fr; }
.brand-masthead h1, .brand-masthead .lead { color: #fff; }
.guide-label { font-size: .9rem; font-weight: 700; }
.brand-masthead .primary { background: #fff; color: var(--brand-colour); border: 1px solid #fff; }
.brand-masthead .primary:hover { background: var(--brand-tint); filter: none; }
.brand-masthead .phone-action { color: #fff; background: transparent; }
.brand-masthead .phone-action:hover { color: var(--brand-colour); }
.brand-product { aspect-ratio: 6 / 5; background: #fff; border: 1px solid #fff; box-shadow: 0 18px 45px #12182d44; }
.brand-product img { box-sizing: border-box; padding: 16px 16px 48px; object-fit: contain; }
.brand-product figcaption { bottom: 10px; left: 14px; background: var(--brand-tint); color: var(--brand-colour); font-weight: 700; }
.printer-families { margin-top: 10px; color: var(--muted); }
@media (max-width: 760px) {
  .selected-brand-header { grid-template-columns: minmax(0, 1fr); gap: 10px 15px; }
  .selected-brand-header nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
  .brand-masthead-grid { grid-template-columns: 1fr; }
  .brand-product { max-width: 540px; }
}

/* Keep the home brand picker aligned to the page grid at every width. */
.support-home .brand-strip .brands {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(5px, 1.2vw, 14px);
}
.support-home .brand-strip .brand {
  min-height: clamp(52px, 7vw, 84px);
  padding: 7px clamp(4px, 1vw, 12px);
}
.support-home .brand-strip img {
  width: min(100%, 112px);
  height: clamp(23px, 4vw, 38px);
}
.support-home .brand-strip .brand-hp img {
  width: clamp(23px, 4vw, 38px);
}
.support-home .brand-strip .brand-pantum img {
  filter: brightness(0) saturate(100%);
}
.support-home .hero-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.support-home .support-hero .support-actions > * {
  min-height: 48px;
}
@media (max-width: 800px) {
  .support-home .hero-grid { grid-template-columns: 1fr; }
}

/* Task guides share the homepage brand row and hero treatment. */
.task-guide .brand-strip .brands { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(5px, 1.2vw, 14px); }
.task-guide .brand-strip .brand { min-height: clamp(52px, 7vw, 84px); padding: 7px clamp(4px, 1vw, 12px); }
.task-guide .brand-strip img { width: min(100%, 112px); height: clamp(23px, 4vw, 38px); }
.task-guide .brand-strip .brand-hp img { width: clamp(23px, 4vw, 38px); }
.task-guide .brand-strip .brand-pantum img { filter: brightness(0) saturate(100%); }
.task-guide .hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.task-back { display: inline-block; margin-bottom: 14px; color: var(--accent); font-weight: 700; }
.task-guide-hero .lead { margin-bottom: 0; }
.task-guide-hero .task-guide-image { margin: 0; background: #fff; aspect-ratio: 16 / 10; }
.task-guide-image img { object-fit: contain; padding: 14px 16px 43px; }
.task-guide-image figcaption { background: #fff; color: var(--ink-strong); bottom: 5px; }
.task-guide-nav { display: flex; flex-wrap: wrap; gap: 10px; padding-block: 20px 0; }
.task-guide-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--accent); font-weight: 700; text-decoration: none; }
.task-guide-nav a:hover { border-color: var(--accent); }
.task-guide-body { padding-top: 25px; }
.task-guide-body > * { max-width: 54rem; }
.task-guide-body .guide-diagram { max-width: 35rem; }
.task-guide-panel, .task-guide-faq { margin-top: 34px; }
.task-guide-panel { padding: clamp(18px, 3vw, 28px); background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.task-guide-panel p, .task-guide-faq details { margin-top: 12px; }
.task-guide-panel h2, .task-guide-faq h2 { font-size: clamp(1.35rem, 2.8vw, 1.95rem); line-height: 1.2; }
@media (max-width: 800px) { .task-guide .hero-grid { grid-template-columns: 1fr; } }

.task-guide-example {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 28px);
  align-items: center;
}
.task-guide-example figure { background: var(--paper); aspect-ratio: 3 / 2; }
.task-guide-example img { object-fit: cover; }
@media (max-width: 700px) {
  .task-guide-example { grid-template-columns: 1fr; }
}

.task-guide-body .task-brand-section { margin-top: 34px; }
.task-brand-section h2 { font-size: clamp(1.35rem, 2.8vw, 1.95rem); margin-bottom: 14px; }
.task-brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
}
.task-brand-grid .brand-guide {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  min-width: 0;
}
.article .task-brand-grid .brand-guide + .brand-guide { margin-top: 0; }
.task-brand-grid .brand-guide p { margin: 0; }
.task-brand-grid .task-brand-link { text-decoration: none; justify-content: center; }
.task-brand-grid .task-brand-link:hover { border-color: var(--accent); }
.task-brand-logo {
  width: 112px;
  max-width: 100%;
  height: 38px;
  flex: 0 0 38px;
  display: block;
}
.task-brand-logo img { width: 100%; height: 100%; object-fit: contain; object-position: left center; display: block; }
.task-brand-logo-pantum img { filter: brightness(0); }
@media (max-width: 560px) { .task-brand-grid { grid-template-columns: 1fr; } }

.home-resources {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-bottom: 30px;
}
.home-resources a { color: var(--accent); font-weight: 700; }
.task-guide-example-text { display: block; }
.task-guide-example figure[hidden], .task-guide-image figcaption[hidden] { display: none; }

.brand-task { --accent: var(--brand-colour); }
.selected-brand-header [aria-current="page"] { color: var(--brand-colour); text-decoration: underline; text-underline-offset: 5px; }
.brand-specific-checks { margin-top: 0; scroll-margin-top: 1rem; }
.brand-topics-complete { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 800px) { .brand-topics-complete { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .brand-topics-complete { grid-template-columns: 1fr; } }
