/* ==========================================================================
   discover.yxspeptide.com — static landing page
   Design tokens follow the brand guideline:
   navy #0b2942 · blue #1769aa · accent #18a6a6 · light #f4f8fb · text #1b2b38
   ========================================================================== */

:root {
  --navy: #0b2942;
  --navy-2: #0f3a5f;
  --navy-deep: #081f33;
  --blue: #1769aa;
  --blue-2: #2b87c9;
  --accent: #18a6a6;
  --accent-2: #2ec4c4;
  --light: #f4f8fb;
  --text: #1b2b38;
  --muted: #52616d;
  --border: #e2ebf2;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(11, 41, 66, 0.08);
  --shadow-md: 0 8px 24px rgba(11, 41, 66, 0.10);
  --container: 1120px;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }

/* ---------- Icons ---------- */

.icon { width: 22px; height: 22px; flex-shrink: 0; }
.icon--sm { width: 17px; height: 17px; }
.icon--lg { width: 26px; height: 26px; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 28px;
  border: none;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, filter 0.18s ease;
}

.btn:focus-visible {
  outline: 3px solid rgba(24, 166, 166, 0.45);
  outline-offset: 2px;
}

.btn--sm { min-height: 44px; padding: 9px 18px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 15px 36px; font-size: 17px; }
.btn--block { width: 100%; }

.btn--primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--accent) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(23, 105, 170, 0.30);
}
.btn--primary:hover { filter: brightness(1.08); box-shadow: 0 8px 22px rgba(23, 105, 170, 0.38); transform: translateY(-1px); }

.btn--cta {
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 55%, var(--blue) 130%);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(24, 166, 166, 0.42);
}
.btn--cta:hover { filter: brightness(1.08); box-shadow: 0 10px 26px rgba(24, 166, 166, 0.5); transform: translateY(-2px); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.55);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: var(--white); transform: translateY(-1px); }

/* ---------- 1 + 2. Sticky top group (compliance strip + header) ---------- */

.site-top {
  position: sticky;
  top: 0;
  z-index: 110;
}

.topbar {
  background: var(--accent);
  color: var(--navy);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 7px;
  padding-bottom: 7px;
  text-align: center;
}

.topbar p { font-size: 12.5px; font-weight: 700; letter-spacing: 0.01em; line-height: 1.4; }
.topbar .icon { width: 15px; height: 15px; }

/* ---------- 2. Header ---------- */

.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 62px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); }
.brand__mark { width: 36px; height: 36px; flex-shrink: 0; }
.brand__name { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; }

/* ---------- 3. Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(23, 105, 170, 0.55) 0%, rgba(23, 105, 170, 0) 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(24, 166, 166, 0.35) 0%, rgba(24, 166, 166, 0) 55%),
    linear-gradient(165deg, var(--navy-2) 0%, var(--navy) 55%, var(--navy-deep) 100%);
  color: var(--white);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 80px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--accent-2); }

.hero h1 {
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}

.hero__lead {
  font-size: clamp(16px, 1.6vw, 18.5px);
  color: rgba(255, 255, 255, 0.86);
  max-width: 560px;
  margin-bottom: 30px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }

.hero__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
}

.hero__trust li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; font-weight: 600; line-height: 1.45; color: rgba(255, 255, 255, 0.92); }
.hero__trust .icon { color: var(--accent-2); margin-top: 1px; }

/* Hero visual: molecular illustration card */
.hero__visual {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(46, 196, 196, 0.3);
  background:
    radial-gradient(420px 300px at 70% 20%, rgba(43, 135, 201, 0.35) 0%, rgba(43, 135, 201, 0) 70%),
    linear-gradient(160deg, rgba(15, 58, 95, 0.9) 0%, rgba(8, 31, 51, 0.95) 100%);
  min-height: 380px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(4, 18, 31, 0.5);
}

.hero__visual .molecule { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero__chips {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(46, 196, 196, 0.45);
  background: rgba(8, 31, 51, 0.72);
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ---------- Generic sections ---------- */

.section { padding: 84px 0; }
.section--light { background: var(--light); }
.section--dark {
  background:
    radial-gradient(700px 400px at 110% 20%, rgba(24, 166, 166, 0.22) 0%, rgba(24, 166, 166, 0) 60%),
    linear-gradient(150deg, var(--navy-2) 0%, var(--navy-deep) 100%);
  color: var(--white);
}

.section__head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section__head h2, .split__text h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.section--dark h2 { color: var(--white); }

.section__lead { margin-top: 14px; font-size: 16.5px; color: var(--muted); }
.section--dark .section__lead { color: rgba(255, 255, 255, 0.78); }

/* ---------- Grid & cards ---------- */

.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(24, 166, 166, 0.14) 0%, rgba(23, 105, 170, 0.14) 100%);
  color: var(--accent);
  margin-bottom: 18px;
}

.card h3 { font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--muted); }

/* ---------- Quality steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.step__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.step__num { font-size: 15px; font-weight: 800; color: var(--blue); letter-spacing: 0.06em; opacity: 0.85; }
.step .card__icon { margin-bottom: 0; width: 48px; height: 48px; }
.step h3 { font-size: 17.5px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ---------- Split layouts ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split--reverse .split__text { order: 2; }
.split--reverse .about__media { order: 1; }

.split__text .section__lead { margin-bottom: 22px; }

.checklist { list-style: none; margin-bottom: 30px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; font-size: 15.5px; color: var(--text); }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), var(--accent)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.checklist--light li { color: rgba(255, 255, 255, 0.9); font-size: 16px; }
.checklist--light li::before { background-color: var(--accent); }

/* ---------- COA document preview ---------- */

.coa-wrap { margin: 0; }
.coa-wrap figcaption { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }

.coa-doc {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 32px 26px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.coa-doc::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--blue) 100%);
}

.coa-doc__head { display: flex; flex-direction: column; gap: 4px; padding-bottom: 16px; border-bottom: 1px dashed var(--border); margin-bottom: 18px; }
.coa-doc__brand { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.coa-doc__title { font-size: 21px; font-weight: 800; color: var(--navy); }

.coa-doc__fields { display: grid; gap: 14px; }
.coa-doc__fields > div { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 14px; }
.coa-doc__fields dt { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.coa-doc__fields dd { min-width: 0; }

.bar {
  display: block;
  height: 11px;
  width: var(--w, 60%);
  border-radius: 9999px;
  background: linear-gradient(90deg, #dbe7f0 0%, #eef4f9 100%);
}

.coa-doc__foot { margin-top: 20px; padding-top: 14px; border-top: 1px dashed var(--border); font-size: 12.5px; color: var(--muted); font-style: italic; }

.coa-doc__stamp {
  position: absolute;
  top: 42%;
  right: -34px;
  transform: rotate(-24deg) translateY(-50%);
  transform-origin: center;
  background: rgba(24, 166, 166, 0.12);
  border-top: 2px solid rgba(24, 166, 166, 0.55);
  border-bottom: 2px solid rgba(24, 166, 166, 0.55);
  color: rgba(11, 41, 66, 0.6);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 6px 48px;
  pointer-events: none;
}

/* ---------- About media ---------- */

.about__media { display: grid; gap: 20px; }

.media-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  background: #dce8f1;
}

.media-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.media-card figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 16px;
  border-radius: 9999px;
  background: rgba(8, 31, 51, 0.82);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  backdrop-filter: blur(4px);
}

/* ---------- Why visit / CTA panel ---------- */

.cta-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(46, 196, 196, 0.3);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  text-align: center;
  backdrop-filter: blur(4px);
}

.cta-panel__dest { margin-top: 16px; font-size: 14px; color: rgba(255, 255, 255, 0.72); }
.cta-panel__dest span { display: block; margin-top: 4px; font-weight: 700; color: var(--accent-2); word-break: break-all; }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 14px; }

.faq__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 22px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  min-height: 48px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible { outline: 3px solid rgba(24, 166, 166, 0.45); outline-offset: -3px; }

.faq__marker { position: relative; width: 22px; height: 22px; flex-shrink: 0; }
.faq__marker::before, .faq__marker::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.2s ease;
}
.faq__marker::before { width: 14px; height: 2.5px; transform: translate(-50%, -50%); }
.faq__marker::after { width: 2.5px; height: 14px; transform: translate(-50%, -50%); }

.faq__item[open] .faq__marker::after { transform: translate(-50%, -50%) rotate(90deg) scaleY(0); }
.faq__item[open] .faq__marker::before { transform: translate(-50%, -50%) rotate(180deg); }

.faq__item p { padding: 0 22px 20px; font-size: 15px; color: var(--muted); max-width: 640px; }

/* ---------- Final CTA ---------- */

.final-cta {
  background:
    radial-gradient(800px 400px at 50% -20%, rgba(24, 166, 166, 0.3) 0%, rgba(24, 166, 166, 0) 60%),
    linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 60%, var(--navy-deep) 100%);
  color: var(--white);
  text-align: center;
}

.final-cta__inner h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.18;
  margin-bottom: 30px;
}

.final-cta__note { margin-top: 22px; font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, 0.66); letter-spacing: 0.02em; }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.82); }

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 44px;
  padding-top: 56px;
  padding-bottom: 44px;
}

.brand--footer { margin-bottom: 16px; color: var(--white); }
.brand--footer span { font-size: 17px; font-weight: 800; }

.site-footer__brand > p { font-size: 14px; margin-bottom: 8px; }
.site-footer__brand a { color: var(--accent-2); font-weight: 600; }
.site-footer__brand a:hover { text-decoration: underline; }

.site-footer__nav h3 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
}

.site-footer__nav ul { list-style: none; display: grid; gap: 10px; }
.site-footer__nav a { color: rgba(255, 255, 255, 0.82); font-size: 14.5px; }
.site-footer__nav a:hover { color: var(--white); text-decoration: underline; }

.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 18px 0; }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; }
.site-footer__bottom p { font-size: 12.5px; color: rgba(255, 255, 255, 0.6); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 60px; }
  .hero__visual { min-height: 320px; }
  .split, .split--reverse { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split__text { order: 1; }
  .split--reverse .about__media { order: 2; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 600px) {
  .section { padding: 60px 0; }

  /* Compact brand + header button on small phones */
  .brand__name { font-size: 14.5px; }
  .site-header__inner { min-height: 56px; }
  .btn--sm { padding: 9px 14px; font-size: 13px; }

  .hero__grid { padding-top: 44px; padding-bottom: 48px; }
  .hero__actions .btn { width: 100%; }
  .hero__trust { grid-template-columns: 1fr; padding: 16px; gap: 14px; }

  .steps { grid-template-columns: 1fr; }
  .section__head { margin-bottom: 36px; }

  .coa-doc { padding: 22px 20px; }
  .coa-doc__fields > div { grid-template-columns: 118px 1fr; gap: 10px; }
  .coa-doc__stamp { font-size: 11px; padding: 5px 40px; right: -38px; }

  .cta-panel { padding: 30px 22px; }
  .cta-panel .btn { width: 100%; }

  .final-cta__inner .btn { width: 100%; }

  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-top: 44px; padding-bottom: 36px; }
  .site-footer__bottom-inner { flex-direction: column; text-align: center; }
}

/* Very small phones (360px and below): keep everything usable, nothing hidden */
@media (max-width: 380px) {
  .brand__name-full { display: none; }
  .container { padding: 0 16px; }
  .topbar p { font-size: 11.5px; }
  .hero h1 { font-size: 27px; }
}
