/* ==========================================================================
   Climate Remit — design system
   Blueprint/elevation concept: architectural hairlines, a recurring roofline
   chevron (from the mark), quantitative data set in mono, warm parchment
   ground. No cards-with-shadows, no stock photography — vector elevations
   and hazard diagrams instead.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root{
  --forest:      #16241B;
  --forest-2:    #1F3325;
  --forest-soft: #35492E;
  --sage:        #7E9260;
  --sage-light:  #A9B98C;
  --sage-pale:   #DCE3C9;
  --paper:       #F2EEE0;
  --paper-2:     #E9E3CE;
  --white:       #FFFFFF;
  --ink:         #16231A;
  --ink-soft:    #4B5647;
  --line:        #CBC3A2;
  --line-soft:   #DBD5BC;

  --font-display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 2px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }

a{ color: inherit; text-decoration: none; }

h1, h2, h3, h4{
  font-family: var(--font-display);
  color: var(--forest);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1{ font-size: clamp(2.4rem, 4.6vw, 4rem); font-weight: 600; }
h2{ font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 600; }
h3{ font-size: 1.3rem; font-weight: 600; }
h4{ font-size: 1.05rem; font-weight: 600; }

p{ margin: 0 0 1em; color: var(--ink-soft); max-width: 62ch; }
p.lede{ font-size: 1.15rem; color: var(--forest-soft); max-width: 54ch; }

.mono{ font-family: var(--font-mono); }

:focus-visible{
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ---------- layout helpers ---------- */

.wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

section{ position: relative; }

.section-pad{ padding: clamp(56px, 8vw, 112px) 0; }
.section-pad-sm{ padding: clamp(40px, 5vw, 64px) 0; }

.grid{ display: grid; gap: 40px; }
.grid-2{ grid-template-columns: 1fr; }
.grid-3{ grid-template-columns: 1fr; }
.grid-4{ grid-template-columns: 1fr; }
@media (min-width: 720px){
  .grid-2{ grid-template-columns: 1fr 1fr; }
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px){
  .grid-3{ grid-template-columns: repeat(3, 1fr); }
  .grid-4{ grid-template-columns: repeat(4, 1fr); }
}

.bg-forest{ background: var(--forest); color: var(--paper); }
.bg-forest h1, .bg-forest h2, .bg-forest h3, .bg-forest h4{ color: var(--white); }
.bg-forest p{ color: #C9D2C0; }
.bg-paper-2{ background: var(--paper-2); }
.bg-white{ background: var(--white); }

.eyebrow{
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--sage);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before{
  content: '';
  width: 20px; height: 1px;
  background: var(--sage);
  display: inline-block;
}

/* ---------- roofline divider (brand motif) ---------- */

.roofline{
  width: 100%;
  height: 34px;
  display: block;
}
.roofline path{ fill: none; stroke: var(--line); stroke-width: 1; }
.roofline .accent{ stroke: var(--sage); }

.hr{
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ---------- buttons ---------- */

.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 13px 26px;
  border: 1px solid var(--forest);
  border-radius: var(--radius);
  background: var(--forest);
  color: var(--white);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.btn:hover{ background: var(--forest-2); }

.btn-outline{
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn-outline:hover{ background: var(--forest); color: var(--white); }

.bg-forest .btn-outline{ color: var(--white); border-color: #4C5F44; }
.bg-forest .btn-outline:hover{ background: var(--white); color: var(--forest); border-color: var(--white); }

.btn-sage{ background: var(--sage); border-color: var(--sage); color: var(--forest); }
.btn-sage:hover{ background: var(--sage-light); border-color: var(--sage-light); }

.btn-block{ width: 100%; justify-content: center; }

/* ---------- header ---------- */

.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 238, 224, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand{ display: flex; align-items: center; gap: 10px; }
.brand img{ height: 30px; width: auto; }

.nav-main{
  display: none;
  align-items: center;
  gap: 30px;
}
.nav-main a{
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--forest);
  position: relative;
  padding: 6px 0;
}
.nav-main a::after{
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--sage);
  transition: right 180ms ease;
}
.nav-main a:hover::after, .nav-main a.active::after{ right: 0; }
.nav-main a.active{ color: var(--forest); font-weight: 600; }

.nav-cta{ display: none; align-items: center; gap: 18px; }

.nav-toggle{
  display: inline-flex;
  background: none;
  border: 1px solid var(--forest);
  border-radius: var(--radius);
  padding: 8px 10px;
  cursor: pointer;
}
.nav-toggle span{
  display: block;
  width: 18px; height: 2px;
  background: var(--forest);
  margin: 3px 0;
}

@media (min-width: 980px){
  .nav-main{ display: flex; }
  .nav-cta{ display: flex; }
  .nav-toggle{ display: none; }
}

.mobile-menu{
  display: none;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.mobile-menu.open{ display: block; }
.mobile-menu a{
  display: block;
  padding: 14px var(--gutter);
  font-family: var(--font-display);
  border-top: 1px solid var(--line-soft);
  color: var(--forest);
}
.mobile-menu .mm-cta{ padding: 20px var(--gutter) 26px; }

@media (min-width: 980px){
  .mobile-menu{ display: none !important; }
}

/* ---------- hero ---------- */

.hero{
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
  overflow: hidden;
}
.hero .grid-2{ align-items: center; gap: 56px; }
.hero-kicker{
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--sage);
  margin-bottom: 18px;
}
.hero h1{ margin-bottom: 22px; }
.hero .lede{ margin-bottom: 32px; }
.hero-actions{ display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 34px; }
.hero-stats{
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.hero-stat b{
  display: block;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--forest);
}
.hero-stat span{ font-size: 0.85rem; color: var(--ink-soft); }

/* elevation illustration */
.elevation{ width: 100%; height: auto; }

/* ---------- panels / feature lists ---------- */

.panel{
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.panel h3{ margin-bottom: 10px; }
.panel .tag{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--sage);
  display: block;
  margin-bottom: 10px;
}

.icon-badge{
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--forest);
  border-radius: 50%;
  margin-bottom: 18px;
  color: var(--forest);
}
.icon-badge svg{ width: 22px; height: 22px; }

/* ---------- stat strip ---------- */

.stat-strip{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 780px){ .stat-strip{ grid-template-columns: repeat(4, 1fr); } }
.stat-strip .stat{
  background: var(--paper);
  padding: 30px 24px;
}
.bg-forest .stat-strip{ background: #2A3A24; border-color: #2A3A24; }
.bg-forest .stat-strip .stat{ background: var(--forest); }
.stat b{
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--sage);
  margin-bottom: 6px;
}
.stat span{ font-size: 0.88rem; color: var(--ink-soft); }
.bg-forest .stat span{ color: #B7C1AD; }

/* ---------- cards (flat, hairline — not the shadow/rounded kit) ---------- */

.flat-card{
  border: 1px solid var(--line);
  padding: 30px;
  background: var(--white);
}
.flat-card h4{ margin-bottom: 10px; }
.flat-card p{ margin-bottom: 0; }

.hazard-card{
  border-top: 3px solid var(--sage);
  background: var(--white);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px;
}
.hazard-card .code{
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--sage);
  display: block;
  margin-bottom: 14px;
}

/* ---------- process / methodology steps (a genuine sequence) ---------- */

.steps{ border-top: 1px solid var(--line); }
.step{
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.step .num{
  font-family: var(--font-mono);
  color: var(--sage);
  font-size: 1rem;
  padding-top: 4px;
}
@media (min-width: 720px){
  .step{ grid-template-columns: 120px 1fr; }
}

/* ---------- report tiers table ---------- */

.tier-table{
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}
.tier-table th, .tier-table td{
  text-align: left;
  padding: 16px 18px;
  border: 1px solid var(--line);
  vertical-align: top;
}
.tier-table thead th{
  font-family: var(--font-display);
  background: var(--forest);
  color: var(--white);
  font-weight: 500;
}
.tier-table td.price{ font-family: var(--font-mono); color: var(--forest); font-weight: 500; }
.tier-table tbody tr:nth-child(odd){ background: var(--paper); }
.table-scroll{ overflow-x: auto; }

/* ---------- testimonial ---------- */

.quote-panel{
  border-left: 3px solid var(--sage);
  padding: 6px 0 6px 26px;
}
.quote-panel p{ font-size: 1.05rem; color: var(--forest-soft); }
.quote-panel cite{ font-style: normal; font-family: var(--font-mono); font-size: 0.82rem; color: var(--ink-soft); }

/* ---------- FAQ accordion ---------- */

.faq-item{ border-top: 1px solid var(--line); }
.faq-item:last-child{ border-bottom: 1px solid var(--line); }
.faq-q{
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--forest);
}
.faq-q .plus{
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--sage);
  flex: none;
  transition: transform 160ms ease;
}
.faq-item.open .plus{ transform: rotate(45deg); }
.faq-a{
  max-height: 0;
  overflow: hidden;
  transition: max-height 220ms ease;
}
.faq-a-inner{ padding-bottom: 22px; }
.faq-item.open .faq-a{ max-height: 600px; }

/* ---------- forms ---------- */

.form-field{ margin-bottom: 20px; }
.form-field label{
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--forest-soft);
  margin-bottom: 8px;
}
.form-field input, .form-field select, .form-field textarea{
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  border-radius: var(--radius);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{
  outline: none;
  border-color: var(--sage);
}
.form-row{ display: grid; gap: 20px; }
@media (min-width: 640px){ .form-row-2{ grid-template-columns: 1fr 1fr; } }

/* ---------- footer ---------- */

.site-footer{
  background: var(--forest);
  color: #B7C1AD;
  padding: 64px 0 28px;
}
.site-footer h4{ color: var(--white); font-size: 0.92rem; margin-bottom: 16px; }
.site-footer a{ color: #C9D2C0; }
.site-footer a:hover{ color: var(--white); }
.footer-grid{
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  padding-bottom: 44px;
}
@media (min-width: 720px){ .footer-grid{ grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid ul{ list-style: none; margin: 0; padding: 0; }
.footer-grid li{ margin-bottom: 10px; font-size: 0.92rem; }
.footer-brand img{ height: 26px; margin-bottom: 16px; }
.footer-bottom{
  border-top: 1px solid #2C3D26;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: 0.82rem;
}
.footer-bottom .links{ display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- page header (interior pages) ---------- */

.page-header{ padding: clamp(52px, 7vw, 84px) 0 clamp(36px, 5vw, 56px); }
.page-header .eyebrow{ margin-bottom: 16px; }
.breadcrumb{
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.breadcrumb a{ color: var(--forest-soft); }

/* ---------- misc utility ---------- */

.center{ text-align: center; margin-left: auto; margin-right: auto; }
.max-56{ max-width: 56ch; }
.mt-0{ margin-top: 0; }
.mb-0{ margin-bottom: 0; }
.list-plain{ list-style: none; padding: 0; margin: 0; }
.list-plain li{
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-soft);
  display: flex;
  gap: 12px;
}
.list-plain li:before{ content: '—'; color: var(--sage); flex: none; }

.cta-band{ text-align: center; }
.cta-band h2{ margin-bottom: 16px; }
.cta-band p{ margin-left: auto; margin-right: auto; margin-bottom: 34px; }
.cta-actions{ display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.tag-pill{
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--forest-soft);
  margin: 0 8px 8px 0;
}
