
:root {
  --bg: #020617;
  --bg-alt: #020617;
  --card: #020617;
  --border-subtle: #1f2937;
  --accent: #22c55e;
  --accent-soft: rgba(34,197,94,0.18);
  --text: #f9fafb;
  --muted: #9ca3af;
  --muted-soft: #6b7280;
}

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

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #020617 0, #020617 40%, #020617 100%);
  color: var(--text);
  min-height: 100vh;
}

body.alt {
  background: #020617;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 5vw;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: linear-gradient(to bottom, rgba(3,7,18,0.95), rgba(3,7,18,0.6));
  border-bottom: 1px solid #111827;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.logo a {
  color: inherit;
}

.logo .atx {
  color: var(--accent);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.85rem;
}

.main-nav a {
  color: var(--muted);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
}

.hero {
  padding: 4rem 5vw 3rem;
  animation: fadeUp 0.45s ease-out both;
}

.hero.compact {
  padding: 3rem 5vw 1rem;
}

.hero-content {
  max-width: 840px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(15,23,42,0.85);
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--muted);
  max-width: 640px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.08s ease;
}

.btn.small {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

.btn.primary {
  background: var(--accent);
  color: #111827;
  font-weight: 600;
}

.btn.primary:hover {
  background: #16a34a;
  transform: translateY(-1px);
}

.btn.ghost {
  background: transparent;
  border-color: #374151;
  color: var(--muted);
}

.btn.ghost:hover {
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-1px);
}

.founding-note {
  margin-top: 1.75rem;
  font-size: 0.9rem;
  color: var(--muted-soft);
}

.founding-note .highlight {
  color: var(--accent);
}

.section {
  padding: 2.75rem 5vw 2.5rem;
}

.section h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  animation: fadeUp 0.45s ease-out both;
}

.section-intro {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 640px;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  border-radius: 1rem;
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top left, rgba(34,197,94,0.08), #020617);
  padding: 1.25rem 1.3rem;
  animation: fadeUp 0.45s ease-out both;
}

.card h3 {
  font-size: 1rem;
  margin: 0 0 0.35rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--muted);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.steps li {
  border-radius: 1rem;
  border: 1px solid var(--border-subtle);
  padding: 1.1rem 1.2rem;
  background: radial-gradient(circle at top left, rgba(56,189,248,0.06), #020617);
  animation: fadeUp 0.45s ease-out both;
}

.steps h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

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

.note {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted-soft);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
  margin-top: 1.5rem;
}

.pricing-card {
  border-radius: 1.1rem;
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top, rgba(34,197,94,0.06), #020617);
  padding: 1.3rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  animation: fadeUp 0.45s ease-out both;
  transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(34,197,94,0.45);
  background: radial-gradient(circle at top, rgba(34,197,94,0.12), #020617);
}

.pricing-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.zone-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.price {
  font-size: 1.3rem;
  font-weight: 600;
}

.price span {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
  margin-left: 0.25rem;
}

.price-tagline {
  font-size: 0.85rem;
  color: var(--muted-soft);
  margin-bottom: 0.25rem;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  display: grid;
  gap: 0.35rem;
}

.pricing-card li::before {
  content: "•";
  margin-right: 0.35rem;
  color: var(--accent);
}

.sub {
  font-size: 0.8rem;
  color: var(--muted-soft);
}

.inline-link {
  text-decoration: underline;
  text-decoration-color: rgba(148,163,184,0.6);
  text-underline-offset: 2px;
}

.inline-link:hover {
  text-decoration-color: var(--accent);
}

.sweatpals-logo {
  height: 1em;
  vertical-align: -0.15em;
  margin-right: 0.25rem;
}

.site-footer {
  padding: 1.75rem 5vw 2.2rem;
  border-top: 1px solid #111827;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--muted-soft);
}

.footer-right a {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--muted);
}

.footer-right a:hover {
  color: var(--text);
}

.tiny {
  font-size: 0.75rem;
  color: #6b7280;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card.card-bg {
  background-image: url("cards-sample.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.card.card-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(15,23,42,0.7), rgba(15,23,42,0.95));
}

.card.card-bg > * {
  position: relative;
}

@media (max-width: 640px) {
  .hero {
    padding-top: 3rem;
  }
  .site-header {
    padding-inline: 1.25rem;
  }
  .section {
    padding-inline: 1.25rem;
  }
  .main-nav {
    gap: 0.7rem;
    font-size: 0.78rem;
  }
  .logo {
    font-size: 0.8rem;
  }
}
