/* ============================================================
   502BIO — Design System
   Clean medical-grade aesthetic: sky blue + slate on white.
   Hand-authored, framework-free for fast loads on any device.
   ============================================================ */

:root {
  /* Brand blues (refined from vial art) */
  --blue-50:  #eef6fc;
  --blue-100: #d9ecf8;
  --blue-200: #b7d9ef;
  --blue-300: #8cc0e2;   /* brand light */
  --blue-400: #5ea9d8;
  --blue-500: #3a93cf;   /* primary */
  --blue-600: #2f7db4;
  --blue-700: #266590;
  --blue-800: #1f4f70;

  /* Slate / grays */
  --ink-900: #1c2025;
  --ink-800: #262b31;
  --ink-700: #3a4047;
  --ink-600: #545b63;
  --ink-500: #6e6f71;   /* brand gray */
  --ink-400: #9aa0a6;
  --ink-300: #c3c8cd;

  --line:     #e6ebef;
  --line-soft:#eef2f5;

  --bg:       #ffffff;
  --bg-soft:  #f6f9fb;
  --bg-wash:  #eef6fc;
  --bg-ink:   #161a1f;   /* footer / dark band */
  --bg-ink-2: #1d232a;

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

  /* Radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Shadows */
  --sh-xs: 0 1px 2px rgba(28,32,37,.06);
  --sh-sm: 0 2px 8px rgba(28,32,37,.06);
  --sh:    0 8px 26px -10px rgba(38,73,103,.20);
  --sh-lg: 0 24px 60px -22px rgba(38,73,103,.32);
  --sh-blue: 0 16px 36px -14px rgba(58,147,207,.45);

  /* Layout */
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 72px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-600); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--blue-700); }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink-900); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p { color: var(--ink-600); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-600); line-height: 1.7; }
.eyebrow {
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-600); display: inline-flex; align-items: center; gap: .55em;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--blue-400); border-radius: 2px; }
.eyebrow.center::after { content: ""; width: 26px; height: 2px; background: var(--blue-400); border-radius: 2px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 116px); }
.section--soft { background: var(--bg-soft); }
.section--wash { background: linear-gradient(180deg, var(--bg-wash), #fff); }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 16px; }
.stack-sm > * + * { margin-top: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem; letter-spacing: -.01em;
  padding: 13px 24px; border-radius: var(--r-pill); border: 1.5px solid transparent;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), color .2s var(--ease);
  min-height: 46px; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--blue-500); color: #fff; box-shadow: var(--sh-blue); }
.btn--primary:hover { background: var(--blue-600); color:#fff; transform: translateY(-2px); }
.btn--ghost { background: #fff; color: var(--ink-800); border-color: var(--line); box-shadow: var(--sh-xs); }
.btn--ghost:hover { border-color: var(--blue-300); color: var(--blue-700); transform: translateY(-2px); }
.btn--light { background: rgba(255,255,255,.12); color:#fff; border-color: rgba(255,255,255,.28); }
.btn--light:hover { background: rgba(255,255,255,.2); color:#fff; }
.btn--wa { background: #25d366; color:#06281a; }
.btn--wa:hover { background: #21bd5c; color:#06281a; transform: translateY(-2px); }
.btn--tg { background: #229ed9; color:#fff; box-shadow: 0 14px 30px -14px rgba(34,158,217,.6); }
.btn--tg:hover { background: #1c8cc2; color:#fff; transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 30px; font-size: 1rem; min-height: 54px; }

/* ---------- Badges / chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--font-display); font-weight: 600; font-size: .72rem; letter-spacing: .03em;
  padding: 5px 11px; border-radius: var(--r-pill); line-height: 1;
}
.badge--cat { background: var(--blue-50); color: var(--blue-700); }
.badge--strength { background: var(--ink-700); color:#fff; letter-spacing: .02em; }
.badge--ruo { background: #fff4e6; color: #9a5b00; border: 1px solid #ffe2b8; }
.badge--purity { background: #eafaf1; color: #1c7a45; border: 1px solid #c9efd8; }
.badge--dot::before { content:""; width:6px; height:6px; border-radius:50%; background: currentColor; opacity:.7; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--sh-sm); }
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { height: 40px; width: auto; }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; letter-spacing: -.02em; }
.wordmark .b502 { color: var(--blue-500); }
.wordmark .bbio { color: var(--ink-500); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-family: var(--font-display); font-weight: 500; font-size: .94rem; color: var(--ink-700);
  padding: 9px 14px; border-radius: var(--r-xs); transition: background .16s var(--ease), color .16s var(--ease);
}
.nav-links a:hover { background: var(--bg-soft); color: var(--blue-700); }
.nav-links a.active { color: var(--blue-700); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-xs); background:#fff; align-items:center; justify-content:center; }
.nav-toggle span { display:block; width: 20px; height: 2px; background: var(--ink-800); position: relative; transition: .2s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after { content:""; position:absolute; left:0; width:20px; height:2px; background: var(--ink-800); transition:.2s var(--ease); }
.nav-toggle span::before { top:-6px; } .nav-toggle span::after { top:6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: rotate(45deg); top:0; }
body.nav-open .nav-toggle span::after { transform: rotate(-45deg); top:0; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(40px, 7vw, 86px); padding-bottom: clamp(76px, 11vw, 156px); overflow: hidden; }
/* Designed two-tone backdrop: white upper, matte-blue lower band */
.hero::before {
  content:""; position:absolute; inset:0; z-index:-1;
  background:
    radial-gradient(80% 60% at 88% 26%, rgba(255,255,255,.6), transparent 64%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 60%, #aecbe3 60%, #9bbcda 100%);
}
/* soft seam where white meets blue */
.hero::after {
  content:""; position:absolute; left:0; right:0; top:60%; height:1px; z-index:-1;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
}
.hero-meta .lbl { color: var(--ink-700); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin-top: 18px; }
.hero h1 .accent { color: var(--blue-500); }
.hero p { margin-top: 20px; max-width: 30em; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 26px; }
.hero-meta .stat { display: flex; flex-direction: column; gap: 2px; }
.hero-meta .num { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--ink-900); letter-spacing: -.02em; }
.hero-meta .lbl { font-size: .82rem; color: var(--ink-500); }
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-vial {
  position: relative; width: min(420px, 86%); aspect-ratio: 1; border-radius: var(--r-xl);
  background: radial-gradient(circle at 50% 38%, #fff, #eaf2f9 78%);
  box-shadow: var(--sh-lg); display: grid; place-items: center;
  border: 1px solid #fff;
}
.hero-vial img { width: 78%; filter: drop-shadow(0 30px 36px rgba(38,73,103,.22)); }
.hero-vial .float-chip {
  position: absolute; background:#fff; border:1px solid var(--line); border-radius: var(--r-sm);
  box-shadow: var(--sh); padding: 10px 14px; display:flex; align-items:center; gap:10px; font-size:.82rem; font-weight:500; color: var(--ink-700);
}
.float-chip .ico { width:30px; height:30px; border-radius: 8px; display:grid; place-items:center; background: var(--blue-50); color: var(--blue-600); }
.float-chip .ico svg { width:17px; height:17px; }
.hero-vial .chip-1 { top: 8%; left: -6%; }
.hero-vial .chip-2 { bottom: 12%; right: -8%; }
.hero-vial .chip-3 { bottom: -4%; left: 14%; }

/* ---------- Trust marquee ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background:#fff; }
.trust-row { display:grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.trust-cell { background:#fff; padding: 26px 22px; display:flex; gap:14px; align-items:flex-start; }
.trust-cell .ico { flex:none; width:42px; height:42px; border-radius: 11px; background: var(--blue-50); color: var(--blue-600); display:grid; place-items:center; }
.trust-cell .ico svg { width:22px; height:22px; }
.trust-cell h4 { font-size: .98rem; color: var(--ink-900); }
.trust-cell p { font-size: .85rem; margin-top: 3px; }

/* ---------- Product cards ---------- */
.card-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: clamp(16px, 2vw, 26px); }
.pcard {
  position: relative; display:flex; flex-direction:column; background:#fff; border:1px solid var(--line);
  border-radius: var(--r-lg); overflow:hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.pcard:hover { transform: translateY(-5px); box-shadow: var(--sh); border-color: var(--blue-200); }
.pcard-media { position: relative; aspect-ratio: 1; background: radial-gradient(circle at 50% 36%, #fff, #eef4fa); display:grid; place-items:center; padding: 18px; }
.pcard-media img { width: 80%; transition: transform .35s var(--ease); filter: drop-shadow(0 16px 20px rgba(38,73,103,.16)); }
.pcard:hover .pcard-media img { transform: scale(1.05) translateY(-2px); }
.pcard-cat { position:absolute; top:12px; left:12px; }
.pcard-strength { position:absolute; top:12px; right:12px; }
.pcard-body { padding: 16px 18px 20px; display:flex; flex-direction:column; flex:1; }
.pcard-body h3 { font-size: 1.12rem; color: var(--ink-900); }
.pcard-tag { font-size: .85rem; color: var(--ink-500); margin-top: 6px; flex:1; line-height: 1.5; }
.pcard-foot { margin-top: 16px; display:flex; align-items:center; justify-content:space-between; gap: 10px; }
.pcard-foot .lot { font-size:.7rem; color: var(--ink-400); font-family: var(--font-display); letter-spacing: .02em; }
.pcard-foot .go { display:inline-flex; align-items:center; gap:5px; font-family: var(--font-display); font-weight:600; font-size:.85rem; color: var(--blue-600); }
.pcard:hover .pcard-foot .go { gap: 9px; }
.pcard-link { position:absolute; inset:0; z-index:2; text-indent:-9999px; }

/* ---------- Filter bar ---------- */
.filters { display:flex; flex-wrap:wrap; gap: 10px; margin-bottom: 30px; }
.filter-chip {
  font-family: var(--font-display); font-weight:500; font-size:.86rem; color: var(--ink-700);
  padding: 9px 16px; border-radius: var(--r-pill); border:1px solid var(--line); background:#fff; transition: .16s var(--ease);
}
.filter-chip:hover { border-color: var(--blue-300); color: var(--blue-700); }
.filter-chip.active { background: var(--blue-500); border-color: var(--blue-500); color:#fff; box-shadow: var(--sh-xs); }
.filter-chip .count { opacity:.6; font-size:.78em; margin-left: 4px; }
.catalog-count { font-size:.86rem; color: var(--ink-500); margin-bottom: 18px; }

/* ---------- Feature / split ---------- */
.split { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items:center; }
.split--reverse .split-media { order: 2; }
.feature-list { margin-top: 26px; display:grid; gap: 18px; }
.feature-list li { display:flex; gap: 14px; align-items:flex-start; }
.feature-list .ico { flex:none; width:38px; height:38px; border-radius:10px; background: var(--blue-50); color: var(--blue-600); display:grid; place-items:center; }
.feature-list .ico svg { width:20px; height:20px; }
.feature-list h4 { font-size: 1rem; color: var(--ink-900); }
.feature-list p { font-size:.9rem; margin-top:2px; }
.media-card { border-radius: var(--r-xl); overflow:hidden; background: linear-gradient(160deg, var(--blue-600), var(--blue-800)); padding: clamp(26px, 4vw, 44px); color:#fff; box-shadow: var(--sh-lg); position:relative; }
.media-card::after { content:""; position:absolute; right:-40px; bottom:-40px; width:220px; height:220px; border-radius:50%; background: rgba(255,255,255,.07); }
.media-card .kpi { display:grid; grid-template-columns: 1fr 1fr; gap: 22px; position:relative; }
.media-card .kpi .num { font-family: var(--font-display); font-weight:700; font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing:-.02em; }
.media-card .kpi .lbl { font-size:.86rem; color: rgba(255,255,255,.78); margin-top: 2px; }

/* ---------- Category tiles ---------- */
.cat-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(190px,1fr)); gap: 16px; }
.cat-tile { display:flex; flex-direction:column; gap:10px; padding: 22px; border:1px solid var(--line); border-radius: var(--r); background:#fff; transition:.22s var(--ease); }
.cat-tile:hover { border-color: var(--blue-300); box-shadow: var(--sh-sm); transform: translateY(-3px); }
.cat-tile .ico { width:44px; height:44px; border-radius:12px; background: var(--blue-50); color: var(--blue-600); display:grid; place-items:center; }
.cat-tile .ico svg { width:24px; height:24px; }
.cat-tile h4 { font-size:1rem; color: var(--ink-900); }
.cat-tile .n { font-size:.8rem; color: var(--ink-500); }
.cat-tile .go { margin-top:auto; font-size:.82rem; font-weight:600; color: var(--blue-600); font-family: var(--font-display); }

/* ---------- CTA band ---------- */
.cta-band { position:relative; overflow:hidden; background: linear-gradient(150deg, var(--bg-ink), var(--bg-ink-2)); color:#fff; border-radius: var(--r-xl); padding: clamp(38px, 6vw, 70px); text-align:center; box-shadow: var(--sh-lg); }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(50% 80% at 50% -10%, rgba(58,147,207,.4), transparent 60%); }
.cta-band > * { position:relative; }
.cta-band h2 { color:#fff; }
.cta-band p { color: rgba(255,255,255,.74); max-width: 40em; margin: 16px auto 0; }
.cta-band .hero-actions { justify-content:center; margin-top: 30px; }

/* ---------- Disclaimer banner ---------- */
.ruo-strip { background: var(--ink-900); color: rgba(255,255,255,.82); font-size:.8rem; text-align:center; padding: 9px 16px; letter-spacing:.01em; }
.ruo-strip strong { color:#fff; }
.ruo-box { display:flex; gap:14px; align-items:flex-start; background:#fff7ee; border:1px solid #ffe2b8; border-radius: var(--r); padding: 18px 20px; }
.ruo-box .ico { flex:none; color:#b9710a; } .ruo-box .ico svg{ width:22px; height:22px; }
.ruo-box p { font-size:.86rem; color:#7a5212; }
.ruo-box strong { color:#5e3f0c; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-ink); color: rgba(255,255,255,.66); padding-top: clamp(48px,6vw,72px); }
.footer-grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
.footer-brand .brand .wordmark .bbio { color: #c3c8cd; }
.footer-brand p { font-size:.88rem; margin-top:16px; color: rgba(255,255,255,.58); max-width: 30ch; }
.footer-col h5 { font-family: var(--font-display); font-size:.8rem; letter-spacing:.12em; text-transform:uppercase; color:#fff; margin-bottom:16px; }
.footer-col a { display:block; color: rgba(255,255,255,.66); font-size:.9rem; padding: 5px 0; }
.footer-col a:hover { color:#fff; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); padding: 22px 0; display:flex; flex-wrap:wrap; gap:14px; justify-content:space-between; align-items:center; font-size:.8rem; color: rgba(255,255,255,.5); }
.footer-legal { max-width: 1180px; margin-inline:auto; padding: 0 var(--gutter) 30px; }
.footer-legal p { font-size:.76rem; color: rgba(255,255,255,.42); line-height:1.6; }

/* ---------- Product detail ---------- */
.pd-wrap { padding-top: clamp(28px,4vw,46px); }
.breadcrumb { font-size:.82rem; color: var(--ink-500); margin-bottom: 22px; display:flex; gap:8px; flex-wrap:wrap; }
.breadcrumb a { color: var(--ink-500); } .breadcrumb a:hover{ color: var(--blue-600); }
.pd-grid { display:grid; grid-template-columns: .92fr 1.08fr; gap: clamp(28px,5vw,60px); align-items:start; }
.pd-media { position: sticky; top: calc(var(--header-h) + 22px); border-radius: var(--r-xl); background: radial-gradient(circle at 50% 34%, #fff, #eaf2f9 80%); border:1px solid var(--line); padding: clamp(24px,4vw,46px); display:grid; place-items:center; }
.pd-media img { width: min(360px, 80%); filter: drop-shadow(0 30px 36px rgba(38,73,103,.22)); }
.pd-badges { display:flex; flex-wrap:wrap; gap:8px; margin-bottom: 14px; }
.pd-head h1 { font-size: clamp(2rem,4.4vw,3rem); }
.pd-tagline { font-size: 1.1rem; color: var(--ink-500); margin-top: 10px; }
.pd-summary { margin-top: 22px; font-size: 1.02rem; line-height:1.75; color: var(--ink-700); }
.pd-section { margin-top: 30px; }
.pd-section h3 { font-size: 1.05rem; margin-bottom: 14px; display:flex; align-items:center; gap:10px; }
.pd-section h3 .ico { color: var(--blue-500); } .pd-section h3 .ico svg{ width:20px;height:20px; }
.mech-list li { display:flex; gap:12px; padding: 9px 0; border-bottom:1px solid var(--line-soft); font-size:.94rem; color: var(--ink-700); }
.mech-list li:last-child{ border-bottom:0; }
.mech-list .dot { flex:none; width:7px; height:7px; border-radius:50%; background: var(--blue-400); margin-top:8px; }
.spec-table { width:100%; border-collapse:collapse; border:1px solid var(--line); border-radius: var(--r); overflow:hidden; }
.spec-table th, .spec-table td { text-align:left; padding: 13px 16px; font-size:.9rem; border-bottom:1px solid var(--line); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom:0; }
.spec-table th { width: 38%; color: var(--ink-500); font-weight:500; background: var(--bg-soft); font-family: var(--font-body); }
.spec-table td { color: var(--ink-900); font-weight:500; }
.spec-table td.mono { font-family: var(--font-display); letter-spacing:.01em; }
.pd-actions { margin-top: 28px; display:flex; flex-wrap:wrap; gap:12px; padding: 20px; background: var(--bg-soft); border:1px solid var(--line); border-radius: var(--r); }
.pd-actions .note { flex-basis:100%; font-size:.8rem; color: var(--ink-500); }

/* ---------- Forms ---------- */
.form-card { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px,4vw,40px); box-shadow: var(--sh-sm); }
.field { margin-bottom: 18px; }
.field label { display:block; font-family: var(--font-display); font-weight:500; font-size:.88rem; color: var(--ink-800); margin-bottom: 7px; }
.field .req { color: var(--blue-600); }
.field input, .field select, .field textarea {
  width:100%; padding: 13px 15px; font: inherit; font-size:.95rem; color: var(--ink-900);
  background:#fff; border:1.5px solid var(--line); border-radius: var(--r-xs); transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
  min-height: 48px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline:none; border-color: var(--blue-400); box-shadow: 0 0 0 4px rgba(94,169,216,.16); }
.field .help { font-size:.78rem; color: var(--ink-500); margin-top:6px; }
.form-row { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size:.8rem; color: var(--ink-500); margin-top: 14px; }
.contact-grid { display:grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px,5vw,56px); align-items:start; }
.contact-card { display:flex; gap:14px; padding: 18px; border:1px solid var(--line); border-radius: var(--r); background:#fff; }
.contact-card .ico { flex:none; width:42px;height:42px;border-radius:11px;background:var(--blue-50);color:var(--blue-600);display:grid;place-items:center; }
.contact-card .ico svg{ width:21px;height:21px; }
.contact-card h4 { font-size:.96rem; color: var(--ink-900); }
.contact-card p, .contact-card a { font-size:.88rem; color: var(--ink-600); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin-inline:auto; }
.faq-item { border-bottom:1px solid var(--line); }
.faq-q { width:100%; text-align:left; background:none; border:0; padding: 22px 44px 22px 0; position:relative; font-family: var(--font-display); font-weight:600; font-size:1.05rem; color: var(--ink-900); }
.faq-q::after { content:"+"; position:absolute; right:6px; top:50%; transform:translateY(-50%); font-size:1.5rem; font-weight:400; color: var(--blue-500); transition: transform .2s var(--ease); }
.faq-item.open .faq-q::after { content:"−"; }
.faq-a { max-height:0; overflow:hidden; transition: max-height .3s var(--ease); }
.faq-a-inner { padding: 0 0 22px; color: var(--ink-600); font-size:.96rem; line-height:1.7; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero { background: linear-gradient(180deg, var(--bg-wash), #fff); padding-block: clamp(44px,6vw,82px); border-bottom:1px solid var(--line); }
.page-hero .container { max-width: 760px; }
.page-hero h1 { margin-top:14px; }
.page-hero p { margin-top:16px; }

/* ---------- Misc ---------- */
.divider-note { text-align:center; font-size:.82rem; color: var(--ink-400); margin-top: 30px; }
.pill-row { display:flex; flex-wrap:wrap; gap:8px; margin-top:22px; }
.prose p { margin-top: 16px; }
.prose h3 { margin-top: 30px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity:0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity:1; transform:none; }
.reveal.d1{ transition-delay:.06s } .reveal.d2{ transition-delay:.12s } .reveal.d3{ transition-delay:.18s } .reveal.d4{ transition-delay:.24s }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity:1; transform:none; transition:none; }
  .pcard, .btn, .cat-tile { transition: none !important; }
}

/* ---------- Brand logo image ---------- */
.brand-logo { height: 40px; width: auto; display: block; }
.footer-brand .brand .wordmark { font-size: 1.3rem; }

/* ---------- Verify page ---------- */
.verify-wrap { max-width: 760px; margin-inline: auto; }
.verify-form { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px,4vw,34px); box-shadow: var(--sh-sm); }
.verify-form > label { font-family: var(--font-display); font-weight:600; font-size:.9rem; color: var(--ink-800); display:block; margin-bottom:10px; }
.verify-input-row { display:flex; gap:12px; }
.verify-input-row input {
  flex:1; min-width:0; padding:14px 16px; font-family: var(--font-display); font-weight:600;
  font-size:1.2rem; letter-spacing:.14em; text-align:center; text-transform:uppercase;
  border:1.5px solid var(--line); border-radius: var(--r-xs); min-height:54px; color: var(--ink-900); background:#fff;
}
.verify-input-row input::placeholder { letter-spacing:.14em; color: var(--ink-300); }
.verify-input-row input:focus { outline:none; border-color: var(--blue-400); box-shadow: 0 0 0 4px rgba(94,169,216,.16); }
.verify-form .help { font-size:.82rem; color: var(--ink-500); margin-top:12px; }
.verify-result { margin-top:22px; }
.verify-card { display:flex; gap:16px; align-items:flex-start; padding:22px 24px; border-radius: var(--r-lg); border:1px solid var(--line); background:#fff; box-shadow: var(--sh-sm); }
.verify-card .vico { flex:none; width:46px; height:46px; border-radius:50%; display:grid; place-items:center; }
.verify-card .vico svg { width:26px; height:26px; }
.verify-card h3 { font-size:1.2rem; margin-bottom:6px; }
.verify-card p { font-size:.94rem; color: var(--ink-600); }
.verify-card .coa-row { margin-top:16px; }
.verify-good { border-color:#c9efd8; background:#f3fbf6; } .verify-good .vico { background:#dff5e8; color:#1c7a45; } .verify-good h3 { color:#1c7a45; }
.verify-warn { border-color:#ffe2b8; background:#fff8ee; } .verify-warn .vico { background:#ffeccd; color:#9a5b00; } .verify-warn h3 { color:#8a5300; }
.verify-bad  { border-color:#f3c9c9; background:#fdf4f4; } .verify-bad .vico  { background:#f7dada; color:#a52424; } .verify-bad h3  { color:#9e2222; }
.verify-loading .vico { background: var(--blue-50); color: var(--blue-600); }
.spin { animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } }
.verify-steps { display:grid; grid-template-columns: repeat(3,1fr); gap:16px; margin-top:34px; }
.vstep { display:flex; gap:12px; padding:18px; border:1px solid var(--line); border-radius: var(--r); background:#fff; }
.vstep .ico { flex:none; width:40px; height:40px; border-radius:10px; background: var(--blue-50); color: var(--blue-600); display:grid; place-items:center; }
.vstep .ico svg { width:21px; height:21px; }
.vstep h4 { font-size:.92rem; color: var(--ink-900); }
.vstep p { font-size:.84rem; margin-top:3px; }

/* ---------- COA row (product + verify) ---------- */
.coa-row { display:flex; flex-wrap:wrap; gap:10px; }
.coa-note { font-size:.8rem; color: var(--ink-500); margin-top:12px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-vial { width: min(330px, 74%); }
  .split, .pd-grid, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .pd-media { position: static; }
  .trust-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta .btn { display: none; }
  .verify-steps { grid-template-columns: 1fr; }
  .verify-input-row { flex-direction: column; }
  .brand-logo { height: 34px; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu {
    position: fixed; inset: var(--header-h) 0 0; z-index: 99;
    background: #fff; padding: 24px var(--gutter); transform: translateX(100%);
    transition: transform .28s var(--ease); display:flex; flex-direction:column; gap: 4px; overflow-y:auto;
  }
  body.nav-open .mobile-menu { transform: none; }
  .mobile-menu a { font-family: var(--font-display); font-weight:500; font-size:1.1rem; color: var(--ink-800); padding: 15px 8px; border-bottom:1px solid var(--line-soft); }
  .mobile-menu .btn { margin-top: 18px; }
  body.nav-open { overflow: hidden; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 769px) { .mobile-menu { display:none; } }
@media (max-width: 480px) {
  .trust-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 20px; }
  .media-card .kpi { grid-template-columns: 1fr 1fr; }
}
