/* Aesthetic Peptides — design tokens + base + primitives.
   Ported from the source's /app.css (measured, see RECON-FINDINGS §13).
   Look direction, in the source author's own words: a small clinical
   publication rather than a shop. Deep navy black ground, the logo blue as the
   single accent, violet as the only counterpoint. Serif headlines against mono
   micro-labels, hairline rules, indexed sections and squared-off panels.
   Everything is matte; nothing is glossy.

   Difference from source: the source DECLARES "Inter" but ships no webfont and
   loads no font CDN, so it silently falls back to Helvetica/Arial/Segoe UI.
   We self-host Inter (variable) — brief decision 12. Headings stay Georgia. */

/* Inter variable, self-hosted. 100–900 so the source's 650 weight is real
   rather than synthesised. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/InterVariable.woff2") format("woff2");
}

:root {
  --bg: #06070e;
  --bg-2: #080b13;
  --bg-3: #04050a;
  --panel: rgba(255, 255, 255, 0.025);
  --panel-solid: #0a0d16;
  --line: rgba(255, 255, 255, 0.075);
  --line-2: rgba(255, 255, 255, 0.15);
  --text: #eef2fb;
  --body: #a9b4c9;
  --muted: #7d879c;
  --dim: #586071;
  --accent: #5b8fe0;
  --accent-2: #a9caff;
  --accent-ink: #060b18;
  --accent-soft: rgba(91, 143, 224, 0.12);
  --violet: #a78bfa;
  --violet-soft: rgba(167, 139, 250, 0.12);
  --ok: #a9caff;
  --warn: #fbbf24;
  --warn-soft: rgba(251, 191, 36, 0.1);
  --bad: #f87171;
  --bad-soft: rgba(248, 113, 113, 0.1);
  --radius: 10px;
  --radius-s: 7px;
  --font: "Inter", "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
  --display: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --glow: 0 0 0 1px rgba(91, 143, 224, 0.35), 0 18px 60px rgba(20, 48, 120, 0.28);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 15px/1.62 var(--font);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
/* A hush of blue top-right, a violet breath bottom-right, over a hairline grid. */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(760px 460px at 88% -12%, rgba(91, 143, 224, 0.14), transparent 70%),
    radial-gradient(620px 420px at 4% 6%, rgba(91, 143, 224, 0.07), transparent 72%),
    radial-gradient(700px 520px at 50% 112%, rgba(167, 139, 250, 0.09), transparent 74%),
    linear-gradient(180deg, #06070e, #04050a);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(1000px 720px at 50% 0%, #000 18%, transparent 84%);
  -webkit-mask-image: radial-gradient(1000px 720px at 50% 0%, #000 18%, transparent 84%);
}
main { flex: 1; outline: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { color: var(--text); }
.muted { color: var(--muted); }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 6px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: rgba(91, 143, 224, 0.32); color: #fff; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 8px;
  font-weight: 650; font-size: 14.5px; border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s, filter 0.15s, transform 0.1s;
}
.btn:active { transform: translateY(1px); }
.btn-dark, .btn-primary {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: var(--accent-ink);
  box-shadow: 0 12px 34px rgba(20, 48, 120, 0.42);
}
.btn-dark:hover, .btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--accent); color: #fff; background: var(--accent-soft); }
.btn-sm { height: 38px; padding: 0 15px; font-size: 13.5px; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: 0.42; cursor: not-allowed; }
.link-u { font-weight: 650; font-size: 14.5px; border-bottom: 1px solid currentColor; padding-bottom: 2px; color: var(--text); }
.link-u:hover { color: var(--accent-2); }

/* ---------- Type helpers ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
}
.serif { font-family: var(--display); }

/* ---------- Sections ---------- */

.section { padding: 76px 0; }
.section.alt { background: rgba(255, 255, 255, 0.015); border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.section-head h2, .page-title {
  font-family: var(--display);
  font-size: clamp(27px, 3.4vw, 42px); letter-spacing: -0.02em; line-height: 1.06; margin: 12px 0 0; font-weight: 400;
}
.section-num { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em; color: var(--dim); text-transform: uppercase; }
.page-head { padding: 60px 0 0; }
.page-head p { color: var(--muted); max-width: 680px; margin: 12px 0 0; }
.crumbs { font-size: 13px; color: var(--muted); padding: 28px 0 0; font-family: var(--mono); }
.crumbs a:hover { color: #fff; }

/* ---------- Filter chips (shop/search reuse these) ---------- */

.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }
.chip {
  display: inline-flex; align-items: center;
  height: 36px; padding: 0 16px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line-2);
  font-size: 13px; font-weight: 600; color: #b8c2d8; letter-spacing: 0.01em;
}
.chip:hover { border-color: var(--accent); color: #fff; }
.chip.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 700; }
.toolbar .count { margin-left: auto; color: var(--muted); font-size: 13px; font-family: var(--mono); }

/* ---------- Product grid + the ONE shared product card ----------
   Every carousel, archive, search result and related-products row uses
   parts/product-card.php, which emits exactly this DOM. */

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(252px, 1fr)); gap: 16px; }
.card {
  position: relative;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card:hover { border-color: rgba(91, 143, 224, 0.42); box-shadow: var(--glow); transform: translateY(-3px); }
.card::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--violet), transparent);
  opacity: 0; transition: opacity 0.25s;
}
.card:hover::after { opacity: 0.8; }
.card-img {
  position: relative; display: block; aspect-ratio: 1 / 1;
  background: radial-gradient(70% 60% at 50% 26%, rgba(91, 143, 224, 0.14), transparent 72%), #060a14;
  border-bottom: 1px solid var(--line); overflow: hidden;
}
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-img .art { position: absolute; inset: 12px 0 0; width: 100%; height: calc(100% - 12px); }
.tag {
  position: absolute; left: 12px; top: 12px;
  background: rgba(6, 8, 16, 0.82); border: 1px solid var(--line-2);
  padding: 4px 10px; border-radius: 4px; font-size: 10px; font-weight: 700;
  font-family: var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: #dbe8ff;
  backdrop-filter: blur(8px);
}
.tag.accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.tag.sale { left: auto; right: 12px; background: rgba(6, 8, 16, 0.86); border-color: rgba(91, 143, 224, 0.6); color: #cfe0ff; }
.tag.out { left: auto; right: 12px; background: rgba(6, 8, 16, 0.82); border-color: rgba(248, 113, 113, 0.45); color: var(--bad); }
.card-body { padding: 15px 17px 17px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.card-cat { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); font-weight: 600; font-family: var(--mono); }
.card h3 { margin: 0; font-family: var(--display); font-size: 18.5px; letter-spacing: 0; font-weight: 700; }
.card h3 a:hover { color: var(--accent-2); }
.card .sub { color: var(--muted); font-size: 13px; }
.lab-line { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.02em; color: var(--accent-2); }
.lab-line svg { width: 13px; height: 13px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pdp .lab-line { font-size: 13px; margin: -10px 0 16px; }
.pdp .lab-line svg { width: 15px; height: 15px; }
.lab-line small { color: var(--muted); font-family: inherit; font-size: 12px; border-bottom: 1px solid currentColor; margin-left: 4px; }
a.lab-line:hover small { color: var(--accent-2); }
.card-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; gap: 10px; }
.price { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; color: var(--text); font-family: var(--mono); }
/* Original price while a store-wide sale is on. Engine built, currently unused
   (every source wasPrice is 0 and salePercent is 0). */
.price .was, .line-total .was, .was { color: var(--dim); text-decoration: line-through; font-weight: 600; }
.price .was { font-size: 13px; margin-left: 8px; }
.card-foot .btn { margin-left: auto; height: 36px; padding: 0 13px; font-size: 13px; }
.card-foot .btn.is-busy { pointer-events: none; opacity: 0.6; }

/* ---------- Sizes: single / pack of 5 / kit of 10 ----------
   Cards: one segmented bar. Product page: side-by-side tiles with the vial
   count drawn as bars, the price, the price per vial and the saving. */
.sizes-bar {
  display: flex; margin-top: 12px; padding: 3px; gap: 3px;
  border-radius: 10px; background: rgba(3, 5, 11, 0.65); border: 1px solid var(--line-2);
}
.sizes-bar .size {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  height: 40px; padding: 0 4px; border: 0; border-radius: 7px; background: none;
  color: var(--muted); font-size: 11.5px; font-weight: 700; letter-spacing: 0.01em; white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.sizes-bar .size span { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.sizes-bar .size em { font-style: normal; font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--violet); }
.sizes-bar .size:hover:not(.on) { color: #fff; background: rgba(255, 255, 255, 0.05); }
.sizes-bar .size.on { background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: var(--accent-ink); box-shadow: 0 4px 14px rgba(91, 143, 224, 0.35); }
.sizes-bar .size.on em { color: var(--accent-ink); opacity: 0.75; }

/* Brief tweak: the COMPACT (card) picker also carries the vial-count glyphs
   and the "Best value" ribbon — the source showed those only on the PDP
   tiles. The bar therefore grows to fit and stops clipping the ribbon.
   Per-vial price for the selected tier renders in .card-price, as in source. */
.sizes-bar { margin-top: 18px; overflow: visible; }
.sizes-bar .size { position: relative; height: auto; min-height: 44px; padding: 7px 6px 6px; }
.sizes-bar .size-vials { height: 10px; gap: 1.5px; margin-bottom: 3px; }
.sizes-bar .size-vials i { width: 3px; border-top-width: 2px; }
.sizes-bar .size-ribbon {
  top: -9px; left: 50%; transform: translateX(-50%);
  padding: 2px 7px; font-size: 8.5px; letter-spacing: 0.1em; white-space: nowrap;
}

.sizes-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 10px; max-width: 520px; margin: 4px 0 22px; padding-top: 9px; }
.sizes-tiles .size {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left;
  padding: 16px 14px 13px; border-radius: 12px; border: 1px solid var(--line-2);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  color: var(--text); transition: border-color 0.15s, background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.sizes-tiles .size:hover { border-color: rgba(91, 143, 224, 0.55); transform: translateY(-2px); }
.sizes-tiles .size.on {
  border-color: var(--accent);
  background: linear-gradient(170deg, rgba(91, 143, 224, 0.2), rgba(167, 139, 250, 0.08));
  box-shadow: 0 0 0 1px var(--accent), 0 10px 30px rgba(20, 48, 120, 0.35);
}
.sizes-tiles .size.on::after {
  content: "\2713"; position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 900;
}
.size-ribbon {
  position: absolute; top: -9px; left: 12px; padding: 2px 8px; border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--accent)); color: #fff;
  font-family: var(--mono); font-size: 9.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
}
.size-vials { display: flex; gap: 2px; height: 18px; align-items: flex-end; margin-bottom: 6px; }
.size-vials i { display: block; width: 5px; height: 100%; border-radius: 2px 2px 1px 1px; background: rgba(169, 202, 255, 0.35); border-top: 3px solid rgba(169, 202, 255, 0.7); }
.size.on .size-vials i { background: rgba(169, 202, 255, 0.75); border-top-color: #fff; }
.size-name { font-size: 13px; font-weight: 700; color: var(--body); }
.size.on .size-name { color: var(--text); }
.size-price { font-family: var(--mono); font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.size-each { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.size-save { margin-top: 6px; padding: 2px 7px; border-radius: 5px; background: var(--violet-soft); color: #c9b8ff; font-size: 11px; font-weight: 700; }
.size-save.none { background: none; padding-left: 0; color: var(--dim); font-weight: 600; }
.per-vial { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--accent-2); }
.pdp-price .per-vial { margin-top: 4px; font-size: 13px; }

/* Kit cards (Kits section / Kits archive): a violet frame so bulk deals stand
   apart from singles. */
.kit-card { border-color: rgba(167, 139, 250, 0.28); background: linear-gradient(180deg, rgba(167, 139, 250, 0.06), var(--panel) 45%); }
.kit-card:hover { border-color: rgba(167, 139, 250, 0.55); }
.kit-card .card-cat { color: var(--violet); }
.tag.kit { background: linear-gradient(90deg, var(--violet), var(--accent)); border-color: transparent; color: #fff; }
.line-pack { color: var(--accent-2); font-size: 12px; font-weight: 600; font-family: var(--mono); }

.stock { font-size: 11.5px; font-weight: 600; font-family: var(--mono); letter-spacing: 0.04em; }
.stock.ok { color: var(--accent-2); }
.stock.low { color: var(--warn); }
.stock.out { color: var(--bad); }

.empty {
  text-align: center; padding: 64px 24px; border: 1px dashed var(--line-2);
  border-radius: var(--radius); color: var(--muted);
}

/* ---------- Panels / fields / callouts (checkout + account reuse these) ---------- */

.panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.panel + .panel { margin-top: 14px; }
.panel h2 { margin: 0 0 4px; font-family: var(--display); font-size: 20px; display: flex; align-items: center; gap: 10px; letter-spacing: 0; font-weight: 700; }
.panel h2 .n { font-family: var(--mono); font-size: 11px; color: var(--accent); border: 1px solid rgba(91, 143, 224, 0.32); background: var(--accent-soft); border-radius: 4px; padding: 2px 6px; }
.panel > p { margin: 0 0 18px; color: var(--muted); font-size: 13.5px; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11px; font-weight: 600; color: #95a3bd; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--mono); }
.field label i { font-style: normal; color: var(--dim); font-weight: 500; text-transform: none; letter-spacing: 0; font-family: var(--font); }
.field input, .field select, .field textarea {
  height: 44px; padding: 0 13px; border-radius: 8px;
  background: rgba(3, 5, 11, 0.5); border: 1px solid var(--line-2); outline: 0;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.field select option { background: #0a0d16; color: var(--text); }
.field textarea { height: auto; min-height: 96px; padding: 12px 13px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); background: rgba(3, 5, 11, 0.78); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:disabled { opacity: 0.7; cursor: not-allowed; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: flex; flex-direction: column; gap: 2px; min-width: 122px;
  padding: 12px 15px; border-radius: 8px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03);
  font-weight: 650; font-size: 14px; cursor: pointer; color: var(--text);
  transition: border-color 0.15s, background 0.15s;
}
.choice span small { font-weight: 500; color: var(--muted); font-size: 12px; }
.choice input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.callout {
  display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius-s); font-size: 13.5px;
  background: var(--accent-soft); border: 1px solid rgba(91, 143, 224, 0.28); color: #c9dcff;
}
.callout svg { width: 19px; height: 19px; flex-shrink: 0; fill: none; stroke: var(--accent-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.error { background: var(--bad-soft); border-color: rgba(248, 113, 113, 0.4); color: #fca5a5; }
.error svg { stroke: var(--bad); }
.callout.warn { background: var(--warn-soft); border-color: rgba(251, 191, 36, 0.35); color: #fde68a; }
.callout.warn svg { stroke: var(--warn); }

/* ---------- Quantity stepper ---------- */

.qty { display: inline-flex; align-items: center; height: 44px; border: 1px solid var(--line-2); border-radius: 8px; background: rgba(255, 255, 255, 0.04); }
.qty button { width: 38px; height: 100%; background: none; border: 0; font-size: 17px; color: #ccd7ee; }
.qty button:hover { color: #fff; }
.qty input { width: 42px; text-align: center; background: none; border: 0; outline: 0; font-weight: 700; color: var(--text); -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.sm { height: 32px; border-radius: 6px; }
.qty.sm button { width: 28px; font-size: 14px; }
.qty.sm input { width: 30px; font-size: 13px; }

/* ---------- FAQ disclosure (home + FAQ page) ---------- */

.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-list details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-s); }
.faq-list details[open] { border-color: rgba(91, 143, 224, 0.32); background: rgba(91, 143, 224, 0.045); }
.faq-list summary { list-style: none; padding: 18px 20px; font-weight: 600; color: var(--text); display: flex; justify-content: space-between; gap: 12px; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent); font-size: 19px; line-height: 1; transition: transform 0.2s; font-family: var(--mono); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 0; padding: 0 20px 20px; color: var(--muted); white-space: pre-line; }

/* ---------- Motion ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Toast ---------- */

.toast {
  position: fixed; left: 50%; bottom: 24px; translate: -50% 20px; opacity: 0; z-index: 90;
  background: var(--panel-solid); color: var(--text); border: 1px solid var(--line-2);
  padding: 12px 18px; border-radius: 8px; font-weight: 650; font-size: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6); transition: opacity 0.2s, translate 0.2s; pointer-events: none;
}
.toast.show { opacity: 1; translate: -50% 0; }

.loading { display: grid; place-items: center; min-height: 50vh; }
.spinner { width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--accent); animation: ap-spin 0.8s linear infinite; }
@keyframes ap-spin { to { transform: rotate(360deg); } }

/* ---------- Responsive (source breakpoints: 1100 · 1000 · 900 · 720 · 640) ---------- */

@media (max-width: 720px) {
  .fields { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
