:root {
  --ebo-green: #0e7c3f;
  --ebo-green-dark: #0a5c2e;
  --ebo-green-light: #e8f6ee;
  --ebo-white: #ffffff;
  --ebo-ink: #14251b;
  --ebo-muted: #5b6b62;
  --ebo-border: #dbe8e0;
  --radius: 10px;
  --shadow: 0 4px 16px rgba(14, 124, 63, 0.08);
  --max-width: 1120px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ebo-ink);
  background: var(--ebo-white);
  line-height: 1.6;
}

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

.container-narrow { max-width: 480px; }

h1, h2, h3 { line-height: 1.25; margin-top: 0; }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.6rem; color: var(--ebo-green-dark); }
h3 { font-size: 1.1rem; }

a { color: var(--ebo-green-dark); text-decoration: none; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--ebo-border);
  position: sticky;
  top: 0;
  background: var(--ebo-white);
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 8px; }
.brand-logo { height: 40px; width: auto; object-fit: contain; }
.brand-text { display: flex; align-items: baseline; gap: 6px; }
.brand-mark {
  background: var(--ebo-green);
  color: var(--ebo-white);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}
.brand-mark.small { font-size: 0.85rem; }
.brand-sub { color: var(--ebo-ink); font-weight: 600; }

.main-nav { display: flex; gap: 24px; align-items: center; }
.main-nav a { font-weight: 500; color: var(--ebo-ink); }
.main-nav a:hover { color: var(--ebo-green); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ebo-ink); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--ebo-green-light), var(--ebo-white));
  padding: 72px 0;
  border-bottom: 1px solid var(--ebo-border);
}
.hero-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.hero h1 { color: var(--ebo-green-dark); }
.hero-lede { color: var(--ebo-muted); font-size: 1.1rem; margin-bottom: 28px; }

/* Sections */
.section { padding: 56px 0; }
.section-alt { background: var(--ebo-green-light); }
.section-cta { background: var(--ebo-green-dark); color: var(--ebo-white); text-align: center; }
.section-cta h2 { color: var(--ebo-white); }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--ebo-white);
  border: 1px solid var(--ebo-border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.card h3 { color: var(--ebo-green-dark); }

.checklist { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.checklist li {
  padding-left: 26px;
  position: relative;
}
.checklist li::before {
  content: "✓";
  color: var(--ebo-green);
  font-weight: 700;
  position: absolute;
  left: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius);
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
}
.btn-primary { background: var(--ebo-green); color: var(--ebo-white); }
.btn-primary:hover { background: var(--ebo-green-dark); }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Forms */
.activation-section { text-align: center; }
.lede { color: var(--ebo-muted); margin-bottom: 24px; }
.activation-form { text-align: left; display: flex; flex-direction: column; gap: 6px; }
.activation-form label { font-weight: 600; font-size: 0.9rem; margin-top: 10px; }
.form-input, .activation-form input[type="text"], .activation-form input[type="password"] {
  padding: 12px 14px;
  border: 1px solid var(--ebo-border);
  border-radius: var(--radius);
  font-size: 1rem;
  width: 100%;
}
.form-input:focus, .activation-form input:focus {
  outline: none;
  border-color: var(--ebo-green);
  box-shadow: 0 0 0 3px rgba(14, 124, 63, 0.15);
}
.activation-form button { margin-top: 18px; }
.field-error { color: #b3261e; font-size: 0.9rem; margin-top: 4px; }
.hint { color: var(--ebo-muted); font-size: 0.85rem; margin-top: 18px; }
.hint code { background: var(--ebo-green-light); padding: 2px 6px; border-radius: 4px; }

.btn-spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.5);
  border-top-color: var(--ebo-white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Alerts */
.alert { padding: 12px 16px; border-radius: var(--radius); margin: 16px 0; font-size: 0.95rem; }
.alert-success { background: var(--ebo-green-light); color: var(--ebo-green-dark); border: 1px solid var(--ebo-green); }
.alert-error { background: #fdecea; color: #b3261e; border: 1px solid #f3b4ad; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--ebo-border);
  background: var(--ebo-green-light);
  padding: 32px 0;
  margin-top: 40px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.footer-links { display: flex; gap: 18px; }
.copyright { color: var(--ebo-muted); font-size: 0.85rem; width: 100%; text-align: center; margin-top: 12px; }

/* Responsive */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .checklist { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--ebo-white);
    flex-direction: column;
    padding: 16px 20px;
    border-bottom: 1px solid var(--ebo-border);
    gap: 14px;
  }
  .main-nav.open { display: flex; }
  .grid-3 { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  h1 { font-size: 1.7rem; }
  .hero { padding: 48px 0; }
}
