@font-face {
  font-family: "Instrument Sans";
  src: url("/static/instrument-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f5ec;
  --ink: #142c24;
  --forest: #153c2e;
  --muted: #475b50;
  --line: #d5dccd;
  --lime: #d6f47e;
  --lime-hover: #c7eb66;
  --cream: #fffcf4;
  --hero-mint: #e8f1e3;
  --surface: #fffef8;
  font-family: "Instrument Sans", system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
a { color: inherit; }
button, input, select { font: inherit; }
[hidden] { display: none !important; }
:where(button, a, [tabindex]):focus-visible {
  outline: 3px solid #26744b;
  outline-offset: 4px;
}
.wrap { width: min(100% - 3rem, 78rem); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 5;
  inset: .8rem auto auto .8rem;
  padding: .8rem 1rem;
  transform: translateY(-180%);
  border-radius: .55rem;
  background: var(--lime);
  font-weight: 700;
}
.skip-link:focus { transform: none; }

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 5rem;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  gap: .65rem;
  min-height: 2.75rem;
  width: fit-content;
  font-size: 1.52rem;
  font-weight: 700;
  letter-spacing: -.07em;
  text-decoration: none;
}
.wordmark img { display: block; border-radius: 27%; object-fit: contain; }
.wordmark-dot { color: #53754a; }
.site-header nav { display: flex; gap: clamp(1rem, 4vw, 2.7rem); }
.site-header nav a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  font-size: .94rem;
  font-weight: 650;
  text-decoration: none;
}
.site-header nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.sample-link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  min-height: 2.75rem;
  padding: .45rem .8rem .45rem .95rem;
  border: 1px solid #879787;
  border-radius: .6rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.sample-link:hover { border-color: var(--forest); background: #edf1e4; }

.hero { background: var(--hero-mint); }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr);
  align-items: center;
  gap: clamp(1.75rem, 5vw, 5rem);
  padding-block: clamp(2.25rem, 5.6vw, 5.5rem);
}
h1 {
  margin: 0;
  font-size: clamp(3.4rem, 5.5vw, 5.35rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.06em;
}
h1 em { display: block; color: #45684a; font-style: normal; }
.hero-intro {
  max-width: 34ch;
  margin: 1.55rem 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.7vw, 1.26rem);
  line-height: 1.51;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .7rem 1.35rem;
  margin-top: 1.7rem;
}
.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.button { padding: .65rem 1rem; border: 1px solid #a4ba64; border-radius: .65rem; }
.button-primary { color: var(--ink); background: var(--lime); }
.button-primary:hover { background: var(--lime-hover); }
.button span { transition: transform 160ms ease; }
.button:hover span { transform: translate(2px, -2px); }

.demo-stage {
  --sample-accent: #dceac5;
  --sample-wash: #eff4e2;
  min-width: 0;
  padding: clamp(.75rem, 2.1vw, 1.55rem);
  border: 1px solid #bacdb8;
  border-radius: clamp(1rem, 2.3vw, 1.6rem);
  background: var(--surface);
  box-shadow: 0 1rem 2.4rem -1.6rem #234b3766;
  scroll-margin-top: 1rem;
}
.demo-stage[data-workflow="clinic"] { --sample-accent: #dce9f6; --sample-wash: #edf3f9; }
.demo-stage[data-workflow="folio"] { --sample-accent: #f4e1b9; --sample-wash: #faf2de; }
.demo-stage[data-workflow="brand"] { --sample-accent: #eadff2; --sample-wash: #f4edf8; }
.demo-stage :focus-visible { outline-color: #46815d; }
.demo-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .5rem;
  margin-bottom: .75rem;
}
.demo-caption h2 {
  margin: 0;
  font-size: clamp(1.1rem, 2.5vw, 1.75rem);
  letter-spacing: -.041em;
}
.demo-caption span { font-size: .85rem; color: var(--muted); }
.demo-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .28rem;
  padding: .25rem;
  border: 1px solid #dce1d5;
  border-radius: .75rem;
  background: #efefe7;
}
.demo-tabs button {
  min-width: 0;
  min-height: 2.75rem;
  padding: .45rem .1rem;
  border: 1px solid transparent;
  border-radius: .53rem;
  background: transparent;
  color: var(--forest);
  font-size: .91rem;
  font-weight: 700;
  cursor: pointer;
}
.demo-tabs button[aria-selected="true"] {
  background: #fffef8;
  border-color: #687c68;
  box-shadow: 0 .1rem .2rem #163c2714;
}
.demo-tabs button:not([aria-selected="true"]):hover { background: #e2ebd7; }
.demo-work { min-height: 18.15rem; padding: 1.15rem .25rem .1rem; }
.sample-contact { display: flex; align-items: center; gap: .65rem; }
.sample-contact strong, .sample-contact span { display: block; }
.sample-contact strong { font-size: .99rem; }
.sample-contact span { margin-top: .02rem; color: var(--muted); font-size: .81rem; }
.sample-avatar {
  display: grid;
  place-content: center;
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--sample-accent);
  font-size: .92rem;
  font-weight: 700;
  transition: background-color .2s ease;
}
.sample-message {
  max-width: 35ch;
  width: fit-content;
  margin: .8rem 0 .96rem 1rem;
  padding: .66rem .8rem;
  border-radius: .28rem .8rem .8rem .8rem;
  background: #eaf3ea;
  font-size: .92rem;
  line-height: 1.4;
}
.sample-task {
  display: grid;
  justify-items: start;
  gap: .24rem;
  padding: .95rem 1rem 1rem;
  border: 1px solid #dfe7d8;
  border-radius: .87rem;
  background: var(--sample-wash);
  transition: background-color .2s ease;
}
.sample-label, .task-detail { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.35; }
.sample-label { font-weight: 650; }
.sample-task h3 {
  margin: 0;
  font-size: clamp(1.11rem, 2.5vw, 1.52rem);
  line-height: 1.19;
  letter-spacing: -.036em;
}
.sample-action {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: .88rem;
  min-height: 2.75rem;
  max-width: 100%;
  margin: .3rem 0 0;
  padding: .4rem .71rem;
  border: 1px solid #a9b8a5;
  border-radius: .55rem;
  background: var(--cream);
  color: var(--forest);
  text-align: left;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
}
.sample-action:hover { background: #e2eed0; }
.sample-review {
  width: 100%;
  margin-block: .2rem;
  padding: .05rem 0 .05rem .67rem;
  border-left: 3px solid #75936e;
  animation: reveal .2s ease-out;
}
.sample-review p { margin: .32rem 0; font-size: .86rem; line-height: 1.42; }
.sample-result, .noscript { font-size: .84rem; }
.sample-result {
  min-height: 1.2rem;
  margin: .55rem 0 0;
  color: #285c39;
  font-weight: 700;
}
.demo-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .8rem;
  padding: .15rem .25rem 0;
  border-top: 1px solid var(--line);
}
.demo-share-button {
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--forest);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .24rem;
  cursor: pointer;
}
.demo-share-status { margin: 0; color: var(--muted); font-size: .84rem; }
.demo-share-url {
  width: 100%;
  min-height: 2.75rem;
  padding: .45rem .6rem;
  border: 1px solid #a7b6a8;
  border-radius: .5rem;
  background: var(--cream);
  color: var(--ink);
  font-size: 1rem;
}
.noscript { margin: .4rem .25rem .1rem; }
@keyframes reveal { from { opacity: .5; transform: translateY(.3rem); } to { opacity: 1; transform: translateY(0); } }

.workflows {
  padding-block: clamp(2.4rem, 5.5vw, 5rem) clamp(2.6rem, 5vw, 4.6rem);
  scroll-margin-top: 1rem;
}
.section-intro { margin-bottom: 1.25rem; }
.section-intro h2, .how h2 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(2.15rem, 5vw, 4.6rem);
  letter-spacing: -.058em;
  line-height: 1.03;
}
.workflow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}
.workflow {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: .45rem;
  padding: clamp(.85rem, 2vw, 1.35rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
}
.workflow h3 {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0;
  font-size: clamp(1.02rem, 1.9vw, 1.42rem);
  letter-spacing: -.032em;
}
.workflow-mark { width: .75rem; height: .75rem; flex: 0 0 auto; border: 1px solid #728e71; border-radius: 30%; }
.mark-sales { background: #dceac5; }
.mark-clinic { background: #dce9f6; }
.mark-folio { background: #f4e1b9; }
.mark-brand { background: #eadff2; }
.workflow p { margin: 0; color: var(--muted); line-height: 1.43; }
.workflow a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.75rem;
  margin-top: auto;
  font-size: .91rem;
  font-weight: 700;
  text-underline-offset: .24rem;
}
.workflow a:hover { color: #396548; }

.how { padding-bottom: clamp(2rem, 4vw, 4rem); scroll-margin-top: 1rem; }
.how-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1.4rem 3rem;
  padding: clamp(1.15rem, 4.7vw, 3.6rem);
  border: 1px solid #d4dfc6;
  border-radius: clamp(1rem, 2.8vw, 2rem);
  background: #e8eedb;
}
.how h2 { max-width: 17ch; }
.how-heading > p { max-width: 48ch; margin: .78rem 0 0; }
.how p { color: var(--muted); line-height: 1.45; }
.pilot-availability { max-width: 26ch; margin: 0; }
.site-footer {
  display: flex;
  gap: .65rem 1.5rem;
  align-items: center;
  padding-block: 1rem max(1rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}
.site-footer .wordmark { font-size: 1.2rem; }
.site-footer p { margin: 0; color: var(--muted); font-size: .9rem; }

@media (max-width: 61rem) {
  .workflow-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 51rem) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); max-width: 39rem; }
  h1 { max-width: 12ch; font-size: clamp(3rem, 9.5vw, 5.2rem); }
  .hero-intro { margin-top: .85rem; }
}
@media (max-width: 36rem) {
  .wrap { width: calc(100% - 2rem); }
  .site-header { grid-template-columns: 1fr auto; min-height: 3.9rem; gap: .5rem; }
  .site-header nav { display: none; }
  .site-header .wordmark { font-size: 1.37rem; }
  .site-header .wordmark img { width: 2.12rem; height: 2.12rem; }
  .sample-link { gap: .4rem; font-size: .9rem; padding-inline: .64rem; }
  .hero-inner { gap: .9rem; padding-block: 1.05rem 1.4rem; }
  h1 { font-size: clamp(2.5rem, 10.2vw, 3.82rem); }
  .hero-intro { margin-top: .6rem; line-height: 1.38; }
  .hero-actions { margin-top: .66rem; gap: .2rem .75rem; }
  .hero-actions .button { min-height: 2.75rem; padding-inline: .65rem; font-size: .91rem; gap: .4rem; }
  .demo-caption { margin-bottom: .45rem; }
  .demo-work { min-height: 0; padding: .55rem .1rem .1rem; }
  .sample-avatar { width: 1.85rem; height: 1.85rem; }
  .sample-message { margin: .5rem 0 .6rem; padding: .55rem .7rem; }
  .sample-task { padding: .6rem .68rem .68rem; }
  .sample-result:empty { min-height: 0; }
  .workflow-list { grid-template-columns: minmax(0, 1fr); }
  .workflow h3 { line-height: 1.2; }
  .workflow p { font-size: .95rem; }
  .how-card { grid-template-columns: 1fr; }
  .site-footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
