@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

:root {
  --obsidian: #000000;
  --ghost: #f3f4f6;
  --ash: #374151;
  --sage: #84a98c;
  --sage-muted: rgba(132, 169, 140, 0.12);
  --sage-border: rgba(132, 169, 140, 0.35);
  --white: #ffffff;
  --shadow: rgba(0, 0, 0, 0.4);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;
  --gradient-header: linear-gradient(135deg, #000000 0%, #374151 100%);
  --gradient-launch: linear-gradient(160deg, #000000 0%, #000000 50%, #374151 100%);
  --gradient-primary: linear-gradient(135deg, #84a98c 0%, #374151 100%);
  --gradient-tab: linear-gradient(90deg, #84a98c 0%, #84a98c 100%);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ghost);
  background-color: var(--obsidian);
  background-image:
    radial-gradient(ellipse 70% 45% at 0% 0%, rgba(132, 169, 140, 0.08), transparent 55%),
    radial-gradient(ellipse 55% 40% at 100% 5%, rgba(55, 65, 81, 0.35), transparent 50%);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--sage);
  text-decoration: none;
  font-weight: 500;
}

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

.site-header {
  background: var(--gradient-header);
  color: var(--ghost);
  padding: 0.85rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  border-bottom: 2px solid var(--sage);
}

.site-header .inner,
.wrap,
.site-footer .inner {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none !important;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--sage-border), 0 0 16px rgba(132, 169, 140, 0.15);
}

.brand-wordmark {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ghost);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
  align-items: center;
}

.nav a {
  color: rgba(243, 244, 246, 0.82);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.25rem 0;
}

.nav a:hover,
.nav a.active {
  color: var(--sage);
  text-decoration: none;
  box-shadow: inset 0 -2px 0 var(--sage);
}

.wrap {
  padding: 2rem 1.5rem 3rem;
  flex: 1;
}

.card {
  background: rgba(55, 65, 81, 0.35);
  border: 1px solid var(--ash);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 2px 12px var(--shadow);
}

h1 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ghost);
  letter-spacing: -0.02em;
}

.meta {
  color: rgba(243, 244, 246, 0.55);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

h2 {
  margin: 1.75rem 0 0.6rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ghost);
}

h3 {
  font-weight: 600;
  color: var(--ghost);
}

p,
li {
  color: rgba(243, 244, 246, 0.88);
  font-weight: 400;
}

ul {
  padding-left: 1.25rem;
}

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
  color: var(--sage);
}

.cta {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.75rem 1.35rem;
  background: var(--sage);
  color: var(--obsidian) !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(132, 169, 140, 0.25);
}

.cta:hover {
  opacity: 0.92;
}

.cta-secondary {
  background: transparent;
  color: var(--ghost) !important;
  border: 1.5px solid var(--sage-border);
  box-shadow: none;
}

.hero {
  background: var(--gradient-launch);
  color: var(--ghost);
  border-radius: 20px;
  padding: 2.35rem 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ash);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(132, 169, 140, 0.12), transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(55, 65, 81, 0.4), transparent 42%);
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--ghost);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  max-width: 20ch;
}

.hero-kicker {
  margin: 0 0 0.55rem !important;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--sage) !important;
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: rgba(243, 244, 246, 0.75) !important;
  margin: 0 0 1rem !important;
}

.hero p {
  color: rgba(243, 244, 246, 0.88);
  max-width: 46ch;
  margin: 0.75rem 0 1.35rem;
  font-weight: 400;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

a.store-badge,
span.store-badge {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.7rem;
  width: fit-content;
  max-width: 240px;
  min-height: 56px;
  height: auto;
  box-sizing: border-box;
  padding: 8px 16px 8px 12px;
  background: #111111 !important;
  color: #ffffff !important;
  border-radius: 10px;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

span.store-badge.store-badge-disabled {
  opacity: 0.55;
  cursor: default;
  border-color: var(--ash);
}

a.store-badge svg.store-badge-icon,
span.store-badge svg.store-badge-icon {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px;
  min-height: 28px;
  max-width: 28px;
  max-height: 28px;
  flex: 0 0 28px !important;
  display: block !important;
  overflow: hidden;
}

a.store-badge .store-badge-text,
span.store-badge .store-badge-text {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  min-width: 0;
  line-height: 1.15;
}

a.store-badge:hover {
  opacity: 0.92;
  text-decoration: none !important;
}

a.store-badge .store-badge-label,
a.store-badge .store-badge-name,
span.store-badge .store-badge-label,
span.store-badge .store-badge-name {
  display: block !important;
  white-space: nowrap;
}

a.store-badge .store-badge-label,
span.store-badge .store-badge-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.2;
}

a.store-badge .store-badge-name,
span.store-badge .store-badge-name {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #ffffff;
}

a.store-badge.store-badge-on-light {
  background: #111111 !important;
}

.landing-section {
  margin: 2rem 0 0.5rem;
}

.landing-section h2 {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
}

.section-lead {
  margin: 0 0 1.1rem;
  max-width: 58ch;
  color: rgba(243, 244, 246, 0.75);
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  background: rgba(55, 65, 81, 0.35);
  border: 1px solid var(--ash);
  border-radius: 14px;
  padding: 0.95rem 1.05rem 0.95rem 3.4rem;
  position: relative;
  box-shadow: 0 2px 12px var(--shadow);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0.85rem;
  top: 0.95rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: var(--sage);
  color: var(--obsidian);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps strong {
  display: block;
  color: var(--ghost);
  margin-bottom: 0.15rem;
}

.download-banner {
  margin-top: 2rem;
  background: rgba(55, 65, 81, 0.35);
  border: 1px solid var(--ash);
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 2px 12px var(--shadow);
}

.download-banner h2 {
  margin: 0 0 0.4rem;
}

.download-banner p {
  margin: 0 0 1rem;
  max-width: 48ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

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

.feature {
  background: rgba(55, 65, 81, 0.35);
  border: 1px solid var(--ash);
  border-radius: 16px;
  padding: 1.2rem 1.1rem;
  box-shadow: 0 2px 12px var(--shadow);
  border-top: 3px solid var(--sage);
}

.feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.feature h3 a {
  color: var(--ghost);
}

.feature p {
  margin: 0;
  font-size: 0.94rem;
  color: rgba(243, 244, 246, 0.65);
}

.site-footer {
  background: var(--obsidian);
  color: rgba(243, 244, 246, 0.65);
  padding: 2.25rem 1.5rem 1.5rem;
  margin-top: auto;
  border-top: 2px solid var(--sage);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(2, 1fr);
  gap: 1.5rem 2rem;
  margin-bottom: 1.5rem;
}

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

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
}

.footer-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ghost);
}

.footer-blurb {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(243, 244, 246, 0.55);
  max-width: 34ch;
  font-weight: 400;
}

.footer-col h4 {
  margin: 0 0 0.65rem;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col a {
  display: block;
  color: rgba(243, 244, 246, 0.72);
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.footer-col a:hover {
  color: var(--sage);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--ash);
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(243, 244, 246, 0.45);
  font-weight: 400;
}

.footer-bottom a {
  color: rgba(243, 244, 246, 0.65);
  font-weight: 500;
}

.footer-bottom a:hover {
  color: var(--sage);
}
