/* ==========================================================================
   HUMAN-EDITABLE LANDING PAGE STYLES
   ==========================================================================
   Start by editing the variables in :root. Everything else follows.
   ========================================================================== */

:root{
  --bg: #f6f4ee;
  --bg-alt: #ffffff;
  --text: #111111;
  --muted: rgba(17,17,17,.72);
  --border: rgba(17,17,17,.12);

  --brand: #1a4d2e; /* deep green */
  --brand-weak: rgba(26,77,46,.12);

  --radius: 16px;
  --shadow: 0 12px 30px rgba(0,0,0,.08);

  --container: 1120px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }

.container{
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(246,244,238,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand-logo{
  width: 170px;
  height: auto;
}

.header-actions{
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }

.btn-primary{
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}

.btn-ghost{
  background: transparent;
}

.btn-lg{
  padding: 12px 18px;
  font-size: 16px;
}

/* Hero */
.hero{
  position: relative;
  min-height: 74vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #0e0e0e;
}

.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.22) 55%, rgba(0,0,0,.15) 100%);
}

.hero-inner{
  position: relative;
  padding: 64px 0;
}

.hero-copy{
  max-width: 740px;
  color: white;
}

.hero h1{
  margin: 0 0 14px;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.lead{
  margin: 0 0 14px;
  font-size: 18px;
  color: rgba(255,255,255,.88);
}

.sublead{
  margin: 0 0 24px;
  font-size: 16px;
  color: rgba(255,255,255,.8);
}

.hero-cta{
  display: grid;
  gap: 10px;
  max-width: 520px;
}

.micro{
  margin: 0;
  font-size: 12.5px;
  color: rgba(255,255,255,.76);
}

.micro-dark{ color: rgba(17,17,17,.6) !important; }

/* Sections */
.section{
  padding: 72px 0;
}

.section-alt{
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header{
  max-width: 900px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-header h2{
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.02em;
}

.section-header p{
  margin: 10px 0 0;
  color: var(--muted);
}

.kicker{
  font-weight: 700;
  color: var(--text) !important;
}

/* Feature cards */
.feature-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.feature-card{
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: box-shadow .2s ease, transform .2s ease;
}

.feature-card:hover{
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-icon{
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--brand-weak);
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  overflow: hidden;
}

.feature-icon img{
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.feature-card h3{
  margin: 0 0 6px;
  font-size: 16px;
}

.feature-subtitle{
  margin: 0 0 10px;
  font-weight: 600;
  color: rgba(17,17,17,.78);
  font-size: 13px;
}

.feature-body{
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

/* Info cards */
.info-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.info-card{
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px;
}

.info-card h3{
  margin: 0 0 10px;
  font-size: 16px;
}

.info-card ul{
  margin: 10px 0 0 18px;
  color: var(--muted);
}

.muted{ color: var(--muted); }

/* Callouts */
.callout{
  margin: 18px auto 0;
  max-width: 980px;
  background: rgba(26,77,46,.08);
  border: 1px solid rgba(26,77,46,.18);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.callout strong{ color: var(--brand); }

/* Table */
.table-wrap{
  margin-top: 26px;
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-alt);
}

.project-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.project-table th,
.project-table td{
  padding: 14px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.project-table thead th{
  position: sticky;
  top: 0;
  background: var(--bg-alt);
  font-size: 13px;
  color: rgba(17,17,17,.8);
}

.project-table tbody tr:hover td{
  background: rgba(26,77,46,.045);
}

/* Stats */
.stats-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.stat-card{
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  text-align: left;
}

.stat-value{
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand);
}

.stat-label{
  margin-top: 6px;
  font-weight: 700;
}

.stat-desc{
  margin-top: 6px;
  color: var(--muted);
  font-size: 13.5px;
}

/* CTA with form */
.cta-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
  margin-top: 22px;
}

.form-card{
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 820px;
}

.clozr-iframe{
  width: 100%;
  height: 820px;
  border: 0;
  display: block;
}

.cta-copy h3{
  margin: 0 0 10px;
  font-size: 22px;
}

.cta-copy p{
  margin: 0 0 16px;
  color: var(--muted);
}

.cta-copy h4{
  margin: 14px 0 10px;
  font-size: 14px;
}

.cta-copy ol{
  margin: 0 0 18px 18px;
  color: var(--muted);
}

.benefit{
  background: rgba(17,17,17,.06);
  border: 1px solid rgba(17,17,17,.10);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.benefit strong{
  display: inline-block;
  margin-right: 6px;
}

/* Footer */
.site-footer{
  padding: 26px 0 40px;
}

/* Simple reveal animation */
.reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px){
  .feature-grid{ grid-template-columns: repeat(2, 1fr); }
  .stats-grid{ grid-template-columns: repeat(2, 1fr); }
  .cta-grid{ grid-template-columns: 1fr; }
  .form-card{ min-height: 860px; }
  .clozr-iframe{ height: 860px; }
}

@media (max-width: 560px){
  .header-actions{ display: none; }
  .feature-grid{ grid-template-columns: 1fr; }
  .info-grid{ grid-template-columns: 1fr; }
  .stats-grid{ grid-template-columns: 1fr; }
  .container{ width: min(var(--container), calc(100% - 32px)); }
}
