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

:root {
  --green: #00b478;
  --green-dark: #009962;
  --green-light: #e8faf3;
  --black: #1a1a1a;
  --dark: #111;
  --body-text: #2d2d2d;
  --gray: #6b7280;
  --gray-light: #f5f5f5;
  --border: #e0e0e0;
  --white: #ffffff;
  --max: 680px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  background: #fafaf8;
  color: var(--body-text);
  font-size: 18px;
  line-height: 1.75;
}

/* ── HEADER ── */
header {
  background: var(--white);
  border-bottom: 3px solid var(--green);
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 38px; height: 38px;
  background: var(--green);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.logo-icon svg { width: 22px; height: 22px; }

.logo-name {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--black);
  letter-spacing: -0.3px;
}

.logo-name span { color: var(--green); }

.header-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* ── AD DISCLOSURE ── */
.disclosure {
  background: #fffbeb;
  border-bottom: 1px solid #fde68a;
  text-align: center;
  padding: 8px 20px;
  font-size: 12px;
  color: #92400e;
  font-weight: 500;
}

/* ── ARTICLE WRAPPER ── */
.article {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 20px 80px;
}

/* ── CATEGORY TAG ── */
.category {
  display: inline-block;
  background: var(--green);
  color: white;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 18px;
}

/* ── HEADLINE ── */
.article h1 {
  font-family: 'Lora', serif;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.22;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

/* ── DECK / SUBHEAD ── */
.deck {
  font-size: 20px;
  font-weight: 400;
  color: #444;
  line-height: 1.55;
  margin-bottom: 24px;
  border-left: 4px solid var(--green);
  padding-left: 18px;
}

/* ── BYLINE ── */
.byline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
  font-size: 13px;
  color: var(--gray);
}

.byline-avatar {
  width: 38px; height: 38px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--green-dark);
  flex-shrink: 0;
}

.byline-meta strong {
  color: var(--black);
  font-weight: 600;
}

.byline-dot { color: #ccc; }

/* ── HERO IMAGE ── */
.hero-image {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 10px;
  position: relative;
  background: #e8e8e0;
  aspect-ratio: 905/676;
}

.hero-img-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #d4e8d4 0%, #a8d5b8 40%, #7bc4a0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* SVG illustration of stairlift */
.hero-img-inner svg {
  width: 100%;
  height: 100%;
}

.image-caption {
  font-size: 12px;
  color: var(--gray);
  text-align: center;
  margin-bottom: 32px;
  font-style: italic;
}

/* ── BODY TEXT ── */
.article p {
  margin-bottom: 22px;
  color: var(--body-text);
}

.article h2 {
  font-family: 'Lora', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--dark);
  margin: 36px 0 16px;
  line-height: 1.3;
}

.article h3 {
  font-family: 'Lora', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  margin: 28px 0 12px;
}

/* Pull quote */
.pullquote {
  font-family: 'Lora', serif;
  font-size: 22px;
  font-style: italic;
  color: var(--dark);
  line-height: 1.5;
  border-top: 3px solid var(--green);
  border-bottom: 1px solid var(--border);
  padding: 20px 0 20px 0;
  margin: 32px 0;
}

/* ── STAT BOX ── */
.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin: 32px 0;
}

.stat-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--green);
  border-radius: 6px;
  padding: 18px 14px;
  text-align: center;
}

.stat-num {
  font-family: 'Lora', serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--gray);
  font-weight: 500;
  line-height: 1.4;
}

/* ── CHECKLIST ── */
.checklist {
  background: var(--green-light);
  border: 1px solid rgba(0,180,120,0.2);
  border-left: 4px solid var(--green);
  border-radius: 0 6px 6px 0;
  padding: 20px 22px;
  margin: 28px 0;
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  color: var(--body-text);
  padding: 5px 0;
  line-height: 1.5;
}

.checklist li::before {
  content: '';
  width: 20px; height: 20px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 10l4 4 6-7' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: cover;
}

/* ── WARNING BOX ── */
.warning-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  border-radius: 0 6px 6px 0;
  padding: 16px 20px;
  margin: 28px 0;
  font-size: 15px;
  color: #78350f;
}

.warning-box strong {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  color: #92400e;
}

/* ── IN-ARTICLE CTA ── */
.cta-block {
  background: var(--dark);
  color: var(--white);
  border-radius: 10px;
  padding: 32px 28px;
  margin: 40px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(0,180,120,0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-block .cta-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--green);
  margin-bottom: 10px;
}

.cta-block h3 {
  font-family: 'Lora', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}

.cta-block p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 22px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.3px;
}

.cta-btn:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.cta-small {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-top: 10px;
  margin-bottom: 0 !important;
}

/* ── PRODUCT FEATURE BOX ── */
.product-box {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin: 36px 0;
}

.product-box-header {
  background: var(--green);
  color: white;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-box-body {
  background: var(--white);
  padding: 22px 20px;
}

.product-box-body h3 {
  font-family: 'Lora', serif;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--dark);
}

.product-box-body p {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 16px;
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}

.feature-list li {
  font-size: 14px;
  color: var(--body-text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.feature-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.product-cta {
  display: block;
  background: var(--green);
  color: white;
  text-align: center;
  padding: 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: 'Source Sans 3', sans-serif;
  width: 100%;
  transition: background 0.2s;
}

.product-cta:hover { background: var(--green-dark); }

/* ── DIVIDER ── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

/* ── TESTIMONIAL ── */
.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  margin: 28px 0;
  position: relative;
}

.testimonial::before {
  content: '"';
  font-family: 'Lora', serif;
  font-size: 72px;
  color: var(--green);
  position: absolute;
  top: -10px; left: 16px;
  line-height: 1;
  opacity: 0.3;
}

.testimonial-text {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--dark);
  margin-bottom: 16px !important;
  padding-top: 20px;
}

.testimonial-author {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 0 !important;
}

.stars { color: #f59e0b; letter-spacing: 2px; font-size: 14px; margin-bottom: 8px; }

/* ── BOTTOM STICKY CTA ── */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 2px solid var(--green);
  padding: 14px 20px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-cta.visible { transform: translateY(0); }

.sticky-cta-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
}

.sticky-cta-text span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--gray);
}

.sticky-btn {
  background: var(--green);
  color: white;
  border: none;
  padding: 12px 22px;
  border-radius: 6px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}

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

/* ── RELATED / FOOTER ── */
.article-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px 100px;
  border-top: 2px solid var(--border);
}

.article-footer p {
  font-size: 13px;
  color: var(--gray);
  margin-top: 24px;
  line-height: 1.7;
}

/* ── NUMBER LIST ── */
.article ol {
  padding-left: 22px;
  margin-bottom: 22px;
}

.article ol li {
  margin-bottom: 10px;
  padding-left: 6px;
}

/* ── USA MAP CTA ── */
.map-block {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-top: 4px solid var(--green);
  border-radius: 10px;
  padding: 24px 20px 20px;
  margin: 36px 0;
  text-align: center;
}

.map-container {
  width: 100%;
  margin-bottom: 20px;
}

.usa-map {
  width: 100%;
  height: auto;
  display: block;
}

.usa-map .region {
  transition: opacity 0.2s;
}

.usa-map .region:hover path {
  opacity: 1 !important;
  filter: brightness(1.1);
}

.map-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.map-btn {
  width: 100%;
  padding: 15px;
  background: var(--dark);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  letter-spacing: 0.3px;
}

.map-btn:hover { background: #2d2d2d; transform: translateY(-1px); }

.map-btn.active {
  background: var(--green);
}

.map-hint {
  font-size: 13px;
  color: var(--gray);
  margin-top: 14px !important;
  margin-bottom: 0 !important;
  font-style: italic;
}

/* ── TYPES OF STAIRLIFTS ── */
.types-section {
  margin: 0 0 36px;
}

.types-title {
  font-family: 'Lora', serif;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.types-section p {
  font-size: 18px;
  color: var(--body-text);
  line-height: 1.75;
}

.types-section p strong {
  color: var(--dark);
  font-weight: 700;
}

/* ── GET STARTED SECTION ── */
.getstarted-section {
  margin: 36px 0;
  padding: 32px 28px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-top: 4px solid var(--green);
  border-radius: 8px;
}

.getstarted-title {
  font-family: 'Lora', serif;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.getstarted-section p {
  font-size: 17px;
  color: var(--body-text);
  line-height: 1.75;
  margin-bottom: 14px;
}

.getstarted-subtitle {
  font-family: 'Lora', serif;
  font-size: clamp(22px, 3.5vw, 28px);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin: 28px 0 18px;
}

.getstarted-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.getstarted-step {
  font-size: 17px;
  color: var(--body-text);
  line-height: 1.65;
}

.step-label {
  font-weight: 700;
  color: var(--dark);
}

.step-link {
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.step-link:hover { color: var(--green); }

/* ── REVIEW SECTION ── */
.review-section {
  margin: 0 0 36px;
}

.review-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--green-dark);
  margin-bottom: 12px !important;
}

.review-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  padding: 24px 22px;
  position: relative;
}

.review-card .stars {
  color: #f59e0b;
  font-size: 18px;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.review-text {
  font-family: 'Lora', serif;
  font-size: 17px;
  font-style: italic;
  color: var(--dark);
  line-height: 1.7;
  margin-bottom: 18px !important;
}

.review-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px; height: 40px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.review-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}

.review-location {
  font-size: 12px;
  color: var(--green-dark);
  font-weight: 600;
}

/* ── YEAR OF BIRTH CTA ── */
.yob-block {
  background: var(--green-light);
  border: 1.5px solid rgba(0,180,120,0.25);
  border-radius: 12px;
  padding: 24px 20px;
  margin: 0 0 36px;
}

.yob-title {
  font-family: 'Lora', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  line-height: 1.4;
  margin-bottom: 20px !important;
}

.yob-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.yob-btn {
  background: var(--green);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 14px 10px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  letter-spacing: 0.3px;
}

.yob-btn:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.yob-btn.selected {
  background: var(--dark);
  transform: scale(0.97);
}

/* ── EXPLAINER SECTION ── */
.explainer-section {
  margin: 0 0 36px;
  padding-top: 8px;
}

.explainer-title {
  font-family: 'Lora', serif;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 18px;
}

.explainer-section p {
  font-size: 18px;
  color: var(--body-text);
  line-height: 1.75;
  margin-bottom: 16px;
}

.explainer-section p strong {
  color: var(--dark);
  font-weight: 700;
}

/* ── HOOK SECTION ── */
.hook-section {
  margin: 0 0 36px;
}

.hook-title {
  font-family: 'Lora', serif;
  font-size: clamp(26px, 4.5vw, 34px);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hook-section p {
  font-size: 18px;
  color: var(--body-text);
  line-height: 1.75;
  margin-bottom: 16px;
}

.hook-section p strong {
  color: var(--dark);
  font-weight: 700;
}

/* ── STAIRLIFT TYPE SELECTOR ── */
.selector-block {
  background: var(--green-light);
  border: 1.5px solid rgba(0,180,120,0.25);
  border-radius: 10px;
  padding: 24px 20px 20px;
  margin: 0 0 36px;
}

.selector-title {
  font-family: 'Lora', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 20px !important;
}

.selector-options-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.selector-option {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.selector-option:hover {
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,180,120,0.18);
}

.selector-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  display: block;
}

.selector-img svg { display: block; width: 100%; height: 100%; }

.selector-label {
  display: block;
  background: var(--green-dark);
  color: white;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 10px;
  text-align: center;
  line-height: 1.3;
}

/* ── SITE FOOTER ── */
.site-footer {
  background: #1e3d2f;
  padding: 40px 20px;
  text-align: center;
  margin-bottom: 70px;
}

.site-footer-inner {
  max-width: 480px;
  margin: 0 auto;
}

.footer-flag {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-links a {
  color: #7ecfb0;
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links a:hover { color: var(--green); }

.footer-divider {
  color: rgba(255,255,255,0.4);
  font-size: 16px;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

/* ── COMPACT STICKY CTA ── */
.scroll-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--green);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 200;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.scroll-cta.visible { transform: translateY(0); }

.scroll-cta-text {
  font-size: 13px;
  font-weight: 700;
  color: white;
  line-height: 1.3;
  flex: 1;
}

.scroll-cta-btn {
  background: white;
  color: var(--green-dark);
  border: none;
  padding: 9px 16px;
  border-radius: 6px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.scroll-cta-btn:hover { opacity: 0.9; }

/* ── RESPONSIVE ── */
@media (max-width: 560px) {
  .header-inner {
    flex-direction: column;
    justify-content: center;
    height: auto;
    padding: 10px 0;
    gap: 4px;
  }
  .header-label {
    position: static;
    transform: none;
  }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .sticky-cta-text span { display: none; }
  .article h1 { font-size: 26px; }
  .deck { font-size: 17px; }
}
