/* High Reach Media (parent) + OneNetwork (affiliate brand) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --hrm-red: #ce1b29;
  --hrm-red-dark: #a81520;
  --hrm-gray: #545454;
  --bg-0: #f8f6f6;
  --bg-1: #f0ecec;
  --surface: #ffffff;
  --border: rgba(0, 0, 0, 0.08);
  --border-hi: rgba(0, 0, 0, 0.14);
  --green-400: #85bb65;
  --green-500: #6aa84f;
  --green-600: #38761d;
  --green-700: #274e13;
  --text-1: #1f1f1f;
  --text-2: #3a3a3a;
  --text-3: #5c5c5c;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Raleway', var(--font);
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;
  --shadow: 0 14px 36px -18px rgba(31, 31, 31, 0.18), 0 2px 6px rgba(31, 31, 31, 0.04);
  --shadow-lg: 0 30px 70px -30px rgba(31, 31, 31, 0.22), 0 6px 18px rgba(31, 31, 31, 0.05);
  --t: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
  background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(206, 27, 41, 0.10);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 16px;
}

.site-logo img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 200px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-badge {
  display: none;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(56, 118, 29, 0.08);
  color: var(--green-700);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

@media (min-width: 640px) {
  .nav-badge { display: inline-flex; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--t);
  white-space: nowrap;
  line-height: 1;
  letter-spacing: -0.01em;
}

.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

.btn-primary {
  background: var(--green-600);
  color: #fff;
  border-color: var(--green-600);
  box-shadow: 0 8px 20px -10px rgba(56, 118, 29, 0.55);
}

.btn-primary:hover {
  background: var(--green-700);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -10px rgba(56, 118, 29, 0.6);
}

.btn-outline {
  background: #fff;
  color: var(--text-1);
  border-color: var(--border-hi);
}

.btn-outline:hover {
  border-color: var(--hrm-red);
  color: var(--hrm-red);
}

/* Hero */
main { flex: 1; }

.hero {
  padding: 56px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(206, 27, 41, 0.08);
  color: var(--hrm-red-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-1);
  margin-bottom: 18px;
}

.text-accent { color: var(--green-600); }

.lede {
  font-size: 1.0625rem;
  color: var(--text-3);
  max-width: 36rem;
  margin-bottom: 24px;
}

.lede strong {
  color: var(--text-1);
  font-weight: 600;
}

/* Brand bridge */
.brand-bridge {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-bottom: 28px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}

.brand-node {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brand-node img {
  height: 32px;
  width: auto;
}

.brand-node span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.brand-node.child .on-logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-1);
  text-transform: none;
}

.brand-node.child .on-logo span {
  color: var(--green-600);
  text-transform: none;
  letter-spacing: -0.02em;
  font-size: inherit;
  font-weight: inherit;
}

.brand-arrow {
  font-size: 1.25rem;
  color: var(--hrm-gray);
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.redirect-note {
  font-size: 14px;
  color: var(--text-3);
  margin-bottom: 24px;
}

.cta-note {
  font-size: 14px;
  color: var(--text-3);
  margin-bottom: 24px;
  max-width: 32rem;
  line-height: 1.55;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
}

.trust-list li::before {
  content: "✓";
  color: var(--green-600);
  margin-right: 6px;
}

/* Metric panel */
.hero-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--hrm-red);
}

.panel-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  margin-bottom: 18px;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.metric-card {
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px 16px;
}

.metric-card.highlight {
  background: linear-gradient(135deg, rgba(56, 118, 29, 0.10), rgba(133, 187, 101, 0.16));
  border-color: rgba(56, 118, 29, 0.18);
}

.metric-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-1);
  line-height: 1.1;
}

.metric-label {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-3);
  font-weight: 500;
}

.panel-foot {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-3);
  text-align: center;
  font-weight: 500;
}

/* Features */
.features {
  padding: 24px 0 64px;
}

.features h2 {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-1);
  margin-bottom: 10px;
}

.features-sub {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 28px;
  color: var(--text-3);
  font-size: 15px;
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-3);
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: #1a1a1a;
  color: rgba(255, 255, 255, 0.82);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 24px 20px;
}

.footer-logo-img {
  display: block;
  height: 40px;
  width: auto;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
  max-width: 26rem;
  line-height: 1.55;
}

.footer-tagline a {
  color: var(--green-400);
  font-weight: 600;
}

.footer-tagline a:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  font-weight: 500;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding: 16px 24px 22px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 640px) {
  .hero { padding-top: 36px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .nav-actions .btn-sm { width: auto; padding-inline: 14px; }
  .brand-bridge { flex-direction: column; align-items: flex-start; }
  .brand-arrow { transform: rotate(90deg); }
}
