@font-face {
  font-family: "Sofia Sans Extra Condensed";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/sofia-sans-extra-condensed-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Sofia Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/sofia-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f3eee6;
  --paper-deep: #e7dfd2;
  --surface: #fbf8f4;
  --ink: #241e18;
  --ink-soft: #4a433a;
  --line: #ddd4c6;
  --line-strong: #c9bba8;
  --accent: #8e3b2e;
  --accent-dark: #6f2d23;
  --display: "Sofia Sans Extra Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --sans: "Sofia Sans", "Segoe UI", "Helvetica Neue", sans-serif;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  border-top: 6px solid var(--accent);
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 3.55rem);
  max-width: 14em;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  max-width: 18em;
}

h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: 0;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--accent);
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--accent-dark);
}

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

::selection {
  background: #ead3c4;
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--surface);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  border: 2px solid var(--ink);
  text-decoration: none;
}

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

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

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

.measure {
  max-width: 40rem;
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-block: 0.85rem 0.7rem;
}

.brand,
.footer-brand {
  display: inline-flex;
  flex: 0 0 auto;
  max-width: 100%;
  line-height: 0;
  text-decoration: none;
}

.brand-logo,
.footer-logo {
  display: block;
  width: auto;
  height: auto;
  aspect-ratio: 3026 / 433;
  object-fit: contain;
}

.brand-logo {
  height: 2rem;
  max-width: 100%;
}

.brand:hover .brand-logo,
.footer-brand:hover .footer-logo {
  opacity: 0.82;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.05rem;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 1.25rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.hero {
  padding: 3.25rem 0 3.5rem;
}

.subhead {
  margin-top: 1.15rem;
  max-width: 36rem;
  font-size: 1.2rem;
  color: var(--ink-soft);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.35rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
  border-radius: 0.3rem;
  text-decoration: none;
  font: inherit;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.button:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

.text-link {
  font-weight: 650;
  color: var(--ink);
}

.section {
  padding: 3.25rem 0;
  border-top: 1px solid var(--line);
}

.band {
  background: var(--paper-deep);
  border-top: none;
}

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

.help-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: 1.4rem 1.3rem 1.5rem;
}

.help-card h3 {
  margin-bottom: 0.75rem;
}

.help-card p {
  margin: 0;
}

.checkup-teaser {
  display: grid;
  gap: 1.75rem;
}

.checkup-offer p:last-of-type {
  margin-bottom: 1rem;
}

.fee {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0 2rem;
  font-variant-numeric: tabular-nums;
}

.pricing-table th,
.pricing-table td {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: baseline;
  font-weight: 450;
}

.pricing-table thead th {
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--ink-soft);
}

.pricing-table td {
  text-align: right;
  white-space: nowrap;
  font-weight: 650;
}

.pricing-table tbody th {
  padding-right: 1rem;
  font-weight: 550;
}

.pricing-table tbody th a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.pricing-table tbody th a:hover {
  color: var(--accent);
}

.service-detail {
  display: block;
  margin-top: 0.25rem;
  font-weight: 450;
  color: var(--ink-soft);
}

.measure h3 {
  margin: 0.25rem 0 0.75rem;
  font-size: 1.25rem;
}

.plain-list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.plain-list li {
  position: relative;
  padding-left: 1.2rem;
  margin: 0 0 0.55rem;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--accent);
}

.example {
  padding: 0.9rem 0 0.9rem 1rem;
  border-left: 3px solid var(--accent);
}

.about-layout {
  display: grid;
  gap: 2rem;
}

.portrait {
  margin: 0;
  max-width: 16rem;
}

.portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
  border-radius: 0.35rem;
  background: var(--paper-deep);
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  padding: 0.95rem 0;
  cursor: pointer;
  list-style: none;
}

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

.faq summary h3 {
  font-family: var(--sans);
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.4;
}

.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--display);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--accent);
}

.faq details[open] summary::after {
  content: "–";
}

.faq-answer {
  padding: 0 0 1rem;
}

.faq-answer p:last-child {
  margin-bottom: 0.25rem;
}

.contact-form {
  max-width: 32rem;
  margin-top: 0.5rem;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-weight: 650;
  margin-bottom: 0.35rem;
}

input,
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 0.25rem;
  padding: 0.7rem 0.75rem;
  min-height: 44px;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

input:user-invalid,
textarea:user-invalid {
  border-color: var(--accent);
}

.review-list,
.steps-list {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: review;
}

.review-list li,
.steps-list li {
  counter-increment: review;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 0 0 1.15rem;
}

.review-list li::before,
.steps-list li::before {
  content: counter(review);
  flex: 0 0 1.75rem;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.3;
}

.review-list li > span,
.steps-list li > span {
  flex: 1 1 auto;
  min-width: 0;
}

.how {
  font-size: 1.2rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2.5rem;
}

.footer-brand {
  display: flex;
  justify-content: center;
  margin: 0 auto 0.9rem;
}

.footer-logo {
  height: 1.75rem;
  max-width: min(100%, 16rem);
}

.footer-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 0;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
}

.footer-line li:not(:last-child)::after {
  content: "·";
  margin: 0 0.5rem;
  color: var(--line-strong);
}

.footer-line a {
  color: inherit;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-social a:hover {
  color: var(--accent);
}

.footer-social svg {
  display: block;
}

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

.button:focus-visible {
  outline-color: var(--ink);
}

@media (min-width: 800px) {
  html {
    scroll-padding-top: 5.5rem;
  }

  .wrap {
    width: min(100% - 4rem, 68rem);
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 5;
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-block: 0.55rem;
  }

  .brand-logo {
    height: 2.25rem;
  }

  .nav a {
    font-size: 1.125rem;
  }

  .hero {
    padding: 5rem 0 4.5rem;
  }

  .section {
    padding: 4.75rem 0;
  }

  .help-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .checkup-teaser {
    grid-template-columns: minmax(0, 1.5fr) minmax(14rem, 0.7fr);
    gap: 3rem;
    align-items: end;
  }

  .about-layout {
    grid-template-columns: minmax(0, 40rem) 14rem;
    gap: 4rem;
    align-items: start;
  }
}

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

@media (forced-colors: active) {
  .button {
    border: 1px solid ButtonText;
  }

  .portrait img {
    border: 1px solid CanvasText;
  }
}
