/* =========================================================
   Pep99 — one-page institutional site
   Navy #1A2340 + white + steel neutrals
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Inter:wght@400;450;500;600&display=swap');

/* ---------- Tokens ---------- */
:root {
  --navy:        #1A2340;
  --navy-700:    #263256;
  --navy-500:    #3B4A78;
  --navy-900:    #10162B;

  --ink:         #131829;
  --muted:       #5C6480;
  --muted-soft:  #8A92AC;

  --line:        #E4E7F0;
  --line-strong: #CDD3E2;

  --bg:          #FFFFFF;
  --surface:     #F6F7FB;
  --surface-2:   #EDF0F7;

  --verified:    #1F8B6E;
  --verified-bg: #E7F5F0;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;

  --shadow-xs: 0 1px 2px rgba(19, 24, 41, .05);
  --shadow-sm: 0 2px 8px rgba(19, 24, 41, .06);
  --shadow:    0 8px 28px rgba(19, 24, 41, .08);
  --shadow-lg: 0 24px 60px rgba(19, 24, 41, .13);

  --maxw: 1140px;
  --header-h: 66px;

  --font-display: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

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

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }              /* never distort: height always follows width */
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.14; letter-spacing: -.02em; margin: 0; color: var(--navy); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--navy-500); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: 88px; }
.section--tight { padding-block: 60px; }
.section--surface { background: var(--surface); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: 11.5px; font-weight: 600; letter-spacing: .19em; text-transform: uppercase;
  color: var(--navy-500);
}
.section--navy .eyebrow { color: #A3AFD4; }

.h-section { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-block: 14px 16px; }
.lede { font-size: 1.0313rem; color: var(--muted); max-width: 62ch; }
.section--navy .lede { color: #B4BDDA; }

.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lede { margin-inline: auto; }

/* ---------- Header ---------- */
.announce {
  background: var(--navy-900); color: #C3CBE4;
  font-size: 12.5px; letter-spacing: .015em;
}
.announce .wrap { display: flex; align-items: center; justify-content: center; min-height: 36px; text-align: center; }

.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }

/* Logo: "Pep" regular, "99" bold */
.logo {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 400;
  color: var(--navy); letter-spacing: -.015em;
}
.logo b { font-weight: 700; }
.logo--light { color: #fff; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  padding: 8px 13px; border-radius: 8px; font-size: .9rem; font-weight: 450; color: var(--muted);
  transition: color .16s, background .16s;
}
.nav a:hover { color: var(--navy); background: var(--surface); }

.lang { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; background: #fff; }
.header .lang { margin-left: 8px; }
.nav + .lang { margin-left: 8px; }
.lang button {
  border: 0; background: none; padding: 6px 11px; font-size: 11.5px; font-weight: 600; letter-spacing: .07em;
  color: var(--muted-soft); transition: background .16s, color .16s;
}
.lang button.is-active { background: var(--navy); color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #FBFCFE 0%, #F2F4FA 100%); }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 85% 70% at 72% 34%, #000 8%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 72% 34%, #000 8%, transparent 70%);
  opacity: .5; pointer-events: none;
}
.hero__grid {
  position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center;
  padding-block: 76px 84px;
}
.hero__eyebrow {
  margin-top: 22px; font-size: 12px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--navy-500);
}
.hero h1 {
  font-size: clamp(3rem, 7vw, 4.6rem); line-height: 1; letter-spacing: -.035em;
  margin-top: 10px;
}
.hero__mg { margin-top: 10px; font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; color: var(--navy-500); }
.hero__sub { margin-top: 22px; font-size: 1.0313rem; color: var(--muted); max-width: 48ch; }

.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 11px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--navy-500);
  box-shadow: var(--shadow-xs);
}
.pill svg { width: 14px; height: 14px; stroke: var(--verified); }

.ticks { display: flex; flex-direction: column; gap: 11px; margin-top: 30px; font-size: .9125rem; color: var(--muted); }
.ticks li { display: flex; align-items: center; gap: 10px; }
.ticks svg { width: 16px; height: 16px; stroke: var(--verified); flex-shrink: 0; }

/* Product photography. Native file is 724x543 — the box is capped at 440px
   so the browser never has to invent pixels. */
.hero__media { margin: 0; display: flex; justify-content: center; }
.hero__media img {
  width: 100%; max-width: 440px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ---------- Identity card ---------- */
.idcard {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: #fff; overflow: hidden; box-shadow: var(--shadow-sm);
}
.idcard__item { padding: 22px 24px; border-right: 1px solid var(--line); }
.idcard__item:last-child { border-right: 0; }
.idcard__l { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--muted-soft); }
.idcard__v { display: block; margin-top: 7px; font-family: var(--font-display); font-size: 1.375rem; font-weight: 600; color: var(--navy); letter-spacing: -.02em; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--narrow { grid-template-columns: .8fr 1.2fr; align-items: start; }

.figure { margin: 0; }
.figure img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface-2);
}
/* Photos are 724x543 native. Capping the box at 362px keeps them at 2x
   density on retina — never upscaled, so never soft. */
.figure--photo { max-width: 362px; }
.figure--photo img { box-shadow: var(--shadow-sm); }

/* Label shot is 1481px native — 740px keeps it at a clean 2x on retina */
.figure--label { max-width: 740px; margin: 0 auto 44px; }
.figure--label img { box-shadow: var(--shadow); }

.notice {
  margin-top: 24px; padding: 16px 18px; border-radius: var(--radius-sm);
  background: #FFF8EC; border: 1px solid #F0DCB8; color: #7A5518;
  font-size: .875rem; line-height: 1.6;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { padding-top: 22px; border-top: 2px solid rgba(255,255,255,.16); }
.step__n { font-family: var(--font-display); font-size: .8125rem; font-weight: 700; letter-spacing: .12em; color: #808FC2; }
.step h3 { margin-top: 12px; font-size: 1.0313rem; }
.step p { margin-top: 8px; font-size: .875rem; color: #ADB7D7; line-height: 1.55; }

/* ---------- Tiles ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.tile:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.tile h3 { font-size: 1rem; }
.tile p { margin-top: 7px; font-size: .8625rem; color: var(--muted); line-height: 1.55; }

/* ---------- Facts ---------- */
.facts { margin: 0; border-top: 1px solid var(--line-strong); }
.fact { display: grid; grid-template-columns: 190px 1fr; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: .9125rem; }
.fact dt { color: var(--muted-soft); }
.fact dd { margin: 0; color: var(--ink); font-weight: 450; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 21px 0; background: none; border: 0; text-align: left;
  font-family: var(--font-display); font-size: 1.0313rem; font-weight: 550; color: var(--navy);
}
.faq__q svg { width: 18px; height: 18px; stroke: var(--muted); flex-shrink: 0; transition: transform .26s var(--ease); }
.faq__item.is-open .faq__q svg { transform: rotate(45deg); }
.faq__a { overflow: hidden; height: 0; transition: height .3s var(--ease); }
.faq__a > div { padding-bottom: 21px; font-size: .9313rem; color: var(--muted); line-height: 1.68; max-width: 74ch; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #A6B0D0; padding-block: 60px 28px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer > .wrap > .footer__grid p { font-size: .875rem; line-height: 1.65; max-width: 42ch; margin-top: 16px; }
.footer h4 { font-family: var(--font-display); font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer li { margin-bottom: 9px; font-size: .875rem; }
.footer li a { transition: color .16s; }
.footer li a:hover { color: #fff; }

/* Disclaimer — structured, not a wall of text */
.disclaimer {
  margin-top: 48px; padding: 24px 26px;
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
  background: rgba(255,255,255,.04);
}
.disclaimer__title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; color: #fff; margin: 0 0 14px;
}
.disclaimer__title svg { width: 17px; height: 17px; stroke: #E0B355; flex-shrink: 0; }
.disclaimer__list { display: grid; gap: 9px; }
.disclaimer__list li {
  position: relative; padding-left: 18px;
  font-size: .8375rem; line-height: 1.6; color: #9DA8CC;
}
.disclaimer__list li::before {
  content: ''; position: absolute; left: 0; top: .62em;
  width: 5px; height: 5px; border-radius: 50%; background: #5A66917A;
  box-shadow: 0 0 0 1px #5A6691;
}

.footer__bottom {
  margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-size: .8125rem; color: #7C87AB;
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px 22px; }
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; padding-block: 52px 60px; }
  .hero__media { order: -1; }
  .vial-stage { max-width: 250px; }
  .split, .split--narrow { grid-template-columns: 1fr; gap: 36px; }
  .idcard { grid-template-columns: repeat(2, 1fr); }
  .idcard__item:nth-child(2n) { border-right: 0; }
  .idcard__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .section { padding-block: 58px; }
  .nav { display: none; }
  .lang, .header .lang, .nav + .lang { margin-left: auto; }
  .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .fact { grid-template-columns: 1fr; gap: 2px; }
  .fact dt { font-size: .8125rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .disclaimer { padding: 20px; }
}
