/* Freedom Peptides — storefront design system.
   Old Glory palette deployed clinically: navy is the workhorse, red is a
   precision accent. Type: Libre Franklin display / Public Sans body /
   IBM Plex Mono for lot numbers and money. */

:root {
  --blue: #0A3161;
  --blue-deep: #071F3E;
  --red: #B31942;
  --red-dark: #8F1435;
  --ink: #14263F;
  --muted: #5A6B82;
  --faint: #8B99AC;
  --paper: #FFFFFF;
  --ground: #F5F7FA;
  --tint: #EEF3F9;
  --line: #DFE6EF;
  --line-soft: #EAEFF5;
  --green: #157F3D;
  --green-bg: #E7F5EC;
  --amber: #92400E;
  --amber-bg: #FEF3C7;
  --display: 'Libre Franklin', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Public Sans', -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', 'SF Mono', Menlo, monospace;
}

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

body {
  font-family: var(--body);
  background: var(--ground);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.wrap--narrow { max-width: 860px; }

/* 13-stripe flag rule */
.stripes {
  height: 14px;
  background: repeating-linear-gradient(to bottom,
    var(--red) 0, var(--red) 1px, transparent 1px, transparent 2.16px);
  opacity: 0.85;
}
.stripes--navy {
  background: repeating-linear-gradient(to bottom,
    var(--blue) 0, var(--blue) 1px, transparent 1px, transparent 2.16px);
}

/* ── top bar + nav ── */
.topbar { background: var(--blue-deep); color: #C8D6E8; font-size: 12px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; gap: 16px; }
.topbar b { color: #fff; font-weight: 600; letter-spacing: 0.4px; }
.flag-chip { display: inline-flex; align-items: center; gap: 7px; }
.mini-flag {
  width: 18px; height: 12px; border-radius: 2px; flex: none;
  background:
    linear-gradient(to right, var(--blue) 0 40%, transparent 40%),
    repeating-linear-gradient(to bottom, var(--red) 0 1.7px, #fff 1.7px 3.4px);
}
.topbar .ship { color: #8FA5C2; }
.topbar .ship strong { color: #fff; font-weight: 600; }

.nav { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.nav .wrap { display: flex; align-items: center; gap: 32px; padding-top: 14px; padding-bottom: 14px; }
.logo { font-family: var(--display); font-weight: 900; font-size: 19px; letter-spacing: 0.5px; color: var(--blue); white-space: nowrap; }
.logo .star { color: var(--red); font-size: 14px; vertical-align: 2px; padding: 0 2px; }
.logo .sub { display: block; font-family: var(--mono); font-weight: 500; font-size: 8.5px; letter-spacing: 2.4px; color: var(--faint); margin-top: -2px; }
.logo-img { display: flex; align-items: center; }
.logo-img img { display: block; height: 44px; width: auto; }
.nav-links { display: flex; gap: 26px; flex: 1; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--muted); padding: 4px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--blue); border-bottom-color: var(--red); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.cart-btn {
  background: var(--red); color: #fff; font-weight: 600; font-size: 13px;
  padding: 8px 16px; border-radius: 6px; border: none; cursor: pointer; font-family: var(--body);
}
.cart-btn:hover { background: var(--red-dark); }

/* ── shared building blocks ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body); font-weight: 600; font-size: 14px;
  padding: 13px 26px; border-radius: 6px; cursor: pointer; border: none;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-red:disabled { background: #D8A4B2; cursor: not-allowed; }
.btn-ghost { background: var(--paper); color: var(--blue); border: 1.5px solid var(--blue); }
.btn-ghost:hover { background: var(--tint); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 2.2px; color: var(--red); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section-head h2 { font-family: var(--display); font-weight: 800; font-size: 28px; color: var(--blue); letter-spacing: -0.3px; }
.section-head .note { font-size: 13px; color: var(--muted); }

input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  font-family: var(--body); font-size: 14px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 6px;
  padding: 11px 13px; width: 100%;
}
label.field { display: block; margin-bottom: 14px; }
label.field .lbl {
  display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: 1.6px;
  color: var(--muted); margin-bottom: 6px; text-transform: uppercase;
}

/* ── hero ── */
.hero { background: var(--paper); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; padding-top: 60px; padding-bottom: 60px; }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: 46px; line-height: 1.08; letter-spacing: -0.5px; color: var(--blue); text-wrap: balance; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero .lede { font-size: 16px; color: var(--muted); max-width: 46ch; margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 36px; }
.hero-stats .stat .num { font-family: var(--mono); font-weight: 600; font-size: 20px; color: var(--ink); }
.hero-stats .stat .lbl { font-size: 11px; color: var(--faint); letter-spacing: 0.8px; text-transform: uppercase; margin-top: 2px; }
.hero-stats .stat + .stat { border-left: 1px solid var(--line); padding-left: 36px; }

/* COA certificate card */
.coa-card {
  position: relative; background: var(--paper);
  border: 1px solid var(--line); border-top: 3px solid var(--blue);
  border-radius: 10px; box-shadow: 0 20px 50px -24px rgba(10, 49, 97, 0.35);
  padding: 26px 28px 24px; font-family: var(--mono);
}
.coa-head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px dashed var(--line); padding-bottom: 14px; margin-bottom: 14px; }
.coa-head .title { font-size: 10px; letter-spacing: 2px; color: var(--faint); }
.coa-head .doc { font-family: var(--display); font-weight: 800; font-size: 16px; color: var(--ink); margin-top: 3px; }
.coa-head .lot { text-align: right; font-size: 10.5px; color: var(--muted); line-height: 1.7; }
.coa-head .lot b { color: var(--ink); font-weight: 600; }
.coa-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; padding: 7px 0; border-bottom: 1px solid var(--line-soft); }
.coa-row:last-of-type { border-bottom: none; }
.coa-row .k { color: var(--muted); }
.coa-row .v { color: var(--ink); font-weight: 500; }
.coa-row .v.pass { color: var(--green); font-weight: 600; }
.coa-foot { margin-top: 14px; font-size: 9.5px; color: var(--faint); line-height: 1.6; padding-right: 84px; }
.seal { position: absolute; bottom: -22px; right: -22px; width: 108px; height: 108px; filter: drop-shadow(0 6px 16px rgba(179, 25, 66, 0.25)); }
.seal svg { width: 100%; height: 100%; }
@media (prefers-reduced-motion: no-preference) { .seal svg { animation: sealspin 40s linear infinite; } }
@keyframes sealspin { to { transform: rotate(360deg); } }

/* ── trust bar ── */
.trust { background: var(--blue); color: #fff; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 22px; padding-bottom: 22px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item .ico { flex: none; width: 34px; height: 34px; border-radius: 7px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; }
.trust-item .ico svg { width: 17px; height: 17px; stroke: #fff; fill: none; stroke-width: 1.8; }
.trust-item .t { font-weight: 600; font-size: 13px; }
.trust-item .d { font-size: 11px; color: #A9BDD6; margin-top: 1px; }

/* ── order builder ── */
.shop { padding: 64px 0 72px; }
.builder { display: grid; grid-template-columns: 1fr 0.94fr; gap: 22px; align-items: start; }
.picker { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.picker-head { display: flex; justify-content: space-between; align-items: baseline; padding: 13px 18px; background: var(--tint); border-bottom: 1px solid var(--line); }
.picker-head .t { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 1.8px; color: var(--blue); }
.picker-head .h { font-size: 11.5px; color: var(--muted); }
.prow {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  background: var(--paper); border: none; border-bottom: 1px solid var(--line-soft);
  padding: 12px 18px; cursor: pointer; font-family: var(--body); transition: background 0.12s;
}
.prow:last-child { border-bottom: none; }
.prow:hover { background: var(--ground); }
.prow.oos { cursor: default; }
.prow.oos:hover { background: var(--paper); }
.prow-vial { flex: none; }
.prow-info { flex: 1; min-width: 0; }
.prow-cat { display: block; font-family: var(--mono); font-size: 8.5px; letter-spacing: 1.3px; color: var(--faint); margin-bottom: 2px; }
.prow-name { display: block; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--ink); }
.prow-purity { font-family: var(--mono); font-size: 9.5px; font-weight: 600; color: var(--green); background: var(--green-bg); border-radius: 4px; padding: 2px 7px; flex: none; }
.prow-oos { font-family: var(--mono); font-size: 9.5px; font-weight: 600; color: var(--red); background: #FDECF1; border-radius: 4px; padding: 2px 7px; flex: none; }
.prow-price { font-family: var(--mono); font-weight: 600; font-size: 15px; color: var(--blue); flex: none; min-width: 52px; text-align: right; }
.prow-add {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--red); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 600; line-height: 1; transition: background 0.12s, color 0.12s;
}
.prow:hover:not([disabled]) .prow-add { background: var(--red); color: #fff; }
.prow.in-order { background: #F4F8FE; box-shadow: inset 3px 0 0 var(--blue); }
.prow.in-order .prow-add {
  width: auto; min-width: 28px; border-radius: 14px; padding: 0 9px;
  background: var(--blue); border-color: var(--blue); color: #fff;
  font-family: var(--mono); font-size: 11px;
}
.prow-notify {
  flex: none; font-size: 11px; font-weight: 600; color: var(--blue);
  border: 1.5px solid var(--blue); background: var(--paper);
  border-radius: 14px; padding: 4px 11px; cursor: pointer; font-family: var(--body);
}
.prow-notify:hover { background: var(--tint); }

.order-panel {
  background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--red);
  border-radius: 10px; padding: 20px 22px 22px; position: sticky; top: 84px;
  box-shadow: 0 20px 50px -28px rgba(10, 49, 97, 0.35);
}
.op-head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px dashed var(--line); padding-bottom: 12px; margin-bottom: 6px; }
.op-head .t { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: var(--faint); }
.op-head .doc { font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--blue); margin-top: 3px; }
.op-count { font-family: var(--mono); font-size: 10px; font-weight: 600; color: var(--muted); letter-spacing: 1px; }
.op-empty { border: 1.5px dashed var(--line); border-radius: 8px; text-align: center; padding: 30px 20px; margin: 14px 0; font-size: 12.5px; color: var(--faint); }
.op-item { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.op-item-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.op-item-name { font-family: var(--display); font-weight: 700; font-size: 13.5px; color: var(--ink); }
.op-remove { background: none; border: none; cursor: pointer; color: var(--faint); font-size: 13px; line-height: 1; padding: 2px 4px; }
.op-remove:hover { color: var(--red); }
.op-price { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.op-price s { color: var(--faint); margin-right: 5px; }
.op-price b { color: var(--ink); font-weight: 600; }
.op-pill { display: inline-block; font-family: var(--mono); font-size: 9px; font-weight: 600; background: var(--red); color: #fff; border-radius: 9px; padding: 2px 8px; margin-left: 6px; letter-spacing: 0.5px; }
.op-pill.bump { animation: pillbump 0.4s ease; }
@keyframes pillbump { 40% { transform: scale(1.18); } }
@media (prefers-reduced-motion: reduce) { .op-pill.bump { animation: none; } }
.op-item-bot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 9px; }
.op-qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.op-qty button { width: 26px; height: 26px; background: var(--ground); border: none; cursor: pointer; font-size: 14px; color: var(--blue); line-height: 1; font-family: var(--body); }
.op-qty button:hover { background: var(--tint); }
.op-qty .q { font-family: var(--mono); font-size: 12.5px; font-weight: 600; color: var(--ink); min-width: 32px; text-align: center; }
.op-hint { flex: 1; font-family: var(--mono); font-size: 9.5px; color: var(--red); text-align: left; }
.op-line { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--ink); }
.op-tiers { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 14px 0 4px; padding-top: 12px; border-top: 1px dashed var(--line); }
.op-tiers .lbl { font-family: var(--mono); font-size: 8.5px; letter-spacing: 1.2px; color: var(--faint); width: 100%; margin-bottom: 2px; }
.tier-chip { font-family: var(--mono); font-size: 9.5px; font-weight: 600; border: 1px solid var(--line); border-radius: 4px; padding: 3px 8px; color: var(--muted); }
.tier-chip b { color: var(--red); font-weight: 600; }
.op-totals { margin-top: 12px; }
.op-trow { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); padding: 3px 0; }
.op-trow .v { font-family: var(--mono); font-weight: 500; color: var(--ink); }
.op-trow.savings .v { color: var(--red); font-weight: 600; }
.op-trow.grand { border-top: 1px solid var(--line); margin-top: 7px; padding-top: 10px; font-weight: 600; color: var(--ink); font-size: 13.5px; }
.op-trow.grand .v { font-size: 19px; font-weight: 600; color: var(--blue); }
.op-cta { width: 100%; justify-content: center; margin-top: 14px; }
.op-note { font-size: 10.5px; color: var(--faint); text-align: center; margin-top: 10px; line-height: 1.6; }

/* ── process / verify / newsletter (home sections) ── */
.process { background: var(--blue); color: #fff; position: relative; }
.process .wrap { padding-top: 70px; padding-bottom: 70px; }
.process .eyebrow { color: #E8657F; }
.process .eyebrow::before { background: var(--red); }
.process h2 { font-family: var(--display); font-weight: 800; font-size: 32px; letter-spacing: -0.3px; max-width: 22ch; text-wrap: balance; margin-bottom: 10px; }
.process .sub { color: #A9BDD6; font-size: 15px; max-width: 58ch; margin-bottom: 44px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); border-radius: 10px; padding: 22px 20px; }
.step .n { font-family: var(--mono); font-size: 11px; font-weight: 600; color: #E8657F; letter-spacing: 1.5px; margin-bottom: 12px; }
.step .t { font-family: var(--display); font-weight: 700; font-size: 16px; margin-bottom: 7px; }
.step .d { font-size: 12.5px; color: #A9BDD6; line-height: 1.6; }

.verify-band { background: var(--paper); border-bottom: 1px solid var(--line); }
.verify-band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.verify-band h2 { font-family: var(--display); font-weight: 800; font-size: 28px; color: var(--blue); margin-bottom: 10px; letter-spacing: -0.3px; }
.verify-band p { color: var(--muted); font-size: 14.5px; max-width: 48ch; }
.lookup { background: var(--ground); border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.lookup .lbl { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 1.6px; color: var(--muted); margin-bottom: 9px; }
.lookup-row { display: flex; gap: 10px; }
.lookup-row input { font-family: var(--mono); }

.news { background: var(--ground); }
.news .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 48px; padding-bottom: 48px; }
.news h3 { font-family: var(--display); font-weight: 800; font-size: 21px; color: var(--blue); margin-bottom: 5px; }
.news p { font-size: 13px; color: var(--muted); }
.news-form { display: flex; gap: 10px; min-width: 380px; }

/* ── footer ── */
.footer { background: var(--blue-deep); color: #8FA5C2; }
.footer .wrap { padding-top: 52px; padding-bottom: 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer .logo { color: #fff; }
.footer .logo .sub { color: #6C84A5; }
.footer-about { font-size: 12.5px; line-height: 1.7; margin-top: 14px; max-width: 34ch; }
.footer h4 { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 1.8px; color: #C8D6E8; margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 9px; }
.footer li a { font-size: 13px; }
.footer li a:hover { color: #fff; }
.disclaimer { margin-top: 32px; font-size: 11px; line-height: 1.75; color: #6C84A5; border: 1px solid rgba(255,255,255,0.12); border-left: 3px solid var(--red); border-radius: 6px; padding: 16px 20px; }
.disclaimer b { color: #C8D6E8; letter-spacing: 0.6px; }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 26px; font-size: 11.5px; color: #6C84A5; flex-wrap: wrap; }

/* ── page shells (lab results, verify, checkout, order status) ── */
.page { padding: 56px 0 72px; }
.page h1 { font-family: var(--display); font-weight: 800; font-size: 34px; color: var(--blue); letter-spacing: -0.4px; margin-bottom: 8px; }
.page .sub { color: var(--muted); font-size: 15px; margin-bottom: 32px; max-width: 60ch; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 22px 24px; margin-bottom: 18px;
}
.card h3 { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--blue); margin-bottom: 12px; }
.stat-row { display: flex; gap: 32px; flex-wrap: wrap; margin-bottom: 28px; }
.stat-row .stat .num { font-family: var(--mono); font-weight: 600; font-size: 22px; color: var(--blue); }
.stat-row .stat .lbl { font-size: 11px; color: var(--faint); letter-spacing: 0.8px; text-transform: uppercase; }

.coa-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.coa-table th { font-family: var(--mono); font-size: 9.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); text-align: left; padding: 12px 16px; background: var(--tint); border-bottom: 1px solid var(--line); }
.coa-table td { padding: 12px 16px; font-size: 13px; border-bottom: 1px solid var(--line-soft); }
.coa-table tr:last-child td { border-bottom: none; }
.coa-table .lot { font-family: var(--mono); font-weight: 600; color: var(--blue); }
.coa-table .purity { font-family: var(--mono); font-weight: 600; color: var(--green); }

.badge-pass { display: inline-block; font-family: var(--mono); font-size: 9.5px; font-weight: 600; color: var(--green); background: var(--green-bg); border-radius: 4px; padding: 2px 8px; }
.badge-status { display: inline-block; font-family: var(--mono); font-size: 9.5px; font-weight: 600; border-radius: 4px; padding: 3px 9px; letter-spacing: 0.5px; text-transform: uppercase; }
.badge-status.pending { background: var(--amber-bg); color: var(--amber); }
.badge-status.paid { background: var(--green-bg); color: var(--green); }
.badge-status.shipped { background: var(--tint); color: var(--blue); }
.badge-status.completed { background: var(--tint); color: var(--blue); }
.badge-status.cancelled, .badge-status.failed { background: #F1F3F6; color: var(--faint); }
.badge-status.refunded { background: #FDECF1; color: var(--red); }

/* ── checkout ── */
.checkout-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 26px; align-items: start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field-row-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0 14px; }
.ruo-box {
  display: flex; gap: 10px; align-items: flex-start; background: #FDF6F8;
  border: 1px solid #F2CBD6; border-radius: 8px; padding: 14px 16px; margin: 18px 0;
  font-size: 12.5px; line-height: 1.6; color: var(--ink);
}
.ruo-box input { width: auto; margin-top: 3px; }
.pay-note { font-size: 11.5px; color: var(--faint); margin-top: 10px; line-height: 1.6; }
.sim-banner {
  font-family: var(--mono); font-size: 10.5px; background: var(--amber-bg); color: var(--amber);
  border: 1px solid #FDE68A; border-radius: 6px; padding: 8px 12px; margin-bottom: 14px; line-height: 1.6;
}
.checkout-error {
  display: none; background: #FDECF1; border: 1px solid #F2CBD6; color: var(--red-dark);
  border-radius: 6px; padding: 11px 14px; font-size: 13px; margin-bottom: 14px;
}
.collect-field { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; height: 44px; }

/* ── order status page ── */
.timeline { list-style: none; margin: 16px 0; }
.timeline li { display: flex; gap: 12px; padding: 7px 0; font-size: 13px; color: var(--muted); }
.timeline li::before { content: "●"; color: var(--line); font-size: 10px; margin-top: 3px; }
.timeline li.done { color: var(--ink); }
.timeline li.done::before { content: "✓"; color: var(--green); font-weight: 700; }

/* ── product detail page ── */
.product-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.pdp-buy { margin-top: 6px; }
.pdp-price-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pdp-price { font-family: var(--mono); font-weight: 600; font-size: 28px; color: var(--blue); }
.pdp-stat-strip { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 4px 0 12px; border-bottom: 1px dashed var(--line); margin-bottom: 12px; }
.pdp-stat { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.pdp-stat b { color: var(--ink); font-weight: 600; }
.pdp-stat .vari { font-weight: 600; }
.pdp-stat .vari.ok { color: var(--blue); }
.pdp-stat .vari.mid { color: var(--amber); }
.pdp-stat .vari.bad { color: var(--red); }
.pdp-coa-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.pdp-coa-actions .btn { font-family: var(--body); padding: 10px 18px; font-size: 13px; }
.comp-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.comp-pill { font-family: var(--mono); font-size: 10px; font-weight: 600; background: var(--tint); color: var(--blue); border-radius: 10px; padding: 3px 10px; }
.marker-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-bottom: 12px; }
.marker { border: 1px solid var(--line); border-radius: 7px; padding: 8px 11px; background: var(--ground); }
.marker .k { display: block; font-family: var(--mono); font-size: 8.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--faint); margin-bottom: 2px; }
.marker .v { font-family: var(--mono); font-size: 11.5px; font-weight: 600; color: var(--ink); }
.marker.pass { border-color: #C4E5D0; background: var(--green-bg); }
.marker.pass .v { color: var(--green); }
.marker.fail { border-color: #F2CBD6; background: #FDECF1; }
.marker.fail .v { color: var(--red); }
.prow-link { flex: none; font-family: var(--mono); font-size: 9.5px; font-weight: 600; color: var(--faint); cursor: pointer; padding: 2px 4px; }
.prow-link:hover { color: var(--red); }
@media (max-width: 980px) { .product-grid { grid-template-columns: 1fr; gap: 26px; } }

/* ── gate modal ── */
.gate-overlay {
  position: fixed; inset: 0; background: rgba(7, 31, 62, 0.72); z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(3px);
}
.gate-card { background: var(--paper); border-radius: 12px; border-top: 4px solid var(--red); max-width: 460px; width: 100%; padding: 30px 32px; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5); }
.gate-card h2 { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--blue); margin-bottom: 6px; }
.gate-card .tag { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.gate-points { background: var(--ground); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; margin-bottom: 16px; }
.gate-points p { font-size: 12.5px; line-height: 1.6; color: var(--ink); padding: 3px 0; display: flex; gap: 8px; }
.gate-points p::before { content: "★"; color: var(--red); font-size: 10px; margin-top: 2px; }
.gate-ack { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; line-height: 1.55; margin-bottom: 14px; }
.gate-ack input { width: auto; margin-top: 3px; }
.gate-note { font-size: 10.5px; color: var(--faint); margin-top: 12px; line-height: 1.6; }

/* toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--blue-deep); color: #fff; font-size: 13px; padding: 11px 20px;
  border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); z-index: 300;
  opacity: 0; transition: opacity 0.25s; pointer-events: none;
}
.toast.show { opacity: 1; }

/* ── responsive ── */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 60px; padding-top: 48px; padding-bottom: 48px; }
  .seal { bottom: -18px; right: -8px; }
  .builder { grid-template-columns: 1fr; }
  .order-panel { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .trust .wrap { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .verify-band .wrap { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news .wrap { flex-direction: column; align-items: flex-start; }
  .news-form { min-width: 0; width: 100%; }
  .checkout-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .hero h1 { font-size: 34px; }
  .prow { gap: 10px; padding: 11px 14px; }
  .prow-purity { display: none; }
  .steps { grid-template-columns: 1fr; }
  .trust .wrap { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 18px; }
  .hero-stats .stat + .stat { border-left: none; padding-left: 0; }
  .topbar .ship { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .lookup-row { flex-direction: column; }
  .field-row, .field-row-3 { grid-template-columns: 1fr; }
}
