/* DPPWare blog: tokens and components copied from src/app/globals.css (marketing kit: royal, sky; Lexend + Figtree). */
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/figtree-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/figtree-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/figtree-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/lexend-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/lexend-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/lexend-latin-700-normal.woff2) format('woff2'); }

:root {
  --royal: #0b1e8c; --royal-2: #1530b0; --royal-ink: #071259; --sky: #33aef0; --sky-bg: #e5f4fd; --sky-ink: #0a72b3;
  --mint-ink: #0a7551; --mist: #f2f5fc; --slate: #5c6584; --line: #e3e8f5; --line-strong: #cdd5ea; --paper: #fff;
  --display: 'Lexend', system-ui, sans-serif; --body: 'Figtree', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--royal-ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.dw-drawer-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--royal); }
:focus-visible { outline: 2px solid var(--royal-2); outline-offset: 2px; }
main:focus { outline: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.dw-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .dw-wrap { padding: 0 32px; } }
.dw-skip { position: absolute; left: -9999px; top: 12px; z-index: 60; background: var(--royal); color: #fff; padding: 8px 16px; border-radius: 8px; }
.dw-skip:focus { left: 12px; }

/* buttons */
.dw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 10px; font: 500 15px/1.2 var(--body); text-decoration: none; white-space: nowrap; transition: background .15s, box-shadow .15s; }
.dw-btn--primary { background: var(--royal); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 1px 2px rgba(11,23,33,.25); }
.dw-btn--primary:hover { background: var(--royal-2); }
.dw-btn--secondary { background: #fff; color: var(--royal-ink); border: 1px solid var(--line); }
.dw-btn--secondary:hover { border-color: var(--line-strong); background: var(--mist); }
.dw-btn--inverse { background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.dw-btn--inverse:hover { background: rgba(255,255,255,.12); }
.dw-btn--block { width: 100%; min-height: 48px; }
.dw-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 8px; background: none; color: var(--royal); cursor: pointer; }
.dw-iconbtn:hover { background: var(--mist); }

/* header */
.dw-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(11,30,140,.07); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.dw-header__bar { display: flex; align-items: center; gap: 8px; height: 72px; }
.dw-header__logo { display: flex; align-items: center; margin-right: auto; text-decoration: none; border-radius: 8px; }
.dw-logo { display: inline-flex; align-items: center; gap: 10px; }
.dw-logo svg { flex-shrink: 0; }
.dw-logo__name { font: 600 19px/1 var(--display); letter-spacing: -.01em; color: var(--royal); }
.dw-logo__name.is-light { color: #fff; }
.dw-nav { display: none; align-items: center; gap: 2px; margin-right: auto; }
.dw-nav__link { display: inline-flex; align-items: center; height: 40px; padding: 0 12px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--royal-ink); text-decoration: none; white-space: nowrap; }
.dw-nav__link:hover, .dw-nav__link.is-active { background: var(--mist); color: var(--royal); }
.dw-header__signin { display: none; }
.dw-header__cta { display: none; min-height: 42px; padding: 8px 20px; }
@media (min-width: 640px) { .dw-header__cta { display: inline-flex; } }
@media (min-width: 1024px) {
  .dw-header__logo { margin-right: 16px; }
  .dw-nav { display: flex; }
  .dw-header__menu { display: none; }
  .dw-header__signin { display: inline-flex; }
}

/* mobile drawer */
.dw-drawer { position: fixed; inset: 0; z-index: 70; background: #fff; }
.dw-drawer[hidden] { display: none; }
.dw-drawer__panel { display: flex; flex-direction: column; height: 100%; }
.dw-drawer__head { display: flex; align-items: center; justify-content: space-between; height: 72px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.dw-drawer__head a { text-decoration: none; }
.dw-drawer__nav { flex: 1; overflow-y: auto; padding-bottom: 24px; }
.dw-drawer__nav a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); font: 600 18px/1.2 var(--display); color: var(--royal); text-decoration: none; }
.dw-drawer__nav a.is-active { color: var(--sky-ink); }
.dw-drawer__foot { padding-top: 16px; padding-bottom: 16px; border-top: 1px solid var(--line); flex-shrink: 0; }

/* type */
.dw-eyebrow { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-ink); }
.dw-h1 { margin: 0; font: 600 clamp(32px, 5vw, 52px)/1.08 var(--display); letter-spacing: -.025em; color: var(--royal); text-wrap: balance; overflow-wrap: break-word; }
.dw-h1--article { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.12; }
.dw-accent { color: var(--sky-ink); }
.dw-lead { max-width: 62ch; margin: 18px 0 0; font-size: 19px; line-height: 1.55; color: var(--slate); }
.dw-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; font-size: 14px; color: var(--slate); }
.dw-crumbs a { color: var(--slate); text-decoration: none; }
.dw-crumbs a:hover { color: var(--royal); text-decoration: underline; }
.dw-crumbs [aria-current] { color: var(--royal-ink); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* blog index */
.dw-hero { padding: 48px 0 40px; background: linear-gradient(180deg, var(--mist), #fff); border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) { .dw-hero { padding: 72px 0 56px; } }
.dw-index { padding-top: 40px; padding-bottom: 72px; }
.dw-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .dw-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .dw-grid { grid-template-columns: repeat(3, 1fr); } }
.dw-card { border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.dw-card:hover { border-color: var(--line-strong); box-shadow: 0 18px 40px -24px rgba(11,30,140,.35); }
.dw-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.dw-card__media { aspect-ratio: 16 / 9; background: var(--mist); overflow: hidden; }
.dw-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dw-card__fallback { display: flex; align-items: center; justify-content: center; height: 100%; background: linear-gradient(135deg, var(--royal), var(--royal-2)); }
.dw-card__fallback span { font: 700 40px/1 var(--display); color: rgba(255,255,255,.9); letter-spacing: .04em; }
.dw-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 20px 22px 22px; }
.dw-card__body time { font-size: 13px; color: var(--slate); }
.dw-card__body h2 { margin: 0; font: 600 20px/1.25 var(--display); letter-spacing: -.015em; color: var(--royal); }
.dw-card__body p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--slate); }
.dw-card__more { margin-top: auto; padding-top: 8px; font-size: 15px; font-weight: 600; color: var(--royal); }
.dw-empty { max-width: 60ch; padding: 32px; border: 1px dashed var(--line-strong); border-radius: 18px; background: var(--mist); }
.dw-empty p { margin: 0; color: var(--slate); }
.dw-empty p + p { margin-top: 8px; }
.dw-pagination { margin-top: 40px; }
.dw-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.dw-pagination a, .dw-pagination span { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; justify-content: center; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 500; }
.dw-pagination .current { background: var(--royal); border-color: var(--royal); color: #fff; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* single */
.dw-single { padding-top: 32px; padding-bottom: 80px; }
.dw-single__grid { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .dw-single__grid { grid-template-columns: minmax(0, 740px) 300px; justify-content: space-between; } }
.dw-article { min-width: 0; }
.dw-meta { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 18px 0 0; font-size: 14px; color: var(--slate); }
.dw-feature { margin: 28px 0 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.dw-feature img { display: block; width: 100%; }
.dw-side { display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 1100px) { .dw-side { position: sticky; top: 104px; align-self: start; } }
.dw-side__title { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-ink); }
.dw-toc, .dw-more { padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--mist); }
.dw-toc ol { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.45; }
.dw-toc li + li { margin-top: 8px; }
.dw-toc a { color: var(--royal-ink); text-decoration: none; }
.dw-toc a:hover { color: var(--royal); text-decoration: underline; }
.dw-more ul { margin: 0; padding: 0; list-style: none; }
.dw-more li + li { margin-top: 14px; }
.dw-more a { display: block; font-weight: 600; line-height: 1.35; color: var(--royal); text-decoration: none; }
.dw-more a:hover { text-decoration: underline; }
.dw-more time { font-size: 13px; color: var(--slate); }
@media (max-width: 1099px) { .dw-toc { display: none; } }

/* article body */
.dw-prose { margin-top: 32px; font-size: 18px; line-height: 1.7; color: #1d2547; overflow-wrap: break-word; }
.dw-prose > :first-child { margin-top: 0; }
.dw-prose h2 { margin: 48px 0 14px; font: 600 28px/1.2 var(--display); letter-spacing: -.02em; color: var(--royal); scroll-margin-top: 96px; }
.dw-prose h3 { margin: 32px 0 10px; font: 600 21px/1.3 var(--display); letter-spacing: -.01em; color: var(--royal-ink); scroll-margin-top: 96px; }
.dw-prose h4 { margin: 24px 0 8px; font: 600 18px/1.35 var(--display); color: var(--royal-ink); }
.dw-prose p, .dw-prose ul, .dw-prose ol { margin: 0 0 18px; }
.dw-prose ul, .dw-prose ol { padding-left: 24px; }
.dw-prose li + li { margin-top: 6px; }
.dw-prose li::marker { color: var(--sky-ink); }
.dw-prose a { color: var(--royal-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.dw-prose a:hover { color: var(--royal); text-decoration-thickness: 2px; }
.dw-prose strong { font-weight: 600; color: var(--royal-ink); }
.dw-prose blockquote { margin: 24px 0; padding: 16px 22px; border-left: 4px solid var(--sky); background: var(--sky-bg); border-radius: 0 12px 12px 0; }
.dw-prose blockquote p:last-child { margin-bottom: 0; }
.dw-prose img, .dw-prose figure img { border-radius: 14px; }
.dw-prose figure { margin: 28px 0; }
.dw-prose figcaption { margin-top: 8px; font-size: 14px; color: var(--slate); }
.dw-prose hr { margin: 40px 0; border: 0; border-top: 1px solid var(--line); }
.dw-prose code { padding: 2px 6px; border-radius: 6px; background: var(--mist); font-size: .9em; }
.dw-prose pre { overflow-x: auto; padding: 16px; border-radius: 12px; background: var(--royal-ink); color: #fff; font-size: 14px; }
.dw-prose pre code { background: none; padding: 0; }
.dw-prose .wp-block-table, .dw-prose figure.wp-block-table { overflow-x: auto; }
.dw-prose table { display: block; width: 100%; max-width: 100%; overflow-x: auto; margin: 24px 0; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
@media (min-width: 768px) { .dw-prose table { display: table; } }
.dw-prose th, .dw-prose td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.dw-prose thead th, .dw-prose tr:first-child th { background: var(--mist); font-weight: 600; color: var(--royal); }
.dw-prose iframe, .dw-prose video { max-width: 100%; }
.dw-note { margin: 40px 0 0; padding: 14px 18px; border-radius: 12px; background: var(--mist); font-size: 14px; color: var(--slate); }

/* call to action */
.dw-cta-box { margin-top: 32px; padding: 28px; border-radius: 22px; background: linear-gradient(135deg, var(--royal-ink), var(--royal)); color: #fff; }
.dw-cta-box__kicker { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.dw-cta-box h2 { margin: 10px 0 0; font: 600 26px/1.2 var(--display); letter-spacing: -.02em; }
.dw-cta-box p { margin: 12px 0 0; color: rgba(255,255,255,.75); }
.dw-cta-box__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.dw-cta-box .dw-btn--primary { background: #fff; color: var(--royal); }
.dw-cta-box .dw-btn--primary:hover { background: var(--mist); }
.dw-cta-box .dw-btn--secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.dw-cta-box .dw-btn--secondary:hover { background: rgba(255,255,255,.1); }

/* footer */
.dw-footer { background: var(--royal-ink); color: #fff; }
.dw-footer__cta { display: grid; gap: 28px; padding-top: 56px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 1024px) { .dw-footer__cta { grid-template-columns: 1fr auto; align-items: end; padding-top: 72px; } }
.dw-footer__kicker { margin: 24px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.dw-footer__h { max-width: 26ch; margin: 12px 0 0; font: 600 clamp(24px, 3vw, 32px)/1.15 var(--display); letter-spacing: -.02em; }
.dw-footer__d { max-width: 52ch; margin: 14px 0 0; color: rgba(255,255,255,.7); }
.dw-footer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.dw-footer__textlink { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; color: #fff; text-decoration: none; }
.dw-footer__textlink:hover { text-decoration: underline; }
.dw-footer__grid { display: grid; gap: 40px; padding-top: 48px; padding-bottom: 48px; }
@media (min-width: 1024px) { .dw-footer__grid { grid-template-columns: 4fr 8fr; } }
.dw-footer__tagline { max-width: 38ch; margin: 0; font-size: 15px; color: rgba(255,255,255,.65); }
.dw-footer__cols { display: grid; gap: 40px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .dw-footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.dw-footer__title { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.dw-footer__cols ul { margin: 8px 0 0; padding: 0; list-style: none; }
.dw-footer__cols a { display: block; padding: 6px 0; font-size: 15px; line-height: 1.35; color: rgba(255,255,255,.65); text-decoration: none; }
.dw-footer__cols a:hover { color: #fff; text-decoration: underline; }
.dw-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.dw-footer__legal { display: grid; gap: 16px; padding-top: 32px; padding-bottom: 32px; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.6); }
@media (min-width: 1024px) { .dw-footer__legal { grid-template-columns: 4fr 8fr; gap: 32px; } }
.dw-footer__legal p { margin: 0 0 8px; }
.dw-footer__legallinks { display: flex; flex-wrap: wrap; gap: 0 20px; }
.dw-footer__legallinks a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; color: rgba(255,255,255,.8); text-decoration: none; }
.dw-footer__legallinks a:hover { color: #fff; text-decoration: underline; }
