/* Home Inspection Software — bespoke template ported from handoff-10. */

/* ============ HERO ============ */
.hi-hero { padding: 88px 0 88px; background: var(--gradient-deep); color: #fff; position: relative; overflow: hidden; }
.hi-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 78% 28%, rgba(97,206,112,0.10), transparent 55%);
  pointer-events: none;
}
.hi-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.hi-hero h1 { font-family: var(--font-display); font-weight: 600; font-size: 60px; letter-spacing: -0.025em; line-height: 1.04; color: #fff; margin: 18px 0 22px; }
.hi-hero h1 em { font-style: normal; color: var(--green-100); }
.hi-hero p.sub { color: rgba(255,255,255,0.78); font-size: 19px; line-height: 1.55; margin-bottom: 14px; max-width: 540px; }
.hi-hero p.support { color: rgba(255,255,255,0.55); font-size: 15px; line-height: 1.55; max-width: 520px; margin-bottom: 30px; display: flex; align-items: center; gap: 10px; }
.hi-hero p.support::before { content: ""; display: block; width: 18px; height: 1px; background: rgba(255,255,255,0.35); flex-shrink: 0; }

/* Hero stage: residential outline + tablet + report cover */
.hi-stage { position: relative; min-height: 580px; }
.hi-house-outline {
  position: absolute; right: -40px; top: 8%; width: 380px; height: 280px; opacity: 0.12;
  pointer-events: none;
}
.hi-house-outline svg { width: 100%; height: 100%; stroke: var(--green-100); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.hi-tablet {
  position: absolute; left: 0; top: 4%; width: 460px;
  background: #1B2026; border-radius: 22px; padding: 14px;
  box-shadow: 0 50px 120px -30px rgba(0,0,0,0.65), inset 0 0 0 1px rgba(255,255,255,0.05);
  z-index: 2;
}
.ht-screen { background: #FAFBFC; border-radius: 14px; overflow: hidden; }
.ht-h { padding: 18px 22px 14px; border-bottom: 1px solid var(--color-border); display: flex; justify-content: space-between; align-items: center; }
.ht-h .l .bc { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.10em; color: var(--color-text-subtle); text-transform: uppercase; }
.ht-h .l .ti { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--anthracite-100); margin-top: 4px; letter-spacing: -0.01em; }
.ht-h .pr { padding: 6px 12px; border-radius: 999px; background: var(--green-20); color: #1E7A2B; font-family: var(--font-mono); font-size: 11px; font-weight: 700; }

.ht-rooms { padding: 12px 22px; display: flex; gap: 8px; overflow: hidden; border-bottom: 1px solid var(--color-border); }
.ht-room { padding: 7px 12px; border-radius: 8px; font-size: 11px; font-weight: 600; background: var(--off-white-100); color: var(--color-text-muted); white-space: nowrap; }
.ht-room.active { background: var(--anthracite-100); color: #fff; }
.ht-room .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green-100); margin-left: 6px; }

.ht-finding { padding: 14px 22px; border-bottom: 1px solid var(--color-border); }
.ht-finding .row { display: flex; justify-content: space-between; align-items: flex-start; }
.ht-finding .nm { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--anthracite-100); }
.ht-finding .qid { font-family: var(--font-mono); font-size: 10px; color: var(--color-text-subtle); }
.ht-finding .ds { font-size: 12px; color: var(--color-text-muted); margin-top: 4px; line-height: 1.5; }
.ht-finding .meta { display: flex; gap: 8px; margin-top: 10px; }
.ht-finding .meta .pin { padding: 3px 8px; border-radius: 999px; font-family: var(--font-mono); font-size: 9px; font-weight: 700; letter-spacing: 0.04em; }
.ht-finding .meta .pin.sev { background: var(--color-warning-soft); color: #8A6518; }
.ht-finding .meta .pin.rec { background: var(--off-white-100); color: var(--anthracite-100); }
.ht-finding .photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.ht-finding .photos div { aspect-ratio: 4/3; border-radius: 6px; background-color: #2a2a2a; background-size: cover; background-position: center; }
.ht-finding .photos div:nth-child(1) { background-image: url('../assets/inspection-photos/hvac-furnace.webp'); position: relative; }
.ht-finding .photos div:nth-child(2) { background-image: url('../assets/inspection-photos/water-heater.webp'); }
.ht-finding .photos div:nth-child(3) { background-image: url('../assets/inspection-photos/electrical-panel.webp'); }
.ht-finding .photos div:nth-child(4) { background: var(--off-white-60); border: 1px dashed var(--color-border-strong); display: flex; align-items: center; justify-content: center; color: var(--color-text-subtle); font-size: 18px; font-weight: 300; }

.ht-foot { padding: 12px 22px; background: #fff; display: flex; align-items: center; gap: 12px; }
.ht-foot .bar { flex: 1; height: 5px; background: var(--off-white-100); border-radius: 3px; overflow: hidden; }
.ht-foot .bar .fl { width: 68%; height: 100%; background: var(--green-100); }
.ht-foot .pct { font-family: var(--font-mono); font-size: 12px; color: var(--anthracite-100); font-weight: 700; }

/* Report cover behind tablet */
.hi-report {
  position: absolute; right: 0; top: -2%; width: 60%;
  background: #fff; border-radius: 12px; padding: 26px 26px 22px;
  box-shadow: 0 50px 100px -20px rgba(0,0,0,0.55);
  transform: rotate(2.5deg);
}
.hi-report .cover {
  aspect-ratio: 5/3.5; border-radius: 8px;
  background: linear-gradient(135deg, #B8C4CC 0%, #9CADB7 50%, #7E929D 100%);
  position: relative; overflow: hidden; margin-bottom: 16px;
}
.hi-report .cover::before {
  content: ""; position: absolute; left: 18%; bottom: 0; width: 64%; height: 60%;
  background: rgba(255,255,255,0.18);
  clip-path: polygon(0 100%, 0 50%, 25% 20%, 50% 0, 75% 20%, 100% 50%, 100% 100%);
}
.hi-report .cover::after {
  content: ""; position: absolute; left: 30%; bottom: 0; width: 14%; height: 25%;
  background: rgba(0,0,0,0.18);
}
.hi-report .cover .roof { position: absolute; left: 50%; bottom: 38%; transform: translateX(-50%); width: 8px; height: 22px; background: rgba(0,0,0,0.18); }
.hi-report .kicker-mini { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-text); font-weight: 700; }
.hi-report h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--anthracite-100); letter-spacing: -0.015em; margin: 6px 0 4px; line-height: 1.15; }
.hi-report p.addr { font-family: var(--font-mono); font-size: 11px; color: var(--color-text-subtle); letter-spacing: 0.04em; }
.hi-report .rstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--color-border); }
.hi-report .rstat { padding: 8px; background: var(--off-white-60); border: 1px solid var(--color-border); border-radius: 6px; }
.hi-report .rstat .l { font-family: var(--font-mono); font-size: 8px; color: var(--color-text-subtle); letter-spacing: 0.08em; text-transform: uppercase; }
.hi-report .rstat .v { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1; color: var(--anthracite-100); margin-top: 4px; }
.hi-report .rstat .v sub { font-family: var(--font-body); font-weight: 400; font-size: 10px; color: var(--color-text-subtle); }

.hi-floating-tag {
  position: absolute; left: 32%; bottom: 4%; z-index: 3;
  background: #fff; border-radius: 12px; padding: 12px 14px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.32);
  display: flex; align-items: center; gap: 10px;
}
.hi-floating-tag .ic { width: 30px; height: 30px; border-radius: 8px; background: var(--green-20); color: #1E7A2B; display: flex; align-items: center; justify-content: center; }
.hi-floating-tag .ic svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hi-floating-tag .lab { font-family: var(--font-mono); font-size: 9px; color: var(--color-text-subtle); letter-spacing: 0.10em; text-transform: uppercase; }
.hi-floating-tag .val { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--anthracite-100); margin-top: 1px; }

/* Section base */
.hi-section { padding: 96px 0; }
.hi-section h2 { font-family: var(--font-display); font-weight: 600; font-size: 40px; letter-spacing: -0.02em; line-height: 1.1; margin: 16px 0; max-width: 780px; }
.hi-section .lead { font-size: 19px; color: var(--color-text-muted); line-height: 1.55; max-width: 720px; margin-bottom: 48px; }
.hi-section.alt { background: var(--off-white-60); }
.hi-section.dark { background: var(--anthracite-100); color: #fff; }
.hi-section.dark h2 { color: #fff; }
.hi-section.dark .lead { color: rgba(255,255,255,0.72); }

/* Problem cards */
.hi-section .pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hi-section .pain-card { padding: 32px; background: #fff; border: 1px solid var(--color-border); border-radius: 16px; }
.hi-section .pain-card .num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--color-text-subtle); text-transform: uppercase; }
.hi-section .pain-card .ic { width: 44px; height: 44px; border-radius: 10px; background: rgba(217, 90, 80, 0.10); color: #C04032; display: flex; align-items: center; justify-content: center; margin: 16px 0 18px; }
.hi-section .pain-card .ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.hi-section .pain-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin-bottom: 8px; letter-spacing: -0.01em; }
.hi-section .pain-card p { font-size: 15px; color: var(--color-text-muted); line-height: 1.55; }

/* Solution */
.hi-section .sol-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 64px; align-items: center; }
.hi-section .feat-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.hi-section .feat-list li { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-top: 1px solid var(--color-border); }
.hi-section .feat-list li:last-child { border-bottom: 1px solid var(--color-border); }
.hi-section .feat-list .check { flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; background: var(--green-20); color: #1E7A2B; display: flex; align-items: center; justify-content: center; }
.hi-section .feat-list .check svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.hi-section .feat-list .ft { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--color-text); letter-spacing: -0.005em; }
.hi-section .feat-list .fd { font-size: 14px; color: var(--color-text-muted); margin-top: 2px; line-height: 1.5; }

/* Workflow board (solution visual) */
.wf-board { background: #fff; border-radius: 16px; border: 1px solid var(--color-border); box-shadow: var(--shadow-md); padding: 28px; }
.wf-h { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--color-border); margin-bottom: 16px; }
.wf-h .t { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.wf-h .pl { padding: 4px 10px; background: var(--green-20); color: #1E7A2B; border-radius: 999px; font-size: 11px; font-weight: 600; }
.wf-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; align-items: stretch; }
.wf-step { padding: 16px 14px; border-radius: 10px; background: var(--off-white-60); border: 1px solid var(--color-border); position: relative; }
.wf-step .n { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; color: var(--color-text-subtle); text-transform: uppercase; }
.wf-step .nm { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--anthracite-100); margin-top: 6px; line-height: 1.3; }
.wf-step .v { font-family: var(--font-mono); font-size: 16px; font-weight: 700; color: var(--green-100); margin-top: 8px; line-height: 1; }
.wf-step .v sub { font-family: var(--font-body); font-size: 9px; color: var(--color-text-subtle); font-weight: 400; letter-spacing: 0.04em; }
.wf-step.active { background: var(--anthracite-100); border-color: var(--anthracite-100); }
.wf-step.active .n { color: var(--green-100); }
.wf-step.active .nm { color: #fff; }
.wf-step.active .v { color: #fff; }
.wf-step.active .v sub { color: rgba(255,255,255,0.55); }

.wf-rep { margin-top: 18px; padding: 18px; background: linear-gradient(135deg, var(--green-20), #DCEFE0); border: 1px solid #C7E5CD; border-radius: 12px; display: flex; align-items: center; gap: 16px; }
.wf-rep .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--green-100); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wf-rep .ic svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wf-rep .l { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: #1E7A2B; font-weight: 700; }
.wf-rep .nm { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--anthracite-100); margin-top: 2px; }
.wf-rep .meta { font-family: var(--font-mono); font-size: 11px; color: #1E7A2B; margin-left: auto; font-weight: 600; }

/* Steps (dark) */
.hi-section .steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hi-section .step-card { padding: 28px 24px 30px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); border-radius: 14px; }
.hi-section .step-card .n { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.hi-section .step-card .ic { width: 38px; height: 38px; border-radius: 8px; background: rgba(97,206,112,0.14); display: flex; align-items: center; justify-content: center; margin: 18px 0 16px; }
.hi-section .step-card .ic svg { width: 20px; height: 20px; stroke: var(--green-100); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.hi-section .step-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: #fff; letter-spacing: -0.01em; margin-bottom: 8px; }
.hi-section .step-card p { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.55; }

/* Workflow types */
.hi-section .types-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hi-section .type-card { padding: 24px 22px; background: #fff; border: 1px solid var(--color-border); border-radius: 14px; transition: all 180ms var(--ease-standard); }
.hi-section .type-card:hover { transform: translateY(-2px); border-color: var(--anthracite-40); box-shadow: var(--shadow-md); }
.hi-section .type-card .lvl { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-text); font-weight: 700; }
.hi-section .type-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin: 12px 0 10px; letter-spacing: -0.01em; }
.hi-section .type-card p { font-size: 13px; color: var(--color-text-muted); line-height: 1.55; }
.hi-section .type-card .ic { width: 32px; height: 32px; border-radius: 8px; background: var(--off-white-100); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.hi-section .type-card .ic svg { width: 16px; height: 16px; stroke: var(--anthracite-100); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Reporting block — anatomy of a report */
.hi-section .rep-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hi-section .rep-bullets { list-style: none; padding: 0; margin: 32px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hi-section .rep-bullets li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--color-text); font-weight: 500; }
.hi-section .rep-bullets .ic { width: 22px; height: 22px; border-radius: 50%; background: var(--green-20); color: #1E7A2B; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hi-section .rep-bullets .ic svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.anatomy { position: relative; }
.anatomy-doc { background: #fff; border-radius: 14px; border: 1px solid var(--color-border); box-shadow: 0 30px 60px -10px rgba(54,62,72,0.20); overflow: hidden; }
.ad-cover { padding: 22px 26px; background: linear-gradient(135deg, var(--anthracite-100), #2A323D); color: #fff; display: flex; justify-content: space-between; align-items: flex-end; min-height: 110px; position: relative; overflow: hidden; }
.ad-cover::before { content: ""; position: absolute; right: -40px; bottom: -20px; width: 200px; height: 130px; background: linear-gradient(135deg, rgba(97,206,112,0.18), transparent 70%); }
.ad-cover .lo { display: flex; align-items: center; gap: 10px; }
.ad-cover .lo .sq { width: 22px; height: 22px; border-radius: 5px; background: var(--green-100); }
.ad-cover .lo .nm { font-family: var(--font-display); font-weight: 700; font-size: 13px; }
.ad-cover .ti { position: relative; z-index: 1; }
.ad-cover .ti .k { font-family: var(--font-mono); font-size: 10px; color: var(--green-100); letter-spacing: 0.14em; }
.ad-cover .ti h5 { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin-top: 4px; letter-spacing: -0.01em; }
.ad-cover .meta { font-family: var(--font-mono); font-size: 10px; color: rgba(255,255,255,0.6); }

.ad-section { padding: 16px 26px; border-bottom: 1px dashed var(--color-border); position: relative; }
.ad-section .lab { position: absolute; left: -160px; top: 22px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-100); font-weight: 700; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.ad-section .lab i { display: block; width: 24px; height: 1px; background: var(--green-100); }
.ad-section .lab.r { left: auto; right: -180px; flex-direction: row-reverse; }
.ad-section .lab.r i { background: var(--green-100); }
.ad-section .h { display: flex; justify-content: space-between; align-items: center; }
.ad-section .h .ti { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--anthracite-100); }
.ad-section .h .pin { padding: 3px 8px; border-radius: 999px; font-family: var(--font-mono); font-size: 9px; font-weight: 700; }
.ad-section .h .pin.g { background: var(--color-success-soft); color: #2C7C3E; }
.ad-section .h .pin.f { background: var(--color-warning-soft); color: #8A6518; }
.ad-section .ln { height: 4px; background: var(--off-white-100); border-radius: 2px; margin: 6px 0; }
.ad-section .ln.s { width: 70%; }
.ad-section .ln.m { width: 90%; }
.ad-section .imgs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 8px; }
/* Reporting section — "Roof & attic — section R · 2 defects" mock doc.
 * The 4 thumbs visually back up the AI-summary text further down the page
 * ("granule loss across the south slope … two shingles near the ridge have
 * lifted"): shingles + granule loss, lifted ridge shingles, attic interior,
 * eave/soffit/gutter detail. */
.ad-section .imgs div {
  aspect-ratio: 4/3; border-radius: 4px;
  background-color: #2a2a2a;
  background-size: cover;
  background-position: center;
}
.ad-section .imgs div:nth-child(1) { background-image: url('../assets/inspection-photos/us-roof-asphalt-shingles.webp'); }
.ad-section .imgs div:nth-child(2) { background-image: url('../assets/inspection-photos/us-roof-ridge-lifted.webp'); }
.ad-section .imgs div:nth-child(3) { background-image: url('../assets/inspection-photos/us-attic-rafters.webp'); }
.ad-section .imgs div:nth-child(4) { background-image: url('../assets/inspection-photos/us-roof-eave-soffit.webp'); }

.ad-foot { padding: 14px 26px; background: var(--off-white-60); display: flex; justify-content: space-between; align-items: center; }
.ad-foot .sig { font-family: 'Brush Script MT', cursive; font-size: 18px; color: var(--anthracite-100); }
.ad-foot .stamp { font-family: var(--font-mono); font-size: 10px; color: var(--color-text-subtle); letter-spacing: 0.06em; }

.anatomy-cta { margin-top: 32px; }
.anatomy-cta a { font-size: 15px; font-weight: 600; color: var(--anthracite-100); display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.anatomy-cta a svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform 150ms; }
.anatomy-cta a:hover svg { transform: translateX(4px); }

/* Consistency */
.hi-section .cons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hi-section .cons-bullets { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 14px; }
.hi-section .cons-bullets li { display: flex; align-items: flex-start; gap: 14px; font-size: 17px; color: var(--color-text); line-height: 1.5; }
.hi-section .cons-bullets .arr { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--green-100); color: #fff; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.hi-section .cons-bullets .arr svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Inspector consistency board */
.insp-board { background: #fff; border: 1px solid var(--color-border); border-radius: 18px; padding: 28px; box-shadow: var(--shadow-md); }
.ib-h { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--color-border); margin-bottom: 12px; }
.ib-h .t { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.ib-h .pl { padding: 4px 10px; background: var(--green-20); color: #1E7A2B; border-radius: 999px; font-size: 11px; font-weight: 600; }
.ib-row { display: grid; grid-template-columns: 1.3fr 1.5fr 0.6fr 0.6fr; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--color-border); }
.ib-row:last-child { border-bottom: none; }
.ib-name { display: flex; align-items: center; gap: 10px; }
.ib-av { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; font-family: var(--font-display); font-weight: 600; font-size: 12px; display: flex; align-items: center; justify-content: center; color: #fff; }
.ib-av.a1 { background: #5577B0; }
.ib-av.a2 { background: #6BA776; }
.ib-av.a3 { background: #B07A55; }
.ib-av.a4 { background: #8A6FA8; }
.ib-name .nm { font-size: 14px; font-weight: 600; }
.ib-name .role { font-size: 11px; color: var(--color-text-subtle); font-family: var(--font-mono); }
.ib-segs { display: flex; gap: 3px; height: 8px; border-radius: 4px; overflow: hidden; background: var(--off-white-100); }
.ib-segs .ok { background: var(--green-100); }
.ib-segs .ph { background: #6BA776; }
.ib-segs .ts { background: #5577B0; }
.ib-num { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--anthracite-100); text-align: right; }
.ib-time { font-family: var(--font-mono); font-size: 11px; color: var(--color-text-subtle); text-align: right; }

/* Efficiency numbers */
.hi-section .eff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.eff-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ef-card { padding: 26px; background: #fff; border: 1px solid var(--color-border); border-radius: 16px; }
.ef-card .v { font-family: var(--font-display); font-weight: 700; font-size: 38px; letter-spacing: -0.02em; color: var(--anthracite-100); line-height: 1; }
.ef-card .v .pl { color: var(--green-100); }
.ef-card .l { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-subtle); margin-top: 12px; }
.ef-card .d { font-size: 14px; color: var(--color-text-muted); margin-top: 6px; line-height: 1.5; }

/* AI callout */
.ai-callout { padding: 64px 0; background: linear-gradient(135deg, #1A2733 0%, var(--anthracite-100) 60%, #2A323D 100%); color: #fff; position: relative; overflow: hidden; }
.ai-callout::before { content: ""; position: absolute; right: -10%; top: -30%; width: 700px; height: 700px; background: radial-gradient(circle, rgba(97,206,112,0.15), transparent 60%); pointer-events: none; }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.ai-callout h2 { font-family: var(--font-display); font-weight: 600; font-size: 36px; letter-spacing: -0.02em; line-height: 1.15; margin: 16px 0 18px; color: #fff; max-width: 480px; }
.ai-callout p { color: rgba(255,255,255,0.78); font-size: 17px; line-height: 1.6; max-width: 500px; margin-bottom: 24px; }
.ai-callout .lk { font-size: 15px; font-weight: 600; color: var(--green-100); display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.ai-callout .lk svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform 150ms; }
.ai-callout .lk:hover svg { transform: translateX(4px); }

.ai-mock { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); border-radius: 16px; padding: 24px; backdrop-filter: blur(8px); }
.ai-mock-h { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.10); }
.ai-mock-h .ic { width: 28px; height: 28px; border-radius: 7px; background: linear-gradient(135deg, var(--green-100), #4FB85F); display: flex; align-items: center; justify-content: center; }
.ai-mock-h .ic svg { width: 14px; height: 14px; stroke: var(--anthracite-100); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ai-mock-h .nm { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: #fff; }
.ai-mock-h .pl { margin-left: auto; padding: 4px 10px; background: rgba(97,206,112,0.18); color: var(--green-100); border-radius: 999px; font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.04em; }
.ai-prompt { padding: 14px 0 12px; font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.55); letter-spacing: 0.04em; }
.ai-prompt span { color: var(--green-100); }
.ai-out { padding: 16px; background: rgba(255,255,255,0.04); border-radius: 10px; border-left: 3px solid var(--green-100); }
.ai-out p { color: rgba(255,255,255,0.92); font-size: 14px; line-height: 1.6; margin: 0 0 10px; max-width: none; }
.ai-out p:last-child { margin-bottom: 0; }
.ai-out p strong { color: #fff; font-weight: 600; }
.ai-out p em { font-style: normal; background: rgba(97,206,112,0.18); padding: 1px 5px; border-radius: 3px; color: var(--green-100); }
.ai-foot { display: flex; gap: 10px; margin-top: 14px; }
.ai-foot .b { padding: 7px 12px; border-radius: 8px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; }
.ai-foot .b.p { background: var(--green-100); color: var(--anthracite-100); }
.ai-foot .b.s { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.78); border: 1px solid rgba(255,255,255,0.15); }

/* Why us */
.hi-section .why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hi-section .why-card { padding: 30px 26px 32px; background: var(--off-white-60); border: 1px solid var(--color-border); border-radius: 16px; transition: all 180ms var(--ease-standard); }
.hi-section .why-card:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--anthracite-40); }
.hi-section .why-card .num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-text); font-weight: 700; }
.hi-section .why-card .ic { width: 44px; height: 44px; border-radius: 11px; background: var(--anthracite-100); color: var(--green-100); display: flex; align-items: center; justify-content: center; margin: 18px 0 18px; }
.hi-section .why-card .ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.hi-section .why-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 19px; margin-bottom: 8px; letter-spacing: -0.01em; }
.hi-section .why-card p { font-size: 14px; color: var(--color-text-muted); line-height: 1.55; }

/* Related */
.hi-section .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hi-section .related-card { padding: 28px; background: #fff; border: 1px solid var(--color-border); border-radius: 16px; display: flex; flex-direction: column; gap: 14px; transition: all 180ms var(--ease-standard); text-decoration: none; }
.hi-section .related-card:hover { border-color: var(--anthracite-40); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.hi-section .related-card .tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-subtle); }
.hi-section .related-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; color: var(--anthracite-100); }
.hi-section .related-card p { font-size: 15px; color: var(--color-text-muted); line-height: 1.55; flex: 1; }
.hi-section .related-card .go { font-size: 14px; font-weight: 600; color: var(--anthracite-100); display: inline-flex; align-items: center; gap: 6px; }
.hi-section .related-card .go svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform 150ms; }
.hi-section .related-card:hover .go svg { transform: translateX(3px); }

/* Final CTA */
.hi-final-cta { background: var(--gradient-primary); color: #fff; padding: 110px 0; text-align: center; position: relative; overflow: hidden; }
.hi-final-cta::before {
  content: ""; position: absolute; left: 50%; top: -20%; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(97,206,112,0.18), transparent 60%);
  transform: translateX(-50%); pointer-events: none;
}
.hi-final-cta .inner { position: relative; z-index: 1; }
.hi-final-cta h2 { font-family: var(--font-display); font-weight: 600; font-size: 48px; letter-spacing: -0.02em; color: #fff; max-width: 900px; margin: 16px auto; }
.hi-final-cta p.sup { color: rgba(255,255,255,0.78); font-size: 18px; margin-top: 8px; max-width: 640px; margin-left: auto; margin-right: auto; line-height: 1.55; }
.hi-final-cta .btns { display: flex; gap: 12px; justify-content: center; margin-top: 32px; }

@media (max-width: 1100px) {
  .hi-section .types-grid, .hi-section .why-grid { grid-template-columns: repeat(2, 1fr); }
  .ad-section .lab { display: none; }
}
@media (max-width: 980px) {
  .hi-hero-grid, .hi-section .sol-grid, .hi-section .rep-grid, .hi-section .cons-grid, .hi-section .eff-grid, .ai-grid { grid-template-columns: 1fr; gap: 40px; }
  .hi-section .pain-grid, .hi-section .steps-grid, .hi-section .related-grid { grid-template-columns: 1fr 1fr; }
  .hi-stage { min-height: 0; }
  .hi-tablet, .hi-report, .hi-floating-tag { position: relative; left: auto; right: auto; top: auto; bottom: auto; transform: none; width: 100%; max-width: 520px; margin: 0 auto 18px; }
  .hi-house-outline { display: none; }
  .hi-hero h1 { font-size: 44px; }
  .hi-section h2 { font-size: 32px; }
  .wf-flow { grid-template-columns: 1fr 1fr; }
  .hi-section .rep-bullets { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hi-section .pain-grid, .hi-section .steps-grid, .hi-section .types-grid, .hi-section .why-grid, .hi-section .related-grid, .eff-numbers, .wf-flow { grid-template-columns: 1fr; }
  .hi-section, .hi-section.alt, .hi-section.dark, .ai-callout { padding: 64px 0; }
  .hi-hero { padding: 64px 0 56px; }
  .hi-final-cta { padding: 80px 0; }
  .hi-final-cta h2 { font-size: 32px; }
  .hi-final-cta .btns { flex-wrap: nowrap; gap: 10px; }
  .hi-final-cta .btns .btn { flex: 1 1 0; min-width: 0; padding-left: 14px; padding-right: 14px; white-space: nowrap; }
}
