:root {
  --ink: #303333;
  --muted: #737878;
  --orange: #c34d14;
  --line: #e6e8e6;
  --paper: #f7f8f6;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; font: 14px/1.6 "Open Sans", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
.page-width { width: min(1080px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; top: -80px; left: 20px; z-index: 10; padding: 12px 18px; background: #fff; }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; }
.brand img { width: auto; height: 40px; max-width: 100%; object-fit: contain; }
.site-header nav { display: flex; align-items: center; gap: 30px; }
.site-header nav a { font-size: 13px; font-weight: 600; }
.site-header nav a:hover { color: var(--orange); }
.site-header nav .help-button { padding: 9px 18px; border: 1px solid #ecb69d; border-radius: 4px; color: var(--orange); }
.hero { padding: 50px 0 30px; color: #fff; background: #222; border-bottom: 1px solid #222; }
.eyebrow { margin: 0 0 10px; color: var(--orange); font-size: 10px; font-weight: 700; letter-spacing: 1.7px; }
.hero .eyebrow { color: #fff; }
h1 { margin: 0 0 14px; font-size: clamp(32px, 4vw, 44px); line-height: 1.2; font-weight: 400; letter-spacing: -1.4px; }
.hero-description { max-width: 570px; margin: 0; color: #e0e0e0; font-size: 15px; line-height: 1.8; }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 30px; }
.library-count { color: #fff; font-size: 12px; font-weight: 600; }
.library-count span { padding: 0 9px; color: #a0a5a0; }
.hero-bottom p { margin: 0; color: #e0e0e0; font-size: 12px; }
.library { padding-top: 42px; padding-bottom: 50px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 21px; }
.section-heading .eyebrow { margin-bottom: 4px; }
h2 { margin: 0; font-size: 23px; line-height: 1.4; font-weight: 400; letter-spacing: -.5px; }
.section-heading > p { margin: 0 0 3px; color: var(--muted); font-size: 12px; }
.device-grid { display: grid; gap: 22px; }
.essentials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.thermostat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.device-card { display: flex; flex-direction: column; min-width: 0; padding: 24px 24px 6px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.device-heading { display: flex; align-items: center; gap: 15px; }
.device-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 52px; height: 52px; border-radius: 12px; color: #747f78; background: #f1f4ef; }
.device-icon svg { width: 36px; height: 36px; }
.device-model { margin: 0 0 2px; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: 1px; }
h3 { margin: 0; font-size: 19px; font-weight: 400; line-height: 1.4; }
.device-description { margin: 17px 0 22px; color: var(--muted); font-size: 12px; }
.document-list { border-top: 1px solid var(--line); }
.document-link { display: flex; align-items: center; gap: 12px; min-height: 77px; padding: 15px 0; }
.document-link + .document-link { border-top: 1px solid var(--line); }
.pdf-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 31px; height: 37px; border: 1px solid #efccba; border-radius: 3px; color: var(--orange); background: #fff8f3; font-size: 9px; font-weight: 700; letter-spacing: .3px; }
.document-info { display: flex; flex-direction: column; min-width: 0; }
.document-title { font-size: 13px; font-weight: 600; }
.document-meta { margin-top: 2px; color: var(--muted); font-size: 10px; }
.document-meta span { padding: 0 4px; }
.open-icon { width: 17px; height: 17px; flex-shrink: 0; margin-left: auto; color: #8a908a; }
.document-link:hover .document-title, .document-link:hover .open-icon { color: var(--orange); }
.thermostat-section { margin-top: 42px; }
.support-note { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 27px 30px; margin-top: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.support-note h2 { font-size: 19px; }
.support-note p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.support-note a { flex-shrink: 0; color: var(--orange); font-size: 12px; font-weight: 600; }
.support-note a span { margin-left: 8px; }
.support-note a:hover { text-decoration: underline; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 86px; color: var(--muted); font-size: 11px; }
.footer-inner p { margin: 0; }
.footer-inner a:hover { color: var(--orange); }
@media (max-width: 850px) {
  .thermostat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 8px; }
}
@media (max-width: 580px) {
  .page-width { width: calc(100% - 36px); }
  .header-inner { min-height: 84px; gap: 15px; }
  .brand img { height: 29px; }
  .site-header nav { gap: 13px; }
  .site-header nav a { font-size: 10px; }
  .site-header nav .help-button { padding: 7px 10px; }
  .hero { padding-top: 36px; }
  .hero-bottom { display: block; margin-top: 24px; }
  .hero-bottom p { margin-top: 8px; font-size: 11px; }
  .library { padding-top: 30px; }
  .essentials-grid, .thermostat-grid { grid-template-columns: 1fr; }
  .device-grid { gap: 16px; }
  .device-card { padding-inline: 22px; }
  .support-note { display: block; padding: 23px; }
  .support-note a { display: inline-block; margin-top: 18px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 12px; padding-top: 22px; padding-bottom: 22px; }
}
