html, body {
  margin: 0;
  padding: 0;
}

html, body {
  font-size: 4.1mm;
  font-family: "Arial";
}

div {
  font-size: 4.1mm;
  font-family: "Arial";
}

#header {
  display: flex;
  align-items: stretch;
  padding: 0;
  border-bottom: 2px solid #3f8dd6;
  flex-shrink: 0;
  margin: 5mm;
  width: calc(100% - 1cm);
}

#header .header-right {
  display: flex;
  justify-content: center;
  width: 100%;
}

#header .header-right button.selected {
  background-color: #2563ab;
  color: white;
}

#header .header-right button {
  padding: 12px 24px;
  border: medium;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  border-radius: 0px;
  margin: 0px;
  outline: none;
  background-color: transparent;
  color: black;
}

#logo {
  margin: 0.5cm auto;
  max-width: 10cm;
  text-align: center;
}

#logo #logo-img {
  max-width: 4cm;
  display: block;
  margin: 0 auto;
}

#logotext {
  margin: 5mm;
  font-size: 1cm;
  text-align: center;
  margin-bottom: 1cm;
}

.separator-line {
  margin: 5mm;
  width: calc(100% - 1cm);
  height: 1px;
  background-color: black;
}

.separator-line-light {
  margin: 5mm;
  width: calc(100% - 1cm);
  height: 1px;
  background-color: #ccc;
}

#tagline {
  margin: 5mm;
  font-size: 1cm;
  font-weight: bold;
  text-align: center;
  margin-top: 1cm;
}

.highlight-blue {
  color: #2f86e0;
}

.highlight-bg {
  background: linear-gradient(135deg, #ffe082, #ffd54f);
  padding: 0 2mm;
  border-radius: 3px;
  display: inline-block;
  line-height: 1.2;
}

#tagdetail {
  margin: 5mm;
  font-size: 4.5mm;
  color: gray;
  text-align: center;
  color: rgb(51, 68, 92);
}

#pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2mm;
  margin: 5mm;
  margin-bottom: 1cm;
}

#pills .pill {
  font-weight: 520;
  letter-spacing: 0.004em;
  color: #5c6b80;
  border: 1px solid rgba(11, 42, 91, 0.12);
  border-radius: 999px;
  padding: 1.6mm 3.4mm;
  background: #f7fbff;
  white-space: nowrap;
}

/* TAB CONTENT SECTIONS */
.tab-content {
  display: none;
}

.tab-content.visible {
  display: block;
  overflow: hidden;
  border-top: 0.75mm solid black;
  border-bottom: 0.75mm solid black;
  background: whitesmoke;
  background: #f0f8ff91;
}

.tab-title {
  font-size: 8.5mm;
  font-weight: bold;
  margin: 1cm;
}

.tab-info {
  font-size: 5.5mm;
  color: rgb(51, 68, 92);
  margin: 5mm 1cm;
  max-width: 18cm;
}

.tab-result {
  font-size: 5.5mm;
  margin: 1cm;
  font-weight: bold;
}

#section-hospital .tab-result {
  color: rgb(21, 82, 168);
}

#section-insurance .tab-result {
  color: rgb(12, 117, 225);
}

#section-pharma .tab-result {
  color: tomato;
}

/* WRAPPER — width comes from the wider child; the narrower child stretches to match */
.combined-grids {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: fit-content;
  margin: 0 auto;
  max-width: 30cm;
}

/* Both children: margin 5mm, width driven by content, stretched by parent */
.combined-grids > .joined,
.combined-grids > .sec-grid {
  margin: 5mm;
}

/* JOINED GRID — 2 columns */
.joined {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(11, 42, 91, 0.12);
  border: 1px solid rgba(11, 42, 91, 0.12);
  border-radius: 3.4mm;
  overflow: hidden;
}

.joined > * {
  background: #ffffff;
}

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

.grid-cell {
  padding: clamp(6mm, 3vw, 8.5mm);
}

.grid-cell h4 {
  font-size: 4.5mm;
  font-weight: bold;
  letter-spacing: -0.014em;
  line-height: 1.35;
  color: #0a1526;
  margin: 0 0 5mm;
}

.grid-cell p {
  font-size: 4.1mm;
  line-height: 1.6;
  color: #33445c;
  margin: 0;
}

/* SEC-GRID — 3 columns */
.sec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(11, 42, 91, 0.12);
  border: 1px solid rgba(11, 42, 91, 0.12);
  border-radius: 3.4mm;
  overflow: hidden;
}

.sec-item {
  background: #ffffff;
  padding: clamp(6mm, 3vw, 8.5mm);
}

.ico {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: #0a68cc;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 14px;
  display: block;
}

.sec-item h4 {
  font-size: 4.5mm;
  font-weight: bold;
  letter-spacing: -0.014em;
  line-height: 1.35;
  color: #0a1526;
  margin: 0 0 2.6mm;
}

.sec-item p {
  font-size: 4.1mm;
  line-height: 1.6;
  color: #33445c;
  max-width: 48ch;
  margin: 0;
}

#technical {
  margin: 5mm;
  font-size: 7mm;
  text-align: center;
  font-weight: bold;
}

#technical-detail {
  margin: 5mm;
  font-size: 5mm;
  color: gray;
  text-align: center;
}

/* TIMELINE HEADING */
.timeline-heading {
  margin: 5mm;
  font-size: 7mm;
  text-align: center;
  font-weight: bold;
}

/* TIMELINE */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(11, 42, 91, 0.12);
  border: none;
  border-radius: 0;
  overflow: hidden;
  margin: 1cm;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  background: #ffffff;
  padding: 24px 20px;
}

.timeline .tl-phase {
  display: block;
  font-size: 1cm;
  font-weight: bold;
  letter-spacing: .125em;
  text-transform: uppercase;
  color: #0a68cc;
  margin-bottom: 7px;
  font-variant-numeric: tabular-nums;
}

.timeline .tl-title {
  display: block;
  font-size: 4.5mm;
  font-weight: bold;
  letter-spacing: -.008em;
  line-height: 1.36;
  margin-bottom: 6px;
  color: #0a1526;
}

.timeline .tl-desc {
  display: block;
  font-size: 4.1mm;
  line-height: 1.55;
  color: #33445c;
}

/* LAUNCH STYLES */
.launch {
  margin: 5mm;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(14px, 2.5vw, 24px);
  align-items: start;
  background: linear-gradient(90deg, #f08c8c, #e05555);
  border: 1px solid #00000078;
  border-radius: 2mm;
  padding: 5mm 6mm;
  font-size: 4.15mm;
  color: white;
  /*! background-image: linear-gradient(135deg, rgb(239, 68, 68) 0%, rgb(220, 38, 38) 100%); */
  margin-bottom: 1cm;
}

.launch .tag {
  color: white;
  font-weight: bold;
  font-size: 4.15mm;
  white-space: nowrap;
  padding-top: 3px;
  text-transform: uppercase;
}

.launch p {
  color: white;
  line-height: 1.7;
  margin: 0;
}

.launch-content {
  color: white;
  line-height: 1.7;
}

.launch-bold {
  font-weight: 700;
  display: inline-block;
  margin-top: 3mm;
  color: white;
}

#cta {
  display: flex;
  box-shadow: 0 0 5mm 2mm rgba(0, 0, 0, 0.12);
}

#left {
  flex: 1;
  background: linear-gradient(to right, #0b2a5b 0%, #1552a8 100%);
  color: white;
  background-image: linear-gradient(135deg, rgb(13, 42, 74) 0%, rgb(10, 31, 56) 50%, rgb(10, 21, 37) 100%);
}

#left > div {
  margin: 5mm;
}

#left > .heading {
  font-weight: bold;
  font-size: 5.75mm;
}

#right {
  flex: 0 0 auto;
  background: linear-gradient(135deg, #ffd93d, #ffc847);
  color: black;
  text-align: center;
}

#right > div {
  margin: 5mm;
}

#right > .title {
  font-weight: bold;
}

#right > .email {
  font-weight: bold;
  font-size: 4.75mm;
}

#right > .email.copy {
  font-size: 4.25mm;
  font-weight: normal;
  border: 2px dashed black;
  border-radius: 5px;
  padding: 3mm 5mm;
  cursor: pointer;
  user-select: none;
}

#right > .email.copy:hover {
  background: rgba(0, 0, 0, 0.06);
}

#spacing {
  margin: 1cm;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .combined-grids {
    width: 100%;
  }
  .combined-grids > .joined,
  .combined-grids > .sec-grid {
    width: 100%;
  }
  .common-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sec-grid {
    grid-template-columns: 1fr;
  }
  .launch {
    grid-template-columns: 1fr;
  }
  .launch .tag {
    padding-top: 0;
  }
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
  }
}

@media (max-width: 620px) {
  .sec-grid {
    grid-template-columns: 1fr;
  }
  .common-grid {
    grid-template-columns: 1fr;
  }
  .timeline {
    grid-template-columns: 1fr;
    gap: 1px;
  }
}
