/* shared.css — Rated Network Lite common styles */
:root {
  --brand-color: #333333;
  --brand-accent: #666666;
  --text: #1a1a1a;
  --text-muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --radius: 6px;
  --max-width: 860px;
}

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

body {
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Hero */
.hero {
  background: var(--brand-color);
  color: #fff;
  padding: 3.5rem 0 3rem;
  text-align: center;
}
.hero__logo { margin-bottom: 1.5rem; }
.hero__logo img { display: inline-block; }
.hero h1 { font-size: clamp(1.4rem, 4vw, 2.2rem); font-weight: 700; line-height: 1.25; margin-bottom: 0.75rem; }
.hero__sub { font-size: 1.1rem; opacity: 0.88; }

/* Signup */
.signup-section { background: var(--bg-alt); padding: 2.5rem 0; text-align: center; }
.signup-section h2 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.signup-section p { color: var(--text-muted); margin-bottom: 1.25rem; }

.form-row {
  display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap;
}
.form-row input[type="email"] {
  padding: 0.6rem 0.9rem;
  border: 1.5px solid #d1d5db;
  border-radius: var(--radius);
  font-size: 1rem;
  width: 260px;
  max-width: 100%;
}
.form-row input[type="email"]:focus {
  outline: 2px solid var(--brand-accent);
  border-color: var(--brand-accent);
}

.btn {
  display: inline-block;
  background: var(--brand-color);
  color: #fff;
  padding: 0.6rem 1.4rem;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}
.btn:hover, .btn:focus { background: var(--brand-accent); }

.form-status { margin-top: 0.75rem; min-height: 1.4rem; font-size: 0.95rem; }

/* Affiliate grid */
.chain-digest { padding: 2.5rem 0; }
.chain-digest h2 { font-size: 1.35rem; margin-bottom: 1.25rem; text-align: center; }
.affiliate-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.affiliate-card a { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 1rem; border: 1px solid #e5e7eb; border-radius: var(--radius); text-decoration: none; color: var(--text); font-size: 0.9rem; text-align: center; transition: border-color 0.15s; }
.affiliate-card a:hover { border-color: var(--brand-color); }
.affiliate-card img { width: 56px; height: 56px; object-fit: contain; }

/* Evergreen pulse */
.evergreen-pulse { background: var(--bg-alt); padding: 2.5rem 0; }
.evergreen-pulse h2 { font-size: 1.35rem; margin-bottom: 1.25rem; text-align: center; }
.pulse-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.pulse-item { background: var(--bg); border-radius: var(--radius); padding: 1rem 1.25rem; border-left: 3px solid var(--brand-color); }
.pulse-item a { color: var(--brand-color); text-decoration: none; }
.pulse-item a:hover { text-decoration: underline; }
.pulse-item p { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.3rem; }

/* Cross-promo */
.cross-promo { padding: 2.5rem 0; text-align: center; }
.cross-promo__label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.5rem; }
.cross-promo__value { max-width: 600px; margin: 0 auto 1.25rem; color: var(--text); }

/* Footer */
.site-footer { background: #111; color: #aaa; padding: 1.75rem 0; text-align: center; font-size: 0.875rem; }
.site-footer a { color: #ccc; }
.footer__disclaimer { margin-top: 0.5rem; font-size: 0.8rem; opacity: 0.7; }
