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

:root {
  --green-500: #3f8a30;
  --green-600: #306e24;
  --green-50:  #f0f7ee;
  --stone-50:  #fafaf8;
  --stone-100: #f3f2ef;
  --stone-200: #e5e3dc;
  --stone-600: #6e6a5e;
  --stone-900: #252320;
  --earth-500: #8c6133;
  --amber-500: #dc8a08;

  --radius: 0.5rem;
  --radius-lg: 0.75rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--stone-50);
  color: var(--stone-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--green-500);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ── Layout ──────────────────────────────────────────────────── */

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Header ──────────────────────────────────────────────────── */

header {
  background: var(--stone-50);
  border-bottom: 1px solid var(--stone-200);
  position: sticky;
  top: 0;
  z-index: 10;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
}

.wordmark {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-500);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.wordmark img {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.375rem;
}

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

nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--stone-600);
  transition: color 0.15s;
}

nav a:hover {
  color: var(--stone-900);
  text-decoration: none;
}

/* ── Buttons ─────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
  text-decoration: none;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--green-500);
  color: #fff;
}

.btn-primary:hover {
  background: var(--green-600);
}

.btn-outline {
  background: transparent;
  color: var(--stone-900);
  border: 1.5px solid var(--stone-200);
}

.btn-outline:hover {
  background: var(--stone-100);
}

/* ── Hero ────────────────────────────────────────────────────── */

.hero {
  background: linear-gradient(160deg, var(--green-50) 0%, var(--stone-50) 60%);
  padding: 5rem 0 4rem;
  text-align: center;
}

.hero-logo {
  width: 5rem;
  height: 5rem;
  border-radius: var(--radius-lg);
  margin: 0 auto 1.5rem;
  display: block;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--stone-900);
  max-width: 600px;
  margin: 0 auto 0.75rem;
  letter-spacing: -0.03em;
}

.hero p {
  font-size: 1.125rem;
  color: var(--stone-600);
  max-width: 480px;
  margin: 0 auto 2rem;
}

.hero-ctas {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Download ────────────────────────────────────────────────── */

.download {
  background: var(--stone-100);
  border-top: 1px solid var(--stone-200);
  border-bottom: 1px solid var(--stone-200);
  padding: 3rem 0;
  text-align: center;
}

.download h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.download p {
  color: var(--stone-600);
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

.download-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-dl {
  background: var(--stone-900);
  color: #fff;
  padding: 0.75rem 1.5rem;
}

.btn-dl:hover {
  background: #111;
}

.btn-dl svg {
  flex-shrink: 0;
}

/* ── Install PWA ─────────────────────────────────────────────── */

.pwa-install {
  padding: 4rem 0;
  border-bottom: 1px solid var(--stone-200);
}

.pwa-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.pwa-header h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pwa-header p {
  color: var(--stone-600);
  font-size: 0.9375rem;
  max-width: 480px;
  margin: 0 auto 1.25rem;
  line-height: 1.55;
}

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

.pwa-platform {
  background: var(--stone-100);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  padding: 1.125rem;
}

.platform-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.pwa-platform h4 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
  color: var(--stone-900);
}

.pwa-steps-list {
  list-style: none;
  counter-reset: pwa-step;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pwa-steps-list li {
  counter-increment: pwa-step;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--stone-600);
  line-height: 1.45;
}

.pwa-steps-list li::before {
  content: counter(pwa-step);
  background: var(--stone-200);
  color: var(--stone-900);
  font-size: 0.6875rem;
  font-weight: 700;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  background: var(--stone-200);
  border-radius: 0.25rem;
  padding: 0 0.25rem;
  line-height: 1.6;
}


/* ── How it works ────────────────────────────────────────────── */

.how {
  padding: 4rem 0;
}

.how h2 {
  text-align: center;
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
}

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

.card {
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.card p {
  font-size: 0.875rem;
  color: var(--stone-600);
  line-height: 1.55;
}

/* ── Setup teaser ────────────────────────────────────────────── */

.setup {
  background: var(--green-50);
  border-top: 1px solid var(--stone-200);
  border-bottom: 1px solid var(--stone-200);
  padding: 4rem 0;
}

.setup .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.setup h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.setup .subtitle {
  color: var(--stone-600);
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}

.steps {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.steps li {
  counter-increment: step;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--stone-900);
}

.steps li::before {
  content: counter(step);
  background: var(--green-500);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.setup-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.setup-feature {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-item {
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  padding: 1rem 1.125rem;
}

.feature-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.feature-item p {
  font-size: 0.825rem;
  color: var(--stone-600);
  line-height: 1.5;
}

/* ── Footer ──────────────────────────────────────────────────── */

footer {
  padding: 2rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--stone-600);
  border-top: 1px solid var(--stone-200);
}

footer a {
  color: var(--stone-600);
  font-weight: 500;
}

footer a:hover {
  color: var(--stone-900);
}

footer .footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  align-items: center;
}

/* ── Responsive ──────────────────────────────────────────────── */

@media (max-width: 640px) {
  .setup .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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