/* Topography — minimal public site (index.html, sign-in.html, healthcare/). Legacy pages use styles.css. */

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("fonts/source-serif-4-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("fonts/source-serif-4-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/source-serif-4-italic-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/source-serif-4-italic-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

:root {
  --serif: "Source Serif 4", Georgia, serif;
  --ink: #1a1a1a;
  --ink-muted: #6b6b6b;
  --ink-note: #666666;
  --link: #2b4a8a;
  --link-hover: #555555;
  --field-border: #8a8a8a;
  --bg: #eef9ff;
  /* Above-the-fold gap: 336px at 1920px wide, 96px at 1024px wide. */
  --above-fold: clamp(96px, calc(96px + (100vw - 1024px) * 15 / 56), 336px);
}

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

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

body {
  margin: 0;
  font-family: var(--serif);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
a:hover {
  color: var(--link-hover);
}
a.accent,
a.accent:hover {
  color: var(--link);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 28px 140px 48px 70px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
}

.wordmark .mark {
  display: block;
  width: 1em;
  height: 1em;
  flex: none;
}

.wordmark .mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.statement {
  display: flex;
  flex-direction: column;
  max-width: 460px;
  margin-top: min(42vh, var(--above-fold));
}

.statement h1 {
  margin: 0;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.34;
  letter-spacing: -0.005em;
}

.statement .sectors {
  margin: 28px 0 0;
  font-size: 21px;
  font-style: italic;
  color: var(--ink-muted);
}

/* Beat global `a { text-decoration: underline }` — identical to neighboring sector text. */
.statement .sectors a.sectors-link,
.statement .sectors a.sectors-link:link,
.statement .sectors a.sectors-link:visited,
.statement .sectors a.sectors-link:active,
.statement .sectors a.sectors-link:focus,
.statement .sectors a.sectors-link:any-link {
  color: inherit;
  font: inherit;
  font-style: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  background: none;
  text-decoration: none;
  text-decoration-line: none;
  text-decoration-thickness: initial;
  text-underline-offset: initial;
  text-decoration-color: inherit;
}

.statement .sectors a.sectors-link:hover {
  color: inherit;
  text-decoration: underline;
  text-decoration-line: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.statement .contact {
  margin: 72px 0 0;
  font-size: 19px;
  line-height: 1.8;
}

.sign-in {
  width: 340px;
  max-width: 100%;
  /* Same curve as the homepage, scaled to the original 240px cap. */
  margin-top: min(30vh, calc(var(--above-fold) * 240 / 336));
}

.sign-in form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sign-in h1 {
  margin: 0 0 8px;
  font-size: 42px;
  font-weight: 400;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 17px;
}

.field input {
  height: 44px;
  padding: 0 12px;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--field-border);
  border-radius: 2px;
}

.sign-in button {
  height: 44px;
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 18px;
  color: #ffffff;
  background: var(--ink);
  border: none;
  border-radius: 2px;
  cursor: pointer;
}
.sign-in button:hover {
  background: #333333;
}

.sign-in .note {
  margin: 8px 0 0;
  font-size: 17px;
  color: var(--ink-note);
}

@media (max-width: 720px) {
  .page {
    padding: 20px 24px 32px;
  }

  .site-header {
    align-items: center;
    min-height: 44px;
  }

  .wordmark {
    font-size: 20px;
    letter-spacing: 0;
  }

  .statement,
  .sign-in {
    flex-grow: 1;
    justify-content: center;
    margin-top: 0;
  }

  .statement h1 {
    font-size: 32px;
    line-height: 1.3;
    letter-spacing: 0;
  }

  .statement .sectors {
    margin-top: 22px;
    font-size: 19px;
    line-height: 1.6;
  }

  .statement .contact {
    margin-top: 48px;
    font-size: 18px;
    line-height: 1.7;
  }

  .sign-in {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .sign-in h1 {
    font-size: 36px;
  }
}

/* ------------------------------------------------------------------- *
 * Healthcare landing (/healthcare)
 * ------------------------------------------------------------------- */

.header-link {
  font-size: 17px;
}

.healthcare {
  max-width: 640px;
  width: 100%;
}

.healthcare .hc-hero {
  margin-top: min(28vh, var(--above-fold));
}

.healthcare .hc-hero h1 {
  margin: 0;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.34;
  letter-spacing: -0.005em;
  max-width: 560px;
}

.healthcare .audience {
  margin: 28px 0 0;
  font-size: 21px;
  font-style: italic;
  color: var(--ink-muted);
}

.healthcare .hc-prose {
  margin: 56px 0 0;
}

.healthcare .hc-prose p {
  margin: 0 0 1.2em;
  font-size: 19px;
  line-height: 1.7;
}

.healthcare .hc-prose p:last-child {
  margin-bottom: 0;
}

.checklist {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 19px;
  line-height: 1.6;
}

.checklist li::before {
  content: "\2713";
  flex-shrink: 0;
  width: 1.1em;
  margin-top: 0.1em;
  font-size: 1.05em;
  line-height: 1;
  color: var(--link);
}

.hc-cta {
  margin: 40px 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  font-family: inherit;
  font-size: 18px;
  color: #ffffff;
  background: var(--ink);
  border: none;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover {
  color: #ffffff;
  background: #333333;
}
.btn-outline {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
}
.btn-outline:hover {
  color: var(--ink);
  background: rgba(26, 26, 26, 0.06);
}

.hc-section {
  margin-top: 120px;
}

.section-label {
  margin: 0 0 6px;
  font-size: 17px;
  font-style: italic;
  color: var(--ink-muted);
}

.healthcare .hc-section h2 {
  margin: 0 0 28px;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.3;
}

.section-sub {
  margin: -16px 0 28px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-muted);
}

.spec-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(26, 26, 26, 0.15);
}

.spec-grid li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 16px 12px;
  border-right: 1px solid rgba(26, 26, 26, 0.15);
  font-size: 18px;
  text-align: center;
}

.spec-grid li:last-child {
  border-right: none;
}

.hc-note {
  margin: 28px 0 0;
  font-size: 19px;
  line-height: 1.7;
}

.spec-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.faq-group {
  border-top: 1px solid rgba(26, 26, 26, 0.15);
}

.faq-group:last-child {
  border-bottom: 1px solid rgba(26, 26, 26, 0.15);
}

.faq-group > summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  min-height: 44px;
  padding: 20px 0;
  font-size: 22px;
  list-style: none;
  cursor: pointer;
}

.faq-group > summary::-webkit-details-marker {
  display: none;
}

.faq-group > summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--ink-muted);
}

.faq-group[open] > summary::after {
  content: "\2212";
}

.faq-group > summary:hover {
  color: var(--link-hover);
}

.faq-group-body {
  padding: 0 0 16px;
}

.faq-qa {
  border-top: 1px solid rgba(26, 26, 26, 0.08);
  padding: 14px 0 0;
}

.faq-qa h3 {
  margin: 0;
  padding: 2px 0 2px 16px;
  border-left: 2px solid rgba(26, 26, 26, 0.2);
  font-size: 19px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  text-align: left;
  color: var(--ink-muted);
}

.faq-qa p {
  margin: 12px 0 22px;
  padding-left: 18px;
  font-size: 18px;
  font-style: normal;
  line-height: 1.7;
  color: #333333;
}

.why-copy {
  margin: 0;
  padding: 20px 0;
  border-top: 1px solid rgba(26, 26, 26, 0.15);
  border-bottom: 1px solid rgba(26, 26, 26, 0.15);
}

.hc-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hc-steps > li {
  display: flex;
  gap: 20px;
  padding: 24px 0 28px;
  border-top: 1px solid rgba(26, 26, 26, 0.15);
}

.hc-steps .step-num {
  flex-shrink: 0;
  width: 24px;
  font-size: 22px;
  color: var(--ink-muted);
}

.hc-steps h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 400;
}

.hc-steps p {
  margin: 4px 0 18px;
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink-muted);
}

.hc-contact {
  margin: 36px 0 0;
  font-size: 19px;
}

.sticky-cta {
  display: none;
}

@media (max-width: 720px) {
  .healthcare .hc-hero {
    margin-top: 18vh;
  }

  .healthcare .hc-hero h1 {
    font-size: 32px;
    line-height: 1.3;
  }

  .healthcare .hc-section {
    margin-top: 80px;
  }

  .healthcare .hc-section h2 {
    font-size: 26px;
  }

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

  .spec-grid li:nth-child(2n) {
    border-right: none;
  }

  .spec-grid li:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(26, 26, 26, 0.15);
  }

  .spec-actions .btn,
  .hc-steps .btn {
    width: 100%;
  }

  html.sticky-cta-visible .page {
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
  }

  .sticky-cta:not([hidden]) {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    padding: 12px 24px calc(12px + env(safe-area-inset-bottom));
    background: var(--bg);
    border-top: 1px solid rgba(26, 26, 26, 0.15);
  }

  .sticky-cta .btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .spec-grid li {
    border-right: none;
    border-bottom: 1px solid rgba(26, 26, 26, 0.15);
  }

  .spec-grid li:last-child {
    border-bottom: none;
  }
}

/* NDA embed signing (/healthcare/nda) — minimal chrome, form is the focus */
.page.nda-sign-page {
  padding: 20px 24px 0;
}

.nda-sign {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  margin: 16px 0 0;
  min-height: 0;
}

.nda-sign docuseal-form {
  display: block;
  width: 100%;
  flex: 1;
  min-height: calc(100svh - 80px);
}

/* NDA signed handoff (/healthcare/signed) */
.signed-handoff .redirect-progress {
  margin: 36px 0 0;
  width: 100%;
  max-width: 360px;
  height: 6px;
  background: rgba(26, 26, 26, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.signed-handoff .redirect-progress-bar {
  width: 0;
  height: 100%;
  background: var(--ink);
  border-radius: 2px;
}

.signed-handoff .hc-cta {
  margin-top: 28px;
}

.signed-handoff .hc-cta .accent {
  font-size: 18px;
}
