/* =========================================================
   0Solar.com - ABC Solar Incorporated
   Goal: 0 cost electricity from solar kWh you produce
   ========================================================= */

:root {
  --black: #07110d;
  --ink: #10231a;
  --muted: #5f6f66;
  --soft: #f5f8f3;
  --cream: #fff9ed;
  --gold: #f4b000;
  --gold-dark: #b77d00;
  --green: #0f7a3d;
  --green-dark: #084725;
  --white: #ffffff;
  --line: rgba(7, 17, 13, 0.12);
  --shadow: 0 24px 70px rgba(7, 17, 13, 0.16);
  --radius: 24px;
  --max: 1180px;
}

/* Reset */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--green-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout */

.site-wrap {
  overflow: hidden;
}

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

.section {
  padding: 76px 0;
}

.section-tight {
  padding: 48px 0;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--black);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--black);
  background:
    radial-gradient(circle at 35% 30%, #fff7cb 0 18%, transparent 20%),
    linear-gradient(135deg, #ffd84d, #f2a900);
  box-shadow: 0 10px 24px rgba(244, 176, 0, 0.35);
  font-size: 1.4rem;
  font-weight: 900;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text strong {
  font-size: 1.32rem;
}

.brand-text span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  color: var(--ink);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border-radius: 999px;
  color: var(--black);
  background: var(--gold);
  box-shadow: 0 12px 24px rgba(244, 176, 0, 0.24);
}

.nav-cta:hover {
  text-decoration: none;
  background: #ffc833;
}

/* Hero */

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 17, 13, 0.94) 0%, rgba(7, 17, 13, 0.72) 48%, rgba(7, 17, 13, 0.25) 100%),
    radial-gradient(circle at 72% 22%, rgba(244, 176, 0, 0.42), transparent 34%),
    linear-gradient(135deg, #07110d, #0f7a3d);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 170px;
  background: linear-gradient(to bottom, transparent, var(--soft));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0 140px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #fff2bd;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(4.1rem, 11vw, 10.5rem);
  line-height: 0.82;
  letter-spacing: -0.09em;
  font-weight: 950;
}

.hero h1 .zero {
  color: var(--gold);
  text-shadow: 0 14px 40px rgba(244, 176, 0, 0.28);
}

.hero-subtitle {
  max-width: 780px;
  margin: 34px 0 0;
  font-size: clamp(1.35rem, 2.6vw, 2.2rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero-copy {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  color: var(--black);
  background: var(--gold);
}

.button-primary:hover {
  background: #ffc833;
  text-decoration: none;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  text-decoration: none;
}

.hero-disclaimer {
  max-width: 720px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

/* Statement Cards */

.statement-band {
  margin-top: -86px;
  position: relative;
  z-index: 5;
}

.statement-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 24px;
}

.statement-card,
.stat-card,
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.statement-card {
  padding: clamp(28px, 4vw, 48px);
}

.statement-card h2,
.section-title h2 {
  margin: 0;
  color: var(--black);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.statement-card p {
  margin: 22px 0 0;
  font-size: 1.14rem;
}

.stat-card {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(160deg, #ffffff, #fff4ca);
}

.stat-number {
  color: var(--green-dark);
  font-size: clamp(4rem, 9vw, 7rem);
  line-height: 0.85;
  letter-spacing: -0.08em;
  font-weight: 950;
}

.stat-card p {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
}

/* Section Titles */

.section-title {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-title p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

/* Cards / Grids */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  padding: 30px;
}

.card h3 {
  margin: 0;
  color: var(--black);
  font-size: 1.55rem;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

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

.card strong {
  color: var(--ink);
}

/* Principle Section */

.principle {
  color: var(--white);
  background:
    radial-gradient(circle at 20% 20%, rgba(244, 176, 0, 0.36), transparent 28%),
    linear-gradient(135deg, #07110d, #084725);
}

.principle .section-title h2,
.principle .section-title p {
  color: var(--white);
}

.principle-list {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.principle-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.principle-item b {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  color: var(--black);
  background: var(--gold);
  font-size: 1.6rem;
  font-weight: 950;
}

.principle-item h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.05;
}

.principle-item p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

/* Compare */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.compare-box {
  padding: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.compare-old {
  background: #f2f0ea;
}

.compare-new {
  background: #ecf8ef;
  border-color: rgba(15, 122, 61, 0.28);
}

.compare-box h3 {
  margin: 0 0 18px;
  font-size: 1.65rem;
  letter-spacing: -0.035em;
}

.compare-box p {
  margin: 0;
  font-size: 1.08rem;
}

.compare-new h3 {
  color: var(--green-dark);
}

/* Quote Band */

.quote-band {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.big-quote {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.big-quote p {
  margin: 0;
  color: var(--black);
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.065em;
  font-weight: 950;
}

.big-quote span {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 800;
}

/* Legal / Honest Solar */

.legal-card {
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius);
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.legal-card h2 {
  margin: 0;
  color: var(--black);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

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

.legal-card .warning {
  margin-top: 24px;
  padding: 18px;
  border-radius: 18px;
  background: #fff4ca;
  color: #5a3c00;
  font-weight: 800;
}

/* CTA */

.cta {
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(rgba(7, 17, 13, 0.78), rgba(7, 17, 13, 0.88)),
    radial-gradient(circle at 50% 0%, rgba(244, 176, 0, 0.36), transparent 38%),
    #07110d;
}

.cta h2 {
  margin: 0 auto;
  max-width: 850px;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.cta p {
  max-width: 720px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

.cta .hero-actions {
  justify-content: center;
}

/* Footer */

.site-footer {
  padding: 46px 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--black);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.footer-brand {
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.footer-small {
  margin-top: 14px;
  max-width: 760px;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  font-weight: 700;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
}

/* Utility */

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

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

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

.center {
  text-align: center;
}

.no-top {
  padding-top: 0;
}

/* Mobile */

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 72px 0 120px;
  }

  .hero h1 {
    font-size: clamp(4.4rem, 24vw, 8rem);
  }

  .statement-grid,
  .grid-3,
  .grid-2,
  .compare,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .container,
  .hero-inner {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 54px 0;
  }

  .brand-text span {
    display: none;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.86rem;
  }

  .nav-cta {
    padding: 9px 13px;
  }

  .hero-kicker {
    font-size: 0.73rem;
  }

  .hero h1 {
    letter-spacing: -0.1em;
  }

  .hero-subtitle {
    font-size: 1.35rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .statement-band {
    margin-top: -58px;
  }

  .statement-card,
  .stat-card,
  .card,
  .legal-card,
  .compare-box {
    padding: 24px;
    border-radius: 20px;
  }

  .principle-item {
    grid-template-columns: 1fr;
  }

  .principle-item b {
    width: 58px;
    height: 58px;
    border-radius: 16px;
  }
}

/* Print */

@media print {
  .site-header,
  .hero-actions,
  .footer-links {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .hero,
  .principle,
  .cta,
  .site-footer {
    color: black;
    background: white;
  }

  .card,
  .statement-card,
  .stat-card,
  .legal-card {
    box-shadow: none;
  }
}
