/* Bioznow — global styles. 8px spacing grid. WCAG 2.2 AA colour contrast. */
:root {
  --ink: #0b1220;
  --ink-2: #111827;
  --surface: #151c2c;
  --surface-2: #1a2336;
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #14b8a6;
  --accent-ink: #042f2e;
  --blue: #3b82f6;
  --border: #1f2937;
  --danger: #f87171;
  --danger-bg: #1f1215;
  --focus: #5eead4;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --radius-sm: 10px;
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 40px;
  --s6: 48px;
  --s8: 64px;
  --s10: 80px;
  --s12: 96px;
  --max: 1120px;
  --header: 72px;
  --font-display: "Outfit", "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100%;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #2dd4bf;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: var(--s2);
  top: -100px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: var(--s2) var(--s3);
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-weight: 600;
}

.skip-link:focus {
  top: var(--s2);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: rgba(11, 18, 32, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  color: inherit;
  line-height: 1;
}

.brand:hover {
  color: inherit;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.wordmark .now {
  font-weight: 500;
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
  margin: 0 auto;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--s1);
}

.site-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: var(--surface);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  color: var(--accent-ink);
  background: #2dd4bf;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  background: var(--surface);
}

.btn-header {
  margin-left: var(--s2);
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  padding: var(--s12) 0 var(--s10);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31, 41, 55, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 41, 55, 0.55) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 20%, black 20%, transparent 70%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--s3);
}

.hero h1,
.page-hero h1,
.section h2 {
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  line-height: 1.08;
  font-weight: 600;
  margin: 0 0 var(--s3);
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  max-width: 18ch;
}

.lede,
.hero .lede {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 42ch;
  margin: 0 0 var(--s5);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}

.hero-wordmark {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  letter-spacing: -0.055em;
  font-weight: 700;
  line-height: 1;
  margin: 0 0 var(--s4);
}

.hero-wordmark .now {
  font-weight: 500;
  color: var(--accent);
}

.trust {
  border-block: 1px solid var(--border);
  background: var(--ink-2);
  padding: var(--s4) 0;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3) var(--s8);
  color: var(--muted);
  font-size: 0.9rem;
}

.trust-row strong {
  color: var(--text);
  font-weight: 600;
}

.section {
  padding: var(--s10) 0;
}

.section-alt {
  background: var(--ink-2);
}

.section-kicker {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--s2);
}

.section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.section-intro {
  color: var(--muted);
  max-width: 54ch;
  margin: 0 0 var(--s6);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s8);
  align-items: start;
}

.grid-3,
.grid-2,
.grid-4 {
  display: grid;
  gap: var(--s3);
}

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

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s4);
  height: 100%;
}

.card h3,
.card h2 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  margin: var(--s2) 0;
  font-size: 1.25rem;
}

.card p {
  color: var(--muted);
  margin: 0;
}

.card a.more {
  display: inline-block;
  margin-top: var(--s3);
  font-weight: 600;
  text-decoration: none;
}

.icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
}

.icon-blue {
  color: var(--blue);
}

.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s2);
  counter-reset: step;
}

.process li {
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--s3);
}

.process ol {
  margin: 0;
  padding: 0;
  display: contents;
}

.process h3 {
  margin: 8px 0;
  font-size: 1rem;
}

.process p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.step-num {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
}

.metric {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.04em;
  color: var(--text);
}

.cta-band {
  background:
    radial-gradient(600px 200px at 80% 0%, rgba(20, 184, 166, 0.12), transparent 60%),
    var(--ink-2);
  border-top: 1px solid var(--border);
  padding: var(--s10) 0;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
  margin: 0 0 var(--s2);
}

.page-hero {
  padding: var(--s10) 0 var(--s6);
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  max-width: 20ch;
}

.prose {
  max-width: 68ch;
}

.prose h2 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  margin-top: var(--s6);
}

.prose p,
.prose li {
  color: var(--muted);
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink-2);
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent);
}

.person {
  display: flex;
  gap: var(--s3);
  align-items: flex-start;
}

.person h3 {
  margin: 0 0 4px;
}

.person p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.role {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: -0.04em;
}

.price span {
  font-size: 1rem;
  color: var(--muted);
  font-family: var(--font-body);
  letter-spacing: 0;
}

.price-card .btn {
  width: 100%;
  margin-top: var(--s4);
}

.note {
  color: var(--muted);
  font-size: 0.9rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

th,
td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: var(--s8) 0 var(--s4);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s5);
}

.site-footer h2 {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 var(--s2);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  display: inline-block;
  padding: 4px 0;
}

.site-footer a:hover {
  color: var(--text);
}

.legal-row {
  margin-top: var(--s6);
  padding-top: var(--s3);
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s2);
}

.form {
  display: grid;
  gap: var(--s3);
  max-width: 640px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.field-hint,
.error {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 6px;
}

.error {
  color: var(--danger);
}

input,
textarea,
select {
  width: 100%;
  min-height: 44px;
  background: var(--ink);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:user-invalid,
textarea:user-invalid {
  border-color: var(--danger);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

.form-status {
  padding: var(--s3);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
}

.form-status[hidden] {
  display: none;
}

.cookie-banner {
  position: fixed;
  right: var(--s3);
  bottom: var(--s3);
  left: var(--s3);
  z-index: 80;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s3);
  box-shadow: var(--shadow);
  max-width: 720px;
  margin-inline: auto;
}

.cookie-banner p {
  margin: 0 0 var(--s3);
  color: var(--muted);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}

.illustration {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: var(--s4);
}

.list-check {
  padding-left: 1.2rem;
  color: var(--muted);
}

.list-check li {
  margin-bottom: 8px;
}

.job {
  display: flex;
  justify-content: space-between;
  gap: var(--s3);
  align-items: center;
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--border);
}

.job h3 {
  margin: 0 0 4px;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s4);
  box-shadow: var(--shadow);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
  margin-top: var(--s4);
}

.muted {
  color: var(--muted);
}

.breadcrumbs {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: var(--s3);
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--text);
}

@media (max-width: 960px) {
  .grid-4,
  .grid-3,
  .process,
  .footer-grid,
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 800px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: var(--ink-2);
    border-bottom: 1px solid var(--border);
    padding: var(--s3);
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
  }

  .btn-header {
    margin: var(--s2) 0 0;
    width: 100%;
  }

  .header-inner {
    position: relative;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(var(--max), calc(100% - 32px));
  }

  .grid-4,
  .grid-3,
  .grid-2,
  .process,
  .footer-grid,
  .split,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .job {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: var(--s8);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
