@font-face {
  font-family: Sora;
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('./assets/sora-light.ttf') format('truetype');
}

@font-face {
  font-family: Sora;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./assets/sora-regular.ttf') format('truetype');
}

@font-face {
  font-family: Sora;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./assets/sora-semibold.ttf') format('truetype');
}

:root {
  color-scheme: dark;
  --background: #0a0d12;
  --brand: #22d3a6;
  --text: #f2f4f3;
  --muted: #c3cad0;
  --secondary: #8a949c;
  --border: #222932;
  font-family: Sora, Arial, sans-serif;
  font-synthesis: none;
  background: var(--background);
  color: var(--text);
}

* { box-sizing: border-box; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  min-width: 0;
}
main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-block: 2.5rem; }
h1, p { margin: 0; }

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: none;
  gap: 1.75rem;
  padding: 0 1.5rem 2.5rem;
  text-align: center;
}

.brand {
  --brand-scale: 1;
  width: calc(395px * var(--brand-scale));
  height: calc(128px * var(--brand-scale));
  flex: none;
}

.brand__lockup {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  width: max-content;
  height: 128px;
  transform: scale(var(--brand-scale));
  transform-origin: top left;
}

.brand__mark-slot {
  display: flex;
  flex: none;
  padding-bottom: 24px;
}

.brand__mark { display: block; flex: none; }
.brand__word {
  color: var(--brand);
  font-size: 128px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -3.84px;
}

.tagline {
  max-width: 100%;
  color: var(--muted);
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1.35;
  text-wrap: balance;
}

.contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 1rem 1.875rem;
  border-radius: .375rem;
  background: var(--brand);
  color: var(--background);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 150ms ease;
}

.contact:hover { background: #54dfbc; }
.contact:focus-visible { outline: 3px solid var(--text); outline-offset: 6px; }
.contact:active { background: #1ac398; }

.services {
  flex: none;
  border-top: 1px solid var(--border);
  padding: 1.75rem 1.5rem 0;
  text-align: center;
}

.services__prompt {
  color: var(--secondary);
  font-size: .875rem;
  font-weight: 400;
  letter-spacing: .14em;
  line-height: 1.6;
  margin: 0 0 1.5rem;
  text-transform: uppercase;
  text-wrap: balance;
}

.services__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 54rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  font-size: 1.375rem;
  font-weight: 300;
  line-height: 1.269231;
}

.services__list li { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
/* Center the live product on desktop; retain Healthcare first when stacked. */
.services__list li:nth-child(2) { order: -1; }
.industry-status { display: block; color: var(--secondary); font-size: .875rem; font-weight: 400; line-height: 1.5; }
.industry-link { display: flex; flex-direction: column; align-items: center; gap: .5rem; min-height: 3.5rem; color: var(--brand); text-decoration: none; border-radius: .25rem; }
.industry-link .industry-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.industry-link .industry-status { color: var(--muted); }
.industry-link:hover { color: #54dfbc; }
.industry-link:focus-visible { outline: 2px solid var(--brand); outline-offset: 8px; }

.footer {
  flex: none;
  padding: 1.5rem;
  text-align: center;
  color: var(--secondary);
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.285714;
}

@media (max-width: 45rem) {
  .brand { --brand-scale: .8; }
  .tagline { max-width: 30rem; font-size: 1.375rem; line-height: 1.5; }
  .services__list { font-size: 1.25rem; }
}

@media (max-width: 30rem) {
  main { padding-block: 2.5rem; }
  .hero { gap: 1.5rem; padding-block: 0 2.5rem; }
  .brand { --brand-scale: .64; }
  .tagline { max-width: 21rem; font-size: 1.125rem; }
  .services { padding-block: 1.5rem 0; }
  .services__list { grid-template-columns: 1fr; gap: 1.25rem; font-size: 1.125rem; }
  .services__list li:nth-child(2) { order: 0; }
  .footer { line-height: 1.6; }
}

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