:root {
  --navy: #0b1f3a;
  --navy-2: #12365f;
  --teal: #0f8b8d;
  --teal-dark: #087376;
  --sky: #eaf4f8;
  --line: #cbd9e5;
  --line-dark: #8fb2c5;
  --text: #14253e;
  --muted: #5f7086;
  --paper: #ffffff;
  --wash: #f6fafc;
  --danger: #b42318;
  --shadow: 0 18px 45px rgba(11, 31, 58, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 245px;
}

.brand-logo,
.footer-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 5px;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-name {
  color: var(--navy);
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-tagline {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 34px);
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a:not(.nav-button):hover,
.footer-links a:hover,
.secondary-link:hover {
  color: var(--teal);
}

.nav-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  font: inherit;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(15, 139, 141, 0.22);
  cursor: pointer;
}

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

.secondary-button {
  background: var(--navy);
  box-shadow: 0 12px 24px rgba(11, 31, 58, 0.18);
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.96) 26%, rgba(255, 255, 255, 0.62) 55%, rgba(255, 255, 255, 0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: clamp(76px, 9vw, 124px) clamp(22px, 5vw, 72px);
}

h1,
h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.04;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.7rem, 4.7vw, 4.75rem);
}

h2 {
  font-size: clamp(2rem, 3.2vw, 3.35rem);
}

h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.08rem;
}

p {
  margin: 0;
}

.hero-copy {
  max-width: 530px;
  margin-top: 26px;
  color: #213a5a;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: 34px;
}

.base-price {
  color: var(--navy);
  font-weight: 800;
}

.base-price strong {
  color: var(--teal);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}

.trust-row span {
  padding: 10px 14px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
}

.chromatogram-panel {
  position: absolute;
  right: clamp(24px, 6vw, 88px);
  bottom: 56px;
  z-index: 2;
  width: min(520px, 46vw);
  padding: 18px 22px 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.chart-label {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 0.83rem;
  font-weight: 800;
}

.grid-line {
  fill: none;
  stroke: #dbe6ee;
  stroke-width: 1;
}

.axis-line {
  fill: none;
  stroke: #71869d;
  stroke-width: 1.4;
}

.trace-line {
  fill: none;
  stroke: var(--navy);
  stroke-width: 2.2;
}

.section {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: 78px 0;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 48px;
  align-items: center;
}

.intro-band p,
.section-heading p,
.process-grid p,
.included-grid p,
.payment-hero p,
.wallet-details p,
.proof-panel p {
  color: var(--muted);
  font-size: 1rem;
}

.intro-band p,
.section-heading p {
  max-width: 720px;
  margin-top: 16px;
}

.method-list {
  display: grid;
  gap: 12px;
}

.method-list span {
  padding: 16px 20px;
  color: var(--navy);
  background: var(--wash);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 6px;
  font-weight: 800;
}

.request-section {
  padding-top: 34px;
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading.centered p {
  margin-right: auto;
  margin-left: auto;
}

.error-summary {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
  padding: 16px 18px;
  color: var(--danger);
  background: #fff8f6;
  border: 1px solid #f2b8b5;
  border-radius: var(--radius);
}

.request-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: 38px;
  padding: clamp(22px, 3.5vw, 38px);
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

label {
  display: grid;
  gap: 8px;
}

label span,
.wallet-box span,
.detail-list dt,
.summary-metrics small {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

label b {
  color: var(--teal);
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-size: 0.96rem;
}

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

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(15, 139, 141, 0.17);
  border-color: var(--teal);
}

label em {
  color: var(--danger);
  font-size: 0.83rem;
  font-style: normal;
  font-weight: 700;
}

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

.pricing-panel {
  align-self: start;
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.pricing-panel h3 {
  margin-bottom: 22px;
  color: var(--teal);
  font-size: 1.35rem;
  text-transform: uppercase;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.price-row.fixed {
  border-top: 0;
}

.price-row strong {
  display: block;
  color: var(--navy);
}

.price-row span span,
.price-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: none;
}

.option-row {
  grid-template-columns: auto 1fr auto;
  cursor: pointer;
}

.option-row input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  accent-color: var(--teal);
}

.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding: 22px;
  color: var(--teal);
  background: linear-gradient(135deg, #f2fbfc, #fff);
  border: 1px solid var(--teal);
  border-radius: 6px;
}

.total-row span {
  color: var(--teal);
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
}

.total-row strong {
  font-size: 2.1rem;
}

.pricing-note {
  margin: 18px 0 20px;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.full-button {
  width: 100%;
}

.process-section {
  border-top: 1px solid var(--line);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.process-grid article,
.included-grid article {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.process-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font-weight: 900;
}

.process-grid h3,
.included-grid h3 {
  margin-bottom: 10px;
}

.included-section {
  padding-top: 20px;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.included-grid article {
  padding: 22px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 32px clamp(20px, 5vw, 72px);
  background: var(--wash);
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}

.footer-brand div {
  display: grid;
}

.footer-brand span,
.footer-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

.footer-note {
  grid-column: 1 / -1;
  max-width: 920px;
}

.payment-hero {
  padding: 76px 22px 64px;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(246, 250, 252, 0.9), rgba(255, 255, 255, 0.94)),
    url("../img/lab-hero.png") center 40% / cover;
  border-bottom: 1px solid var(--line);
}

.payment-hero h1 {
  margin-top: 18px;
  font-size: clamp(2.55rem, 5vw, 4.5rem);
}

.payment-hero p {
  max-width: 650px;
  margin: 18px auto 0;
}

.success-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  color: var(--teal);
  background: #fff;
  border: 4px solid var(--teal);
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 900;
}

.payment-layout {
  display: grid;
  gap: 26px;
}

.summary-panel,
.bitcoin-panel,
.proof-panel {
  padding: clamp(22px, 3vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(11, 31, 58, 0.08);
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.panel-heading h2 {
  font-size: clamp(1.7rem, 2.3vw, 2.5rem);
}

.panel-heading span {
  padding: 8px 13px;
  color: var(--teal-dark);
  background: #d8f1f1;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
}

.summary-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.summary-metrics div {
  padding: 18px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.summary-metrics strong {
  display: block;
  margin-top: 6px;
  color: var(--teal-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.16;
}

.summary-columns,
.bitcoin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.test-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.test-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.detail-list {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px 18px;
  margin: 18px 0 0;
}

.detail-list dd {
  margin: 0;
  color: var(--muted);
}

.qr-frame {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 24px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.qr-frame img {
  width: min(260px, 70vw);
  height: auto;
  background: #fff;
}

.wallet-details {
  align-self: center;
}

.wallet-details h3 {
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 1.5rem;
}

.wallet-warning {
  margin: 18px 0;
  padding: 13px 14px;
  color: #8a4b00;
  background: #fff8e5;
  border: 1px solid #f2ce78;
  border-radius: 6px;
  font-weight: 700;
}

.wallet-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 18px;
}

.wallet-box span {
  grid-column: 1 / -1;
}

.wallet-box input {
  font-family: "Courier New", monospace;
}

.wallet-box button {
  min-width: 84px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.wallet-box button:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.amount-due {
  display: grid;
  gap: 3px;
  margin-top: 22px;
}

.amount-due span {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.amount-due strong {
  color: var(--teal-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.45rem;
}

.proof-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: linear-gradient(135deg, #f6fbfc, #fff);
}

.proof-panel h2 {
  font-size: clamp(1.55rem, 2.2vw, 2.35rem);
}

.proof-panel p {
  max-width: 840px;
  margin-top: 8px;
}

.payment-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.secondary-link {
  color: var(--navy);
  font-weight: 800;
}

@media (max-width: 1040px) {
  .chromatogram-panel {
    width: min(470px, 72vw);
    right: 22px;
  }

  .request-shell,
  .intro-band,
  .summary-columns,
  .bitcoin-grid {
    grid-template-columns: 1fr;
  }

  .pricing-panel {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 30px;
  }

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

@media (max-width: 780px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.86));
  }

  .hero-image {
    opacity: 0.46;
    object-position: 68% center;
  }

  .hero-content {
    padding: 60px 22px 260px;
  }

  .chromatogram-panel {
    left: 22px;
    right: 22px;
    bottom: 30px;
    width: auto;
  }

  .section {
    width: min(100% - 32px, var(--max));
    padding: 56px 0;
  }

  .form-grid,
  .process-grid,
  .summary-metrics {
    grid-template-columns: 1fr;
  }

  .included-grid {
    grid-template-columns: 1fr;
  }

  .proof-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .brand {
    min-width: 0;
  }

  .brand-name {
    font-size: 0.94rem;
  }

  .brand-tagline {
    font-size: 0.75rem;
  }

  .nav-button,
  .primary-button,
  .secondary-button {
    width: 100%;
  }

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

  .request-shell,
  .summary-panel,
  .bitcoin-panel,
  .proof-panel {
    padding: 20px 16px;
  }

  .price-row {
    grid-template-columns: 1fr;
  }

  .option-row {
    grid-template-columns: auto 1fr;
  }

  .option-row b {
    grid-column: 2;
  }

  .detail-list {
    grid-template-columns: 1fr;
  }

  .wallet-box {
    grid-template-columns: 1fr;
  }
}
