:root {
  color-scheme: light;
  --ink: #17211d;
  --muted: #5c6963;
  --line: #d7dfd9;
  --paper: #f4f7f3;
  --panel: #ffffff;
  --accent: #176b52;
  --accent-dark: #0d4d3b;
  --gold: #c2852b;
  --coal: #1c2b28;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.info-hero {
  position: relative;
  min-height: min(620px, 66vh);
  padding: 22px clamp(18px, 4vw, 56px) 58px;
  background-image: url("/img/savvywatts-home-hero.jpg");
  background-position: center 40%;
  background-size: cover;
  color: #fff;
  isolation: isolate;
}

.info-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(14, 25, 22, 0.6);
  content: "";
}

.broker-hero {
  background-position: center 36%;
}

.legal-hero {
  min-height: min(500px, 54vh);
  background-position: center 42%;
}

.info-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.brand {
  font-weight: 850;
  text-decoration: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.94rem;
  font-weight: 750;
}

.nav-actions a {
  text-decoration: none;
}

.nav-cta {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
}

.hero-copy {
  width: min(780px, 100%);
  margin: clamp(70px, 13vh, 126px) auto 0;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: clamp(2.35rem, 5.8vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 660px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.03rem, 2vw, 1.28rem);
  line-height: 1.5;
}

.hero-actions,
.cta-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: #fff;
}

.section-inner {
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto;
}

.split-section,
.pathways-section,
.cta-section {
  padding: 72px 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 70px);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.copy-stack p,
.pathway-grid p,
.guardrails p,
.guardrails li,
.cta-section p {
  color: var(--muted);
  line-height: 1.58;
}

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

.workflow-band,
.guardrail-band {
  padding: 70px 0;
  background: var(--coal);
  color: #fff;
}

.steps,
.pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.steps article,
.pathway-grid article {
  border: 1px solid rgba(215, 223, 217, 0.8);
  border-radius: 8px;
  background: var(--panel);
  padding: 22px;
}

.steps article {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
}

.steps strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--coal);
}

.steps h3,
.pathway-grid h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.steps p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.section-heading {
  max-width: 720px;
}

.guardrails {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
}

.guardrails p,
.guardrails li {
  color: rgba(255, 255, 255, 0.78);
}

.guardrails ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guardrails li {
  padding-left: 18px;
  border-left: 3px solid var(--gold);
}

.cta-section {
  justify-content: space-between;
}

.cta-section > div {
  max-width: 720px;
}

.legal-page {
  background: var(--paper);
}

.legal-section {
  display: grid;
  gap: 28px;
  padding: 64px 0;
}

.legal-section article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.legal-section h2 {
  margin-bottom: 12px;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
}

.legal-section p {
  color: var(--muted);
  line-height: 1.62;
}

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

.legal-section a {
  color: var(--accent-dark);
  font-weight: 800;
}

.legal-updated {
  margin: 0;
  font-weight: 800;
}

@media (max-width: 820px) {
  .info-hero {
    min-height: auto;
    padding-bottom: 42px;
    background-position: center top;
  }

  .info-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-actions {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .hero-copy {
    margin-top: 72px;
  }

  .split-section,
  .steps,
  .pathway-grid,
  .guardrails {
    grid-template-columns: 1fr;
  }

  .split-section,
  .pathways-section,
  .cta-section {
    padding: 48px 0;
  }

  .workflow-band,
  .guardrail-band {
    padding: 48px 0;
  }

  .legal-section {
    padding: 42px 0;
  }

  .button {
    width: 100%;
  }
}
