/* Highland Construction — mobile-first */

:root {
  --teal: #0F7462;
  --teal-dark: #0B5A4C;
  --teal-deeper: #08483C;
  --blue: #94CCF6;
  --blue-soft: rgba(148, 204, 246, 0.18);
  --cream: #F3F6F5;
  --white: #FFFFFF;
  --ink: #14352F;
  --ink-muted: #3D5C56;
  --line: rgba(15, 116, 98, 0.14);
  --header-h: 3.75rem;
  --wrap: 70rem;
  --radius: 0.5rem;
  --font: "Josefin Sans", "Segoe UI", sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--teal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, p, ul, figure {
  margin: 0;
}

a {
  color: inherit;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--blue);
  color: var(--teal-dark);
  padding: 0.6rem 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 0.35rem 0.35rem;
}
.skip-link:focus {
  top: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--teal);
  border-bottom: 1px solid rgba(148, 204, 246, 0.22);
  padding-top: env(safe-area-inset-top);
}

.header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--blue);
  min-width: 0;
}

.brand img {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

.brand-name {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-toggle {
  appearance: none;
  background: none;
  border: 0;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.5rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--blue);
  border-radius: 0.35rem;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1.25rem;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

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

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--header-h) + env(safe-area-inset-top));
  background: var(--teal-dark);
  padding: 0.5rem 1.15rem 1rem;
  border-bottom: 1px solid rgba(148, 204, 246, 0.22);
}

.site-nav a {
  display: block;
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 0.85rem 0.25rem;
  border-bottom: 1px solid rgba(148, 204, 246, 0.12);
  min-height: 2.75rem;
}

.site-nav a:last-child { border-bottom: 0; }

.site-header.open .site-nav {
  display: flex;
}

/* Hero */
.hero {
  background: var(--teal);
  color: var(--blue);
  text-align: center;
  padding: 2.75rem 1.25rem 3.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: 7.25rem;
  height: 7.25rem;
  margin-bottom: 1.35rem;
}

.wordmark {
  font-weight: 400;
  font-size: clamp(1.55rem, 7.2vw, 3.35rem);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--blue);
  max-width: 20ch;
}

.tagline {
  margin-top: 0.85rem;
  font-size: clamp(0.68rem, 2.6vw, 0.95rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

.hero-lead {
  margin-top: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  max-width: 38rem;
  line-height: 1.45;
  text-wrap: balance;
}

.hero-badge {
  margin-top: 1.15rem;
  display: inline-block;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
}

.hero-actions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 1.2rem;
  min-height: 2.85rem;
  border-radius: 0.3rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--blue);
  color: var(--teal-dark);
  border-color: var(--blue);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--white);
  border-color: var(--white);
  color: var(--teal-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--blue-soft);
}

.btn:focus-visible,
.nav-toggle:focus-visible,
.brand:focus-visible,
.site-nav a:focus-visible,
.person-card:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-offset: 1px;
}

/* Photo band */
.photo-band {
  margin: 0;
  line-height: 0;
  background: var(--teal-deeper);
}

.photo-band img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  object-position: center 60%;
}

/* Sections */
.section {
  padding: 3.25rem 0 3.5rem;
}

.section-cream {
  background: var(--cream);
  color: var(--ink);
}

.section-teal {
  background: var(--teal);
  color: var(--white);
}

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

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.55rem;
}

.eyebrow-light { color: var(--blue); }

.section h2 {
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--teal-dark);
  margin-bottom: 0.85rem;
}

.section-teal h2 { color: var(--blue); }

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

.section-teal .section-intro,
.section-teal p {
  color: rgba(255, 255, 255, 0.88);
}

/* Service cards */
.service-grid,
.why-grid {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.4rem;
}

.card h3,
.why-grid h3,
.quote-heading {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--teal-dark);
  margin: 0.65rem 0 0.45rem;
}

.card p,
.why-grid p {
  color: var(--ink-muted);
  font-size: 0.98rem;
}

.icon {
  display: inline-flex;
  color: var(--teal);
  width: 2rem;
  height: 2rem;
}

.icon svg {
  width: 2rem;
  height: 2rem;
}

/* About */
.about { padding-top: 0.25rem; }

.about-copy { max-width: 46rem; }
.about-copy p + p { margin-top: 1rem; }
.about-copy p { color: var(--ink-muted); }
.about-copy h2 { margin-bottom: 1rem; }

/* Why */
.why-grid li {
  padding: 0.25rem 0 0.5rem;
}

.section-teal .icon { color: var(--blue); }

.why-grid h3 {
  color: var(--blue);
  margin-top: 0.7rem;
}

.why-grid p {
  color: rgba(255, 255, 255, 0.88);
}

/* Contact people — like the business cards */
.people {
  display: grid;
  gap: 1rem;
  margin: 0 0 2.25rem;
}

.person-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: var(--teal);
  color: var(--blue);
  text-decoration: none;
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem;
  min-height: 6.25rem;
}

.person-card img {
  width: 3.75rem;
  height: 3.75rem;
  flex-shrink: 0;
}

.person-card > div {
  border-left: 1.5px solid var(--blue);
  padding-left: 1.1rem;
  min-width: 0;
}

.person-name {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--blue);
}

.person-role {
  margin-top: 0.3rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

.person-phone {
  margin-top: 0.4rem;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--blue);
}

.person-card:hover,
.person-card:focus-visible {
  background: var(--teal-dark);
}

/* Form */
.quote-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem 1.5rem;
}

.quote-heading { margin-top: 0; margin-bottom: 1.1rem; }

.quote-form {
  display: grid;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.optional {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-muted);
}

.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 0.3rem;
  padding: 0.75rem 0.8rem;
  width: 100%;
  min-height: 2.85rem;
}

.field textarea { min-height: 8rem; resize: vertical; }

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(15, 116, 98, 0.35);
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.quote-form .btn { justify-self: start; }

.field-row {
  display: grid;
  gap: 1rem;
}

.quote-thanks {
  color: var(--ink-muted);
}

.thanks-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: 0.6rem;
}

.thanks-calls {
  margin-top: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.quote-thanks[hidden] { display: none !important; }

/* Footer */
.site-footer {
  background: var(--teal-dark);
  color: var(--blue);
  padding: 2.5rem 0 calc(2.25rem + env(safe-area-inset-bottom));
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-inner img {
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.85rem;
}

.footer-name {
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-tag {
  margin-top: 0.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-meta,
.footer-legal,
.footer-copy {
  margin-top: 0.55rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
}

.footer-meta {
  margin-top: 1.1rem;
}

/* 404 */
.page-404 { min-height: 100vh; }
.not-found {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.25rem;
  color: var(--blue);
  gap: 0.85rem;
}
.not-found h1 { font-weight: 500; letter-spacing: 0.04em; color: var(--blue); }
.not-found p { color: rgba(255, 255, 255, 0.85); margin-bottom: 0.5rem; }

/* Wider phones / tablets */
@media (min-width: 32rem) {
  .tagline { letter-spacing: 0.26em; }
  .photo-band img { height: 18rem; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .thanks-calls { flex-direction: row; flex-wrap: wrap; }
}

@media (min-width: 48rem) {
  .nav-toggle { display: none; }

  .site-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    position: static;
    background: none;
    padding: 0;
    border: 0;
    gap: 0;
  }

  .site-nav a {
    border: 0;
    padding: 0.55rem 0.45rem;
    min-height: 0;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
  }

  .hero {
    padding: 4rem 1.5rem 4.5rem;
  }

  .hero-logo {
    width: 10.5rem;
    height: 10.5rem;
    margin-bottom: 1.6rem;
  }

  .photo-band img { height: 22rem; }

  .section { padding: 4.25rem 0 4.5rem; }

  .service-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }

  .about { padding-top: 0.5rem; }

  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1.75rem;
    margin-top: 2rem;
  }

  .quote-block { padding: 1.75rem 1.75rem 1.85rem; }

  .contact-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.85fr);
    align-items: start;
  }

  .contact-layout .quote-block { order: -1; }

  .contact-layout .people { grid-template-columns: 1fr; }
}


@media (min-width: 70rem) {
  .service-grid { grid-template-columns: 1fr 1fr 1fr; }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .photo-band img { height: 26rem; }
  .wordmark { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav-toggle-bar,
  .nav-toggle-bar::before,
  .nav-toggle-bar::after,
  .btn {
    transition: none;
  }
}

/* Recent work gallery */
.work-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.work-item {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.work-item img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
}

.work-item.featured img {
  height: 22rem;
  object-position: center;
}

.work-item figcaption {
  padding: 0.8rem 1rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--teal-dark);
  line-height: 1.45;
}
.work-item figcaption a { color: var(--teal); }

/* Contact layout */
.contact-layout {
  display: grid;
  gap: 1.75rem;
}

.call-aside-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.35rem;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.quote-error { color: var(--ink-muted); }
.quote-error[hidden],
.quote-thanks[hidden] { display: none !important; }

.btn-on-cream {
  color: var(--teal-dark);
  border-color: var(--teal);
  background: transparent;
  margin-top: 0.75rem;
}

.btn-on-cream:hover,
.btn-on-cream:focus-visible {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.quote-form.is-sending .btn[type="submit"] { opacity: 0.7; cursor: wait; }

.footer-calls {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 1.25rem;
}

.footer-calls a {
  color: var(--blue);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-calls a:hover,
.footer-calls a:focus-visible { text-decoration: underline; }

@media (min-width: 48rem) {
  .nav-call { display: none; }

  .work-grid { grid-template-columns: 1fr 1fr 1fr; }
  .work-item.featured { grid-column: 1 / -1; }
  .work-item.featured img { height: 28rem; }
}

@media (min-width: 70rem) {
  .work-grid {
    grid-template-columns: 1.15fr 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .work-item.featured {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .work-item.featured img {
    height: 100%;
    min-height: 32rem;
  }
}

/* Stone-coated metal roofing feature (illustrative stock, not project photos) */
.roofing-feature { padding-bottom: 1.5rem; }

.roof-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 48rem) {
  .roof-grid { grid-template-columns: 1.3fr 1fr; align-items: stretch; }
  .roof-grid .work-item img { height: 18rem; }
}

@media (min-width: 70rem) {
  .roof-grid .work-item img { height: 22rem; }
}

@media (min-width: 64rem) {
  .site-nav a {
    padding: 0.55rem 0.65rem;
    font-size: 0.76rem;
    letter-spacing: 0.07em;
  }
}

/* Interior pages, blog, comparison, article typography */
.photo-band figcaption,
.photo-credit {
  line-height: 1.45;
  padding: 0.55rem 1.15rem 0.75rem;
  background: var(--teal-deeper);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.photo-credit a,
.photo-band figcaption a {
  color: var(--blue);
}

.hero-sub {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.98rem;
  max-width: 38rem;
  line-height: 1.5;
}

.page-hero {
  background: var(--teal);
  color: var(--blue);
  padding: 2.25rem 0 2.5rem;
}

.page-hero h1 {
  font-weight: 500;
  font-size: clamp(1.55rem, 5vw, 2.45rem);
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--blue);
  max-width: 22ch;
  text-wrap: balance;
}

.page-hero .hero-lead {
  text-align: left;
  margin-top: 0.9rem;
}

.crumbs {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.crumbs a {
  color: var(--blue);
  text-decoration: none;
}

.crumbs a:hover,
.crumbs a:focus-visible { text-decoration: underline; }

.benefit-list,
.prose ul,
.prose ol {
  margin: 1rem 0 0;
  padding: 0 0 0 1.15rem;
  color: var(--ink-muted);
}

.benefit-list li,
.prose li { margin: 0.45rem 0; }

.benefit-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  list-style: none;
  padding: 0;
}

.benefit-grid li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1.25rem;
}

.benefit-grid h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--teal-dark);
  margin: 0 0 0.4rem;
}

.benefit-grid p {
  color: var(--ink-muted);
  font-size: 0.96rem;
}

.section-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.legal-note,
.fine-print {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
  max-width: 50rem;
}

.footer-marks {
  margin-top: 1rem;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
  max-width: 42rem;
}

.footer-nav {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 1.1rem;
}

.footer-nav a {
  color: var(--blue);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-nav a:hover,
.footer-nav a:focus-visible { text-decoration: underline; }

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

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 52rem;
}

.compare-table th,
.compare-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.8rem 0.85rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-muted);
}

.compare-table th {
  background: var(--teal);
  color: var(--blue);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.compare-table th:first-child,
.compare-table td:first-child {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

.compare-table tr:last-child td { border-bottom: 0; }

.compare-table caption {
  text-align: left;
  padding: 0.75rem 0.85rem 0.35rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
  caption-side: bottom;
}

.profile-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  list-style: none;
  padding: 0;
}

.profile-grid li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.3rem;
}

.profile-grid h3 {
  color: var(--teal-dark);
  font-size: 1.12rem;
  margin: 0 0 0.35rem;
}

.profile-grid p { color: var(--ink-muted); font-size: 0.96rem; }
.profile-meta {
  margin-top: 0.7rem;
  font-size: 0.82rem;
  color: var(--teal-dark);
  font-weight: 600;
}

.blog-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
}

.blog-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.3rem;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover,
.blog-card:focus-visible {
  border-color: var(--teal);
}

.blog-card h2,
.blog-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--teal-dark);
  margin: 0.2rem 0 0.45rem;
  letter-spacing: 0.01em;
}

.blog-date,
.article-meta {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
}

.blog-card p { color: var(--ink-muted); font-size: 0.96rem; }

.prose {
  max-width: 44rem;
}

.prose h2 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--teal-dark);
  letter-spacing: 0.02em;
  margin: 2rem 0 0.7rem;
}

.prose h3 {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--teal-dark);
  margin: 1.4rem 0 0.45rem;
}

.prose p {
  color: var(--ink-muted);
  margin: 0.85rem 0 0;
}

.prose a { color: var(--teal-dark); }

.article-meta { margin-bottom: 0.4rem; }

.article-cta {
  margin-top: 2.25rem;
  background: var(--teal);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem 1.5rem;
}

.article-cta h2 {
  color: var(--blue);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.article-cta p { color: rgba(255, 255, 255, 0.88); margin: 0; }

.article-cta .section-actions { margin-top: 1rem; }

.sources {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.sources h2 {
  font-size: 1.05rem;
  margin-top: 0;
}

.sources ol {
  padding-left: 1.2rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.sources a { color: var(--teal-dark); word-break: break-word; }

.subpage-contact { padding-top: 1rem; }

@media (min-width: 48rem) {
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .profile-grid { grid-template-columns: 1fr 1fr; }
  .blog-list { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 3rem 0 3.15rem; }
}

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

.table-hint {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

@media (max-width: 47.99rem) {
  .table-hint { display: block; }
  .compare-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }
  .compare-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 1rem;
  }
  .compare-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .compare-table tbody,
  .compare-table tr,
  .compare-table th,
  .compare-table td {
    display: block;
    width: 100%;
    white-space: normal;
  }
  .compare-table tr {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
  }
  .compare-table th[scope="row"] {
    background: var(--teal);
    color: var(--blue);
    padding: 0.75rem 0.9rem;
  }
  .compare-table td {
    padding: 0.7rem 0.9rem 0.85rem;
    border-bottom: 1px solid var(--line);
  }
  .compare-table td:last-child { border-bottom: 0; }
  .compare-table td::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    color: var(--teal-dark);
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    margin-bottom: 0.3rem;
  }
  .compare-table caption {
    display: block;
    padding: 0.25rem 0 0;
  }
}

@media (min-width: 48rem) {
  .table-hint { display: none; }
}

/* Financing */
.financing-band .section-intro { max-width: 44rem; }

.financing-note {
  margin-top: 1.1rem;
  font-size: 0.84rem;
  line-height: 1.5;
  max-width: 46rem;
}

.section-teal .financing-note { color: rgba(255, 255, 255, 0.78); }

.financing-mention {
  margin-top: 1.25rem;
  padding: 1.15rem 1.2rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.financing-mention h3 {
  margin: 0 0 0.4rem;
  color: var(--teal-dark);
  font-size: 1.12rem;
}

.financing-mention p { color: var(--ink-muted); font-size: 0.96rem; }

.section-teal .financing-mention {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(148, 204, 246, 0.28);
}

.section-teal .financing-mention h3 { color: var(--blue); }
.section-teal .financing-mention p { color: rgba(255, 255, 255, 0.88); }
