:root {
  --bg0: #f5efe6;
  --bg1: #f0e4d4;
  --ink: #241c14;
  --muted: #5c524a;
  --green: #5c3d0b;
  --lime: #f0c870;
  --card: rgba(255, 255, 255, 0.72);
  --line: rgba(11, 61, 46, 0.14);
  --radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg0);
  line-height: 1.5;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 10% -10%, #d8f5c8 0%, transparent 55%),
    radial-gradient(700px 480px at 100% 0%, #b7ddd0 0%, transparent 50%),
    linear-gradient(165deg, var(--bg0), var(--bg1));
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 920px;
  margin: 0 auto;
  padding: 1.1rem 1.25rem;
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--green);
  text-decoration: none;
}
.brand span { color: #1f6b4a; }
nav { display: flex; gap: 1rem; align-items: center; }
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.cta-ghost {
  border: 1px solid var(--line);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  color: var(--green) !important;
}

main { max-width: 920px; margin: 0 auto; padding: 0 1.25rem 4rem; }

.hero {
  padding: 2.5rem 0 1rem;
  text-align: left;
}
.brand-hero {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 700;
  color: var(--green);
  margin: 0 0 0.35rem;
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 600;
  margin: 0 0 0.6rem;
  max-width: 18ch;
  letter-spacing: -0.02em;
}
.lead {
  color: var(--muted);
  max-width: 38ch;
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
}

.presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}
.preset {
  font: inherit;
  font-weight: 600;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--green);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.preset:hover { transform: translateY(-1px); }
.preset.active {
  background: var(--green);
  color: var(--lime);
  border-color: var(--green);
}

.drop {
  display: grid;
  place-items: center;
  gap: 0.25rem;
  min-height: 180px;
  border: 1.5px dashed rgba(11, 61, 46, 0.35);
  border-radius: var(--radius);
  background: var(--card);
  backdrop-filter: blur(8px);
  cursor: pointer;
  padding: 1.5rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.drop.drag {
  border-color: var(--green);
  background: rgba(200, 240, 112, 0.22);
}
.drop-title { font-weight: 600; font-size: 1.15rem; color: var(--green); }
.drop-sub { color: var(--muted); font-size: 0.92rem; }

.status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(11, 61, 46, 0.08);
  color: var(--green);
  font-weight: 500;
}

.result {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  animation: rise 0.35s ease;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.meters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.meters div {
  background: rgba(11, 61, 46, 0.05);
  border-radius: 12px;
  padding: 0.75rem;
}
.meters span { display: block; font-size: 0.78rem; color: var(--muted); }
.meters strong { font-size: 1.15rem; color: var(--green); }

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: var(--lime);
  text-decoration: none;
  font-weight: 600;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  min-width: 220px;
}
.cta:hover { filter: brightness(1.08); }
.fine { margin: 0.75rem 0 0; color: var(--muted); font-size: 0.88rem; }

.how {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  max-width: 42ch;
}
.how h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
  color: var(--green);
}
.how p { color: var(--muted); margin: 0; }
.seo-links { margin-top: 1rem !important; font-size: 0.9rem; }
.seo-links a { color: var(--green); }

.pricing { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.pricing h2 { font-family: var(--font-display); font-size: 1.35rem; color: var(--green); margin: 0 0 1rem; }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.75rem; }
.tier {
  padding: 1rem 1.1rem; border-radius: 14px; background: var(--card);
  border: 1px solid var(--line);
}
.tier h3 { margin: 0 0 0.35rem; font-size: 1rem; color: var(--green); }
.tier p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.tier.pro { border-color: rgba(11, 61, 46, 0.35); }
.tier .cta-ghost {
  display: inline-block; margin-top: 0.75rem; font-size: 0.85rem;
  color: var(--green); text-decoration: none; font-weight: 600;
}

footer {
  max-width: 920px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.5rem;
  color: var(--muted);
  font-size: 0.88rem;
}
footer a { color: var(--green); }
.stats-line { font-size: 0.8rem; color: var(--muted); margin: 0 0 0.35rem; }
.preview { max-width: 180px; max-height: 180px; border-radius: 8px; margin-bottom: 1rem; object-fit: contain; border: 1px solid var(--line); }

@media (max-width: 640px) {
  nav a:not(.cta-ghost) { display: none; }
  .meters { grid-template-columns: 1fr; }
  .brand-hero { font-size: 2.5rem; }
}
