:root {
  color-scheme: light;
  --ink: #162522;
  --ink-soft: #33443f;
  --muted: #66736f;
  --line: #d8dfd8;
  --paper: #f7f6f1;
  --panel: #ffffff;
  --teal: #007f7a;
  --teal-strong: #0f3f3b;
  --mint: #dff7ee;
  --amber: #f5b342;
  --coral: #e76f51;
  --danger: #b42318;
  --warning: #8a5a00;
  --shadow: 0 22px 65px rgba(22, 37, 34, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px clamp(18px, 4vw, 56px);
}

.site-header-light {
  position: static;
  background: rgba(247, 246, 241, 0.94);
  border-bottom: 1px solid var(--line);
}

.brand-link {
  display: inline-flex;
  width: max-content;
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(247, 246, 241, 0.94);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.14);
}

.site-header-light .brand-link {
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(22, 37, 34, 0.08);
}

.brand-link img {
  width: 198px;
  height: auto;
}

nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 800;
}

.site-header-light nav a {
  color: var(--teal-strong);
}

.nav-button {
  background: #ffffff;
  color: var(--teal-strong);
}

.site-header-light .nav-button {
  background: var(--teal);
  color: #ffffff;
}

.hero-section {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 88vh;
  overflow: hidden;
  padding: 132px clamp(20px, 5vw, 72px) 72px;
  color: #ffffff;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 37, 34, 0.96) 0%, rgba(8, 37, 34, 0.82) 36%, rgba(8, 37, 34, 0.28) 72%, rgba(8, 37, 34, 0.44) 100%),
    url("/assets/brand/prolab-hero-lab.jpg") center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-content .eyebrow {
  color: #f5d18b;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

.hero-content h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.65rem);
  line-height: 0.98;
}

.hero-content p:not(.eyebrow) {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(247, 246, 241, 0.88);
  font-size: 1.13rem;
}

.hero-actions,
.review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  padding: 0 20px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button:focus-visible {
  outline: 4px solid rgba(0, 127, 122, 0.18);
  outline-offset: 2px;
}

.button-primary {
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(0, 127, 122, 0.24);
}

.button-primary:hover {
  background: #006f69;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.form-card .button-secondary,
.review-card .button-secondary {
  border-color: var(--line);
  background: #ffffff;
  color: var(--teal);
}

.button-secondary.danger {
  color: var(--danger);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.trust-strip div {
  min-height: 122px;
  padding: 26px clamp(20px, 4vw, 46px);
  background: #ffffff;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--teal-strong);
  font-size: 1.05rem;
}

.trust-strip span {
  margin-top: 6px;
  color: var(--muted);
}

.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 56px;
  align-items: start;
}

.section-split h2,
.cta-band h2,
.form-intro h1,
.review-card h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.03;
}

.section-split p:not(.eyebrow),
.cta-band p,
.form-intro p {
  color: var(--muted);
  font-size: 1.04rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article {
  min-height: 214px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.feature-grid span {
  color: var(--teal);
  font-weight: 900;
}

.feature-grid h3 {
  margin: 22px 0 10px;
  color: var(--ink);
  font-size: 1.18rem;
}

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

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto 72px;
  width: min(1180px, calc(100% - 40px));
  padding: 36px;
  border-radius: 8px;
  background: var(--teal-strong);
  color: #ffffff;
}

.cta-band h2 {
  color: #ffffff;
}

.cta-band p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(247, 246, 241, 0.78);
}

.cta-band .eyebrow {
  color: #f5d18b;
}

.form-page {
  background:
    linear-gradient(135deg, rgba(223, 247, 238, 0.84), rgba(247, 246, 241, 0.92) 42%, rgba(255, 244, 232, 0.96)),
    var(--paper);
}

.form-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 34px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 80px;
}

.form-intro {
  padding-top: 28px;
}

.form-intro p:not(.eyebrow) {
  max-width: 420px;
}

.form-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.registration-form {
  display: grid;
  gap: 24px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field-grid label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
}

.field-grid .wide {
  grid-column: 1 / -1;
}

.field-grid input,
.field-grid select,
.field-grid textarea {
  width: 100%;
  border: 1px solid #cbd8d4;
  border-radius: 8px;
  background: #fbfcfa;
  color: var(--ink);
  outline: none;
  padding: 13px 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field-grid input,
.field-grid select {
  min-height: 50px;
}

.field-grid textarea {
  resize: vertical;
}

.field-grid input:focus,
.field-grid select:focus,
.field-grid textarea:focus {
  border-color: var(--teal);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 127, 122, 0.14);
}

.notice {
  margin: 0 0 22px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf8;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 800;
}

.notice-error {
  border-color: rgba(180, 35, 24, 0.26);
  background: #fff1ee;
  color: var(--danger);
}

.notice-warning {
  border-color: rgba(138, 90, 0, 0.26);
  background: #fff8e7;
  color: var(--warning);
}

.notice-info {
  border-color: rgba(0, 127, 122, 0.24);
  background: #eefaf6;
  color: #075e59;
}

.notice-success {
  border-color: rgba(0, 127, 122, 0.24);
  background: #eefaf6;
  color: #075e59;
}

.review-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 34px 20px;
}

.review-logo {
  margin-bottom: 24px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(22, 37, 34, 0.08);
}

.review-card {
  width: min(100%, 760px);
}

.review-card h1 {
  margin-bottom: 24px;
}

.review-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.review-list div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 16px;
  background: #ffffff;
}

.review-list dt {
  color: var(--muted);
  font-weight: 900;
}

.review-list dd {
  margin: 0;
  color: var(--ink);
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
  }

  .site-header-light {
    position: static;
  }

  .brand-link img {
    width: 168px;
  }

  nav a {
    min-height: 38px;
    padding: 0 10px;
    font-size: 0.88rem;
  }

  .hero-section {
    min-height: 760px;
    padding-top: 118px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(8, 37, 34, 0.94) 0%, rgba(8, 37, 34, 0.78) 48%, rgba(8, 37, 34, 0.48) 100%),
      url("/assets/brand/prolab-hero-lab.jpg") center / cover no-repeat;
  }

  .hero-content h1 {
    max-width: 11ch;
  }

  .trust-strip,
  .section-split,
  .form-shell {
    grid-template-columns: 1fr;
  }

  .section-shell {
    padding: 64px 0;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding: 16px;
  }

  .brand-link {
    padding: 6px;
  }

  .brand-link img {
    width: 138px;
  }

  nav {
    gap: 6px;
  }

  nav a {
    padding: 0 8px;
    font-size: 0.82rem;
  }

  .hero-section {
    min-height: 720px;
    padding: 112px 20px 44px;
  }

  .hero-actions,
  .review-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .trust-strip div {
    min-height: auto;
    padding: 22px 20px;
  }

  .feature-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .section-shell,
  .cta-band,
  .form-shell {
    width: min(100% - 28px, 1180px);
  }

  .form-card {
    padding: 24px 18px;
  }

  .review-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
