/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #16a34a;
  --green-light: #dcfce7;
  --green-dark: #15803d;
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-900: #1c1917;
  --red-light: #fef2f2;
  --red: #dc2626;
  --amber: #d97706;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --max-w: 1200px;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--stone-900);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 100px;
  transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { background: var(--green-dark); box-shadow: 0 4px 16px rgba(22,163,74,0.25); transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn-sm { font-size: 13px; padding: 8px 18px; }
.btn-lg { font-size: 17px; padding: 16px 32px; }

.btn-white {
  background: #fff;
  color: var(--green);
}
.btn-white:hover { background: #f0fdf4; box-shadow: 0 4px 16px rgba(0,0,0,0.1); }

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stone-100);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  color: var(--stone-900);
  text-decoration: none;
}
.nav-logo:hover { text-decoration: none; opacity: 0.8; }

.logo-icon {
  width: 28px; height: 28px;
  background: var(--green);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--stone-500);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-link:hover, .nav-link.active { color: var(--green); text-decoration: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--stone-900);
  border-radius: 2px;
  transition: 0.2s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--stone-100);
  background: #fff;
}
.nav-mobile a {
  font-size: 16px;
  font-weight: 500;
  color: var(--stone-600);
  padding: 10px 0;
  text-decoration: none;
  border-bottom: 1px solid var(--stone-100);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile.open { display: flex; }

/* ── Pill ────────────────────────────────────────────────────── */
.pill {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
  position: relative;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow { margin-bottom: 20px; }

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--stone-900);
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: italic;
  color: var(--green);
}

.hero-sub {
  font-size: 18px;
  color: var(--stone-500);
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 13px;
  color: var(--stone-400);
  font-weight: 500;
}

/* Scan demo widget */
.hero-visual {
  display: flex;
  justify-content: center;
}

.scan-demo {
  background: var(--stone-50);
  border: 1px solid var(--stone-200);
  border-radius: 20px;
  padding: 28px;
  width: 100%;
  max-width: 340px;
  position: relative;
  overflow: hidden;
}

.scan-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  animation: scanLine 2.5s ease-in-out infinite;
}

@keyframes scanLine {
  0% { top: 0; opacity: 1; }
  80% { top: 100%; opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.scan-result {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.result-verdict {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 4px;
}
.result-verdict.avoid {
  background: #fef2f2;
  color: #dc2626;
}

.result-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--stone-600);
  line-height: 1.4;
}

.flag-red { color: #dc2626; font-size: 10px; margin-top: 4px; flex-shrink: 0; }
.flag-amber { color: #d97706; font-size: 10px; margin-top: 4px; flex-shrink: 0; }
.flag-green { color: var(--green); font-size: 10px; margin-top: 4px; flex-shrink: 0; }

/* ── Features ────────────────────────────────────────────────── */
.features {
  background: var(--stone-50);
  padding: 96px 0;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
}

.feature-card { }

.feature-icon {
  width: 48px; height: 48px;
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--green);
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--stone-900);
}

.feature-card p {
  font-size: 15px;
  color: var(--stone-500);
  line-height: 1.65;
}

/* ── Philosophy ──────────────────────────────────────────────── */
.philosophy {
  padding: 112px 0;
}

.philosophy-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.philosophy-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}

.philosophy-headline {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 56px);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.philosophy-body {
  font-size: 18px;
  color: var(--stone-500);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 48px;
}

.philosophy-divider {
  width: 48px;
  height: 1px;
  background: var(--stone-200);
  margin: 48px auto;
}

.philosophy-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--stone-600);
  line-height: 1.6;
}

/* ── CTA Banner ──────────────────────────────────────────────── */
.cta-banner {
  background: var(--stone-900);
  padding: 80px 0;
}

.cta-inner {
  text-align: center;
}

.cta-inner h2 {
  font-family: var(--font-serif);
  font-size: 40px;
  color: #fff;
  margin-bottom: 12px;
}

.cta-inner p {
  font-size: 16px;
  color: var(--stone-400);
  margin-bottom: 36px;
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--stone-50);
  border-top: 1px solid var(--stone-100);
  padding: 64px 0 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--stone-500);
  line-height: 1.65;
}

.footer-links {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-400);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 14px;
  color: var(--stone-600);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--green); }

.footer-bottom {
  border-top: 1px solid var(--stone-200);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom span {
  font-size: 13px;
  color: var(--stone-400);
}

.footer-tagline { font-style: italic; }

/* ── Page (inner pages) ──────────────────────────────────────── */
.page-main {
  padding-top: 120px;
  padding-bottom: 96px;
}

.page-header {
  margin-bottom: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--stone-100);
}

.page-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 16px;
  margin-bottom: 16px;
}

.page-effective {
  font-size: 14px;
  color: var(--stone-400);
  margin-top: 8px;
}

/* ── Prose content ───────────────────────────────────────────── */
.prose-content {
  max-width: 720px;
}

.prose-section {
  margin-bottom: 64px;
}

.prose-section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--stone-900);
}

.prose-section p {
  font-size: 17px;
  color: var(--stone-600);
  line-height: 1.75;
  margin-bottom: 16px;
}

.prose-divider {
  width: 48px;
  height: 2px;
  background: var(--green-light);
  margin: 48px 0;
}

/* How it works steps */
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 24px;
}

.how-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.how-step-num {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--stone-200);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
}

.how-step-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--stone-900);
}

.how-step-content p {
  font-size: 15px;
  color: var(--stone-500);
  line-height: 1.65;
  margin: 0;
}

/* Don't list */
.dont-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.dont-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  color: var(--stone-600);
}

.dont-x {
  color: var(--red);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

/* ── Legal content ───────────────────────────────────────────── */
.legal-content {
  max-width: 760px;
}

.legal-callout {
  padding: 20px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 40px;
}

.legal-callout.green {
  background: var(--green-light);
  color: var(--green-dark);
  border-left: 3px solid var(--green);
}

.legal-callout.red {
  background: var(--red-light);
  color: var(--red);
  border-left: 3px solid var(--red);
  margin-top: 24px;
}

.legal-section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--stone-100);
}
.legal-section:last-child { border-bottom: none; }

.legal-section h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--stone-900);
}

.legal-section h3 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 10px;
  color: var(--stone-700, #44403c);
}

.legal-section p {
  font-size: 15px;
  color: var(--stone-600);
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-section em {
  font-style: italic;
  color: var(--stone-500);
}

.legal-section ul {
  margin: 12px 0 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-section ul li {
  font-size: 15px;
  color: var(--stone-600);
  line-height: 1.65;
}

.legal-section a {
  color: var(--green);
  text-decoration: underline;
}

/* ── Contact page ────────────────────────────────────────────── */
.contact-main {
  padding-bottom: 120px;
}

.contact-inner {
  max-width: 600px;
}

.contact-sub {
  font-size: 20px;
  color: var(--stone-500);
  line-height: 1.65;
  font-weight: 300;
  margin-top: 20px;
  margin-bottom: 48px;
}

.contact-email {
  display: inline-block;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--stone-900);
  border-bottom: 2px solid var(--green);
  padding-bottom: 4px;
  transition: color 0.15s;
  text-decoration: none;
  margin-bottom: 20px;
}
.contact-email:hover { color: var(--green); text-decoration: none; }

.contact-note {
  font-size: 14px;
  color: var(--stone-400);
  margin-bottom: 56px;
}

.contact-topics {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 48px;
  border-top: 1px solid var(--stone-100);
}

.contact-topic {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.topic-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-topic strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--stone-900);
}

.contact-topic p {
  font-size: 14px;
  color: var(--stone-500);
  line-height: 1.6;
  margin: 0;
}

/* ── Responsive ──────────────────────────────────────────────── */
.br-desktop { display: block; }

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual { order: -1; }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }

  .br-desktop { display: none; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding-top: 100px; }

  .features-grid { grid-template-columns: 1fr; }

  .footer-top { flex-direction: column; }

  .footer-links { gap: 32px; }

  .philosophy-body { font-size: 16px; }

  .cta-inner h2 { font-size: 30px; }

  .hero-cta { flex-direction: column; align-items: flex-start; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── Animations ──────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero .container > * {
  animation: fadeUp 0.6s ease both;
}

.hero-visual { animation-delay: 0.1s; }
