/* ============ MainStreet Mint — styles.css ============ */
:root {
  --green-900: #0f3d2e;
  --green-700: #146c43;
  --green-500: #1a936f;
  --mint: #7ee8c4;
  --mint-soft: #e6f9f1;
  --ink: #16211c;
  --muted: #5b6b63;
  --line: #e3ece7;
  --bg: #ffffff;
  --tint: #f5faf7;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 61, 46, 0.10);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; display: block; }

.container { width: min(1120px, 92%); margin: 0 auto; }
.container--narrow { width: min(720px, 92%); }
.accent { color: var(--green-500); }

h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); letter-spacing: -0.01em; margin-bottom: 0.5rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
p  { color: var(--muted); }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem;
  font-weight: 700; color: var(--green-500); margin-bottom: 0.75rem;
}
.lead { font-size: 1.1rem; margin: 1.1rem 0 1.5rem; max-width: 34rem; }
.section { padding: 4.5rem 0; }
.section--tint { background: var(--tint); }
.section__sub { max-width: 40rem; margin-bottom: 2.5rem; }

/* ============ Buttons ============ */
.btn {
  display: inline-block; padding: 0.85rem 1.5rem; border-radius: 999px;
  font-weight: 600; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; font-size: 1rem; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--green-700); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--green-900); }
.btn--ghost { background: transparent; color: var(--green-700); border-color: var(--green-700); }
.btn--small { padding: 0.5rem 1.1rem; font-size: 0.9rem; background: var(--green-700); color: #fff; }
.btn--full { display: block; width: 100%; text-align: center; }

/* ============ Nav ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 0; }
.nav__logo { display: flex; align-items: center; gap: 0.5rem; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.nav__mark {
  width: 32px; height: 32px; display: grid; place-items: center;
  background: var(--green-700); color: #fff; border-radius: 8px; font-size: 1rem;
}
.nav__links { display: flex; align-items: center; gap: 1.4rem; }
.nav__links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav__links a:hover { color: var(--green-700); }
.nav__links a.btn { color: #fff; }
.nav__toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* ============ Hero ============ */
.hero { padding: 4.5rem 0; background: linear-gradient(180deg, var(--mint-soft), #fff); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.hero__cta { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero__proof { list-style: none; display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 1.6rem; font-size: 0.92rem; color: var(--muted); }

/* Browser mock */
.hero__mock { position: relative; }
.browser { background: #fff; border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #eef4f0; }
.browser__bar span { width: 10px; height: 10px; border-radius: 50%; background: #d3ddd7; }
.browser__url { margin-left: 8px; flex: 1; background: #fff; border-radius: 6px; font-size: 0.72rem; color: var(--muted); padding: 3px 10px; }
.browser__body { padding: 18px; }
.mock-hero { display: grid; gap: 10px; margin-bottom: 16px; }
.mock-line { height: 10px; border-radius: 5px; background: #e4ede8; width: 70%; }
.mock-line--lg { height: 16px; width: 90%; background: #cfe3d8; }
.mock-btn { justify-self: start; background: var(--green-700); color: #fff; font-size: 0.8rem; font-weight: 600; padding: 8px 16px; border-radius: 999px; }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-card { height: 54px; border-radius: 8px; background: #eef4f0; }
.hero__badge {
  position: absolute; bottom: -14px; right: 10px;
  background: var(--green-900); color: #fff; font-size: 0.8rem; font-weight: 600;
  padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow);
}

/* ============ Stats ============ */
.stats { background: var(--green-900); color: #fff; padding: 2.8rem 0; }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.stat__num { font-size: 2.2rem; font-weight: 800; color: var(--mint); }
.stat p { color: #cfe6da; font-size: 0.95rem; margin-top: 0.3rem; }

/* ============ Cards (niches) ============ */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__icon { font-size: 1.7rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.9rem; }
.cards__note { margin-top: 1.6rem; font-size: 0.95rem; }
.cards__note a { color: var(--green-700); font-weight: 600; }

/* ============ Steps ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.step__num {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--mint-soft); color: var(--green-700); font-weight: 800;
  border-radius: 50%; margin-bottom: 0.9rem; font-size: 1.1rem;
}

/* ============ Work samples ============ */
.work__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.work__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.work__item h3, .work__item p { padding: 0 1.1rem; }
.work__item h3 { padding-top: 1rem; }
.work__item p { font-size: 0.88rem; padding-bottom: 1.2rem; }
.work__thumb { height: 150px; display: grid; place-items: center; font-size: 2.6rem; }
.work__thumb--a { background: linear-gradient(135deg, #d9e8f5, #b7d3ec); }
.work__thumb--b { background: linear-gradient(135deg, #d7f2ea, #aee3d4); }
.work__thumb--c { background: linear-gradient(135deg, #fdeeda, #f8dcae); }

/* ============ Quote ============ */
.quote blockquote { font-size: clamp(1.2rem, 2.6vw, 1.6rem); font-weight: 600; text-align: center; max-width: 44rem; margin: 0 auto; line-height: 1.5; }
.quote cite { display: block; margin-top: 1rem; font-size: 0.95rem; font-weight: 400; color: var(--muted); font-style: normal; }

/* ============ Pricing ============ */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; display: flex; flex-direction: column; position: relative;
}
.price-card--featured { border-color: var(--green-500); box-shadow: var(--shadow); }
.price-card__tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--green-500); color: #fff; font-size: 0.75rem; font-weight: 700;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.price-card__price { font-size: 2rem; font-weight: 800; margin: 0.6rem 0 1rem; color: var(--ink); }
.price-card__price span { font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.price-card ul { list-style: none; margin-bottom: 1.5rem; flex: 1; }
.price-card li { padding: 0.45rem 0; font-size: 0.93rem; color: var(--muted); border-bottom: 1px dashed var(--line); }
.price-card li::before { content: "✓ "; color: var(--green-500); font-weight: 700; }

/* ============ FAQ ============ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 0.8rem; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 1.5rem; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; color: var(--green-500); font-size: 1.2rem; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin-top: 0.6rem; font-size: 0.95rem; }

/* ============ Form ============ */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; display: grid; gap: 1.1rem; box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form label { font-weight: 600; font-size: 0.9rem; display: grid; gap: 0.4rem; }
.form input, .form select, .form textarea {
  font: inherit; padding: 0.7rem 0.9rem; border: 1px solid var(--line);
  border-radius: 10px; background: #fbfdfc; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--green-500); border-color: transparent; }
.optional { font-weight: 400; color: var(--muted); font-size: 0.8rem; }
.form__status { min-height: 1.2rem; font-size: 0.9rem; font-weight: 600; color: var(--green-700); text-align: center; }
.form__status.error { color: #c0392b; }

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--line); padding: 2rem 0; margin-top: 2rem; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer p { font-size: 0.9rem; }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__mock { max-width: 480px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps, .pricing, .work__grid, .stats__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 1rem 4%; border-bottom: 1px solid var(--line); gap: 1rem; }
  .nav__links.open { display: flex; }
  .nav__toggle { display: block; }
  .cards { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .section { padding: 3rem 0; }
}

