:root {
  --hcp-ink: #101316;
  --hcp-muted: rgba(16, 19, 22, 0.68);
  --hcp-paper: #f5f3ef;
  --hcp-soft: #e6e2da;
  --hcp-panel: rgba(255, 255, 255, 0.64);
  --hcp-panel-strong: rgba(255, 255, 255, 0.82);
  --hcp-line: rgba(16, 19, 22, 0.1);
  --hcp-line-strong: rgba(16, 19, 22, 0.16);
  --hcp-accent: #d9eee9;
  --hcp-client-accent: var(--hcp-accent);
  --hcp-gutter: clamp(18px, 3.4vw, 42px);
  --hcp-gap: clamp(16px, 2vw, 28px);
  --hcp-radius: 8px;
  --hcp-font: "Archivo", Arial, sans-serif;
  --hcp-shadow: 0 18px 45px rgba(16, 19, 22, 0.08);
  --hcp-shadow-soft: 0 10px 28px rgba(16, 19, 22, 0.055);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--hcp-paper);
  color: var(--hcp-ink);
  font-family: var(--hcp-font);
}

body {
  min-height: 100%;
  margin: 0;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--hcp-accent) 34%, transparent), transparent 34rem),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.84), transparent 28rem),
    var(--hcp-paper);
  color: var(--hcp-ink);
  font-size: 14px;
  font-weight: 350;
  font-stretch: 92%;
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.hcp-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--hcp-gap);
  align-items: center;
  min-height: 72px;
  padding: 16px var(--hcp-gutter);
  border-bottom: 1px solid var(--hcp-line-strong);
  background: rgba(245, 243, 239, 0.9);
  backdrop-filter: blur(18px);
}

.hcp-brand-lockup {
  display: flex;
  gap: 14px;
  align-items: baseline;
  min-width: 0;
}

.hcp-brand-lockup span {
  color: var(--hcp-muted);
  font-size: 11px;
  font-weight: 550;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hcp-wordmark {
  color: var(--hcp-ink);
  font-size: clamp(18px, 2vw, 30px);
  font-weight: 650;
  font-stretch: 78%;
  line-height: 0.92;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.hcp-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.hcp-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--hcp-line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  text-decoration: none;
}

.hcp-main {
  display: grid;
  gap: 26px;
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 30px var(--hcp-gutter) 72px;
}

.hcp-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--hcp-gap);
  align-items: stretch;
  min-height: 210px;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--hcp-line-strong);
  border-radius: var(--hcp-radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.56)),
    linear-gradient(135deg, color-mix(in srgb, var(--hcp-accent) 34%, transparent), transparent 68%);
  box-shadow: var(--hcp-shadow);
}

.hcp-kicker,
.hcp-card-meta {
  margin: 0;
  color: var(--hcp-muted);
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
}

.hcp-hero-panel h1 {
  max-width: 820px;
  margin: 12px 0 14px;
  font-size: clamp(34px, 5vw, 72px);
  font-weight: 560;
  font-stretch: 78%;
  line-height: 0.9;
  text-transform: uppercase;
}

.hcp-hero-panel span {
  color: var(--hcp-muted);
}

.hcp-hero-stat {
  display: grid;
  align-content: end;
  justify-items: end;
  min-width: 180px;
  padding: 18px;
  border: 1px solid var(--hcp-line);
  border-radius: var(--hcp-radius);
  background: rgba(255, 255, 255, 0.5);
}

.hcp-hero-stat span {
  color: var(--hcp-ink);
  font-size: clamp(38px, 5vw, 70px);
  font-weight: 620;
  font-stretch: 75%;
  line-height: 0.85;
}

.hcp-hero-stat p {
  margin: 8px 0 0;
  color: var(--hcp-muted);
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
}

.hcp-section-label {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  padding: 4px 2px;
}

.hcp-section-label h2 {
  margin: 0;
  font-size: clamp(22px, 2.5vw, 36px);
  font-weight: 560;
  font-stretch: 78%;
  line-height: 0.95;
  text-transform: uppercase;
}

.hcp-section-label p {
  max-width: 34rem;
  margin: 0;
  color: var(--hcp-muted);
  text-align: right;
}

.hcp-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 18px;
}

.hcp-card {
  position: relative;
  min-height: 250px;
  padding: clamp(20px, 2.2vw, 30px);
  border: 1px solid var(--hcp-line-strong);
  border-radius: var(--hcp-radius);
  background: var(--hcp-panel-strong);
  box-shadow: var(--hcp-shadow-soft);
  overflow: hidden;
}

.hcp-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--hcp-client-accent);
}

a.hcp-card {
  display: grid;
  align-content: start;
  gap: 14px;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

a.hcp-card:hover {
  border-color: rgba(16, 19, 22, 0.26);
  box-shadow: var(--hcp-shadow);
  transform: translateY(-2px);
}

.hcp-card-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
}

.hcp-period {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid color-mix(in srgb, var(--hcp-client-accent) 70%, var(--hcp-line-strong));
  border-radius: 999px;
  background: color-mix(in srgb, var(--hcp-client-accent) 46%, white);
  color: var(--hcp-ink);
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
}

.hcp-card h2 {
  margin: 0;
  font-size: clamp(22px, 2.3vw, 34px);
  font-weight: 560;
  font-stretch: 78%;
  line-height: 0.98;
  text-transform: uppercase;
}

.hcp-card h2 a {
  text-decoration: none;
}

.hcp-card p {
  max-width: 36rem;
  margin: 0;
  color: var(--hcp-muted);
}

.hcp-report-card {
  display: grid;
  gap: 16px;
}

.hcp-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-self: end;
  padding-top: 10px;
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
}

.hcp-card-actions a,
.hcp-card-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--hcp-line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  text-decoration: none;
}

.hcp-card-actions a:first-child {
  border-color: var(--hcp-ink);
  background: var(--hcp-ink);
  color: var(--hcp-paper);
}

.hcp-client-hero {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
}

.hcp-client-logo-panel {
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--hcp-line);
  border-radius: var(--hcp-radius);
  background: rgba(255, 255, 255, 0.52);
}

.hcp-client-logo {
  max-width: 190px;
  max-height: 82px;
  object-fit: contain;
}

.hcp-empty {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin: 12px 0;
  padding: 28px;
  border: 1px solid var(--hcp-line-strong);
  border-radius: var(--hcp-radius);
  background: var(--hcp-panel-strong);
  box-shadow: var(--hcp-shadow-soft);
}

.hcp-empty-inline {
  max-width: none;
  margin: 0;
}

.hcp-empty h1,
.hcp-empty h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 560;
  font-stretch: 78%;
  line-height: 0.95;
  text-transform: uppercase;
}

.hcp-empty p {
  margin: 0;
  color: var(--hcp-muted);
}

.hcp-login-body {
  display: grid;
  min-height: 100vh;
}

.hcp-login-shell {
  display: grid;
  align-items: center;
  min-height: 100vh;
  padding: var(--hcp-gutter);
}

.hcp-login-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 430px);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
  width: min(1120px, 100%);
  margin: auto;
}

.hcp-login-brand {
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--hcp-line-strong);
  border-radius: var(--hcp-radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.38)),
    linear-gradient(135deg, color-mix(in srgb, var(--hcp-accent) 44%, transparent), transparent 65%);
  box-shadow: var(--hcp-shadow);
}

.hcp-login-panel h1 {
  max-width: 680px;
  margin: 12px 0;
  font-size: clamp(48px, 8vw, 112px);
  font-weight: 650;
  font-stretch: 76%;
  line-height: 0.84;
  text-transform: uppercase;
}

.hcp-login-copy {
  max-width: 30rem;
  margin: 0;
  color: var(--hcp-muted);
  font-size: 16px;
}

.hcp-login-form {
  display: grid;
  gap: 13px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--hcp-line-strong);
  border-radius: var(--hcp-radius);
  background: var(--hcp-panel-strong);
  box-shadow: var(--hcp-shadow-soft);
}

.hcp-login-form-head {
  margin-bottom: 8px;
}

.hcp-login-form-head h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 560;
  font-stretch: 78%;
  line-height: 0.95;
  text-transform: uppercase;
}

.hcp-login-form-head p {
  margin: 8px 0 0;
  color: var(--hcp-muted);
}

.hcp-login-form label {
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
}

.hcp-login-form input[type="text"],
.hcp-login-form input[type="password"] {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--hcp-line-strong);
  border-radius: 6px;
  outline: 0;
  background: rgba(255, 255, 255, 0.6);
  color: var(--hcp-ink);
  font: inherit;
}

.hcp-login-form input:focus {
  border-color: var(--hcp-ink);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--hcp-accent) 58%, transparent);
}

.hcp-form-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin: 4px 0 8px;
  font-size: 12px;
}

.hcp-check {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.hcp-form-error {
  margin: 0 0 4px;
  color: #b42318;
  font-weight: 600;
}

.hcp-button,
.hcp-button-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--hcp-ink);
  border-radius: 999px;
  background: transparent;
  color: var(--hcp-ink);
  font-family: var(--hcp-font);
  font-size: 11px;
  font-weight: 650;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.hcp-button-primary {
  background: var(--hcp-ink);
  color: var(--hcp-paper);
}

@supports not (color: color-mix(in srgb, white, black)) {
  body,
  .hcp-hero-panel,
  .hcp-login-brand {
    background: var(--hcp-paper);
  }

  .hcp-period {
    background: var(--hcp-accent);
  }
}

@media (max-width: 820px) {
  .hcp-header,
  .hcp-hero-panel,
  .hcp-client-hero,
  .hcp-login-panel {
    grid-template-columns: 1fr;
  }

  .hcp-brand-lockup {
    display: grid;
    gap: 6px;
  }

  .hcp-nav {
    justify-content: start;
  }

  .hcp-hero-stat,
  .hcp-client-logo-panel {
    justify-items: start;
    min-width: 0;
  }

  .hcp-section-label {
    display: grid;
  }

  .hcp-section-label p {
    text-align: left;
  }
}
