@font-face {
  font-family: "Space Grotesk";
  src: url("SpaceGrotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #112521;
  --muted: #425c55;
  --paper: #f7f9f9;
  --white: #fff;
  --teal: #06726F;
  --night: #102d28;
  --mint: #c0ecd9;
  --line: #d3ded6;
  --radius-stage: 34px;
  --radius-card: 24px;
  --radius-field: 14px;
  --shell: 1300px;
  --header: 74px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 1rem); }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Space Grotesk", system-ui, sans-serif; line-height: 1.55; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1; text-wrap: balance; font-weight: 700; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #2da396; outline-offset: 4px; }
::selection { color: var(--night); background: var(--mint); }

.shell { width: min(calc(100% - 5rem), var(--shell)); margin-inline: auto; }
.section { padding-block: clamp(3.9rem, 7.2vw, 7.5rem); }
.skip { position: fixed; z-index: 30; top: 1rem; left: 1rem; background: var(--white); padding: .7rem 1rem; transform: translateY(-175%); }
.skip:focus { transform: none; }
.eyebrow { color: var(--teal); font-size: .875rem; line-height: 1.35; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; }
h2 { margin-top: 1rem; font-size: clamp(2.4rem, 4.55vw, 4.8rem); letter-spacing: -.06em; }
h3 { font-size: clamp(1.45rem, 2.2vw, 2.1rem); letter-spacing: -.045em; }
.lead { font-size: clamp(1.125rem, 1.65vw, 1.375rem); line-height: 1.5; letter-spacing: -.016em; }
.text-link { width: fit-content; display: inline-block; font-weight: 700; text-decoration: underline; text-underline-offset: .27em; }
.text-link:hover { color: var(--teal); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .825rem 1.4rem; border: 1px solid transparent; border-radius: 999px; color: white; background: var(--teal); font-weight: 700; line-height: 1.25; text-align: center; transition: background .2s, color .2s, border-color .2s; }
.button:hover { background: #054e4b; }
.button-small { min-height: 44px; font-size: .9rem; padding-inline: 1rem; }

.site-header { position: sticky; top: 0; z-index: 15; border-bottom: 1px solid #10342d1f; background: #fffffff5; backdrop-filter: blur(16px); }
.header-inner { min-height: var(--header); display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; gap: .55rem; align-items: center; width: fit-content; white-space: nowrap; font-size: .875rem; font-weight: 700; letter-spacing: .08em; }
.brand img { object-fit: contain; }
.desktop-nav { display: flex; gap: clamp(1.15rem, 2.9vw, 2.85rem); font-size: .95rem; font-weight: 600; }
.desktop-nav a:hover, .mobile-nav a:hover { color: var(--teal); }
.mobile-nav { display: none; }

.hero {
  color: #fafcfb;
  padding: clamp(.65rem, 1.7vw, 1.4rem) 0;
  background: var(--white);
}
.hero-grid {
  width: min(calc(100% - 2rem), 1400px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr);
  grid-template-areas: ". visual" "copy visual" "action visual" ". visual";
  grid-template-rows: minmax(0, 1fr) auto auto minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(1.2rem, 3vw, 3rem);
  min-height: clamp(500px, 44vw, 665px);
  padding: clamp(2.6rem, 4.35vw, 4.5rem) clamp(1.65rem, 3.7vw, 3.65rem);
  border: 1px solid #1c5145;
  border-radius: var(--radius-stage);
  background: radial-gradient(ellipse at 76% 46%, #2e665e 0%, #183d35 39%, transparent 72%), #0d2420;
}
.hero-copy { grid-area: copy; }
.hero .eyebrow { color: var(--mint); }
.hero h1 {
  margin: 1.15rem 0 1.4rem;
  font-size: clamp(3.15rem, 5.65vw, 6.4rem);
  letter-spacing: -.068em;
  line-height: .99;
  text-wrap: wrap;
}
.hero h1 em { color: var(--mint); font-style: normal; }
.hero .lead { max-width: 30rem; color: #dceae3; line-height: 1.53; }
.hero-cta {
  grid-area: action;
  justify-self: start;
  margin-top: 1.65rem;
  padding-inline: 1.35rem;
  border-color: #9cc6b7;
}
.hero-image { grid-area: visual; min-width: 0; }
.hero-image img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 23px 25px #06181480);
}
@keyframes device-in {
  from { transform: translateY(9px); }
}

.partners { background: var(--white); border-bottom: 1px solid var(--line); }
.partners-inner { padding-block: 1.35rem 1.55rem; }
.partners-inner h2 { margin: 0 0 .65rem; font-size: 1rem; letter-spacing: -.01em; }
.partner-logos {
  --logo-columns: 4;
  --partner-gap: .65rem;
  display: flex;
  gap: var(--partner-gap);
  list-style: none;
  padding: 0;
  margin: 0;
  border-radius: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #6d9082 #e8eeea;
}
.partner-logos.is-looping {
  scroll-snap-type: none;
  scrollbar-width: none;
}
.partner-logos.is-looping::-webkit-scrollbar { display: none; }
.partner-logos li {
  flex: 0 0 calc((100% - (var(--logo-columns) - 1) * var(--partner-gap)) / var(--logo-columns));
  display: grid;
  place-items: center;
  scroll-snap-align: start;
  min-height: 82px;
  padding: .85rem 1rem;
  border: 1px solid #e0e8e3;
  border-radius: 16px;
  background: var(--white);
}
.partner-logos img { width: min(100%, var(--mark-width)); height: 46px; object-fit: contain; filter: brightness(0); }
.partner-inform { --mark-width: 132px; }
.partner-medicus { --mark-width: 164px; }
.partner-blackroll { --mark-width: 124px; }
.partner-egym { --mark-width: 140px; }
.partner-taskdifferent { --mark-width: 46px; }

.intro-text { max-width: 32rem; color: var(--muted); font-size: 1.125rem; }
.software { background: var(--white); }
.software-grid {
  display: grid;
  grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.software-intro .intro-text { margin-top: 1.3rem; }
.workflow-display { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; box-shadow: 0 16px 36px #102d280a; }
.workflow-copy { padding: .95rem clamp(1rem, 2.15vw, 1.9rem); background: var(--paper); border-bottom: 1px solid var(--line); }
.workflow-tabs { display: none; }
.workflow-tabs[role="tablist"] { display: flex; flex-wrap: wrap; gap: .35rem; }
.workflow-copy:has(.workflow-tabs:not([role])) { display: none; }
.workflow-tabs button { min-height: 44px; border: 1px solid transparent; border-radius: 999px; padding: .55rem .975rem; background: transparent; color: #36564d; font-size: .95rem; font-weight: 700; }
.workflow-tabs button:hover { border-color: #97b7aa; }
.workflow-tabs button[aria-selected="true"] { color: white; background: var(--teal); }
.workflow-panel { padding: clamp(1.15rem, 3vw, 2rem); display: grid; gap: 1.2rem; }
.workflow-panel + .workflow-panel { border-top: 1px solid #c9dcd1; }
.workflow-panel[role="tabpanel"] { border-top: 0; }
.motion .workflow-panel[role="tabpanel"] > * { animation: panel-in .26s ease-out; }
@keyframes panel-in { from { opacity: .55; transform: translateY(4px); } }
.scenario-copy h3 { font-size: clamp(1.6rem, 2.55vw, 2.7rem); text-wrap: wrap; }
.scenario-copy p { margin-top: .7rem; color: var(--muted); font-size: 1rem; max-width: 33rem; }
.scenario-board { padding: clamp(.9rem, 2vw, 1.45rem); background: var(--paper); border: 1px solid #dbe8df; border-radius: var(--radius-field); }
.board-heading { font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem 1rem; border-bottom: 1px solid #d6e6de; padding-bottom: .8rem; margin-bottom: .75rem; }
.board-heading span { font-size: .82rem; color: #406459; font-weight: 600; }
.board-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.board-steps li { display: flex; align-items: center; gap: .85rem; padding: .65rem .55rem; }
.board-steps li + li { border-top: 1px solid #e0ebe4; }
.step-mark { width: 13px; height: 13px; border: 2px solid var(--teal); background: #e2f5e9; border-radius: 50%; flex: none; }
.board-steps small { color: var(--muted); font-size: .875rem; display: block; }

.section.member-app { padding-block-start: 0; }
.app-grid, .vision-grid, .contact-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  column-gap: clamp(2.25rem, 7vw, 7rem);
  align-items: center;
}
.app-grid {
  --app-glow-position: 77% 45%;
  grid-template-areas: "copy device";
  padding: clamp(1.1rem, 4.3vw, 4.25rem);
  color: #f8fcfa;
  border: 1px solid #286452;
  border-radius: var(--radius-card);
  background: radial-gradient(ellipse at var(--app-glow-position), #296354 0%, #18473b 44%, transparent 72%), #12362e;
  box-shadow: 0 16px 36px #102d2814;
}
.app-copy { grid-area: copy; }
.app-copy .eyebrow { color: var(--mint); }
.app-copy > p:not(.eyebrow) { margin-top: 1.05rem; max-width: 34rem; }
.app-copy > p:not(.eyebrow):not(.lead) { color: #dceee6; }
.app-device {
  grid-area: device;
  width: min(100%, 280px);
  justify-self: center;
}
.device-shell {
  position: relative;
  aspect-ratio: 605 / 1247;
  filter: drop-shadow(0 18px 24px #03181270);
}
.device-display {
  position: absolute;
  inset: 1.764% 4.298%;
  border-radius: 11.75% / 5.4%;
  overflow: hidden;
  background: #fff;
}
.device-display img { position: absolute; top: 4.35%; width: 100%; height: auto; }
.device-display::after { content: ""; position: absolute; width: 25%; height: 3.25%; top: 1.6%; left: 37.5%; background: #080909; border-radius: 999px; }
.device-bezel { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.app-device.in-view .device-shell { animation: device-in .65s ease both; }
.app-proof {
  display: grid;
  justify-items: center;
  gap: .72rem;
  margin-block-start: 1rem;
  color: var(--ink);
  border: 1px solid #d3e2d9;
  border-radius: var(--radius-card);
  background: #f5faf7;
  padding: clamp(1.1rem, 2.7vw, 1.65rem);
  text-align: center;
}
.app-proof-brand { display: flex; justify-content: center; align-items: center; gap: .72rem; text-align: start; }
.app-proof-brand img { flex: none; width: 42px; height: 42px; }
.app-proof-brand h3 { font-size: 1.25rem; letter-spacing: -.032em; }
.app-proof-brand p { color: var(--muted); margin-top: .28rem; font-size: .91rem; }
.app-proof-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding-inline: 1rem;
  border: 1px solid #aacdc0;
  border-radius: 999px;
  color: var(--teal);
  background: var(--white);
  font-size: .9rem;
  text-decoration: none;
}
.app-proof-link:hover { color: var(--ink); background: #e9f5ed; }

.vision { background: var(--white); }
.vision-grid { grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); }
.vision-copy .lead { margin-top: 1.15rem; max-width: 35rem; color: var(--muted); }
.vision-principles { margin: 0; }
.vision-principles > div { padding: 1.25rem 0; border-top: 1px solid #bdcfc4; }
.vision-principles > div:last-child { border-bottom: 1px solid #bdcfc4; }
.vision-principles dt { font-size: clamp(1.15rem, 1.7vw, 1.42rem); font-weight: 700; letter-spacing: -.025em; }
.vision-principles dd { color: var(--muted); margin: .4rem 0 0; }
.contact { padding-block: clamp(.7rem, 1.75vw, 1.4rem); background: var(--white); }
.contact .eyebrow { color: var(--mint); }
.contact-grid {
  width: min(calc(100% - 2rem), 1400px);
  align-items: center;
  padding: clamp(1.25rem, 5vw, 4.5rem);
  color: #fff;
  border: 1px solid #1c5145;
  border-radius: var(--radius-stage);
  background: radial-gradient(ellipse at 23% 0%, #265a4f, transparent 68%), #102b25;
}
.contact-copy .lead { margin: 1.3rem 0 1.5rem; max-width: 34rem; color: #dfede7; }
.contact-privacy { margin: .5rem .2rem 0; text-align: end; font-size: .84rem; color: #e2f2e9; }
.contact-privacy a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: .22em; }
.contact-form { color: var(--ink); background: var(--white); border: 1px solid #dbe9df; border-radius: var(--radius-card); display: grid; gap: 1rem; padding: clamp(1.1rem, 3.5vw, 2.5rem); }
.contact-form label { display: grid; gap: .38rem; font-size: .9375rem; font-weight: 700; }
.form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }
.contact-form input, .contact-form textarea { border: 1px solid #a9c2b6; border-radius: var(--radius-field); background: #fff; padding: .65rem .85rem; resize: vertical; color: var(--ink); min-width: 0; width: 100%; font-size: 1rem; font-weight: 400; }
.contact-form input { min-height: 48px; }
.contact-form .button { justify-self: stretch; }
.form-note { color: var(--muted); font-size: .875rem; }
.form-note a { text-underline-offset: .15em; }
.contact-form .button:disabled { opacity: .65; cursor: default; }
.form-status { margin: 0; font-size: .9375rem; font-weight: 600; }
.form-status:empty { position: absolute; }
.form-status[data-state="success"] { color: #06726F; }
.form-status[data-state="error"] { color: #9b3041; }
.site-footer {
  border-top: 1px solid #e0eae4;
  background: #f7faf8;
  padding: clamp(2rem, 4.75vw, 3.5rem) 0 1.3rem;
}
.footer-top { display: grid; justify-items: center; gap: .8rem; }
.footer-brand { gap: .6rem; }
.footer-brand img { width: 42px; height: 42px; }
.footer-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; }
.footer-contact a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #c9ded2;
  border-radius: 50%;
  color: var(--teal);
  background: var(--white);
  transition: background .2s, color .2s, border-color .2s;
}
.footer-contact a:hover { color: #fff; background: var(--teal); border-color: var(--teal); }
.footer-bottom {
  width: min(100%, 39rem);
  margin: 1.35rem auto 0;
  padding-top: .5rem;
  display: grid;
  justify-items: center;
  gap: .25rem;
  border-top: 1px solid #d9e5de;
  text-align: center;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 clamp(.85rem, 4vw, 1.6rem); }
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font-size: .87rem;
  font-weight: 600;
}
.footer-bottom a:hover { color: var(--teal); text-decoration: underline; text-underline-offset: .25em; }
.footer-copyright { color: var(--muted); margin: 0; font-size: .81rem; }

@media (max-width: 950px) {
  .shell { width: min(calc(100% - 3rem), var(--shell)); }
  .hero-grid { width: calc(100% - 2rem); }
  .hero h1 { font-size: clamp(2.6rem, 5.65vw, 4.3rem); }
  .partner-logos { --logo-columns: 3; }
  .app-device { width: min(85%, 248px); }
  .workflow-copy { padding: .4rem; }
  .workflow-tabs[role="tablist"] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .25rem; }
  .workflow-tabs button {
    min-width: 0;
    padding: .28rem .14rem;
    border-radius: 10px;
    font-size: clamp(.76rem, 3.1vw, .9rem);
    letter-spacing: -.012em;
    line-height: 1.12;
    overflow-wrap: anywhere;
  }
  .workflow-tabs button:focus-visible { outline-offset: 1px; }
}
@media (max-width: 750px) {
  :root { --header: 64px; --radius-stage: 25px; --radius-card: 20px; }
  .shell { width: calc(100% - 2rem); }
  .desktop-nav, .header-cta { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #d5e3da;
    border-radius: 13px;
    color: var(--teal);
    background: #f6faf7;
    cursor: pointer;
    list-style: none;
  }
  .mobile-nav summary:hover { background: #eaf5ee; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav:not([open]) .menu-cross, .mobile-nav[open] .menu-lines { display: none; }
  .mobile-nav nav { position: absolute; right: 0; top: calc(100% + .65rem); width: min(270px, 85vw); max-height: calc(100svh - var(--header) - 1rem); overflow-y: auto; overscroll-behavior-y: contain; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; display: grid; padding: .65rem; box-shadow: 0 20px 50px #06221924; }
  .mobile-nav nav a { display: flex; align-items: center; min-height: 44px; padding: .55rem .75rem; font-weight: 600; }
  .section { padding-block: clamp(3rem, 9vw, 4.5rem); }
  h2 { font-size: clamp(2.1rem, 9.5vw, 3.4rem); line-height: 1.06; }
  .software-grid, .app-grid, .vision-grid, .contact-grid { grid-template-columns: minmax(0,1fr); gap: 1.35rem; }
  .app-grid {
    --app-glow-position: 50% 56%;
    grid-template-areas: "copy" "device";
  }
  .app-device { width: clamp(174px, 60vw, 240px); margin: .35rem 0 .5rem; }
  .hero-grid {
    width: min(calc(100% - 1.2rem), 640px);
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "visual" "action";
    grid-template-rows: auto;
    min-height: 0;
    gap: clamp(.95rem, 3.4vw, 1.4rem);
    padding: 2.1rem clamp(1rem, 3.9vw, 2rem) 1.35rem;
  }
  .hero-cta { width: 100%; margin-top: 0; }
  .contact-grid { width: min(calc(100% - 1.2rem), 640px); }
  .hero h1 { font-size: clamp(2.15rem, 9.9vw, 3.55rem); }
  .hero-image { width: min(100%, 550px); margin-inline: auto; }
}
@media (max-width: 520px) {
  .hero .lead { font-size: 1.06rem; }
  .partner-logos { --logo-columns: 2; }
  .partner-logos li { min-height: 74px; }
  .partner-logos img { height: 38px; }
}
@media (max-width: 375px) {
  .form-row { grid-template-columns: 1fr; }
  .button { padding-inline: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
