:root {
  --ink: #1d2421;
  --muted: #58645f;
  --paper: #fbfcfa;
  --white: #ffffff;
  --pine: #173a2d;
  --moss: #6f8d74;
  --copper: #62483a;
  --mulberry: #7a3145;
  --mist: #e7efea;
  --line: #d6e0da;
  --shadow: 0 22px 60px rgba(21, 38, 33, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 40;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--pine);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px clamp(18px, 5vw, 72px);
  background: rgba(251, 252, 250, 0.92);
  border-bottom: 1px solid rgba(214, 224, 218, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  width: 280px;
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  color: var(--mulberry);
  font-weight: 800;
}

.nav-cta {
  padding: 10px 15px;
  border: 1px solid var(--pine);
  border-radius: 8px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 10px 12px;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: 116px clamp(20px, 7vw, 100px) 44px;
  overflow: hidden;
}

.hero > img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero > img {
  object-fit: cover;
  object-position: center 44%;
  image-rendering: auto;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(13, 25, 22, 0.72), rgba(13, 25, 22, 0.38) 50%, rgba(13, 25, 22, 0.08)),
    linear-gradient(0deg, rgba(13, 25, 22, 0.2), rgba(13, 25, 22, 0.02));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1c4cf;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
}

h1 {
  max-width: 850px;
  font-size: 66px;
}

h2 {
  font-size: 56px;
}

h3 {
  font-size: 25px;
}

.hero-content p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
}

.hero-content .credential-line {
  margin-top: 18px;
}

.credential-line {
  color: #f0d9cd;
  font-size: 15px;
  font-weight: 800;
}

.credential-line.dark {
  color: var(--copper);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

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

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.button.secondary.dark {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.text-link {
  width: fit-content;
  color: var(--pine);
  font-weight: 800;
  text-decoration-color: var(--copper);
  text-underline-offset: 5px;
}

.text-link.light {
  color: var(--white);
  text-decoration-color: #d9acba;
}

.band,
.about,
.upstate-story,
.services,
.device-help,
.experience,
.process,
.healthy-aging,
.local-story,
.consultation,
.faq {
  padding: clamp(24px, 3.2vw, 40px) clamp(20px, 6vw, 88px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(24px, 3.6vw, 46px);
  align-items: center;
  padding-top: clamp(24px, 3.2vw, 40px);
  padding-bottom: clamp(14px, 1.8vw, 22px);
  background: linear-gradient(180deg, var(--white), var(--paper));
  border-bottom: 1px solid var(--line);
}

.intro p:last-child,
.about-copy p,
.consultation-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.intro h2 {
  max-width: 980px;
  font-size: 48px;
}

.intro p:last-child {
  max-width: 520px;
  padding-left: 28px;
  border-left: 3px solid var(--copper);
}

.about {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: start;
}

.about-media img {
  width: min(100%, 420px);
  min-height: 0;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center center;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--white);
}

.about-copy {
  display: grid;
  gap: 20px;
}

.credential-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: clamp(4px, 1.2vw, 12px);
}

.credential-list span {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 11px 14px;
  border-left: 3px solid var(--copper);
  background: var(--mist);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.upstate-story {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  background: var(--pine);
  color: var(--white);
}

.upstate-story .eyebrow {
  color: #dcc4b7;
}

.upstate-copy p:not(.eyebrow) {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

.upstate-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.25);
}

.about-hero {
  min-height: 62vh;
  display: flex;
  align-items: end;
  padding: 160px clamp(20px, 7vw, 100px) 76px;
  background:
    linear-gradient(90deg, rgba(23, 58, 45, 0.7), rgba(23, 58, 45, 0.32)),
    url("assets/longview-fence-hero.jpg") center / cover;
  color: var(--white);
}

.about-hero > div {
  max-width: 840px;
}

.about-hero .eyebrow {
  color: #dcc4b7;
}

.about-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
}

.about-hero .credential-line {
  margin-top: 18px;
}

.founder-story {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: start;
  padding: clamp(34px, 4.8vw, 62px) clamp(20px, 6vw, 88px);
}

.story-image {
  position: sticky;
  top: 116px;
}

.story-image img {
  width: min(100%, 420px);
  min-height: 0;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center center;
  border-radius: 8px;
  filter: brightness(1.09) contrast(1.03) saturate(1.06);
  box-shadow: var(--shadow);
  background: var(--white);
}

.story-copy {
  display: grid;
  gap: 20px;
}

.story-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.trust-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  padding: clamp(34px, 4.8vw, 62px) clamp(20px, 6vw, 88px);
  background: var(--mist);
}

.personal-note {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
  padding: clamp(34px, 4.8vw, 62px) clamp(20px, 6vw, 88px);
  background: var(--white);
}

.personal-note-image img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center center;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.personal-note-copy p:not(.eyebrow) {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.trust-points {
  display: grid;
  gap: 16px;
}

.trust-points article {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.trust-points p {
  margin: 8px 0 0;
  color: var(--muted);
}

.credentials-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  padding: 1px;
}

.credentials-strip span {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
  text-align: center;
}

.about-cta {
  background: var(--white);
}

.cta-panel {
  display: grid;
  gap: 22px;
  align-content: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.cta-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.section-heading {
  max-width: 1180px;
  margin-bottom: 20px;
}

.services {
  padding-top: clamp(22px, 2.8vw, 34px);
}

.services .section-heading {
  max-width: none;
}

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

.service-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.88) contrast(0.96);
}

.service-card div {
  padding: 26px;
}

.service-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.device-help {
  padding-top: clamp(26px, 3.4vw, 42px);
  padding-bottom: clamp(26px, 3.4vw, 42px);
  background: linear-gradient(180deg, var(--white), var(--paper));
  border-top: 1px solid var(--line);
}

.device-help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.device-help-grid article {
  min-height: 156px;
  padding: 20px 24px;
  background: var(--white);
}

.device-help-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

.experience {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1fr);
  gap: clamp(24px, 4.8vw, 60px);
  align-items: center;
  background: var(--mist);
}

.experience-image img {
  width: 100%;
  min-height: 440px;
  object-fit: cover;
  border-radius: 8px;
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  font-size: 18px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 14px;
  height: 2px;
  background: var(--copper);
}

.process {
  background: var(--white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.process-steps article {
  min-height: 190px;
  padding: 24px;
  background: var(--paper);
}

.process-steps span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--mulberry);
  font-weight: 900;
}

.process-steps p {
  margin: 14px 0 0;
  color: var(--muted);
}

.healthy-aging {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  background: linear-gradient(180deg, var(--paper), var(--white));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.healthy-aging-copy {
  max-width: 880px;
}

.healthy-aging-copy p:not(.eyebrow) {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.research-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.research-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--pine);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.35;
  text-decoration: none;
}

.healthy-aging-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.healthy-aging-points span {
  min-height: 96px;
  display: flex;
  align-items: center;
  padding: 18px;
  border-left: 3px solid var(--mulberry);
  background: var(--mist);
  color: var(--ink);
  font-weight: 800;
}

.local-story {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.52fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  background: var(--pine);
  color: var(--white);
}

.local-story.compact {
  padding-top: clamp(24px, 3.2vw, 40px);
  padding-bottom: clamp(24px, 3.2vw, 40px);
}

.local-story .eyebrow {
  color: #d9acba;
}

.local-copy h2 {
  max-width: 920px;
  font-size: clamp(32px, 4vw, 48px);
}

.local-copy p:not(.eyebrow) {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.local-accent {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.local-accent img {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.area-checker {
  width: min(100%, 520px);
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.area-checker label {
  color: var(--white);
  font-weight: 900;
}

.area-checker > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.area-checker input {
  background: rgba(255, 255, 255, 0.94);
}

.area-checker button {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--white);
  border-radius: 8px;
  background: var(--white);
  color: var(--pine);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.area-check-result {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.area-check-result.is-inside {
  color: #d9f7e7;
}

.area-check-result.is-outside,
.area-check-result.is-error {
  color: #ffd8d8;
}

.consultation {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.contact-note {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.contact-email a,
.cta-panel a:not(.button) {
  color: var(--pine);
  font-weight: 800;
  text-decoration-color: var(--copper);
  text-underline-offset: 5px;
}

.next-steps {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding: 18px;
  border-left: 3px solid var(--copper);
  background: var(--mist);
}

.next-steps h3 {
  font-size: 24px;
}

.next-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

.contact-form .full,
.form-area-check {
  grid-column: 1 / -1;
}

.form-area-check {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.form-area-check label {
  display: block;
}

.form-area-check > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.form-area-check button {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--pine);
  border-radius: 8px;
  background: var(--pine);
  color: var(--white);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.form-area-check-result {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-area-check-result.is-inside {
  color: var(--pine);
  font-weight: 800;
}

.form-area-check-result.is-outside,
.form-area-check-result.is-error {
  color: var(--mulberry);
  font-weight: 800;
}

.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;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.faq {
  background: var(--mist);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 1180px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.thank-you-page {
  min-height: 72vh;
  align-items: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 34px clamp(20px, 6vw, 88px);
  background: var(--ink);
  color: var(--white);
}

.footer-logo {
  width: 270px;
  max-width: 100%;
}

.site-footer p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  overflow-wrap: anywhere;
}

.footer-contact {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.footer-contact span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.chat-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  justify-items: end;
  gap: 12px;
}

.chat-launcher,
.chat-close {
  border: 1px solid var(--pine);
  border-radius: 8px;
  background: var(--pine);
  color: var(--white);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.chat-launcher {
  min-height: 48px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
}

.chat-panel {
  display: none;
  width: min(430px, calc(100vw - 32px));
  max-height: min(680px, calc(100vh - 92px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.chat-panel.is-open {
  display: grid;
  grid-template-rows: auto minmax(300px, 1fr) auto;
}

.chat-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.chat-header h2 {
  font-size: 25px;
}

.chat-close {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  padding: 0;
  font-size: 24px;
  line-height: 1;
}

.chat-messages {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 0;
  overflow-y: auto;
  padding: 16px;
}

.chat-message {
  max-width: 92%;
  margin: 0;
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.chat-message.assistant {
  justify-self: start;
  background: var(--mist);
}

.chat-message.is-typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 64px;
  min-height: 42px;
}

.chat-message.is-typing span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--pine);
  opacity: 0.34;
  animation: chatTyping 900ms infinite ease-in-out;
}

.chat-message.is-typing span:nth-child(2) {
  animation-delay: 120ms;
}

.chat-message.is-typing span:nth-child(3) {
  animation-delay: 240ms;
}

@keyframes chatTyping {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.34;
  }

  40% {
    transform: translateY(-4px);
    opacity: 0.85;
  }
}

.chat-message.user {
  justify-self: end;
  background: var(--pine);
  color: var(--white);
}

.chat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-self: start;
  max-width: 92%;
}

.chat-actions a,
.chat-actions button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--pine);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.chat-actions a:first-child {
  background: var(--pine);
  border-color: var(--pine);
  color: var(--white);
}

.chat-start-actions {
  padding: 0 16px 14px;
  background: var(--white);
}

.chat-fit-start {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--pine);
  border-radius: 8px;
  background: var(--paper);
  color: var(--pine);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.chat-choice-grid {
  display: grid;
  gap: 8px;
  justify-self: start;
  max-width: 92%;
}

.chat-choice-grid button {
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--pine);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.chat-privacy-note {
  margin: 0;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  background: var(--paper);
}

.chat-form textarea {
  min-height: 48px;
  max-height: 120px;
  resize: vertical;
}

@media (max-width: 920px) {
  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 44px;
  }

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

  .nav-links {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .intro,
  .about,
  .founder-story,
  .trust-band,
  .personal-note,
  .upstate-story,
  .experience,
  .healthy-aging,
  .local-story,
  .consultation,
  .service-grid,
  .device-help-grid,
  .process-steps,
  .credentials-strip {
    grid-template-columns: 1fr;
  }

  .intro h2 {
    font-size: 40px;
  }

  .intro p:last-child {
    max-width: 680px;
    padding-left: 0;
    padding-top: 18px;
    border-left: 0;
    border-top: 3px solid var(--copper);
  }

  .story-image {
    position: static;
  }
}

@media (min-width: 921px) and (max-width: 1120px) {
  h2 {
    font-size: 46px;
  }

  .intro {
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
    gap: 34px;
  }

  .intro h2 {
    font-size: 46px;
  }

  .intro p:last-child {
    max-width: 430px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand-logo {
    width: 210px;
  }

  .hero {
    min-height: 82vh;
    padding: 126px 18px 42px;
  }

  html {
    scroll-padding-top: 92px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(13, 25, 22, 0.4), rgba(13, 25, 22, 0.22)),
      linear-gradient(90deg, rgba(13, 25, 22, 0.68), rgba(13, 25, 22, 0.22));
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 34px;
  }

  .intro h2 {
    font-size: 32px;
  }

  .hero-content p:not(.eyebrow) {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .experience-image img {
    min-height: 320px;
  }

  .about-hero {
    min-height: 58vh;
    padding: 140px 18px 52px;
  }

  .about-hero p:not(.eyebrow) {
    font-size: 18px;
  }

  .credential-list {
    grid-template-columns: 1fr;
  }

  .research-links {
    grid-template-columns: 1fr;
  }

  .healthy-aging-points {
    grid-template-columns: 1fr;
  }

  .process-steps article {
    min-height: auto;
  }

  .site-footer {
    align-items: start;
    flex-direction: column;
  }

  .footer-contact {
    justify-items: start;
  }

  .chat-widget {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .chat-panel {
    width: 100%;
    max-height: calc(100vh - 96px);
  }

  .chat-form {
    grid-template-columns: 1fr;
  }

  .area-checker > div,
  .form-area-check > div {
    grid-template-columns: 1fr;
  }
}
