:root {
  --red: #c62828;
  --red-soft: rgba(198, 40, 40, 0.07);
  --red-glow: rgba(198, 40, 40, 0.15);
  --gold: #e8a020;
  --dark: #1c2b1d;
  --bg: #fafaf8;
  --surface: #f3f0eb;
  --muted: #69796b;
  --border: #e2ddd6;
  --radius: 16px;
  --radius-sm: 10px;
  --max-w: 1080px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-sm: 0 1px 3px rgba(28, 43, 29, 0.06), 0 1px 2px rgba(28, 43, 29, 0.04);
  --shadow-md: 0 4px 20px rgba(28, 43, 29, 0.10), 0 2px 8px rgba(28, 43, 29, 0.05);
  --shadow-red: 0 2px 8px rgba(198, 40, 40, 0.22), 0 1px 2px rgba(198, 40, 40, 0.15);
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; max-width: 100%; }

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--dark);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.logo-link:hover { opacity: 0.7; text-decoration: none; }
.logo-link img { height: 30px; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav .nav-text {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}
.site-nav .nav-text:hover { color: var(--dark); text-decoration: none; }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.72rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn:hover { opacity: 0.9; text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); opacity: 1; }

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  box-shadow: 0 4px 16px rgba(198, 40, 40, 0.3), 0 2px 6px rgba(198, 40, 40, 0.18);
}

.btn-outline {
  border: 1.5px solid var(--border);
  color: var(--dark);
  background: transparent;
}
.btn-outline:hover { border-color: rgba(28, 43, 29, 0.4); text-decoration: none; }

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

.hero {
  padding: 6rem 0 5rem;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% -5%, var(--red-glow) 0%, transparent 65%);
}

.hero-logo {
  height: 88px;
  width: auto;
  margin: 0 auto 2rem;
  filter: drop-shadow(0 4px 18px rgba(198, 40, 40, 0.2));
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--dark);
  max-width: 700px;
  margin: 0 auto 1.4rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--red);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.hero-sub p {
  margin-bottom: 0.35rem;
}
.hero-sub p:last-child {
  margin-bottom: 0;
}

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

.hero-note {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--muted);
  opacity: 0.75;
}

/* ── Section headings ──────────────────────── */

.section-label {
  text-align: center;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-display);
  text-align: center;
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  font-weight: 700;
  margin-bottom: 2.75rem;
  color: var(--dark);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

/* ── Features ──────────────────────────────── */

.features {
  padding: 5rem 0;
  background: var(--surface);
}

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

.feature-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--red-soft);
  border: 1px solid rgba(198, 40, 40, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 1.1rem;
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--dark);
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

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

.how-it-works {
  padding: 5rem 0;
}

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

.step {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-red);
}

.step-content h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  margin-top: 0.4rem;
  color: var(--dark);
  letter-spacing: -0.01em;
}

.step-content p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── CTA band ──────────────────────────────── */

.cta-band {
  padding: 5.5rem 0;
  background: var(--dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 90% at 50% 50%, rgba(198, 40, 40, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.025em;
  position: relative;
}

.cta-band > .container > p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  margin-bottom: 2.25rem;
  position: relative;
}

.cta-band .hero-actions {
  position: relative;
}

.cta-band .btn-primary {
  background: var(--gold);
  color: var(--dark);
  box-shadow: 0 2px 8px rgba(232, 160, 32, 0.3), 0 4px 20px rgba(232, 160, 32, 0.15);
}
.cta-band .btn-primary:hover {
  box-shadow: 0 4px 16px rgba(232, 160, 32, 0.4), 0 6px 24px rgba(232, 160, 32, 0.2);
}

.btn-coffee {
  background: #fff;
  color: var(--dark);
  padding: 0.6rem 1.4rem;
  box-shadow: 0 2px 12px rgba(255, 255, 255, 0.1);
}
.btn-coffee:hover {
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.18);
}

.bmc-logo {
  height: 22px;
  width: auto;
  display: block;
}

.cta-band .hero-actions {
  flex-direction: column;
  align-items: center;
}

.cta-band .btn-outline {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.65);
}
.cta-band .btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  text-decoration: none;
}

.cta-support {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  position: relative;
}
.cta-support a {
  color: var(--gold);
}
.cta-support a:hover { text-decoration: underline; }

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

.site-footer {
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--dark);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.footer-logo:hover { text-decoration: none; opacity: 0.65; }
.footer-logo img { height: 24px; width: auto; }

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.84rem;
  color: var(--muted);
}
.footer-links a:hover { color: var(--dark); text-decoration: none; }

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 1rem;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  opacity: 0.65;
}

/* ── Prose (privacy page) ──────────────────── */

.prose-wrap {
  padding: 4rem 0 5rem;
}

.prose-wrap h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.4rem;
}

.prose-wrap .meta {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 2.75rem;
}

.prose-wrap h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 2.25rem 0 0.6rem;
  color: var(--dark);
  letter-spacing: -0.01em;
}

.prose-wrap p,
.prose-wrap ul {
  font-size: 0.95rem;
  color: #3d4f3e;
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: 680px;
}

.prose-wrap ul {
  padding-left: 1.4rem;
}

.prose-wrap li { margin-bottom: 0.35rem; }

.prose-wrap a { color: var(--red); }

.prose-wrap .callout {
  background: var(--surface);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.925rem;
  color: var(--dark);
  max-width: 680px;
}

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

@media (max-width: 640px) {
  .hero { padding: 4rem 0 3.5rem; }
  .hero-logo { height: 72px; }
  .site-nav .nav-text { display: none; }
  .site-footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-links { gap: 1rem; }
}
