:root {
  --ink: #101412;
  --text: #222926;
  --muted: #5f6864;
  --line: #d9e1dc;
  --paper: #ffffff;
  --soft: #f4f7f5;
  --soft-strong: #e8f3ed;
  --green: #0b7f51;
  --green-dark: #075337;
  --teal: #087a72;
  --red: #b9352e;
  --shadow: 0 22px 55px rgba(16, 20, 18, 0.12);
  --radius: 8px;
  --header-height: 76px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body.clynico-site {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.clynico-site img {
  display: block;
  max-width: 100%;
  height: auto;
}

body.clynico-site a {
  color: inherit;
  text-decoration: none;
}

body.clynico-site p {
  margin: 0 0 1rem;
}

body.clynico-site h1,
body.clynico-site h2,
body.clynico-site h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 780;
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

body.clynico-site h1 {
  max-width: 980px;
  font-size: 60px;
}

body.clynico-site h2 {
  font-size: 40px;
}

body.clynico-site h3 {
  font-size: 24px;
  line-height: 1.18;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  max-width: 860px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(16, 20, 18, 0.1);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 178px;
  min-height: 46px;
}

.brand img {
  max-height: 46px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 720;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 11px;
  border-radius: 6px;
  color: #242b28;
  transition: background-color 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--soft-strong);
  color: var(--green-dark);
}

.site-nav .header-cta {
  margin-left: 6px;
  background: var(--green);
  color: var(--paper);
}

.site-nav .header-cta:hover,
.site-nav .header-cta.active {
  background: var(--green-dark);
  color: var(--paper);
}

.clynico-site a:focus-visible,
.clynico-site button:focus-visible,
.clynico-site input:focus-visible,
.clynico-site textarea:focus-visible,
.clynico-site select:focus-visible {
  outline: 3px solid rgba(11, 127, 81, 0.28);
  outline-offset: 3px;
}

.nav-toggle {
  display: none;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}

.hero,
.page-hero {
  background:
    radial-gradient(circle at 85% 10%, rgba(11, 127, 81, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f5f8f6 100%);
  border-bottom: 1px solid var(--line);
}

.hero-home {
  padding: 86px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.76fr);
  gap: 56px;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.5;
}

.hero-art {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--paper);
}

.hero-art img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.page-hero {
  padding: 82px 0 72px;
}

.page-hero .hero-copy {
  font-size: 21px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 840;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: currentColor;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button-row.centered {
  justify-content: center;
}

.button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 780;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover,
.contact-form button:hover {
  transform: translateY(-1px);
}

.clynico-site .button-primary,
.clynico-site .contact-form button {
  background: var(--green);
  color: var(--paper);
}

.clynico-site .button-primary:hover,
.clynico-site .contact-form button:hover {
  background: var(--green-dark);
  color: var(--paper);
}

.clynico-site .button-secondary {
  border-color: var(--ink);
  background: var(--paper);
  color: var(--ink);
}

.clynico-site .button-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.clynico-site .button-tertiary {
  border-color: var(--green);
  background: var(--paper);
  color: var(--green-dark);
}

.clynico-site .button-tertiary:hover {
  background: var(--soft-strong);
  color: var(--green-dark);
}

.section {
  padding: 86px 0;
}

.section-tight {
  padding: 36px 0 0;
}

.section-soft {
  background: var(--soft);
}

.section-split {
  background: var(--paper);
}

.split-grid,
.media-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 68px;
  align-items: start;
}

.media-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
}

.prose-large {
  font-size: 21px;
  line-height: 1.58;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 19px;
}

.external-note {
  display: inline-flex;
  max-width: 760px;
  margin: 0 0 24px;
  padding: 12px 14px;
  border: 1px solid #bfd6cb;
  border-radius: 6px;
  background: var(--soft-strong);
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 740;
}

.image-frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--paper);
}

.image-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.company-card,
.pathway-card,
.panel,
.narrative-row {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.company-card {
  display: flex;
  min-height: 326px;
  flex-direction: column;
  padding: 26px;
}

.company-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 60px;
  margin-bottom: 18px;
}

.company-logo {
  width: min(150px, 70%);
  max-height: 50px;
  object-fit: contain;
  object-position: left center;
}

.company-mark,
.company-row-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--soft-strong);
  color: var(--green-dark);
  font-weight: 840;
}

.company-mark {
  width: 52px;
  height: 52px;
}

.company-row-mark {
  width: 58px;
  height: 58px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid #bfd6cb;
  border-radius: 6px;
  background: var(--soft-strong);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 760;
  white-space: nowrap;
}

.company-category {
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 840;
  text-transform: uppercase;
}

.company-card h3 {
  margin-bottom: 14px;
}

.company-card p:not(.company-category) {
  color: var(--muted);
}

.company-card .button {
  width: fit-content;
  margin-top: auto;
}

.company-section {
  padding: 72px 0;
}

.company-section:nth-of-type(odd) {
  background: var(--soft);
}

.company-list {
  display: grid;
  gap: 14px;
}

.company-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.company-row-main {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.company-row-logo {
  width: 90px;
  max-height: 54px;
  object-fit: contain;
  object-position: left center;
}

.company-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.company-row-meta .company-category {
  margin: 0;
}

.company-row p {
  max-width: 760px;
  color: var(--muted);
}

.narrative-stack {
  display: grid;
  gap: 18px;
}

.narrative-row {
  padding: 34px;
}

.narrative-row h2 {
  margin-bottom: 18px;
}

.check-list,
.statement-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.statement-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before,
.statement-list li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
}

.statement-list li {
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 22px;
  line-height: 1.35;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.panel {
  padding: 34px;
}

.panel h2 {
  font-size: 30px;
  line-height: 1.22;
}

.panel-accent {
  background: var(--soft);
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pathway-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 30px;
}

.pathway-card h2 {
  margin-bottom: 14px;
}

.pathway-card p:not(.eyebrow) {
  color: var(--muted);
}

.pathway-card .button {
  width: fit-content;
  margin-top: auto;
}

.final-cta {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}

.final-cta h1,
.final-cta h2,
.final-cta p,
.final-cta .eyebrow {
  color: var(--paper);
}

.final-cta h1,
.final-cta h2 {
  margin: 0 auto 22px;
  max-width: 920px;
}

.final-cta p {
  max-width: 760px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.clynico-site .final-cta .button-secondary {
  border-color: rgba(255, 255, 255, 0.74);
  background: transparent;
  color: var(--paper);
}

.clynico-site .final-cta .button-secondary:hover {
  background: var(--paper);
  color: var(--ink);
}

.page-fill {
  min-height: 62vh;
  display: flex;
  align-items: center;
}

.contact-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
}

.contact-grid > div p:not(.eyebrow) {
  color: var(--muted);
  font-size: 19px;
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.contact-form label {
  margin-top: 6px;
  color: var(--ink);
  font-weight: 760;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #c8d2cc;
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  letter-spacing: 0;
}

.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--green);
  outline: 3px solid rgba(11, 127, 81, 0.16);
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-alert {
  padding: 14px 16px;
  border-radius: 6px;
  font-weight: 740;
}

.form-alert.error {
  background: #fbe7e4;
  color: #8f221b;
}

.form-note {
  margin: 8px 0 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.site-footer {
  background: #101412;
  color: rgba(255, 255, 255, 0.94);
  padding: 58px 0 28px;
}

.site-footer h2 {
  margin-bottom: 16px;
  color: var(--paper);
  font-size: 18px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 1fr 0.75fr;
  gap: 38px;
}

.footer-logo {
  width: 182px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.footer-nav {
  display: grid;
  gap: 10px;
}

.footer-nav a,
.footer-contact {
  min-height: 28px;
}

.footer-nav a:hover,
.footer-contact:hover {
  color: #8be2b7;
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 1060px) {
  body.clynico-site h1 {
    font-size: 50px;
  }

  body.clynico-site h2 {
    font-size: 35px;
  }

  .company-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pathway-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1120px) {
  :root {
    --header-height: 70px;
  }

  .container {
    width: min(1120px, calc(100% - 28px));
  }

  .header-inner {
    min-height: var(--header-height);
  }

  .brand {
    width: 154px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    justify-content: space-between;
  }

  .site-nav .header-cta {
    margin-left: 0;
    justify-content: center;
  }

  .hero-home,
  .page-hero {
    padding: 62px 0;
  }

  .hero-grid,
  .split-grid,
  .media-grid,
  .contact-grid,
  .two-column {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-art img,
  .image-frame img {
    aspect-ratio: 16 / 10;
  }

  body.clynico-site h1 {
    font-size: 40px;
  }

  body.clynico-site h2 {
    font-size: 30px;
  }

  .hero-copy,
  .page-hero .hero-copy,
  .prose-large {
    font-size: 19px;
  }

  .section {
    padding: 64px 0;
  }

  .section-tight {
    padding: 28px 0 0;
  }

  .company-grid {
    grid-template-columns: 1fr;
  }

  .company-card {
    min-height: 0;
  }

  .company-row {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 22px;
  }

  .company-row-main {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .company-row-logo {
    width: 72px;
  }

  .contact-form,
  .narrative-row,
  .panel,
  .pathway-card {
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  body.clynico-site {
    font-size: 16px;
  }

  body.clynico-site h1 {
    font-size: 34px;
  }

  body.clynico-site h2 {
    font-size: 27px;
  }

  .button,
  .contact-form button {
    width: 100%;
  }

  .button-row {
    width: 100%;
  }

  .company-row-main {
    grid-template-columns: 1fr;
  }

  .company-row-logo {
    width: 118px;
  }
}
