:root {
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #191c19;
  --muted: #62665f;
  --paper: #f4f0e8;
  --paper-2: #ebe5da;
  --white: #fffdf8;
  --brick: #a9472c;
  --brick-dark: #753321;
  --moss: #244c3a;
  --moss-light: #dce7df;
  --amber: #c77922;
  --line: rgba(25, 28, 25, .16);
  --line-strong: rgba(25, 28, 25, .32);
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 24px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --max: 1240px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img, svg { max-width: 100%; }
.hidden { display: none !important; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; transform: translateY(-150%); background: var(--ink); color: white; padding: 10px 14px; border-radius: 6px; text-decoration: none; transition: transform 160ms var(--ease-out); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #e59949; outline-offset: 3px; }

.demo-ribbon { padding: 7px 20px; background: var(--ink); color: #f7f1e7; font-size: 12px; letter-spacing: .04em; text-align: center; }
.site-header { width: min(calc(100% - 40px), var(--max)); min-height: 76px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 760; letter-spacing: -.025em; text-decoration: none; }
.brand-mark { display: grid; grid-template-columns: repeat(2, 9px); gap: 2px; transform: rotate(-2deg); }
.brand-mark i { width: 9px; height: 6px; background: var(--brick); }
.brand-mark i:nth-child(2), .brand-mark i:nth-child(3) { background: var(--brick-dark); }
.site-header nav { display: flex; align-items: center; gap: 26px; }
.site-header nav > a:not(.button) { color: var(--muted); font-size: 14px; text-decoration: none; }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid var(--ink); border-radius: var(--radius-s); background: var(--ink); color: white; font-weight: 700; line-height: 1; text-decoration: none; cursor: pointer; transition: transform 140ms var(--ease-out), background-color 180ms ease, color 180ms ease, border-color 180ms ease; }
.button:active, .choice:active, .selection-row:active, .photo-capture:active, .icon-button:active { transform: scale(.97); }
.button-small { min-height: 40px; padding-inline: 16px; font-size: 14px; }
.button-fill { background: var(--brick); border-color: var(--brick); }
.button-quiet { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.button:disabled { cursor: wait; opacity: .62; }
.text-link { color: var(--ink); font-weight: 700; text-underline-offset: 4px; }

.hero { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; min-height: 690px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); gap: clamp(56px, 8vw, 120px); align-items: center; padding: 88px 0 96px; }
.hero-copy { max-width: 690px; }
.eyebrow { margin: 0 0 18px; color: var(--brick); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow.light { color: #efb98f; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { margin-bottom: 25px; font-family: var(--font-sans); font-size: clamp(44px, 5.4vw, 72px); font-weight: 700; line-height: 1; letter-spacing: -.052em; text-wrap: balance; }
.lede { max-width: 630px; margin-bottom: 32px; color: #4e514c; font-size: clamp(18px, 2vw, 22px); line-height: 1.5; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.proof-points { display: flex; gap: 0; flex-wrap: wrap; margin: 40px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; }
.proof-points li { display: flex; align-items: center; }
.proof-points li:not(:last-child)::after { content: ""; width: 3px; height: 3px; margin: 0 12px; border-radius: 50%; background: var(--brick); }
.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.pack-sheet { position: relative; z-index: 2; width: min(100%, 480px); padding: 28px; border: 1px solid rgba(25,28,25,.13); background: var(--white); box-shadow: 0 28px 70px rgba(50, 36, 25, .14); transform: rotate(1.4deg); }
.pack-sheet-back { position: absolute; z-index: 1; width: auto; inset: 62px 7% 8px 2%; background: #ddd5c8; transform: rotate(-4deg); box-shadow: none; }
.pack-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.pack-head strong { display: block; margin-top: 5px; font-family: var(--font-sans); font-size: 21px; font-weight: 700; letter-spacing: -.025em; }
.micro { display: block; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .11em; }
.pack-status { padding: 6px 9px; border-radius: 99px; background: var(--moss-light); color: var(--moss); font-size: 11px; font-weight: 800; }
.pack-summary { display: grid; grid-template-columns: repeat(3, 1fr); margin: 20px 0; border: 1px solid var(--line); }
.pack-summary div { display: flex; flex-direction: column; padding: 13px; }
.pack-summary div:not(:last-child) { border-right: 1px solid var(--line); }
.pack-summary strong { font-size: 22px; line-height: 1; }
.pack-summary span { color: var(--muted); font-size: 11px; }
.pack-summary .warn strong { color: var(--brick); }
.pack-row { min-height: 74px; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 13px; padding: 12px 0; border-top: 1px solid var(--line); }
.pack-row.exception { margin-inline: -10px; padding-inline: 10px; border: 1px solid #e5c4a4; background: #fbf1e7; }
.date-block { color: var(--muted); font-size: 8px; line-height: 1.2; text-align: center; }
.date-block strong { color: var(--ink); font-size: 20px; }
.pack-row div { min-width: 0; }
.pack-row div strong, .pack-row div span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pack-row div strong { font-size: 12px; }
.pack-row div span { color: var(--muted); font-size: 10px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; }
.status-dot.amber { background: var(--amber); box-shadow: 0 0 0 4px rgba(199,121,34,.13); }
.photo-stack { position: relative; width: 38px; height: 28px; }
.photo-stack i { position: absolute; width: 26px; height: 22px; border: 2px solid var(--white); background: repeating-linear-gradient(0deg, #985139 0 4px, #c88869 4px 6px); }
.photo-stack i:first-child { left: 0; top: 4px; transform: rotate(-5deg); }
.photo-stack i:last-child { right: 0; top: 0; transform: rotate(5deg); }
.evidence-note { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; line-height: 1.45; }

.problem-band, .boundary-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 9vw, 150px); padding: 88px max(20px, calc((100vw - var(--max))/2)); background: var(--moss); color: #f7f1e7; }
.problem-band h2, .boundary-section h2 { max-width: 600px; margin: 0; font-family: var(--font-sans); font-size: clamp(32px, 3.8vw, 52px); font-weight: 650; line-height: 1.08; letter-spacing: -.04em; }
.problem-list { align-self: center; }
.problem-list p { display: grid; grid-template-columns: 42px 1fr; gap: 18px; margin: 0; padding: 19px 0; border-top: 1px solid rgba(255,255,255,.19); color: #e5e4dd; }
.problem-list p:last-child { border-bottom: 1px solid rgba(255,255,255,.19); }
.problem-list span { color: #efb98f; font-size: 11px; font-weight: 800; }

.section { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 112px 0; }
.section-intro { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; margin-bottom: 70px; }
.section-intro h2 { margin: 0; font-family: var(--font-sans); font-size: clamp(36px, 4.6vw, 58px); font-weight: 650; line-height: 1.06; letter-spacing: -.045em; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.steps li { display: grid; grid-template-columns: .35fr 1fr; gap: 26px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.steps li > span { color: var(--brick); font-size: 12px; font-weight: 800; }
.steps h3 { margin-bottom: 7px; font-size: 22px; letter-spacing: -.025em; }
.steps p { max-width: 680px; margin: 0; color: var(--muted); }

.demo-section { padding: 106px max(20px, calc((100vw - var(--max))/2)); background: #ded7cc; }
.demo-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 34px; }
.demo-heading h2 { margin: 0; font-family: var(--font-sans); font-size: clamp(36px, 4.6vw, 56px); font-weight: 650; line-height: 1.04; letter-spacing: -.045em; }
.demo-heading > p { max-width: 310px; margin: 0; color: #4e524c; text-align: right; }
.demo-heading .eyebrow { color: #8d3825; }
.demo-tabs { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.42); }
.demo-tabs button { min-height: 46px; padding: 0 18px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-weight: 740; cursor: pointer; }
.demo-tabs button[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: 0 3px 12px rgba(25,28,25,.08); }
.demo-tabs span { display: inline-grid; place-items: center; width: 21px; height: 21px; margin-right: 7px; border: 1px solid currentColor; border-radius: 50%; font-size: 11px; }
.demo-stage { min-height: 705px; margin-top: 22px; padding: clamp(24px, 5vw, 70px); border: 1px solid rgba(25,28,25,.12); background: #f6f2eb; }
.demo-panel { animation: panel-in 220ms var(--ease-out) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
#panel-foreman { grid-template-columns: minmax(320px, 460px) 1fr; gap: clamp(60px, 10vw, 150px); justify-content: center; align-items: center; }
#panel-foreman.active { display: grid; }
.phone-frame { width: 100%; min-height: 635px; border: 9px solid #20231f; border-radius: 34px; background: var(--white); overflow: hidden; box-shadow: 0 28px 55px rgba(25,28,25,.16); }
.phone-top { min-height: 37px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; background: #20231f; color: white; font-size: 10px; font-weight: 750; }
.phone-body { min-height: 580px; display: flex; flex-direction: column; padding: 23px; }
.capture-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.capture-header h3 { margin: 4px 0 0; font-size: 24px; letter-spacing: -.035em; }
.step-count { color: var(--muted); font-size: 12px; }
.progress-track { height: 4px; margin: 17px 0 24px; border-radius: 99px; background: #ddd9d0; overflow: hidden; }
.progress-track span { display: block; width: 100%; height: 100%; background: var(--brick); transform: scaleX(.25); transform-origin: left; transition: transform 220ms var(--ease-out); }
.progress-track span.step-1 { transform: scaleX(.25); }
.progress-track span.step-2 { transform: scaleX(.5); }
.progress-track span.step-3 { transform: scaleX(.75); }
.progress-track span.step-4 { transform: scaleX(1); }
.capture-step { display: none; }
.capture-step.active { display: block; }
.field-label { margin-bottom: 9px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.field-label.spaced { margin-top: 21px; }
.selection-row { width: 100%; min-height: 62px; display: grid; grid-template-columns: 76px 1fr 24px; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid var(--line); border-bottom: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer; transition: transform 140ms var(--ease-out), background-color 160ms ease; }
.selection-row:nth-of-type(1) { border-radius: 9px 9px 0 0; }
.selection-row:nth-of-type(3) { border-bottom: 1px solid var(--line); border-radius: 0 0 9px 9px; }
.selection-row span { color: var(--muted); font-size: 11px; }
.selection-row strong { font-size: 13px; }
.selection-row i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--moss); color: white; font-size: 10px; font-style: normal; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice, .exception-list .choice { min-height: 48px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--ink); font-weight: 700; cursor: pointer; transition: transform 140ms var(--ease-out), background-color 160ms ease, border-color 160ms ease; }
.choice.selected { border-color: var(--moss); background: var(--moss-light); color: var(--moss); }
.photo-capture { width: 100%; min-height: 89px; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 13px; margin-bottom: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--ink); text-align: left; cursor: pointer; transition: transform 140ms var(--ease-out), background-color 160ms ease, border-color 160ms ease; }
.photo-capture.captured { border-color: var(--moss); background: var(--moss-light); }
.photo-capture div strong, .photo-capture div small { display: block; }
.photo-capture div strong { font-size: 14px; }
.photo-capture div small { color: var(--muted); font-size: 11px; }
.photo-capture i { color: var(--brick); font-size: 11px; font-style: normal; font-weight: 800; }
.camera-icon { position: relative; width: 39px; height: 34px; border-radius: 7px; background: repeating-linear-gradient(0deg, #91442f 0 7px, #c77f61 7px 9px); }
.camera-icon::after { content: ""; position: absolute; inset: 10px 12px; border: 2px solid white; border-radius: 50%; }
.helper { margin: 13px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.exception-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.exception-list .choice:first-child { grid-column: 1 / -1; }
.note-field { display: block; margin-top: 16px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.note-field textarea { width: 100%; margin-top: 7px; padding: 11px; border: 1px solid var(--line-strong); border-radius: 8px; resize: vertical; background: white; color: var(--ink); font-weight: 500; letter-spacing: 0; text-transform: none; }
.review-card { padding: 19px; border: 1px solid var(--line); border-radius: 11px; background: #f7f4ed; }
.review-kicker { color: var(--moss); font-size: 9px; font-weight: 850; letter-spacing: .1em; }
.review-card h4 { margin: 6px 0 14px; font-size: 19px; }
.review-card dl { margin: 0; }
.review-card dl div { display: grid; grid-template-columns: 85px 1fr; padding: 7px 0; border-top: 1px solid var(--line); font-size: 11px; }
.review-card dt { color: var(--muted); }
.review-card dd { margin: 0; font-weight: 700; }
.review-card p { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.validation { min-height: 20px; margin: auto 0 6px; padding-top: 12px; color: var(--brick-dark); font-size: 11px; font-weight: 700; }
.capture-actions { display: flex; justify-content: flex-end; gap: 8px; }
.capture-actions .button { min-width: 125px; }
.demo-explainer { max-width: 430px; }
.demo-explainer h3 { margin-bottom: 13px; font-family: var(--font-sans); font-size: clamp(31px, 3.7vw, 46px); font-weight: 650; line-height: 1.08; letter-spacing: -.04em; }
.demo-explainer > p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.time-card { display: grid; margin-top: 33px; padding: 18px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.time-card span { color: var(--brick); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.time-card strong { margin-top: 4px; font-size: 25px; }
.time-card small { color: var(--muted); }

.office-shell { min-height: 560px; padding: 28px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 20px 50px rgba(25,28,25,.1); }
.office-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 23px; border-bottom: 1px solid var(--line); }
.office-head h3 { margin: 4px 0 0; font-family: var(--font-sans); font-size: 30px; font-weight: 650; letter-spacing: -.035em; }
.office-tools { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; }
.office-tools input { width: min(360px, 48vw); min-height: 43px; padding: 0 13px; border: 1px solid var(--line); border-radius: 7px; background: #f6f3ed; }
.office-tools > span { color: var(--muted); font-size: 12px; }
.office-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 18px; }
.exceptions-card, .records-card { border: 1px solid var(--line); }
.card-heading { min-height: 51px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--line); background: #f5f1e9; font-size: 13px; font-weight: 750; }
.card-heading strong { color: var(--brick); font-size: 11px; }
.exception-item { padding: 16px; border-bottom: 1px solid var(--line); }
.exception-item:last-child { border-bottom: 0; }
.exception-item .flag { display: inline-block; margin-bottom: 8px; padding: 3px 6px; border-radius: 4px; background: #f3dfc8; color: #82461a; font-size: 8px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.exception-item .flag.muted { background: #ebe2d8; color: #74594d; }
.exception-item h4 { margin-bottom: 3px; font-size: 13px; }
.exception-item p { margin-bottom: 7px; color: var(--muted); font-size: 11px; }
.exception-item small { color: var(--muted); font-size: 10px; }
.record-row { min-height: 78px; display: grid; grid-template-columns: 55px 1fr auto; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.record-row:last-of-type { border-bottom: 0; }
.record-row.fresh { background: var(--moss-light); }
.record-day { color: var(--muted); font-size: 10px; font-weight: 750; }
.record-row h4 { margin-bottom: 3px; font-size: 13px; }
.record-row p { margin: 0; color: var(--muted); font-size: 10px; }
.photo-count { color: var(--moss); font-size: 9px; font-weight: 800; }
.search-hidden { display: none !important; }
.no-results { padding: 24px; color: var(--muted); font-size: 13px; text-align: center; }

.outcomes .section-intro { margin-bottom: 45px; }
.outcome-list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.outcome-list article { min-height: 240px; padding: 24px 24px 20px 0; border-bottom: 1px solid var(--line); }
.outcome-list article:not(:last-child) { border-right: 1px solid var(--line); margin-right: 24px; }
.outcome-list span { color: var(--brick); font-size: 10px; font-weight: 800; }
.outcome-list h3 { margin: 42px 0 8px; font-size: 19px; }
.outcome-list p { color: var(--muted); font-size: 14px; }
.boundary-section p:not(.eyebrow) { max-width: 650px; color: #d6d9d3; font-size: 17px; }

.pilot-section { width: min(calc(100% - 40px), var(--max)); display: grid; grid-template-columns: 1fr 440px; gap: clamp(60px, 10vw, 150px); margin: 0 auto; padding: 120px 0; align-items: start; }
.pilot-copy h2 { margin-bottom: 24px; font-family: var(--font-sans); font-size: clamp(38px, 4.6vw, 58px); font-weight: 650; line-height: 1.04; letter-spacing: -.045em; }
.pilot-copy > p:last-child { max-width: 640px; color: var(--muted); font-size: 18px; }
.price-card { padding: 32px; border: 1px solid var(--line-strong); background: var(--white); }
.price { display: flex; align-items: flex-start; margin-bottom: 22px; font-family: var(--font-sans); font-size: 68px; font-weight: 700; line-height: .9; letter-spacing: -.055em; }
.price > span { margin: 6px 3px 0 0; font-size: 25px; }
.price small { align-self: flex-end; margin: 0 0 6px 10px; color: var(--muted); font-family: var(--font-sans); font-size: 10px; font-weight: 500; letter-spacing: 0; }
.price-card ul { margin: 0 0 26px; padding: 0; list-style: none; }
.price-card li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; }
.price-card li::before { content: "✓"; margin-right: 9px; color: var(--moss); font-weight: 800; }
.price-card .button { width: 100%; }
.price-card > p { margin: 15px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }

.site-footer { width: min(calc(100% - 40px), var(--max)); display: grid; grid-template-columns: 1fr auto; gap: 24px; margin: 0 auto; padding: 34px 0 45px; border-top: 1px solid var(--line-strong); }
.site-footer strong, .site-footer span { display: block; }
.site-footer span, .site-footer p { color: var(--muted); font-size: 11px; }
.site-footer div:nth-child(2) { display: flex; gap: 20px; font-size: 12px; }
.site-footer p { grid-column: 1 / -1; margin: 0; }

.pack-dialog { width: min(calc(100% - 32px), 760px); max-height: 88vh; padding: 34px; border: 0; background: var(--white); color: var(--ink); box-shadow: 0 28px 90px rgba(0,0,0,.32); }
.pack-dialog::backdrop { background: rgba(20,22,20,.68); backdrop-filter: blur(4px); }
.dialog-top { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.dialog-top h2 { margin: 5px 0 2px; font-family: var(--font-sans); font-size: 33px; font-weight: 650; letter-spacing: -.035em; }
.dialog-top p { margin: 0; color: var(--muted); font-size: 12px; }
.icon-button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 27px; line-height: 1; cursor: pointer; transition: transform 140ms var(--ease-out), background-color 160ms ease; }
.dialog-summary { display: grid; grid-template-columns: repeat(3, 1fr); margin: 24px 0 30px; border: 1px solid var(--line); }
.dialog-summary div { padding: 16px; }
.dialog-summary div:not(:last-child) { border-right: 1px solid var(--line); }
.dialog-summary strong, .dialog-summary span { display: block; }
.dialog-summary strong { font-size: 27px; }
.dialog-summary span { color: var(--muted); font-size: 10px; }
.pack-dialog section { margin-top: 26px; }
.pack-dialog section h3 { padding-bottom: 10px; border-bottom: 1px solid var(--line-strong); font-size: 14px; }
.dialog-exception, .dialog-record { display: grid; grid-template-columns: 135px 1fr; gap: 5px 15px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.dialog-exception span, .dialog-record span { grid-row: 1 / 3; color: var(--brick); font-size: 9px; font-weight: 850; letter-spacing: .06em; }
.dialog-exception strong, .dialog-record strong { font-size: 13px; }
.dialog-exception p, .dialog-record p { margin: 0; color: var(--muted); font-size: 11px; }
.dialog-boundary { margin: 28px 0 0; padding: 14px; background: #f0ece5; color: var(--muted); font-size: 10px; }

@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--brick-dark); border-color: var(--brick-dark); }
  .button-quiet:hover { background: var(--paper-2); border-color: var(--line-strong); color: var(--ink); }
  .site-header nav > a:not(.button):hover, .text-link:hover, .site-footer a:hover { color: var(--brick); }
  .choice:hover, .selection-row:hover, .photo-capture:hover, .icon-button:hover { background-color: #efeae1; }
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 70px; }
  .hero-copy { max-width: 790px; }
  .hero-visual { min-height: 560px; }
  .problem-band, .boundary-section { grid-template-columns: 1fr; gap: 44px; }
  .section-intro { grid-template-columns: 1fr; gap: 12px; }
  .section-intro .eyebrow { margin-bottom: 4px; }
  #panel-foreman { grid-template-columns: minmax(310px, 440px) 1fr; gap: 50px; }
  .office-grid { grid-template-columns: 1fr; }
  .outcome-list { grid-template-columns: 1fr 1fr; }
  .outcome-list article:nth-child(2) { border-right: 0; margin-right: 0; }
  .pilot-section { grid-template-columns: 1fr; }
  .price-card { max-width: 520px; }
}

@media (max-width: 720px) {
  .demo-ribbon { padding-inline: 12px; font-size: 10px; }
  .site-header { min-height: 68px; }
  .site-header nav > a:not(.button) { display: none; }
  .brand { font-size: 14px; }
  .hero { gap: 35px; padding: 58px 0 70px; }
  h1 { font-size: clamp(43px, 13vw, 64px); }
  .hero-visual { min-height: 450px; }
  .pack-sheet { padding: 20px; }
  .pack-sheet-back { inset: 46px 5% 4px 3%; }
  .problem-band, .boundary-section { padding-top: 70px; padding-bottom: 70px; }
  .section { padding: 80px 0; }
  .section-intro { margin-bottom: 45px; }
  .steps li { grid-template-columns: 40px 1fr; }
  .demo-section { padding-top: 78px; padding-bottom: 78px; }
  .demo-heading { align-items: start; flex-direction: column; }
  .demo-heading > p { text-align: left; }
  .demo-tabs { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .demo-tabs button { padding-inline: 8px; font-size: 12px; }
  .demo-stage { min-height: 0; margin-inline: -20px; padding: 30px 20px; border-inline: 0; }
  #panel-foreman { grid-template-columns: 1fr; }
  .phone-frame { max-width: 440px; margin-inline: auto; }
  .demo-explainer { max-width: 440px; margin-inline: auto; }
  .office-shell { padding: 16px; }
  .office-head { align-items: flex-start; flex-direction: column; }
  .office-tools { align-items: stretch; flex-direction: column; }
  .office-tools input { width: 100%; }
  .record-row { grid-template-columns: 48px 1fr; }
  .record-row .photo-count { grid-column: 2; }
  .outcome-list { grid-template-columns: 1fr; }
  .outcome-list article:not(:last-child) { margin-right: 0; border-right: 0; }
  .outcome-list article { min-height: 190px; }
  .pilot-section { padding: 85px 0; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer div:nth-child(2) { flex-wrap: wrap; }
  .site-footer p { grid-column: 1; }
}

@media (max-width: 420px) {
  .site-header, .hero, .section, .pilot-section, .site-footer { width: min(calc(100% - 28px), var(--max)); }
  .site-header nav .button { min-height: 38px; padding-inline: 12px; font-size: 12px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .text-link { padding: 8px 0; }
  .proof-points { align-items: flex-start; flex-direction: column; gap: 6px; }
  .proof-points li::after { display: none; }
  .hero-visual { min-height: 410px; }
  .pack-row { grid-template-columns: 39px 1fr auto; }
  .pack-sheet { padding: 15px; }
  .pack-head { flex-direction: column; }
  .pack-status { align-self: flex-start; }
  .pack-summary div { padding: 10px 7px; }
  .phone-frame { border-width: 6px; border-radius: 28px; }
  .phone-body { padding: 18px; }
  .selection-row { grid-template-columns: 67px 1fr 20px; }
  .photo-capture { grid-template-columns: 40px 1fr; }
  .photo-capture i { grid-column: 2; }
  .exception-list { grid-template-columns: 1fr; }
  .exception-list .choice:first-child { grid-column: auto; }
  .capture-actions .button { min-width: 0; flex: 1; }
  .office-head .button { width: 100%; }
  .card-heading { padding-inline: 12px; }
  .price-card { padding: 24px 20px; }
  .pack-dialog { padding: 22px 17px; }
  .dialog-top h2 { font-size: 30px; }
  .dialog-exception, .dialog-record { grid-template-columns: 1fr; }
  .dialog-exception span, .dialog-record span { grid-row: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .skip-link, .button, .choice, .selection-row, .photo-capture, .icon-button, .progress-track span { transition-duration: .01ms !important; }
  .demo-panel { animation: none; }
}
