/* Homepage only. Application and legacy demo styles remain separate.
   HERO IMAGE: replace this local URL when the owner chooses a photograph.
   Keep detail subdued behind the headline and example; adjust the crop below. */
:root {
  --hero-image: url("hero-landscape.svg");
  --hero-position: center 55%;
  --ink: #202d26;
  --reading-size: 14pt;
  --muted: #586255;
  --paper: #f7f7ef;
  --forest: #17231e;
  --lime: #dbf981;
  --line: #d4d9cb;
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; }
h1, h2, h3, h4, h5, p { margin: 0; }
h1, h2, h3, h4, h5 { font-weight: 600; }
p { font-size: var(--reading-size); line-height: 1.7; color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex="0"]:focus-visible { outline: 3px solid #708033; outline-offset: 5px; }
svg { display: block; }
::selection { background: var(--lime); color: var(--forest); }
.container { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: -80px; left: 20px; background: var(--lime); color: var(--forest); padding: 14px 20px; }
.skip-link:focus { top: 12px; }
.site-header { background: var(--paper); }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 88px; gap: 28px; }
.brand { display: inline-flex; align-items: center; font-weight: 750; font-size: 29px; letter-spacing: -1.5px; white-space: nowrap; }
.brand span { font-weight: 400; }
.brand b { color: #687d36; }
.brand-mark { width: 28px; height: 32px; margin-right: 11px; }
.main-nav { display: flex; gap: 31px; font-size: 14px; }
.main-nav a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.sign-in { display: inline-flex; align-items: center; gap: 26px; border: 1px solid #87917d; border-radius: 3px; padding: 11px 17px; font-size: 14px; font-weight: 600; }
.sign-in:hover { background: #e9ecde; }
.hero { position: relative; isolation: isolate; color: var(--paper); background: var(--forest); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: var(--hero-image); background-size: cover; background-position: var(--hero-position); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0d1a14ed, #0d1a14cc 48%, #0d1a143b), linear-gradient(0deg, #0d1a1477, transparent 30%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 80px; padding-block: 68px; }
.hero-copy { min-width: 0; }
h1 { font-size: clamp(56px, 6vw, 86px); line-height: 1.025; letter-spacing: -.065em; font-weight: 550; }
h1 em { color: var(--lime); }
em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.045em; }
.hero-description { line-height: 1.65; color: #fff; max-width: 540px; margin-top: 26px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 25px; margin-top: 30px; }
.button { display: inline-flex; min-height: 55px; justify-content: space-between; align-items: center; gap: 30px; border: 1px solid transparent; border-radius: 3px; padding: 16px 21px; font-size: 14px; font-weight: 650; line-height: 1.3; transition: background .15s, transform .15s; }
.button > span { font-size: 22px; font-weight: 400; line-height: 1; }
.button:hover { transform: translateY(-2px); }
.button-lime { background: var(--lime); color: #18241c; }
.button-lime:hover { background: #e9ffaf; }
.button-dark { background: var(--forest); color: var(--paper); }
.button-dark:hover { background: #354a3b; }
.button:disabled { background: #d8dece; color: #4d5849; border-color: #a5ae98; cursor: not-allowed; transform: none; }
.button-outline { border-color: #77856e; background: transparent; color: var(--ink); }
.button-outline:hover { background: #e8ecdf; }
.hero-demo { display: inline-flex; min-height: 43px; align-items: center; gap: 13px; font-size: 13px; border-bottom: 1px solid #8d9985; }
.hero-demo:hover { color: var(--lime); }
.pilot-note { margin-top: 23px; color: #fff; max-width: 500px; }
.pilot-note a { text-decoration: underline; text-underline-offset: 3px; }
.hero a:focus-visible { outline-color: var(--lime); }
.case-preview { background: #fffef9; color: var(--ink); padding: 32px; border: 1px solid #dce1d1; border-radius: 3px; box-shadow: 0 18px 60px #07140d30; }
.demo-disclosure { color: var(--ink); }
.case-preview h2 { font-size: 33px; line-height: 1.12; letter-spacing: -1.25px; margin-top: 22px; }
.preview-metrics { display: grid; grid-template-columns: 1fr 1fr; margin: 28px 0 23px; padding-block: 21px; border-block: 1px solid var(--line); }
.preview-metrics > div + div { border-left: 1px solid var(--line); padding-left: 24px; }
.preview-metrics dt { color: var(--muted); font-size: 12px; margin-bottom: 9px; }
.preview-metrics dd { margin: 0; font-size: 40px; font-weight: 550; line-height: 1; letter-spacing: -1.7px; }
.preview-metrics dd span { color: #5e714c; font-size: 25px; }
.preview-metrics > div + div dd { color: #785338; }
.preview-metrics > div + div dd span { color: #785338; }
.preview-signals { margin: 0 0 26px; }
.preview-signals > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 11px; font-size: 12px; line-height: 1.5; }
.preview-signals dt { color: var(--muted); }
.preview-signals dd { margin: 0; font-weight: 600; text-align: right; }
.preview-next { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 17px; background: #edf3dd; font-size: 13px; font-weight: 600; }
.preview-next > span:last-child { font-size: 21px; }
.preview-next:hover { background: #dfeac5; }
.journey-section { background: #e9eddf; border-bottom: 1px solid var(--line); padding-block: 30px; }
.journey-section h2 { font-size: 17px; letter-spacing: -.3px; margin-bottom: 20px; }
.journey { display: grid; grid-template-columns: repeat(6, 1fr); list-style: none; padding: 0; margin: 0; gap: 22px; font-size: 13px; }
.journey li { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.journey li:not(:last-child)::after { content: "→"; color: #647456; }
.journey li:last-child { font-weight: 700; }
.section { padding-block: 96px; }
h2 { font-size: clamp(38px, 3.8vw, 54px); line-height: 1.1; letter-spacing: -.05em; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 55px; margin-bottom: 45px; }
.section-heading > p { max-width: 360px; color: var(--ink); padding-bottom: 4px; }
.pillar-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 35px; }
.pillar { padding-top: 27px; border-top: 1px solid #b9c3ac; }
.pillar svg { width: 33px; height: 33px; fill: none; stroke: #526747; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { font-size: 24px; letter-spacing: -.8px; margin-block: 23px 13px; }
.pillar p { color: var(--ink); }
.investigation-section { background: #e8ecdf; padding-block: 80px; border-block: 1px solid #dbe0d0; }
.investigation-demo { background: #fffef9; border: 1px solid #bac6ae; border-radius: 4px; overflow: clip; }
.demo-heading { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 27px 32px; }
.demo-heading h3 { font-size: 19px; letter-spacing: -.5px; }
.demo-heading p { color: var(--ink); max-width: 430px; }
.demo-tabs { display: grid; grid-template-columns: repeat(4, 1fr); background: #f0f2e8; border-block: 1px solid var(--line); scroll-margin-top: 20px; }
.demo-tabs button { min-height: 61px; padding: 14px 16px; border: 0; border-right: 1px solid var(--line); border-bottom: 3px solid transparent; font-size: 13px; background: transparent; font-weight: 600; }
.demo-tabs button:last-child { border-right: 0; }
.demo-tabs button:hover { background: #e6ecd9; }
.demo-tabs button[aria-selected="true"] { background: #e3edc9; border-bottom-color: #456137; }
.demo-tabs button:focus-visible { outline-offset: -6px; }
.demo-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 32px; border-bottom: 1px solid var(--line); }
.demo-progress { font-size: 14px; white-space: nowrap; }
.demo-controls-buttons { display: flex; gap: 12px; }
.demo-control { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 16px; border: 1px solid #77856e; border-radius: 3px; background: transparent; font-size: 14px; line-height: 1.4; font-weight: 600; }
.demo-control:hover { background: #e8ecdf; }
.demo-control:disabled { color: #586255; border-color: var(--line); background: #f0f2e8; cursor: default; }
.demo-next { min-width: 240px; justify-content: space-between; background: var(--forest); color: var(--paper); border-color: var(--forest); }
.demo-next:hover { background: #354a3b; }
/* Reserve the tallest stage's space so changing stages cannot move the page.
   Inactive panels remain invisible and unavailable to assistive technology. */
.demo-panels[data-enhanced] { display: grid; align-items: start; }
.demo-panels[data-enhanced] > .demo-panel { grid-area: 1 / 1; min-width: 0; }
.demo-panels[data-enhanced] > .demo-panel[hidden] { display: block !important; visibility: hidden; pointer-events: none; }
.demo-panel { padding: 38px 32px 34px; min-height: 438px; font-size: var(--reading-size); line-height: 1.7; }
.demo-panel .text-link { font-size: inherit; }
.demo-panel + .demo-panel { border-top: 1px solid var(--line); }
.demo-panel[role="tabpanel"] { border-top: 0; }
.demo-panel:focus-visible { outline-offset: -6px; }
.demo-panel-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
.demo-explanation h4 { font-size: 28px; line-height: 1.2; letter-spacing: -.9px; margin-bottom: 20px; }
.demo-explanation p { color: var(--ink); }
.demo-explanation p + p { margin-top: 17px; }
.demo-explanation.wide { max-width: 780px; }
.text-button, .text-link { display: inline-flex; align-items: center; gap: 20px; border: 0; border-bottom: 1px solid #839171; background: transparent; font-size: 13px; font-weight: 600; padding: 10px 0; margin-top: 22px; text-align: left; line-height: 1.6; }
.text-link > span, .text-button > span { font-size: 19px; }
.text-link:hover, .text-button:hover { color: #49612c; }
.investigation-questions h4 { font-size: 22px; line-height: 1.4; letter-spacing: -.4px; margin-bottom: 18px; }
.investigation-checklist { margin: 0; padding-left: 1.25em; list-style: disc; font-size: var(--reading-size); line-height: 1.7; color: var(--ink); }
.investigation-checklist li + li { margin-top: 14px; }
.investigation-leads { list-style: none; margin: 25px 0 0; padding: 0; }
.investigation-leads li { padding: 22px 0; border-top: 1px solid var(--line); }
.investigation-leads h5 { font-size: 20px; line-height: 1.4; letter-spacing: -.2px; margin-bottom: 8px; }
.investigation-leads p { color: var(--ink); max-width: 850px; }
.handoff-record { margin: 0; padding-left: 1.6em; list-style: decimal; }
.handoff-record > li { padding-block: 16px; border-top: 1px solid var(--line); }
.handoff-record > li:first-child { padding-top: 0; border-top: 0; }
.handoff-record > li::marker { color: var(--ink); font-weight: 600; }
.handoff-record h5 { font-size: inherit; line-height: inherit; color: var(--ink); font-weight: 600; margin-bottom: 7px; }
.outcome-record { padding: 26px; background: #f0f2e7; border: 1px solid #d5ddc8; align-self: start; }
.outcome-status { color: var(--ink); margin-bottom: 16px; }
.outcome-record h5 { font-size: 20px; line-height: 1.4; letter-spacing: -.4px; }
.outcome-record ul { margin: 18px 0; padding-left: 1.25em; line-height: 1.7; }
.outcome-record li + li { margin-top: 10px; }
.outcome-record > p:last-child { color: var(--ink); }
.audience-section { display: grid; grid-template-columns: 1fr 1.2fr; align-items: start; gap: 80px; }
.audience-list { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.audience-list article { padding-top: 17px; border-top: 1px solid var(--line); }
.audience-list h3 { font-size: 17px; line-height: 1.4; letter-spacing: -.4px; margin-bottom: 11px; }
.audience-list p { color: var(--ink); }
.availability-section { background: #e9ecdf; padding-block: 72px; }
.availability-cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); align-items: center; gap: 64px; }
.availability-copy p { max-width: 670px; margin-top: 22px; }
.availability-actions .button { width: 100%; min-height: 60px; gap: 18px; padding: 18px 22px; font-size: var(--reading-size); }
.availability-actions p { margin-top: 16px; }
.site-footer { background: var(--forest); color: var(--paper); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; min-height: 120px; gap: 30px; padding-block: 30px; }
.footer-inner .brand { font-size: 25px; }
.footer-inner .brand b { color: var(--lime); }
.site-footer nav { display: flex; gap: 26px; font-size: 12px; }
.pilot-label { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; white-space: nowrap; color: var(--lime); }
.pilot-label span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.site-footer a:focus-visible { outline-color: var(--lime); }
@media (max-width: 1100px) {
  .container { width: calc(100% - 72px); }
  .main-nav { gap: 22px; font-size: 13px; }
  .hero-inner { gap: 42px; padding-block: 54px; }
  .hero-actions { gap: 16px; }
  .case-preview { padding: 26px; }
  .case-preview h2 { font-size: 29px; }
  .preview-metrics dd { font-size: 34px; }
  .preview-signals > div { font-size: 11px; }
  .journey { font-size: 12px; gap: 15px; }
  .section-heading { gap: 35px; }
  .section-heading > p { max-width: 310px; }
  .pillar-grid { gap: 25px; }
  .demo-panel-grid { gap: 38px; }
  .audience-section { gap: 40px; }
  .footer-inner { flex-wrap: wrap; }
}
@media (max-width: 900px) {
  .availability-cta { grid-template-columns: 1fr; gap: 28px; }
  .availability-actions { max-width: 420px; }
}
@media (max-width: 900px) and (min-width: 761px) {
  .hero-inner { gap: 25px; grid-template-columns: 1.1fr 1fr; }
  h1 { font-size: 57px; }
  .case-preview { padding: 22px; }
  .preview-metrics > div + div { padding-left: 14px; }
  .preview-metrics dd { font-size: 30px; }
  .preview-metrics dd span { font-size: 21px; }
  .preview-signals > div { display: block; }
  .preview-signals dd { text-align: left; margin-top: 4px; }
  .section-heading { display: block; }
  .section-heading > p { max-width: 600px; margin-top: 22px; }
  .pillar-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .journey { grid-template-columns: repeat(3, 1fr); gap: 20px 30px; }
  .audience-section { grid-template-columns: 1fr; }
  .demo-heading { display: block; }
  .demo-heading p { max-width: 600px; margin-top: 10px; }
  .demo-panel-grid { gap: 25px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 76px; gap: 15px; }
  .brand { font-size: 25px; }
  .brand-mark { width: 22px; height: 26px; margin-right: 7px; }
  .main-nav { display: none; }
  .sign-in { min-height: 42px; font-size: 12px; padding: 9px 12px; gap: 15px; }
  .hero-inner { grid-template-columns: 1fr; padding-block: 40px; gap: 35px; }
  .hero::before { background-position: 65% center; }
  .hero::after { background: linear-gradient(90deg, #0d1a14eb, #0d1a148e), linear-gradient(0deg, #0d1a14b8, transparent 50%); }
  h1 { font-size: clamp(50px, 11.5vw, 75px); line-height: 1.03; }
  .hero-description { margin-top: 23px; }
  .hero-actions { align-items: flex-start; gap: 14px 18px; margin-top: 25px; }
  .button { font-size: 13px; min-height: 53px; padding: 15px 18px; gap: 22px; }
  .hero-demo { font-size: 12px; }
  .pilot-note { margin-top: 18px; }
  .case-preview { padding: 25px; max-width: 540px; }
  .case-preview h2 { font-size: 30px; }
  .preview-metrics dd { font-size: 37px; }
  .preview-signals > div { font-size: 12px; }
  .journey-section { padding-block: 28px; }
  .journey-section h2 { font-size: 16px; line-height: 1.5; margin-bottom: 20px; }
  .journey { grid-template-columns: repeat(2, 1fr); gap: 18px 24px; font-size: 12px; }
  .section { padding-block: 60px; }
  h2 { font-size: clamp(36px, 7.5vw, 46px); }
  .section-heading { display: block; margin-bottom: 33px; }
  .section-heading > p { max-width: 100%; margin-top: 22px; }
  .pillar-grid { grid-template-columns: 1fr 1fr; gap: 29px 25px; }
  .pillar { padding-top: 23px; }
  .pillar h3 { font-size: 22px; margin-block: 19px 10px; }
  .investigation-section { padding-block: 55px; }
  .demo-heading { display: block; padding: 23px; }
  .demo-heading h3 { font-size: 18px; }
  .demo-heading p { margin-top: 10px; }
  .demo-tabs { grid-template-columns: repeat(2, 1fr); }
  .demo-tabs button { min-height: 54px; padding-inline: 8px; font-size: 12px; }
  .demo-tabs button:nth-child(2) { border-right: 0; }
  .demo-tabs button:nth-child(-n+2) { border-bottom-width: 3px; }
  .demo-controls { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 18px 22px; }
  .demo-controls-buttons { display: contents; }
  .demo-control { padding: 10px 12px; gap: 8px; }
  .demo-previous { grid-column: 2; grid-row: 1; }
  .demo-next { grid-column: 1 / -1; min-width: 0; min-height: 54px; }
  .demo-panel { padding: 26px 22px; min-height: 0; }
  .demo-panel-grid { grid-template-columns: 1fr; gap: 29px; }
  .demo-explanation h4 { font-size: 25px; margin-bottom: 17px; }
  .text-button, .text-link { font-size: 12px; gap: 14px; }
  .outcome-record { padding: 22px; }
  .audience-section { grid-template-columns: 1fr; gap: 33px; }
  .audience-list { gap: 27px; }
  .audience-list h3 { font-size: 16px; }
  .availability-section { padding-block: 56px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 25px; padding-block: 32px; }
  .site-footer nav { flex-wrap: wrap; gap: 15px 25px; }
}
@media (max-width: 600px) {
  .pillar-grid, .audience-list { grid-template-columns: 1fr; }
}
@media (max-width: 370px) {
  .container { width: calc(100% - 32px); }
  h1 { font-size: 47px; }
  .case-preview { padding: 22px; }
  .preview-metrics dd { font-size: 31px; }
  .preview-metrics dd span { font-size: 22px; }
  .preview-metrics > div + div { padding-left: 16px; }
  .preview-signals > div { font-size: 11px; }
  .pillar-grid, .audience-list { grid-template-columns: 1fr; }
  .pillar { display: grid; grid-template-columns: 32px 1fr; gap: 0 17px; }
  .pillar h3 { margin-top: 0; }
  .pillar p { grid-column: 2; }
  .demo-heading { padding: 20px; }
  .demo-panel { padding-inline: 18px; }
  .demo-tabs button { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .button:hover { transform: none; }
}
