/* 1-2-3solar.com
   Fast. Clean. Fun.
   No-image solar website stylesheet
*/

:root {
  --sun: #ffb703;
  --sun-soft: #fff3c4;
  --orange: #fb8500;
  --blue: #023047;
  --blue-soft: #e8f5fb;
  --green: #2a9d8f;
  --ink: #14213d;
  --muted: #5f6f7a;
  --line: #dbe5ea;
  --paper: #ffffff;
  --cloud: #f7fbfd;
  --shadow: 0 18px 45px rgba(2, 48, 71, 0.12);
  --radius: 22px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 183, 3, 0.22), transparent 34rem),
    radial-gradient(circle at top right, rgba(42, 157, 143, 0.15), transparent 28rem),
    var(--cloud);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

/* Header */

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

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: -0.03em;
  color: var(--blue);
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sun), var(--orange));
  color: #fff;
  box-shadow: 0 10px 25px rgba(251, 133, 0, 0.25);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  font-weight: 750;
  font-size: 0.94rem;
  color: var(--blue);
  padding: 9px 12px;
  border-radius: 999px;
}

.nav a:hover,
.nav a:focus {
  background: var(--blue-soft);
  outline: none;
}

.nav .cta,
.button,
button {
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 850;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(2, 48, 71, 0.18);
}

.nav .cta:hover,
.button:hover,
button:hover {
  background: var(--orange);
}

/* Layout */

main {
  overflow: hidden;
}

.section,
.hero,
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 22px;
}

.section-tight {
  padding-top: 34px;
  padding-bottom: 34px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 7px 12px;
  border: 1px solid rgba(2, 48, 71, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-weight: 850;
  font-size: 0.88rem;
}

h1,
h2,
h3 {
  color: var(--blue);
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.7rem);
  max-width: 900px;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 4rem);
  max-width: 820px;
}

h3 {
  font-size: clamp(1.25rem, 2.3vw, 1.7rem);
}

p {
  color: var(--muted);
  font-size: 1.06rem;
}

.lede {
  font-size: clamp(1.15rem, 2.1vw, 1.45rem);
  max-width: 760px;
  color: #36515f;
}

.center {
  text-align: center;
}

.center h1,
.center h2,
.center .lede {
  margin-left: auto;
  margin-right: auto;
}

/* Hero */

.hero {
  min-height: 72vh;
  display: grid;
  align-items: center;
  position: relative;
}

.hero-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(2, 48, 71, 0.1);
  border-radius: 34px;
  padding: clamp(28px, 6vw, 62px);
  box-shadow: var(--shadow);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button.secondary {
  background: #fff;
  color: var(--blue);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button.secondary:hover {
  background: var(--sun-soft);
}

/* 1-2-3 Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 12px 35px rgba(2, 48, 71, 0.07);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--sun), var(--orange));
  color: #fff;
  font-weight: 950;
  font-size: 1.5rem;
}

.step-card:nth-child(2) .step-number {
  background: linear-gradient(135deg, var(--green), #65c7b8);
}

.step-card:nth-child(3) .step-number {
  background: linear-gradient(135deg, var(--blue), #126782);
}

.step-card p {
  margin-bottom: 0;
}

/* Cards and grids */

.grid {
  display: grid;
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 12px 35px rgba(2, 48, 71, 0.07);
}

.card.sun {
  background: linear-gradient(135deg, var(--sun-soft), #fff);
}

.card.blue {
  background: linear-gradient(135deg, var(--blue-soft), #fff);
}

.card.green {
  background: linear-gradient(135deg, rgba(42, 157, 143, 0.14), #fff);
}

.card p:last-child {
  margin-bottom: 0;
}

/* Fun callouts */

.big-number {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.08em;
  color: var(--orange);
}

.callout {
  border-radius: 30px;
  padding: clamp(28px, 5vw, 54px);
  background:
    linear-gradient(135deg, rgba(255, 183, 3, 0.28), rgba(42, 157, 143, 0.18)),
    #fff;
  border: 1px solid rgba(2, 48, 71, 0.1);
  box-shadow: var(--shadow);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 12px;
  font-weight: 800;
  color: var(--blue);
}

/* Lists */

.clean-list {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.clean-list li {
  padding: 13px 0 13px 34px;
  border-bottom: 1px solid var(--line);
  position: relative;
  color: #36515f;
}

.clean-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 13px;
  color: var(--green);
  font-weight: 950;
}

/* Forms */

.form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

label {
  font-weight: 800;
  color: var(--blue);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 15px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(255, 183, 3, 0.35);
  border-color: var(--orange);
}

/* Footer */

.site-footer {
  background: var(--blue);
  color: #fff;
  margin-top: 40px;
}

.footer-inner {
  padding-top: 46px;
  padding-bottom: 46px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.site-footer h2,
.site-footer h3,
.site-footer p,
.site-footer a {
  color: #fff;
}

.site-footer p {
  opacity: 0.82;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  text-decoration: none;
  opacity: 0.85;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.legal {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.92rem;
  opacity: 0.8;
}

/* Utility */

.notice {
  border-left: 6px solid var(--sun);
  background: #fff;
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 10px 28px rgba(2, 48, 71, 0.06);
}

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

/* Mobile */

@media (max-width: 820px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
  }

  .nav a {
    padding: 8px 10px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .hero-card {
    border-radius: 26px;
  }

  .steps,
  .grid.two,
  .grid.three,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .hero,
  .footer-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: clamp(2.6rem, 15vw, 4.2rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .nav .cta {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.1rem;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
  }

  .section,
  .hero {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .card,
  .step-card {
    padding: 22px;
  }

  p {
    font-size: 1rem;
  }
}
