/* RaketMo marketing — static site, matches app brand tokens */
:root {
  --color-bg: #ffffff;
  --color-fg: #0a0a0a;
  --color-muted: #525252;
  --color-border: rgba(0, 0, 0, 0.08);
  --color-surface: #f8faf8;
  --brand-primary: #52ab61;
  --brand-secondary: #6f9e77;
  --brand-dark: #1c4723;
  --brand-tint: rgba(82, 171, 97, 0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --font: "Poppins", system-ui, -apple-system, sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.5rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-fg);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brand-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
}

/* Fixed over full-screen banner; stays at top on scroll */
.site-header--overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo:hover {
  text-decoration: none;
  opacity: 0.92;
}

.site-logo {
  display: block;
  width: 165px;
  height: auto;
  flex-shrink: 0;
}

.site-logo--footer {
  width: 140px;
  max-width: 100%;
}

.nav-primary {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-primary a {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-muted);
  text-decoration: none;
}

.nav-primary a:hover {
  color: var(--color-fg);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(180deg, var(--brand-primary) 0%, #3d8a4a 100%);
  color: #fff;
}

.btn-primary:hover {
  color: #fff;
  opacity: 0.95;
}

/* Nav CTA: flat, white label (no shadow) */
.nav-primary .btn-header-cta.btn-primary {
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--color-fg);
  border: 1px solid var(--color-border);
}

.btn-ghost:hover {
  background: var(--color-surface);
  color: var(--color-fg);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-fg);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--color-fg);
  transition: transform 0.2s ease;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-primary {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    gap: 0;
    display: none;
  }

  .nav-primary.is-open {
    display: flex;
  }

  .nav-primary a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-primary .btn-primary {
    margin-top: 0.75rem;
    text-align: center;
  }
}

/* Layout */
section {
  padding: 4.5rem 1.25rem;
}

section.hero-immersive {
  padding: 0;
}

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

section h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.lead {
  color: var(--color-muted);
  font-size: 1.125rem;
  max-width: 36rem;
  margin: 0 0 2.5rem;
}

/* Full-viewport banner only (copy + badges live in .hero-intro below) */
.hero-immersive {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: #e8f0e9;
}

.hero-immersive__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-immersive__banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-immersive__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.25) 0%, transparent 35%);
}

/* Intro row below banner: headline, App Store / Play badges */
.hero-intro {
  padding: 3rem 1.25rem 4rem;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.hero-intro__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.hero-intro__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-secondary);
  margin: 0 0 0.5rem;
}

.hero-intro__title {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  color: var(--color-fg);
  max-width: 28rem;
}

.hero-intro__sub {
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0 0 1.5rem;
  max-width: 38rem;
  color: var(--color-muted);
}

.hero-intro__note {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin: 0.75rem 0 0;
  max-width: 40rem;
}

.hero-intro__badges {
  margin-bottom: 0;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: var(--brand-tint);
  border: 1px solid var(--color-border);
  max-width: fit-content;
}

@media (max-width: 600px) {
  .hero-intro__badges {
    flex-direction: column;
    align-items: flex-start;
  }
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.store-badges a {
  display: block;
  line-height: 0;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.store-badges a:hover {
  text-decoration: none;
  transform: scale(1.02);
  opacity: 0.95;
}

.store-badges img {
  height: 48px;
  width: auto;
}

/* Strip */
.trust-strip {
  padding: 1.25rem 1.25rem;
  background: var(--brand-tint);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.trust-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-muted);
}

.trust-inner strong {
  color: var(--brand-dark);
  font-weight: 600;
}

/* Feature cards */
.features {
  background: #fff;
}

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

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  padding: 1.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  height: 100%;
}

.card-accent {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: var(--brand-primary);
  margin-bottom: 1rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* How it works */
.how {
  background: var(--color-surface);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}

@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  position: relative;
  padding-left: 0;
  text-align: left;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

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

/* Audience */
.audience {
  background: #fff;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .audience-grid {
    grid-template-columns: 1fr;
  }
}

.audience-card {
  border-radius: var(--radius);
  padding: 2rem;
  min-height: 220px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.audience-card.poster {
  background: linear-gradient(135deg, var(--brand-dark) 0%, #2a6b35 100%);
}

.audience-card.worker {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
}

.audience-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.audience-card p {
  margin: 0;
  opacity: 0.95;
  font-size: 0.98rem;
  line-height: 1.55;
  position: relative;
  z-index: 1;
  max-width: 22rem;
}

/* CTA */
.cta {
  text-align: center;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 4rem 1.25rem;
}

.cta h2 {
  margin-bottom: 0.75rem;
}

.cta p {
  color: var(--color-muted);
  margin: 0 auto 1.5rem;
  max-width: 32rem;
}

/* FAQ */
.faq {
  background: var(--color-surface);
  padding-bottom: 4rem;
}

.faq details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  margin-bottom: 0.75rem;
  padding: 0 1.25rem;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  padding: 1.1rem 0;
  font-size: 0.98rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0.75rem;
}

.faq .answer {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  padding-bottom: 1rem;
  margin: 0;
}

/* Footer */
.site-footer {
  background: #fafafa;
  border-top: 1px solid var(--color-border);
  padding: 3rem 1.25rem 2rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand .logo {
  margin-bottom: 0.5rem;
}

.site-footer h4 {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-fg);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.5rem;
}

.site-footer a {
  color: var(--color-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--brand-primary);
  text-decoration: underline;
}

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

/* utilities */
.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-0 {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .header-inner .btn-primary {
    display: none;
  }

  .nav-primary.is-open .btn-primary {
    display: flex;
  }
}
