/* Mercadex — shared stylesheet (no dependencies) */
:root {
  --navy: #0b2436;
  --navy-2: #12344b;
  --teal: #17677a;
  --teal-2: #1f8a9d;
  --orange: #f28c28;
  --orange-dark: #d9731a;
  --bg: #f7f9fb;
  --surface: #ffffff;
  --text: #1c2b36;
  --muted: #5a6b77;
  --line: #dbe3e9;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(11, 36, 54, 0.08);
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

a { color: var(--teal); }
a:hover { color: var(--teal-2); }

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* Header */
.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.8rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}
.brand .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--orange);
  color: var(--navy);
  font-weight: 800;
}
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: #d8e4ec;
  text-decoration: none;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  font-size: 0.95rem;
}
.site-nav a:hover { background: var(--navy-2); color: #fff; }
.site-nav a[aria-current="page"] { background: var(--teal); color: #fff; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #40607a;
  color: #fff;
  font-size: 1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
}
.nav-toggle:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* Layout */
main { display: block; }
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem;
}
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: #fff;
}
.page-header .container { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.page-header h1 { margin: 0 0 0.5rem; font-size: 2.1rem; line-height: 1.2; }
.page-header p { margin: 0; max-width: 46rem; color: #d8e4ec; }

h2 { font-size: 1.6rem; margin: 0 0 0.75rem; color: var(--navy); }
h3 { font-size: 1.2rem; margin: 0 0 0.4rem; color: var(--navy); }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.4rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: #fff;
}
.hero .container { padding-top: 4rem; padding-bottom: 4rem; }
.hero h1 { font-size: 2.6rem; line-height: 1.15; margin: 0 0 1rem; max-width: 46rem; }
.hero p.lede { font-size: 1.2rem; color: #d8e4ec; max-width: 44rem; }
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-secondary { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, 0.6); }
.btn-secondary:hover { border-color: #fff; color: #fff; }
.btn-secondary-dark { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-secondary-dark:hover { background: var(--navy); color: #fff; }
.cta-row { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* Cards & grids */
.grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.card .icon {
  font-size: 1.6rem;
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  background: #eaf4f6;
  border-radius: 10px;
  margin-bottom: 0.75rem;
}
.card p { color: var(--muted); margin-bottom: 0; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* Social proof strip */
.proof-strip {
  background: var(--navy-2);
  color: #cfdbe4;
  text-align: center;
}
.proof-strip .container { padding-top: 2rem; padding-bottom: 2rem; }
.proof-strip p { margin: 0; font-size: 0.95rem; letter-spacing: 0.03em; }

/* CTA band */
.cta-band {
  background: var(--surface);
  border-top: 3px solid var(--orange);
}
.cta-band .container { text-align: center; }
.cta-band h2 { margin-bottom: 0.5rem; }
.cta-band p { max-width: 40rem; margin: 0 auto 1.5rem; color: var(--muted); }

/* Placeholder note */
.placeholder-note {
  background: #fdf3e7;
  border: 1px dashed var(--orange);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  color: #7a4a10;
  font-size: 0.92rem;
  margin: 1.25rem 0;
}
.placeholder-note strong { color: var(--orange-dark); }

/* Tables / marketplace categories */
.category-list li { margin-bottom: 0.5rem; }
.example-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
}
.example-box .chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.chip {
  background: #eaf4f6;
  color: var(--navy);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Forms */
form { display: grid; gap: 1.1rem; max-width: 44rem; }
fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.25rem 1.25rem;
  margin: 0;
  background: var(--surface);
}
legend { font-weight: 700; color: var(--navy); padding: 0 0.4rem; }
.field { display: grid; gap: 0.3rem; }
label { font-weight: 600; font-size: 0.95rem; }
input[type="text"], input[type="email"], select, textarea {
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  color: var(--text);
  background: #fff;
  width: 100%;
}
.checks { display: grid; gap: 0.4rem; }
.checks label {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.checks input { width: 1.1rem; height: 1.1rem; accent-color: var(--teal); }
.checkbox-field label { display: flex; align-items: center; gap: 0.6rem; font-weight: 500; }

/* FAQ accordion */
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-item h3 { margin: 0; }
.faq-item h3 button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font: inherit;
  font-weight: 600;
  color: var(--navy);
  padding: 1rem 1.25rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item h3 button .chev { transition: transform 0.2s; color: var(--orange); flex-shrink: 0; }
.faq-item h3 button[aria-expanded="true"] .chev { transform: rotate(180deg); }
.faq-answer { padding: 0 1.25rem 1.1rem; color: var(--muted); }
.faq-answer[hidden] { display: none; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #c8d6e0;
  margin-top: 3rem;
}
.site-footer .footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: 2fr 1fr;
}
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 0.5rem; }
.site-footer a { color: #d8e4ec; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.35rem; }
.footer-smallprint {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid #24455c;
  font-size: 0.82rem;
  color: #8fa5b4;
}

/* Responsive */
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    display: none;
    border-top: 1px solid #24455c;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: 0.5rem 1rem 1rem; }
  .site-nav a { display: block; padding: 0.8rem 0.75rem; }
  .hero h1 { font-size: 2rem; }
  .site-footer .footer-inner { grid-template-columns: 1fr; }
}
