/* ========== tokens (matched to manohomes.ca) ========== */
:root {
  --cream:    #f6f1e7;
  --paper:    #faf7f0;
  --ink:      #1d1916;
  --ink-soft: #4a423b;
  --muted:    #8a7e72;
  --line:     #e3dcce;
  --maple:    #a23a2a;
  --maple-d:  #7a2a1f;
  --gold:     #b08a3e;
  --dark:     #1b1815;
  --dark-soft:#2a2521;

  --radius:   14px;
  --maxw:     1120px;

  --serif:    "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:     "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ========== base ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.65 var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--maple); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--maple-d); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.6rem; }

/* ========== wordmark ========== */
.wordmark {
  font-family: var(--serif); font-weight: 600; font-size: 1.4rem;
  letter-spacing: -0.01em; color: var(--ink); line-height: 1;
  display: inline-flex; align-items: center; gap: 0.55rem;
}
.wm-icon {
  width: 1.5em; height: 1.5em; flex-shrink: 0;
  color: var(--maple); /* header default — leaf in maple-red */
}
.site-footer .wm-icon { color: var(--gold); } /* footer accent (matches the & ) */
.wordmark, .wordmark:hover { text-decoration: none; color: var(--ink); }
.wm-blue, .wm-red { color: var(--ink); }
.wm-amp { color: var(--maple); font-style: italic; margin: 0 0.2rem; font-weight: 400; }

/* ========== header ========== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 0.95rem 0; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; font-size: 0.95rem; }
.nav-links a { color: var(--ink-soft); font-weight: 500; }
.nav-links a:hover { color: var(--maple); }
.nav-links .btn { font-size: 0.92rem; }

/* ========== buttons (pill) ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .12s ease;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--maple); color: var(--paper); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); padding: 0.55rem 1.05rem; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); text-decoration: none; }
.btn-link { background: transparent; color: var(--ink-soft); padding: 0.85rem 0; }
.btn-link:hover { color: var(--maple); text-decoration: underline; }
.btn:active { transform: translateY(1px); }

/* ========== hero ========== */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); background: var(--paper); }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem;
  align-items: center; max-width: var(--maxw); margin: 0 auto; padding: 0 1.6rem;
}
.kicker {
  font-family: var(--sans);
  text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 0.75rem; font-weight: 600;
  color: var(--maple); margin: 0 0 1rem;
}
.kicker.centered { text-align: center; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  font-weight: 600; line-height: 1.1;
  letter-spacing: -0.005em; margin: 0 0 1rem; color: var(--ink);
}
.lede {
  font-size: 1.1rem; line-height: 1.6;
  color: var(--ink-soft); max-width: 32rem; margin: 0 0 1.8rem;
}
.lede strong { color: var(--ink); font-weight: 600; }
.cta-row { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-bottom: 0.8rem; align-items: center; }
.meta { font-size: 0.85rem; color: var(--muted); margin: 0; font-style: italic; }
.hero-illustration { display: flex; justify-content: center; }
.kanban-svg {
  width: 100%; max-width: 460px; height: auto;
  filter: drop-shadow(0 30px 60px -30px rgba(122, 42, 31, 0.35));
  border-radius: var(--radius);
  background: linear-gradient(160deg, #fbe6c8 0%, #f3cfa7 100%);
  padding: 1rem;
}

/* ========== bands (sections) ========== */
section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.features { background: var(--cream); }
.features.alt { background: var(--paper); }
.how { background: var(--paper); }
.pricing { background: var(--dark); color: var(--paper); text-align: center; }
.pricing .kicker { color: var(--gold); }
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 500;
  letter-spacing: -0.005em; line-height: 1.2;
  text-align: center; color: var(--ink);
  margin: 0 auto 2.5rem; max-width: 24ch;
}
.pricing .section-title { color: var(--paper); }

/* ========== feature grid ========== */
.feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
  max-width: var(--maxw); margin: 0 auto; padding: 0 1.6rem;
}
.feature-grid-3 { grid-template-columns: repeat(3, 1fr); }
.feature {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem 1.4rem 1.8rem;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-3px); border-color: #d6c8a8; box-shadow: 0 18px 30px -22px rgba(122, 42, 31, 0.3); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 1rem;
}
.icon-blue { background: rgba(176, 138, 62, 0.12); color: var(--gold); }
.icon-red { background: rgba(162, 58, 42, 0.10); color: var(--maple); }
.feature h3 {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 600;
  margin: 0 0 0.4rem; letter-spacing: -0.005em; color: var(--ink);
}
.feature p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; line-height: 1.6; }

/* ========== how it works ========== */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  list-style: none; padding: 0;
  max-width: var(--maxw); margin: 0 auto; padding: 0 1.6rem;
}
.steps li {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem 1.4rem 1.8rem;
  transition: border-color .15s ease, box-shadow .2s ease;
}
.steps li:hover { border-color: #d6c8a8; box-shadow: 0 12px 24px -18px rgba(122, 42, 31, 0.25); }
.step-num {
  font-family: var(--serif); font-style: italic;
  font-size: 1.4rem; color: var(--maple); font-weight: 600;
  line-height: 1; margin-bottom: 0.8rem; display: inline-block;
}
.steps h3 {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 600;
  margin: 0 0 0.4rem; letter-spacing: -0.005em; color: var(--ink);
}
.steps p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; line-height: 1.6; }

/* ========== pricing / early access ========== */
.pricing-sub {
  font-size: 1.05rem; color: rgba(246, 241, 231, 0.82); max-width: 38rem; margin: 0 auto 2.5rem;
}
.cta-card {
  background: var(--dark-soft);
  border: 1px solid rgba(176, 138, 62, 0.4);
  border-radius: var(--radius);
  padding: 2rem 1.75rem; max-width: 540px; margin: 0 auto;
  text-align: center;
}
.cta-card h3 {
  font-family: var(--serif); color: var(--gold);
  font-size: 1.4rem; font-weight: 500;
  margin: 0 0 0.6rem; letter-spacing: -0.005em;
}
.cta-card p { color: rgba(246, 241, 231, 0.85); margin: 0 0 1.5rem; font-size: 0.98rem; }
.cta-card .btn-primary { background: var(--gold); color: var(--dark); }
.cta-card .btn-primary:hover { background: var(--paper); color: var(--dark); }
.cta-card a { color: var(--gold); }
.cta-card a:hover { color: var(--paper); }

/* ========== footer ========== */
.site-footer {
  padding: 2.5rem 0 2rem; background: #14110f;
  color: rgba(246, 241, 231, 0.7); font-size: 0.9rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem;
  align-items: start; max-width: var(--maxw); margin: 0 auto; padding: 0 1.6rem;
}
.site-footer .wordmark { color: var(--paper); font-size: 1.1rem; }
.site-footer .wm-blue, .site-footer .wm-red { color: var(--paper); }
.site-footer .wm-amp { color: var(--gold); }
.footer-tag { color: var(--muted); margin: 0.5rem 0 0; max-width: 28ch; font-size: 0.85rem; line-height: 1.5; }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { color: rgba(246, 241, 231, 0.85); font-size: 0.88rem; }
.footer-links a:hover { color: var(--gold); text-decoration: none; }
.footer-meta { font-size: 0.85rem; }
.footer-meta a { color: rgba(246, 241, 231, 0.85); display: block; margin-bottom: 0.5rem; }
.footer-meta a:hover { color: var(--gold); text-decoration: none; }
.footer-meta p { margin: 0.3rem 0; color: var(--muted); font-size: 0.82rem; }

/* ========== mobile ========== */
@media (max-width: 880px) {
  .hero { padding: 2rem 0 3rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; padding: 0 1.6rem; }
  .hero h1 { font-size: 2.1rem; }
  .nav-links { gap: 0.6rem; }
  .nav-links a:not(.btn) { display: none; }
  section { padding: 3rem 0; }
  .feature-grid, .feature-grid-3, .steps { grid-template-columns: 1fr; gap: 0.85rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .kanban-svg { max-width: 360px; }
}
