/* Cumberland Sanitation — one stylesheet, mobile-first, no framework. */

@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-latin-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #10222a;
  --ink-2: #41565e;
  --ink-3: #6b7d84;
  --paper: #fffefb;
  --sand: #f6f0e5;
  --sand-2: #efe6d6;
  --navy: #0d2a38;
  --teal: #0f6b5c;
  --accent: #c8491f;
  --accent-dark: #a63a15;
  --line: #e3dbcb;
  --line-strong: #cfc4af;
  --white: #fff;

  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --step-0: clamp(1rem, 0.97rem + 0.18vw, 1.0625rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.35vw, 1.375rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  --step-3: clamp(1.9rem, 1.45rem + 2vw, 2.75rem);
  --step-4: clamp(2.15rem, 1.6rem + 2.7vw, 3.4rem);

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 34, 42, 0.06), 0 10px 30px -18px rgba(16, 34, 42, 0.35);
  --wrap: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -3rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  top: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.narrow {
  max-width: 46rem;
}

/* ------------------------------------------------------------------ header */

.site-header {
  background: var(--navy);
  color: var(--sand);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.65rem 1rem;
  padding-block: 0.7rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--sand);
  text-decoration: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.brand__text {
  display: grid;
  line-height: 1.05;
}

.brand__name {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.brand__sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a9c0bc;
}

.site-nav {
  grid-column: 1 / -1;
  grid-row: 2;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
}

.site-nav a {
  color: #d7e4e1;
  text-decoration: none;
  padding-block: 0.2rem;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: #fff;
}

.site-nav a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--accent);
}

.site-header__call {
  justify-self: end;
}

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

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

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

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  border-color: var(--navy);
}

.btn--secondary {
  background: var(--sand);
  color: var(--navy);
  border-color: var(--line-strong);
}

.btn--secondary:hover {
  background: var(--sand-2);
}

.btn--small {
  padding: 0.55rem 0.95rem;
  font-size: 0.85rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--teal);
  text-decoration: none;
}

.link-arrow::after {
  content: "→";
}

.link-arrow:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------- hero */

.hero {
  padding-block: clamp(1.75rem, 4vw, 3.5rem);
  background: linear-gradient(180deg, var(--sand) 0%, var(--paper) 100%);
}

.hero__inner {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0.4rem 0 1rem;
  font-size: var(--step-4);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero__lede {
  margin: 0;
  max-width: 40ch;
  font-size: var(--step-1);
  color: var(--ink-2);
}

.hero__bullets {
  display: grid;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}

.hero__bullets li {
  position: relative;
  padding-left: 1.5rem;
}

.hero__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--teal);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.hero__media {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand-2);
  box-shadow: var(--shadow);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero--plain .hero__lede {
  max-width: 58ch;
}

/* ----------------------------------------------------------------- sections */

.section {
  padding-block: clamp(2.25rem, 5vw, 4rem);
}

.section__head {
  max-width: 62ch;
  margin-bottom: clamp(1.4rem, 3vw, 2.25rem);
}

.section__head h2 {
  margin: 0 0 0.5rem;
  font-size: var(--step-3);
  line-height: 1.14;
  letter-spacing: -0.015em;
}

.section__intro {
  margin: 0;
  color: var(--ink-2);
}

.note {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-3);
  max-width: 68ch;
}

/* cards */

.card-grid {
  display: grid;
  gap: 1rem;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
}

.card h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.25;
}

.card p {
  margin: 0 0 0.35rem;
  color: var(--ink-2);
  font-size: 0.95rem;
}

.card .link-arrow {
  margin-top: auto;
}

/* features */

.feature-grid {
  display: grid;
  gap: 1rem;
}

.feature {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--sand);
}

.feature h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
}

.feature p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-2);
}

/* steps */

.steps {
  display: grid;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-top: 2.6rem;
  border-top: 2px solid var(--line-strong);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: -1rem;
  left: 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
}

.steps h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
}

.steps p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-2);
}

/* service area */

.areas {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius);
  background: var(--sand);
}

.areas h3 {
  margin: 0;
  font-size: 1rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.83rem;
}

.tags--plain li {
  background: transparent;
  border-style: dashed;
  color: var(--ink-2);
}

/* tables */

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.specs {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.specs th,
.specs td {
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.specs thead th {
  background: var(--navy);
  color: var(--sand);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.specs tbody th {
  font-weight: 700;
}

.specs tbody tr:last-child th,
.specs tbody tr:last-child td {
  border-bottom: 0;
}

.badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  background: var(--teal);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* ---------------------------------------------------------------- calculator */

.calc {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.1rem, 3vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.calc__form {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label,
.field legend {
  font-size: 0.9rem;
  font-weight: 700;
}

.field input[type="number"],
.field select {
  width: 100%;
  padding: 0.7rem 0.8rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
}

.field--checks {
  margin: 0;
  padding: 0;
  border: 0;
  gap: 0.45rem;
}

.field--checks legend {
  padding: 0;
  margin-bottom: 0.35rem;
}

.check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.check input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--teal);
}

.calc__result {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 15rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--sand);
}

.calc__headline {
  margin: 0;
  font-size: var(--step-2);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}

.calc__notes {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
}

.calc__notes li {
  position: relative;
  padding-left: 1rem;
  color: #dbe6e4;
}

.calc__notes li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #f0a882;
}

.calc__meta {
  margin: auto 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.82rem;
  color: #b9cbc8;
}

/* ---------------------------------------------------------------- pricing */

.pricing-grid {
  display: grid;
  gap: 1rem;
}

.tier {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.tier h3 {
  margin: 0;
  font-size: 1.08rem;
}

.tier__price {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-dark);
}

.tier__unit {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-3);
}

.tier ul {
  display: grid;
  gap: 0.3rem;
  margin: 0 0 auto;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--ink-2);
}

.tier .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.tier--featured {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--sand);
}

.tier--featured h3 {
  color: #fff;
}

.tier--featured .tier__price {
  color: #f0a882;
}

.tier--featured ul {
  color: #cfdedb;
}

.tier--featured .tier__unit {
  color: #a9c0bc;
}

.tier--featured .btn--secondary {
  background: transparent;
  color: var(--sand);
  border-color: rgba(255, 255, 255, 0.45);
}

/* -------------------------------------------------------------------- faq */

.faq {
  display: grid;
  gap: 0.6rem;
  max-width: 62rem;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.15s ease;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__answer {
  padding: 0 1.1rem 1.1rem;
  color: var(--ink-2);
}

.faq__answer p {
  margin: 0;
}

/* ---------------------------------------------------------------- cta band */

.cta-band {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--sand);
}

.cta-band h2 {
  margin: 0 0 0.4rem;
  font-size: var(--step-2);
  line-height: 1.2;
  color: #fff;
}

.cta-band p {
  margin: 0;
  color: #cfdedb;
  max-width: 52ch;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cta-band .btn--ghost {
  color: var(--sand);
  border-color: rgba(255, 255, 255, 0.45);
}

.cta-band .btn--ghost:hover {
  border-color: #fff;
}

/* ------------------------------------------------------------------- blog */

.post-grid {
  display: grid;
  gap: 1.25rem;
}

.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.post-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--sand-2);
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.15rem;
}

.post-card h2 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.3;
}

.post-card h2 a {
  color: var(--ink);
  text-decoration: none;
}

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

.post-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-2);
}

.post-card__meta {
  font-size: 0.8rem;
  color: var(--ink-3);
}

/* ------------------------------------------------------------------- post */

.post {
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
  color: var(--ink-3);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: var(--line-strong);
}

.breadcrumbs a {
  color: var(--ink-3);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.post__head h1 {
  max-width: 30ch;
  margin: 0.35rem 0 0.75rem;
  font-size: var(--step-3);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.post__lede {
  max-width: 56ch;
  margin: 0 0 1rem;
  font-size: var(--step-1);
  color: var(--ink-2);
}

.post__meta {
  margin: 0 0 1.5rem;
  font-size: 0.82rem;
  color: var(--ink-3);
}

.post__hero {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand-2);
}

.post__hero img {
  width: 100%;
  height: auto;
}

/* The 70/30 body + sidebar split. Sidebar is sticky, and everything inside
   it (TOC, CTA) is server-rendered, so nothing is injected after paint. */
.post-layout {
  display: grid;
  gap: 2rem;
}

.post__aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.prose {
  max-width: 70ch;
}

.prose h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: var(--step-2);
  line-height: 1.2;
  letter-spacing: -0.01em;
  scroll-margin-top: 6rem;
}

.prose h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.1rem;
}

.prose p {
  margin: 0 0 1.1rem;
}

.prose ul {
  display: grid;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
}

.prose li::marker {
  color: var(--teal);
}

.prose .callout {
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--sand);
}

.prose .callout p {
  margin: 0;
  font-weight: 600;
}

.toc {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--sand);
  font-size: 0.9rem;
}

.toc__title {
  margin: 0 0 0.6rem;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.toc ol {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding-left: 1.1rem;
}

.toc a {
  color: var(--ink);
  text-decoration: none;
}

.toc a:hover {
  text-decoration: underline;
}

.cta-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 1.4rem;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--sand);
}

.cta-card__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9fb9b4;
}

.cta-card h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
  color: #fff;
}

.cta-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #cfdedb;
}

.cta-card .link-arrow {
  color: #e9d7c7;
}

.cta-card--wide {
  background: var(--sand);
  color: var(--ink);
}

.cta-card--wide h2 {
  color: var(--ink);
  font-size: var(--step-2);
}

.cta-card--wide p {
  color: var(--ink-2);
  max-width: 56ch;
}

.cta-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.cta-card--wide .btn--ghost {
  color: var(--navy);
  border-color: var(--line-strong);
}

/* ----------------------------------------------------------------- footer */

.site-footer {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-block: clamp(2rem, 4vw, 3rem);
  background: var(--navy);
  color: #cfdedb;
  font-size: 0.9rem;
}

.site-footer__grid {
  display: grid;
  gap: 1.75rem;
}

.site-footer__name {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

.site-footer p {
  margin: 0 0 0.5rem;
}

.site-footer a {
  color: #e9d7c7;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer h2 {
  margin: 0 0 0.6rem;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9fb9b4;
}

.site-footer ul {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__nap {
  margin-top: 1rem;
  line-height: 1.7;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  color: #9fb9b4;
}

.site-footer__legal p {
  margin: 0;
}

/* ------------------------------------------------------------- breakpoints */

@media (min-width: 700px) {
  .card-grid,
  .feature-grid,
  .pricing-grid,
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 40;
  }

  .site-header__inner {
    grid-template-columns: auto 1fr auto;
    padding-block: 0.85rem;
  }

  .site-nav {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }

  .site-nav ul {
    font-size: 0.9rem;
  }

  .site-header__call {
    grid-column: 3;
  }

  .calc {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 2rem;
  }

  .cta-band {
    grid-template-columns: 1.4fr auto;
    align-items: center;
  }
}

@media (min-width: 1040px) {
  .hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }

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

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

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

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

  .site-footer__grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  }

  .post-layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
    gap: clamp(2rem, 4vw, 3.5rem);
  }

  .post__aside {
    position: sticky;
    top: 5.5rem;
    align-self: start;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
