/* Shared stylesheet for the editorial design: home, /life-science and /site-report.
   Brand navy, single dark theme. Cards and buttons use soft shadows, not borders. */
:root {
  color-scheme: dark;
  --primary: #61529A; --on-primary: #FFFFFF;
  --primary-container: #3A2F63; --on-primary-container: #E3DBFA;
  --on-secondary-container: #D7DEE6;
  --tertiary: #4FC3EA;
  --bg: #14232E; --fg: #F2F1F7; --muted: #A9B4C2;
  --outline: #4C6478; --outline-variant: #2B3E4E;
  --lowest: #101B24; --container: #1F3342;
  --success: #5FBE8B;
  --accent: #9B87CC;
  --r-s: 8px; --r-l: 14px; --r-full: 9999px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px rgba(0, 0, 0, .28);
  --shadow-hover: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px rgba(0, 0, 0, .38);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: var(--sans); background: var(--bg); color: var(--fg); min-height: 100dvh; line-height: 1.6; }
a { color: var(--tertiary); }
:focus-visible { outline: 2px solid var(--tertiary); outline-offset: 2px; }

/* Top bar */
.bar { background: var(--lowest); box-shadow: 0 2px 14px rgba(0, 0, 0, .35); position: relative; z-index: 1; }
.bar__in { max-width: 1100px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { font-family: 'Bitter', serif; font-size: 24px; font-weight: 700; letter-spacing: .5px; color: var(--fg); text-decoration: none; }
.wordmark span { color: var(--primary); }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; padding: 8px 16px; border-radius: var(--r-full); }
.nav a:hover, .nav a[aria-current="page"] { background: var(--primary-container); color: var(--on-primary-container); }
@media (max-width: 600px) {
  .bar__in { height: auto; flex-direction: column; gap: 6px; padding: 10px 24px; }
  .nav { flex-wrap: wrap; justify-content: center; }
  .nav a { padding: 8px 12px; }
}

/* Type */
h1, h2, h3, .num, .band, .big { font-family: var(--serif); text-wrap: balance; }
h1 { font-size: clamp(42px, 6.4vw, 84px); line-height: 1.08; font-weight: 400; letter-spacing: -2.5px; margin-top: 16px; }
h1 em { font-style: italic; color: var(--accent); }
h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 400; line-height: 1.1; letter-spacing: -.5px; margin-bottom: 28px; }
h3 { font-size: 24px; font-weight: 400; line-height: 1.15; }
.eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.lead { max-width: 560px; margin-top: 24px; color: var(--muted); font-size: 18px; }

/* Layout */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
section.alt { background: var(--lowest); }
.center { text-align: center; }
.center h2 { margin-bottom: 16px; }
.narrow { max-width: 720px; margin: 0 auto; }
.narrow p { color: var(--on-secondary-container); }
.narrow p + p { margin-top: 14px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 72px; align-items: center; }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  section { padding: 56px 0; }
  .grid, .grid--2, .grid--4, .split { grid-template-columns: minmax(0, 1fr); }
}
.note { max-width: 680px; margin: 32px auto 0; color: var(--muted); font-size: 15px; text-align: center; }
.note strong { color: var(--fg); }
.fine { margin-top: 14px; font-size: 13px; color: var(--muted); }
.ticks { list-style: none; }
.ticks li { padding-left: 28px; position: relative; margin: 16px 0; line-height: 1.7; color: var(--on-secondary-container); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 10px; width: 12px; height: 7px; border-left: 2px solid var(--success); border-bottom: 2px solid var(--success); transform: rotate(-45deg); }

/* Hero */
.hero { padding: 72px 24px 88px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero .eyebrow { margin-bottom: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 16px 20px; margin-top: 36px; }
@media (max-width: 860px) { .hero { grid-template-columns: minmax(0, 1fr); gap: 56px; padding-top: 44px; } }

/* Tilted cover card */
.cover { display: block; justify-self: center; width: 100%; max-width: 400px; transform: rotate(3deg); background: #fff; border: 9px solid var(--on-primary-container); box-shadow: 15px 22px 0 rgba(97, 82, 154, .55); line-height: 0; text-decoration: none; transition: transform 300ms cubic-bezier(0.2, 0, 0, 1), box-shadow 300ms cubic-bezier(0.2, 0, 0, 1); }
.cover:hover { transform: rotate(0deg) scale(1.02); box-shadow: 9px 13px 0 rgba(97, 82, 154, .55); }
.cover img { width: 100%; height: auto; display: block; }
.cover--text { background: var(--lowest); color: var(--fg); line-height: 1.2; text-align: center; padding: 40px 28px; }
.cover__kicker, .cover__foot { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); }
.cover__title { font-family: var(--serif); font-size: clamp(38px, 5vw, 54px); line-height: 1; letter-spacing: -1.5px; margin: 28px 0; }
.cover__title em { color: var(--accent); }
@media (max-width: 860px) { .cover { max-width: 320px; } }

/* Accent band */
.band { background: var(--primary); color: var(--on-primary); text-align: center; padding: 22px 24px; font-size: clamp(19px, 2.6vw, 26px); line-height: 1.3; }

/* Buttons, cards, boxes: one style */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 16px 32px; line-height: 1.2; text-align: center; border-radius: var(--r-full); font: 600 16px var(--sans); text-decoration: none; cursor: pointer; border: 0; box-shadow: var(--shadow); transition: box-shadow .15s, background-color .15s; }
.btn:hover { box-shadow: var(--shadow-hover); }
.btn--filled { background: var(--primary); color: var(--on-primary); }
.btn--filled:hover { background: color-mix(in srgb, #fff 10%, var(--primary)); }
.btn--outlined { background: var(--container); color: var(--fg); }
.btn--outlined:hover { background: color-mix(in srgb, #fff 6%, var(--container)); }
.btn[disabled] { opacity: .6; cursor: default; }
@media (max-width: 480px) { .actions { flex-direction: column; align-items: stretch; } .actions .btn { width: 100%; } }
.card { background: var(--container); box-shadow: var(--shadow); border-radius: var(--r-l); padding: 28px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card p + p { margin-top: 12px; }
.num { font-size: 44px; color: var(--accent); line-height: 1; margin-bottom: 12px; }
.chip { display: inline-block; background: var(--primary-container); color: var(--on-primary-container); border-radius: var(--r-s); padding: 6px 14px; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags span { background: var(--lowest); border-radius: var(--r-full); padding: 4px 12px; font-size: 12px; color: var(--muted); }
.price-card { text-align: center; }
.price-card .big { font-size: 64px; line-height: 1; }
.price-card .big small { font-size: 18px; color: var(--muted); font-family: var(--sans); }
.price-card p { margin: 12px 0 22px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: var(--container); box-shadow: var(--shadow); border-radius: var(--r-l); padding: 18px 24px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--muted); margin-top: 10px; }

/* Closing call to action */
.cta { text-align: center; display: grid; justify-items: center; gap: 16px; }
.cta h2 { margin-bottom: 0; }
.cta p { color: var(--muted); max-width: 520px; }
.cta .actions { justify-content: center; margin-top: 12px; }

/* Footer */
footer { border-top: 1px solid var(--outline-variant); padding: 28px 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }
footer strong { color: var(--fg); }
footer .cookies { flex-basis: 100%; opacity: .7; }

/* Dialogs (contact and privacy) */
.modal { max-width: 520px; width: calc(100% - 32px); margin: auto; padding: 28px; background: var(--container); color: var(--fg); border: 0; border-radius: var(--r-l); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.modal::backdrop { background: rgba(8, 14, 19, .72); }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.modal__head h2 { margin: 0; font-size: 28px; }
.modal p { color: var(--on-secondary-container); font-size: 15px; }
.modal__close { font: 400 28px/1 var(--sans); width: 44px; height: 44px; border-radius: var(--r-full); border: 0; background: transparent; color: var(--fg); cursor: pointer; flex: none; }
.modal__close:hover { background: var(--outline-variant); }
.modal__choices { display: grid; gap: 14px; margin-top: 20px; }
.modal__choices .btn { width: 100%; }
.form { display: grid; gap: 16px; margin-top: 8px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form textarea { font: 400 16px var(--sans); background: var(--lowest); color: var(--fg); border: 0; border-radius: var(--r-s); padding: 12px 14px; width: 100%; box-shadow: inset 0 1px 4px rgba(0, 0, 0, .5); }
.form textarea { resize: vertical; }
.form__row { display: flex; flex-wrap: wrap; gap: 12px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.status { font-size: 15px; min-height: 1.5em; margin-top: 14px; }
.form .status { margin-top: 0; }
.status.ok { color: var(--success); }
.status.err { color: #F2B8B5; }

/* Cookie consent banner */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 560px; margin: 0 auto; padding: 22px; background: var(--container); color: var(--fg); border-radius: var(--r-l); box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 1px 2px rgba(0, 0, 0, .3); }
.consent__title { font: 400 22px/1.2 var(--serif); margin-bottom: 8px; }
.consent__text { color: var(--on-secondary-container); font-size: 14px; line-height: 1.5; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.consent__actions .btn { min-height: 48px; padding: 12px 16px; }
@media (min-width: 640px) { .consent { left: 24px; right: auto; margin: 0; } }
.nw { white-space: nowrap; }
