/* ============================================================
   Theme tokens approximating SBMI / UTHealth dotCMS styling
   ============================================================ */

:root {

  /* ---- Clinical Data Core brand palette ---- */

  --uth-blue: #002856;

  --uth-blue-dark: #001b3d;

  --uth-slate: #4e738a;

  --uth-orange: #ae6041;

  --uth-orange-dark: #8f4a30;

  --uth-gray: #747578;

  --uth-light: #eef1f0;

  --uth-border: #dfe5e3;

  --uth-text: #2b2f31;

  --maxw: 1170px;

  --radius: 6px;

}


/* ============================================================
   Base
   ============================================================ */

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


html {
  font-size: 100%;
  scroll-behavior: smooth;
}


body {
  margin: 0;

  font-family:
    "Source Sans Pro",
    "Helvetica Neue",
    Arial,
    sans-serif;

  color: var(--uth-text);

  line-height: 1.6;

  background: #fff;

  overflow-x: hidden;
}


img {
  max-width: 100%;
  height: auto;
}


svg {
  max-width: 100%;
}


a {
  color: var(--uth-blue);
  text-decoration: none;
}


a:hover {
  text-decoration: underline;
  color: var(--uth-blue-dark);
}


a:active {
  color: var(--uth-orange-dark);
}


a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--uth-orange);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #fff;
}


/* ============================================================
   Spacing and text utilities
   ============================================================ */

.proof-note {
  margin-top: 1rem;

  font-size: .9rem;

  color: var(--uth-gray);
}


.mt-12 {
  margin-top: 1.2rem;
}


.mt-16 {
  margin-top: 1.6rem;
}


.mb-0 {
  margin-bottom: 0;
}


.ml-half {
  margin-left: .5rem;
}


/* ============================================================
   Utility bar
   ============================================================ */

.util-bar {
  background: var(--uth-blue-dark);

  font-size: .78rem;
}


.util-bar ul {
  list-style: none;

  display: flex;

  flex-wrap: wrap;

  gap: 1.1rem;

  margin: 0 auto;

  padding: .4rem 1rem;

  max-width: var(--maxw);
}


.util-bar a {
  color: #cdd8e4;

  text-transform: uppercase;

  letter-spacing: .04em;
}


/* ============================================================
   Header / nav
   ============================================================ */

header.site {
  background: #fff;

  border-bottom: 3px solid var(--uth-orange);
}


.header-inner {
  max-width: var(--maxw);

  margin: 0 auto;

  display: flex;

  align-items: center;

  justify-content: flex-start;

  padding: .9rem 1rem;

  flex-wrap: wrap;

  gap: 1rem;
}


.logo img {
  height: 62px;

  width: auto;
}


nav.main ul {
  list-style: none;

  display: flex;

  flex-wrap: wrap;

  gap: 1.2rem;

  margin: 0;

  padding: 0;

  font-weight: 600;

  font-size: .92rem;
}


nav.main a {
  color: var(--uth-gray);

  text-transform: uppercase;

  letter-spacing: .02em;
}


nav.main a:hover {
  color: var(--uth-blue);
}


/* ============================================================
   Sub nav
   ============================================================ */

.subnav {
  background: var(--uth-light);

  border-bottom: 1px solid var(--uth-border);
}


.subnav ul {
  list-style: none;

  display: flex;

  flex-wrap: wrap;

  gap: 0;

  margin: 0 auto;

  padding: 0;

  max-width: var(--maxw);
}


.subnav li {
  border-right: 1px solid var(--uth-border);
}


.subnav a {
  display: block;

  padding: .7rem 1rem;

  font-size: .86rem;

  font-weight: 600;

  color: var(--uth-blue);

  text-transform: uppercase;

  letter-spacing: .02em;
}


.subnav a:hover {
  background: #fff;

  text-decoration: none;
}


.subnav a.active {
  border-bottom: 3px solid var(--uth-orange);
}


/* ============================================================
   Hero banner
   ============================================================ */

.hero {
  position: relative;

  background:
    linear-gradient(
      120deg,
      var(--uth-blue-dark),
      var(--uth-blue)
    );

  color: #fff;
}


.hero-inner {
  width: 100%;

  max-width: none;

  margin: 0;

  padding: 30px;
}


.hero h1 {
  font-size: 2.3rem;

  margin: 0 0 .5rem;

  font-weight: 700;
}


.hero .tag {
  font-size: 1.15rem;
  color: #e9d9cf;
  max-width: 760px;
      padding-top: 10px;
}


.hero .badge {
  display: inline-block;

  margin-bottom: 1rem;

  background: rgba(255, 255, 255, .12);

  border: 1px solid rgba(255, 255, 255, .3);

  padding: .3rem .8rem;

  border-radius: 999px;

  font-size: .72rem;

  letter-spacing: .06em;

  text-transform: uppercase;
}


/* ============================================================
   Content
   ============================================================ */

main#page-content {
  width: 100%;

  max-width: none;

  margin: 0;

  padding: 0;
}


main {
  max-width: var(--maxw);

  margin: 0 auto;

  padding: 2.5rem 1rem;
}


section {
  margin-bottom: 2.8rem;
}


h2 {
  color: var(--uth-blue-dark);

  font-size: 1.65rem;

  border-bottom: 2px solid var(--uth-orange);

  padding-bottom: .4rem;

  margin-top: 0;
}


h3 {
  color: var(--uth-blue);

  font-size: 1.2rem;

  margin-bottom: .3rem;
}


.lead {
  font-size: 1.12rem;
}


/* ============================================================
   Cards
   ============================================================ */

.cards {
  display: grid;

  grid-template-columns:
    repeat(
      auto-fit,
      minmax(250px, 1fr)
    );

  gap: 1.2rem;
}


.card {
  border: 1px solid var(--uth-border);

  border-radius: var(--radius);

  padding: 1.3rem;

  background: #fff;

  transition:
    box-shadow .2s,
    transform .2s;
}


.card:hover {
  box-shadow:
    0 6px 18px rgba(0, 60, 97, .12);

  transform: translateY(-2px);
}


.card .icon {
  font-size: 1.6rem;

  margin-bottom: .4rem;
}


/* ============================================================
   Stat row
   ============================================================ */

.stats {
  display: grid;

  grid-template-columns:
    repeat(
      auto-fit,
      minmax(180px, 1fr)
    );

  gap: 1rem;
}


.stat {
  background: var(--uth-light);

  border-left: 4px solid var(--uth-orange);

  border-radius: var(--radius);

  padding: 1.2rem;
}


.stat .num {
  font-size: 2rem;

  font-weight: 700;

  color: var(--uth-blue-dark);

  line-height: 1;
}


.stat {
  font-size: .9rem;

  color: var(--uth-gray);

  margin-top: .3rem;
}


.lbl {
  font-size: .9rem;

  color: #000;

  margin-top: .3rem;
}

/* ============================================================
   Security & Guardrails
   ============================================================ */

.security-guardrails {
  width: 100%;
}


.security-guardrails > p {
  margin-bottom: 1.2rem;
}


/* ============================================================
   Security guard list
   ============================================================ */

.guard {
  list-style: none;

  margin: 0;

  padding: 0;

  align-items: stretch;
}


.guard > .cell {
  display: flex;

  min-width: 0;
}


.guard-card {
  width: 100%;

  min-height: 170px;

  padding: 1rem;

  background: #fff;

  border: 1px solid var(--uth-border);

  border-top: 3px solid var(--uth-blue);

  border-radius: var(--radius);
      margin-bottom: 10px;
}


.guard-card h3 {
  margin: 0 0 .35rem;

  color: var(--uth-blue-dark);

  font-size: 1rem;

  font-weight: 700;

  line-height: 1.35;
}


.guard-card p {
  margin: 0;

  color: var(--uth-text);

  font-size: .96rem;

  line-height: 1.6;
  
  
}


/* ============================================================
   Security checklist
   ============================================================ */

.security-guardrails .checklist {
  margin-top: 1.2rem;
}


/* ============================================================
   Checklist
   ============================================================ */

ul.checklist {
  list-style: none;

  padding-left: 0;

  margin-bottom: 0;
}


ul.checklist li {
  position: relative;

  padding-left: 1.6rem;

  margin-bottom: .5rem;
}


ul.checklist li:last-child {
  margin-bottom: 0;
}


ul.checklist li::before {
  content: "\2713";

  position: absolute;

  left: 0;

  color: var(--uth-orange);

  font-weight: 700;
}


/* ============================================================
   Memorial Hermann data section
   ============================================================ */

.memorial-hermann-data {
  width: 100%;
}


.memorial-hermann-data .callout {
  margin-top: 0;
}


.memorial-hermann-data .callout p {
  margin-top: 0;
}


.memorial-hermann-data .callout p:last-child {
  margin-bottom: 0;
}


.memorial-hermann-data .callout a {
  font-weight: 700;
}


/* ============================================================
   Callout
   ============================================================ */

.callout {
  background: var(--uth-light);

  border: 1px solid var(--uth-border);

  border-left: 4px solid var(--uth-blue);

  border-radius: var(--radius);

  padding: 1.2rem 1.4rem;
}


/* ============================================================
   Get Started
   ============================================================ */

.get-started {
  width: 100%;
}


.get-started > p:last-child {
  display: flex;

  flex-wrap: wrap;

  align-items: center;

  gap: .5rem;

  margin-bottom: 0;
}


/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-block;

  background: var(--uth-orange);

  color: #fff;

  font-weight: 600;

  padding: .7rem 1.3rem;

  border-radius: var(--radius);

  text-transform: uppercase;

  letter-spacing: .03em;

  font-size: .88rem;
  
  margin-bottom: 10px;
}


.btn:hover,
.btn:focus {
  background: var(--uth-orange-dark);

  color: #fff;
  text-decoration: underline;

}


.btn.secondary {
  background: var(--uth-blue);
}


.btn.secondary:hover,
.btn.secondary:focus {
  background: var(--uth-blue-dark);
  color: #fff;
   text-decoration: underline;
}


.btn:focus-visible {
  outline: 3px solid var(--uth-orange);

  outline-offset: 3px;

  box-shadow: 0 0 0 2px #fff;
}


.btn:active {
  background: var(--uth-orange-dark);

  color: #fff;

  transform: translateY(1px);
}


.btn.secondary:active {
  background: var(--uth-blue-dark);

  color: #fff;

  transform: translateY(1px);
}


/* ============================================================
   Figure caption
   ============================================================ */

.figure-caption {
  font-size: .85rem;

  color: var(--uth-gray);

  margin-top: .4rem;

  font-style: italic;
}


/* ============================================================
   Hero two column layout + action panel
   ============================================================ */

.hero-grid {
  display: grid;

  grid-template-columns: 1.6fr 1fr;

  gap: 2rem;

  align-items: start;
}


.hero-copy {
  min-width: 0;
}


.action-panel {
  display: flex;

  flex-direction: column;

  gap: 1rem;
}


.action-card {
  background: #fff;

  color: var(--uth-text);

  border-radius: 10px;

  padding: 1.3rem 1.4rem;

  box-shadow:
    0 8px 26px rgba(0, 0, 0, .22);

  border-top: 4px solid var(--uth-orange);
}


.action-card h2 {
  color: var(--uth-blue-dark);

  font-size: 1.02rem;

  margin: 0 0 .2rem;

  line-height: 1.3;

  border: 0;

  padding: 0;
}


/* ============================================================
   Hero action card H1
   Semantic H1, visually styled as a compact action-card heading
   ============================================================ */

.hero .action-card h1.h3-already {
  color: var(--uth-blue-dark);

  font-size: 1.03rem !important;

  line-height: 1.3;

  margin: 0 0 .2rem;

  padding: 0;

  border: 0;

  font-weight: 700;
}


.action-card p {
  font-size: .86rem;

  color: var(--uth-gray);

  margin: .2rem 0 .9rem;
}


.action-card .btn {
  display: block;

  text-align: center;
}


.action-card.alt {
  border-top-color: var(--uth-blue);
}


.action-card.alt .btn {
  background: var(--uth-blue);
}


.action-card.alt .btn:hover {
  background: var(--uth-blue-dark);
}


.hero .btn:focus-visible {
  outline: 3px solid var(--uth-orange);

  outline-offset: 3px;

  box-shadow: 0 0 0 2px #fff;
}


/* ============================================================
   CareFlow
   ============================================================ */

.careflow {
  position: relative;

  width: 100%;

  isolation: isolate;
}


.careflow > p {
  max-width: none;
}


.careflow h2 {
  color: var(--uth-blue-dark);

  margin-bottom: 1rem;
}


.careflow h3 {
  color: var(--uth-blue-dark);

  margin: 0;
}


/* ============================================================
   CareFlow workflow
   ============================================================ */

.careflow-steps {
  list-style: none;

  margin: 1.5rem 0 0;

  padding: 0;

  counter-reset: careflow-step;
}


.careflow-steps > .cell {
  position: relative;

  display: flex;

  min-width: 0;
}


.careflow-card {
  position: relative;

  z-index: 2;

  width: 100%;

  height: 100%;

  padding: 0;

  margin: 0;

  overflow: visible;

  background: #fff;

  border: 1px solid var(--uth-border);

  border-top: 4px solid var(--uth-orange);

  border-radius: var(--radius);

  box-shadow: none;

  transition: none;
}


.careflow-card:hover {
  box-shadow: none;

  transform: none;
}


/* ============================================================
   CareFlow SVG workflow arrows
   ============================================================ */

.careflow-arrow {
  display: none;
}


@media screen and (min-width: 64em) {

  .careflow-arrow {
    display: block;

    position: absolute;

    top: 50%;

    right: -18px;

    width: 32px;

    height: 14px;

    transform: translateY(-50%);

    color: var(--uth-orange);

    overflow: visible;

    pointer-events: none;

    z-index: 1;
  }

}


/* ============================================================
   CareFlow card header
   ============================================================ */

.careflow-card .card-divider {
  display: flex;

  align-items: center;

  gap: .65rem;

  min-height: 4.15rem;

  background: #fff;

  padding: .9rem 1rem .65rem;

  border-bottom: 0;
}


.careflow-card .card-divider h3 {
  color: var(--uth-blue-dark);

  font-size: 1rem;

  line-height: 1.3;

  margin: 0;

  font-weight: 700;
}


/* ============================================================
   CareFlow card content
   ============================================================ */

.careflow-card .card-section {
  padding: .2rem 1rem 1.05rem;
}


.careflow-card p { font-size: .9rem; line-height: 1.55; margin: 0; 
color: var(--uth-gray); }


/* ============================================================
   CareFlow step number
   ============================================================ */

.step-number {
  display: inline-flex;

  flex: 0 0 1.8rem;

  align-items: center;

  justify-content: center;

  width: 1.8rem;

  height: 1.8rem;

  border-radius: 50%;

  background: var(--uth-orange);

  color: #fff;

  font-weight: 700;

  line-height: 1;
}


/* ============================================================
   CareFlow PI / Researcher approval
   ============================================================ */

.careflow-approval {
  display: flex;

  align-items: center;

  gap: 1rem;

  margin: 1rem 0 0;

  padding: 1rem 1.2rem;

  border: 1px dotted var(--uth-blue);

  border-radius: var(--radius);

  background: var(--uth-light);
  margin-bottom: 20px;
}


.careflow-approval .pi {
  display: inline-flex;

  flex: 0 0 auto;

  align-items: center;

  justify-content: center;

  padding: .5rem .85rem;

  border-radius: 999px;

  background: var(--uth-blue);

  color: #fff;

  font-size: .82rem;

  line-height: 1.2;

  font-weight: 700;

  letter-spacing: .02em;

  text-transform: uppercase;

  white-space: nowrap;
}


.careflow-approval p {
  margin: 0;

  color: var(--uth-blue-dark);
}


/* ============================================================
   CareFlow mirrored tracks
   ============================================================ */

.careflow-tracks {
  margin-top: 1rem;
}


.careflow-tracks > .cell {
  display: flex;

  min-width: 0;
}


.careflow-track {
  width: 100%;

  height: 100%;

  padding: 0;

  margin: 0;

  overflow: hidden;

  background: #fff;

  border: 1px solid var(--uth-border);

  border-radius: var(--radius);

  box-shadow: none;

  transition: none;
}


.careflow-track:hover {
  box-shadow: none;

  transform: none;
}


.careflow-track-engineering {
  border-left: 4px solid var(--uth-orange);
}


.careflow-track-researcher {
  border-left: 4px solid var(--uth-blue);
}


.careflow-track .card-divider {
  display: flex;

  align-items: flex-start;

  gap: .65rem;

  background: #fff;

  padding: 1rem 1rem .45rem;
}


.careflow-track h3 {
  color: var(--uth-blue-dark);

  font-size: 1rem;

  line-height: 1.3;

  margin: 0;

  font-weight: 700;
}


.careflow-track h3 i {
  margin-right: .35rem;
}


.careflow-track .card-section {
  padding: .3rem 1rem 1rem;
}


.careflow-track ul {
  margin: 0;

  padding-left: 1.2rem;
}


.careflow-track li {
  margin-bottom: .35rem;
}


.careflow-track li:last-child {
  margin-bottom: 0;
}


/* ============================================================
   CareFlow Workflow | Intake & Delivery
   Dedicated diagram styling
   ============================================================ */

.careflow-workflow {
  --cfw-navy: #1b2d45;

  --cfw-navy-dark: #15263c;

  --cfw-teal: #0d5c5a;

  --cfw-gold: #f2b826;

  --cfw-orange: #ae6042;

  --cfw-green: #3f6746;

  --cfw-card-01: #d8e9e6;

  --cfw-card-02: #f2e7bd;

  --cfw-card-03: #dce2ed;

  --cfw-card-04: #f5dfcf;

  --cfw-card-05: #dce8d7;

  --cfw-rule-01: #8eaaa5;

  --cfw-rule-02: #cdbb78;

  --cfw-rule-03: #9ba9bd;

  --cfw-rule-04: #d2a68e;

  --cfw-rule-05: #9bad96;

  --cfw-text: #1f2b38;

  --cfw-radius: 10px;

  width: 100%;

  position: relative;

  isolation: isolate;
}


/* ============================================================
   Workflow header
   ============================================================ */

.careflow-workflow-header {
  margin-bottom: 1.1rem;
}


.careflow-workflow-header h2 {
  margin: 0;

  padding: 0;

  border: 0;

  color: var(--cfw-navy-dark);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: clamp(2rem, 3vw, 3rem);

  font-weight: 700;

  line-height: 1.55;

  letter-spacing: -.025em;
}


.careflow-workflow-header h2 span {
  color: var(--cfw-orange);

  font-style: italic;

  font-weight: 400;
}


.careflow-workflow-header p {
  margin: .35rem 0 0;

  color: #5d6874;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: clamp(.9rem, 1.25vw, 1.15rem);

  font-style: normal;

  line-height: 1.70;
}


/* ============================================================
   Five step workflow
   ============================================================ */

.careflow-workflow-steps {
  position: relative;

  list-style: none;

  margin: 0;

  padding: 0;

  align-items: stretch;
}


.careflow-workflow-steps > .cell {
  position: relative;

  display: flex;

  min-width: 0;
}


/* ============================================================
   Workflow cards
   ============================================================ */

.careflow-workflow-card {
  position: relative;

  z-index: 2;

  display: flex;

  flex-direction: column;

  width: 100%;

  min-height: 500px;

  height: 100%;

  margin: 0;

  padding: 1.5rem 1.1rem 1rem;

  border: 0;

  border-radius: var(--cfw-radius);

  color: var(--cfw-text);

  box-shadow:
    0 8px 16px rgba(21, 38, 60, .12);

  overflow: hidden;
}


.careflow-workflow-card-01 {
  background: var(--cfw-card-01);
}


/* .careflow-workflow-card-02 {
  background: var(--cfw-card-02);
} */

/* .careflow-workflow-card-02 {
  background-color: #93711b;
} 
*/


.careflow-workflow-card-03 {
  background: var(--cfw-card-03);
}


.careflow-workflow-card-04 {
  background: var(--cfw-card-04);
}


.careflow-workflow-card-05 {
  background: var(--cfw-card-05);
}


/* ============================================================
   Number circles
   ============================================================ */

.careflow-workflow-number {
  display: flex;

  align-items: center;

  justify-content: center;

  width: 3.5rem;

  height: 3.7rem;

  margin: 0 auto 1rem;

  border-radius: 50%;

  color: #fff;

  font-family:
    "Source Sans Pro",
    "Helvetica Neue",
    Arial,
    sans-serif;

  font-size: 1.65rem;

  font-weight: 700;

  line-height: 1;

  letter-spacing: .04em;

  flex: 0 0 auto;
}


.careflow-workflow-card-01 .careflow-workflow-number {
  background: var(--cfw-teal);
}


.careflow-workflow-card-02  {
  background: #fcf4e2;
}


.careflow-workflow-number {
  background-color: #93711b;
}


.careflow-workflow-card-03 .careflow-workflow-number {
  background: var(--cfw-navy);
}


.careflow-workflow-card-04 .careflow-workflow-number {
  background: var(--cfw-orange);
}


.careflow-workflow-card-05 .careflow-workflow-number {
  background: var(--cfw-green);
}


/* ============================================================
   Card headings
   ============================================================ */

.careflow-workflow-card h3 {
  margin: 0;

  color: var(--cfw-navy-dark);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: clamp(1.08rem, 1.45vw, 1.35rem);

  font-weight: 700;

  line-height: 1.18;

  text-align: center;
}


/* ============================================================
   Italic stage labels
   ============================================================ */

.careflow-workflow-label {
  margin: .55rem 0 .2rem;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: .9rem;

  font-style: normal;

  line-height: 1.55;

  text-align: center;
}


.careflow-workflow-card-01 .careflow-workflow-label {
  color: var(--cfw-teal);
}


.careflow-workflow-card-02  {
  color: #93711b;
}


.careflow-workflow-label {
  color: #7d5b06;
}


.careflow-workflow-card-03 .careflow-workflow-label {
  color: var(--cfw-navy);
}


.careflow-workflow-card-04 {
  color: var(--cfw-orange);
}

.careflow-workflow-label {
  color: #994B30;
}


.careflow-workflow-card-05 .careflow-workflow-label {
  color: var(--cfw-green);
}


/* ============================================================
   Decorative divider
   ============================================================ */

.careflow-workflow-rule {
  width: 58%;

  height: 1px;

  margin: .2rem auto .85rem;

  background: currentColor;

  opacity: .35;
}


.careflow-workflow-card-01 .careflow-workflow-rule {
  color: var(--cfw-rule-01);
}


.careflow-workflow-card-02 .careflow-workflow-rule {
  color: var(--cfw-rule-02);
}


.careflow-workflow-card-03 .careflow-workflow-rule {
  color: var(--cfw-rule-03);
}


.careflow-workflow-card-04 .careflow-workflow-rule {
  color: var(--cfw-rule-04);
}


.careflow-workflow-card-05 .careflow-workflow-rule {
  color: var(--cfw-rule-05);
}


/* ============================================================
   Card body copy
   ============================================================ */

.careflow-workflow-copy {
  margin: 0;

  color: var(--cfw-text);

  font-family:
    "Source Sans Pro",
    "Helvetica Neue",
    Arial,
    sans-serif;

  font-size: .9rem;

  line-height: 1.70;
}


/* ============================================================
   Decorative status pills
   ============================================================ */

.careflow-workflow-status {
  display: block;

  width: 100%;

  margin: auto auto 0;

  padding: .55rem .4rem;

  border-radius: 7px;

  color: #fff;

  font-family:
    "Courier New",
    Courier,
    monospace;

  font-size: .80rem;

  font-weight: 700;

  line-height: 1;

  letter-spacing: .1em;

  text-align: center;

  white-space: nowrap;
}


.careflow-workflow-card-01 .careflow-workflow-status {
  background: var(--cfw-teal);
}

/* 
.careflow-workflow-card-02 .careflow-workflow-status {
  background: var(--cfw-gold);
}
*/

.careflow-workflow-card-02 .careflow-workflow-status {
    background: #956E22;
}



.careflow-workflow-card-03 .careflow-workflow-status {
  background: var(--cfw-navy);
}


.careflow-workflow-card-04 .careflow-workflow-status {
  background: var(--cfw-orange);
}


.careflow-workflow-card-05 .careflow-workflow-status {
  background: var(--cfw-green);
}


/* ============================================================
   Desktop workflow arrows
   ============================================================ */

.careflow-workflow-arrow {
  display: none;
}


@media screen and (min-width: 64em) {

  .careflow-workflow-arrow {
    display: block;

    position: absolute;

    top: 50%;

    right: -15px;

    width: 24px;

    height: 18px;

    transform: translateY(-50%);

    color: var(--cfw-navy);

    pointer-events: none;

    z-index: 1;

    overflow: visible;
  }

}


/* ============================================================
   Summary bar
   ============================================================ */

.careflow-workflow-summary {
  margin-top: 1.35rem;

  padding: .95rem 1.3rem;

  border-radius: var(--cfw-radius);

  background: var(--cfw-card-01);

  color: var(--cfw-text);
}


.careflow-workflow-summary p {
  margin: 0;

  font-family:
    "Source Sans Pro",
    "Helvetica Neue",
    Arial,
    sans-serif;

  font-size: .95rem;

  line-height: 1.5;
}


.careflow-workflow-summary strong {
  color: var(--cfw-teal);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 1rem;
}


/* ============================================================
   Medium screens
   ============================================================ */

@media screen and (min-width: 40em) and (max-width: 63.9375em) {

  .careflow-workflow-card {
    min-height: 480px;

    padding:
      1.35rem
      1rem
      .95rem;
  }


  .careflow-workflow-number {
    width: 5.1rem;

    height: 5.1rem;

    margin-bottom: .9rem;

    font-size: 1.45rem;
  }


  .careflow-workflow-card h3 {
    font-size: 1.2rem;
  }


  .careflow-workflow-label {
    font-size: .85rem;
  }


  .careflow-workflow-copy {
    font-size: .86rem;

    line-height: 1.4;
  }


  .careflow-workflow-status {
    width: 88%;

    font-size: .76rem;
  }


  .guard-card {
    min-height: 160px;
  }

}


/* ============================================================
   Small screens
   ============================================================ */

@media screen and (max-width: 39.9375em) {

  .hero h1 {
    font-size: 1.7rem;
  }


  main {
    padding: 1.8rem 1rem;
  }


  section {
    margin-bottom: 2rem;
  }


  h2 {
    font-size: 1.45rem;
  }



  .careflow-workflow-header h2 {
    font-size: 1.9rem;
  }


  .careflow-workflow-header p {
    font-size: .95rem;
  }


  .careflow-workflow-steps {
    margin-top: 1rem;
  }


  .careflow-workflow-steps > .cell {
    margin-bottom: 1rem;
  }


  .careflow-workflow-steps > .cell:last-child {
    margin-bottom: 0;
  }


  .careflow-workflow-card {
    min-height: 0;

    height: auto;

    padding:
      1.4rem
      1.15rem
      1.05rem;
  }


  .careflow-workflow-number {
    width: 5.1rem;

    height: 5.1rem;

    margin-bottom: .9rem;

    font-size: 1.45rem;
  }


  .careflow-workflow-card h3 {
    font-size: 1.3rem;
  }


  .careflow-workflow-label {
    font-size: .92rem;
  }


  .careflow-workflow-copy {
    font-size: .94rem;

    line-height: 1.70;
  }


  .careflow-workflow-status {
    width: 100%;

    margin-top: 1.15rem;

    font-size: .76rem;

    letter-spacing: .08em;

    white-space: normal;
  }


  .careflow-workflow-arrow {
    display: none;
  }


  .careflow-workflow-summary {
    margin-top: 1rem;

    padding:
      .9rem
      1rem;
  }


  .careflow-workflow-summary p {
    font-size: .92rem;
  }


  .guard-card {
    min-height: 0;

    padding: .95rem;
  }


  .guard-card h3 {
    font-size: .98rem;
  }


  .guard-card p {
    font-size: .92rem;
  }


  .security-guardrails .checklist {
    margin-top: 1rem;
  }


  .get-started > p:last-child {
    align-items: stretch;

    flex-direction: column;
  }


  .get-started .btn {
    width: 100%;

    text-align: center;
  }


  .careflow-steps {
    margin-top: 1.2rem;
  }


  .careflow-card .card-divider {
    min-height: auto;

    padding:
      .85rem
      .9rem
      .55rem;
  }


  .careflow-card .card-section {
    padding:
      .15rem
      .9rem
      .9rem;
  }


  .careflow-card p { font-size: .9rem; }


  .careflow-approval {
    flex-direction: column;

    align-items: flex-start;

    gap: .75rem;

    padding: .9rem;
  }


  .careflow-approval .pi {
    white-space: normal;
  }


  .careflow-track .card-divider {
    padding:
      .9rem
      .9rem
      .4rem;
  }


  .careflow-track .card-section {
    padding:
      .25rem
      .9rem
      .9rem;
  }


  #cdc-chat-toggle {
    right: 14px;

    bottom: 14px;

    padding:
      .75rem
      1rem;
  }


  #cdc-chat {
    right: 14px;

    bottom: 70px;

    width: calc(100vw - 28px);

    max-width: none;

    height: 72vh;
  }

}


/* ============================================================
   Hero responsive behavior
   ============================================================ */

@media screen and (max-width: 63.9375em) {

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


  .careflow-steps > .cell {
    margin-bottom: 1rem;
  }


  .careflow-steps > .cell:last-child {
    margin-bottom: 0;
  }


  .careflow-card {
    min-height: 100%;
  }


  .careflow-approval {
    align-items: flex-start;
  }


  .careflow-arrow {
    display: none;
  }

}


/* ============================================================
   Footer
   ============================================================ */

footer.site {
  background: var(--uth-blue-dark);

  color: #cdd8e4;

  margin-top: 3rem;
}


.footer-inner {
  max-width: var(--maxw);

  margin: 0 auto;

  padding: 2rem 1rem;

  display: grid;

  grid-template-columns:
    repeat(
      auto-fit,
      minmax(200px, 1fr)
    );

  gap: 1.5rem;
}


footer.site a {
  color: #fff;
}


footer.site h4 {
  color: #fff;

  border-bottom:
    1px solid rgba(255, 255, 255, .25);

  padding-bottom: .3rem;
}


.footer-bottom {
  background: #001022;

  text-align: center;

  font-size: .8rem;

  padding: .8rem;

  color: #9fb2c4;
}


/* ============================================================
   Chatbot widget
   ============================================================ */

#cdc-chat-toggle {
  position: fixed;

  bottom: 22px;

  right: 22px;

  z-index: 1000;

  background: var(--uth-orange);

  color: #fff;

  border: none;

  border-radius: 999px;

  padding: .85rem 1.3rem;

  font-weight: 600;

  font-size: .95rem;

  cursor: pointer;

  box-shadow:
    0 4px 14px rgba(0, 0, 0, .25);
}


#cdc-chat-toggle:hover {
  background: var(--uth-orange-dark);
}


#cdc-chat-toggle:focus-visible,
#cdc-chat .chat-head button:focus-visible,
#cdc-chat .chat-suggestions button:focus-visible,
#cdc-chat .chat-input input:focus-visible,
#cdc-chat .chat-input button:focus-visible {
  outline: 3px solid var(--uth-orange);

  outline-offset: 3px;

  box-shadow: 0 0 0 2px #fff;
}


#cdc-chat {
  position: fixed;

  bottom: 80px;

  right: 22px;

  width: 340px;

  max-width: 92vw;

  height: 460px;

  max-height: 78vh;

  z-index: 1000;

  background: #fff;

  border: 1px solid var(--uth-border);

  border-radius: 10px;

  box-shadow:
    0 10px 40px rgba(0, 0, 0, .28);

  display: none;

  flex-direction: column;

  overflow: hidden;
}


#cdc-chat.open {
  display: flex;
}


.chat-head {
  background: var(--uth-blue-dark);

  color: #fff;

  padding: .8rem 1rem;

  font-weight: 600;

  display: flex;

  justify-content: space-between;

  align-items: center;
}


.chat-head small {
  display: block;

  font-weight: 400;

  color: #bcc8d8;

  font-size: .72rem;
}


.chat-head button {
  background: none;

  border: none;

  color: #fff;

  font-size: 1.2rem;

  cursor: pointer;
}


.chat-body {
  flex: 1;

  overflow-y: auto;

  padding: 1rem;

  background: var(--uth-light);

  font-size: .9rem;
}


.chat-msg {
  margin-bottom: .7rem;

  max-width: 85%;

  padding: .55rem .75rem;

  border-radius: 10px;

  line-height: 1.45;
}


.chat-msg.bot {
  background: #fff;

  border: 1px solid var(--uth-border);
}


.chat-msg.user {
  background: var(--uth-blue);

  color: #fff;

  margin-left: auto;
}


.chat-suggestions {
  display: flex;

  flex-wrap: wrap;

  gap: .4rem;

  padding: .5rem 1rem;

  background: var(--uth-light);

  border-top: 1px solid var(--uth-border);
}


.chat-suggestions button {
  background: #fff;

  border: 1px solid var(--uth-blue);

  color: var(--uth-blue);

  border-radius: 999px;

  padding: .3rem .7rem;

  font-size: .75rem;

  cursor: pointer;
}


.chat-suggestions button:hover {
  background: var(--uth-blue);

  color: #fff;
}


.chat-input {
  display: flex;

  border-top: 1px solid var(--uth-border);
}


.chat-input input {
  flex: 1;

  border: none;

  padding: .7rem;

  font-size: .9rem;
}


.chat-input input:focus {
  outline: 2px solid var(--uth-orange);

  outline-offset: -2px;
}


.chat-input button {
  background: var(--uth-orange);

  color: #fff;

  border: none;

  padding: 0 1rem;

  cursor: pointer;

  font-weight: 600;
}


.chat-disclaimer {
  font-size: .68rem;

  color: var(--uth-gray);

  padding: .4rem 1rem;

  background: #fff;

  text-align: center;
}


/* ============================================================
   Reduced motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }


  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: .01ms !important;

    scroll-behavior: auto !important;
  }


  .card:hover {
    transform: none;
  }


  .btn:active,
  .btn.secondary:active {
    transform: none;
  }

}