/* vimsinspect.com — v1, October 27, 2026
   Direction: proof-led. The page shows what VIMS produces: real app screens next to the
   real PDF report pages they become. Section heads borrow the blue numbered section bar
   from the VIMS report itself. Logo colors: house blue, check green, ground-arc tan.
   Fonts: Archivo + IBM Plex Sans (the app's own faces, SIL OFL), self-hosted. */

@font-face { font-family: "Archivo"; src: url("fonts/archivo.woff") format("woff"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/plex-sans.woff") format("woff"); font-weight: 100 700; font-display: swap; }

:root {
  color-scheme: light;
  --desk: #e8eaef;         /* the surface the report pages sit on */
  --sheet: #ffffff;
  --ink: #12162b;
  --ink-soft: #4a4f63;
  --line: #d4d8e1;
  --tint: #eef1f8;         /* report table row tint */
  --bar: #2343d0;          /* report section bar */
  --bar-deep: #182f9c;
  --logo-blue: #213ceb;
  --logo-green: #276c01;
  --logo-tan: #b99157;
  --tan-field: #c9a876;
  --cat1: #b8382a;         /* Category 1 · Safety */
  --cat2: #a8670c;         /* Category 2 · Functional */
  --cat3: #23794a;         /* Category 3 · Items to monitor */
  --night: #12162b;

  --display: "Archivo", "Arial", sans-serif;
  --text: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;

  --gutter: 20px;
  --max: 1320px;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background-color: var(--desk); color: var(--ink); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background-color: var(--desk); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--bar-deep); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.utility a:focus-visible, .case a:focus-visible, .foot a:focus-visible { outline-color: #ffffff; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.06; text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
p { margin: 0; }
figure { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background-color: var(--sheet); color: var(--ink); padding: 10px 14px; z-index: 10; }
.skip:focus { left: 8px; }
.hero__grid, .lead-row, .strip, .check__grid, .types__cols, .case__steps, .fees__foot, .signoff__grid, .foot__grid, .doc__grid, .covers__facts { grid-template-columns: minmax(0, 1fr); }

/* ---------- Utility strip + masthead ---------- */
.utility { background-color: var(--night); color: #ffffff; font-size: 14px; }
.utility__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; padding-top: 8px; padding-bottom: 8px; }
.utility a { color: #ffffff; }
.utility__contact { display: flex; gap: 20px; }
.masthead { background-color: var(--sheet); color: var(--ink); border-bottom: 1px solid var(--line); }
.masthead__row { display: flex; align-items: center; gap: var(--s2); padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand img { width: 46px; height: auto; }
.brand__name { display: block; font-family: var(--display); font-weight: 800; font-size: 21px; line-height: 1; letter-spacing: 0.03em; }
.brand__full { display: block; font-size: 12px; line-height: 1.3; color: var(--ink-soft); margin-top: 3px; }
.nav { display: none; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; padding: 10px 2px; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--logo-blue); }
.call { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 0 12px; border-radius: 8px; background-color: var(--bar); color: #ffffff; font-weight: 600; font-size: 15px; text-decoration: none; }
.call svg { width: 18px; height: 18px; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; min-height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background-color: var(--sheet); color: var(--ink); font-weight: 600; font-size: 15px; padding: 0 14px; }
.menu summary::-webkit-details-marker { display: none; }
.menu__panel { position: absolute; right: 0; top: calc(100% + 8px); background-color: var(--sheet); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 8px; width: min(78vw, 280px); box-shadow: 0 16px 36px rgba(18, 22, 43, 0.18); z-index: 5; }
.menu__panel a { display: block; color: var(--ink); background-color: var(--sheet); text-decoration: none; padding: 12px 14px; border-radius: 6px; font-weight: 500; }
.menu__panel a:hover { background-color: var(--tint); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 8px; background-color: var(--bar); color: #ffffff; font-family: var(--text); font-weight: 600; font-size: 17px; text-decoration: none; transition: background-color 0.15s ease; }
.btn:hover { background-color: var(--bar-deep); }

/* ---------- Signature: the VIMS report section bar ---------- */
.bar { display: flex; align-items: center; gap: 12px; background-color: var(--bar); color: #ffffff; border-radius: 8px; padding: 9px 14px 9px 9px; font-family: var(--display); font-weight: 700; font-size: 17px; margin-bottom: var(--s3); }
.bar__no { background-color: #ffffff; color: var(--bar-deep); border-radius: 6px; min-width: 38px; text-align: center; padding: 2px 8px; font-size: 15px; }
.page-foot { display: flex; justify-content: space-between; gap: 16px; margin-top: var(--s4); padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }

/* ---------- Hero: the phone screen and the page it becomes ---------- */
.hero { padding: var(--s3) 0 var(--s4); background-color: var(--desk); color: var(--ink); }
.hero h1 { font-weight: 800; font-size: clamp(30px, 8.4vw, 40px); letter-spacing: -0.01em; }
.lead-row { display: grid; gap: var(--s3); margin-top: var(--s2); }
.lead-row p.lede { font-size: 16.5px; line-height: 1.55; color: var(--ink-soft); max-width: 62ch; }
.cta-block .btn { width: 100%; }
.cta-block__call { margin-top: 10px; font-size: 16px; color: var(--ink-soft); }
.cta-block__call a { font-weight: 600; }
.trust { display: flex; align-items: center; gap: 10px; margin-top: var(--s2); font-size: 15px; font-weight: 500; color: var(--ink); }
.trust img { width: 30px; height: auto; flex: none; }
.strip { display: grid; gap: var(--s3); margin-top: var(--s4); background-color: var(--sheet); border-radius: 14px; padding: var(--s3); }
.strip__item figcaption { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }
.strip__item figcaption b { color: var(--ink); }
.phone { background-color: #0e1122; border-radius: 36px; padding: 8px; width: min(250px, 66vw); margin: 0 auto; }
.phone img { border-radius: 29px; width: 100%; height: auto; background-color: #ffffff; }
.sheet-img { border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(18, 22, 43, 0.12); background-color: #ffffff; }
.strip__arrow { display: none; }
.proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.proof div { padding: 12px 14px; background-color: var(--sheet); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof div:nth-child(2n) { border-right: 0; }
.proof div:nth-last-child(-n+2) { border-bottom: 0; }
.proof strong { display: block; font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.1; color: var(--ink); }
.proof span { font-size: 14px; color: var(--ink-soft); }

/* ---------- Report-page sections ---------- */
.page { padding: var(--s3) 0; background-color: var(--desk); color: var(--ink); }
.page__sheet { background-color: var(--sheet); color: var(--ink); border-radius: 4px; padding: var(--s3) var(--s2); box-shadow: 0 1px 0 var(--line), 0 14px 34px rgba(18, 22, 43, 0.07); }
.page h2 { font-weight: 800; font-size: clamp(30px, 6.6vw, 52px); letter-spacing: -0.01em; }
.page .intro { font-size: 18px; color: var(--ink-soft); margin-top: var(--s2); max-width: 70ch; }

/* 01 checklist: report "Property Information" style table */
.check__grid { display: grid; gap: var(--s4); margin-top: var(--s4); }
.depth-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.depth-table caption { text-align: left; font-family: var(--display); font-weight: 700; color: var(--bar-deep); font-size: 15px; padding-bottom: 8px; }
.depth-table th, .depth-table td { text-align: left; vertical-align: top; padding: 12px 12px; }
.depth-table thead th { background-color: var(--tint); }
.depth-table thead th { font-family: var(--text); font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.depth-table tbody th { font-family: var(--display); font-weight: 750; font-size: 20px; color: var(--ink); white-space: nowrap; }
.depth-table tbody td[data-label="Line items"] { font-weight: 600; white-space: nowrap; }
.depth-table tbody tr + tr th, .depth-table tbody tr + tr td { border-top: 1px solid var(--line); }
.check__note { margin-top: var(--s3); color: var(--ink-soft); }
.check__phone { background-color: var(--tint); border-radius: 10px; padding: var(--s4) var(--s3); text-align: center; }
.check__phone figcaption { margin-top: var(--s2); font-size: 15px; color: var(--ink-soft); }

/* 02 the report: full-bleed tan field with the covers */
.covers { background-color: var(--tan-field); color: var(--ink); padding: var(--s5) 0; margin: var(--s3) 0; }
.covers .bar { background-color: var(--ink); }
.covers .bar__no { color: var(--ink); }
.covers h2 { font-weight: 800; font-size: clamp(30px, 6.6vw, 52px); letter-spacing: -0.01em; }
.covers .intro { font-size: 18px; margin-top: var(--s2); color: #2b2416; max-width: 70ch; }
.covers__scroll { margin-top: var(--s4); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.covers__scroll img { width: 1100px; max-width: none; margin: 0 var(--gutter); border-radius: 4px; }
.covers__facts { display: grid; gap: var(--s2); margin-top: var(--s4); }
.covers__facts div { background-color: rgba(255, 255, 255, 0.55); border-radius: 8px; padding: var(--s2); }
.covers__facts strong { display: block; font-family: var(--display); font-size: 21px; font-weight: 750; }
.covers__facts span { color: #2b2416; }

/* 03 inspection types: findings-style rows with number chips */
.types__cols { display: grid; gap: var(--s4); margin-top: var(--s4); }
.types h3 { font-size: 20px; font-weight: 750; margin-bottom: var(--s2); }
.rows { list-style: none; margin: 0; padding: 0; counter-reset: row; }
.rows li { counter-increment: row; display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: baseline; padding: 10px 12px; border-radius: 6px; }
.rows li:nth-child(odd) { background-color: var(--tint); }
.rows li::before { content: counter(row, decimal-leading-zero); font-family: var(--display); font-weight: 700; font-size: 14px; color: #ffffff; background-color: var(--bar); border-radius: 5px; text-align: center; padding: 1px 0; }
.rows li > * { grid-column: 2; }
.rows b { font-weight: 600; }
.rows span { display: block; font-size: 15px; color: var(--ink-soft); }

/* 04 start to finish: dark case-study band */
.case { background-color: var(--night); color: #ffffff; padding: var(--s5) 0; margin: var(--s3) 0; }
.case .bar { background-color: var(--logo-tan); color: var(--night); }
.case .bar__no { background-color: var(--night); color: #ffffff; }
.case h2 { font-weight: 800; font-size: clamp(30px, 6.6vw, 52px); letter-spacing: -0.01em; }
.case .intro { font-size: 18px; margin-top: var(--s2); color: #d9dcea; max-width: 70ch; }
.case__steps { display: grid; gap: var(--s4); margin-top: var(--s4); }
.case__steps figure { display: grid; gap: var(--s2); align-content: start; }
.case__steps .phone { background-color: #000000; }
.case__steps figcaption b { display: block; font-family: var(--display); font-size: 21px; font-weight: 750; color: #ffffff; }
.case__steps figcaption span { color: #d9dcea; }
.case__steps .sheet-img { box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); border: 0; }
.step-no { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; font-family: var(--display); font-weight: 800; font-size: 15px; color: #ffffff; margin-right: 8px; vertical-align: middle; }
.step-no--1 { background-color: var(--cat1); }
.step-no--2 { background-color: var(--cat2); }
.step-no--3 { background-color: var(--cat3); }

/* 05 fee schedule: agreement-style lines with dotted leaders */
.fees { list-style: none; margin: var(--s4) 0 0; padding: 0; }
.fees li { padding: var(--s2) 0; border-bottom: 1px solid var(--line); }
.fee__line { display: flex; align-items: baseline; gap: 10px; }
.fee__name { font-family: var(--display); font-weight: 750; font-size: 22px; }
.fee__dots { flex: 1; border-bottom: 2px dotted #9aa0b2; transform: translateY(-6px); min-width: 20px; }
.fee__amount { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--bar-deep); white-space: nowrap; }
.fee__amount small { font-family: var(--text); font-weight: 500; font-size: 15px; color: var(--ink-soft); }
.fee__note { color: var(--ink-soft); margin-top: 4px; }
.fees li.soon .fee__amount { color: var(--ink-soft); }
.fees__foot { display: grid; gap: var(--s3); margin-top: var(--s4); align-items: center; }
.fees__foot p { color: var(--ink-soft); }

/* 06 sign-off: report cover form fields */
.signoff__grid { display: grid; gap: var(--s4); margin-top: var(--s3); }
.signoff__grid p { font-size: 18px; margin-top: var(--s2); max-width: 66ch; }
.fields { margin: 0; }
.fields div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 12px 0 6px; }
.fields dt { font-weight: 700; font-size: 15px; }
.fields dd { margin: 0; border-bottom: 1.5px solid var(--ink); padding: 2px 0 6px; font-size: 18px; overflow-wrap: anywhere; }
.fields a { color: var(--bar-deep); }

/* ---------- Footer ---------- */
.foot { background-color: var(--night); color: #ffffff; padding: var(--s4) 0; font-size: 15px; margin-top: var(--s3); }
.foot__grid { display: grid; gap: var(--s2); }
.foot a { color: #ffffff; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.foot nav a { min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- Privacy and support pages ---------- */
.doc-head { padding: var(--s4) 0 var(--s3); background-color: var(--desk); color: var(--ink); }
.doc-head h1 { font-weight: 800; font-size: clamp(34px, 7vw, 56px); }
.doc-head p { margin-top: var(--s1); color: var(--ink-soft); }
.doc__grid { display: grid; gap: var(--s4); }
.doc__body { max-width: 72ch; }
.doc__body h2 { font-size: clamp(22px, 4vw, 28px); font-weight: 750; margin: var(--s4) 0 var(--s2); }
.doc__body h2:first-child { margin-top: 0; }
.doc__body p, .doc__body li { margin: 0 0 var(--s2); }
.doc__body ul { padding-left: 1.2em; margin: 0 0 var(--s2); }
.faq { margin: var(--s2) 0 0; }
.faq div { padding: var(--s2); border-radius: 6px; }
.faq div:nth-child(odd) { background-color: var(--tint); }
.faq dt { font-weight: 600; }
.faq dd { margin: 6px 0 0; color: var(--ink-soft); }
.doc__aside { background-color: var(--tint); color: var(--ink); border-radius: 10px; padding: var(--s3); align-self: start; }
.doc__aside img { width: 52px; height: auto; }
.doc__aside-title { font-family: var(--display); font-weight: 750; font-size: 21px; margin-top: var(--s2); }

/* ---------- Tablet 768+ ---------- */
@media (min-width: 768px) {
  :root { --gutter: 40px; }
  .hero h1 { font-size: clamp(40px, 5.6vw, 64px); }
  .lead-row { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; gap: var(--s4); }
  .cta-block .btn { width: auto; }
  .lead-row p.lede { font-size: 18px; }
  .strip { grid-template-columns: 210px minmax(0, 1fr); align-items: center; padding: var(--s3); }
  .strip .phone { width: 100%; }
  .proof { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .proof div { border-bottom: 0; }
  .proof div:nth-child(2n) { border-right: 1px solid var(--line); }
  .proof div:last-child { border-right: 0; }
  .page__sheet { padding: var(--s5) var(--s5) var(--s4); }
  .check__grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
  .covers__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .types__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
  .fees__foot { grid-template-columns: minmax(0, 1fr) auto; }
  .signoff__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s5); }
  .fields div { grid-template-columns: 9em 1fr; align-items: end; }
  .foot__grid { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
}

/* ---------- Desktop 1024+ ---------- */
@media (min-width: 1024px) {
  .nav { display: flex; gap: 26px; }
  .menu, .call { display: none; }
  .hero { padding: var(--s4) 0 var(--s4); }
  .strip { grid-template-columns: 200px 90px minmax(0, 1.55fr) minmax(0, 0.75fr); gap: var(--s3); padding: var(--s3) var(--s4); }
  .strip__arrow { display: grid; place-items: center; gap: 8px; text-align: center; font-size: 14px; color: var(--ink-soft); }
  .strip__arrow svg { width: 64px; height: 24px; }
  .proof { grid-column: auto; grid-template-columns: 1fr; align-self: stretch; }
  .proof div { border-right: 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
  .proof div:nth-child(2n) { border-right: 0; }
  .proof div:last-child { border-bottom: 0; }
  .page { padding: var(--s4) 0; }
  .case__steps { grid-template-columns: 0.8fr 0.8fr 1.4fr; gap: var(--s5); align-items: end; }
  .doc__grid { grid-template-columns: minmax(0, 72ch) minmax(280px, 380px); justify-content: space-between; }
  .doc__aside { position: sticky; top: var(--s3); }
  .covers__scroll { overflow: visible; }
  .covers__scroll img { width: calc(100% - 2 * var(--gutter)); max-width: 2400px; margin: 0 auto; }
}

@media (min-width: 1440px) {
  :root { --max: 1440px; --gutter: 56px; }
  .hero h1 { font-size: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Depth table stacks on phones */
@media (max-width: 767px) {
  .depth-table, .depth-table tbody, .depth-table tr, .depth-table th, .depth-table td { display: block; width: 100%; }
  .depth-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .depth-table tbody tr { padding: 12px 0; }
  .depth-table tbody tr + tr { border-top: 1px solid var(--line); }
  .depth-table tbody tr + tr th, .depth-table tbody tr + tr td { border-top: 0; }
  .depth-table th, .depth-table td { padding: 4px 0; }
  .depth-table td::before { content: attr(data-label) ": "; font-weight: 600; color: var(--ink-soft); }
}

/* Heading + intro pairs */
.sheet-head .intro { margin-top: var(--s2); }
@media (min-width: 1024px) {
  .sheet-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--s5); align-items: end; }
  .sheet-head .intro { margin-top: 0; }
  /* compact hero: the proof strip must finish above 860px */
  .hero { padding: var(--s3) 0 var(--s3); }
  .hero h1 { font-size: clamp(44px, 3.9vw, 60px); }
  .lead-row { margin-top: var(--s2); }
  .trust { margin-top: 10px; }
  .strip { margin-top: var(--s3); grid-template-columns: 152px 72px auto minmax(0, 1fr); padding: 16px var(--s4); align-items: center; }
  .strip .sheet-img { height: 316px; width: auto; }
  .strip__item figcaption { font-size: 14px; margin-top: 6px; }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); align-self: center; }
  .proof div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 16px; }
  .proof div:nth-child(2n) { border-right: 0; }
  .proof div:nth-last-child(-n+2) { border-bottom: 0; }
}

/* Hero strip sits straight on the desk: no panel, numbers as one line of text */
.strip { background-color: transparent; padding: 0; border-radius: 0; }
.proof-line { font-size: 16px; color: var(--ink-soft); }
.proof-line b { color: var(--ink); font-weight: 600; }
@media (min-width: 768px) { .proof-line { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .strip { grid-template-columns: 170px 80px auto minmax(0, 1fr); padding: 0; gap: var(--s4); align-items: center; }
  .strip .sheet-img { height: 350px; }
  .proof-line { grid-column: 4; align-self: center; font-size: 19px; line-height: 1.5; max-width: 22ch; }
  .proof-line b { font-family: var(--display); font-weight: 800; font-size: 26px; display: inline; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero h1 { font-size: 44px; }
  .strip { grid-template-columns: 136px 64px auto minmax(0, 1fr); gap: var(--s3); }
  .strip .sheet-img { height: 280px; }
  .proof-line { font-size: 17px; }
  .proof-line b { font-size: 21px; }
}
