:root {
  --bg: #F5F5F0;
  --surface: #EBEBE6;
  --text: #333333;
  --muted: #777777;
  --primary: #A5A58D;
  --secondary: #6B705C;
  --accent: #B7B7A4;
  --border: rgba(0, 0, 0, 0.05);
  --biotech-grid: rgba(107, 112, 92, 0.06);
  --biology-pattern: rgba(165, 165, 141, 0.12);
  --lab-data-line: rgba(107, 112, 92, 0.2);
  --future-medicine-glow: rgba(183, 183, 164, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  background-image:
    linear-gradient(160deg, var(--bg) 0%, var(--surface) 45%, var(--bg) 100%),
    radial-gradient(ellipse 70% 40% at 85% 10%, var(--future-medicine-glow) 0%, transparent 70%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--biotech-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--biotech-grid) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 80%, var(--biology-pattern) 0%, transparent 35%),
    radial-gradient(circle at 90% 20%, var(--lab-data-line) 0%, transparent 30%);
  pointer-events: none;
  z-index: 0;
}

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

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

a:hover {
  color: var(--primary);
}

.nav-checkbox,
.cookie-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.disclosure-bar {
  position: relative;
  z-index: 100;
  display: flex;
  width: 100%;
  min-height: auto;
}

.disclosure-icon-zone {
  flex: 0 0 40px;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  font-size: 18px;
  font-weight: 700;
}

.disclosure-text-zone {
  flex: 1;
  background: var(--surface);
  padding: 10px 16px;
  display: flex;
  align-items: center;
}

.disclosure-text-zone p {
  font-size: 12px;
  color: var(--text);
  line-height: 1.5;
  text-align: left;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  width: 100%;
  background: var(--secondary);
  height: 52px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 16px;
}

.nav-logo img {
  height: 32px;
  width: auto;
}

.nav-cta {
  margin-left: auto;
  color: var(--bg);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 16px;
  background: var(--primary);
  border-radius: 4px;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: var(--accent);
  color: var(--text);
}

.burger-label {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  cursor: pointer;
  flex-shrink: 0;
}

.burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--bg);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-checkbox:checked ~ .site-header .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-checkbox:checked ~ .site-header .burger-line:nth-child(2) {
  opacity: 0;
}

.nav-checkbox:checked ~ .site-header .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(51, 51, 51, 0.5);
  z-index: 95;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.nav-checkbox:checked ~ .nav-overlay {
  opacity: 1;
  pointer-events: auto;
}

body:has(#nav-toggle:checked) {
  overflow: hidden;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100vh;
  background: var(--secondary);
  z-index: 96;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 72px 28px 32px;
  overflow-y: auto;
}

.nav-checkbox:checked ~ .nav-drawer {
  transform: translateX(0);
}

.nav-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-drawer-links a {
  display: block;
  color: var(--bg);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.2s ease;
}

.nav-drawer-links a:hover {
  color: var(--accent);
}

main {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
}

.site-footer {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.footer-logo img {
  height: 32px;
  width: auto;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}

.footer-badges a,
.footer-badges span {
  display: block;
}

.footer-badges img {
  height: 48px;
  width: auto;
}

.footer-nz-disclosure {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 900px;
  margin-top: 16px;
}

.footer-copy {
  font-size: 12px;
  color: var(--muted);
  margin-top: 20px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--secondary);
  color: var(--bg);
  padding: 20px 24px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.35s ease;
}

.cookie-checkbox:checked ~ .cookie-banner {
  transform: translateY(110%);
  pointer-events: none;
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-inner p {
  font-size: 13px;
  flex: 1;
  min-width: 200px;
}

.cookie-accept-label {
  display: inline-block;
  background: var(--primary);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cookie-accept-label:hover {
  background: var(--accent);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.legal-content h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 4px solid var(--text);
}

.legal-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--secondary);
  margin: 28px 0 12px;
}

.legal-content p {
  margin-bottom: 14px;
  color: var(--text);
  font-size: 15px;
}

.legal-content ul {
  margin: 0 0 16px 20px;
}

.legal-content li {
  margin-bottom: 8px;
  font-size: 15px;
}

.legal-content a {
  color: var(--secondary);
  text-decoration: underline;
}

.contact-form-wrap {
  margin-top: 32px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  border-radius: 4px;
  margin-bottom: 4px;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
  margin-bottom: 4px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

.field-error {
  display: none;
  font-size: 12px;
  color: #8b4513;
  margin-bottom: 14px;
}

.contact-form input:user-invalid:not(:focus) + .field-error,
.contact-form textarea:user-invalid:not(:focus) + .field-error {
  display: block;
}

.contact-form-submit {
  display: inline-block;
  background: var(--secondary);
  color: var(--bg);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 32px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s ease;
}

.contact-form-submit:hover {
  background: var(--primary);
  color: var(--text);
}

.contact-form-wrap:has(#sent:target) .contact-form {
  display: none;
}

.contact-success {
  display: none;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--primary);
  border-radius: 6px;
}

.contact-form-wrap:has(#sent:target) .contact-success {
  display: block;
}

.contact-success p {
  font-size: 16px;
  color: var(--secondary);
  font-weight: 600;
}

.sent-anchor {
  position: absolute;
  visibility: hidden;
  height: 0;
  overflow: hidden;
}

.page-404 {
  text-align: center;
  padding: 80px 24px;
  max-width: 600px;
  margin: 0 auto;
}

.page-404 h1 {
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 900;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 16px;
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
}

.page-404 p {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 32px;
}

.page-404 a {
  display: inline-block;
  background: var(--secondary);
  color: var(--bg);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 13px;
}

.page-404 a:hover {
  background: var(--primary);
  color: var(--text);
}

@media (max-width: 640px) {
  .burger-label {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .disclosure-text-zone {
    padding: 8px 12px;
  }

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

.hero-section {
  background: #ffffff;
  padding: 48px 24px;
  position: relative;
}

.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.hero-headline {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 900;
  color: #000000;
  text-align: left;
  line-height: 1.1;
  padding-bottom: 20px;
  border-bottom: 4px solid #000000;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--muted);
  text-align: right;
  max-width: 640px;
  margin-left: auto;
  line-height: 1.7;
}

.offers-section {
  padding: 64px 24px;
  position: relative;
  background: var(--surface);
}

.offers-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 20px,
      var(--biotech-grid) 20px,
      var(--biotech-grid) 21px
    );
  pointer-events: none;
}

.offers-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.offers-heading {
  text-align: center;
  margin-bottom: 40px;
}

.offers-heading h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 8px;
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  letter-spacing: 0.02em;
}

.offers-heading p {
  color: var(--muted);
  font-size: 15px;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  justify-content: center;
}

.offer-card {
  background: linear-gradient(145deg, #2a0a3a, #1a0524);
  border: 1px solid rgba(216, 180, 254, 0.15);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(234, 179, 8, 0.15);
}

.offer-card-logo-wrap {
  padding: 20px 20px 0;
}

.offer-card-logo {
  width: 280px;
  height: 90px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
}

.offer-card-logo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  display: block;
}

.offer-card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.offer-card-name {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #fff;
}

.offer-bonus-group {
  margin-bottom: 12px;
}

.offer-card-bonus {
  display: block;
  font-size: 14px;
  color: #e9d5ff;
  margin-bottom: 4px;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.4;
}

.offer-card-terms {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}

.offer-card-desc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.offer-card-cta {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, #eab308, #ca8a04);
  color: #050505;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 6px;
  transition: opacity 0.2s ease, transform 0.15s ease;
  width: 100%;
}

.offer-card-cta:hover {
  opacity: 0.9;
  transform: scale(1.02);
  color: #050505;
}

.info-section {
  padding: 64px 24px;
  position: relative;
}

.info-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.info-label {
  display: inline-block;
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 12px;
}

.info-section h2 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}

.info-section p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.75;
}

.info-1-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.bio-tech-visual {
  min-height: 200px;
  background:
    linear-gradient(var(--lab-data-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--lab-data-line) 1px, transparent 1px);
  background-size: 24px 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  position: relative;
}

.bio-tech-visual::after {
  content: "biotech";
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.info-2-layout {
  background: var(--surface);
  padding: 40px;
  border-left: 6px solid var(--secondary);
  border-radius: 0 8px 8px 0;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.info-3-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.info-3-number {
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  font-size: 5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}

.info-4-layout {
  background: var(--secondary);
  color: var(--bg);
  padding: 48px 40px;
  border-radius: 8px;
}

.info-4-layout h2 {
  color: var(--bg);
}

.info-4-layout p {
  color: rgba(245, 245, 240, 0.9);
}

.info-4-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.info-4-stat {
  padding: 12px 20px;
  border: 1px solid rgba(245, 245, 240, 0.25);
  border-radius: 4px;
}

.info-5-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  align-items: center;
}

.biology-pattern-block {
  height: 180px;
  background:
    radial-gradient(circle at 30% 40%, var(--biology-pattern) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, var(--future-medicine-glow) 0%, transparent 45%);
  border-radius: 50% 20% 50% 20%;
  border: 1px solid var(--border);
}

.info-5-layout .biology-pattern-block::before {
  content: "biology";
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.info-6-layout {
  position: relative;
  padding-left: 48px;
}

.info-6-layout::before {
  content: "\201C";
  position: absolute;
  left: 0;
  top: -20px;
  font-size: 6rem;
  color: var(--accent);
  line-height: 1;
  font-family: Georgia, serif;
}

.info-6-layout p {
  font-size: 17px;
  font-style: italic;
  color: var(--secondary);
}

.info-7-layout {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 32px;
  border-left: 2px solid var(--primary);
}

.info-7-step {
  padding: 20px 0 20px 24px;
  position: relative;
  border-bottom: 1px dashed var(--border);
}

.info-7-step::before {
  content: "";
  position: absolute;
  left: -37px;
  top: 26px;
  width: 10px;
  height: 10px;
  background: var(--secondary);
  border-radius: 50%;
  border: 2px solid var(--bg);
}

.info-7-step h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 6px;
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
}

.info-7-step p {
  font-size: 14px;
}

.info-8-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.info-8-cell {
  background: var(--surface);
  padding: 24px 20px;
  border: 1px solid var(--border);
  border-radius: 6px;
  text-align: center;
}

.info-8-cell h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.info-8-cell p {
  font-size: 13px;
  color: var(--muted);
}

.info-9-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
}

.info-9-sidebar {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  border-right: 3px solid var(--primary);
  padding-right: 16px;
}

.lab-data-strip {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.lab-data-strip span {
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  font-size: 10px;
  padding: 4px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
}

.info-10-layout {
  background: var(--bg);
  border: 2px solid var(--secondary);
  padding: 40px;
  border-radius: 8px;
}

.info-10-list {
  list-style: none;
  margin-top: 20px;
}

.info-10-list li {
  padding: 12px 0 12px 36px;
  position: relative;
  font-size: 15px;
  border-bottom: 1px solid var(--border);
}

.info-10-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
  font-size: 16px;
}

.future-medicine-tag {
  display: inline-block;
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 16px;
}

.info-section:nth-child(odd) {
  background: var(--bg);
}

.info-section:nth-child(even) {
  background: var(--surface);
}

@media (max-width: 768px) {
  .hero-headline {
    text-align: center;
    border-bottom: none;
    border-top: 4px solid #000000;
    padding-bottom: 0;
    padding-top: 20px;
  }

  .hero-subtitle {
    text-align: center;
    margin-left: 0;
  }

  .info-1-layout,
  .info-5-layout,
  .info-9-layout {
    grid-template-columns: 1fr;
  }

  .info-3-layout {
    flex-direction: column;
  }

  .info-8-layout {
    grid-template-columns: 1fr;
  }

  .info-9-sidebar {
    writing-mode: horizontal-tb;
    transform: none;
    border-right: none;
    border-bottom: 3px solid var(--primary);
    padding-right: 0;
    padding-bottom: 12px;
  }

  .offer-card-logo {
    width: 240px;
    height: 77px;
  }

  .offer-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }
}
