/* Datago Life Sciences - biotech.datago.ch
   Design tokens taken from the Datago deck. Reuse this file for the future datago.ch. */

@font-face { font-family: "Open Sans"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/open-sans-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/open-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/open-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/open-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  --navy: #023F86;
  --blue: #0070A2;
  --teal: #009CB3;
  --teal-dark: #007C8F;
  --teal-ink: #00697A;
  --ink: #0E1E33;
  --body: #334155;
  --muted: #475569;
  --line: #E2E8F0;
  --line-strong: #CBD5E1;
  --soft: #F3F7FA;
  --night: #0B2347;
  --white: #FFFFFF;
  --tint-compliance: #DCEEF5;
  --tint-data: #D5F0F3;
  --tint-governance: #DEE5F1;
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1240px;
  --gradient: linear-gradient(115deg, var(--navy) 0%, var(--blue) 58%, var(--teal) 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; color: var(--ink); background: var(--white); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 32px; }
.section { padding-block: 96px; }
.section--soft { background: var(--soft); }
.kicker { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.kicker--teal { color: var(--teal-ink); }
.kicker--navy { color: var(--navy); }
h1, h2, h3 { margin: 0; }
.h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.2; font-weight: 300; }
.lead { margin: 16px 0 0; max-width: 720px; font-size: 17px; line-height: 1.65; color: var(--muted); }
.mb-l { margin-bottom: 44px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: var(--radius-sm); font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--night); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { color: var(--navy); background: #E6F2F8; }
.btn--ghost { border-color: var(--white); color: var(--white); font-weight: 600; }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: var(--white); }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.brand span { white-space: nowrap; font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--blue); border-left: 1px solid var(--line-strong); padding-left: 14px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 600; }
.nav a { white-space: nowrap; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; padding-block: 6px; }
.nav a:not(.btn):hover { color: var(--blue); }
.nav a[aria-current="page"] { color: var(--blue); border-bottom: 2px solid var(--blue); }
.lang { display: flex; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); overflow: hidden; }
.lang a { min-width: 44px; min-height: 40px; display: grid; place-items: center; font-size: 13px; font-weight: 700; text-decoration: none; color: var(--ink); padding: 0; }
.lang a[aria-current="true"] { background: var(--navy); color: var(--white); border: 0; }
.menu-toggle { display: none; min-width: 44px; min-height: 44px; background: none; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); cursor: pointer; color: var(--ink); }

@media (max-width: 1200px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; padding: 16px 32px 24px; gap: 14px; }
  .nav.is-open { display: flex; }
  .site-header .wrap { position: relative; }
}

/* Hero */
.hero { background: var(--gradient); color: var(--white); position: relative; overflow: hidden; }
.hero--teal { background: linear-gradient(115deg, var(--navy) 0%, var(--teal-ink) 75%, var(--teal) 100%); }
.hero .wrap { position: relative; padding-block: 112px 120px; }
.hero--page .wrap { padding-block: 80px 88px; }
.hero__rings { position: absolute; right: -120px; top: -60px; width: 640px; height: 640px; opacity: .16; pointer-events: none; }
.hero .kicker { color: var(--white); }
.hero h1 { max-width: 840px; font-size: clamp(34px, 5vw, 56px); line-height: 1.12; font-weight: 300; }
.hero--page h1 { font-size: clamp(32px, 4.2vw, 48px); }
.hero p.sub { margin: 26px 0 0; max-width: 700px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: #E6F2F8; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; padding: 0; list-style: none; }
.tags li { border: 1px solid rgba(255,255,255,.55); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }

/* Facts */
.facts { background: var(--soft); border-bottom: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-block: 40px; }
.fact__value { font-size: 32px; font-weight: 300; color: var(--navy); }
.fact__label { font-size: 15px; color: var(--muted); margin-top: 4px; }

/* Generic layouts */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.split > * { flex: 1 1 400px; min-width: 0; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(var(--min, 260px), 1fr)); }
.grid--20 { gap: 20px; }
.tile { border: 1px solid var(--line); border-radius: 12px; padding: 22px; background: var(--white); }
.tile__title { font-weight: 700; color: var(--navy); }
.tile__text { font-size: 15px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.tile__num { font-size: 30px; font-weight: 300; color: var(--blue); }
.tile--plain { border: 0; }

/* Pillars and package cards */
.card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; background: var(--white); }
.card--featured { border: 2px solid var(--navy); }
.card__head { padding: 26px 28px; color: var(--white); background: var(--blue); }
.card__head--navy { background: var(--navy); }
.card__head--teal { background: var(--teal-dark); }
.card__head--tint-c { background: var(--tint-compliance); color: var(--navy); }
.card__head--tint-d { background: var(--tint-data); color: var(--navy); }
.card__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.card__head h3 { margin-top: 8px; font-size: 24px; font-weight: 400; }
.card__body { padding: 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; font-size: 16px; line-height: 1.55; color: var(--body); }
.card__body ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.card__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.card__foot strong { color: var(--ink); }
.card__link { font-weight: 700; text-decoration: none; }

/* Steps */
.step { background: var(--white); border-radius: var(--radius); padding: 28px; border-top: 4px solid var(--navy); }
.step:nth-child(2) { border-top-color: var(--blue); }
.step:nth-child(3) { border-top-color: var(--teal-dark); }
.step:nth-child(4) { border-top-color: var(--teal); }
.step__num { font-size: 44px; font-weight: 300; color: var(--blue); line-height: 1; }
.step__label { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.step h3 { margin: 10px 0; font-size: 20px; font-weight: 600; }
.step p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.addon { border: 1px dashed #94A3B8; border-radius: var(--radius); padding: 24px 28px; background: var(--white); }
.addon__tag { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--blue); text-transform: uppercase; }
.addon__title { font-size: 18px; font-weight: 600; margin-top: 6px; }
.addon__text { font-size: 15px; color: var(--muted); margin-top: 6px; line-height: 1.55; }

/* Services wheel */
.wheel { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.wheel__figure { flex: 1 1 480px; max-width: 620px; min-width: 0; margin: 0; }
.wheel__figure svg { width: 100%; height: auto; display: block; }
.wheel__seg { cursor: pointer; transition: opacity .15s; }
.wheel__seg:hover { opacity: .85; }
.wheel__panel-wrap { flex: 1 1 360px; min-width: 0; }
.wheel__panel { border-radius: var(--radius); background: var(--soft); padding: 32px; min-height: 260px; }
.wheel__ring { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--muted); }
.wheel__name { margin-top: 10px; font-size: 28px; font-weight: 400; color: var(--navy); }
.badge { display: inline-block; margin-top: 14px; background: var(--navy); color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: .08em; padding: 5px 12px; border-radius: 999px; }
.wheel__desc { margin: 18px 0 0; font-size: 17px; line-height: 1.65; color: var(--body); }
.chips { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: 13px; font-weight: 600; min-height: 36px; padding: 6px 12px; border-radius: 999px; cursor: pointer; border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--night); border-color: var(--night); color: var(--white); }

/* Certifications */
.cert { background: var(--white); border-radius: var(--radius); padding: 28px; }
.cert h3 { margin: 0 0 16px; font-size: 18px; font-weight: 700; color: var(--blue); }
.cert ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 600; }
.cert li { border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 8px 12px; }

/* Lists, panels */
.rows { display: flex; flex-direction: column; font-size: 16px; line-height: 1.55; color: var(--body); margin: 0; padding: 0; list-style: none; }
.rows li { border-bottom: 1px solid var(--line); padding-block: 12px; }
.rows li:last-child { border-bottom: 0; }
.note { margin-top: 24px; background: var(--soft); border-radius: var(--radius-sm); padding: 16px 18px; font-size: 15px; line-height: 1.6; color: var(--body); }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.panel h3 { margin: 0 0 18px; font-size: 21px; font-weight: 600; color: var(--navy); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; font-weight: 600; margin: 0; padding: 0; list-style: none; }
.pills li { background: var(--soft); border-radius: 999px; padding: 10px 16px; }

/* Contact */
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; background: var(--soft); border-radius: var(--radius); padding: 32px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.form .full { grid-column: 1 / -1; }
.form input, .form textarea { font: inherit; font-weight: 400; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 12px; background: var(--white); color: var(--ink); }
.form input { height: 48px; }
.form textarea { resize: vertical; min-height: 120px; }
.form small { font-size: 13px; line-height: 1.5; color: var(--muted); }
.form__status { font-size: 14px; color: var(--teal-ink); font-weight: 600; min-height: 1.5em; }

/* CTA band and footer */
.band { background: var(--navy); color: var(--white); }
.band .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-block: 64px; }
.band h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 300; max-width: 700px; }
.site-footer { background: var(--night); color: #CBD5E1; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: center; padding-block: 48px; }
.site-footer .brand-foot { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.site-footer .brand-foot img { height: 30px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; }
.site-footer a { color: var(--white); }
.footer-note { flex-basis: 100%; margin: 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); font-size: 13px; color: #CBD5E1; }

/* Prose pages (privacy, legal) */
.prose { max-width: 760px; font-size: 17px; line-height: 1.7; color: var(--body); }
.prose h2 { font-size: 24px; font-weight: 600; color: var(--navy); margin: 40px 0 12px; }
.todo { background: #FFF4E5; border: 1px solid #F0B46A; border-radius: var(--radius-sm); padding: 2px 6px; font-weight: 600; color: #7A3E00; }

/* Clinical trials page */
.stage ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.stage ul li { padding-left: 14px; position: relative; }
.stage ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.stages .step:nth-child(5) { border-top-color: #66C4D1; }
.checklist li { padding-left: 34px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 16px; height: 16px; border-radius: 4px; border: 2px solid var(--teal-dark); }
.checklist li::after { content: ""; position: absolute; left: 9px; top: 18px; width: 5px; height: 9px; border: solid var(--teal-dark); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.table-wrap { overflow-x: auto; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.table th, .table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: var(--soft); }
.table tbody th { font-weight: 700; color: var(--navy); width: 26%; }
.table td { color: var(--body); }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
