/* BrickROI marketing site — grow.brickroi.io */
:root {
  --ink: #1a2233;
  --ink-soft: #3a465c;
  --muted: #5b6678;
  --line: #e2e7ef;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --brand: #1f6feb;
  --brand-dark: #1452b8;
  --green: #1a7f4b;
  --green-bg: #e7f5ec;
  --red: #b42318;
  --red-bg: #fdeceb;
  --maxw: 64rem;
  --radius: 12px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
}

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

h1, h2, h3 { line-height: 1.2; color: var(--ink); }
h1 { font-size: 2rem; margin: 0 0 0.75rem; }
h2 { font-size: 1.5rem; margin: 2.25rem 0 0.75rem; }
h3 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }

p { margin: 0 0 1rem; color: var(--ink-soft); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

/* Header / nav */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: 1rem;
}
.brand {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand span { color: var(--brand); }
.nav { display: flex; gap: 1.1rem; align-items: center; flex-wrap: wrap; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav a:hover { color: var(--brand); }

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  padding: 0.7rem 1.25rem;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
  line-height: 1.3;
}
.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-secondary:hover { background: var(--bg-soft); color: var(--brand-dark); }
.btn-block { display: block; width: 100%; }

/* Hero */
.hero { padding: 3rem 0 2.5rem; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.hero h1 { font-size: 2.4rem; max-width: 30ch; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 60ch; }
.cta-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 1.5rem 0 0.75rem; }
.trust-line { font-size: 0.92rem; color: var(--muted); margin-top: 0.5rem; }

/* Sections */
section { padding: 1rem 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-pad { padding: 2.5rem 0; }

/* Cards / grids */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.card h3 { margin-top: 0; }
.card .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

/* Tables */
table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.97rem; }
th, td { text-align: left; padding: 0.65rem 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink); font-weight: 600; background: var(--bg-soft); }
.cmp-yes { color: var(--green); font-weight: 600; }
.cmp-no { color: var(--red); font-weight: 600; }

/* Lists */
ul.checks { list-style: none; padding: 0; }
ul.checks li { padding: 0.35rem 0 0.35rem 1.6rem; position: relative; color: var(--ink-soft); }
ul.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
ul.crosses li::before { content: "✕"; color: var(--red); }

/* Pricing */
.price-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; background: #fff; }
.price-card .price { font-size: 1.8rem; font-weight: 700; color: var(--ink); }
.price-card .price small { font-size: 0.95rem; font-weight: 500; color: var(--muted); }

/* Testimonials */
.quote { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: 8px; padding: 1rem 1.25rem; }
.quote p { font-style: italic; margin-bottom: 0.4rem; }
.quote .who { font-size: 0.9rem; color: var(--muted); font-style: normal; }

/* Strip */
.strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem 1.5rem; margin: 1rem 0; }
.strip div { padding-left: 1.5rem; position: relative; color: var(--ink-soft); font-size: 0.97rem; }
.strip div::before { content: "🍁"; position: absolute; left: 0; }

/* Breadcrumb */
.breadcrumb { font-size: 0.88rem; color: var(--muted); padding: 1rem 0 0; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.calc-inputs { display: grid; gap: 0.75rem; }
.field label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.25rem; color: var(--ink); }
.field input, .field select {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
}
.result-panel {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  min-height: 220px;
}
.result-big { font-size: 2.4rem; font-weight: 700; color: var(--brand); }
.result-band { font-weight: 600; margin: 0.25rem 0 0.75rem; }
.result-metrics { display: grid; gap: 0.4rem; }
.result-metrics .row { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 0.3rem 0; font-size: 0.95rem; }
.result-metrics .row span:last-child { font-weight: 600; color: var(--ink); }

/* CTA block */
.cta-block {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
}
.cta-block h2 { margin-top: 0; }

/* Waitlist form */
.waitlist { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; max-width: 34rem; }
.waitlist .field { margin-bottom: 0.9rem; }
.form-note { font-size: 0.88rem; color: var(--muted); margin-top: 0.75rem; }
.form-error { color: var(--red); font-size: 0.9rem; margin-top: 0.5rem; min-height: 1.2rem; }
.confirm { display: none; }
.confirm.show { display: block; }
.form-live.hide { display: none; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); margin-top: 3rem; padding: 2rem 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; }
.site-footer a { color: var(--ink-soft); text-decoration: none; font-size: 0.92rem; }
.site-footer a:hover { color: var(--brand); }
.footer-cta { font-size: 0.95rem; color: var(--ink-soft); }
.footer-cols { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.footer-cols .col { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-cols .col strong { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted); margin-bottom: 0.2rem; }
.copyright { font-size: 0.85rem; color: var(--muted); margin-top: 1.5rem; }

/* Related links */
.related a { display: inline-block; margin: 0 0.75rem 0.5rem 0; }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 1.9rem; }
  h1 { font-size: 1.7rem; }
  .lede { font-size: 1.08rem; }
  .grid-3, .grid-2, .calc, .strip { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; }
  .nav { display: none; }
  .site-header .wrap { justify-content: space-between; }
  .nav-cta { display: inline-block; }
}
