/* ==========================================================================
   CoreMass Laboratories — base theme
   Palette follows MerchHarbor (navy / sky / white). Logo blue is #123a6b.
   ========================================================================== */

:root {
  /* Brand blues */
  --navy-950: #011d3a;
  --navy-900: #022a52;
  --navy-800: #033b72;
  --navy-700: #044a85;
  --navy-600: #0a5298;
  --brand: #123a6b;           /* exact logo colour */
  --sky: #0077b6;
  --sky-600: #0d8ad8;
  --sky-300: #5cbdf5;
  --sky-100: #dcefff;

  /* Neutrals */
  --white: #ffffff;
  --ice: #f0f4f8;
  --ice-2: #e1e8f0;
  --line: #dde4ec;
  --silver: #bdbfbe;
  --text: #4a4a4a;
  --text-soft: #717171;
  --heading: #0b2547;

  --success: #1a8a3f;

  /* Type */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Sora", "Inter", system-ui, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
  --header-h: 84px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(2, 42, 82, .06);
  --shadow: 0 10px 30px -12px rgba(2, 42, 82, .22);
  --shadow-lg: 0 24px 60px -20px rgba(2, 42, 82, .35);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--heading); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
section[id], footer[id] { scroll-margin-top: var(--header-h); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 200; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

.icon { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  font-weight: 600; font-size: 15.5px; line-height: 1;
  border-radius: 8px; border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy-800); color: #fff; box-shadow: 0 8px 20px -10px rgba(3, 59, 114, .7); }
.btn-primary:hover { background: var(--navy-600); }
.btn-outline { background: #fff; color: var(--heading); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy-600); color: var(--navy-600); }
.btn-sky { background: linear-gradient(90deg, var(--sky) 0%, var(--sky-600) 100%); color: #fff; border-radius: 999px; }
.btn-sky:hover { box-shadow: 0 10px 24px -10px rgba(13, 138, 216, .8); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.35); background: transparent; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-block { width: 100%; }

/* ---------- Eyebrow / section heads (Vialtests style) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--sky);
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.eyebrow.center::after { content: ""; width: 26px; height: 1.5px; background: currentColor; }

.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--ice); }
.section-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(32px, 4vw, 46px); margin-top: 14px; }
.section-head p { color: var(--text-soft); font-size: 17px; max-width: 460px; justify-self: end; }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head.center p { justify-self: center; }

/* ==========================================================================
   Header (Chromate layout, Testides active-section indicator)
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(2, 42, 82, .45); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 30px; width: auto; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  position: relative; display: block; padding: 10px 14px;
  font-weight: 500; font-size: 15.5px; color: var(--heading);
  transition: color .2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--sky); border-radius: 2px;
  transform: scaleX(0); transform-origin: center; transition: transform .25s ease;
}
.main-nav a:hover { color: var(--sky); }
.main-nav a.active { color: var(--navy-600); }
.main-nav a.active::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.header-cta .btn { min-height: 48px; padding: 0 24px; border-radius: 6px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--heading); border-radius: 2px; position: relative; transition: transform .25s, background .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; padding: 90px 0 0; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(92, 189, 245, .16), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--ice) 100%);
}
.hero::before { /* faint lab grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(3, 59, 114, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(3, 59, 114, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(42px, 5.6vw, 68px); font-weight: 700; margin: 20px 0 24px; letter-spacing: -0.035em; }
.hero h1 .accent { color: var(--sky); }
.hero-lead { font-size: 18.5px; max-width: 560px; color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0 26px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-size: 13.5px; font-weight: 600; color: var(--navy-800);
}
.chip .icon { width: 15px; height: 15px; color: var(--sky); }
.chips.center { justify-content: center; }

.stat-strip {
  position: relative; margin-top: 72px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--line); border-bottom: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.stat { padding: 26px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: 22px; color: var(--heading); letter-spacing: -0.01em; }
.stat span { display: block; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); margin-top: 4px; }

/* Sample certificate card */
.report-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.report-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.report-top img { height: 18px; width: auto; }
.report-top small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); font-weight: 600; }
.report-meta { display: grid; grid-template-columns: 150px 1fr; }
.report-id { background: var(--navy-800); color: #fff; padding: 20px 22px; }
.report-id b { display: block; font-family: var(--font-head); font-size: 18px; }
.report-id span { display: block; font-size: 12px; opacity: .75; margin-top: 2px; }
.report-id .purity { margin-top: 22px; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; opacity: .7; }
.report-id .purity strong { display: block; font-family: var(--font-head); font-size: 26px; letter-spacing: -0.02em; opacity: 1; color: var(--sky-300); text-transform: none; }
.report-fields { padding: 16px 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; font-size: 13px; }
.report-fields dt { color: var(--text-soft); font-size: 11.5px; }
.report-fields dd { margin: 0 0 4px; color: var(--heading); font-weight: 600; }
.report-chart { padding: 16px 22px 8px; border-top: 1px solid var(--line); }
.report-chart-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-soft); margin-bottom: 8px; }
.report-chart-head b { color: var(--success); font-weight: 600; }
.chromatogram { width: 100%; height: 150px; }
.chromatogram .grid line { stroke: var(--ice-2); stroke-width: 1; }
.chromatogram .trace { fill: none; stroke: var(--navy-600); stroke-width: 2; stroke-linejoin: round; }
.chromatogram .area { fill: url(#traceFill); }
.chromatogram .peak-label { font-size: 11px; fill: var(--sky); font-family: var(--font-body); font-weight: 600; }
.report-foot { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.report-foot div { padding: 14px 22px; border-left: 1px solid var(--line); }
.report-foot div:first-child { border-left: 0; }
.report-foot small { display: block; font-size: 11px; color: var(--text-soft); }
.report-foot code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 13.5px; font-weight: 600; color: var(--heading); }
.report-caption { margin-top: 16px; font-size: 13px; color: var(--text-soft); text-align: center; }

/* ==========================================================================
   Testing cards
   ========================================================================== */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.test-card {
  position: relative; display: flex; flex-direction: column;
  padding: 32px 28px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.test-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--ice-2); }
.test-card.featured { border-color: var(--navy-600); box-shadow: var(--shadow); }
.badge {
  position: absolute; top: -12px; left: 28px;
  background: var(--navy-800); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.test-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--sky-100); color: var(--navy-800); display: grid; place-items: center; margin-bottom: 20px; }
.test-icon .icon { width: 24px; height: 24px; }
.test-card h3 { font-size: 22px; margin-bottom: 10px; }
.test-card > p { color: var(--text-soft); font-size: 15px; min-height: 96px; }
.checklist { margin: 22px 0 26px; }
.checklist li { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--ice-2); font-size: 14.5px; color: var(--heading); }
.checklist li:first-child { border-top: 0; }
.checklist .icon { width: 16px; height: 16px; color: var(--sky); stroke-width: 2.4; }
.price { margin-top: auto; display: flex; align-items: baseline; gap: 6px; margin-bottom: 20px; }
.price strong { font-family: var(--font-head); font-size: 36px; color: var(--navy-800); letter-spacing: -0.03em; }
.price span { font-size: 13px; color: var(--text-soft); font-weight: 600; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.card-actions .btn { min-height: 46px; padding: 0 12px; font-size: 14.5px; }
.below-cards { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.below-cards p { font-size: 14.5px; color: var(--text-soft); display: flex; align-items: center; gap: 8px; }
.below-cards p a { color: var(--sky); font-weight: 600; }

/* ==========================================================================
   Process steps
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; }
.step-num {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-weight: 700; color: var(--navy-800); font-size: 14px;
}
.step-num .icon { width: 16px; height: 16px; color: var(--sky); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 19px; left: 90px; right: -14px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--silver) 0 6px, transparent 6px 12px);
}
.step h3 { font-size: 19px; margin: 22px 0 10px; }
.step p { font-size: 15px; color: var(--text-soft); }

/* ==========================================================================
   Science / methods
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.split h2 { font-size: clamp(32px, 4vw, 44px); margin: 14px 0 20px; }
.split p.lead { font-size: 17px; margin-bottom: 30px; }
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.method {
  padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s;
}
.method:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.method .tag { font-family: ui-monospace, Consolas, monospace; font-size: 12px; font-weight: 700; color: var(--sky); letter-spacing: .06em; }
.method h3 { font-size: 17px; margin: 8px 0 6px; }
.method p { font-size: 14px; color: var(--text-soft); }
.bullets { display: grid; gap: 12px; margin-bottom: 32px; }
.bullets li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--heading); }
.bullets .icon { color: var(--sky); margin-top: 3px; }

/* ==========================================================================
   What you receive (bordered 3-col grid)
   ========================================================================== */
.bordered-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.bordered-grid > div { padding: 34px 30px; border-left: 1px solid var(--line); }
.bordered-grid > div:first-child { border-left: 0; }
.bordered-grid .num { font-family: ui-monospace, Consolas, monospace; font-size: 13px; color: var(--sky); font-weight: 700; }
.bordered-grid h3 { font-size: 19px; margin: 14px 0 10px; }
.bordered-grid p { font-size: 15px; color: var(--text-soft); }

.feature-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 64px; }
.feature .f-icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--navy-800); color: #fff; margin-bottom: 18px; }
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--text-soft); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 72px; align-items: start; }
.faq-grid h2 { font-size: clamp(32px, 4vw, 44px); margin: 14px 0 18px; }
.faq-grid aside p { color: var(--text-soft); margin-bottom: 26px; }
.faq-grid aside { position: sticky; top: calc(var(--header-h) + 30px); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-family: var(--font-head); font-weight: 600; font-size: 17.5px; color: var(--heading);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .plus { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--line); transition: background .2s, border-color .2s; }
.faq-list summary .plus::before, .faq-list summary .plus::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 1.8px; background: var(--navy-800); transform: translate(-50%, -50%); transition: transform .25s; }
.faq-list summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-list details[open] summary .plus { background: var(--navy-800); border-color: var(--navy-800); }
.faq-list details[open] summary .plus::before, .faq-list details[open] summary .plus::after { background: #fff; }
.faq-list details[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-list summary:hover { color: var(--navy-600); }
.faq-answer { padding: 0 48px 24px 0; color: var(--text-soft); font-size: 15.5px; }

/* ==========================================================================
   Verify
   ========================================================================== */
.verify-panel {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
  padding: 56px; border-radius: 20px;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-600) 100%);
  color: rgba(255,255,255,.85);
}
.verify-panel::after {
  content: ""; position: absolute; right: -60px; bottom: -80px; width: 340px; height: 370px;
  background: url("../img/symbol-white.png") no-repeat center / contain; opacity: .05; pointer-events: none;
}
.verify-panel .eyebrow { color: var(--sky-300); }
.verify-panel h2 { color: #fff; font-size: clamp(30px, 3.6vw, 40px); margin: 14px 0 16px; }
.verify-form { position: relative; z-index: 1; background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg); }
.verify-form label { display: block; font-size: 13px; font-weight: 600; color: var(--heading); margin-bottom: 8px; }
.verify-form .row { display: flex; gap: 10px; }
.verify-form .hint { margin-top: 12px; font-size: 13px; color: var(--text-soft); }
.verify-result { margin-top: 14px; font-size: 14px; display: none; padding: 12px 14px; border-radius: 8px; background: var(--ice); color: var(--heading); }
.verify-result.show { display: block; }

.field {
  width: 100%; height: 50px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--heading);
  transition: border-color .2s, box-shadow .2s;
}
textarea.field { height: 140px; padding: 14px 16px; resize: vertical; }
.field:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(0, 119, 182, .12); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.contact-grid h2 { font-size: clamp(32px, 4vw, 44px); margin: 14px 0 18px; }
.contact-list { display: grid; gap: 18px; margin-top: 32px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list .c-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-100); color: var(--navy-800); flex: none; }
.contact-list small { display: block; font-size: 12.5px; color: var(--text-soft); }
.contact-list a, .contact-list b { color: var(--heading); font-weight: 600; }
.contact-list a:hover { color: var(--sky); }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.contact-form label { display: block; font-size: 13px; font-weight: 600; color: var(--heading); margin-bottom: 7px; }
.form-note { font-size: 13px; color: var(--text-soft); margin-top: 14px; }
.form-status { margin-top: 14px; font-size: 14px; color: var(--success); font-weight: 600; display: none; }
.form-status.show { display: block; }
.form-status.error { color: #c22828; }
.form-note a { color: var(--sky); font-weight: 600; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; background: var(--navy-900); color: rgba(255,255,255,.78); }

.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px 0 44px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-cta h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); max-width: 620px; }
.footer-cta .btn { min-height: 54px; padding: 0 34px; font-size: 16px; }

.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 48px; padding: 56px 0 48px; }
.footer-brand img { height: 30px; width: auto; margin-bottom: 22px; }
.footer-brand p { font-size: 15px; max-width: 340px; }
.footer-brand .contact-line { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: #fff; font-weight: 600; }
.footer-brand .contact-line .icon { color: var(--sky-300); }
.footer-brand .contact-line.location { margin-top: 10px; font-weight: 500; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 15.5px; font-weight: 700; letter-spacing: 0; margin-bottom: 18px; }
.footer-links li + li { margin-top: 10px; }
.footer-links a { font-size: 15px; transition: color .2s; }
.footer-links a:hover { color: var(--sky-300); }
.footer-verify p { font-size: 13.5px; margin-bottom: 14px; }
.footer-verify .field { height: 44px; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: #fff; font-size: 14px; }
.footer-verify .field::placeholder { color: rgba(255,255,255,.45); }
.footer-verify .btn { margin-top: 10px; min-height: 44px; background: var(--navy-700); border-color: rgba(255,255,255,.18); color: #fff; }
.footer-verify .btn:hover { background: var(--navy-600); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13.5px; }
.footer-bottom .ssl { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #fff; font-weight: 600; margin-right: 14px; }
.footer-bottom .ssl .icon { width: 14px; height: 14px; color: var(--sky-300); }
.footer-bottom .disclaimer { color: rgba(255,255,255,.55); }

/* Back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 46px; height: 46px; border-radius: 10px;
  background: var(--navy-800); color: #fff; border: 0; cursor: pointer; display: grid; place-items: center;
  box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s, background .2s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--sky); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Services
   ========================================================================== */
.svc-group { font-size: 20px; margin: 0 0 20px; }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 48px; }
.svc-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 18px; }
.svc {
  position: relative; display: flex; flex-direction: column; padding: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: box-shadow .25s, transform .25s;
}
.svc:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.svc h4 { font-size: 19px; margin: 8px 0; }
.svc p { font-size: 14.5px; color: var(--text-soft); line-height: 1.55; }
.svc-tag { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); }
.svc-price { display: flex; align-items: baseline; gap: 5px; margin-top: auto; padding-top: 18px; }
.svc-price strong { font-family: var(--font-head); font-size: 28px; color: var(--navy-800); letter-spacing: -0.02em; }
.svc-price strong sup { font-size: 13px; font-weight: 600; margin-left: 1px; }
.svc-price span { font-size: 12.5px; font-weight: 600; color: var(--text-soft); }
.svc-featured { grid-column: span 2; border-color: var(--navy-600); box-shadow: var(--shadow); padding-top: 30px; }
.svc-featured h4 { font-size: 24px; margin: 0 0 16px; }
.svc-featured .svc-price strong { font-size: 38px; }
.svc-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.svc-pair p { margin-top: 6px; }
.svc-cta { background: linear-gradient(135deg, var(--navy-900), var(--navy-600)); border: 0; justify-content: center; align-items: flex-start; }
.svc-cta h4 { color: #fff; margin-top: 0; }
.svc-cta p { color: rgba(255,255,255,.8); margin-bottom: 16px; }
.svc-footnote { font-size: 13.5px; color: var(--text-soft); margin: 0; }

/* ==========================================================================
   Policy pages
   ========================================================================== */
.policy-hero { padding: 70px 0 56px; background: var(--ice); }
.policy-hero h1 { font-size: clamp(36px, 5vw, 54px); margin: 14px 0 10px; }
.policy-hero p { color: var(--text-soft); }
.policy { padding: 60px 0 90px; }
.policy-body { max-width: 780px; margin: 0 auto; }
.policy-short { padding: 22px 26px; margin-bottom: 40px; background: var(--sky-100); border-left: 3px solid var(--sky); border-radius: 0 var(--radius) var(--radius) 0; color: var(--heading); }
.policy-short b { display: block; font-family: var(--font-head); margin-bottom: 4px; }
.policy-body h2 { font-size: 21px; margin: 36px 0 10px; }
.policy-body p + p, .policy-body p + ul, .policy-body ul + p { margin-top: 12px; }
.policy-body ul { list-style: disc; padding-left: 22px; }
.policy-body li + li { margin-top: 6px; }
.policy-body a { color: var(--sky); font-weight: 600; }
.policy-table { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 15px; }
.policy-table th, .policy-table td { text-align: left; vertical-align: top; padding: 13px 14px; border: 1px solid var(--line); }
.policy-table th { background: var(--ice); color: var(--heading); font-family: var(--font-head); font-weight: 600; }

/* ==========================================================================
   COA verified report
   ========================================================================== */
.coa-page { padding: 48px 0 96px; background: var(--ice); }
.coa-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; max-width: 920px; margin: 0 auto; }
.coa-specimen { padding: 10px 16px; background: var(--sky-100); border-radius: var(--radius); font-size: 14px; color: var(--navy-800); }
.coa-card { padding: 32px 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.coa-card h2 { margin-bottom: 22px; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); }

.coa-status { border-top: 4px solid var(--success); }
.coa-status-head { display: flex; align-items: center; gap: 16px; }
.coa-seal { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--success); color: #fff; }
.coa-seal .icon { width: 26px; height: 26px; stroke-width: 2.6; }
.coa-issuer { font-size: 13px; font-weight: 700; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; color: var(--success); }
.coa-signed { margin-top: 2px; font-size: 14px; color: var(--text-soft); }
.coa-status h1 { margin: 22px 0 10px; font-size: clamp(32px, 4.5vw, 42px); }

.coa-label { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-soft); }
.coa-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.coa-meta .coa-card { padding: 20px 24px; }
.coa-meta strong { display: block; margin-top: 4px; font-family: var(--font-head); font-size: 19px; font-weight: 600; color: var(--heading); overflow-wrap: anywhere; }

.coa-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; margin: 0; }
.coa-facts .full { grid-column: 1 / -1; }
.coa-facts dd { margin: 4px 0 0; font-size: 17px; font-weight: 500; color: var(--heading); }
.coa-facts dd.coa-mono { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-weight: 700; }
.coa-facts small { display: block; margin-top: 8px; font-size: 13.5px; color: var(--text-soft); }
.coa-hash { display: inline-block; max-width: 100%; padding: 10px 14px; background: var(--ice); border-radius: 8px; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 14px; font-weight: 600; word-break: break-all; }

.coa-pdf { margin-top: 20px; }
.coa-pdf h2 { margin-bottom: 18px; font-size: clamp(24px, 3vw, 30px); }
.coa-pdf canvas { width: 100%; height: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.coa-pdf canvas + canvas { margin-top: 20px; }
.coa-pdf iframe { display: block; width: 100%; height: 85vh; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.coa-pdf-status { padding: 48px 0; text-align: center; color: var(--text-soft); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .main-nav a { padding: 10px 10px; font-size: 15px; }
  .main-nav a::after { left: 10px; right: 10px; }
  .header-inner { gap: 20px; }
}

@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav-open .main-nav { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px var(--gutter) 20px; width: 100%; }
  .main-nav a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--ice-2); }
  .main-nav a::after { left: 0; right: auto; width: 3px; top: 12px; bottom: 12px; height: auto; transform: scaleY(0); }
  .main-nav a.active::after { transform: scaleY(1); }
  .main-nav a.active { padding-left: 14px; }
  .main-nav .mobile-cta { display: block; padding-top: 16px; }
  .main-nav .mobile-cta a { display: flex; border: 0; padding: 0 22px; color: #fff; font-size: 16px; }
  .main-nav .mobile-cta a::after { display: none; }
  .header-inner { justify-content: space-between; }
  .brand img { height: 26px; }

  .hero { padding-top: 56px; }
  .hero-grid, .split, .faq-grid, .contact-grid, .verify-panel { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .section-head p { justify-self: start; }
  .cards-3 { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .test-card > p { min-height: 0; }
  .steps, .feature-row { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .step:nth-child(2)::after { display: none; }
  .bordered-grid { grid-template-columns: 1fr; }
  .bordered-grid > div { border-left: 0; border-top: 1px solid var(--line); }
  .bordered-grid > div:first-child { border-top: 0; }
  .faq-grid aside { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-cta { flex-direction: column; align-items: flex-start; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section { padding: 84px 0; }
  .verify-panel { padding: 40px 28px; }
}
@media (min-width: 981px) { .main-nav .mobile-cta { display: none; } }

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .steps, .feature-row, .method-grid, .svc-grid, .svc-grid-3, .svc-pair { grid-template-columns: minmax(0, 1fr); }
  .svc-featured { grid-column: auto; }
  .policy { padding-bottom: 150px; }
  .coa-card { padding: 24px 20px; }
  .coa-facts, .coa-meta { grid-template-columns: minmax(0, 1fr); }
  .step::after { display: none; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .report-meta { grid-template-columns: 1fr; }
  .report-foot { grid-template-columns: 1fr 1fr; }
  .report-foot div:nth-child(3) { display: none; }
  .verify-form .row { flex-direction: column; }
  .contact-form { padding: 24px; }
  .stat { padding: 20px 18px; }
  .stat strong { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .test-card, .method { transition: none; }
}
