:root {
  --green: #00875a;
  --green-dark: #006f4a;
  --green-soft: #e8f6f1;
  --green-pale: #f6fbf8;
  --navy: #081245;
  --blue: #0073e6;
  --sky: #00bfff;
  --yellow: #ffc34d;
  --red: #ff5757;
  --violet: #786ab9;
  --white: #ffffff;
  --n50: #fafaf9;
  --n100: #f5f5f4;
  --n200: #e7e5e4;
  --n300: #d6d3d1;
  --n400: #a6a09b;
  --n500: #79716b;
  --n600: #44403b;
  --shadow: 0 18px 44px rgba(8, 18, 69, 0.08);
  --font-display: "Outfit", "Inter", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--n50);
  color: var(--navy);
  font-family: var(--font-sans);
  letter-spacing: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
}

body,
button,
input,
select,
textarea {
  font: 16px/1.55 var(--font-sans);
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  color: var(--n600);
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  font-family: var(--font-display);
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: 64px;
  max-width: 11ch;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 22px;
}

.site-header {
  align-items: center;
  background: rgba(250, 250, 249, 0.94);
  border-bottom: 1px solid var(--n200);
  display: grid;
  gap: 24px;
  grid-template-columns: auto 1fr auto;
  min-height: 88px;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: flex;
  min-width: 168px;
}

.brand img {
  height: 56px;
  width: auto;
}

.main-nav,
.header-actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

.main-nav {
  justify-content: center;
}

.main-nav a {
  border-radius: 12px;
  color: var(--n600);
  font-size: 15px;
  font-weight: 750;
  padding: 10px 12px;
}

.main-nav a:hover {
  background: var(--green-soft);
  color: var(--green-dark);
}

.header-actions {
  justify-content: flex-end;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 12px;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  white-space: nowrap;
}

.button-primary {
  background: var(--green);
  color: var(--white);
}

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

.button-secondary {
  background: var(--white);
  border-color: var(--n200);
  color: var(--navy);
}

.button-secondary:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.button-plain {
  color: var(--green-dark);
  padding-left: 0;
  padding-right: 0;
}

.breadcrumbs {
  align-items: center;
  color: var(--n500);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 8px;
  margin: 24px auto 0;
  max-width: 1180px;
  padding: 0 28px;
}

.breadcrumbs a {
  color: var(--green-dark);
  font-weight: 750;
}

.hero,
.page-hero,
.section {
  margin: 0 auto;
  max-width: 1180px;
  padding-left: 28px;
  padding-right: 28px;
}

.hero {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 0.72fr);
  min-height: 680px;
  padding-bottom: 64px;
  padding-top: 72px;
}

.planner-hero {
  background:
    linear-gradient(180deg, var(--green-pale) 0%, rgba(250, 250, 249, 0) 72%);
  max-width: none;
  padding-left: max(28px, calc((100vw - 1180px) / 2 + 28px));
  padding-right: max(28px, calc((100vw - 1180px) / 2 + 28px));
}

.hero-copy {
  align-self: center;
}

.eyebrow {
  color: var(--green);
  font-size: 14px;
  font-weight: 850;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.lead {
  color: var(--n600);
  font-size: 20px;
  line-height: 1.55;
  margin-top: 24px;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.workcard {
  align-self: center;
  background: var(--white);
  border: 1px solid var(--n200);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.workcard-head {
  align-items: start;
  border-bottom: 1px solid var(--n200);
  display: flex;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 18px;
}

.workcard-head h2 {
  font-size: 28px;
}

.planner-form {
  display: grid;
  gap: 14px;
}

.planner-form label {
  color: var(--navy);
  display: grid;
  font-size: 14px;
  font-weight: 850;
  gap: 7px;
}

.planner-form select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--green) 50%),
    linear-gradient(135deg, var(--green) 50%, transparent 50%),
    var(--white);
  background-position:
    calc(100% - 19px) 22px,
    calc(100% - 13px) 22px,
    0 0;
  background-repeat: no-repeat;
  background-size:
    6px 6px,
    6px 6px,
    100% 100%;
  border: 1px solid var(--n200);
  border-radius: 12px;
  color: var(--navy);
  min-height: 48px;
  padding: 0 42px 0 14px;
  width: 100%;
}

.planner-result {
  background: var(--green-soft);
  border-radius: 16px;
  color: var(--green-dark);
  display: block;
  font-weight: 700;
  line-height: 1.55;
  margin-top: 18px;
  padding: 16px;
}

.planner-result a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-hero {
  padding-bottom: 54px;
  padding-top: 72px;
}

.page-hero h1 {
  max-width: 13ch;
}

.local-hero h1 {
  max-width: 16ch;
}

.section {
  padding-bottom: 72px;
  padding-top: 72px;
}

.section-soft {
  background: var(--green-pale);
  border-bottom: 1px solid var(--n200);
  border-top: 1px solid var(--n200);
  max-width: none;
  padding-left: max(28px, calc((100vw - 1180px) / 2 + 28px));
  padding-right: max(28px, calc((100vw - 1180px) / 2 + 28px));
}

.section-head {
  margin-bottom: 32px;
  max-width: 760px;
}

.section-head p:not(.eyebrow) {
  font-size: 18px;
  margin-top: 14px;
}

.route-grid,
.card-grid,
.deliverable-grid {
  display: grid;
  gap: 18px;
}

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

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

.services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.route-grid article,
.service-card,
.deliverable-grid article,
.province-block {
  background: var(--white);
  border: 1px solid var(--n200);
  border-radius: 16px;
  box-shadow: 0 1px 0 rgba(8, 18, 69, 0.03);
  padding: 22px;
}

.route-grid article {
  display: flex;
  flex-direction: column;
  min-height: 250px;
}

.route-grid article:nth-child(2) .route-step {
  background: var(--blue);
}

.route-grid article:nth-child(3) .route-step {
  background: var(--yellow);
  color: var(--navy);
}

.route-step {
  align-items: center;
  background: var(--green);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  margin-bottom: 20px;
  width: 34px;
}

.route-grid h3,
.service-card h3,
.deliverable-grid h3 {
  margin-bottom: 10px;
}

.route-grid a,
.card-link {
  color: var(--green-dark);
  font-weight: 850;
  margin-top: auto;
  padding-top: 18px;
}

.card-eyebrow {
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.service-card {
  min-height: 236px;
}

.service-card h3 a:hover {
  color: var(--green-dark);
}

.split {
  align-items: start;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.7fr);
}

.split h2 + p,
.split p + .tag-list {
  margin-top: 18px;
}

.compact {
  box-shadow: none;
  padding: 24px;
}

.compact h2 {
  font-size: 26px;
  margin-bottom: 18px;
}

.check-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  color: var(--n600);
  padding-left: 30px;
  position: relative;
}

.check-list li::before {
  background: var(--green);
  border-radius: 50%;
  color: var(--white);
  content: "";
  height: 10px;
  left: 5px;
  position: absolute;
  top: 8px;
  width: 10px;
}

.tag-list,
.link-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list span,
.link-cloud a {
  background: var(--white);
  border: 1px solid var(--n200);
  border-radius: 999px;
  color: var(--n600);
  font-size: 14px;
  font-weight: 750;
  padding: 9px 13px;
}

.link-cloud a:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.compact-links a {
  background: var(--green-pale);
}

.surface-list {
  background: var(--white);
  border: 1px solid var(--n200);
  border-radius: 24px;
  display: grid;
  overflow: hidden;
}

.surface-list a {
  border-bottom: 1px solid var(--n200);
  display: grid;
  gap: 4px;
  padding: 20px 22px;
}

.surface-list a:last-child {
  border-bottom: 0;
}

.surface-list a:hover {
  background: var(--green-pale);
}

.surface-list strong {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 21px;
}

.surface-list span {
  color: var(--n600);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: var(--white);
  border: 1px solid var(--n200);
  border-radius: 16px;
  padding: 18px 20px;
}

summary {
  color: var(--navy);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
}

details p {
  margin-top: 12px;
}

.location-index {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.province-block h2 {
  font-size: 24px;
  margin-bottom: 16px;
}

.site-footer {
  background: var(--navy);
  color: var(--white);
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  padding: 58px max(28px, calc((100vw - 1180px) / 2 + 28px));
}

.site-footer p {
  color: rgba(255, 255, 255, 0.76);
  max-width: 440px;
}

.footer-brand {
  display: inline-flex;
  margin-bottom: 18px;
}

.footer-brand img {
  filter: brightness(0) invert(1);
  height: 52px;
  width: auto;
}

.footer-columns {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-columns h2 {
  color: var(--white);
  font-size: 17px;
  margin-bottom: 12px;
}

.footer-columns a {
  color: rgba(255, 255, 255, 0.74);
  display: block;
  margin-top: 8px;
}

.footer-columns a:hover {
  color: var(--white);
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 14px;
  }

  .hero,
  .split,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .services-grid,
  .route-grid,
  .card-grid,
  .deliverable-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: 42px;
    max-width: 12ch;
  }

  h2 {
    font-size: 30px;
  }

  .site-header {
    gap: 12px;
    padding: 0 18px;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 4px;
    overflow-x: visible;
    padding-bottom: 10px;
  }

  .main-nav a {
    font-size: 14px;
    padding: 7px 9px;
  }

  .brand {
    min-width: 136px;
  }

  .brand img {
    height: 48px;
  }

  .header-actions .button {
    min-height: 40px;
    padding: 0 12px;
  }

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

  .planner-hero,
  .section-soft {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    gap: 28px;
    padding-bottom: 44px;
    padding-top: 42px;
  }

  .page-hero {
    padding-bottom: 38px;
    padding-top: 48px;
  }

  .lead {
    font-size: 18px;
  }

  .workcard {
    padding: 20px;
  }

  .workcard-head {
    display: block;
  }

  .route-grid,
  .card-grid,
  .services-grid,
  .deliverable-grid,
  .location-index,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .route-grid article {
    min-height: 0;
  }
}
