/* ============================================================
   JUVENTUS SOPS — Design Tokens v2
   Base: deep space-blue. Accents: neon purple, emerald, gold, pink —
   used as glow/gradient highlights on key moments, never flat/equal.
   Signature device: a spectrum gradient (purple→pink→gold→emerald)
   used ONLY on the compass ring, CTA glow, and one featured card —
   everything else stays quiet so the accent hits land.
   ============================================================ */


:root {
  --void: #04050d;
  --navy-950: #070a1a;
  --navy-900: #0b0f26;
  --navy-800: #121838;
  --navy-700: #1a2350;
  --glass: rgba(255,255,255,0.035);
  --glass-border: rgba(255,255,255,0.08);

  --purple: #7c5cd6;
  --purple-deep: #4c3593;
  --pink: #a24b83;
  --gold: #cfa858;
  --emerald: #2f9a80;

  --spectrum: linear-gradient(120deg, var(--purple) 0%, var(--pink) 45%, var(--gold) 75%, var(--emerald) 100%);

  --ivory: #f2f1fb;
  --steel-300: #b7bdda;
  --steel-400: #8790b3;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --container: 1180px;
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--void);
  color: var(--ivory);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---------- Ambient background blobs ---------- */
.bg-blob {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.28;
  pointer-events: none;
}
.blob-1 { top: -10%; left: -8%; width: 520px; height: 520px; background: var(--purple); }
.blob-2 { top: 20%; right: -12%; width: 480px; height: 480px; background: var(--pink); opacity: 0.18; }
.blob-3 { bottom: -10%; left: 15%; width: 560px; height: 560px; background: var(--emerald); opacity: 0.14; }
.blob-4 { bottom: 30%; right: 5%; width: 380px; height: 380px; background: var(--gold); opacity: 0.12; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 32px; position: relative; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.eyebrow::before {
  content: '';
  width: 18px; height: 2px;
  background: var(--spectrum);
  border-radius: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
}

em {
  font-style: normal;
  background: var(--spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

p { color: var(--steel-300); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(6, 8, 18, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }

.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 1rem; letter-spacing: 0.02em; color: #fff;
  flex-shrink: 0;
}
.brand img {
  width: 38px; height: 38px; border-radius: 50%; object-fit: cover;
  padding: 2px;
  background: var(--gold);
}

.nav-links {
  display: flex; align-items: center; gap: 34px; font-size: 0.88rem;
  margin: 0 auto;
}
.nav-links a { color: var(--steel-300); transition: color 0.2s ease; }
.nav-links a:hover { color: var(--gold); }
.mobile-login { display: none; }
.mobile-login a { color: var(--gold) !important; font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

/* Hamburger — hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}
.hamburger span {
  width: 18px; height: 2px;
  background: var(--ivory);
  margin: 0 auto;
  transition: all 0.25s ease;
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.88rem;
  border-radius: 100px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}
.btn-primary {
  background: var(--spectrum);
  color: #0a0a12;
  box-shadow: 0 0 0 0 rgba(155,92,255,0);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -6px rgba(155, 92, 255, 0.55), 0 6px 20px -4px rgba(255, 79, 163, 0.35);
}
.btn-ghost {
  border-color: var(--glass-border);
  color: var(--ivory);
  background: var(--glass);
}
.btn-ghost:hover { border-color: var(--purple); box-shadow: 0 0 20px -4px rgba(155,92,255,0.4); }

.btn-login {
  border: 1px solid var(--glass-border);
  color: var(--steel-300);
  padding: 11px 22px;
  font-size: 0.85rem;
  border-radius: 100px;
}
.btn-login:hover { border-color: var(--emerald); color: var(--emerald); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 210px 0 120px; }

.hero-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 60px; align-items: center; }

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.3rem);
  line-height: 1.05;
  margin: 22px 0 26px;
}
.hero p.lede { font-size: 1.1rem; max-width: 540px; margin-bottom: 38px; color: var(--steel-300); }
.hero-ctas { display: flex; gap: 16px; margin-bottom: 56px; }

.compass-mark {
  width: 100%; max-width: 360px; margin: 0 auto;
  position: relative;
  padding: 10px;
  border-radius: 50%;
  background: var(--spectrum);
  box-shadow: 0 0 90px -10px rgba(155, 92, 255, 0.45);
}
.compass-mark img { width: 100%; border-radius: 50%; animation: spin-slow 70s linear infinite; }
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .compass-mark img { animation: none; } }

/* Bearing bar — glass panel */
.bearings {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  overflow: hidden;
}
.bearing { padding: 30px 28px; border-right: 1px solid var(--glass-border); }
.bearing:last-child { border-right: none; }
.bearing .deg { font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.1em; margin-bottom: 10px; display: block; color: var(--gold); }
.bearing h4 { font-size: 1.05rem; margin-bottom: 6px; color: #fff; }
.bearing p { font-size: 0.88rem; color: var(--steel-400); }

/* ---------- Section shell ---------- */
.section { padding: 130px 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-top: 18px; }
.alt-bg { background: linear-gradient(180deg, transparent, rgba(155,92,255,0.03), transparent); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-grid p { margin-bottom: 18px; font-size: 1.02rem; }

.creds { display: grid; gap: 18px; margin-top: 12px; }
.cred {
  padding: 22px 24px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.cred:hover { border-color: var(--purple); transform: translateY(-2px); }
.cred .mark { font-family: var(--font-mono); color: #e79ec4; font-size: 0.8rem; }
.cred h4 { font-size: 0.98rem; margin: 6px 0 4px; color: #fff; }
.cred p { font-size: 0.86rem; margin: 0; }

/* ---------- Services (compass pillars) ---------- */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pillar {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 40px;
  transition: all 0.3s ease;
}
.pillar:hover { border-color: var(--purple); box-shadow: 0 0 40px -12px rgba(155,92,255,0.35); transform: translateY(-3px); }
.pillar .deg { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.1em; color: var(--gold); }
.pillar h3 { font-size: 1.35rem; margin: 14px 0 10px; color: #fff; }
.pillar p { font-size: 0.92rem; margin-bottom: 18px; }
.pillar ul { display: flex; flex-wrap: wrap; gap: 8px; }
.pillar li {
  font-size: 0.78rem; font-family: var(--font-mono); color: var(--steel-300);
  padding: 5px 12px; border: 1px solid var(--glass-border); border-radius: 100px;
}

/* ---------- HealthTech flagship ---------- */
.flagship {
  position: relative;
  padding: 3px;
  border-radius: 20px;
  background: var(--spectrum);
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch;
}
.flagship::before {
  content: '';
  position: absolute; inset: 3px;
  background: var(--navy-950);
  border-radius: 18px;
  z-index: 0;
}
.flagship > div { position: relative; z-index: 1; align-self: center; }
.flagship > div:first-child { padding: 64px 20px 64px 64px; }
.flagship-stats { display: grid; gap: 22px; padding: 64px 64px 64px 20px; }
.flagship h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin: 16px 0 20px; }
.fstat .num { font-family: var(--font-display); font-size: 2.2rem; background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fstat .label { font-size: 0.82rem; color: var(--steel-400); font-family: var(--font-mono); }

/* ---------- Route / Process ---------- */
.route { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.route::before {
  content: ''; position: absolute; top: 22px; left: 0; right: 0; height: 2px;
  background: var(--spectrum); opacity: 0.5;
}
.waypoint { position: relative; padding-right: 30px; }
.waypoint .pin {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--navy-950);
  border: 2px solid var(--gold);
  margin-bottom: 24px;
  box-shadow: 0 0 10px rgba(207,168,88,0.45);
}
.waypoint h4 { font-size: 1.05rem; margin-bottom: 8px; color: #fff; }
.waypoint p { font-size: 0.88rem; }

/* ---------- Portfolio ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}
.case-card:hover { border-color: var(--purple); transform: translateY(-3px); }
.case-thumb {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.08em; color: #fff;
  background: linear-gradient(135deg, var(--purple-deep), var(--navy-950));
}
.case-body { padding: 24px; }
.case-body .deg { font-family: var(--font-mono); font-size: 0.75rem; color: var(--gold); }
.case-body h4 { margin: 10px 0 8px; font-size: 1.1rem; color: #fff; }
.case-body p { font-size: 0.88rem; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 40px 32px;
  background: var(--glass);
}
.plan.featured {
  position: relative;
  padding: 3px;
  background: var(--spectrum);
}
.plan.featured .plan-inner {
  background: var(--navy-950);
  border-radius: 9px;
  padding: 38px 30px;
  height: 100%;
}
.plan.featured::before {
  content: 'MOST CHOSEN';
  position: absolute; top: -13px; left: 30px; z-index: 2;
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.1em;
  background: var(--navy-950); color: var(--gold);
  padding: 5px 12px; border-radius: 100px;
  border: 1px solid var(--gold);
}
.plan .tier { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.1em; color: #a68bf0; }
.plan.featured .tier { color: var(--gold); }
.plan h3 { font-size: 1.5rem; margin: 12px 0 16px; color: #fff; }
.plan ul { display: grid; gap: 10px; margin: 24px 0 32px; }
.plan li { font-size: 0.88rem; color: var(--steel-300); display: flex; gap: 10px; }
.plan li::before { content: '—'; color: var(--pink); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi {
  padding: 32px;
  background: var(--glass);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.testi p.quote { font-style: normal; color: var(--ivory); margin-bottom: 20px; font-size: 0.96rem; }
.testi-who { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--spectrum);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); color: #0a0a12; font-size: 0.85rem; font-weight: 700;
}
.testi-who .name { font-size: 0.9rem; color: #fff; }
.testi-who .role { font-size: 0.78rem; color: var(--steel-400); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; }
.contact-info { display: grid; gap: 26px; align-content: start; }
.info-row { display: flex; gap: 16px; }
.info-row .deg { font-family: var(--font-mono); color: var(--gold); font-size: 0.75rem; min-width: 46px; padding-top: 3px; }
.info-row h4 { font-size: 0.95rem; margin-bottom: 4px; color: #fff; }
.info-row p { font-size: 0.9rem; }
.info-row a:hover { color: var(--purple); }

form.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label {
  display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em;
  color: var(--steel-400); margin-bottom: 8px; text-transform: uppercase;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 0.94rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(155,92,255,0.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-status { font-size: 0.85rem; font-family: var(--font-mono); }
.form-status.success { color: var(--emerald); }
.form-status.error { color: #e79ec4; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--glass-border); padding: 80px 0 32px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 0.8fr); gap: 48px; margin-bottom: 60px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; max-width: 300px; margin-bottom: 20px; }
.social-row { display: flex; gap: 14px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; color: var(--ivory);
  transition: all 0.25s ease;
}
.social-row a:hover { border-color: var(--purple); box-shadow: 0 0 16px -2px rgba(155,92,255,0.5); color: var(--purple); }

.footer-col h4 {
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em;
  color: var(--steel-300); margin-bottom: 18px; text-transform: uppercase;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 0.88rem; color: var(--steel-300); }
.footer-col a:hover { color: var(--pink); }

.footer-bottom {
  display: flex; justify-content: space-between; padding-top: 28px;
  border-top: 1px solid var(--glass-border);
  font-size: 0.8rem; color: var(--steel-400);
}

/* ---------- Services Page ---------- */
.page-hero {
  padding: 190px 0 80px;
  background: var(--navy-950);
  border-bottom: 1px solid var(--glass-border);
}
.page-hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.2rem); margin: 18px 0 20px; }
.page-hero p.lede { font-size: 1.05rem; max-width: 620px; color: var(--steel-300); }

.quick-links {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px;
}
.quick-links a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 9px 18px;
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  color: var(--steel-300);
  transition: all 0.2s ease;
}
.quick-links a:hover { border-color: var(--gold); color: var(--gold); }

.pillar-section { padding: 90px 0; border-bottom: 1px solid var(--glass-border); }
.pillar-section:nth-child(even) { background: var(--navy-900); }
.pillar-section:nth-child(odd) { background: var(--navy-950); }

.pillar-overview {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--glass-border);
}
.pillar-icon {
  width: 56px; height: 56px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.pillar-icon svg { width: 28px; height: 28px; }
.pillar-overview h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 10px; }
.pillar-overview p { max-width: 640px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: inherit;
  font-family: inherit;
}
.service-card:hover {
  border-color: var(--purple);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px -14px rgba(124, 92, 214, 0.4);
}
.service-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(207,168,88,0.08);
  border: 1px solid rgba(207,168,88,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.service-icon svg { width: 21px; height: 21px; }
.service-card h4 { font-size: 1.05rem; color: #fff; }
.service-card p.desc { font-size: 0.85rem; color: var(--steel-400); flex-grow: 1; }
.service-card .tag-row { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.price-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--emerald);
  background: rgba(47,154,128,0.1);
  border: 1px solid rgba(47,154,128,0.3);
  padding: 4px 10px;
  border-radius: 100px;
}
.price-tag.quote { color: var(--steel-300); background: rgba(255,255,255,0.04); border-color: var(--glass-border); }
.card-arrow { color: var(--steel-400); font-size: 1.1rem; }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4,5,13,0.82);
  backdrop-filter: blur(6px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 100px 20px 60px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  width: 100%; max-width: 640px;
  background: var(--navy-900);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 44px;
  position: relative;
}
.modal-close {
  position: absolute; top: 20px; right: 20px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--steel-300);
  cursor: pointer;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { border-color: var(--pink); color: var(--pink); }

.modal-head { display: flex; gap: 18px; align-items: center; margin-bottom: 22px; }
.modal-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(207,168,88,0.1);
  border: 1px solid rgba(207,168,88,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); flex-shrink: 0;
}
.modal-icon svg { width: 26px; height: 26px; }
.modal-head h3 { font-size: 1.4rem; }
.modal-head .price-tag { margin-top: 6px; }

.modal-body p { margin-bottom: 14px; font-size: 0.94rem; }
.modal-section-label {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold); margin: 22px 0 12px; display: block;
}
.modal-body ul.deliverables { display: grid; gap: 9px; margin-bottom: 6px; }
.modal-body ul.deliverables li { font-size: 0.88rem; color: var(--steel-300); display: flex; gap: 10px; }
.modal-body ul.deliverables li::before { content: '—'; color: var(--gold); flex-shrink: 0; }

.sub-icon-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 6px; }
.sub-icon-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--steel-300);
}
.sub-icon-chip svg { width: 15px; height: 15px; color: var(--gold); }

.modal-meta-row { display: flex; gap: 22px; margin: 22px 0; flex-wrap: wrap; }
.modal-meta { font-size: 0.82rem; }
.modal-meta .k { font-family: var(--font-mono); color: var(--steel-400); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.68rem; display: block; margin-bottom: 4px; }
.modal-meta .v { color: #fff; }

.request-form { display: grid; gap: 14px; margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--glass-border); }
.request-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.request-form button { justify-self: start; }

@media (max-width: 900px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-overview { flex-direction: column; }
}
@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
  .modal-box { padding: 30px 22px; }
  .modal-overlay { padding: 80px 12px 40px; }
}

@media (max-width: 900px) {
  .hamburger { display: flex; align-items: center; }
  .nav-actions .btn-login { display: none; }
  .nav-actions .btn-primary { display: none; }
  .nav-links {
    position: fixed;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(6, 8, 18, 0.98);
    border-bottom: 1px solid var(--glass-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin: 0;
  }
  .nav-links.mobile-open { max-height: 600px; }
  .nav-links li { border-top: 1px solid var(--glass-border); }
  .nav-links a { display: block; padding: 18px 32px; }
  .nav-links .mobile-login { display: block; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .flagship { grid-template-columns: 1fr; }
  .flagship > div:first-child, .flagship-stats { padding: 40px; }
  .bearings, .route, .pillars, .portfolio-grid, .pricing-grid, .testi-grid { grid-template-columns: 1fr; }
  .bearing, .waypoint { border-right: none; border-bottom: 1px solid var(--glass-border); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 150px 0 80px; }
  .bg-blob { display: none; }
}

/* ---------- Products Page ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.category-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 36px 32px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
  color: inherit;
  font-family: inherit;
}
.category-card:hover { border-color: var(--purple); transform: translateY(-3px); box-shadow: 0 14px 34px -16px rgba(124,92,214,0.4); }
.category-card .cat-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(207,168,88,0.1); border: 1px solid rgba(207,168,88,0.3);
  display: flex; align-items: center; justify-content: center; color: var(--gold);
  margin-bottom: 20px;
}
.category-card .cat-icon svg { width: 26px; height: 26px; }
.category-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.category-card p { font-size: 0.9rem; margin-bottom: 18px; }
.category-card .cat-meta { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 0.78rem; }
.category-card .cat-meta .count { color: var(--steel-400); }
.category-card .cat-meta .price { color: var(--emerald); }

/* Catalog list inside modal */
.catalog-list { display: grid; gap: 10px; max-height: 50vh; overflow-y: auto; padding-right: 6px; margin-top: 8px; }
.catalog-list::-webkit-scrollbar { width: 6px; }
.catalog-list::-webkit-scrollbar-thumb { background: var(--glass-border); border-radius: 3px; }
.catalog-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
}
.catalog-row .title { font-size: 0.88rem; color: var(--ivory); }
.catalog-row .row-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.catalog-row .price { font-family: var(--font-mono); font-size: 0.8rem; color: var(--gold); }
.add-btn {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.05em;
  padding: 7px 14px; border-radius: 100px; border: 1px solid var(--glass-border);
  background: transparent; color: var(--steel-300); cursor: pointer; transition: all 0.2s ease;
  white-space: nowrap;
}
.add-btn:hover { border-color: var(--emerald); color: var(--emerald); }
.add-btn.added { border-color: var(--emerald); color: var(--emerald); background: rgba(47,154,128,0.1); }

/* Cart icon + badge in nav */
.cart-btn {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.cart-btn:hover { border-color: var(--gold); color: var(--gold); }
.cart-btn svg { width: 18px; height: 18px; }
.cart-badge {
  position: absolute; top: -6px; right: -6px;
  background: var(--gold); color: var(--navy-950);
  font-family: var(--font-mono); font-size: 0.65rem; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
}
.cart-badge.hidden { display: none; }

/* Cart drawer */
.cart-drawer {
  position: fixed; top: 0; right: -420px; bottom: 0;
  width: 100%; max-width: 400px;
  background: var(--navy-900);
  border-left: 1px solid var(--glass-border);
  z-index: 250;
  transition: right 0.3s ease;
  display: flex; flex-direction: column;
  padding: 90px 28px 28px;
}
.cart-drawer.open { right: 0; }
.cart-drawer h3 { font-size: 1.2rem; margin-bottom: 20px; }
.cart-items { flex-grow: 1; overflow-y: auto; display: grid; gap: 12px; align-content: start; }
.cart-empty { color: var(--steel-400); font-size: 0.88rem; padding: 20px 0; }
.cart-item-row {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 12px 14px; background: var(--glass); border: 1px solid var(--glass-border); border-radius: 8px;
}
.cart-item-row .info .name { font-size: 0.84rem; color: var(--ivory); }
.cart-item-row .info .type { font-size: 0.7rem; color: var(--steel-400); font-family: var(--font-mono); }
.cart-item-row .price { font-family: var(--font-mono); font-size: 0.82rem; color: var(--gold); }
.cart-remove {
  background: none; border: none; color: var(--steel-400); cursor: pointer; font-size: 1rem; line-height: 1;
}
.cart-remove:hover { color: var(--pink); }
.cart-footer { border-top: 1px solid var(--glass-border); padding-top: 20px; margin-top: 16px; }
.cart-total-row { display: flex; justify-content: space-between; font-size: 0.95rem; margin-bottom: 16px; }
.cart-total-row .amount { font-family: var(--font-mono); color: var(--gold); font-weight: 600; }
.cart-drawer .btn { width: 100%; justify-content: center; }

.drawer-overlay {
  position: fixed; inset: 0; background: rgba(4,5,13,0.6); z-index: 240; display: none;
}
.drawer-overlay.open { display: block; }

@media (max-width: 900px) {
  .category-grid { grid-template-columns: 1fr; }
}

/* ---------- Payment Page ---------- */
.payment-shell { padding: 190px 0 100px; }
.payment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

.order-summary-box {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 30px;
  position: sticky;
  top: 100px;
}
.order-summary-box h3 { font-size: 1.05rem; margin-bottom: 18px; }
.order-line { display: flex; justify-content: space-between; font-size: 0.86rem; padding: 10px 0; border-bottom: 1px solid var(--glass-border); }
.order-line .name { color: var(--steel-300); }
.order-line .price { font-family: var(--font-mono); color: var(--gold); }
.order-total-line { display: flex; justify-content: space-between; padding-top: 18px; margin-top: 6px; font-size: 1.05rem; }
.order-total-line .amount { font-family: var(--font-mono); color: var(--gold); font-weight: 700; }
.empty-cart-note { font-size: 0.88rem; color: var(--steel-400); }

.payment-methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 8px 0 24px; }
.method-option {
  display: flex; align-items: center; gap: 12px;
  padding: 16px; border: 1px solid var(--glass-border); border-radius: 10px;
  cursor: pointer; transition: all 0.2s ease; background: rgba(255,255,255,0.02);
}
.method-option input { accent-color: var(--gold); }
.method-option svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
.method-option span.label { font-size: 0.88rem; color: var(--ivory); }
.method-option:hover { border-color: var(--gold); }
.method-option.selected { border-color: var(--gold); background: rgba(207,168,88,0.08); }

@media (max-width: 900px) {
  .payment-grid { grid-template-columns: 1fr; }
  .order-summary-box { position: static; }
}

/* ---------- Portfolio Page ---------- */
.case-card { cursor: pointer; }
.case-thumb svg { width: 34px; height: 34px; color: rgba(255,255,255,0.85); }
.stat-badge {
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--emerald);
  background: rgba(47,154,128,0.1); border: 1px solid rgba(47,154,128,0.3);
  padding: 4px 10px; border-radius: 100px; display: inline-block;
}
.pmodal-meta-row { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }

/* ---------- Pricing Page: comparison table + FAQ ---------- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--glass-border); border-radius: var(--radius); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td {
  padding: 16px 20px; text-align: left; font-size: 0.86rem; border-bottom: 1px solid var(--glass-border);
}
.compare-table th { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--steel-300); background: var(--glass); }
.compare-table th:not(:first-child), .compare-table td:not(:first-child) { text-align: center; }
.compare-table td:first-child { color: var(--ivory); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .yes { color: var(--emerald); font-size: 1.05rem; }
.compare-table .no { color: var(--steel-400); }
.compare-table th.tier-growth { color: var(--gold); }

.faq-list { display: grid; gap: 12px; max-width: 780px; }
.faq-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 4px 22px;
}
.faq-item summary {
  padding: 18px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item p { font-size: 0.9rem; padding-bottom: 20px; }

.addons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.addon-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px;
}
.addon-card h4 { font-size: 1rem; margin-bottom: 8px; color: #fff; }
.addon-card p { font-size: 0.85rem; margin-bottom: 14px; }
.addon-card .price-tag { color: var(--gold); background: rgba(207,168,88,0.1); border-color: rgba(207,168,88,0.3); }

@media (max-width: 900px) {
  .addons-grid { grid-template-columns: 1fr; }
}

/* ---------- About Page ---------- */
.about-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.photo-frame {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 16px;
  padding: 4px;
  background: var(--spectrum);
  max-width: 380px;
  margin: 0 auto;
}
.photo-frame-inner {
  width: 100%; height: 100%;
  border-radius: 13px;
  background: var(--navy-950);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.photo-frame-inner img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame-inner .crest-placeholder { width: 55%; opacity: 0.9; }

.founder-quote {
  border-left: 2px solid var(--gold);
  padding: 4px 0 4px 22px;
  margin: 28px 0;
  font-size: 1.02rem;
  color: var(--ivory);
  font-style: normal;
}

/* Vertical timeline */
.vtimeline { position: relative; max-width: 720px; }
.vtimeline::before {
  content: '';
  position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px;
  background: var(--spectrum); opacity: 0.4;
}
.vt-item { position: relative; padding-left: 34px; margin-bottom: 34px; }
.vt-item:last-child { margin-bottom: 0; }
.vt-dot {
  position: absolute; left: 0; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--navy-950); border: 2px solid var(--gold);
  box-shadow: 0 0 10px rgba(207,168,88,0.4);
}
.vt-date { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em; color: var(--gold); text-transform: uppercase; display: block; margin-bottom: 6px; }
.vt-item h4 { font-size: 1rem; color: #fff; margin-bottom: 4px; }
.vt-item p { font-size: 0.88rem; }

/* Values grid */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card {
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius);
  padding: 30px 26px;
}
.value-card .v-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(207,168,88,0.1); border: 1px solid rgba(207,168,88,0.3);
  display: flex; align-items: center; justify-content: center; color: var(--gold);
  margin-bottom: 18px;
}
.value-card .v-icon svg { width: 22px; height: 22px; }
.value-card h4 { font-size: 1.02rem; margin-bottom: 10px; color: #fff; }
.value-card p { font-size: 0.86rem; }

.human-note {
  max-width: 700px; margin: 0 auto; text-align: center;
  font-size: 1.15rem; font-family: var(--font-display); font-weight: 500;
  color: var(--ivory); line-height: 1.5;
}
.human-note::before, .human-note::after { content: '"'; color: var(--gold); }

@media (max-width: 900px) {
  .about-hero-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* ---------- Auth (Login/Signup) ---------- */
.auth-tabs { display: flex; gap: 8px; margin-bottom: 26px; background: rgba(255,255,255,0.03); border-radius: 100px; padding: 4px; }
.auth-tab {
  flex: 1; text-align: center; padding: 10px; border-radius: 100px; cursor: pointer;
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.05em; color: var(--steel-400);
  transition: all 0.2s ease; border: none; background: transparent;
}
.auth-tab.active { background: var(--spectrum); color: #0a0a12; font-weight: 600; }
.auth-panel { display: none; }
.auth-panel.active { display: block; }

/* ---------- Client Portal ---------- */
.portal-welcome { display: flex; justify-content: space-between; align-items: center; margin-bottom: 50px; flex-wrap: wrap; gap: 16px; }
.portal-welcome h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.portal-welcome p { font-size: 0.9rem; margin-top: 6px; }

.project-card {
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius);
  padding: 34px; margin-bottom: 30px;
}
.project-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; flex-wrap: wrap; gap: 14px; }
.project-head h3 { font-size: 1.2rem; margin-bottom: 4px; }
.project-head .service-type { font-size: 0.82rem; color: var(--steel-400); font-family: var(--font-mono); }

.status-badge { font-family: var(--font-mono); font-size: 0.72rem; padding: 5px 12px; border-radius: 100px; letter-spacing: 0.04em; }
.status-badge.paid { color: var(--emerald); background: rgba(47,154,128,0.1); border: 1px solid rgba(47,154,128,0.3); }
.status-badge.partial { color: var(--gold); background: rgba(207,168,88,0.1); border: 1px solid rgba(207,168,88,0.3); }
.status-badge.pending { color: var(--steel-300); background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border); }

.portal-route { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-bottom: 34px; }
.portal-route::before {
  content: ''; position: absolute; top: 8px; left: 0; right: 0; height: 2px; background: var(--glass-border);
}
.portal-wp { position: relative; text-align: center; }
.portal-wp .pin {
  width: 16px; height: 16px; border-radius: 50%; margin: 0 auto 10px;
  background: var(--navy-950); border: 2px solid var(--glass-border); position: relative; z-index: 1;
}
.portal-wp.done .pin { border-color: var(--gold); box-shadow: 0 0 10px rgba(207,168,88,0.5); }
.portal-wp.current .pin { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 14px rgba(207,168,88,0.7); }
.portal-wp span.label { font-size: 0.78rem; color: var(--steel-400); }
.portal-wp.done span.label, .portal-wp.current span.label { color: var(--ivory); }

.portal-section-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel-400); margin-bottom: 14px; display: block; }
.file-row {
  display: flex; justify-content: space-between; align-items: center; padding: 12px 16px;
  background: rgba(255,255,255,0.02); border: 1px solid var(--glass-border); border-radius: 8px; margin-bottom: 8px;
}
.file-row a { color: var(--gold); font-size: 0.86rem; }
.file-row a:hover { text-decoration: underline; }

.update-feed { display: grid; gap: 14px; margin-top: 6px; }
.update-item { padding-left: 18px; border-left: 2px solid var(--glass-border); }
.update-item .u-date { font-family: var(--font-mono); font-size: 0.7rem; color: var(--steel-400); display: block; margin-bottom: 4px; }
.update-item p { font-size: 0.88rem; }

.portal-empty { text-align: center; padding: 60px 20px; }
.portal-empty p { max-width: 420px; margin: 12px auto 0; }

/* ---------- Admin Dashboard ---------- */
.admin-controls { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 24px; }
.admin-controls select {
  background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border); border-radius: 8px;
  padding: 10px 14px; color: var(--ivory); font-family: var(--font-body); font-size: 0.86rem;
}
.admin-controls .btn { padding: 10px 20px; font-size: 0.82rem; }
.save-status { font-family: var(--font-mono); font-size: 0.76rem; color: var(--emerald); }

.admin-subgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.admin-mini-form { display: grid; gap: 10px; }
.admin-mini-form input, .admin-mini-form textarea {
  width: 100%; background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border);
  border-radius: 8px; padding: 10px 12px; color: var(--ivory); font-family: var(--font-body); font-size: 0.86rem;
}
.admin-mini-form button { justify-self: start; padding: 9px 18px; font-size: 0.8rem; }

.file-row .del-btn, .update-item .del-btn {
  background: none; border: none; color: var(--steel-400); cursor: pointer; font-size: 0.9rem; margin-left: 10px;
}
.file-row .del-btn:hover, .update-item .del-btn:hover { color: var(--pink); }

.new-project-card { border: 1px dashed var(--glass-border); background: transparent; }
.new-project-card .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }

@media (max-width: 900px) {
  .admin-subgrid { grid-template-columns: 1fr; }
}


/* ---- accessibility additions (audit v3) ---- */
.skip-link { position: absolute; left: -9999px; top: 8px; }
.skip-link:focus { left: 16px; z-index: 9999; background: #fff; color: #000; padding: 10px 14px; border-radius: 8px; }
main:focus { outline: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.add-btn.buy-btn { border-color: var(--gold); color: var(--gold); }
.add-btn.buy-btn:hover { background: rgba(207,168,88,0.12); color: var(--gold); border-color: var(--gold); }

/* ---- legal pages, prices, notes (audit v3) ---- */
.legal { max-width: 760px; }
.legal .updated { font-family: var(--font-mono); font-size: 0.78rem; color: var(--steel-400); margin-bottom: 22px; }
.legal h2 { font-size: 1.3rem; margin: 38px 0 12px; color: #fff; }
.legal p, .legal li { color: var(--steel-300); font-size: 0.97rem; line-height: 1.75; }
.legal p { margin-bottom: 14px; }
.legal ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; display: block; }
.legal li { margin-bottom: 8px; }
.legal li::before { content: none; }
.legal a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--ivory); }
.legal .callout { border: 1px solid var(--glass-border); border-left: 3px solid var(--emerald); background: var(--glass); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 8px; color: var(--ivory); }
.form-note { font-size: 0.78rem; color: var(--steel-400); margin-top: 12px; line-height: 1.5; }
.form-note a { color: var(--gold); }
.plan-price { margin: 2px 0 14px; display: flex; align-items: baseline; gap: 8px; }
.plan-price small { font-family: var(--font-mono); font-size: 0.75rem; color: var(--steel-400); letter-spacing: 0.06em; }
.plan-price strong { font-family: var(--font-display); font-size: 2.1rem; color: #fff; line-height: 1; }
.plan-price span { font-size: 0.8rem; color: var(--steel-400); }
.bundle-save { font-size: 0.8rem; color: var(--emerald); margin-bottom: 10px; }
.price-note { font-size: 0.82rem; color: var(--steel-400); margin-top: 22px; max-width: 640px; }

/* ---- consent banner + catalogue (audit v3) ---- */
.consent { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 150; max-width: 620px; margin: 0 auto;
  background: var(--navy-800); border: 1px solid var(--glass-border); border-radius: 14px; padding: 16px 18px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  box-shadow: 0 18px 50px -12px rgba(0,0,0,0.7); }
.consent p { flex: 1 1 260px; margin: 0; font-size: 0.85rem; color: var(--steel-300); line-height: 1.55; }
.consent a { color: var(--gold); }
.consent-actions { display: flex; gap: 10px; }
.consent-actions .btn { padding: 9px 20px; font-size: 0.82rem; }
.catalogue h2 { font-size: 1.5rem; margin: 44px 0 6px; color: #fff; }
.catalogue h2:first-child { margin-top: 0; }
.catalogue .count { font-family: var(--font-mono); font-size: 0.85rem; color: var(--steel-400); }
.catalogue .blurb { font-size: 0.92rem; color: var(--steel-300); margin-bottom: 16px; max-width: 640px; }
.cat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cat-list li { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; padding: 13px 16px; border: 1px solid var(--glass-border); border-radius: var(--radius); background: var(--glass); }
.cat-list li::before { content: none; }
.cat-list .t { flex: 1 1 280px; color: var(--ivory); font-size: 0.95rem; }
.cat-list .p { font-family: var(--font-mono); font-size: 0.82rem; color: var(--gold); white-space: nowrap; }
.cat-list .a { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.85rem; }
.cat-list .a a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ---- contrast + trust bar (audit v3) ---- */
.btn-primary, .avatar, .auth-tab.active { background: linear-gradient(120deg, #a68bf0 0%, #e79ec4 45%, #cfa858 75%, #4cc2a3 100%); }
.price-tag { color: #4cc2a3; }
.price-tag.quote { color: var(--steel-300); }
.trust-bar { padding: 0 0 8px; }
.trust-bar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.trust-bar li { font-size: 0.86rem; color: var(--steel-300); display: flex; gap: 8px; align-items: baseline; }
.trust-bar li::before { content: '✓'; color: #4cc2a3; font-weight: 700; }
.trust-bar a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.trust-note { flex-basis: 100%; font-size: 0.8rem; color: var(--steel-400); margin: 12px 0 0; }

/* ---- descriptions + insights (audit v3) ---- */
.catalog-row .row-left { display: flex; flex-direction: column; min-width: 0; padding-right: 12px; }
.catalog-row .desc { font-size: 0.75rem; color: var(--steel-400); margin-top: 3px; line-height: 1.45; }
.cat-list .d { display: block; font-size: 0.8rem; color: var(--steel-400); margin-top: 3px; line-height: 1.5; }
.byline { font-size: 0.9rem; color: var(--steel-300); margin-top: 14px; max-width: 640px; }
.byline strong { color: var(--ivory); }
.article { max-width: 720px; }
.article p, .article li { font-size: 1.02rem; line-height: 1.8; }
.article ol { padding-left: 24px; margin: 0 0 18px; }
.article ol li { margin-bottom: 10px; }
.article .cta-card { margin: 40px 0 24px; padding: 22px 24px; border: 1px solid var(--glass-border); border-left: 3px solid var(--gold); border-radius: var(--radius); background: var(--glass); }
.article .cta-card h2 { margin-top: 0; font-size: 1.15rem; }
.article .cta-card p { margin-bottom: 0; }

.article ol { list-style: decimal; }

/* Website Launches badge */
.launch-badge{display:flex;justify-content:center;padding:20px 0 6px}
.launch-badge a{display:inline-block;line-height:0}
.launch-badge img{max-width:100%;height:auto}
