/* Mobile presentation shared by all interior pages.
   Home has its own approved mobile treatment. No desktop changes. */
@media (max-width: 850px) {
  body { --sky:#f5f5f1; --mist:#f8f7f4; --line:#e5e6e4; --muted:#505d6a; font-size:16px; line-height:1.58; }
  main { overflow-x:clip; }
  .shell { width:min(calc(100% - 32px),var(--max)); }
  .hero { padding:51px 0 54px; background:#15254a; }
  .breadcrumbs { gap:6px; font-size:.79rem; line-height:1.5; }
  .eyebrow { margin:21px 0 11px; font-size:.73rem; letter-spacing:.1em; }
  h1 { max-width:700px; margin-bottom:14px; font-size:clamp(2.1rem,6.5vw,3.25rem); line-height:1.1; letter-spacing:-.035em; }
  .hero-copy { font-size:1.02rem; line-height:1.6; }
  .actions { gap:10px; margin-top:23px; }
  .button { min-height:48px; padding:11px 19px; }
  .page-section { padding:53px 0; }
  .page-section[id] { scroll-margin-top:80px; }
  .page-section.mist { background:#f8f7f4; }
  .page-section.sky { background:#f5f5f1; }
  .intro-grid,.visual-grid,.callout { gap:25px; }
  .intro-grid h2,.section-head h2,.credential-panel h2 { margin-bottom:14px; font-size:clamp(1.8rem,5.7vw,2.65rem); line-height:1.16; }
  .section-head { margin-bottom:24px; }
  .section-head p,.intro-grid p,.credential-panel p { line-height:1.6; }
  .section-label { margin-bottom:9px; font-size:.72rem; letter-spacing:.1em; }
  .key-list { gap:0; }
  .key-list li { padding:11px 0; }
  .service-grid,.specialty-grid,.related-grid,.article-grid,.contact-grid { gap:12px; }
  .service-card,.specialty-card,.related-link,.resource-link,.article-card,.contact-card,.example-panel {
    min-height:0; padding:21px; border:1px solid var(--line); border-radius:13px; background:#fff; box-shadow:none;
  }
  .specialty-card { background:#fff; }
  .service-card h3,.specialty-card h3,.article-card h3 { margin:10px 0 8px; font-size:1.32rem; line-height:1.2; }
  .service-card p,.specialty-card p { margin-bottom:12px; font-size:.95rem; line-height:1.55; }
  .text-link { min-height:42px; }
  .related-link { padding:17px 19px; }
  .resource-links { gap:11px; margin-top:23px; padding-top:22px; }
  .resource-link { min-height:0; padding:18px 20px; }
  .planning-plan { border-radius:14px; box-shadow:none; }
  .planning-plan img { height:auto; max-height:430px; object-fit:cover; }
  .callout { gap:19px; padding:24px; border-radius:13px; background:#15254a; }
  .callout h2 { font-size:clamp(1.6rem,5.5vw,2.25rem); }
  .callout p { line-height:1.55; }
  .article-body h2 { margin:29px 0 11px; font-size:clamp(1.5rem,5vw,2.15rem); line-height:1.2; }
  .article-body p,.article-body li { line-height:1.65; }
  .article-body>img,.article-card img { margin-bottom:16px; border-radius:12px; }
  .article-meta { margin-bottom:10px; }
  .download-card { margin-top:24px; padding:20px; gap:15px; border-radius:13px; }
  .contact-card h2 { margin-bottom:9px; font-size:1.4rem; }
  .contact-card p { margin-bottom:13px; }
  .contact-card.intake-card { gap:14px; }
  .legal-content h2 { margin:30px 0 11px; font-size:1.4rem; }
  .faq-list details { padding:16px 0; }
  .source-note,.prototype-note { margin-top:20px; padding:15px 17px; }
  /* Page-specific cards and guide sections, including Realtor and estate pages */
  .partner-grid,.partner-steps,.estate-grid,.estate-steps { gap:12px; }
  .partner-card,.estate-panel { padding:21px; border:1px solid var(--line); border-radius:13px; box-shadow:none; background:#fff; }
  .partner-card h3 { font-size:1.35rem; margin-bottom:9px; }
  .partner-step,.estate-steps article { padding:17px 19px; border-left:3px solid #b99b55; border-radius:9px; background:#fff; }
  .guide-section { margin:24px 0; }
  .guide-section h2 { font-size:clamp(1.45rem,5vw,2.05rem); line-height:1.2; }
  .guide-section p { line-height:1.65; }
  .guide-footer { margin:25px 0; padding:20px; border-radius:13px; background:#f8f7f4; }
  footer { padding:36px 0 23px; }
  .footer-grid { gap:19px; }
  .footer-bottom { margin-top:20px; padding-top:17px; }
}
@media (max-width:560px) {
  .hero { padding:42px 0 45px; }
  h1 { font-size:clamp(2.05rem,8.5vw,2.65rem); }
  .page-section { padding:44px 0; }
  .intro-grid,.visual-grid,.callout { gap:21px; }
  .service-grid,.specialty-grid,.related-grid,.resource-links,.article-grid,.contact-grid { grid-template-columns:1fr; }
  .service-card,.specialty-card,.article-card,.contact-card { padding:19px; }
  .planning-plan img { max-height:310px; }
  .actions .button { max-width:100%; }
  .callout { padding:21px; }
  .footer-grid { gap:16px; }
}

/* Pre-launch readability and touch-target refinements for long-form resources. */
@media (max-width:850px) {
  .guide-body,.senior-article,.article-body { max-width:100%; min-width:0; }
  .guide-body p,.guide-body li,.senior-article p,.senior-article li,.article-body p,.article-body li {
    overflow-wrap:break-word; line-height:1.75;
  }
  .guide-body ul,.guide-body ol,.senior-article ul,.senior-article ol,.article-body ul,.article-body ol {
    padding-left:1.4rem;
  }
  .guide-body a,.senior-article a,.article-body a { text-underline-offset:3px; }
  .guide-footer .actions,.senior-article-cta { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
  .guide-footer .button,.senior-article-cta .button { max-width:100%; white-space:normal; text-align:center; }
  .contact-card.intake-card .button { white-space:normal; text-align:center; }
}
@media (max-width:560px) {
  .guide-body .guide-section,.senior-article section { margin-block:25px; }
  .guide-body h2,.senior-article h2 { overflow-wrap:break-word; }
  .guide-footer .actions,.senior-article-cta { flex-direction:column; align-items:stretch; }
  .guide-footer .button,.senior-article-cta .button { width:100%; }
}
