@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400..700;1,400..700&display=swap');

:root {
  --yellow: #FFAB02;
  --green: #4CAA35;
  --cream: #FFF7E6;
  --ink: #171515;
  --bs-body-font-family: 'Libre Baskerville', Georgia, serif;
  --bs-body-color: var(--ink);
  --bs-success: var(--green)
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px
}

body {
  margin: 0;
  font-size: 18px;
  line-height: 1.35
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.15
}

h1 {
  font-size: 48px
}

h2 {
  font-size: 36px;
  margin-bottom: 24px
}

h3 {
  font-size: 24px
}

p {
  margin-bottom: 24px
}

a {
  color: inherit
}

img {
  max-width: 100%;
  height: auto
}

.container {
  max-width: 1140px
}

.btn {
  font-family: inherit;
  font-size: 16px;
  padding: 15px 20px;
  border-radius: 5px;
  line-height: 1.3
}

.btn-success {
  --bs-btn-bg: var(--green);
  --bs-btn-border-color: var(--green);
  --bs-btn-hover-bg: #3f8e2e;
  --bs-btn-hover-border-color: #3f8e2e;
  --bs-btn-active-bg: #3f8e2e;
  --bs-btn-active-border-color: #3f8e2e;
  --bs-btn-disabled-bg: var(--green);
  --bs-btn-disabled-border-color: var(--green)
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #287016;
  outline-offset: 4px
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 100;
  background: white;
  padding: 12px
}

.skip-link:focus {
  top: 12px
}

.site-header {
  position: relative;
  z-index: 10;
  background: var(--yellow);
  padding: 22px 0 28px;
  clip-path: polygon(0 0, 100% 0, 100% 83%, 0 100%)
}

.site-header .navbar {
  padding-top: 0;
  padding-bottom: 0
}

.navbar-brand {
  margin: 0
}

.navbar-brand img {
  display: block;
  width: 170px;
  height: auto
}

.navbar-nav {
  gap: 20px
}

.navbar .nav-link {
  font-size: 20px;
  color: var(--ink);
  padding: 12px 0
}

.navbar .nav-link:hover {
  text-decoration: underline
}

.navbar-toggler {
  border: 0;
  padding: 6px;
  color: #fff
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23fff' stroke-width='2' d='M3 7h24M3 15h24M3 23h24'/%3E%3C/svg%3E")
}

.home-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  clip-path: none
}

.home-header .nav-link {
  color: white
}

.hero {
  background: linear-gradient(rgba(255, 171, 2, .17), rgba(255, 171, 2, .17)), linear-gradient(rgba(0, 0, 0, .48), rgba(0, 0, 0, .48)), url('./hero.png') center center/cover no-repeat;
  min-height: 820px;
  clip-path: polygon(0 0, 100% 0, 100% 79%, 0 100%);
  padding: 180px 0 180px;
  color: white
}

.hero-copy {
  max-width: 760px
}

.hero h1 {
  margin-bottom: 28px
}

.hero p {
  font-size: 24px;
  line-height: 1.22
}

.hero .btn {
  margin-top: 14px
}

.section-space {
  padding: 70px 0 80px
}

.benefits {
  padding-top: 40px
}

.benefits h2 {
  margin-bottom: 40px
}

.benefit-card {
  background: var(--cream);
  border: 1px solid #FFAB02;
  border-radius: 5px;
  padding: 28px 24px 22px;
  min-height: 346px
}

.benefit-card h3 {
  margin: 20px 0 16px
}

.benefit-card p {
  font-size: 16px;
  line-height: 1.3;
  margin: 0
}

.benefit-icon {
  width: 56px;
  height: 60px;
  fill: none;
  stroke: #FFAB02;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round
}

.section-cta {
  margin-top: 40px
}

.angled-section {
  position: relative;
  background: var(--yellow);
  padding: 140px 0 160px;
  clip-path: polygon(0 0, 100% 20%, 100% 100%, 0 80%)
}

.installation .feature-image {
  height: 390px;
  object-fit: cover;
  border-radius: 5px;
  width: 100%
}

.installation p {
  font-size: 20px;
  line-height: 1.3
}

.installation-cards {
  margin-top: 0
}

.mini-card {
  background: var(--cream);
  border-radius: 5px;
  padding: 22px 24px;
  height: 100%
}

.mini-card h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 24px;
  margin-bottom: 12px
}

.mini-card .benefit-icon {
  width: 20px;
  height: 24px;
  flex: none
}

.mini-card p {
  font-size: 16px;
  margin: 0
}

.costs {
  padding: 70px 0 100px
}

.costs p {
  font-size: 20px;
  line-height: 1.3
}

.feature-image {
  width: 100%;
  object-fit: cover;
  border-radius: 5px
}

.bonus-image {
  height: 335px;
  object-position: center
}

.gas-row {
  margin-top: 16px
}

.gas-row .feature-image {
  height: 265px
}

.quiz-section {
  clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 100%);
  padding: 210px 0 35px
}

.quiz-section p {
  font-size: 20px
}

.quiz-card {
  background: var(--cream);
  padding: 16px;
  border-radius: 14px;
  max-width: 560px;
}

.quiz-step[hidden] {
  display: none !important
}

.quiz-progress {
  position: relative;
  height: 18px;
  background: #eee;
  border-radius: 20px;
  margin: 8px 0 36px;
  overflow: hidden
}

.quiz-progress>div {
  height: 100%;
  background: #4CAA35;
  border-radius: 20px
}

.quiz-progress span {
  position: absolute;
  inset: 0;
  text-align: center;
  font-size: 12px;
  color: #222;
  line-height: 18px
}

.quiz-step h3 {
  font-weight: 400;
  font-size: 26px;
  margin: 0 8px 26px
}

.quiz-step h3 small {
  font-size: 16px;
  display: inline;
  font-weight: 400;
  color: #666
}

.quiz-options {
  display: grid;
  gap: 16px;
  margin-bottom: 36px
}

.quiz-option {
  position: relative;
  display: block;
  cursor: pointer;
  background: #f3f3f3;
  min-height: 50px;
  border-radius: 3px;
  padding: 14px 16px;
  font-size: 16px;
  border: 2px solid transparent
}

.quiz-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none
}

.quiz-option:has(input:checked) {
  border-color: var(--green);
  background: #e8f3e3
}

.quiz-option:has(input:focus-visible) {
  outline: 3px solid #287016;
  outline-offset: 3px
}

.province-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px
}

.province-options .quiz-option {
  font-size: 16px;
  text-align: center;
  padding: 12px 6px
}

.back-step {
  display: block;
  margin: 16px auto 0;
  border: 0;
  background: transparent;
  color: #315d25;
  text-decoration: underline;
  font-size: 14px
}

.quiz-card .contact-form {
  padding: 0
}

.quiz-card .contact-form h2 {
  font-size: 26px;
  text-align: center;
  margin: 12px 0 26px
}

.site-footer {
  background: var(--ink);
  color: white;
  padding: 28px 0 24px;
  font-size: 14px;
  line-height: 1.3
}

.site-footer p {
  margin-bottom: 24px
}

.site-footer .copyright {
  font-size: 12px;
  text-align: center;
  color: #c6c6c6;
  margin: 0
}

.blog-section {
  padding: 70px 0 50px
}

.blog-card {
  background: var(--cream);
  border: 1px solid #FFAB02;
  border-radius: 5px;
  padding: 24px;
  display: flex;
  flex-direction: column
}

.blog-card img {
  width: 100%;
  aspect-ratio: 1.8;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 24px
}

.blog-card h2 {
  font-size: 24px;
  line-height: 1.25;
  margin-bottom: 24px
}

.blog-card h2 a {
  text-decoration: none
}

.blog-card h2 a:hover {
  text-decoration: underline
}

.blog-card p {
  font-size: 16px;
  line-height: 1.4
}

.read-more {
  color: var(--green);
  margin-top: auto;
  font-size: 16px
}

.article-page {
  max-width: 753px;
  padding-top: 40px;
  padding-bottom: 50px;
  font-size: 20px;
  line-height: 1.45
}

.article-page h1 {
  max-width: 1000px;
  margin-bottom: 32px
}

.article-hero {
  width: 100%;
  max-height: 630px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 40px
}

.article-page h2 {
  font-size: 30px;
  margin: 36px 0 20px
}

.article-page p {
  margin-bottom: 22px;
  font-size: 16px;
}

.article-page>p:first-of-type {
  font-weight: 400
}

.contact-page {
  padding: 70px 12px 90px;
  min-height: 780px
}

.contact-page>h1 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px
}

.contact-card {
  background: var(--cream);
  padding: 28px 20px;
  max-width: 660px;
  margin: auto;
  border-radius: 5px
}

.contact-form h2 {
  font-size: 26px;
  text-align: center;
  margin-bottom: 20px
}

.form-label {
  font-size: 18px;
  margin-bottom: 8px
}

.form-control {
  border-radius: 0;
  border: 1px solid #dedede;
  padding: 14px 16px;
  min-height: 52px;
  font: 16px 'Libre Baskerville', Georgia, serif
}

.form-control::placeholder {
  color: #c4c4c4
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--green)
}

textarea.form-control {
  resize: vertical
}

.form-check-label {
  font-size: 18px;
  line-height: 1.25
}

.form-check-input:checked {
  background-color: var(--green);
  border-color: var(--green)
}

.policy-page {
  padding-top: 70px;
  padding-bottom: 90px;
  font-size: 18px;
  line-height: 1.5
}

.policy-page h1 {
  margin-bottom: 36px
}

.policy-page h2 {
  font-size: 28px;
  margin: 32px 0 20px
}

.policy-page li {
  margin-bottom: 8px
}

.policy-table {
  font-size: 16px
}

.policy-table th,
.policy-table td {
  padding: 16px;
  border-color: #ddd;
  background: var(--cream)
}

@media(min-width:992px) {
  .quiz-section .row {
    --bs-gutter-x: 40px
  }

  .installation .row {
    --bs-gutter-x: 24px
  }

  .hero-copy p {
    max-width: 750px
  }
}

@media(max-width:991.98px) {
  h1 {
    font-size: 40px
  }

  h2 {
    font-size: 32px
  }

  .hero {
    min-height: 760px;
    padding: 155px 0 190px
  }

  .hero-copy {
    max-width: 700px
  }

  .hero p {
    font-size: 22px
  }

  .angled-section {
    clip-path: polygon(0 0, 100% 7%, 100% 100%, 0 93%);
    padding: 100px 0 120px
  }

  .installation .feature-image {
    height: auto;
    aspect-ratio: 1.6
  }

  .installation-cards {
    margin-top: 24px
  }

  .quiz-section {
    clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 100%);
    padding: 120px 0 35px
  }

  .quiz-card {
    margin: 0 auto;
    max-width: 620px
  }

  .bonus-image {
    height: 330px;
    width: auto;
    max-width: 100%;
    display: block;
    margin: auto
  }

  .gas-row .feature-image {
    height: auto;
    max-width: 420px;
    display: block;
    margin: auto
  }

  .gas-row {
    margin-top: 40px
  }

  .costs p,
  .installation p,
  .quiz-section p {
    font-size: 18px
  }
}

@media(max-width:767.98px) {
  body {
    font-size: 16px
  }

  .container {
    padding-left: 24px;
    padding-right: 24px
  }

  .site-header {
    padding: 20px 0 25px
  }

  .navbar-brand img {
    width: 155px
  }

  .navbar-nav {
    gap: 0;
    padding: 16px 0 8px
  }

  .navbar .nav-link {
    font-size: 18px
  }

  .home-header:has(.navbar-collapse.show) {
    background: rgba(25, 30, 16, .98)
  }

  h1 {
    font-size: 34px;
    line-height: 1.17
  }

  h2 {
    font-size: 28px;
    line-height: 1.2
  }

  h3 {
    font-size: 22px
  }

  .hero {
    min-height: 0;
    padding: 140px 0 150px;
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
    background-position: 57% center
  }

  .hero h1 {
    margin-bottom: 28px
  }

  .desktop-break {
    display: none
  }

  .hero p {
    font-size: 20px;
    line-height: 1.3
  }

  .hero .btn {
    font-size: 15px
  }

  .section-space {
    padding: 50px 0 65px
  }

  .benefits h2 {
    margin-bottom: 32px
  }

  .benefit-card {
    padding: 24px;
    min-height: 0
  }

  .benefit-card h3 {
    margin-top: 16px
  }

  .benefit-card p {
    font-size: 16px;
    line-height: 1.4
  }

  .benefit-icon {
    width: 46px;
    height: 50px
  }

  .benefits .row {
    --bs-gutter-y: 20px
  }

  .section-cta {
    margin-top: 30px
  }

  .angled-section {
    clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 96%);
    padding: 80px 0 90px
  }

  .installation h2 br {
    display: none
  }

  .installation p,
  .costs p,
  .quiz-section p {
    font-size: 17px;
    line-height: 1.4
  }

  .installation .feature-image {
    aspect-ratio: 1.6
  }

  .mini-card h3 {
    font-size: 21px
  }

  .mini-card p {
    font-size: 16px
  }

  .costs h2 {
    font-size: 28px
  }

  .costs .bonus-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover
  }

  .gas-row {
    margin-top: 32px
  }

  .quiz-section {
    clip-path: polygon(0 3%, 100% 0, 100% 100%, 0 100%);
    padding: 90px 0 30px
  }

  .quiz-section h2 br {
    display: none
  }

  .quiz-card {
    min-height: 0;
    padding: 16px 12px;
    border-radius: 10px
  }

  .quiz-step h3 {
    font-size: 23px;
    margin: 0 4px 22px
  }

  .quiz-option {
    font-size: 15px;
    min-height: 50px
  }

  .province-options {
    gap: 10px
  }

  .province-options .quiz-option {
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px
  }

  .quiz-progress {
    margin-bottom: 28px
  }

  .site-footer {
    padding: 24px 0;
    font-size: 12px
  }

  .site-footer .copyright {
    font-size: 10px
  }

  .blog-section {
    padding-top: 45px
  }

  .blog-card {
    padding: 24px
  }

  .blog-card h2 {
    font-size: 25px
  }

  .article-page {
    padding-top: 45px;
    padding-bottom: 45px;
    font-size: 16px;
    line-height: 1.5
  }

  .article-page h1 {
    font-size: 30px;
    margin-bottom: 28px
  }

  .article-page h2 {
    font-size: 25px
  }

  .article-hero {
    aspect-ratio: 1.8;
    object-fit: cover;
    margin-bottom: 30px
  }

  .contact-page {
    padding-top: 45px;
    padding-bottom: 50px;
    min-height: 0
  }

  .contact-page>h1 {
    font-size: 30px;
    margin-bottom: 30px
  }

  .contact-card {
    padding: 22px 16px
  }

  .contact-form h2 {
    font-size: 23px
  }

  .form-label {
    font-size: 16px
  }

  .form-control {
    font-size: 14px;
    padding: 12px;
    min-height: 48px
  }

  .form-check-label {
    font-size: 16px
  }

  .quiz-card .contact-form h2 {
    font-size: 23px
  }

  .policy-page {
    padding-top: 45px;
    padding-bottom: 60px;
    font-size: 16px;
    overflow-wrap: anywhere
  }

  .policy-page h1 {
    font-size: 30px
  }

  .policy-page h2 {
    font-size: 24px
  }

  .policy-table {
    font-size: 14px
  }

  .policy-table th,
  .policy-table td {
    min-width: 220px;
    padding: 12px
  }
}

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

/* Keep photographs and content above the diagonal section backgrounds. */
.angled-section {
  background: transparent;
  clip-path: none;
  isolation: isolate
}

.angled-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 20%, 100% 100%, 0 80%);
  z-index: -1
}

.quiz-section::before {
  clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 100%)
}

.bonus-frame {
  height: 335px;
  background: url("./bonus.png") center/240% auto no-repeat;
  border-radius: 5px;
  overflow: hidden
}

.bonus-frame .bonus-image {
  height: 100%;
  width: 100%
}

@media(max-width:991.98px) {
  .angled-section::before {
    clip-path: polygon(0 0, 100% 7%, 100% 100%, 0 93%)
  }

  .quiz-section::before {
    clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 100%)
  }

  .bonus-frame {
    max-width: 420px;
    margin: auto
  }
}

@media(max-width:767.98px) {
  .angled-section::before {
    clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 96%)
  }

  .quiz-section::before {
    clip-path: polygon(0 3%, 100% 0, 100% 100%, 0 100%)
  }
}

/* Figma alignment and visual corrections, 14 October 2026. */
.container {
  --bs-gutter-x: 20px;
  padding-left: 10px;
  padding-right: 10px
}

.row,
.installation .row,
.quiz-section .row {
  --bs-gutter-x: 20px;
  --bs-gutter-y: 20px
}

.navbar.container {
  padding-left: 10px;
  padding-right: 10px
}

.benefit-card,
.blog-card,
.contact-card {
  background: var(--cream);
  border: 1px solid var(--yellow)
}

.benefit-icon {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0
}

.benefit-card h3 {
  margin-top: 20px
}

.mini-card {
  background: #fff;
  border-radius: 5px
}

.mini-card .benefit-icon {
  width: 24px;
  height: 24px
}

.quiz-card {
  background: #fff
}

.contact-card {
  padding: 24px;
  max-width: 660px
}

.blog-section {
  padding-top: 50px
}

.blog-card {
  padding: 24px
}

.blog-card img {
  height: 220px;
  aspect-ratio: auto;
  object-fit: cover;
  margin-bottom: 20px
}

.blog-card h2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  font-size: 24px;
  line-height: 28px;
  height: 112px;
  min-height: 112px;
  margin-bottom: 20px
}

.blog-card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  font-size: 16px;
  line-height: 20px;
  height: 80px;
  margin-bottom: 20px
}

.read-more {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 12px;
  margin-top: auto;
  font-size: 20px;
  line-height: 24px;
  text-decoration: none;
  color: var(--green)
}

.read-more:hover {
  text-decoration: none;
  color: #368522
}

.read-more-arrow {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none
}

.installation>.container>.row:first-child,
.costs .row {
  align-items: center
}

.feature-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-position: center
}

.installation .feature-image {
  width: 560px;
  height: 390px
}

.bonus-frame {
  height: 335px;
  width: 360px;
  max-width: 100%;
  margin-inline: auto
}

.gas-row .feature-image {
  width: 360px;
  height: 265px
}

.gas-row {
  margin-top: 20px
}

@media(min-width:992px) {
  .cost-row>.col-lg-8 {
    width: 66.66666667%
  }

  .cost-row>.col-lg-4 {
    width: 33.33333333%
  }
}

@media(max-width:1199.98px) {
  .container {
    max-width: 960px
  }
}

@media(max-width:991.98px) {
  .container {
    max-width: 720px
  }

  .installation .feature-image {
    height: auto;
    width: 560px
  }

  .gas-row .feature-image {
    height: auto
  }

  .costs .bonus-image {
    height: 100%
  }
}

@media(max-width:767.98px) {
  .container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px
  }

  .navbar.container {
    padding-left: 20px;
    padding-right: 20px
  }

  .benefit-icon {
    width: 64px;
    height: 64px
  }

  .contact-page {
    padding-inline: 20px
  }

  .contact-card {
    padding: 20px
  }

  .blog-section {
    padding-top: 40px
  }

  .blog-card h2 {
    height: 112px;
    min-height: 112px
  }

  .blog-card img {
    height: 220px
  }

  .installation .feature-image {
    width: 100%;
    height: auto
  }

  .bonus-frame {
    width: 360px;
    height: 335px
  }

  .gas-row .feature-image {
    width: 360px;
    height: auto
  }
}

@media(max-width:374.98px) {
  .blog-card {
    padding: 20px
  }

  .blog-card h2 {
    font-size: 22px;
    line-height: 26px;
    height: 104px;
    min-height: 104px
  }

  .blog-card img {
    height: 190px
  }

  .bonus-frame {
    height: 300px
  }
}

@media(min-width:1200px) {

  .cost-row>.col-lg-4,
  .gas-row>.col-lg-4 {
    width: 380px
  }

  .cost-row>.col-lg-8,
  .gas-row>.col-lg-8 {
    width: calc(100% - 380px)
  }
}

.gas-row .feature-image {
  max-width: 100%
}

.form-popup {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
}

.form-popup__dialog {
  position: relative;
  width: 430px;
  max-width: 100%;
  padding: 45px 35px 35px;
  text-align: center;
  background: #fff;
}

.form-popup__close {
  position: absolute;
  top: 10px;
  right: 14px;
  color: #555;
  font-size: 28px;
  line-height: 100%;
  background: transparent;
  border: none;
}

.form-popup__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  color: #fff;
  font-size: 34px;
  line-height: 100%;
  font-weight: 700;
  background: #25c802;
}

.form-popup__text {
  font-size: 18px;
  line-height: 140%;
  font-weight: 600;
}

.form-popup__button {
  min-width: 140px;
  margin-top: 26px;
  padding: 13px 25px;
  border-radius: 8px;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  background: #FFAB02;
}