/* DeskMD Modern Medical design system. Loaded site-wide via the deskmd-styles plugin. */

:root{--dmd-primary:#0E2A47;--dmd-primary-deep:#08203A;--dmd-accent:#15803D;--dmd-accent-soft:#DCEFE0;--dmd-bg:#FAF7F2;--dmd-surface:#FFFFFF;--dmd-surface-tint:#F2EDE5;--dmd-text:#1A1A1A;--dmd-text-soft:#5C544A;--dmd-text-mute:#8C8275;--dmd-line:#E8E2D6;--dmd-warm:#B45309;--dmd-warm-soft:#FBE9D5;--dmd-warm-deep:#92400E}.dmd-section--warm{background:#FBE9D5!important}.dmd-badge-warm{background:#FBE9D5;color:#92400E;padding:4px 12px;border-radius:999px;font-weight:700;font-size:13px}body{background:var(--dmd-bg);color:var(--dmd-text)}.wp-block-post-title{display:none!important}.dmd-page{font-family:"IBM Plex Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--dmd-bg);color:var(--dmd-text)}.dmd-section{width:100%;padding:96px 0;box-sizing:border-box;margin-left:0!important;margin-right:0!important}
/* Make dmd-section bg go full-bleed across the viewport.
   TT5 wraps post content in main.has-global-padding (50px each side) and an
   inner alignfull.wp-block-post-content with negative margin-left/right=-50px
   to bleed back out to viewport edges. We kill BOTH so the dmd-page tree
   spans 0..viewport with no asymmetry. Sections constrain their content via
   the inner .dmd-wrap (max-width:1200px), not by section padding. */
body.home main.wp-block-group.has-global-padding,
body.page main.wp-block-group.has-global-padding,
body.single main.wp-block-group.has-global-padding{padding-left:0!important;padding-right:0!important}
body.home main .wp-block-post-content.alignfull,
body.page main .wp-block-post-content.alignfull,
body.single main .wp-block-post-content.alignfull,
body.home main>.wp-block-group.alignfull.has-global-padding,
body.page main>.wp-block-group.alignfull.has-global-padding,
body.single main>.wp-block-group.alignfull.has-global-padding{margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important}.dmd-section--tint{background:var(--dmd-surface-tint)}.dmd-section--primary{background:var(--dmd-primary);color:#FFFFFF}.dmd-wrap{max-width:1200px;margin:0 auto;padding:0 24px;box-sizing:border-box}.dmd-narrow{max-width:860px}.dmd-center{text-align:center;margin-left:auto;margin-right:auto}
/* When a heading or lede sits inside a centered wrapper, its block (which has
   its own max-width) must also center horizontally — text-align:center alone
   only centers the inline text, not the constrained block. */
.dmd-center .dmd-h1,.dmd-center .dmd-h2,.dmd-center .dmd-h3,.dmd-center .dmd-lede,.dmd-center .dmd-copy,.dmd-center .dmd-kicker{margin-left:auto!important;margin-right:auto!important;text-align:center}.dmd-kicker{color:var(--dmd-warm-deep);font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin:0 0 12px}.dmd-h1,.dmd-h2,.dmd-h3{color:var(--dmd-text);font-weight:700;letter-spacing:0;line-height:1.12;margin:0}.dmd-h1{font-size:56px;max-width:780px}.dmd-h2{font-size:40px;max-width:780px}.dmd-h3{font-size:22px;line-height:1.25}.dmd-section--primary .dmd-h1,.dmd-section--primary .dmd-h2,.dmd-section--primary .dmd-h3,.dmd-section--primary p{color:#FFFFFF}.dmd-lede{color:var(--dmd-text-soft);font-size:20px;line-height:1.65;margin:20px 0 0;max-width:780px}.dmd-copy{color:var(--dmd-text-soft);font-size:17px;line-height:1.68;margin:14px 0 0}.dmd-small{color:var(--dmd-text-soft);font-size:14px;line-height:1.55}.dmd-hero-cover{background:var(--dmd-bg);min-height:680px;padding:72px 0 56px}.dmd-hero-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(420px,1.15fr);gap:56px;align-items:center}.dmd-grid{display:grid;gap:24px}.dmd-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.dmd-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.dmd-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.dmd-card{background:var(--dmd-surface);border:1px solid var(--dmd-line);border-radius:8px;padding:28px;box-sizing:border-box;height:100%}.dmd-card:hover{border-color:var(--dmd-primary)}.dmd-icon{width:44px;height:44px;border:1px solid var(--dmd-line);border-radius:8px;display:inline-flex;align-items:center;justify-content:center;background:#FFFFFF;margin-bottom:18px}.dmd-icon img{width:24px;height:24px}.dmd-cta-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:32px}.dmd-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:8px;font-weight:700;text-decoration:none;border:1px solid transparent}.dmd-btn-primary{background:var(--dmd-primary);color:#FFFFFF}.dmd-btn-primary:hover{background:var(--dmd-primary-deep);color:#FFFFFF}.dmd-btn-secondary{background:transparent;color:var(--dmd-text);border-color:var(--dmd-line)}.dmd-btn-secondary:hover{border-color:var(--dmd-primary);color:var(--dmd-primary)}.dmd-section--primary .dmd-btn-primary{background:#FFFFFF;color:var(--dmd-primary)}.dmd-trust{display:flex;flex-wrap:wrap;gap:14px 20px;margin-top:28px;color:var(--dmd-text-soft);font-size:14px}.dmd-dot{width:8px;height:8px;background:var(--dmd-accent);border-radius:999px;display:inline-block;margin-right:8px}.dmd-illustration{display:block;width:100%;max-width:920px;height:auto;border:1px solid var(--dmd-line);border-radius:8px;background:#FFFFFF}
/* Hero screenshot inside .dmd-hero-cover should bleed wider — no border (the
   image already has its own navy frame baked in) and no max-width cap. */
body.home .dmd-hero-cover .dmd-illustration{max-width:none!important;width:100%!important;border:0!important;background:transparent!important;box-shadow:none}.dmd-illustration--plain{border:0;background:transparent}.dmd-step{display:grid;grid-template-columns:48px 1fr;gap:18px;align-items:start;padding:24px;border:1px solid var(--dmd-line);border-radius:8px;background:#FFFFFF}.dmd-step-num{width:48px;height:48px;border-radius:999px;background:var(--dmd-primary);color:#FFFFFF;display:flex;align-items:center;justify-content:center;font-weight:700}.dmd-price{font-size:48px;line-height:1;font-weight:700;color:var(--dmd-primary);margin:18px 0 6px}.dmd-price span{font-size:16px;color:var(--dmd-text-soft);font-weight:500}.dmd-list{list-style:none;padding:0;margin:22px 0 0;display:grid;gap:10px}.dmd-list li{display:grid;grid-template-columns:20px 1fr;gap:10px;color:var(--dmd-text-soft);line-height:1.45}.dmd-list svg{width:18px;height:18px;margin-top:2px}.dmd-table-wrap{overflow-x:auto;border:1px solid var(--dmd-line);border-radius:8px;background:#FFFFFF}.dmd-table{width:100%;border-collapse:collapse;min-width:760px}.dmd-table th,.dmd-table td{padding:16px;border-bottom:1px solid var(--dmd-line);text-align:left;vertical-align:top;line-height:1.5}.dmd-table th{color:var(--dmd-text);background:var(--dmd-surface-tint);font-weight:700}.dmd-table td{color:var(--dmd-text-soft)}.dmd-faq{display:grid;gap:12px;margin-top:32px}.dmd-faq details{border:1px solid var(--dmd-line);border-radius:8px;background:#FFFFFF;padding:18px 20px}.dmd-faq summary{cursor:pointer;font-weight:700;color:var(--dmd-text)}.dmd-faq p{margin:12px 0 0;color:var(--dmd-text-soft);line-height:1.6}.dmd-note{border-left:4px solid var(--dmd-warm);background:#FFFFFF;padding:18px 20px;color:var(--dmd-text-soft);line-height:1.6}.dmd-source{font-size:13px;color:var(--dmd-text-soft);line-height:1.55;margin-top:24px}.dmd-footer-links{display:flex;flex-wrap:wrap;gap:14px 20px;justify-content:center;margin-top:28px}.dmd-footer-links a,.dmd-source a,.dmd-copy a{color:var(--dmd-primary)}.dmd-calculator{display:grid;gap:16px;max-width:560px;border:1px solid var(--dmd-line);border-radius:8px;background:#FFFFFF;padding:24px}.dmd-calculator label{font-weight:700;color:var(--dmd-text);display:grid;gap:8px}.dmd-calculator input,.dmd-calculator select{border:1px solid var(--dmd-line);border-radius:8px;min-height:44px;padding:0 12px;font:inherit}.dmd-total{color:var(--dmd-primary);font-size:32px;font-weight:700}@media(max-width:900px){.dmd-section{padding:64px 0}.dmd-hero-cover{min-height:auto;padding:56px 0 40px}.dmd-hero-grid,.dmd-grid-2,.dmd-grid-3,.dmd-grid-4{grid-template-columns:1fr}.dmd-h1{font-size:38px}.dmd-h2{font-size:30px}.dmd-lede{font-size:18px}}.wp-block-pages-list__item:has(a[href*="/dental-answering-service"]),.wp-block-pages-list__item:has(a[href*="/physician-answering-service"]),.wp-block-pages-list__item:has(a[href*="/veterinary-answering-service"]),.wp-block-pages-list__item:has(a[href*="/after-hours-medical-answering-service"]),.wp-block-pages-list__item:has(a[href*="/hipaa-compliant-answering-service"]),.wp-block-pages-list__item:has(a[href*="/medical-answering-service-vs-ai-medical-scribe"]),.wp-block-pages-list__item:has(a[href*="/deskmd-vs-smith-ai"]),.wp-block-pages-list__item:has(a[href*="/deskmd-vs-ruby"]),.wp-block-pages-list__item:has(a[href*="/deskmd-vs-answerconnect"]),.wp-block-pages-list__item:has(a[href*="/security-and-compliance"]){display:none!important}.wp-block-post-title{display:none!important}body.home main.wp-block-group{margin-top:0!important}body.home main.wp-block-group>.wp-block-group:first-child{padding-top:0!important;padding-bottom:0!important}.dmd-hero-grid{display:grid!important;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)!important;gap:56px!important;align-items:center!important}.dmd-hero-grid>.wp-block-column{width:auto!important;flex:none!important;min-width:0}@media(max-width:900px){.dmd-hero-grid{grid-template-columns:1fr!important}}body.page main.wp-block-group,body.single main.wp-block-group{max-width:none!important;width:100%!important}body.page main.wp-block-group>.wp-block-group,body.single main.wp-block-group>.wp-block-group{max-width:none!important;width:100%!important}body.page .entry-content,body.single .entry-content{max-width:none!important;width:100%!important}.dmd-page{max-width:none!important;width:100%!important}.dmd-page>.wp-block-cover,.dmd-page>.wp-block-group{max-width:none!important;width:100%!important}.dmd-section{width:100%!important;max-width:none!important}.dmd-card-illustration{display:block;width:100%;max-width:280px;height:auto;object-fit:contain;margin:0 auto 20px;background:#FFFFFF}.dmd-howstep{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center;margin-top:72px;padding:0}.dmd-howstep-reverse{direction:rtl}.dmd-howstep-reverse>*{direction:ltr}.dmd-howstep-image img{display:block;width:100%;height:auto;max-width:520px;margin:0 auto;border:1px solid var(--dmd-line);border-radius:12px;background:#FFFFFF}.dmd-howstep-text .dmd-step-num{display:inline-flex;width:40px;height:40px;border-radius:999px;background:var(--dmd-primary);color:#FFFFFF;align-items:center;justify-content:center;font-weight:700;margin-bottom:18px;font-size:16px}.dmd-howstep-text .dmd-h3{font-size:28px!important;line-height:1.2!important;margin-bottom:12px!important}.dmd-howstep-text .dmd-copy{font-size:17px;line-height:1.6;margin-top:8px;color:var(--dmd-text-soft)}@media(max-width:900px){.dmd-howstep,.dmd-howstep-reverse{grid-template-columns:1fr!important;direction:ltr!important;gap:32px;margin-top:48px}.dmd-howstep-reverse>*{direction:ltr}}.dmd-card{padding-top:32px}.dmd-card .dmd-h3{text-align:center;margin-bottom:10px}.dmd-card .dmd-copy{text-align:center;margin-top:0}body.page main.wp-block-group,body.single main.wp-block-group{margin-top:0!important;padding-top:0!important}body.page main.wp-block-group>.wp-block-group:first-child,body.single main.wp-block-group>.wp-block-group:first-child{padding-top:0!important;padding-bottom:0!important;margin-top:0!important}body.page .entry-content,body.single .entry-content{padding-top:0!important;margin-top:0!important}.dmd-hero-cover{padding-top:32px!important;padding-bottom:48px!important}.dmd-hero-cover .dmd-wrap{padding-top:0!important}.wp-block-pages-list__item:has(a[href*="/dental-answering-service"]),.wp-block-pages-list__item:has(a[href*="/physician-answering-service"]),.wp-block-pages-list__item:has(a[href*="/veterinary-answering-service"]),.wp-block-pages-list__item:has(a[href*="/after-hours-medical-answering-service"]),.wp-block-pages-list__item:has(a[href*="/hipaa-compliant-answering-service"]),.wp-block-pages-list__item:has(a[href*="/medical-answering-service-vs-ai-medical-scribe"]),.wp-block-pages-list__item:has(a[href*="/deskmd-vs-smith-ai"]),.wp-block-pages-list__item:has(a[href*="/deskmd-vs-ruby"]),.wp-block-pages-list__item:has(a[href*="/deskmd-vs-answerconnect"]),.wp-block-pages-list__item:has(a[href*="/security-and-compliance"]){display:none!important}.wp-block-post-title{display:none!important}body.home main.wp-block-group{margin-top:0!important}body.home main.wp-block-group>.wp-block-group:first-child{padding-top:0!important;padding-bottom:0!important}.dmd-hero-grid{display:grid!important;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)!important;gap:56px!important;align-items:center!important}.dmd-hero-grid>.wp-block-column{width:auto!important;flex:none!important;min-width:0}@media(max-width:900px){.dmd-hero-grid{grid-template-columns:1fr!important}}body.page main.wp-block-group,body.single main.wp-block-group{max-width:none!important;width:100%!important}body.page main.wp-block-group>.wp-block-group,body.single main.wp-block-group>.wp-block-group{max-width:none!important;width:100%!important}body.page .entry-content,body.single .entry-content{max-width:none!important;width:100%!important}.dmd-page{max-width:none!important;width:100%!important}.dmd-page>.wp-block-cover,.dmd-page>.wp-block-group{max-width:none!important;width:100%!important}.dmd-section{width:100%!important;max-width:none!important}.dmd-card-illustration{display:block;width:100%;max-width:280px;height:auto;object-fit:contain;margin:0 auto 20px;background:#FFFFFF}.dmd-howstep{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center;margin-top:72px;padding:0}.dmd-howstep-reverse{direction:rtl}.dmd-howstep-reverse>*{direction:ltr}.dmd-howstep-image img{display:block;width:100%;height:auto;max-width:520px;margin:0 auto;border:1px solid var(--dmd-line);border-radius:12px;background:#FFFFFF}.dmd-howstep-text .dmd-step-num{display:inline-flex;width:40px;height:40px;border-radius:999px;background:var(--dmd-primary);color:#FFFFFF;align-items:center;justify-content:center;font-weight:700;margin-bottom:18px;font-size:16px}.dmd-howstep-text .dmd-h3{font-size:28px!important;line-height:1.2!important;margin-bottom:12px!important}.dmd-howstep-text .dmd-copy{font-size:17px;line-height:1.6;margin-top:8px;color:var(--dmd-text-soft)}@media(max-width:900px){.dmd-howstep,.dmd-howstep-reverse{grid-template-columns:1fr!important;direction:ltr!important;gap:32px;margin-top:48px}.dmd-howstep-reverse>*{direction:ltr}}.dmd-card{padding-top:32px}.dmd-card .dmd-h3{text-align:center;margin-bottom:10px}.dmd-card .dmd-copy{text-align:center;margin-top:0}body.page main.wp-block-group,body.single main.wp-block-group{margin-top:0!important;padding-top:0!important}body.page main.wp-block-group>.wp-block-group:first-child,body.single main.wp-block-group>.wp-block-group:first-child{padding-top:0!important;padding-bottom:0!important;margin-top:0!important}body.page .entry-content,body.single .entry-content{padding-top:0!important;margin-top:0!important}.dmd-hero-cover{padding-top:32px!important;padding-bottom:48px!important}.dmd-hero-cover .dmd-wrap{padding-top:0!important}

/* Blog index grid */
.dmd-blog-query .wp-block-post-template{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;list-style:none;padding:0;margin:0}
.dmd-blog-query .wp-block-post{background:#FFFFFF;border:1px solid var(--dmd-line);border-radius:8px;overflow:hidden;display:flex;flex-direction:column;list-style:none;margin:0}
.dmd-blog-query .dmd-blog-card{display:flex;flex-direction:column;height:100%}
.dmd-blog-query .dmd-blog-featured{margin:0!important;display:block}
.dmd-blog-query .dmd-blog-featured img,.dmd-blog-query .wp-block-post-featured-image img{width:100%!important;height:auto!important;display:block;object-fit:cover;aspect-ratio:3/2;background:#FAF7F2}
.dmd-blog-query .dmd-blog-date{color:var(--dmd-text-mute);font-size:13px;margin:0 0 8px;font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.dmd-blog-query .dmd-blog-title{font-size:22px;line-height:1.25;font-weight:700;margin:0 0 12px;color:var(--dmd-text)}
.dmd-blog-query .dmd-blog-title a{color:var(--dmd-text);text-decoration:none}
.dmd-blog-query .dmd-blog-title a:hover{color:var(--dmd-primary)}
.dmd-blog-query .dmd-blog-excerpt{color:var(--dmd-text-soft);font-size:15px;line-height:1.55;margin:0}
.dmd-blog-query .dmd-blog-excerpt .wp-block-post-excerpt__more-link{color:var(--dmd-primary);font-weight:600;text-decoration:none;margin-top:12px;display:inline-block}
.dmd-blog-query .wp-block-query-pagination{margin-top:48px;display:flex;justify-content:center;gap:8px;font-size:14px}
.dmd-blog-query .wp-block-query-pagination a,.dmd-blog-query .wp-block-query-pagination .page-numbers{padding:8px 14px;border:1px solid var(--dmd-line);border-radius:6px;color:var(--dmd-primary);text-decoration:none}
.dmd-blog-query .wp-block-query-pagination .current{background:var(--dmd-primary);color:#FFFFFF;border-color:var(--dmd-primary)}
@media(max-width:900px){.dmd-blog-query .wp-block-post-template{grid-template-columns:1fr}}



/* Blog article reader layout — single column, paragraphs flow on the page background (no white cards) */
body.single .dmd-article-section{padding:24px 0!important;background:transparent!important}
body.single .dmd-article-section + .dmd-article-section{padding-top:0!important}
body.single .dmd-article-section .dmd-narrow{max-width:1100px;margin:0 auto;padding:0 24px}
body.single .dmd-article-section .dmd-h2{font-size:32px;line-height:1.2;margin-top:40px;margin-bottom:8px;letter-spacing:-0.01em;color:var(--dmd-text)}
body.single .dmd-article-section .dmd-copy{font-size:18px;line-height:1.7;color:var(--dmd-text);background:transparent}
body.single .dmd-article-section .dmd-copy + .dmd-copy{margin-top:14px}
body.single .dmd-article-section .dmd-list{margin-top:18px;background:transparent}
body.single .dmd-article-section .dmd-list li{font-size:17px;line-height:1.55}
body.single .dmd-article-section .dmd-source{font-size:14px;color:var(--dmd-text-soft);margin-top:24px}
/* Hero section in posts: kicker + H1 + lede on the page background, no card */
body.single .dmd-hero-cover{background:transparent!important;padding:24px 0 16px!important;min-height:0!important}
body.single .dmd-hero-cover .dmd-h1{font-size:44px;line-height:1.15}
body.single .dmd-hero-cover .dmd-lede{font-size:21px;line-height:1.55;color:var(--dmd-text-soft);margin-top:16px}
/* Featured image full-width spanning the article column, with a subtle rounded crop */
body.single .dmd-post-featured{margin:24px auto 0!important;max-width:1100px;padding:0 24px}
body.single .dmd-post-featured img{display:block;width:100%;height:auto;border-radius:12px;border:1px solid var(--dmd-line);background:var(--dmd-surface-tint)}
@media(max-width:900px){
  body.single .dmd-article-section{padding:18px 0!important}
  body.single .dmd-article-section .dmd-h2{font-size:26px}
  body.single .dmd-article-section .dmd-copy{font-size:17px}
  body.single .dmd-hero-cover .dmd-h1{font-size:32px}
  body.single .dmd-post-featured{padding:0 16px}
}

/* Neutralize wp-block-cover defaults on blog post heroes — kicker + H1 + lede
   should flow naturally below the featured image, not sit centered in a 430px
   tall box (which is wp-block-cover's default for actual cover images). */
body.single .wp-block-cover.dmd-hero-cover{
  display:block!important;
  min-height:0!important;
  padding:8px 0 0!important;
  overflow:visible!important;
}
body.single .wp-block-cover.dmd-hero-cover>.wp-block-cover__background{display:none!important}
body.single .wp-block-cover.dmd-hero-cover>.wp-block-cover__inner-container{padding:0!important}
body.single .wp-block-cover.dmd-hero-cover .dmd-wrap{padding:0 24px!important;margin:0 auto;max-width:1100px}
body.single .wp-block-cover.dmd-hero-cover .dmd-kicker{margin:0 0 8px!important}
body.single .wp-block-cover.dmd-hero-cover .dmd-h1{font-size:42px!important;line-height:1.15!important;margin:0!important;max-width:none!important}
body.single .wp-block-cover.dmd-hero-cover .dmd-lede{font-size:20px!important;line-height:1.6!important;margin:16px 0 0!important;color:var(--dmd-text-soft)!important;max-width:none!important}
@media(max-width:900px){
  body.single .wp-block-cover.dmd-hero-cover .dmd-h1{font-size:30px!important}
  body.single .wp-block-cover.dmd-hero-cover .dmd-lede{font-size:18px!important}
}


/* Site footer */
.dmd-footer{max-width:1100px;margin:0 auto;padding:0 24px;color:var(--dmd-text-soft);font-family:"IBM Plex Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.55}
.dmd-footer-cols{display:grid;grid-template-columns:1.4fr repeat(4,1fr);gap:32px;margin-bottom:32px}
.dmd-footer-col p{margin:0 0 4px}
.dmd-footer-brand{font-size:18px;font-weight:700;color:var(--dmd-text);letter-spacing:-0.01em}
.dmd-footer-tag{font-size:13px;color:var(--dmd-text-soft);max-width:280px}
.dmd-footer-heading{font-size:12px;font-weight:700;letter-spacing:0.06em;text-transform:uppercase;color:var(--dmd-text);margin-bottom:12px!important}
.dmd-footer-col ul{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.dmd-footer-col a{color:var(--dmd-text-soft);text-decoration:none;font-size:14px}
.dmd-footer-col a:hover{color:var(--dmd-primary)}
.dmd-footer-bottom{border-top:1px solid var(--dmd-line);padding-top:20px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:12px;color:var(--dmd-text-mute)}
@media(max-width:900px){
  .dmd-footer-cols{grid-template-columns:1fr 1fr;gap:24px}
  .dmd-footer-col:first-child{grid-column:1/-1}
  .dmd-footer-bottom{flex-direction:column}
}


/* Privacy / Terms / Legal pages — clean reader layout, full-width column. */
.dmd-legal{
  max-width:780px;
  margin:0 auto;
  padding:48px 24px 64px;
  font-family:"IBM Plex Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--dmd-text);
  line-height:1.65;
}
.dmd-legal-kicker{
  font-size:13px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--dmd-warm-deep);
  margin:0 0 12px;
}
.dmd-legal-h1{
  font-size:48px;
  line-height:1.1;
  letter-spacing:-0.02em;
  font-weight:700;
  color:var(--dmd-text);
  margin:0 0 12px;
}
.dmd-legal-effective{
  font-size:15px;
  color:var(--dmd-text-soft);
  margin:0 0 32px;
}
.dmd-legal-h2{
  font-size:24px;
  line-height:1.25;
  font-weight:700;
  color:var(--dmd-text);
  margin:40px 0 12px;
}
.dmd-legal-p{
  font-size:16px;
  line-height:1.65;
  color:var(--dmd-text);
  margin:0 0 16px;
}
.dmd-legal-ul{
  list-style:disc;
  padding-left:24px;
  margin:0 0 16px;
}
.dmd-legal-ul li{
  font-size:16px;
  line-height:1.6;
  color:var(--dmd-text);
  margin:0 0 8px;
  display:list-item;
}
.dmd-legal-table{overflow-x:auto;margin:0 0 16px}
.dmd-legal-table table{
  width:100%;
  border-collapse:collapse;
  border:1px solid var(--dmd-line);
  border-radius:8px;
  font-size:14px;
}
.dmd-legal-table th,.dmd-legal-table td{
  padding:12px;
  text-align:left;
  vertical-align:top;
  border-bottom:1px solid var(--dmd-line);
  line-height:1.5;
}
.dmd-legal-table th{
  background:var(--dmd-surface-tint);
  font-weight:700;
  color:var(--dmd-text);
}
.dmd-legal a{color:var(--dmd-primary);text-decoration:underline}
@media(max-width:768px){
  .dmd-legal{padding:32px 20px 48px}
  .dmd-legal-h1{font-size:36px}
  .dmd-legal-h2{font-size:21px}
}


/* ---------------------- Typography (IBM Plex) ----------------------
   Plex Sans for body/UI. Plex Serif for display headings (H1/H2 on
   landing pages, blog posts, and legal pages). Plex Mono for prices
   and tabular numbers. Font sizes retuned for readability:
   - body: 17px / 1.6
   - H1: 48px (was 56)
   - H2: 32px (was 40)
   - H3: 21px (was 22)
   - lede: 20px
   - kicker: 12px tracked uppercase
   ---------------------------------------------------------------- */

body, .dmd-page, .dmd-legal {
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "ss02";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Display headings — Plex Serif for gravitas and warmth.
   Light letter-spacing tightening to read like editorial. */
.dmd-h1, .dmd-h2, .dmd-h3,
.dmd-legal-h1, .dmd-legal-h2,
h1.wp-block-heading.dmd-h1, h2.wp-block-heading.dmd-h2 {
  font-family: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  letter-spacing: -0.015em;
}

.dmd-h1, .dmd-legal-h1, h1.wp-block-heading.dmd-h1 {
  font-size: 48px !important;
  line-height: 1.12;
  font-weight: 600;
}
.dmd-h2, .dmd-legal-h2, h2.wp-block-heading.dmd-h2 {
  font-size: 32px !important;
  line-height: 1.2;
  font-weight: 600;
}
.dmd-h3 {
  font-size: 21px !important;
  line-height: 1.3;
  font-weight: 600;
}

/* Body / lede / copy — Plex Sans, slightly smaller and tighter than before. */
.dmd-lede, .dmd-legal-effective {
  font-family: "IBM Plex Sans", -apple-system, sans-serif;
  font-size: 19px;
  line-height: 1.55;
  font-weight: 400;
  color: var(--dmd-text-soft);
}
.dmd-copy, .dmd-legal-p {
  font-family: "IBM Plex Sans", -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  color: var(--dmd-text);
}
.dmd-small {
  font-size: 13px;
  line-height: 1.5;
}

/* Kicker — small caps, tracked, less saturated orange so it reads as
   a label rather than shouting. */
.dmd-kicker, .dmd-legal-kicker {
  font-family: "IBM Plex Sans", -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #B45309;
}

/* Pricing + tables — tabular numerals so columns line up. */
.dmd-price, .dmd-total,
.dmd-table td, .dmd-legal-table td,
.dmd-blog-query .dmd-blog-date {
  font-variant-numeric: tabular-nums;
}
.dmd-price {
  font-family: "IBM Plex Sans", -apple-system, sans-serif;
  font-weight: 600;
}

/* Lists — Plex Sans body sizing inherits, but set list bullet color. */
.dmd-list li, .dmd-legal-ul li {
  font-family: "IBM Plex Sans", -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

/* Buttons — Plex Sans, medium weight, slightly tighter tracking. */
.dmd-btn {
  font-family: "IBM Plex Sans", -apple-system, sans-serif;
  font-weight: 600;
  letter-spacing: -0.005em;
  font-size: 15px;
}

/* Mobile breakpoints */
@media (max-width: 900px) {
  .dmd-h1, .dmd-legal-h1, h1.wp-block-heading.dmd-h1 { font-size: 36px !important; }
  .dmd-h2, .dmd-legal-h2, h2.wp-block-heading.dmd-h2 { font-size: 26px !important; }
  .dmd-lede { font-size: 18px; }
  .dmd-copy, .dmd-legal-p { font-size: 16px; line-height: 1.6; }
}

/* Footer + nav also gets the new family. */
.dmd-footer, .wp-block-pages-list__item__link { font-family: "IBM Plex Sans", -apple-system, sans-serif; }
