:root {
  --bg: #f5f0e8;
  --text: #1a1a1a;
  --primary: #1B5E20;
  --muted: #666;
  --card-bg: #fff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --text: #e0e0e0;
    --primary: #4CAF50;
    --muted: #999;
    --card-bg: #1e1e1e;
  }
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--primary);
}

.page-home {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px 16px 40px;
}

.page-home .card {
  text-align: center;
  max-width: 720px;
  width: 100%;
}

.logo {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  margin-bottom: 24px;
}

h1 {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 8px;
}

h2 {
  color: var(--primary);
}

.tagline {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 24px;
}

.use-cases {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
  font-style: italic;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 auto 28px;
  text-align: left;
  max-width: 420px;
}

.features div {
  color: var(--muted);
  font-size: 15px;
  padding: 4px 0;
}

.screenshots {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 20px;
  margin: 0 auto 28px;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.screenshots img {
  flex: 0 0 auto;
  height: 420px;
  width: auto;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  scroll-snap-align: center;
}

.support {
  position: relative;
  overflow: hidden;
  margin: 0 auto 32px;
  padding: 32px;
  max-width: 640px;
  text-align: left;
  background: linear-gradient(145deg, color-mix(in srgb, var(--primary) 5%, var(--card-bg)), var(--card-bg) 42%);
  border: 1px solid color-mix(in srgb, var(--primary) 16%, transparent);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(27, 94, 32, 0.1);
}

.support::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #70b773);
  content: '';
}

.support-heading {
  max-width: 560px;
}

.support h2 {
  margin-bottom: 10px;
  font-size: 28px;
  line-height: 1.2;
}

.support .support-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.support-eyebrow span {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 14%, transparent);
}

.support .support-lead,
.support .support-invitation,
.support-message p {
  color: var(--muted);
  font-size: 15px;
}

.support .support-lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}

.support-message {
  display: flex;
  gap: 14px;
  margin: 24px 0 18px;
  padding: 16px;
  background: color-mix(in srgb, var(--primary) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 13%, transparent);
  border-radius: 14px;
}

.support-message-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--primary);
  border-radius: 10px;
}

.support-message strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
  font-size: 15px;
}

.support-message p {
  margin: 0;
  line-height: 1.55;
}

.support .support-invitation {
  margin: 0;
  line-height: 1.6;
}

.support-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.support-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 76px;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  color: var(--text);
  background: var(--card-bg);
  border: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
  border-radius: 14px;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.support-option:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--primary) 55%, transparent);
  box-shadow: 0 8px 20px rgba(27, 94, 32, 0.12);
}

.support-option:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 30%, transparent);
  outline-offset: 2px;
}

.support-option-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  border-radius: 11px;
  font-size: 20px;
  font-weight: 800;
}

.support-option-icon-paypal {
  background: #0878c9;
}

.support-option-icon-bitcoin {
  background: #f7931a;
}

.support-option-copy {
  min-width: 0;
}

.support-option-copy strong,
.support-option-copy small,
.support-option-copy code {
  display: block;
}

.support-option-copy strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
}

.support-option-copy small,
.support-option-copy code {
  overflow: hidden;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-option-action {
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
}

.support-option-action-copy {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.support .copy-status {
  min-height: 20px;
  margin: 10px 0 -12px;
  text-align: right;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
}

.download {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.store-badge {
  display: inline-block;
  line-height: 0;
  transition: transform 0.2s, opacity 0.2s;
}

.store-badge:hover {
  transform: scale(1.03);
  opacity: 0.92;
}

.store-badge img {
  height: 50px;
  width: auto;
}

.links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.links a {
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--primary);
  padding: 10px 24px;
  border-radius: 10px;
  transition: 0.2s;
}

.links a:hover {
  background: var(--primary);
  color: #fff;
}

footer {
  margin-top: 36px;
  font-size: 13px;
  color: var(--muted);
}

.page-privacy {
  padding: 24px 16px 40px;
}

.page-privacy .container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card-bg);
  padding: 40px 32px;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.back-link:hover {
  text-decoration: underline;
}

.page-privacy h1 {
  font-size: 28px;
  margin-bottom: 8px;
}

.page-privacy h2 {
  color: var(--primary);
  font-size: 20px;
  margin: 28px 0 12px;
}

.page-privacy h3 {
  color: var(--primary);
  font-size: 16px;
  margin: 16px 0 8px;
}

.page-privacy p,
.page-privacy li {
  color: var(--muted);
  font-size: 15px;
}

.page-privacy ul {
  padding-left: 20px;
  margin: 8px 0 16px;
}

.page-privacy li {
  margin-bottom: 6px;
}

.page-privacy footer {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--muted);
}

@media (max-width: 480px) {
  h1 {
    font-size: 28px;
  }

  .tagline {
    font-size: 16px;
  }

  .download {
    flex-direction: column;
    align-items: center;
  }

  .store-badge img {
    height: 44px;
  }

  .screenshots img {
    height: 360px;
  }

  .page-privacy .container {
    padding: 28px 20px;
  }

  .support {
    padding: 28px 20px 26px;
    border-radius: 20px;
  }

  .support h2 {
    font-size: 25px;
  }

  .support .support-lead {
    font-size: 15px;
  }

  .support-message {
    align-items: flex-start;
    margin-top: 20px;
    padding: 14px;
  }

  .support-actions {
    grid-template-columns: 1fr;
  }

  .support-option {
    width: 100%;
    min-height: 70px;
  }

  .support .copy-status {
    text-align: center;
  }
}
