:root {
  --green: #2D4A3E;
  --amber: #C4873A;
  --bg: #F8F5F0;
  --surface: #FFFFFF;
  --text: #1C1C1C;
  --muted: #6B7280;
  --radius: 6px;
  --max-w: 1100px;
}

/* ── Base ─────────────────────────────────────── */
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--amber);
  text-decoration: none;
}
a:hover {
  color: #a86d2a;
  text-decoration: underline;
}

.max-w {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

/* ── Navbar ───────────────────────────────────── */
.navbar {
  background-color: var(--green) !important;
  padding: 0.85rem 1.5rem;
}

.navbar-brand .brand-name {
  font-family: 'Raleway', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  display: block;
  line-height: 1.15;
}

.navbar-brand .brand-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: var(--amber);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: block;
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.88) !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem !important;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.4);
}
.navbar-toggler-icon {
  filter: invert(1);
}

/* ── Hero ─────────────────────────────────────── */
.hero {
  background-color: var(--green);
  color: #ffffff;
  padding: 100px 0 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 3rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.hero p.lead {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 660px;
  margin: 0 auto 2rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.mountain-svg {
  display: block;
  width: 100%;
  margin-bottom: -2px;
}

/* ── Buttons ──────────────────────────────────── */
.btn-primary-tp {
  background-color: var(--green);
  color: #ffffff;
  border: none;
  border-radius: var(--radius);
  padding: 0.65rem 1.6rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
  display: inline-block;
}
.btn-primary-tp:hover {
  background-color: #223a30;
  color: #ffffff;
  text-decoration: none;
}

.btn-amber {
  background-color: var(--amber);
  color: #ffffff;
  border: none;
  border-radius: var(--radius);
  padding: 0.65rem 1.6rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
  display: inline-block;
}
.btn-amber:hover {
  background-color: #a86d2a;
  color: #ffffff;
  text-decoration: none;
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  padding: 0.65rem 1.6rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  display: inline-block;
}
.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: #ffffff;
  text-decoration: none;
}

/* ── Section scaffolding ──────────────────────── */
.section {
  padding: 80px 0;
}

.section-light {
  background-color: var(--bg);
}

.section-white {
  background-color: var(--surface);
}

.section-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

/* ── Problem columns ──────────────────────────── */
.problem-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.problem-item h4 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--green);
  margin-bottom: 0.4rem;
}

/* ── Feature cards ────────────────────────────── */
.feature-card {
  background-color: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
  height: 100%;
  border-left: 4px solid var(--green);
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.feature-card .feature-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  display: block;
}

.feature-card h4 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ── Mission strip ────────────────────────────── */
.mission-strip {
  background-color: var(--amber);
  color: #ffffff;
  padding: 70px 0;
  text-align: center;
}

.mission-strip blockquote {
  font-size: 1.4rem;
  font-style: italic;
  font-family: 'Raleway', sans-serif;
  line-height: 1.6;
  max-width: 780px;
  margin: 0 auto 1rem;
  border: none;
  padding: 0;
}

.mission-strip .attribution {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
}

/* ── CTA section ──────────────────────────────── */
.cta-section {
  background-color: var(--green);
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* ── Platform feature rows ────────────────────── */
.platform-feature {
  padding: 1.75rem 0;
  border-bottom: 1px solid #e8e3dc;
}

.platform-feature:last-child {
  border-bottom: none;
}

.platform-feature .feat-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.platform-feature .feat-emoji {
  font-size: 1.5rem;
  line-height: 1.3;
  flex-shrink: 0;
}

.platform-feature .feat-name {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--green);
  margin: 0;
}

.platform-feature .feat-desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.65;
}

/* ── Portfolio / case study ───────────────────── */
.case-study-header {
  background-color: var(--green);
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.case-study-header h1 {
  color: #ffffff;
}

.case-study-header p {
  color: rgba(255, 255, 255, 0.85);
}

.placeholder-screenshot {
  background-color: #e0e0e0;
  border-radius: var(--radius);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
}

.screenshot-caption {
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.demo-cta-box {
  background-color: var(--surface);
  border: 2px solid var(--amber);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  margin: 3rem 0;
}

.demo-cta-box h3 {
  font-family: 'Raleway', sans-serif;
  color: var(--green);
  margin-bottom: 1rem;
}

.demo-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

/* ── About ────────────────────────────────────── */
.about-section-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.how-we-work-list li {
  padding: 0.4rem 0;
  color: var(--text);
}

.how-we-work-list li::marker {
  color: var(--amber);
}

/* ── Contact form ─────────────────────────────── */
.contact-blurb h2 {
  color: var(--green);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-label {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
}

.form-control:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 0.2rem rgba(45, 74, 62, 0.2);
}

.alert-success-tp {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* ── Page headers (non-hero) ──────────────────── */
.page-header {
  background-color: var(--green);
  color: #ffffff;
  padding: 60px 0 50px;
  text-align: center;
}

.page-header h1 {
  color: #ffffff;
  font-size: 2.4rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0.75rem auto 0;
}

/* ── Footer ───────────────────────────────────── */
footer {
  background-color: #1C1C1C;
  color: #ffffff;
  padding: 50px 0 30px;
}

.footer-brand {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #ffffff;
  display: block;
  margin-bottom: 0.25rem;
}

.footer-tagline {
  color: var(--amber);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

footer a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.9rem;
}
footer a:hover {
  color: #ffffff;
  text-decoration: none;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
}

/* ── Responsive tweaks ────────────────────────── */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.1rem;
  }

  .hero p.lead {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .mission-strip blockquote {
    font-size: 1.15rem;
  }

  .cta-section h2 {
    font-size: 1.6rem;
  }
}
