/* HomeON static SEO pages — tokens aligned with AppSharedTheme (#29bf1c). */
:root {
  --ho-primary: #29bf1c;
  --ho-primary-soft: rgba(41, 191, 28, 0.12);
  --ho-primary-wash: rgba(41, 191, 28, 0.06);
  --ho-ink: #14201a;
  --ho-muted: #3f4f45;
  --ho-surface: #ffffff;
  --ho-surface-alt: #f4f7f4;
  --ho-border: #d7e0d8;
  --ho-on-primary: #ffffff;
  --ho-radius: 12px;
  --ho-max: 1080px;
  --ho-font: "Source Sans 3", "Segoe UI", "Helvetica Neue", sans-serif;
  --ho-display: "Source Serif 4", Georgia, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--ho-font);
  color: var(--ho-ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(41, 191, 28, 0.14), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(20, 60, 40, 0.08), transparent 55%),
    var(--ho-surface-alt);
  line-height: 1.55;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ho-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: #1f9615;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--ho-border);
  transition: box-shadow 0.2s ease;
}

.site-header:hover,
.site-header:focus-within {
  box-shadow: 0 8px 24px rgba(20, 32, 24, 0.06);
}

.site-header__inner,
.site-footer__inner,
.section-inner,
.legal-inner {
  width: min(var(--ho-max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  color: var(--ho-ink);
  text-decoration: none;
  font-family: var(--ho-display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.brand span {
  color: var(--ho-primary);
  display: inline-block;
  animation: brand-pulse 2.8s ease-in-out infinite;
}

@keyframes brand-pulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1px);
  }
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 0.85rem;
}

.nav a {
  color: var(--ho-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0.2rem;
}

.nav a[aria-current="page"] {
  color: var(--ho-primary);
}

.nav .btn {
  margin-left: 0.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 8px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.7rem 1.15rem;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ho-primary);
  color: var(--ho-on-primary);
}

.btn-primary:hover {
  background: #22a817;
  color: var(--ho-on-primary);
}

.btn-secondary {
  background: transparent;
  border-color: var(--ho-primary);
  color: var(--ho-primary);
}

.btn-secondary:hover {
  background: var(--ho-primary-soft);
  color: #1f9615;
}

.btn-on-green {
  background: var(--ho-surface);
  color: var(--ho-primary);
}

.btn-on-green:hover {
  background: #f2fff1;
  color: #1f9615;
}

.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero__panel {
  background: var(--ho-surface);
  border: 1px solid var(--ho-border);
  border-radius: calc(var(--ho-radius) + 4px);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 18px 40px rgba(20, 32, 24, 0.06);
  border-top: 4px solid var(--ho-primary);
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--ho-display);
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ho-ink);
}

.hero .lede {
  margin: 0 0 1.4rem;
  color: var(--ho-muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  max-width: 42rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section {
  padding: 2.75rem 0;
}

.section--alt {
  background: var(--ho-primary-wash);
  border-block: 1px solid var(--ho-border);
}

.section--cta {
  background: var(--ho-primary);
  color: var(--ho-on-primary);
}

.section--cta h2,
.section--cta p {
  color: var(--ho-on-primary);
}

.section h2 {
  margin: 0 0 0.65rem;
  font-family: var(--ho-display);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  letter-spacing: -0.015em;
  animation: section-fade 0.45s ease;
}

.section .section-lede {
  margin: 0 0 1.75rem;
  color: var(--ho-muted);
  max-width: 40rem;
}

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--ho-surface);
  border: 1px solid var(--ho-border);
  border-radius: var(--ho-radius);
  padding: 1.2rem 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20, 32, 24, 0.08);
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
}

.card p {
  margin: 0;
  color: var(--ho-muted);
  font-size: 0.96rem;
}

.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.2rem 1.2rem 1.2rem 4.1rem;
  background: var(--ho-surface);
  border: 1px solid var(--ho-border);
  border-radius: var(--ho-radius);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: var(--ho-primary);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.step h3 {
  margin: 0 0 0.35rem;
}

.step p {
  margin: 0;
  color: var(--ho-muted);
}

.mission {
  background: var(--ho-surface);
  border: 1px solid var(--ho-border);
  border-radius: var(--ho-radius);
  padding: 1.5rem;
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}

.mission h3 {
  margin: 0 0 0.6rem;
}

.mission p {
  margin: 0;
  color: var(--ho-muted);
}

.cross-link {
  margin-top: 1.25rem;
  font-size: 0.98rem;
}

.cross-link a {
  font-weight: 700;
}

.legal-page {
  padding: 2.5rem 0 3.5rem;
}

.legal-page h1 {
  margin: 0 0 0.5rem;
  font-family: var(--ho-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
}

.legal-meta {
  color: var(--ho-muted);
  margin: 0 0 1.75rem;
}

.legal-section {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--ho-border);
}

.legal-section:last-child {
  border-bottom: 0;
}

.legal-section h2 {
  margin: 0 0 0.7rem;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.legal-section p {
  margin: 0 0 0.75rem;
  white-space: pre-wrap;
}

.legal-section ul {
  margin: 0.4rem 0 0.8rem;
  padding-left: 1.2rem;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--ho-border);
  background: #101812;
  color: #d7e4da;
  padding: 2rem 0;
}

.site-footer a {
  color: #b8f0b0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin-bottom: 1rem;
}

.site-footer p {
  margin: 0;
  color: #9db0a4;
  font-size: 0.92rem;
}

@keyframes section-fade {
  from {
    opacity: 0.65;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 2rem;
  }

  .section {
    padding: 2rem 0;
  }

  .site-header__inner,
  .site-footer__inner,
  .section-inner,
  .legal-inner {
    width: min(var(--ho-max), calc(100% - 1.5rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
