/* Ontide Peptides — site styles */
:root {
  --ink: #0E1B2C;
  --ink-2: #16273C;
  --tide: #0B6564;
  --tide-dark: #084B4A;
  --glow: #5FD1C8;
  --lab: #F6F7F5;
  --white: #FFFFFF;
  --line: #E1E5E8;
  --sub: #3D4B5C;
  --muted-on-dark: #C7D2DB;
  --maple: #D52B1E;
  --radius: 14px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--lab);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--tide); }
a:hover { color: var(--tide-dark); }
h1, h2, h3 { font-family: "Space Grotesk", Inter, sans-serif; line-height: 1.1; margin: 0; letter-spacing: -0.5px; }
h1 { font-size: clamp(40px, 6vw, 66px); letter-spacing: -1.5px; }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 22px; }
p { margin: 0; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

/* announcement bar */
.announce {
  background: var(--ink); color: var(--glow); text-align: center;
  font-size: 12.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.announce .leaf { color: var(--maple); margin: 0 8px; }

/* header */
.site-header { background: var(--ink); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; flex-wrap: wrap; }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.nav-links a { color: #E8EEF2; text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--glow); }
.menu-btn { display: none; background: none; border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 8px; min-height: 44px; min-width: 44px; font: 600 15px Inter, sans-serif; padding: 0 14px; cursor: pointer; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 10px; border: 0;
  background: var(--tide); color: var(--white) !important; text-decoration: none;
  font: 600 16px Inter, sans-serif; cursor: pointer; transition: background .15s;
}
.btn:hover { background: var(--tide-dark); }
.btn.ghost { background: transparent; border: 1.5px solid rgba(255,255,255,.45); }
.btn.ghost:hover { background: rgba(255,255,255,.08); }
.btn.outline { background: transparent; color: var(--ink) !important; border: 1.5px solid #C9D1D6; }
.btn.outline:hover { background: var(--white); border-color: var(--ink); }
.btn.small { min-height: 44px; padding: 0 16px; font-size: 14.5px; }

/* hero */
.hero { background: radial-gradient(80% 90% at 75% 40%, #1E4955 0%, var(--ink) 60%); color: var(--white); overflow: hidden; }
.hero .container { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding-top: 72px; padding-bottom: 72px; }
.hero-copy { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--glow); }
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--maple); }
.hero h1 .accent { color: var(--glow); }
.hero p.lead { font-size: 19px; color: var(--muted-on-dark); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.hero-media { flex: 1 1 320px; display: flex; justify-content: center; }
.hero-media img { width: 100%; max-width: 420px; border-radius: 18px; }

/* page hero (inner pages) */
.page-hero { background: var(--ink); color: var(--white); padding: 64px 0 56px; }
.page-hero p { color: var(--muted-on-dark); font-size: 18px; max-width: 680px; margin-top: 14px; }

/* sections */
section { padding: 88px 0; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 680px; margin-bottom: 40px; }
.section-head p { font-size: 18px; color: var(--sub); }
.bg-white { background: var(--white); }
.bg-ink { background: var(--ink); color: var(--white); }
.bg-ink .section-head p, .bg-ink p { color: var(--muted-on-dark); }

/* trust strip */
.trust { background: var(--white); border-bottom: 1px solid var(--line); padding: 40px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: #E6F3F2; color: var(--tide); display: grid; place-items: center; }
.icon svg { width: 24px; height: 24px; }
.trust-item h3 { font-size: 17px; margin-bottom: 4px; }
.trust-item p { font-size: 14.5px; color: var(--sub); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.step .num { font-family: "Space Grotesk", sans-serif; font-size: 56px; font-weight: 700; color: #CFE9E7; line-height: 1; }
.step p { color: var(--sub); }

/* product cards */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(14,27,44,.08); }
.card-media { background: linear-gradient(180deg, #F3F5F7, #E3E8EC); aspect-ratio: 4 / 4.2; display: flex; align-items: center; justify-content: center; }
.card-media img { height: 92%; width: auto; object-fit: contain; }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cat-no { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12.5px; letter-spacing: 1px; color: var(--sub); text-transform: uppercase; }
.card h3 { font-size: 19px; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--tide); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { font-size: 12.5px; font-weight: 600; border: 1px solid #BFE0DD; color: var(--tide); background: #F0F8F7; border-radius: 999px; padding: 4px 10px; }
.badge.ruo { border-color: #E1E5E8; color: var(--sub); background: var(--lab); text-transform: uppercase; letter-spacing: .8px; font-size: 11px; }
.card .meta { font-size: 13.5px; color: var(--sub); }
.card-actions { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }
.card-actions a.link { font-weight: 600; font-size: 14.5px; }

/* catalog controls */
.controls { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.controls input, .controls select { min-height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid #C9D1D6; font: 500 15.5px Inter, sans-serif; color: var(--ink); background: var(--white); }
.controls input { flex: 1 1 260px; }
.empty { padding: 40px; text-align: center; color: var(--sub); background: var(--white); border-radius: var(--radius); border: 1px dashed #C9D1D6; }

/* quality pillars */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.pillar { background: var(--ink-2); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.pillar .icon { background: rgba(95,209,200,.12); color: var(--glow); }
.pillar h3 { font-size: 19px; color: var(--white); }
.pillar p { font-size: 15px; }

/* CTA band */
.cta { background: var(--tide); color: var(--white); padding: 56px 0; }
.cta .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.cta p { color: #D9F0EE; margin-top: 8px; }
.cta .btn { background: var(--white); color: var(--ink) !important; }
.cta .btn:hover { background: #E8F5F4; }

/* product detail */
.detail { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.detail-media { flex: 1 1 340px; background: linear-gradient(180deg, #F3F5F7, #E3E8EC); border-radius: 18px; display: flex; justify-content: center; padding: 24px; }
.detail-media img { max-height: 560px; width: auto; }
.detail-info { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.spec { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.spec th, .spec td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.spec th { width: 38%; color: var(--sub); font-weight: 600; background: #FAFBFB; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.notice { background: #FFF8E6; border: 1px solid #F1D79A; border-radius: 10px; padding: 14px 16px; font-size: 14.5px; color: #5B4A1A; }

/* forms */
.form-wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.form-card { flex: 999 1 520px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 32px; }
.form-aside { flex: 1 1 280px; display: flex; flex-direction: column; gap: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea, .field select {
  font: 500 16px Inter, sans-serif; color: var(--ink); padding: 12px 14px; border-radius: 10px;
  border: 1px solid #C9D1D6; background: var(--white); min-height: 48px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus, .controls input:focus, .controls select:focus { outline: 2px solid var(--tide); outline-offset: 1px; border-color: var(--tide); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--tide); flex: 0 0 auto; }
.hidden { display: none !important; }

/* COA lookup */
.coa-box { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 32px; max-width: 760px; }
.coa-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.coa-form input { flex: 1 1 260px; min-height: 52px; padding: 0 16px; border-radius: 10px; border: 1px solid #C9D1D6; font: 600 17px "Space Grotesk", Inter, sans-serif; letter-spacing: 1px; text-transform: uppercase; }
.coa-result { margin-top: 24px; }

/* prose (policies, about) */
.prose { max-width: 780px; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-size: 28px; margin-top: 28px; }
.prose h3 { font-size: 19px; margin-top: 8px; }
.prose p, .prose li { color: #26364A; font-size: 16.5px; }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.toc { display: flex; flex-wrap: wrap; gap: 10px; }
.toc a { text-decoration: none; border: 1px solid #C9D1D6; border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 14px; background: var(--white); color: var(--ink); }

/* footer */
.site-footer { background: var(--ink); color: var(--muted-on-dark); padding: 64px 0 36px; font-size: 15px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-brand { max-width: 360px; display: flex; flex-direction: column; gap: 14px; }
.footer-brand img { height: 52px; width: auto; align-self: flex-start; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 56px; }
.footer-cols h4 { color: var(--white); font: 600 13px Inter, sans-serif; letter-spacing: 1.4px; text-transform: uppercase; margin: 0 0 14px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--muted-on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--glow); }
.legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 24px; font-size: 13px; line-height: 1.7; color: #9FB0BE; }

/* phone */
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 4px; padding: 6px 0 18px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; font-size: 17px; }
  .nav-links .btn { margin-top: 8px; }
  section { padding: 64px 0; }
  .hero .container { padding-top: 48px; padding-bottom: 56px; }
  .brand img { height: 38px; }
}
