/* Vitalis — vitalishealth.ai */

:root {
  --ground:      #16181A;
  --surface:     #1E2124;
  --surface-2:   #272B2F;
  --line:        rgba(206, 210, 214, 0.13);
  --line-strong: rgba(206, 210, 214, 0.24);
  --text:        #F4F5F6;
  --muted:       #A2A8AD;
  --muted-dim:   #7C8388;
  --teal:        #3E9C93;
  --teal-deep:   #1F5C58;

  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --pad: clamp(1.5rem, 5vw, 3rem);
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, svg { max-width: 100%; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }

/* ---------- eyebrow / labels ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 1.25rem;
}
.eyebrow--muted { color: var(--muted-dim); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(22, 24, 26, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-family: var(--mono);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.2em;
}
.brand:hover { text-decoration: none; }
.brand img { width: 22px; height: auto; display: block; }

.site-nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  font-size: 14px;
  letter-spacing: 0.02em;
}
.site-nav a { color: var(--muted); }
.site-nav a:hover { color: var(--text); text-decoration: none; }

@media (max-width: 640px) {
  .site-header .wrap {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.4rem;
    min-height: 0;
    padding-block: 0.8rem;
  }
  .site-nav { flex-wrap: wrap; gap: 1.1rem; font-size: 13px; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 13vw, 9rem) 0 clamp(3.5rem, 9vw, 6rem);
  border-bottom: 1px solid var(--line);
  background-color: var(--ground);
  background-image:
    radial-gradient(120% 90% at 12% -10%, rgba(62, 156, 147, 0.16), transparent 62%),
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 40%, var(--ground));
}
.hero .wrap { position: relative; z-index: 1; }
.hero__mark { width: 62px; height: auto; display: block; margin-bottom: 2.25rem; }
.hero h1 {
  margin: 0;
  font-size: clamp(2.3rem, 6.2vw, 4.1rem);
  line-height: 1.08;
  font-weight: 300;
  letter-spacing: -0.02em;
  max-width: 17ch;
}
.hero h1 em { font-style: normal; color: var(--teal); }
.hero__sub {
  margin: 1.75rem 0 0;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  line-height: 1.55;
  color: var(--muted);
  font-weight: 300;
  max-width: 46ch;
}
.hero__rule {
  width: 64px;
  height: 2px;
  margin: 2.5rem 0 0;
  border: 0;
  background: var(--teal);
}
.hero__motto {
  margin: 1.25rem 0 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-dim);
}

/* ---------- statement band ---------- */

.band {
  padding: clamp(2.75rem, 7vw, 4.5rem) 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(120deg, var(--teal-deep), var(--surface-2) 72%);
}
.statement {
  margin: 0;
  font-size: clamp(1.35rem, 3.4vw, 2.1rem);
  line-height: 1.3;
  font-weight: 300;
  letter-spacing: -0.015em;
  color: var(--text);
  max-width: 34ch;
}
.statement em { font-style: normal; color: var(--muted); display: block; }

/* ---------- sections ---------- */

.section { padding: clamp(3.5rem, 9vw, 6.5rem) 0; border-bottom: 1px solid var(--line); }
.section--quiet { background: var(--surface); }
.section--edge { border-top: 1px solid var(--line-strong); }

.section h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.6rem, 3.6vw, 2.35rem);
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: -0.015em;
  max-width: 22ch;
}
.section h3 {
  margin: 0 0 0.6rem;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.005em;
}
.lede {
  margin: 0;
  font-size: clamp(1.02rem, 2vw, 1.16rem);
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
  max-width: 62ch;
}
.lede + .lede { margin-top: 1.15rem; }
.lede strong { color: var(--text); font-weight: 500; }

/* ---------- card grid ---------- */

.grid {
  display: grid;
  gap: 1px;
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
  background: var(--line);
  border: 1px solid var(--line);
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--ground);
  padding: clamp(1.6rem, 3.5vw, 2.2rem);
  transition: background-color 160ms ease;
}
.card:hover { background: var(--surface-2); }
.section--quiet .card { background: var(--surface); }
.section--quiet .card:hover { background: var(--surface-2); }
.card__num {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.1rem;
}
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.65; }

/* ---------- team ---------- */

.team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 700px) { .team { grid-template-columns: 1fr; } }

.person { background: var(--ground); padding: clamp(1.75rem, 3.5vw, 2.25rem); }
.person__role {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.75rem;
}
.person__name { margin: 0 0 0.15rem; font-size: 1.05rem; font-weight: 600; }
.person__title { margin: 0 0 0.9rem; font-size: 0.85rem; color: var(--muted-dim); }
.person ul { margin: 0; padding: 0; list-style: none; }
.person li {
  position: relative;
  padding-left: 0.95rem;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}
.person li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 4px;
  height: 1px;
  background: var(--muted-dim);
}

/* ---------- commitments list ---------- */

.commitments { margin: clamp(2.25rem, 5vw, 3rem) 0 0; padding: 0; list-style: none; max-width: 68ch; }
.commitments li {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}
.commitments li:last-child { border-bottom: 1px solid var(--line); }
.commitments b { display: block; color: var(--text); font-weight: 600; font-size: 0.95rem; margin-bottom: 0.2rem; }

/* ---------- contact ---------- */

.contact-line {
  margin: 2rem 0 0;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 300;
}
.contact-line a { border-bottom: 1px solid var(--line-strong); }
.contact-line a:hover { text-decoration: none; border-bottom-color: var(--teal); }

/* ---------- footer ---------- */

.site-footer { padding: 3rem 0 3.5rem; color: var(--muted-dim); font-size: 0.85rem; }
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
}
.site-footer a { color: var(--muted); }
.footer-links { display: flex; gap: 1.5rem; }

/* ---------- legal / document pages ---------- */

.doc { padding: clamp(3rem, 8vw, 5rem) 0 clamp(3.5rem, 9vw, 6rem); }
.doc__inner { max-width: 68ch; }
.doc h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.9rem, 4.5vw, 2.7rem);
  font-weight: 300;
  letter-spacing: -0.015em;
}
.doc__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin: 0 0 2.75rem;
}
.doc h2 {
  margin: 2.75rem 0 0.9rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0;
  max-width: none;
}
.doc p, .doc li { color: var(--muted); font-size: 0.97rem; line-height: 1.72; }
.doc p { margin: 0 0 1rem; }
.doc ul { margin: 0 0 1rem; padding-left: 1.15rem; }
.doc li { margin-bottom: 0.5rem; }
.doc strong { color: var(--text); font-weight: 600; }
