/* ============================================
   EcomPeer — simple, professional layout
   ============================================ */
:root {
  --color-bg: #FFFFFF;
  --color-bg-alt: #F7F7F8;
  --color-text: #2B2D31;
  --color-text-muted: #5B5F66;
  --color-accent: #2F5D8A;
  --color-accent-dark: #234A6E;
  --color-border: #E3E5E8;

  --font-heading: "Merriweather", Georgia, serif;
  --font-body: "Inter", -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;

  --container: 1100px;
  --radius: 8px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-text);
  line-height: 1.3;
  margin: 0 0 0.6em 0;
  font-weight: 700;
}

h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em 0; }
.lead { font-size: 1.05rem; color: var(--color-text-muted); max-width: 680px; }

a { color: var(--color-accent); text-decoration: underline; }
a:hover { color: var(--color-accent-dark); }

ul, ol { padding-left: 22px; }
li { margin-bottom: 0.4em; }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75em 1.7em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-accent-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn-outline:hover {
  background: var(--color-bg-alt);
}

.btn-lg { font-size: 1rem; padding: 0.85em 2.2em; }

/* ============================================
   Header
   ============================================ */
.site-header {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
  flex-wrap: wrap;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
}
.logo span { color: var(--color-accent); }

.nav {
  display: flex;
  gap: 22px;
  font-size: 0.92rem;
  font-weight: 500;
  flex-wrap: wrap;
}
.nav a { color: var(--color-text-muted); text-decoration: none; }
.nav a:hover { color: var(--color-accent); }

.nav-cta { padding: 0.55em 1.4em; font-size: 0.88rem; flex-shrink: 0; }

@media (max-width: 760px) {
  .nav { order: 3; width: 100%; justify-content: flex-start; gap: 16px; }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  padding: 56px 0 48px;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.hero-inner { max-width: 760px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.6em;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 24px 0 16px;
}

.hero-meta {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ============================================
   Sections
   ============================================ */
.section { padding: 56px 0; }
.section + .section { border-top: 1px solid var(--color-border); }
.section h2 { max-width: 720px; }

.grid { display: grid; gap: 24px; margin-top: 32px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--color-text-muted); margin: 0; }

/* ============================================
   Numbered steps
   ============================================ */
.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 28px 0 0;
}

.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.step-content h3 { margin-bottom: 0.25em; }
.step-content p { color: var(--color-text-muted); margin: 0; max-width: 620px; }

.cta-row { margin-top: 28px; }

/* ============================================
   Benefits / comparison
   ============================================ */
.benefit-row h3 { font-size: 1rem; }
.benefit-row p { color: var(--color-text-muted); max-width: 460px; margin: 0; }

/* ============================================
   FAQ
   ============================================ */
.faq-list { margin-top: 24px; max-width: 760px; }

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 18px 0;
}
.faq-item summary {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  color: var(--color-text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--color-accent);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p {
  margin-top: 12px;
  color: var(--color-text-muted);
}

/* ============================================
   Notice box (disclosure)
   ============================================ */
.notice {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin: 24px 0;
}

/* ============================================
   Final CTA
   ============================================ */
.final-cta {
  background: var(--color-bg-alt);
  text-align: left;
}
.final-cta-inner { max-width: 680px; }
.final-cta p { color: var(--color-text-muted); }

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding-top: 40px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 28px;
}
.footer-brand { max-width: 420px; }
.footer-brand p { color: var(--color-text-muted); font-size: 0.9rem; margin-top: 10px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-weight: 500; font-size: 0.9rem; color: var(--color-text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--color-accent); }

.footer-contact h4 { margin-bottom: 0.4em; font-size: 1rem; }
.footer-contact p { color: var(--color-text-muted); font-size: 0.9rem; margin: 0; }
.footer-contact a { color: var(--color-text-muted); text-decoration: none; }
.footer-contact a:hover { color: var(--color-accent); }

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ============================================
   Static pages
   ============================================ */
.page-content {
  padding: 48px 0 64px;
  max-width: 760px;
}
.page-content h1 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); }
.page-content h2 { font-size: 1.25rem; margin-top: 1.5em; }
.page-content p, .page-content li { color: var(--color-text-muted); }
.updated { font-size: 0.85rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

.contact-details {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 20px 0;
}
.contact-details p { margin: 0 0 0.3em 0; color: var(--color-text); }
.contact-details p:last-child { margin-bottom: 0; }

/* ============================================
   Reduced motion & focus
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

a:focus-visible, summary:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
