/* qr.lactigo.com — product QR landing pages
   GO Central system: cream canvas · navy campaign surfaces · Lactigo lime emphasis
   Type: Archivo (display + body, heavy italic display) · Space Mono (utility labels) */

:root {
  --cream: #F4F1E9;
  --cream-2: #ECE7DA;
  --card: #FFFFFF;
  --navy: #0E1B2C;
  --navy-2: #16283F;
  --navy-3: #1E3452;
  --ink: #12202E;
  --muted: #586675;
  --line: rgba(18, 32, 46, .12);
  --lime: #8FC63F;
  --lime-2: #A7E04B;
  --hero-copy: #B9C6D4;
  --shadow: 0 1px 2px rgba(14,27,44,.04), 0 8px 24px rgba(14,27,44,.06);
  --r: 16px;
  --maxw: 1200px;
  --mono: "Space Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.6 "Archivo", system-ui, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--lime); color: var(--navy); padding: 10px 16px; border-radius: 999px;
  font: 700 13px var(--mono); z-index: 10;
}
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

/* utility labels */
.eyebrow, .label, .pill, .btn, .step-n, th {
  font-family: var(--mono); font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
}

/* demo strip */
.demo {
  background: var(--navy-3); color: #DCE4EC;
  font: 700 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  text-align: center; padding: 8px 16px;
}

/* header */
.topbar { background: var(--cream); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand img { height: 26px; width: auto; }
.divider { width: 1px; height: 24px; background: var(--line); }
.descriptor { font: 700 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pagenav { margin-left: auto; display: flex; gap: 6px; }
.pagenav a {
  font: 700 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  padding: 0 14px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; color: var(--muted);
}
.pagenav a:hover { background: rgba(18,32,46,.06); color: var(--ink); }
.pagenav a[aria-current="page"] { background: var(--navy); color: #fff; }

/* hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; padding: 88px 0 96px;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.hero .eyebrow { color: var(--lime-2); font-size: 13px; }
.display {
  font-weight: 900; font-style: italic; text-transform: uppercase;
  letter-spacing: -.04em; line-height: .95; margin: 14px 0 20px;
  font-size: clamp(42px, 7vw, 88px);
}
.accent { color: var(--lime-2); }
.lede { color: var(--hero-copy); font-size: 19px; max-width: 34em; margin: 0 0 28px; }
.bars { position: absolute; right: -120px; top: -40px; bottom: -40px; width: 420px; pointer-events: none; z-index: 0; }
.bars span { position: absolute; top: 0; bottom: 0; width: 56px; background: var(--lime); transform: skewX(-18deg); opacity: .9; }
.bars span:first-child { right: 220px; opacity: .22; }
.bars span:last-child { right: 130px; opacity: .12; width: 28px; }

.product-shot { background: #fff; border-radius: 24px; padding: 28px 28px 18px; margin: 0; box-shadow: 0 18px 44px rgba(0,0,0,.35); max-width: 340px; justify-self: end; }
.product-shot figcaption { font: 700 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: center; padding-top: 10px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; text-decoration: none; font-size: 13px;
  transition: transform .15s ease, background .15s ease;
}
.btn-primary { background: var(--lime); color: var(--navy); }
.btn-primary:hover { background: var(--lime-2); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { border: 1px solid rgba(255,255,255,.3); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* verified badge */
.verified {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(143,198,63,.14); border: 1px solid rgba(167,224,75,.5); color: var(--lime-2);
  padding: 8px 16px 8px 10px; border-radius: 999px; font: 700 13px var(--mono); letter-spacing: .08em; text-transform: uppercase;
}
.verified svg { flex: none; }

/* sections */
section.block { padding: 96px 0; }
section.block.alt { background: var(--cream-2); }
section.block.dark { background: var(--navy); color: #fff; }
.section-head { max-width: 46em; margin-bottom: 40px; }
.section-head .eyebrow { color: var(--muted); font-size: 12px; }
.dark .section-head .eyebrow { color: var(--lime-2); }
h2 {
  font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.03em; line-height: 1;
  font-size: clamp(30px, 4.4vw, 48px); margin: 10px 0 14px;
}
.section-head p { color: var(--muted); margin: 0; }
.dark .section-head p { color: var(--hero-copy); }
h3 { font-size: 20px; font-weight: 800; margin: 8px 0 8px; line-height: 1.2; }

/* cards */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 28px; }
.card p { margin: 0; color: var(--muted); }
.card .label { font-size: 11px; color: var(--muted); }
.dark .card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); box-shadow: none; }
.dark .card p, .dark .card .label { color: var(--hero-copy); }
.card .label.lime { color: #3F6B12; }
.dark .card .label.lime { color: var(--lime-2); }

/* key/value facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.facts div { background: var(--card); padding: 22px 24px; }
.facts dt { font: 700 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 6px 0 0; font-weight: 800; font-size: 20px; }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.timeline li { display: grid; grid-template-columns: 56px 1fr auto; gap: 20px; align-items: start; background: var(--card); border-radius: var(--r); padding: 22px 24px; box-shadow: var(--shadow); }
.step-n { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--lime-2); display: grid; place-items: center; font-size: 14px; letter-spacing: 0; }
.timeline h3 { margin-top: 2px; }
.timeline p { margin: 0; color: var(--muted); }
.pill { font-size: 11px; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.pill-ok { background: rgba(143,198,63,.18); color: #2E5208; }
.pill-navy { background: var(--navy); color: #fff; }

/* tables */
.table-wrap { overflow-x: auto; border-radius: var(--r); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; background: var(--card); min-width: 620px; }
th { background: var(--navy); color: #fff; font-size: 11px; text-align: left; padding: 14px 18px; }
td, tbody th { padding: 16px 18px; border-top: 1px solid var(--line); vertical-align: top; }
tbody th { background: var(--card); color: var(--ink); font: 800 15px "Archivo", sans-serif; text-transform: none; letter-spacing: 0; }
tbody tr:nth-child(even) td, tbody tr:nth-child(even) th { background: #FBFAF6; }

/* cert hero badge */
.cert-badge { background: #fff; color: var(--ink); border-radius: 24px; padding: 28px; max-width: 340px; justify-self: end; box-shadow: 0 18px 44px rgba(0,0,0,.35); text-align: center; }
.cert-badge .ring { width: 120px; height: 120px; margin: 0 auto 16px; }
.cert-badge strong { display: block; font-size: 24px; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.02em; }
.cert-badge .label { font-size: 11px; color: var(--muted); }

/* checklist */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1B2C' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat; }

/* stat row */
.stats { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 36px; }
.stats div { border-left: 3px solid var(--lime); padding-left: 14px; }
.stats strong { display: block; font-size: 30px; font-weight: 900; font-style: italic; line-height: 1; }
.stats span { font: 700 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--hero-copy); }

/* quote */
.quote { font-size: clamp(22px, 3vw, 30px); font-weight: 800; font-style: italic; line-height: 1.3; margin: 0; }
.quote-by { margin-top: 16px; font: 700 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* cta band */
.cta-band { background: var(--lime); color: var(--navy); padding: 72px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; }
.cta-band .btn-primary { background: var(--navy); color: #fff; }
.cta-band .btn-primary:hover { background: var(--navy-3); }

/* disclosure + footer */
.disclosure { background: var(--navy-2); color: var(--hero-copy); padding: 40px 0; font-size: 14px; }
.disclosure p { margin: 0 0 8px; max-width: 70em; }
.footer { background: #0B1524; color: #93A2B2; padding: 48px 0 32px; font-size: 14px; }
.footer .wrap { display: grid; gap: 20px; }
.footer img { height: 24px; width: auto; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a { color: #DCE4EC; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.legal { border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px; font-size: 12px; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .product-shot, .cert-badge { justify-self: start; max-width: 240px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .bars { right: -260px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding: 56px 0 64px; }
  section.block { padding: 64px 0; }
  .divider, .descriptor { display: none; }
  .bars { right: -390px; }
  .topbar .wrap { padding-top: 14px; gap: 10px; }
  .pagenav { margin-left: 0; width: 100%; padding-bottom: 10px; }
  .pagenav a { flex: 1; justify-content: center; padding: 0 8px; }
  .facts { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 44px 1fr; }
  .timeline .pill { grid-column: 2; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* =====================  LANGUAGE SWITCH  ===================== */
.langsw { display: inline-flex; background: rgba(18,32,46,.06); border-radius: 999px; padding: 3px; gap: 2px; }
.langsw button {
  font: 700 12px var(--mono); letter-spacing: .08em; border: 0; background: transparent; color: var(--muted);
  min-width: 44px; min-height: 38px; border-radius: 999px; cursor: pointer;
}
.langsw button:hover { color: var(--ink); }
.langsw button[aria-pressed="true"] { background: var(--lime); color: var(--navy); }

/* =====================  MOTION  =====================
   Everything below only animates when qr.js has added `.js` to <html> and the
   reader has not asked for reduced motion. Without either, content is static
   and fully visible. */

@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes bar-in { from { transform: translateX(260px) skewX(-18deg); opacity: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-14px) rotate(1.5deg); } }
@keyframes glow { 0%, 100% { opacity: .45; transform: scale(.92); } 50% { opacity: .8; transform: scale(1.04); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(167,224,75,.55); } 100% { box-shadow: 0 0 0 16px rgba(167,224,75,0); } }
@keyframes shine { from { transform: translateX(-120%) skewX(-20deg); } to { transform: translateX(220%) skewX(-20deg); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes stamp { 0% { opacity: 0; transform: rotate(-12deg) scale(1.9); } 70% { opacity: 1; transform: rotate(-12deg) scale(.94); } 100% { opacity: 1; transform: rotate(-12deg) scale(1); } }
@keyframes scan { 0% { top: 6%; } 100% { top: 90%; } }

.hero .display .line { display: block; }

@media (prefers-reduced-motion: no-preference) {
  .js .hero .eyebrow, .js .hero .verified,
  .js .hero .display .line, .js .hero .lede, .js .hero .actions, .js .hero .stats {
    opacity: 0; animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards;
  }
  .js .hero .eyebrow, .js .hero .verified { animation-delay: .05s; }
  .js .hero .display .line:nth-child(1) { animation-delay: .15s; }
  .js .hero .display .line:nth-child(2) { animation-delay: .27s; }
  .js .hero .display .line:nth-child(3) { animation-delay: .39s; }
  .js .hero .lede { animation-delay: .5s; }
  .js .hero .actions { animation-delay: .62s; }
  .js .hero .stats { animation-delay: .74s; }
  .js .bars span { animation: bar-in 1.1s cubic-bezier(.2,.7,.2,1) both; }
  .js .bars span:nth-child(2) { animation-delay: .12s; }
  .js .bars span:nth-child(3) { animation-delay: .24s; }

  .js .product-shot, .js .cert-badge { opacity: 0; animation: rise .9s .35s cubic-bezier(.2,.7,.2,1) forwards; }
  .js .product-shot img { animation: float 6s 1.2s ease-in-out infinite; }

  .js .verified svg polyline { stroke-dasharray: 20; stroke-dashoffset: 20; animation: draw .5s .7s ease-out forwards; }
  .js .verified { animation: rise .8s .05s cubic-bezier(.2,.7,.2,1) forwards, ping 1.6s 1.2s ease-out 2; }

  .js .cert-badge .ring circle:last-of-type { stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw 1.2s .8s cubic-bezier(.6,0,.2,1) forwards; }
  .js .cert-badge .ring polyline { stroke-dasharray: 70; stroke-dashoffset: 70; animation: draw .5s 1.8s ease-out forwards; }

  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
  .js .reveal.in { opacity: 1; transform: none; }

  .btn-primary { position: relative; overflow: hidden; }
  .btn-primary::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
    transform: translateX(-120%) skewX(-20deg);
  }
  .btn-primary:hover::after { animation: shine .8s ease; }
  .card { transition: transform .25s ease, box-shadow .25s ease; }
  .card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(14,27,44,.05), 0 18px 44px rgba(14,27,44,.13); }
  .ticker-track { animation: ticker 28s linear infinite; }
}

/* product glow */
.shot-wrap { position: relative; justify-self: end; }
.shot-wrap::before {
  content: ""; position: absolute; inset: -10% -14%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(143,198,63,.45), rgba(143,198,63,0));
  z-index: 0;
}
@media (prefers-reduced-motion: no-preference) { .js .shot-wrap::before { animation: glow 5s ease-in-out infinite; } }
.shot-wrap .product-shot { position: relative; z-index: 1; }

/* scanning line over the bottle on the verification page */
.scanning { position: relative; overflow: hidden; border-radius: 12px; }
.scanning::after {
  content: ""; position: absolute; left: 4%; right: 4%; height: 3px; top: 6%;
  background: var(--lime-2); box-shadow: 0 0 18px 4px rgba(167,224,75,.7); border-radius: 3px; opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .js .scanning::after { animation: scan 1.1s .9s ease-in-out 2 alternate both; }
}

/* timeline progress rail */
.timeline { position: relative; }
.timeline::before, .timeline::after {
  content: ""; position: absolute; left: 45px; top: 30px; bottom: 30px; width: 3px; border-radius: 3px;
}
.timeline::before { background: rgba(14,27,44,.1); }
.timeline::after { background: var(--lime); transform-origin: top; transform: scaleY(var(--progress, 1)); transition: transform .2s linear; }
.timeline li { position: relative; z-index: 1; }
.step-n { transition: background .4s ease, color .4s ease, transform .4s ease; }
.js .timeline li.lit .step-n { background: var(--lime); color: var(--navy); transform: scale(1.08); }

/* ticker */
.ticker { background: var(--navy); color: #fff; overflow: hidden; border-block: 1px solid rgba(255,255,255,.08); }
.ticker-track { display: flex; width: max-content; }
.ticker-track span {
  font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.02em;
  font-size: clamp(22px, 3vw, 34px); padding: 18px 28px; white-space: nowrap;
}
.ticker-track span:nth-child(even) { color: var(--lime-2); }

/* =====================  INGREDIENTS + COA  ===================== */
.ingredients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; margin: 0; padding: 0; }
.ingredients li { background: var(--card); border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.ingredients strong { font-weight: 800; font-size: 17px; }
.ingredients .tag { align-self: flex-start; font: 700 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--cream-2); color: var(--muted); }
.ingredients .tag.key { background: var(--navy); color: var(--lime-2); }
.note { font-size: 14px; color: var(--muted); margin: 16px 0 0; }

.coa { background: var(--card); border-radius: 20px; box-shadow: 0 2px 4px rgba(14,27,44,.05), 0 18px 44px rgba(14,27,44,.13); overflow: hidden; position: relative; margin-top: 56px; }
.coa-head { background: var(--navy); color: #fff; padding: 26px 30px; display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: flex-end; justify-content: space-between; }
.coa-head h3 { margin: 4px 0 0; font-size: 26px; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.02em; }
.coa-head .label { color: var(--lime-2); font-size: 11px; }
.coa-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.coa-meta div { background: #FBFAF6; padding: 14px 20px; }
.coa-meta dt { font: 700 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.coa-meta dd { margin: 4px 0 0; font-weight: 800; font-size: 15px; }
.redact { display: inline-block; height: 1em; width: 9em; max-width: 100%; vertical-align: -2px; background: var(--ink); border-radius: 2px; }
.redact.short { width: 6em; }
.coa .table-wrap { box-shadow: none; border-radius: 0; }
.coa table { min-width: 680px; }
.coa td.result { font-weight: 800; }
.coa td, .coa tbody th { vertical-align: middle; }
.vbox {
  display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px;
  border: 2px solid var(--lime); background: var(--lime); vertical-align: middle;
}
.vbox svg polyline { stroke-dasharray: 22; stroke-dashoffset: 0; }
.vstate { margin-left: 8px; font: 700 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #2E5208; }
.js .coa:not(.done) .vbox { background: transparent; }
.js .coa .vbox svg polyline { stroke-dashoffset: 22; transition: stroke-dashoffset .35s ease-out; }
.js .coa tr.ok .vbox { background: var(--lime); transition: background .2s ease; }
.js .coa tr.ok .vbox svg polyline { stroke-dashoffset: 0; }
.js .coa tr:not(.ok) .vstate { visibility: hidden; }
.coa-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 30px 28px; border-top: 1px solid var(--line); }
.coa-foot p { margin: 0; font-size: 14px; color: var(--muted); }
.coa-foot strong { color: var(--ink); }
.stamp {
  font: 900 italic 26px "Archivo", sans-serif; text-transform: uppercase; letter-spacing: .02em; color: #3F6B12;
  border: 4px solid var(--lime); border-radius: 12px; padding: 6px 18px; transform: rotate(-12deg);
  display: inline-flex; align-items: center; gap: 10px; background: rgba(143,198,63,.08);
}
.js .stamp { opacity: 0; }
.js .coa.done .stamp { animation: stamp .55s cubic-bezier(.2,.7,.2,1) forwards; }
@media (prefers-reduced-motion: reduce) {
  .js .stamp { opacity: 1; }
  .js .coa .vbox { background: var(--lime) !important; }
  .js .coa .vbox svg polyline { stroke-dashoffset: 0 !important; }
}
.coa-progress { font: 700 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--hero-copy); display: inline-flex; align-items: center; gap: 8px; }
.coa-progress .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime-2); }
@media (prefers-reduced-motion: no-preference) { .js .coa:not(.done) .coa-progress .dot { animation: ping 1s ease-out infinite; } }

@media (max-width: 900px) {
  .shot-wrap { justify-self: start; }
  .ingredients { grid-template-columns: repeat(2, 1fr); }
  .coa-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .langsw { margin-left: auto; }
  .pagenav { order: 3; }
  .pagenav a { font-size: 11px; letter-spacing: .04em; }
  .ingredients { grid-template-columns: 1fr; }
  .coa-head, .coa-foot { padding-left: 20px; padding-right: 20px; }
  .timeline::before, .timeline::after { left: 45px; }
}

/* Phones: the COA becomes stacked rows so the verified boxes stay on screen
   instead of hiding off the right edge of a scrolling table. */
@media (max-width: 560px) {
  .coa .table-wrap { overflow: visible; }
  .coa table, .coa tbody, .coa tr { display: block; min-width: 0; }
  .coa thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .coa tbody tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 14px 20px; border-top: 1px solid var(--line); }
  .coa tbody tr:nth-child(even) { background: #FBFAF6; }
  .coa tbody th, .coa td { padding: 0; border: 0; background: none !important; }
  .coa tbody th { grid-column: 1; font-size: 15px; }
  .coa td { grid-column: 1; font-size: 14px; }
  .coa td:not(.result):not(:last-child) { color: var(--muted); }
  .coa td:last-child { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .coa .vstate { display: none; }
  .vbox { width: 28px; height: 28px; }
}
