/* ARVADA – styles.
   Everything visual is driven by the design tokens below (colour, type,
   space, shape). Change them here first. */

/* Manrope (variable, latin subset), self-hosted. SIL Open Font License,
   see src/fonts/manrope-LICENSE.txt. */
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* Titillium Web (latin subset, static weights), self-hosted: the typeface of
   the CASA Hub app. SIL Open Font License, see src/fonts/titillium-web-LICENSE.txt. */
@font-face {
  font-family: "Titillium Web";
  src: url("/fonts/titillium-web-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Titillium Web";
  src: url("/fonts/titillium-web-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Titillium Web";
  src: url("/fonts/titillium-web-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colour: greens taken from the logo mark (#339c0b light, #134500 dark) */
  --green-50: #f1f7ee;
  --green-100: #e1efda;
  --green-300: #9be07d;
  --green-500: #339c0b; /* logo green: decoration, large shapes */
  --green-700: #267a09; /* actions and links: 5.4:1 on white (AA) */
  --green-900: #134500; /* logo dark green: dark sections */
  --green-950: #0b2a05;

  --ink: #101a14; /* text */
  --muted: #4f5d55; /* secondary text: 6.8:1 on white */
  --line: #e1e8de;
  --bg: #ffffff;
  --surface: var(--green-50);
  --on-dark: #ffffff;
  --accent: #e5a912; /* warm highlight, used sparingly (status dots, badges) */

  /* Semantic aliases used by components */
  --brand: var(--green-500);
  --primary: var(--green-700);
  --primary-dark: var(--green-900);

  /* Type */
  --font-manrope: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-titillium: "Titillium Web", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font: var(--font-manrope);
  --fs-base: 1.0625rem;
  --lh-base: 1.65;
  --fs-h1: clamp(2.25rem, 5.5vw, 3.75rem);
  --fs-h2: clamp(1.65rem, 3.2vw, 2.4rem);
  --fs-h3: 1.25rem;
  --fs-lead: clamp(1.1rem, 1.6vw, 1.3rem);
  --fs-small: 0.875rem;
  --tracking-heading: -0.025em;

  /* Space (8px rhythm) */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --section-y: clamp(3.5rem, 8vw, 6rem);
  --container: 72rem;

  /* Shape & depth */
  --radius: 1rem;
  --radius-sm: 0.5rem;
  --shadow: 0 1px 2px rgb(16 26 20 / 5%), 0 10px 30px rgb(16 26 20 / 8%);
  --shadow-lift: 0 2px 4px rgb(16 26 20 / 6%), 0 16px 40px rgb(16 26 20 / 14%);
  --header-h: 4.5rem;
}

/* Font mode, set per site in src/site.config.js (theme.font) and rendered as
   <html data-font="...">:
   - manrope:    Manrope everywhere (default)
   - titillium:  Titillium Web everywhere
   - casa:       Manrope, but Titillium Web in the CASA Hub sections
                 (elements with class .casa-brand), matching the app.
   Titillium Web runs smaller and narrower than Manrope, hence the adjustments. */
html[data-font="titillium"] {
  --font: var(--font-titillium);
  --fs-base: 1.1875rem;
  --fs-lead: clamp(1.2rem, 1.7vw, 1.4rem);
  --tracking-heading: -0.01em;
}

html[data-font="casa"] .casa-brand {
  --font: var(--font-titillium);
  --fs-lead: clamp(1.2rem, 1.7vw, 1.4rem);
  --tracking-heading: -0.01em;
  font-family: var(--font);
  font-size: 1.1875rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--ink);
  background: var(--bg);
}

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

h1,
h2,
h3 {
  margin: 0 0 var(--space-2);
  line-height: 1.15;
  letter-spacing: var(--tracking-heading);
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.08;
}

h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 var(--space-2);
  text-wrap: pretty;
}

a {
  color: var(--primary);
  text-underline-offset: 0.2em;
}

button {
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

/* Brighter focus ring on the dark green sections */
.hero a:focus-visible,
.casa-feature a:focus-visible,
.section-contact a:focus-visible,
.site-footer a:focus-visible {
  outline-color: var(--green-300);
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  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: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--primary-dark);
  color: var(--on-dark);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 94%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-1) var(--space-2);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

.brand img {
  height: 1.75rem;
  width: auto;
}

/* Very narrow phones (320px): keep logo, language switch and menu on one row */
@media (max-width: 22.5rem) {
  .header-inner {
    column-gap: 0.5rem;
  }

  .brand img {
    height: 1.5rem;
  }

  .header-actions .lang-switch a {
    padding-inline: 0.55rem;
  }
}

@media (min-width: 40rem) {
  .brand img {
    height: 2.125rem;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 40rem) {
  .header-actions {
    gap: var(--space-2);
  }
}

.site-nav {
  order: 3;
  flex-basis: 100%;
  padding-bottom: var(--space-2);
}

.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 0.65rem 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.97rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--primary);
}

/* Contact link in the menu is styled as a button */
.site-nav a.nav-cta {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--primary);
  border-radius: 999px;
  color: var(--primary);
  transition: background-color 0.15s, color 0.15s;
}

.site-nav a.nav-cta:hover {
  background: var(--primary);
  color: var(--on-dark);
}

/* Language switch: small segmented control */
.lang-switch {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 3px;
  list-style: none;
  background: var(--surface);
  border-radius: 999px;
}

.lang-switch a {
  display: block;
  padding: 0.6rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--muted);
}

.lang-switch a:hover {
  color: var(--primary);
}

@media (min-width: 58rem) {
  .lang-switch a {
    padding: 0.3rem 0.7rem;
  }
}

.lang-switch a[aria-current="true"] {
  background: var(--bg);
  color: var(--primary-dark);
  box-shadow: 0 1px 3px rgb(16 26 20 / 15%);
}

/* Mobile menu: only collapsed when JavaScript is available */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  cursor: pointer;
}

.js .nav-toggle {
  display: inline-flex;
}

.js .site-nav {
  display: none;
}

.js .site-nav.is-open {
  display: block;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.125rem;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

@media (min-width: 58rem) {
  .site-nav a {
    padding: 0.5rem 0;
  }

  .site-nav,
  .js .site-nav,
  .js .site-nav.is-open {
    display: block;
    order: 0;
    flex-basis: auto;
    margin-left: auto;
    padding-bottom: 0;
  }

  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: var(--space-3);
  }

  .site-nav a.nav-cta {
    margin-top: 0;
    padding: 0.4rem 1.1rem;
  }

  .js .nav-toggle {
    display: none;
  }
}

/* Buttons & links */
.btn {
  display: inline-block;
  padding: 0.8rem 1.75rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover {
    transform: none;
  }
}

.btn-primary {
  background: var(--primary);
  color: var(--on-dark);
  box-shadow: 0 6px 16px rgb(38 122 9 / 28%);
}

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

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--on-dark);
}

.btn-ghost {
  border-color: rgb(255 255 255 / 70%);
  color: var(--on-dark);
}

.btn-ghost:hover {
  background: rgb(255 255 255 / 15%);
}

.link-arrow {
  font-weight: 600;
  text-decoration: none;
}

.link-arrow::after {
  content: "\2192";
  display: inline-block;
  margin-left: 0.35em;
  transition: transform 0.2s;
}

.link-arrow:hover::after,
.card:hover .link-arrow::after {
  transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
  .link-arrow::after {
    transition: none;
  }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-2);
  font-size: var(--fs-small);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 1.75rem;
  height: 3px;
  border-radius: 3px;
  background: currentcolor;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

/* Sections */
.section {
  padding-block: var(--section-y);
}

.section-alt {
  background: var(--surface);
}

.section-intro {
  max-width: 40rem;
  color: var(--muted);
}

/* Home hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(36rem, 80vh);
  color: var(--on-dark);
  background: var(--primary-dark);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Narrow screens: text spans the full width, so darken evenly */
  background: linear-gradient(180deg, rgb(8 24 12 / 72%) 0%, rgb(8 24 12 / 88%) 100%);
}

@media (min-width: 50rem) {
  .hero::after {
    background: linear-gradient(90deg, rgb(8 24 12 / 86%) 0%, rgb(8 24 12 / 40%) 100%);
  }
}

.hero-inner {
  padding-block: var(--space-5);
}

.hero h1,
.hero .lead,
.hero .eyebrow {
  max-width: 40rem;
}

.hero .lead {
  color: rgb(255 255 255 / 90%);
}

.hero .eyebrow {
  color: #9be07d;
}

/* Cards */
.card-grid {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

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

.card {
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

@media (prefers-reduced-motion: reduce) {
  .card {
    transition: none;
  }

  .card:hover {
    transform: none;
  }
}

.card-link {
  color: inherit;
  text-decoration: none;
}

.card-link .link-arrow {
  color: var(--primary);
}

.card-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card-body {
  padding: var(--space-3);
}

/* Icon badge straddling the photo's lower edge */
.icon-badge.card-icon {
  position: relative;
  margin-top: calc(-1 * var(--space-3) - 1.75rem);
  margin-bottom: var(--space-2);
  border: 4px solid var(--bg);
  box-shadow: var(--shadow);
}

.card-body p {
  color: var(--muted);
}

@media (min-width: 45rem) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* "Why" features */
.feature-grid {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-3) 0 0;
  padding: 0;
  list-style: none;
}

.feature-grid li {
  padding: var(--space-3);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-grid .icon-badge {
  margin-bottom: var(--space-2);
}

.feature-grid p {
  color: var(--muted);
}

@media (min-width: 50rem) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Service pages */
.page-hero {
  background: var(--surface);
}

.page-hero-inner {
  display: grid;
  gap: var(--space-4);
  align-items: center;
  padding-block: var(--space-4);
}

.page-hero-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (min-width: 50rem) {
  .page-hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    padding-block: var(--space-5);
  }
}

.two-col {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 50rem) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
  }
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding: 0.5rem 0 0.5rem 2rem;
  border-bottom: 1px solid var(--line);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.95rem;
  width: 0.4rem;
  height: 0.75rem;
  border: solid var(--brand);
  border-width: 0 3px 3px 0;
  transform: rotate(40deg);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 0 0 var(--space-3) 3.25rem;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-dark);
  font-weight: 700;
}

.steps h3 {
  margin-bottom: 0.25rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}
/* CASA Hub: featured band on the home page */
.btn-light {
  background: var(--bg);
  color: var(--primary-dark);
}

.btn-light:hover {
  background: var(--surface);
}

.casa-feature {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-950) 100%);
  color: var(--on-dark);
}

/* Glow behind the devices and a faint dot grid */
.casa-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(40rem 28rem at 80% 50%, rgb(51 156 11 / 55%) 0%, transparent 65%),
    radial-gradient(rgb(255 255 255 / 9%) 1px, transparent 1.5px) 0 0 / 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
}

.casa-feature-inner {
  display: grid;
  gap: var(--space-4);
  align-items: center;
}

.casa-feature .eyebrow {
  color: var(--green-300);
}

/* "CASA Hub" wordmark in the app's own typeface (Titillium Web runs smaller
   than Manrope, hence the larger size) */
.casa-title {
  font-family: var(--font-titillium);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}

.casa-feature .casa-title {
  font-size: clamp(3rem, 7vw, 4.75rem);
}

.page-hero .casa-title {
  font-size: clamp(3rem, 7vw, 4.25rem);
}

.casa-feature .lead {
  color: rgb(255 255 255 / 88%);
}

.icon-list {
  display: grid;
  gap: var(--space-2);
  margin: var(--space-3) 0;
  padding: 0;
  list-style: none;
}

.icon-list li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
}

.icon-badge {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 0.875rem;
  background: rgb(255 255 255 / 8%);
  color: var(--green-300);
}

.icon-badge svg {
  width: 1.4rem;
  height: 1.4rem;
}

/* Solid green badge for light backgrounds */
.icon-badge-brand {
  width: 3.5rem;
  height: 3.5rem;
  border-color: transparent;
  border-radius: 1rem;
  background: var(--primary);
  color: var(--on-dark);
}

.icon-badge-brand svg {
  width: 1.6rem;
  height: 1.6rem;
}

.casa-feature-visual img,
.casa-feature-visual svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 48px rgb(0 0 0 / 40%));
}

@media (min-width: 50rem) {
  .casa-feature-inner {
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--space-5);
  }
}
/* Product pages */
.placeholder-visual {
  display: block;
  width: 100%;
  height: auto;
}

.page-hero-media.placeholder-visual {
  aspect-ratio: auto;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 16px 32px rgb(20 32 26 / 25%));
}

.card-media.placeholder-visual {
  aspect-ratio: 16 / 10;
  padding: var(--space-2);
  background: var(--primary-dark);
}

.overview {
  max-width: 48rem;
  margin-bottom: var(--space-5);
}

.subheading {
  margin-top: var(--space-4);
}

.feature-grid-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 40rem) {
  .feature-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .feature-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.note {
  margin-top: var(--space-3);
  color: var(--muted);
  font-style: italic;
}

@media (min-width: 50rem) {
  .steps-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }
}

/* Contact band */
.section-contact {
  background:
    radial-gradient(36rem 20rem at 100% 0%, rgb(51 156 11 / 40%) 0%, transparent 70%),
    linear-gradient(135deg, var(--green-900) 0%, var(--green-950) 100%);
  color: var(--on-dark);
}

.contact-inner {
  display: grid;
  gap: var(--space-4);
  align-items: center;
}

.contact-inner h2 {
  margin-bottom: var(--space-1);
}

.contact-inner p {
  margin: 0;
  color: rgb(255 255 255 / 85%);
}

.contact-actions {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2);
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 8%);
  color: var(--on-dark);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.contact-btn:hover {
  background: rgb(255 255 255 / 16%);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .contact-btn {
    transition: none;
  }

  .contact-btn:hover {
    transform: none;
  }
}

.contact-btn .icon-badge {
  background: var(--green-500);
  border-color: transparent;
  color: var(--on-dark);
}

.contact-label,
.contact-value {
  display: block;
}

.contact-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-300);
}

.contact-value {
  font-size: 1.25rem;
  font-weight: 700;
}

@media (min-width: 50rem) {
  .contact-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
  }
}
/* 404 page */
.not-found {
  padding-block: var(--space-5);
}

.not-found-logo {
  height: 2rem;
  width: auto;
  margin-bottom: var(--space-4);
}

.not-found-block {
  max-width: 36rem;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--line);
}

.not-found-block:last-child {
  border-bottom: 0;
}

/* Footer */
.site-footer {
  padding-top: var(--space-5);
  padding-bottom: var(--space-3);
  background: var(--green-950);
  color: rgb(255 255 255 / 72%);
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  gap: var(--space-4);
}

.footer-logo {
  height: 2rem;
  width: auto;
  margin-bottom: var(--space-2);
}

.footer-tagline {
  max-width: 22rem;
  margin: 0;
}

.footer-heading {
  margin: 0 0 var(--space-2);
  font-size: var(--fs-small);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark);
}

.footer-links {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: rgb(255 255 255 / 78%);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--on-dark);
  text-decoration: underline;
}

.footer-bottom {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid rgb(255 255 255 / 14%);
  font-size: var(--fs-small);
}

.footer-bottom p {
  margin: 0;
}

@media (min-width: 50rem) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: var(--space-5);
  }
}

/* Soft (small, light green) badge, used for list checkmarks */
.icon-badge-soft {
  width: 2.25rem;
  height: 2.25rem;
  border-color: transparent;
  border-radius: 0.625rem;
  background: var(--green-100);
  color: var(--primary);
}

.icon-badge-soft svg {
  width: 1.15rem;
  height: 1.15rem;
}

.hero-icon {
  margin-bottom: var(--space-2);
}

/* Service pages: "what we do" as a grid of cards */
.offer-grid {
  display: grid;
  gap: var(--space-2);
  margin: var(--space-3) 0 0;
  padding: 0;
  list-style: none;
}

.offer-grid li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 600;
}

@media (min-width: 40rem) {
  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 62rem) {
  .offer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
