/* eProc landing — static, no framework, no external fonts.
   Light green gradient brand, matching the app's eproc-theme.css tokens. */

:root {
  --g-50: #f3fbf6;
  --g-100: #dcf5e6;
  --g-200: #b7e9c9;
  --g-300: #8fd9ad;
  --g-500: #3aa76d;
  --g-600: #2f8f5b;
  --g-700: #24704a;
  --g-900: #14261c;
  --muted: #4c6154;
  --border: #d5e8dc;
  --surface: #ffffff;
  --radius: 14px;
  --gradient: linear-gradient(135deg, #6fdc9b 0%, #3aa76d 55%, #24704a 100%);
  --gradient-soft: linear-gradient(180deg, #f7fdf9 0%, #eef9f2 45%, #e3f4ea 100%);
  --shadow: 0 10px 30px rgba(36, 112, 74, 0.08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--g-900);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.05rem; }

p { margin: 0 0 1em; }

a {
  color: var(--g-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--g-600); }

:focus-visible {
  outline: 3px solid var(--g-500);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  width: min(1080px, 100% - 2.5rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--g-700);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 10;
}

.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--g-900);
  text-decoration: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-list a {
  text-decoration: none;
  font-size: 0.94rem;
  color: var(--muted);
}

.nav-list a:hover { color: var(--g-700); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(36, 112, 74, 0.18);
}

.btn-ghost {
  background: #fff;
  border-color: var(--border);
  color: var(--g-700);
}

.btn-ghost:hover {
  background: var(--g-50);
  color: var(--g-700);
}

/* Hero */
.hero {
  background: var(--gradient-soft);
  padding: clamp(3rem, 8vw, 5.5rem) 0;
  border-bottom: 1px solid var(--border);
}

.hero-inner { max-width: 46rem; }

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(58, 167, 109, 0.12);
  color: var(--g-700);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.lede {
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  color: var(--muted);
  max-width: 38rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.6rem 0 0.9rem;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* Sections */
.section { padding: clamp(2.75rem, 6vw, 4.5rem) 0; }
.section-alt { background: var(--g-50); border-block: 1px solid var(--border); }
.section-lede { color: var(--muted); max-width: 44rem; }

.grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.card h3 { color: var(--g-700); }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Steps */
.steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}

.steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.step-num {
  flex: 0 0 auto;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.steps h3 { margin-bottom: 0.35rem; }
.steps p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Split + checklist */
.split {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.checklist {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.checklist li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--g-100);
  color: var(--g-700);
  font-size: 0.8rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  transform: translateY(0.15rem);
}

/* FAQ */
details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.75rem;
}

summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--g-900);
}

summary::marker { color: var(--g-500); }

details p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* CTA band */
.cta-band {
  background: var(--gradient);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.9); max-width: 40rem; }

.cta-band .btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.cta-band .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--g-700);
}

.cta-band .btn-primary:hover { color: var(--g-700); }

/* Footer */
.site-footer {
  padding: 2.5rem 0 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--g-50);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a { text-decoration: none; font-size: 0.92rem; }

.muted { color: var(--muted); font-size: 0.92rem; margin: 0.5rem 0 0; }
.small { font-size: 0.82rem; }

/* Legal pages */
.legal {
  padding: 3rem 0 4rem;
  max-width: 46rem;
}

.legal h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.legal h2 { font-size: 1.15rem; margin-top: 2rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn-primary:hover { transform: none; }
}
