/*
 * Zeckly website
 * Plain CSS, mobile-first, no framework. Two breakpoints:
 *  - default: phone
 *  - 760px+: tablet/desktop
 */

:root {
  --primary: #3D7B3F;
  --primary-dark: #2A5C2C;
  --primary-light: #7AAA7C;
  --accent: #D14444;
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --surface-muted: #F1F1ED;
  --text: #1B1F1B;
  --text-muted: #5C615C;
  --border: #E2E3DE;
  --max-width: 960px;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
    Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a:hover,
a:focus-visible {
  text-decoration: underline;
}

img,
svg {
  display: block;
  max-width: 100%;
}

/* ------------------------------------------------- header / nav */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
  font-size: 20px;
}

.brand img {
  width: 36px;
  height: 36px;
}

.lang-switch {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lang-switch a {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.lang-switch a:hover {
  background: var(--surface-muted);
  color: var(--text);
  text-decoration: none;
}

.lang-switch a.active {
  background: var(--primary);
  color: #fff;
}

/* ------------------------------------------------- hero */
.hero {
  padding: 64px 20px 48px;
  text-align: center;
}

.hero .container {
  max-width: 720px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 38px;
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 700;
}

.hero .lead {
  font-size: 19px;
  color: var(--text-muted);
  margin: 0 0 32px;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 0 0 12px;
}

.badge {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}

.badge.disabled {
  background: var(--text-muted);
  cursor: not-allowed;
  pointer-events: none;
}

.coming-soon {
  font-size: 14px;
  color: var(--text-muted);
  margin: 8px 0 0;
}

/* ------------------------------------------------- features */
.features {
  padding: 32px 20px 64px;
}

.features .container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.feature {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.feature h2 {
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--primary-dark);
}

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

/* ------------------------------------------------- pricing */
.pricing {
  padding: 32px 20px 64px;
  background: var(--surface-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing .container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.pricing h2 {
  font-size: 26px;
  margin: 0 0 24px;
  text-align: center;
}

.tiers {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.tier {
  background: var(--surface);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.tier.full {
  border: 2px solid var(--primary);
}

.tier h3 {
  margin: 0 0 4px;
  font-size: 22px;
}

.tier .price {
  font-size: 28px;
  color: var(--primary);
  font-weight: 700;
  margin: 0 0 16px;
}

.tier ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tier li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 15px;
}

.tier li:last-child {
  border-bottom: 0;
}

.tier li::before {
  content: '✓  ';
  color: var(--primary);
  font-weight: 700;
}

/* ------------------------------------------------- disclaimer */
.disclaimer {
  padding: 24px 20px;
  text-align: center;
}

.disclaimer .container {
  max-width: 720px;
  margin: 0 auto;
  font-size: 14px;
  color: var(--text-muted);
}

/* ------------------------------------------------- footer */
.site-footer {
  padding: 28px 20px 40px;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.site-footer a {
  color: var(--text-muted);
}

.site-footer .sep {
  margin: 0 8px;
}

/* ------------------------------------------------- privacy / long copy pages */
.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px;
}

.prose h1 {
  font-size: 32px;
  margin: 0 0 8px;
}

.prose .meta {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 32px;
}

.prose h2 {
  font-size: 22px;
  margin: 32px 0 8px;
  color: var(--primary-dark);
}

.prose p,
.prose li {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}

.prose ul {
  padding-left: 22px;
}

/* ------------------------------------------------- desktop */
@media (min-width: 760px) {
  .hero {
    padding: 96px 20px 72px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero .lead {
    font-size: 20px;
  }
  .features .container {
    grid-template-columns: repeat(2, 1fr);
  }
  .tiers {
    grid-template-columns: 1fr 1fr;
  }
}
