/* Uncapped Energy — landing page
   Brand: Utility Green. Forest ground for header/hero/footer, sage for content. */
:root {
  --forest: #0F2A1F;
  --forest-2: #163A2B;
  --sage: #E6ECE5;
  --paper: #F4F7F3;
  --utility: #1E9A57;   /* lid green on light */
  --bright: #2FBF71;    /* lid green on dark */
  --offwhite: #F2F5EF;
  --muted-dark: #A9BCB1;
  --muted-light: #3F5A4D;
  --line: #CAD3C8;
  --error: #B42318;

  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.6;
  color: var(--forest);
  background: var(--sage);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  font: 600 15px/1 var(--display);
  font-stretch: 110%;
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--forest);
  background: var(--bright);
  border: 2px solid var(--bright);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: #45D486; border-color: #45D486; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--bright);
  outline-offset: 3px;
}
.btn-small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--offwhite); border-color: rgba(242,245,239,.35); }
.btn-ghost:hover { background: transparent; border-color: var(--offwhite); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--forest);
  border-bottom: 1px solid rgba(242,245,239,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
}
.brand img { height: 40px; width: auto; }
nav { display: flex; align-items: center; gap: 24px; }
.nav-link {
  color: var(--offwhite);
  text-decoration: none;
  font-size: 15px;
}
.nav-link:hover { color: var(--bright); }

/* Hero */
.hero {
  background: var(--forest);
  color: var(--offwhite);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  padding-block: clamp(64px, 10vw, 128px);
}
.eyebrow {
  margin: 0 0 20px;
  font: 500 13px/1 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bright);
}
h1, h2, h3 { text-wrap: balance; margin: 0; }
h1 {
  font-size: clamp(40px, 6.2vw, 80px);
  line-height: 1.02;
  font-weight: 800;
  font-stretch: 115%;
  letter-spacing: -.015em;
}
.lede {
  max-width: 34em;
  margin: 28px 0 0;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted-dark);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-mark svg { width: 100%; max-width: 294px; margin-left: auto; margin-right: auto; display: block; overflow: visible; }
.hero-mark .box { fill: var(--offwhite); }
.hero-mark .lid { fill: var(--bright); }

/* How it works */
.how { padding-block: clamp(64px, 9vw, 112px); }
.how h2, .contact h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.1;
  font-weight: 800;
  font-stretch: 112%;
  max-width: 18em;
}
.audiences {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}
.audience {
  border-top: 3px solid var(--forest);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.audience-label {
  margin: 0;
  font: 500 13px/1 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--utility);
}
.audience h3 { font-size: 24px; line-height: 1.2; font-weight: 700; font-stretch: 110%; }
.steps {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.steps li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  padding-block: 16px;
  border-top: 1px solid var(--line);
}
.step-num { font: 500 13px/1.9 var(--mono); color: var(--utility); letter-spacing: .08em; }
.steps h4 { margin: 0; font-size: 18px; font-weight: 700; font-stretch: 108%; }
.steps p { margin: 4px 0 0; color: var(--muted-light); }

/* Contact */
.contact { background: var(--paper); border-top: 1px solid var(--line); padding-block: clamp(64px, 9vw, 112px); }
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}
.contact-copy p { margin: 20px 0 0; color: var(--muted-light); max-width: 30em; }
.contact-copy a { color: var(--forest); font-weight: 600; text-underline-offset: 3px; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
label { font: 500 13px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted-light); }
input, select, textarea {
  width: 100%;
  font: 400 16px/1.4 var(--display);
  color: var(--forest);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 14px;
  min-height: 48px;
}
textarea { resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--muted-light); }
[aria-invalid="true"] { border-color: var(--error); }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form .btn { align-self: flex-start; background: var(--forest); border-color: var(--forest); color: var(--offwhite); }
.contact-form .btn:hover { background: var(--forest-2); border-color: var(--forest-2); }
.form-status { margin: 0; min-height: 1.6em; font-size: 15px; }
.form-status.ok { color: var(--utility); font-weight: 600; }
.form-status.err { color: var(--error); }

/* Footer */
.site-footer { background: var(--forest); color: var(--muted-dark); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 40px;
}
.footer-inner img { height: 36px; width: auto; }
.footer-meta { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font: 400 14px/1.4 var(--mono); }
.footer-meta a { color: var(--offwhite); text-decoration: none; }
.footer-meta a:hover { color: var(--bright); }

/* Responsive */
@media (max-width: 860px) {
  .hero-inner, .contact-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-mark { display: none; }
  .audiences { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .contact-inner { gap: 40px; }
}
@media (max-width: 520px) {
  .nav-link { display: none; }
  .brand img { height: 32px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
