/* Amara web — palette mirrors apps/mobile/src/theme/index.ts. */

:root {
  --cream: #F7F3EB;
  --card: #FFFFFF;
  --muted: #EFEAE0;
  --sponsored: #EDE9DF;
  --green: #1A4226;
  --green-soft: #D2E1CD;
  --text-primary: #1A1A1A;
  --text-secondary: #6B6B66;
  --text-disabled: #A7A39A;
  --divider: #EDE9DF;
  --border: #E6E0D2;
  --alert-red: #A82323;
  --alert-red-soft: #F6D6D2;
  --radius-card: 20px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.wordmark {
  font-size: 28px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.5px;
}

.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px;
}

header {
  padding: 32px 24px 24px;
  text-align: center;
}

main {
  padding: 0 24px 48px;
}

h1 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 16px;
  line-height: 1.2;
}

h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 32px 0 12px;
}

p {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0 0 16px;
}

ol, ul {
  margin: 0 0 24px;
  padding-left: 20px;
  color: var(--text-secondary);
}

ol li, ul li {
  margin-bottom: 8px;
  font-size: 16px;
}

ol li::marker, ul li::marker {
  color: var(--green);
  font-weight: 700;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  margin-bottom: 16px;
}

.card h2 {
  margin-top: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: opacity 0.15s ease;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn:active { opacity: 0.85; }

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

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}

.btn-block {
  display: flex;
  width: 100%;
}

.store-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store-buttons .btn {
  flex: 1 1 200px;
  min-width: 0;
}

footer {
  padding: 32px 24px 48px;
  text-align: center;
  font-size: 13px;
  color: var(--text-disabled);
}

footer p { color: var(--text-disabled); font-size: 13px; }

.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.error {
  background: var(--alert-red-soft);
  color: var(--alert-red);
  padding: 16px 20px;
  border-radius: var(--radius-card);
  font-size: 15px;
}

@media (max-width: 480px) {
  h1 { font-size: 26px; }
  h2 { font-size: 20px; }
  .container { padding: 16px; }
  header { padding: 24px 16px 16px; }
  main { padding: 0 16px 32px; }
}
