:root {
  color-scheme: light;
  --ink: #172033;
  --green: #2e7d5a;
  --sage: #8ea819;
  --teal: #3ca5a7;
  --paper: #fbfcfb;
  --soft: #eef5f1;
  --line: rgba(23, 32, 51, 0.13);
  --muted: #63716c;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Avenir, "Avenir Next", Inter, Arial, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 18px 48px;
  background: rgba(251, 252, 251, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand-mark img {
  display: block;
  width: 190px;
  height: auto;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: rgba(23, 32, 51, 0.72);
  font-size: 14px;
  font-weight: 800;
}

nav a:hover {
  color: var(--green);
}

.hero {
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 140px 48px 72px;
  background-image: linear-gradient(90deg, rgba(251, 252, 251, 0.9), rgba(251, 252, 251, 0.46), rgba(23, 32, 51, 0.06)), url("assets/sedecio-pharma-hero-v2.png");
  background-size: cover;
  background-position: center;
}

.hero-copy {
  width: min(630px, 100%);
  margin-left: max(0px, calc((100vw - 1180px) / 2));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: 72px;
  line-height: 0.98;
  font-weight: 850;
}

h2 {
  margin-bottom: 0;
  font-size: 38px;
  line-height: 1.12;
  font-weight: 850;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 850;
}

.lead {
  max-width: 560px;
  margin-bottom: 30px;
  color: rgba(23, 32, 51, 0.76);
  font-size: 22px;
}

.hero-actions,
.contact-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 4px;
  border: 1px solid rgba(23, 32, 51, 0.2);
  font-weight: 850;
}

.button.primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
}

.button.dark {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.section {
  padding: 84px 48px;
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: start;
}

.text-stack p {
  color: inherit;
  font-size: 18px;
}

.text-stack p:last-child {
  margin-bottom: 0;
}

.band-light {
  background: var(--paper);
}

.band-dark {
  background: var(--ink);
  color: var(--white);
}

.band-dark .eyebrow {
  color: #b9cf67;
}

.band-sage {
  background: var(--soft);
}

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

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

.standard-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 6px solid var(--green);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.standard-card:nth-child(2) {
  border-top-color: var(--sage);
}

.standard-card:nth-child(3) {
  border-top-color: var(--teal);
}

.standard-card p {
  color: rgba(255, 255, 255, 0.72);
}

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

.contact-inner {
  justify-content: space-between;
}

.contact-inner h2 {
  max-width: 760px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 48px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.site-footer img {
  width: 178px;
  height: auto;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    padding: 16px 22px;
  }

  nav {
    justify-content: flex-end;
    gap: 12px;
    font-size: 12px;
  }

  .brand-mark img {
    width: 150px;
  }

  .hero,
  .section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero {
    min-height: 88vh;
    padding-top: 132px;
    background-position: 42% center;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 30px;
  }

  .lead {
    font-size: 19px;
  }

  .two-column,
  .standards-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .standard-card {
    min-height: auto;
  }

  .contact-inner,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
