/* Additions for the September SEO bundle. Keep typography.css v2 unchanged.
   Scope new rules to editorial content; preserve existing device/icon artwork. */
.seo-section {
  margin-block: 2rem;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--stroke, #d5dce7);
  border-radius: 1.25rem;
  background: var(--card, var(--panel, #fff));
  color: var(--text, var(--text-1, #172338));
  scroll-margin-top: 6rem;
}
.seo-section h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.3; margin: 0 0 1rem; }
.seo-section h3 { font-size: var(--text-card-title); line-height: 1.4; }
.seo-section p, .seo-section li, .seo-section td, .seo-section th,
.seo-section summary { font-size: var(--text-body); line-height: 1.7; }
.seo-section p { margin: 0 0 1rem; }
.seo-section p:last-child { margin-bottom: 0; }
.seo-section ul, .seo-section ol { padding-inline-start: 1.5rem; }
.seo-section li { margin-block: .5rem; }
.seo-section a, .seo-breadcrumb a { color: var(--accent-2, var(--cyan, #1557a0)); text-decoration: underline; text-underline-offset: .2em; }
.seo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.5rem; }
.seo-grid article { min-width: 0; }
.seo-grid figure { margin: 0; text-align: center; }
.seo-grid img { max-width: 100%; object-fit: contain; }
.seo-table-wrap { max-width: 100%; overflow-x: auto; border-radius: .75rem; }
.seo-table-wrap table { width: 100%; border-collapse: collapse; text-align: left; }
.seo-table-wrap caption { text-align: left; font-size: var(--text-body); font-weight: 600; padding-bottom: 1rem; }
.seo-table-wrap th, .seo-table-wrap td { padding: .8rem; border-bottom: 1px solid var(--stroke, #d5dce7); min-width: 8rem; vertical-align: top; }
.seo-faq details { padding-block: 1rem; border-bottom: 1px solid var(--stroke, #d5dce7); }
.seo-faq summary { cursor: pointer; font-weight: 600; }
.seo-faq details p { padding-top: .75rem; }
.seo-breadcrumb { position: static; display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; padding: 1rem 0; border: 0; background: transparent; box-shadow: none; font-size: var(--text-small); line-height: 1.6; }
.seo-button, .seo-section a.seo-button { display: inline-block; padding: .85rem 1.2rem; border-radius: .7rem; background: #ffd366; color: #172338; font-size: var(--text-body); font-weight: 700; line-height: 1.5; text-decoration: none; }
.seo-section :focus-visible, .seo-breadcrumb :focus-visible, .seo-document :focus-visible { outline: 3px solid #428bd7; outline-offset: 4px; }
/* Longer descriptive headings must wrap on the existing marketing layouts. */
.page .hero-copy { min-width: 0; }
.page .hero-copy h1 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.25; overflow-wrap: break-word; }
.pillar-card .pillar-title { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.3; }
.page .hero-desc, .pillar-card .pillar-desc { font-size: var(--text-body); line-height: 1.7; }
.seo-document { margin: 0; background: #f3f6fb; color: #172338; }
.seo-document a { color: #1557a0; text-underline-offset: .2em; }
.seo-document .seo-button { color: #172338; }
/* ════════ NAVBAR (MATCHING LANDING.HTML) ════════ */
.seo-navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid #d5dce7;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.seo-navbar .nav-in {
  width: min(70rem, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.seo-navbar .brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.seo-navbar .brand img {
  height: 34px;
  width: auto;
  display: block;
}
.seo-navbar .nav-links {
  display: flex;
  gap: 1rem;
  font-size: var(--text-label);
  align-items: center;
  white-space: nowrap;
}
.seo-navbar .nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: none;
  color: #172338;
  transition: color 0.2s, background 0.2s;
}
.seo-navbar .nav-links a:hover {
  color: #ca8a04;
}
.seo-navbar .nav-icon {
  font-size: 0.95rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.seo-navbar .nav-tag-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 99px;
  font-size: var(--text-small);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  transition: all 0.2s;
}
.seo-navbar .nav-tag-care {
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #ca8a04 !important;
}
.seo-navbar .nav-tag-care:hover {
  background: rgba(245, 158, 11, 0.25);
}
.seo-navbar .nav-tag-kid {
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #0284c7 !important;
}
.seo-navbar .nav-tag-kid:hover {
  background: rgba(59, 130, 246, 0.25);
}
.seo-navbar .nav-cta {
  background: linear-gradient(135deg, #facc15 0%, #eab308 55%, #ca8a04 100%);
  color: #181204 !important;
  font-weight: 700;
  font-size: var(--text-label);
  padding: 8px 18px;
  border-radius: 99px;
  box-shadow: 0 0 20px rgba(234, 179, 8, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.seo-navbar .nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(234, 179, 8, 0.55);
}
@media (max-width: 768px) {
  .seo-navbar .nav-links {
    gap: 0.5rem;
  }
  .seo-navbar .nav-links a .nav-text {
    display: none;
  }
  .seo-navbar .nav-links a {
    padding: 7px 10px;
    border-radius: 99px;
    background: rgba(0, 0, 0, 0.05);
  }
}
@media (max-width: 480px) {
  .seo-navbar .nav-in {
    padding: 8px 0;
  }
  .seo-navbar .nav-cta {
    padding: 6px 12px;
    font-size: var(--text-small);
  }
}
.seo-main { max-width: 70rem; margin: auto; padding: 1rem; }
.seo-main > h1 { max-width: 28ch; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.2; margin-block: 1.5rem; }
.seo-lead { max-width: 65ch; font-size: var(--text-lead); line-height: 1.7; }
.seo-product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center; margin-block: 2rem; padding: 1.5rem; background: #fff; border-radius: 1.25rem; }
.seo-product > img { display: block; width: 100%; max-width: 360px; height: auto; aspect-ratio: 1; object-fit: contain; margin-inline: auto; }
.seo-price { font-size: 2rem; font-weight: 700; }
.seo-toc { padding: 1.2rem; border-inline-start: 4px solid #e2ae31; background: #fff; margin-block: 2rem; }
.seo-toc li { margin-block: .5rem; }
/* ════════ FOOTER (MATCHING LANDING.HTML) ════════ */
.seo-footer {
  border-top: 1px solid #d5dce7;
  padding: 3rem 0 3.5rem;
  background: #0b1220;
  color: #aab8cf;
  font-size: var(--text-body);
  line-height: 1.6;
}
.seo-foot-wrap {
  max-width: 70rem;
  margin-inline: auto;
  padding-inline: 1rem;
}
.seo-footer .foot-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 2.25rem;
}
.seo-footer .foot-col {
  min-width: 0;
  line-height: 1.6;
}
.seo-footer .foot-company {
  color: #eef3fb;
  font-size: var(--text-body);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.seo-footer .foot-company-brand {
  white-space: nowrap;
  color: #ffd84d;
}
.seo-footer .foot-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-style: normal;
  font-size: var(--text-body);
  color: #aab8cf;
}
.seo-footer .foot-contact a {
  color: #ffd84d;
  font-weight: 600;
  text-decoration: none;
}
.seo-footer .foot-contact a[href^="mailto:"] {
  color: #60a5fa;
}
.seo-footer .foot-contact a:hover {
  text-decoration: underline;
}
.seo-footer .foot-copyright {
  margin-top: 1rem;
  color: #6d7d96;
  font-size: var(--text-small);
}
.seo-footer .foot-col h4 {
  color: #eef3fb;
  font-size: var(--text-label);
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.seo-footer .foot-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.seo-footer .foot-col li {
  margin: 0;
}
.seo-footer .foot-col a {
  color: #aab8cf;
  text-decoration: none;
  transition: color 0.2s;
}
.seo-footer .foot-col a:hover {
  color: #ffd84d;
  text-decoration: underline;
}
.seo-footer .foot-product-note {
  display: block;
  color: #6d7d96;
  font-size: var(--text-small);
}
@media (max-width: 860px) {
  .seo-footer .foot-top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .seo-footer .foot-top {
    grid-template-columns: 1fr;
  }
}
.seo-skip { position: absolute; left: 1rem; top: -8rem; background: #fff; padding: 1rem; z-index: 100; }
.seo-skip:focus { top: 1rem; }
@media (max-width: 42rem) {
  .seo-product { grid-template-columns: 1fr; padding: 1rem; }
  .seo-section { padding: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .seo-document { scroll-behavior: auto; }
}

/* ════════════════════════════════════════════
   THEME CAREMI (DARK MODE FOR SENIOR CARE)
   ════════════════════════════════════════════ */
.seo-document.theme-caremi {
  background: #0a0907;
  color: #f4efe7;
}
.seo-document.theme-caremi a {
  color: #ffd84d;
}
.seo-document.theme-caremi .seo-skip {
  background: #17140f;
  color: #ffd84d;
  border: 1px solid #2a241c;
}
.seo-document.theme-caremi .seo-navbar {
  background: rgba(10, 9, 7, 0.9);
  border-bottom: 1px solid #2a241c;
}
.seo-document.theme-caremi .seo-navbar .nav-links a {
  color: #f4efe7;
}
.seo-document.theme-caremi .seo-navbar .nav-links a:hover {
  color: #ffd84d;
}
.seo-document.theme-caremi .seo-navbar .nav-tag-care {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #ffd84d !important;
}
.seo-document.theme-caremi .seo-navbar .nav-tag-kid {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #60a5fa !important;
}
.seo-document.theme-caremi .seo-navbar .nav-cta {
  background: linear-gradient(135deg, #ffc107, #d39e00);
  color: #0a0907 !important;
}
@media (max-width: 768px) {
  .seo-document.theme-caremi .seo-navbar .nav-links a {
    background: rgba(255, 255, 255, 0.08);
  }
}
.seo-document.theme-caremi .seo-breadcrumb {
  color: #a89e90;
}
.seo-document.theme-caremi .seo-breadcrumb a {
  color: #ffd84d;
}
.seo-document.theme-caremi .seo-product {
  background: #17140f;
  border: 1px solid #2a241c;
}
.seo-document.theme-caremi .seo-price {
  color: #ffd84d;
}
.seo-document.theme-caremi .seo-toc {
  background: #17140f;
  border-inline-start-color: #EDB304;
  border-top: 1px solid #2a241c;
  border-right: 1px solid #2a241c;
  border-bottom: 1px solid #2a241c;
  border-radius: 0 .75rem .75rem 0;
}
.seo-document.theme-caremi .seo-toc strong {
  color: #f4efe7;
}
.seo-document.theme-caremi .seo-section {
  background: #17140f;
  border-color: #2a241c;
  color: #f4efe7;
}
.seo-document.theme-caremi .seo-section h2,
.seo-document.theme-caremi .seo-section h3 {
  color: #f4efe7;
}
.seo-document.theme-caremi .seo-section a {
  color: #ffd84d;
}
.seo-document.theme-caremi .seo-section th,
.seo-document.theme-caremi .seo-section td,
.seo-document.theme-caremi .seo-faq details {
  border-bottom-color: #2a241c;
}
.seo-document.theme-caremi .seo-table-wrap caption {
  color: #f4efe7;
}
.seo-document.theme-caremi .seo-faq summary {
  color: #f4efe7;
}
.seo-document.theme-caremi .seo-button,
.seo-document.theme-caremi .seo-section a.seo-button {
  background: #EDB304;
  color: #0a0907;
  font-weight: 700;
}
.seo-document.theme-caremi .seo-button:hover,
.seo-document.theme-caremi .seo-section a.seo-button:hover {
  background: #ffd84d;
}
.seo-document.theme-caremi .seo-footer {
  background: #060504;
  border-top: 1px solid #2a241c;
  color: #a89e90;
}
.seo-document.theme-caremi .seo-footer .foot-company,
.seo-document.theme-caremi .seo-footer .foot-col h4 {
  color: #f4efe7;
}
.seo-document.theme-caremi .seo-footer .foot-company-brand,
.seo-document.theme-caremi .seo-footer .foot-contact a {
  color: #ffd84d;
}
.seo-document.theme-caremi .seo-footer .foot-contact {
  color: #a89e90;
}
.seo-document.theme-caremi .seo-footer .foot-copyright,
.seo-document.theme-caremi .seo-footer .foot-product-note {
  color: #6f6558;
}
.seo-document.theme-caremi .seo-footer .foot-col a {
  color: #a89e90;
}
.seo-document.theme-caremi .seo-footer .foot-col a:hover {
  color: #ffd84d;
}
.seo-document.theme-caremi :focus-visible {
  outline: 3px solid #ffd84d;
  outline-offset: 4px;
}
