*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #ffffff;
  --bg-soft: #F4F7F9;
  --text: #1A1A1A;
  --muted: #6b7280;
  --green: #2A4B42;
  --green-dark: #1f3a33;
  --teal: #3a4d46;
  --border: #e7e5e4;
  --radius: 0.5rem;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { display: block; max-width: 100%; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(42,75,66,0.85);
}

/* ——— Animations ——— */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

#app { animation: fadeIn 0.35s var(--ease); }
.page-enter { animation: fadeUp 0.55s var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ——— Navbar ——— */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
}
.nav.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(231,229,228,0.6);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  height: 80px; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: baseline; gap: 8px; transition: opacity 0.25s; }
.brand:hover { opacity: 0.75; }
.brand .name { font-family: var(--font-serif); font-size: 20px; letter-spacing: -0.02em; }
.brand .tag { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(42,75,66,0.7); }
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a {
  font-size: 14px; color: #525252;
  position: relative;
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1px; background: var(--green);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

/* ——— Hero ——— */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding-top: 80px; text-align: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.9;
  transform: scale(1.04);
  animation: scaleIn 1.4s var(--ease-out) both, floatSoft 18s ease-in-out 1.4s infinite;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent, rgba(255,255,255,0.6));
}
.ticker {
  position: absolute; top: 50%; font-family: var(--font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.4em; color: #a8a29e; white-space: nowrap;
  opacity: 0; animation: fadeIn 1s 0.6s var(--ease) forwards;
}
.ticker.left { left: 24px; transform: translateY(-50%) rotate(-90deg); transform-origin: left center; }
.ticker.right { right: 24px; transform: translateY(-50%) rotate(90deg); transform-origin: right center; }
.hero-content { position: relative; z-index: 10; max-width: 900px; padding: 0 24px; }
.hero-content .label { animation: fadeUp 0.8s 0.15s var(--ease) both; }
.hero h1 {
  font-family: var(--font-serif); font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.05;
  letter-spacing: -0.02em; margin-top: 32px;
  animation: fadeUp 0.85s 0.28s var(--ease) both;
}
.hero h1 .accent { font-style: italic; color: rgba(31,58,51,0.9); }
.hero p.sub {
  margin-top: 32px; font-size: 18px; color: #57534e; max-width: 640px;
  margin-left: auto; margin-right: auto;
  animation: fadeUp 0.85s 0.4s var(--ease) both;
}
.hero-cta {
  margin-top: 40px; display: flex; flex-direction: column; gap: 16px; align-items: center;
  animation: fadeUp 0.85s 0.52s var(--ease) both;
}
@media (min-width: 640px) { .hero-cta { flex-direction: row; justify-content: center; } }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 999px;
  background: var(--green); color: #fff; font-size: 14px;
  transition: background 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42,75,66,0.25);
}
.btn-primary:active { transform: translateY(0); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 999px;
  border: 1px solid #d6d3d1; color: #292524; font-size: 14px;
  transition: border-color 0.25s, transform 0.25s var(--ease), background 0.25s;
}
.btn-outline:hover {
  border-color: #1c1917;
  transform: translateY(-2px);
  background: rgba(255,255,255,0.6);
}

/* ——— Metrics ——— */
.metrics { background: #fff; border-top: 1px solid rgba(231,229,228,0.7); border-bottom: 1px solid rgba(231,229,228,0.7); }
.metrics-grid {
  max-width: 1152px; margin: 0 auto; padding: 56px 24px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 24px;
}
@media (min-width: 1024px) { .metrics-grid { grid-template-columns: repeat(4, 1fr); } }
.metric { text-align: center; }
@media (min-width: 1024px) { .metric:not(:first-child) { border-left: 1px solid rgba(231,229,228,0.7); } }
.metric .val { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem); }
.metric .lbl { margin-top: 8px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; color: #78716c; }

/* ——— Sections ——— */
.section { padding: 96px 0; }
@media (min-width: 1024px) { .section { padding: 128px 0; } }
.sec-head { text-align: center; margin-bottom: 64px; }
.sec-head .label { margin-bottom: 16px; display: block; }
.sec-head h2 { font-family: var(--font-serif); font-size: clamp(1.875rem, 4vw, 3rem); letter-spacing: -0.02em; }
.sec-head p { margin-top: 16px; color: #57534e; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ——— Product cards ——— */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.pcard {
  display: block;
  transition: transform 0.4s var(--ease);
}
.pcard:hover { transform: translateY(-6px); }
.pcard .imgwrap {
  position: relative; aspect-ratio: 1; border-radius: 16px; background: #fafaf9;
  border: 1px solid rgba(231,229,228,0.6); overflow: hidden; margin-bottom: 16px;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s;
}
.pcard:hover .imgwrap {
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  border-color: rgba(42,75,66,0.25);
}
.pcard .imgwrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.pcard:hover .imgwrap img { transform: scale(1.05); }
.pcard .purity {
  position: absolute; top: 12px; right: 12px; font-family: var(--font-mono); font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.05em; background: rgba(255,255,255,0.92);
  padding: 4px 8px; border-radius: 999px; color: var(--green);
  backdrop-filter: blur(6px);
}
.pcard h3 { font-family: var(--font-serif); font-size: 18px; }
.pcard .price { font-size: 14px; color: #78716c; margin-top: 4px; }
.pcard .cat-tag {
  font-family: var(--font-mono); font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.12em; color: #a8a29e; margin-top: 6px;
}
.center-btn { text-align: center; margin-top: 56px; }

/* ——— Category cards ——— */
.cat-section { background: var(--bg-soft); }
.cat-grid { display: grid; gap: 24px; max-width: 1024px; margin: 0 auto; }
@media (min-width: 768px) { .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
.catcard {
  background: #fff; border: 1px solid rgba(231,229,228,0.7); border-radius: 40px; padding: 32px;
  transition: box-shadow 0.5s var(--ease), transform 0.4s var(--ease);
}
.catcard:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}
.catcard .imgwrap { aspect-ratio: 16/10; border-radius: 32px; overflow: hidden; margin-bottom: 24px; background: #f5f5f4; }
.catcard .imgwrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.catcard:hover .imgwrap img { transform: scale(1.04); }
.catcard h3 { font-family: var(--font-serif); font-size: 24px; }
.catcard p { margin-top: 8px; font-size: 14px; color: #57534e; }
.catcard .explore {
  margin-top: 20px; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px; background: var(--green); color: #fff; font-size: 14px;
  transition: background 0.25s, gap 0.25s var(--ease), transform 0.25s;
}
.catcard .explore:hover { background: var(--green-dark); gap: 12px; }
.feat-list { margin-top: 64px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 40px; }
.feat-list .item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #57534e; }
.feat-list .dot { width: 6px; height: 6px; border-radius: 50%; background: #047857; }

/* ——— Verified ——— */
.verified { border-top: 1px solid rgba(231,229,228,0.7); }
.verified-grid { display: grid; gap: 64px; align-items: center; }
@media (min-width: 1024px) { .verified-grid { grid-template-columns: 1fr 1fr; } }
.verified .order-1 { order: 2; }
@media (min-width: 1024px) { .verified .order-1 { order: 1; } }
.verified h2 { font-family: var(--font-serif); font-size: clamp(1.875rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -0.02em; }
.verified p { margin-top: 24px; color: #57534e; max-width: 480px; }
.vmetrics { margin-top: 32px; display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; max-width: 420px; }
.vmetrics .val { font-family: var(--font-serif); font-size: 24px; }
.vmetrics .lbl { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: #78716c; margin-top: 4px; }
.verified .imgwrap { aspect-ratio: 1; max-width: 420px; margin: 0 auto; }
.verified .imgwrap img { width: 100%; height: 100%; object-fit: contain; }

/* ——— Footer ——— */
footer { background: #0c0a09; color: #d6d3d1; padding-top: 96px; padding-bottom: 40px; }
.footer-top { display: grid; gap: 64px; padding-bottom: 80px; border-bottom: 1px solid #292524; }
@media (min-width: 1024px) { .footer-top { grid-template-columns: 1fr 1fr; } }
footer h2 { font-family: var(--font-serif); font-size: clamp(3rem, 6vw, 4.5rem); color: #fff; line-height: 0.95; }
footer .sub-p { margin-top: 24px; color: #a8a29e; max-width: 420px; }
.news-form { width: 100%; display: flex; align-items: flex-end; }
.news-input { width: 100%; border-bottom: 1px solid #44403c; padding-bottom: 12px; display: flex; transition: border-color 0.3s; }
.news-input:focus-within { border-color: #a8a29e; }
.news-input input { flex: 1; background: transparent; border: none; color: #fff; font-size: 18px; outline: none; font-family: inherit; }
.news-input input::placeholder { color: #78716c; }
.news-input button { color: #fff; transition: transform 0.25s var(--ease); }
.news-input button:hover { transform: translateX(4px); }
.news-sent { margin-top: 12px; font-size: 14px; color: #34d399; animation: fadeUp 0.4s var(--ease); }
.footer-cols { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; padding: 56px 0; }
@media (min-width: 768px) { .footer-cols { grid-template-columns: repeat(4,1fr); } }
.footer-cols h4 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: #78716c; margin-bottom: 16px; }
.footer-cols ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-cols a { transition: color 0.2s, padding-left 0.25s var(--ease); }
.footer-cols a:hover { color: #fff; padding-left: 4px; }
.footer-brand h4.brand-h { font-family: var(--font-serif); font-size: 20px; color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: #78716c; }
.footer-contact {
  margin-top: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 14px;
}
.footer-contact a { color: #a8a29e; transition: color 0.2s; }
.footer-contact a:hover { color: #fff; }

.cert-cta-actions {
  margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.cert-cta-actions a {
  margin-top: 0; display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; background: #fff; color: var(--green-dark); font-size: 14px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.cert-cta-actions a:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.footer-bottom { padding-top: 32px; border-top: 1px solid #292524; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-bottom p { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: #78716c; }

/* ——— Pages ——— */
.page-pad { padding-top: 128px; padding-bottom: 80px; }
.page-head { margin-bottom: 48px; }
.page-head .label { display: block; margin-bottom: 12px; }
.page-head h1 { font-family: var(--font-serif); font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -0.02em; }
.page-intro { margin-top: 16px; color: #57534e; max-width: 640px; }

/* Catalog (no filters) */
.catalog-intro {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 40px;
}
.catalog-intro .count { font-size: 14px; color: #78716c; }
.catalog-cards {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 28px;
}
@media (min-width: 768px) { .catalog-cards { grid-template-columns: repeat(3,1fr); gap: 32px; } }
.ccard {
  display: block;
  transition: transform 0.4s var(--ease);
}
.ccard:hover { transform: translateY(-6px); }
.ccard .imgwrap {
  position: relative; aspect-ratio: 1; border-radius: 20px; background: #fafaf9;
  border: 1px solid rgba(231,229,228,0.6); overflow: hidden; margin-bottom: 16px;
  transition: box-shadow 0.4s var(--ease);
}
.ccard:hover .imgwrap { box-shadow: 0 16px 40px rgba(0,0,0,0.08); }
.ccard .imgwrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.ccard:hover .imgwrap img { transform: scale(1.05); }
.oos {
  position: absolute; bottom: 12px; left: 12px;
  font-family: var(--font-mono); font-size: 10px; text-transform: uppercase;
  background: #1c1917; color: #fff; padding: 4px 10px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.stock-ok {
  position: absolute; bottom: 12px; left: 12px;
  font-family: var(--font-mono); font-size: 10px; text-transform: uppercase;
  background: var(--green); color: #fff; padding: 4px 10px; border-radius: 999px;
}
.ccard .purity {
  position: absolute; top: 12px; right: 12px; font-family: var(--font-mono); font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.05em; background: rgba(255,255,255,0.92);
  padding: 4px 8px; border-radius: 999px; color: var(--green);
  backdrop-filter: blur(6px);
}
.ccard h3 { font-family: var(--font-serif); font-size: 20px; }
.ccard .price { font-size: 14px; color: #78716c; margin-top: 4px; }
.ccard .cat-tag {
  font-family: var(--font-mono); font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.12em; color: #a8a29e; margin-top: 6px;
}

/* ——— Detail ——— */
.back {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #78716c; margin-bottom: 32px;
  transition: color 0.2s, gap 0.25s var(--ease);
}
.back:hover { color: var(--text); gap: 12px; }
.detail-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .detail-grid { grid-template-columns: 1fr 1fr; } }
.detail-left .main-img {
  aspect-ratio: 1; border-radius: 24px; background: #fafaf9;
  border: 1px solid rgba(231,229,228,0.6); overflow: hidden;
  animation: scaleIn 0.6s var(--ease) both;
}
.detail-left .main-img img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { margin-top: 16px; display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.thumbs .t {
  aspect-ratio: 1; border-radius: 12px; background: #fafaf9;
  border: 1px solid rgba(231,229,228,0.6); overflow: hidden;
  transition: border-color 0.25s, opacity 0.25s;
  opacity: 0.7;
}
.thumbs .t:hover { opacity: 1; border-color: var(--green); }
.thumbs .t img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) { .detail-left { position: sticky; top: 112px; align-self: start; } }
.detail-right .label { display: block; margin-bottom: 12px; }
.detail-right h1 { font-family: var(--font-serif); font-size: clamp(2.25rem, 4vw, 3rem); letter-spacing: -0.02em; }
.detail-right .dprice { margin-top: 12px; font-size: 24px; }
.detail-right .desc { margin-top: 24px; color: #57534e; line-height: 1.6; }
.spec-table {
  margin-top: 32px; padding: 24px 0;
  border-top: 1px solid rgba(231,229,228,0.7); border-bottom: 1px solid rgba(231,229,228,0.7);
  display: flex; flex-direction: column; gap: 12px;
}
.spec-row { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.spec-row .k { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: #78716c; white-space: nowrap; }
.spec-row .v { color: #292524; text-align: right; }
.spec-row .v.mono { font-family: var(--font-mono); font-size: 12px; }

.req-btn {
  margin-top: 32px; width: 100%; padding: 16px; border-radius: 999px;
  background: #25D366; color: #fff; font-size: 14px; font-weight: 500;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: background 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.req-btn:hover {
  background: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}
.req-btn:disabled {
  background: var(--green); opacity: 0.4; cursor: not-allowed;
  transform: none; box-shadow: none;
}
.req-btn.wa { background: #25D366; }
.dmetrics { margin-top: 48px; display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.dmetrics .val { font-family: var(--font-serif); font-size: 24px; }
.dmetrics .lbl { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: #78716c; margin-top: 4px; }
.coa-card { margin-top: 40px; background: var(--green-dark); color: #fff; border-radius: 16px; padding: 24px; }
.coa-card .head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.coa-card .head .tag { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(167,243,208,0.7); }
.coa-card .head .title { font-family: var(--font-serif); font-size: 18px; }
.coa-card .btns { display: flex; gap: 12px; }
.coa-card .btns a, .coa-card .btns button {
  flex: 1; padding: 10px; border-radius: 999px; background: rgba(255,255,255,0.1);
  font-size: 14px; color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background 0.25s;
}
.coa-card .btns a:hover, .coa-card .btns button:hover { background: rgba(255,255,255,0.2); }
.coa-card .note { margin-top: 16px; font-size: 12px; color: rgba(167,243,208,0.6); display: flex; align-items: center; gap: 8px; }

/* ——— Legal ——— */
.legal-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .legal-grid { grid-template-columns: 240px 1fr; gap: 80px; } }
.legal-nav { display: flex; flex-direction: column; gap: 4px; }
@media (min-width: 1024px) { .legal-nav { position: sticky; top: 112px; align-self: start; } }
.legal-nav h4 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: #78716c; margin-bottom: 12px; }
.legal-nav a {
  font-size: 14px; color: #57534e; padding: 8px 16px; border-radius: 999px;
  transition: background 0.25s, color 0.25s, transform 0.2s;
}
.legal-nav a:hover { background: var(--bg-soft); color: var(--text); }
.legal-nav a.active { background: var(--green); color: #fff; }
.legal-body { max-width: 760px; }
.legal-body .updated { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: #a8a29e; margin-bottom: 16px; }
.legal-body section { padding: 32px 0; border-top: 1px solid rgba(231,229,228,0.7); }
.legal-body h2 { font-family: var(--font-serif); font-size: 24px; letter-spacing: -0.01em; }
.legal-body p { margin-top: 12px; color: #57534e; }
.legal-body ul { margin-top: 12px; padding-left: 20px; color: #57534e; display: flex; flex-direction: column; gap: 6px; }
.legal-body a { color: var(--green); text-decoration: underline; }
.legal-note {
  margin-top: 16px; background: var(--bg-soft); border-radius: 16px; padding: 24px;
  font-size: 14px; color: #57534e; display: flex; gap: 12px; align-items: flex-start;
}
.legal-note svg { flex-shrink: 0; margin-top: 3px; color: var(--green); }

/* ——— Certificates ——— */
.cert-steps { display: grid; gap: 24px; margin-bottom: 80px; }
@media (min-width: 768px) { .cert-steps { grid-template-columns: repeat(3,1fr); } }
.cert-step {
  background: var(--bg-soft); border-radius: 32px; padding: 32px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.cert-step:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.06); }
.cert-step .n { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: rgba(42,75,66,0.85); }
.cert-step h3 { font-family: var(--font-serif); font-size: 22px; margin-top: 12px; }
.cert-step p { margin-top: 8px; font-size: 14px; color: #57534e; }
.cert-grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .cert-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1280px) { .cert-grid { grid-template-columns: repeat(3,1fr); } }
.cert-card {
  border: 1px solid rgba(231,229,228,0.7); border-radius: 32px; padding: 28px;
  display: flex; flex-direction: column;
  transition: box-shadow 0.4s var(--ease), transform 0.35s var(--ease);
}
.cert-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.08); transform: translateY(-4px); }
.cert-card .top { display: flex; gap: 16px; align-items: center; }
.cert-card .thumb {
  width: 72px; height: 72px; border-radius: 16px; overflow: hidden;
  background: #fafaf9; border: 1px solid rgba(231,229,228,0.6); flex-shrink: 0;
}
.cert-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cert-card .cat { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: #78716c; }
.cert-card h3 { font-family: var(--font-serif); font-size: 22px; }
.cert-card .spec-table { margin-top: 24px; padding: 20px 0; flex: 1; }
.cert-actions { margin-top: 20px; display: flex; gap: 12px; }
.cert-actions a {
  flex: 1; padding: 10px; border-radius: 999px; font-size: 14px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}
.cert-actions .primary { background: var(--green); color: #fff; }
.cert-actions .primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.cert-actions .ghost { border: 1px solid #d6d3d1; color: #292524; }
.cert-actions .ghost:hover { border-color: #1c1917; }
.cert-actions .disabled { opacity: 0.4; pointer-events: none; }
.cert-preview {
  margin-top: 16px; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(231,229,228,0.6); background: #fafaf9;
  aspect-ratio: 3/4; max-height: 220px;
}
.cert-preview img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cert-cta {
  margin-top: 80px; background: var(--green-dark); color: #fff;
  border-radius: 40px; padding: 48px 32px; text-align: center;
}
.cert-cta h2 { font-family: var(--font-serif); font-size: clamp(1.75rem, 3vw, 2.25rem); letter-spacing: -0.02em; }
.cert-cta p { margin: 12px auto 0; max-width: 520px; color: rgba(255,255,255,0.7); font-size: 15px; }

/* ——— Protocol pages ——— */
.proto-hero {
  display: grid; gap: 40px; align-items: center; margin-bottom: 64px;
}
@media (min-width: 1024px) {
  .proto-hero { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
}
.proto-hero .img {
  aspect-ratio: 4/3; border-radius: 32px; overflow: hidden; background: #f5f5f4;
  animation: scaleIn 0.7s var(--ease) both;
}
.proto-hero .img img { width: 100%; height: 100%; object-fit: cover; }
.proto-blocks { display: grid; gap: 24px; margin-bottom: 64px; }
@media (min-width: 768px) { .proto-blocks { grid-template-columns: repeat(2,1fr); } }
.proto-block {
  background: var(--bg-soft); border-radius: 28px; padding: 32px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.proto-block:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,0.05); }
.proto-block h3 { font-family: var(--font-serif); font-size: 22px; }
.proto-block p { margin-top: 10px; font-size: 14px; color: #57534e; }
.proto-block ul {
  margin-top: 14px; padding-left: 18px; color: #57534e;
  display: flex; flex-direction: column; gap: 6px; font-size: 14px;
}
.proto-related h2 {
  font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 28px; letter-spacing: -0.02em;
}
.proto-nav {
  margin-top: 80px; padding-top: 48px; border-top: 1px solid rgba(231,229,228,0.7);
  display: grid; gap: 16px;
}
@media (min-width: 768px) { .proto-nav { grid-template-columns: repeat(2,1fr); gap: 24px; } }
.proto-nav a {
  display: block; padding: 24px; border-radius: 24px; border: 1px solid rgba(231,229,228,0.7);
  transition: border-color 0.25s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.proto-nav a:hover {
  border-color: var(--green); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}
.proto-nav .lbl { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: #a8a29e; }
.proto-nav .title { font-family: var(--font-serif); font-size: 18px; margin-top: 6px; }

.hidden { display: none !important; }
