/* Affordable Peptides — brand tokens sampled from the logo (white background) */
:root {
  --bg: #ffffff;
  --surface: #f5f8fb;
  --surface-2: #eef3f8;
  --blue: #2fa6df;
  --blue-dark: #1f8ec4;
  --blue-tint: rgba(47, 166, 223, 0.10);
  --navy: #083d67;
  --navy-2: #0b4f85;
  --gray: #a1a1a1;
  --ink: #0f2233;
  --ink-2: #4a5b6b;
  --ink-3: #7d8a97;
  --line: #e3e9ef;
  --line-2: #d3dce5;
  --amber: #b7791f;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(8, 61, 103, 0.05), 0 8px 24px -12px rgba(8, 61, 103, 0.18);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); }
b { font-weight: 700; color: var(--navy); }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 8px; font-weight: 600;
}
.skip:focus { left: 8px; z-index: 10; }

.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(28px, 6vw, 64px) 0 clamp(20px, 4vw, 40px);
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: -40% -20% auto;
  height: 120%;
  background: radial-gradient(60% 50% at 50% 30%, rgba(47, 166, 223, 0.12), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.logo {
  width: min(440px, 88%);
  margin: 0 auto 18px;
  mix-blend-mode: multiply; /* logo JPEG has white baked in; multiply makes white transparent over the glow */
}
.tagline {
  margin: 0;
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.sub { margin: 10px auto 0; max-width: 620px; color: var(--ink-2); }
.eyebrow {
  margin: 0 0 6px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue);
}

/* ---------- link cards ---------- */
.links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: clamp(16px, 3vw, 28px) 0 clamp(40px, 7vw, 72px);
}
.card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 22px;
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--ink);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card:hover, .card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: 0 18px 40px -18px rgba(47, 166, 223, 0.45), 0 0 0 1px var(--blue);
  outline: none;
}
.card__logo {
  display: flex; align-items: center; justify-content: center;
  height: 96px; margin-bottom: 8px; padding: 12px 16px;
  border-radius: 10px; background: var(--surface); border: 1px solid var(--line);
}
.card__logo img { max-height: 100%; width: auto; object-fit: contain; }
.card__logo--wide img { max-width: 100%; }
.card__promo {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  margin-top: 2px; padding: 6px 10px;
  border: 1px dashed var(--blue); border-radius: 8px; background: var(--blue-tint);
  font-size: 13px; color: var(--ink);
}
.card__promo-code { font-family: var(--mono); font-weight: 600; color: var(--navy); letter-spacing: 0.06em; }
.card__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.card__title { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.card__desc { color: var(--ink-2); font-size: 15px; flex: 1; }
.card__cta { font-family: var(--mono); font-size: 13px; color: var(--blue-dark); margin-top: 4px; }
.card__cta span { display: inline-block; transition: transform .18s ease; }
.card:hover .card__cta span { transform: translateX(4px); }

/* ---------- pricing ---------- */
.pricing { padding-bottom: 40px; }
.pricing__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.pricing h2 { margin: 0; font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.pricing .sub { margin-left: 0; max-width: 640px; }

.code {
  cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 14px 22px;
  border: 1px dashed var(--blue);
  border-radius: 12px;
  background: var(--blue-tint);
  color: var(--navy);
  font-family: var(--font);
  transition: background .15s ease, transform .15s ease;
}
.code:hover { background: rgba(47, 166, 223, 0.18); }
.code:active { transform: scale(0.98); }
.code__label { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-dark); }
.code__value { font-family: var(--mono); font-size: 30px; font-weight: 600; letter-spacing: 0.08em; line-height: 1.1; }
.code__hint { font-size: 12px; color: var(--ink-2); }
.code.copied .code__hint { color: var(--blue-dark); font-weight: 600; }

.toggle-row { margin: 22px 0 16px; }
.toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; color: var(--ink-2); font-size: 14px; }
.toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.toggle__track {
  width: 40px; height: 22px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2);
  position: relative; transition: background .15s ease;
}
.toggle__track::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--ink-3); transition: transform .15s ease, background .15s ease;
}
.toggle input:checked + .toggle__track { background: var(--blue); border-color: var(--blue); }
.toggle input:checked + .toggle__track::after { transform: translateX(18px); background: #fff; }
.toggle input:focus-visible + .toggle__track { outline: 2px solid var(--blue); outline-offset: 2px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 16px; }
.tier {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column;
}
.tier__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 6px 10px; flex-wrap: wrap;
  padding: 16px 18px 12px; border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.tier__name { margin: 0; font-size: 19px; white-space: nowrap; font-weight: 800; color: var(--navy); letter-spacing: -0.01em; }
.tier__from { font-family: var(--mono); font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.tier__from b { color: var(--blue-dark); }
.tier__badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; background: rgba(183, 121, 31, 0.12); color: var(--amber);
}
.tier table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tier .scroll { overflow-x: auto; }
.tier th, .tier td { padding: 9px 12px; text-align: right; font-size: 13.5px; }
.tier th:first-child, .tier td:first-child { padding-left: 18px; }
.tier th:last-child, .tier td:last-child { padding-right: 18px; }
.tier th { white-space: nowrap; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.tier th:first-child, .tier td:first-child { text-align: left; }
.tier td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
.tier tbody tr + tr td { border-top: 1px solid var(--line); }
.tier .price { font-family: var(--mono); font-weight: 600; color: var(--navy); font-size: 14px; white-space: nowrap; }
.tier .was { display: block; font-family: var(--mono); color: var(--gray); text-decoration: line-through; font-size: 11px; line-height: 1.2; }
.tier .per { color: var(--ink-2); font-family: var(--mono); font-size: 11.5px; white-space: nowrap; }
.tier .per span { display: block; line-height: 1.35; }
.tier .per small { font-size: 10px; color: var(--ink-3); margin-left: 2px; }
body.no-discount .was { display: none; }
.tier__foot { margin-top: auto; padding: 12px 18px 16px; }
.tier__foot a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 10px;
  background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none;
  transition: background .15s ease;
}
.tier__foot a:hover { background: var(--navy-2); }
.tier--testing .tier__foot a { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.tier--testing .tier__foot a:hover { background: var(--blue-tint); }
.tier__testing { padding: 18px; color: var(--ink-2); font-size: 14px; flex: 1; }
.tier__testing p { margin: 0 0 6px; }

.note { margin: 18px 0 0; color: var(--ink-3); font-size: 13px; max-width: 720px; }

/* ---------- faq ---------- */
.faq { padding: 8px 0 48px; }
.faq h2 { margin: 0 0 18px; font-size: clamp(22px, 2.8vw, 30px); font-weight: 800; letter-spacing: -0.02em; color: var(--navy); max-width: 720px; }
.faq__list { max-width: 760px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 14px 32px 14px 0; position: relative;
  font-weight: 600; color: var(--ink); font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 12px;
  font-family: var(--mono); font-size: 18px; color: var(--blue); transition: transform .15s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; color: var(--ink-2); font-size: 15px; max-width: 700px; }

/* ---------- footer ---------- */
.foot { padding: 32px 0 48px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 14px; }
.foot p { margin: 0 0 10px; max-width: 760px; }
.foot__fine { color: var(--ink-3); font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .card { min-height: 0; }
}
@media (max-width: 560px) {
  .pricing__head { flex-direction: column; }
  .code { width: 100%; }
}
@media (max-width: 380px) {
  .grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  html { scroll-behavior: auto; }
}
