:root {
  --ink: #111820;
  --ink-soft: #26333d;
  --muted: #66717a;
  --accent: #2e6685;
  --accent-soft: #dce7ed;
  --paper: #ffffff;
  --surface: #f5f6f6;
  --line: #d9e0e4;
  --max-width: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, Arial, Helvetica, system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }

.site-width { width: min(calc(100% - 96px), var(--max-width)); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.ap-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--paper);
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.ap-header__inner { min-height: 88px; display: flex; align-items: center; gap: 48px; }
.ap-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .19em;
  white-space: nowrap;
}
.ap-brand::before { content: ""; width: 3px; height: 24px; background: var(--accent); }
.ap-nav { margin-left: auto; display: flex; align-items: center; gap: 38px; }
.ap-nav a {
  position: relative;
  color: rgba(255,255,255,.76);
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .035em;
}
.ap-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 1px;
  background: var(--paper);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}
.ap-nav a:hover,
.ap-nav a[aria-current="page"] { color: var(--paper); }
.ap-nav a:hover::after,
.ap-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.ap-menu-toggle { display: none; margin-left: auto; padding: 8px; border: 0; color: inherit; background: transparent; cursor: pointer; }
.ap-menu-toggle span { display: block; width: 25px; height: 1.5px; margin: 6px 0; background: currentColor; transition: transform 160ms ease, opacity 160ms ease; }
.ap-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.ap-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ap-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: 760px;
  height: 100svh;
  max-height: 1040px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: var(--paper);
  background-color: var(--ink);
  background-image: url("assets/images/hero-generator.png");
  background-position: 44% center;
  background-repeat: no-repeat;
  background-size: cover;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: inherit;
  background-position: inherit;
  background-repeat: inherit;
  background-size: inherit;
  filter: brightness(1.18) saturate(1.16) contrast(1.05);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 49%, rgba(0,0,0,.4) 61%, #000 72%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 49%, rgba(0,0,0,.4) 61%, #000 72%, #000 100%);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(17,24,32,.5) 0%, rgba(17,24,32,.34) 40%, rgba(17,24,32,.09) 72%, rgba(17,24,32,.03) 100%), linear-gradient(0deg, rgba(17,24,32,.25) 0%, transparent 44%);
}
.hero__content { position: relative; z-index: 1; padding-top: 94px; }
.hero__brand { margin-bottom: 24px; color: #a9c4d3; font-size: .72rem; font-weight: 800; letter-spacing: .25em; }
.hero h1 {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--paper);
  font-size: clamp(3.55rem, 5vw, 5.25rem);
  font-weight: 690;
  letter-spacing: -.06em;
  line-height: .94;
}
.hero h1 span { display: block; white-space: nowrap; }
.hero__summary { max-width: 620px; margin-bottom: 38px; color: rgba(255,255,255,.72); font-size: clamp(1rem, 1.25vw, 1.15rem); }
.hero__link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.44);
  color: var(--paper);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.hero__link span { color: #a9c4d3; transition: transform 180ms ease; }
.hero__link:hover span { transform: translateY(4px); }

.section-label { margin-bottom: 28px; color: var(--accent); font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.section-intro { max-width: 560px; }
.business__content > h2,
.partners__heading h2 {
  margin-bottom: 34px;
  color: var(--ink);
  font-size: clamp(3.3rem, 5.3vw, 6rem);
  font-weight: 660;
  letter-spacing: -.06em;
  line-height: .94;
}
.section-intro h2 {
  margin-bottom: 34px;
  color: var(--ink);
  font-size: clamp(3rem, 3.6vw, 4rem);
  font-weight: 660;
  letter-spacing: -.06em;
  line-height: .98;
}
.why__summary { max-width: 550px; margin-bottom: 22px; color: var(--muted); font-size: clamp(.98rem, 1.05vw, 1.08rem); line-height: 1.78; }
.why__support { max-width: 520px; margin-bottom: 0; color: #87929a; font-size: .78rem; letter-spacing: .02em; line-height: 1.72; }

.why { padding: 128px 0 134px; background: var(--surface); }
.why__layout { display: grid; grid-template-columns: minmax(380px, .82fr) minmax(0, 1.18fr); align-items: center; gap: clamp(64px, 7vw, 118px); }
.proof-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.35vw, 22px); justify-items: center; }
.proof-point {
  width: min(100%, 224px);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7e1e6;
  border-radius: 50%;
  text-align: center;
  background: #e8eef1;
}
.proof-point strong { display: block; margin-bottom: 14px; color: var(--ink); font-size: clamp(3.55rem, 4.2vw, 4.7rem); font-weight: 640; letter-spacing: -.065em; line-height: .9; }
.proof-point:last-child strong { font-size: clamp(2.5rem, 3vw, 3.3rem); }
.proof-point span { color: var(--muted); font-size: .7rem; font-weight: 650; letter-spacing: .05em; line-height: 1.55; text-transform: uppercase; }
.proof-point:nth-child(2) {
  z-index: 1;
  border-color: #244c61;
  color: var(--paper);
  background: #183848;
  box-shadow: 0 18px 44px rgba(16,24,32,.16);
  transform: scale(1.16);
}
.proof-point:nth-child(2) strong,
.proof-point:nth-child(2) span { color: var(--paper); }

.business { padding: 138px 0 144px; border-top: 1px solid rgba(102,113,122,.18); background: var(--surface); }
.business__layout { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(420px, .84fr); align-items: center; gap: clamp(70px, 8vw, 140px); }
.business__visual { min-width: 0; min-height: 600px; align-self: stretch; overflow: hidden; background: #e3e7e9; }
.business__visual img { width: 100%; height: 100%; min-height: 600px; object-fit: cover; object-position: center; filter: brightness(.98) contrast(1.1) saturate(.9); }
.business__content > h2 { margin-bottom: 56px; }
.business-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #bdc8ce; }
.business-list li { display: grid; grid-template-columns: 44px 1fr; gap: 26px; padding: 27px 0 25px; border-bottom: 1px solid #bdc8ce; }
.business-list li > span { padding-top: 5px; color: var(--accent); font-size: .65rem; font-weight: 800; letter-spacing: .1em; }
.business-list h3 { margin: 0 0 8px; color: var(--ink); font-size: clamp(1.2rem, 1.6vw, 1.52rem); font-weight: 650; letter-spacing: -.025em; line-height: 1.2; }
.business-list p { margin: 0; color: var(--muted); font-size: .92rem; }

.partners { padding: 106px 0 98px; border-top: 1px solid rgba(102,113,122,.18); background: var(--surface); }
.partners__heading { max-width: 820px; margin-bottom: 52px; }
.partners__heading h2 { margin-bottom: 30px; }
.partners__heading > p:last-child { max-width: 700px; margin-bottom: 0; color: var(--muted); font-size: 1.04rem; line-height: 1.75; }
.partner-wall { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: center; gap: clamp(44px, 3.5vw, 58px); padding: 34px 0; }
.partner { min-width: 0; height: 76px; display: flex; align-items: center; justify-content: center; }
.partner img { width: 100%; max-width: 155px; height: 56px; object-fit: contain; filter: saturate(.78) contrast(1.02); opacity: .82; transition: opacity 160ms ease; }
.partner:hover img { opacity: 1; }
.partner--champion img,
.partner--predator img { object-fit: cover; object-position: center; }
.partner--westinghouse img { width: 56px; filter: brightness(0) saturate(100%) invert(35%) sepia(22%) saturate(1259%) hue-rotate(155deg) brightness(90%) contrast(87%); }
.partner--generac img,
.partner--durostar img { filter: brightness(0); }
.partners__note { margin: 36px 0 0; color: var(--accent); font-size: .72rem; font-weight: 720; letter-spacing: .09em; text-align: center; }

.footer { padding: 86px 0 30px; color: var(--paper); background: var(--ink); }
.footer__top { display: grid; grid-template-columns: minmax(260px, 1.25fr) minmax(320px, 1fr) auto; gap: clamp(60px, 8vw, 130px); padding-bottom: 74px; }
.ap-brand--footer { margin-bottom: 22px; }
.footer__identity p { max-width: 330px; margin-bottom: 0; color: #87949d; font-size: .88rem; }
.footer__contact { margin: 0; }
.footer__contact > div { display: grid; grid-template-columns: 92px 1fr; gap: 20px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.footer__contact dt { color: #8fa9b8; font-size: .65rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.footer__contact dd { margin: 0; color: #c7d0d6; font-size: .83rem; }
.footer__contact dd a { color: inherit; }
.footer__nav { display: grid; align-content: start; gap: 13px; }
.footer__nav a { color: #b8c2c9; font-size: .78rem; }
.footer__nav a:hover { color: var(--paper); }
.footer__bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.13); color: #66747e; font-size: .65rem; letter-spacing: .07em; text-transform: uppercase; }

@media (max-width: 1440px) {
  .hero { background-position: 50% center; }
}

@media (max-width: 1120px) {
  .site-width { width: min(calc(100% - 64px), var(--max-width)); }
  .ap-nav { gap: 25px; }
  .hero { background-position: 56% center; }
  .why__layout { grid-template-columns: minmax(330px, .76fr) minmax(0, 1.24fr); gap: 44px; }
  .proof-point { width: min(100%, 204px); }
  .business__layout { grid-template-columns: minmax(0, 1fr) minmax(380px, .85fr); gap: 60px; }
  .partner-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 50px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__nav { grid-column: 1 / -1; grid-template-columns: repeat(5, max-content); }
}

@media (max-width: 820px) {
  .site-width { width: min(calc(100% - 44px), var(--max-width)); }
  .ap-header { border-bottom-color: rgba(255,255,255,.25); }
  .ap-header__inner { min-height: 78px; }
  .ap-menu-toggle { display: block; }
  .ap-nav {
    position: fixed;
    inset: 78px 0 0;
    z-index: 99;
    margin: 0;
    padding: 34px 28px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    color: var(--ink);
    background: var(--paper);
  }
  .ap-nav.is-open { display: flex; }
  .ap-nav a { padding: 18px 4px; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 1rem; }
  .ap-nav a::after { display: none; }
  .ap-nav a:hover,
  .ap-nav a[aria-current="page"] { color: var(--ink); }
  .hero { min-height: 720px; max-height: 900px; background-position: 68% center; }
  .hero__overlay { background: linear-gradient(90deg, rgba(17,24,32,.88) 0%, rgba(17,24,32,.68) 54%, rgba(17,24,32,.24) 100%), linear-gradient(0deg, rgba(17,24,32,.42), transparent 58%); }
  .hero__content { padding-top: 78px; }
  .hero h1 { font-size: clamp(3.45rem, 10vw, 5.4rem); }
  .why { padding: 98px 0 106px; }
  .why__layout { grid-template-columns: 1fr; gap: 64px; }
  .section-intro { max-width: 720px; }
  .why__summary { max-width: 680px; }
  .proof-points { grid-template-columns: 1fr; gap: 34px; }
  .proof-point { width: min(72vw, 310px); }
  .business { padding: 102px 0 108px; }
  .business__layout { grid-template-columns: 1fr; gap: 76px; }
  .business__visual { min-height: 0; aspect-ratio: 4 / 3; }
  .business__visual img { min-height: 0; }
  .business__content > h2 { margin-bottom: 42px; }
  .partners { padding: 88px 0 84px; }
  .partners__heading { margin-bottom: 52px; }
  .partner-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 30px; }
  .footer__top { grid-template-columns: 1fr; gap: 54px; }
  .footer__nav { grid-column: auto; grid-template-columns: repeat(3, max-content); }
}

@media (max-width: 520px) {
  .site-width { width: min(calc(100% - 30px), var(--max-width)); }
  .ap-brand { font-size: .78rem; letter-spacing: .15em; }
  .hero { min-height: 700px; height: 100svh; background-position: 70% center; }
  .hero__overlay { background: linear-gradient(90deg, rgba(17,24,32,.92) 0%, rgba(17,24,32,.74) 62%, rgba(17,24,32,.38) 100%), linear-gradient(0deg, rgba(17,24,32,.68), transparent 62%); }
  .hero__brand { margin-bottom: 19px; }
  .hero h1 { margin-bottom: 25px; font-size: clamp(3rem, 14vw, 4.25rem); line-height: .92; }
  .hero__summary { margin-bottom: 34px; font-size: .96rem; }
  .section-intro h2,
  .business__content > h2,
  .partners__heading h2 { margin-bottom: 27px; font-size: 3.15rem; }
  .why__summary { font-size: .98rem; line-height: 1.72; }
  .why__support { font-size: .74rem; }
  .why { padding: 82px 0 90px; }
  .why__layout { gap: 58px; }
  .proof-point { width: min(76vw, 280px); }
  .proof-point strong { font-size: 4.7rem; }
  .proof-point:last-child strong { font-size: 3.55rem; }
  .business { padding: 86px 0 92px; }
  .business__layout { gap: 62px; }
  .business__visual { aspect-ratio: 1 / 1; }
  .business-list li { grid-template-columns: 34px 1fr; gap: 16px; }
  .business-list h3 { font-size: 1.18rem; }
  .partners { padding: 78px 0 76px; }
  .partners__heading { margin-bottom: 46px; }
  .partner-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 22px; padding: 44px 0; }
  .partner:last-child { grid-column: 1 / -1; }
  .partner { height: 60px; }
  .partner img { max-width: 128px; height: 48px; }
  .partners__note { margin-top: 34px; font-size: .66rem; line-height: 1.7; }
  .footer { padding-top: 70px; }
  .footer__top { padding-bottom: 56px; }
  .footer__contact > div { grid-template-columns: 80px 1fr; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .footer__bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
