@font-face {
  font-family: Lato;
  src: url("assets/lato-regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Lato;
  src: url("assets/lato-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f8f5;
  --surface: #fff;
  --ink: #17231e;
  --muted: #4e5b54;
  --line: #d6ddd7;
  --green: #25543e;
  --green-hover: #153b2b;
  --sample: #f7f9f7;
  --sans: Lato, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem / 1.5 var(--sans); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.project-link:focus-visible { outline-offset: -4px; }
#workbench, .project-panel { scroll-margin-top: 1rem; }
.shell { width: min(100% - 96px, 1216px); margin-inline: auto; }
.eyebrow { color: var(--green); font: 700 .8125rem / 1.35 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 5; top: .5rem; left: .5rem; padding: .55rem .9rem; background: var(--surface); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.masthead { border-bottom: 1px solid var(--line); background: var(--surface); }
.bar { min-height: 62px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 700; white-space: nowrap; letter-spacing: -.014em; }
.brand-mark { width: 29px; height: 29px; display: grid; justify-items: center; align-content: center; gap: 2px; background: var(--green); border-radius: 3px; }
.brand-mark i { display: block; height: 3px; background: #f2f6ef; border-radius: 2px 4px 2px 3px; transform: rotate(-8deg); }
.brand-mark i:nth-child(1) { width: 7px; }
.brand-mark i:nth-child(2) { width: 11px; transform: rotate(6deg); }
.brand-mark i:nth-child(3) { width: 16px; transform: rotate(-4deg); }
.site-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .9375rem; font-weight: 700; white-space: nowrap; }
.site-link:hover, .video-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.external-icon { position: relative; display: inline-block; width: 11px; height: 11px; flex: 0 0 11px; }
.external-icon::before, .external-icon::after { content: ""; position: absolute; border: 1px solid currentColor; width: 7px; height: 7px; }
.external-icon::before { left: 0; bottom: 0; }
.external-icon::after { right: 0; top: 0; background: var(--icon-bg, var(--surface)); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .64fr);
  align-items: center;
  column-gap: clamp(32px, 7vw, 106px);
  padding-block: 37px 35px;
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  font-size: clamp(3.55rem, 7.48vw, 6.25rem);
  line-height: .99;
  font-weight: 700;
  letter-spacing: -.057em;
  margin: 12px 0 17px -.035em;
}
.hero-intro { max-width: 510px; color: var(--muted); line-height: 1.45; font-size: 1.1875rem; }
.hero-figure { position: relative; height: clamp(178px, 20vw, 242px); overflow: hidden; background: #101915; border-radius: 3px; }
.hero-image { width: auto; max-width: 100%; height: 100%; display: block; margin-inline: auto; object-fit: contain; filter: grayscale(1); mask-image: linear-gradient(90deg, transparent, #000 14% 86%, transparent); }
.hero-figure::after { content: ""; position: absolute; inset: 0; background: #273c31; mix-blend-mode: color; opacity: .6; pointer-events: none; }

.workbench { padding: 28px 0 37px; }
.section-head { margin-bottom: 15px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; letter-spacing: -.033em; }
.workbench-grid { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 2.75fr); border: 1px solid var(--line); background: var(--surface); border-radius: 4px; }
.project-list { display: grid; align-content: start; background: #f0f3ef; border-right: 1px solid var(--line); border-radius: 3px 0 0 3px; }
.project-link { min-height: 69px; display: grid; grid-template-columns: 21px minmax(0, 1fr); align-items: center; gap: 11px; padding: 10px 15px; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; }
.project-link:hover { background: #eaf0ea; }
.project-link[aria-current="true"] { background: #e0ebe2; border-left-color: var(--green); }
.project-link strong, .project-link small { display: block; }
.project-link strong { font-size: .9375rem; line-height: 1.2; }
.project-link small { margin-top: 4px; line-height: 1.2; color: var(--muted); font-size: .875rem; }
.project-icon { width: 21px; height: 22px; display: grid; place-content: center; position: relative; color: #54675b; }
.project-link[aria-current="true"] .project-icon { color: var(--green); }
.project-icon i { display: block; }
.icon-pipeline { gap: 3px; justify-items: start; }
.icon-pipeline i { width: 16px; height: 2px; background: currentColor; }
.icon-pipeline i:nth-child(2) { width: 11px; }
.icon-pipeline i:nth-child(3) { width: 7px; }
.icon-deal { grid-auto-flow: column; gap: 3px; align-items: end; }
.icon-deal i { width: 3px; height: 6px; background: currentColor; }
.icon-deal i:nth-child(2) { height: 10px; }
.icon-deal i:nth-child(3) { height: 14px; }
.icon-portfolio { gap: 2px; grid-template-columns: repeat(2, 6px); }
.icon-portfolio i { width: 6px; height: 6px; border: 1px solid currentColor; }
.icon-portfolio i:nth-child(2) { background: currentColor; }
.icon-pawstop i { position: absolute; width: 5px; height: 5px; border: 1px solid currentColor; border-radius: 50%; }
.icon-pawstop i:nth-child(1) { left: 2px; bottom: 3px; }
.icon-pawstop i:nth-child(2) { right: 2px; top: 3px; background: currentColor; }
.icon-pawstop i:nth-child(3) { width: 10px; height: 8px; left: 6px; top: 6px; border-radius: 0 0 5px 0; border-width: 0 1px 1px 0; }

.project-panel { display: grid; grid-template-columns: minmax(0, .97fr) minmax(0, 1.15fr); gap: clamp(20px, 2.8vw, 39px); padding: clamp(20px, 2.6vw, 35px); min-height: 323px; align-items: center; }
.project-panel + .project-panel { border-top: 1px solid var(--line); }
.project-panel[hidden] + .project-panel { border-top: 0; }
.project-copy h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.03; font-weight: 700; letter-spacing: -.036em; margin: 9px 0 11px; overflow-wrap: anywhere; }
.project-copy h3:focus { outline: none; }
.project-copy > p:not(.product-type) { color: var(--muted); line-height: 1.48; max-width: 350px; }
.actions { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.button { min-height: 44px; padding: 9px 13px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-size: .9375rem; font-weight: 700; line-height: 1.2; border-radius: 3px; text-align: center; }
.primary { background: var(--green); color: #fff; --icon-bg: var(--green); }
.primary:hover { background: var(--green-hover); --icon-bg: var(--green-hover); }
.video-link { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-weight: 700; font-size: .9375rem; }
.play-icon { width: 0; height: 0; border: 5px solid transparent; border-right: 0; border-left: 7px solid currentColor; }
.duration { font: .75rem / 1 var(--mono); color: var(--muted); }

.mini-demo { min-height: 252px; align-self: stretch; overflow: hidden; border: 1px solid #cdd8ce; border-radius: 3px; background: var(--sample); }
.demo-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--line); padding: 10px 15px; background: #edf2ed; }
.demo-label { font-size: .9375rem; font-weight: 700; }
.demo-tag { color: var(--muted); font: 700 .75rem / 1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.demo-controls { display: flex; gap: 5px; padding: 2px 15px 0; border-bottom: 1px solid var(--line); }
.demo-controls button { border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: .875rem; line-height: 1.15; min-height: 44px; padding: 7px 9px; }
.demo-controls button:hover { color: var(--green); background: #edf3ee; }
.demo-controls button[aria-pressed="true"] { border-bottom-color: var(--green); color: var(--green); font-weight: 700; }
.demo-controls button:focus-visible { outline-offset: -3px; }
.demo-body { padding: 12px 15px 16px; }
.metric-label { color: var(--muted); font-size: .875rem; }
.metric { font-size: 2.125rem; font-weight: 700; line-height: 1.03; letter-spacing: -.034em; margin: 3px 0 10px; font-variant-numeric: tabular-nums; }
.pipeline-bar { height: 8px; display: grid; grid-template-columns: 715fr 590fr 915fr; gap: 2px; overflow: hidden; border-radius: 1px; }
.pipeline-bar i:first-child, .legend > div:first-child i { background: #347759; }
.pipeline-bar i:nth-child(2), .legend > div:nth-child(2) i { background: #a88242; }
.pipeline-bar i:nth-child(3), .legend > div:nth-child(3) i { background: #718078; }
.legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin-top: 9px; }
.legend dt { color: var(--muted); font-size: .8125rem; line-height: 1.2; }
.legend dd { margin-top: 4px; font: 700 .875rem / 1.25 var(--mono); }
.legend i { width: 6px; height: 6px; display: inline-block; margin-right: 2px; vertical-align: .08em; }
.proof-top { display: flex; gap: 9px; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.proof-top p { font-weight: 700; }
.proof-top span { font: 700 .875rem / 1.4 var(--mono); color: var(--green); white-space: nowrap; }
.proof-list > div { display: grid; grid-template-columns: .86fr 1.14fr; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); font-size: .875rem; line-height: 1.25; }
.proof-list dt { color: var(--muted); }
.proof-list dd { text-align: right; }
.evidence-options { min-width: 0; margin: 0; border: 0; }
.evidence-score { display: flex; align-items: baseline; gap: 9px; margin-bottom: 8px; }
.evidence-score output { font-size: 1.55rem; font-weight: 700; line-height: 1; color: var(--green); }
.evidence-score span { font-size: .875rem; color: var(--muted); }
.evidence-meter { --progress: 50%; height: 5px; border-radius: 1px; background: #dce5dd; margin-bottom: 5px; }
.evidence-meter i { display: block; width: var(--progress); height: 100%; background: #347759; border-radius: inherit; transition: width 160ms ease; }
.evidence-options label { display: flex; gap: 8px; align-items: center; min-height: 34px; font-size: .875rem; cursor: pointer; }
.evidence-options input { width: 16px; height: 16px; margin: 0; accent-color: var(--green); }
.account { display: flex; gap: 9px; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.account:last-child { border-bottom: 0; }
.account strong, .route-stop strong { display: block; font-size: .9375rem; line-height: 1.25; }
.account small, .route-stop small { display: block; font-size: .8125rem; line-height: 1.3; margin-top: 4px; color: var(--muted); }
.status { padding: 3px 6px; font: 700 .75rem / 1.3 var(--mono); white-space: nowrap; border-radius: 2px; }
.critical { background: #f3e7e4; color: #78372c; }
.watch { background: #f1ebdb; color: #645020; }
.upside { background: #e1ece3; color: #29573e; }
.route-cities { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .875rem; }
.route-track { position: relative; display: flex; justify-content: space-between; align-items: center; margin: 9px 4px 15px; }
.route-track::before { position: absolute; content: ""; inset: 5px 3px auto; border-top: 2px solid #769181; }
.route-track i { position: relative; width: 12px; height: 12px; background: var(--sample); border: 2px solid var(--green); border-radius: 50%; }
.route-track i:nth-child(2) { background: var(--green); box-shadow: 0 0 0 4px #d6e5d8; }
.route-stop { display: grid; grid-template-columns: 9px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 9px; border: 1px solid var(--line); background: var(--surface); border-radius: 2px; }
.route-pin { width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--green); }

.footer { display: flex; flex-wrap: wrap; gap: 5px 12px; align-items: center; justify-content: space-between; min-height: 60px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; --icon-bg: var(--paper); }
.footer .site-link { color: var(--ink); }

@media (min-width: 931px) {
  .project-list { align-content: stretch; grid-auto-rows: minmax(69px, 1fr); }
  .project-link:last-child { border-bottom: 0; }
}

@media (max-width: 1060px) {
  .shell { width: calc(100% - 64px); }
  .hero { column-gap: 34px; grid-template-columns: minmax(0, 1fr) minmax(245px, .65fr); }
  .project-panel { gap: 20px; }
}

@media (max-width: 930px) {
  .project-panel { grid-template-columns: 1fr; }
  .mini-demo { min-height: 232px; }
  .project-copy > p:not(.product-type) { max-width: 490px; }
  .actions { margin-top: 12px; }
}

@media (max-width: 730px) {
  .shell { width: calc(100% - 36px); }
  .bar { min-height: 55px; }
  .hero { grid-template-columns: 1fr; row-gap: 20px; padding-block: 25px 21px; }
  .hero h1 { font-size: clamp(2.8rem, 11vw, 4.35rem); margin: 8px 0 10px -.025em; }
  .hero-intro { font-size: 1.0625rem; }
  .hero-figure { height: clamp(113px, 29vw, 156px); }
  .workbench { padding-block: 20px 25px; }
  .section-head { margin-bottom: 11px; }
  .workbench-grid { grid-template-columns: minmax(0, 1fr); }
  .project-list { grid-template-columns: repeat(2, minmax(0, 1fr)); border-right: 0; border-radius: 3px 3px 0 0; }
  .project-link { min-height: 68px; padding: 9px 10px; gap: 8px; }
  .project-link:nth-child(odd) { border-right: 1px solid var(--line); }
  .project-panel { padding: 17px; }
  .evidence-options label { min-height: 44px; }
}

@media (max-width: 390px) {
  .project-link { grid-template-columns: minmax(0, 1fr); padding-inline: 9px; }
  .project-icon { display: none; }
  .project-link small { font-size: .8125rem; }
  .demo-head, .demo-body { padding-inline: 11px; }
  .demo-controls { padding-inline: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .evidence-meter i { transition: none; }
}
