/* Digital Experts Insights (blog index + article). Scoped to main.dx-ins.
   2026-10-20 preview (Nick). Uses the home page tokens.
   Type (Nick, 20 Oct): headings all caps, Archivo 700 at 125% like the home
   page display type, two colours (ink, then orange via .i-two), a little smaller.
   Note: not related to the home page Insights tour (.dx-app-ins, de-insights.js). */
.dx-ins {
  --i-ink: #1A1416;
  --i-mute: #5E5658;
  --i-line: #E7E2DA;
  --i-soft: #F4F2EF;
  --i-lav: #E6E8FB;
  --i-navy: #1B2A6B;
  --i-burg: var(--dx-burgundy, #3E0B19);
  --i-mus: var(--dx-mustard, #E3C860);
  --i-or: var(--dx-orange, #C9583A);
  --i-wide: var(--dx-wide, 'Archivo', system-ui, sans-serif);
  --i-sans: var(--dx-sans, 'Epilogue', system-ui, sans-serif);
  color: var(--i-ink);
  background: #fff;
  font-family: var(--i-sans);
}
.dx-ins *, .dx-ins *::before, .dx-ins *::after { box-sizing: border-box; }
.dx-ins .i-wrap { width: min(1104px, calc(100% - 32px)); margin: 0 auto; }
.dx-ins a { color: inherit; }

/* One heading style everywhere: caps, wide, two colour */
.dx-ins .i-title,
.dx-ins .i-feature-body h2,
.dx-ins .i-card h3,
.dx-ins .a-body h2,
.dx-ins .a-body h3,
.dx-ins .a-faq h2,
.dx-ins .a-faq summary,
.dx-ins .a-related h2,
.dx-ins .a-steps li strong,
.dx-ins .a-try p b,
.dx-ins .a-quote,
.dx-ins .i-card-img.is-tint strong {
  font-family: var(--i-wide);
  font-weight: 700;
  font-stretch: 125%;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0;
  text-wrap: balance;
}
.dx-ins .i-two { color: var(--i-or); }

/* Reading progress */
.dx-ins .i-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 1000; pointer-events: none; }
.dx-ins .i-progress b { display: block; height: 100%; width: 100%; background: var(--i-or); transform: scaleX(0); transform-origin: 0 50%; }

/* Shared bits */
.dx-ins .i-kicker { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin: 0 0 22px; font-size: 14px; color: var(--i-mute); }
.dx-ins .i-pill { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 99px; background: var(--i-lav); color: var(--i-navy); font-weight: 600; font-size: 13px; letter-spacing: .02em; text-decoration: none; }
.dx-ins .i-pill.is-or { background: #F8E3DC; color: #8A2E17; }
.dx-ins .i-pill.is-mus { background: #F7EFC9; color: #5B4A0C; }
.dx-ins .i-pill.is-green { background: #DDEBE2; color: #1D4A30; }
.dx-ins .i-dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; }
.dx-ins .i-crumbs { font-size: 13px; color: var(--i-mute); margin: 0 0 28px; }
.dx-ins .i-crumbs a { text-decoration: none; }
.dx-ins .i-crumbs a:hover { text-decoration: underline; }
.dx-ins .i-crumbs span { margin: 0 8px; opacity: .5; }
.dx-ins .i-title { line-height: .98; margin: 0; }

/* Index */
.dx-ins .i-hero { padding: clamp(128px, 13vw, 190px) 0 clamp(36px, 5vw, 64px); }
.dx-ins .i-hero .i-title { font-size: clamp(36px, 5.2vw, 76px); }
.dx-ins .i-hero .i-title .i-two { display: block; }
.dx-ins .i-hero-lead { max-width: 56ch; margin: 28px 0 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--i-mute); }

.dx-ins .i-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.dx-ins .i-filters button { appearance: none; border: 1px solid var(--i-line); background: #fff; color: var(--i-ink); font: 500 14px/1 var(--i-sans); height: 38px; padding: 0 16px; border-radius: 99px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.dx-ins .i-filters button:hover { border-color: var(--i-ink); }
.dx-ins .i-filters button[aria-pressed="true"] { background: var(--i-ink); border-color: var(--i-ink); color: #fff; }

.dx-ins .i-feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; border-radius: 28px; overflow: hidden; background: var(--i-burg); color: #fff; text-decoration: none; margin: 0 0 28px; isolation: isolate; }
.dx-ins .i-feature[hidden] { display: none; }
.dx-ins .i-feature-media { overflow: hidden; }
.dx-ins .i-feature-img { height: 100%; min-height: 440px; background-size: cover; background-position: center; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.dx-ins .i-feature:hover .i-feature-img { transform: scale(1.04); }
.dx-ins .i-feature-body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.dx-ins .i-feature-body .i-kicker { color: rgba(255,255,255,.72); margin: 0; }
.dx-ins .i-feature-body h2 { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.02; margin: 18px 0 18px; color: var(--dx-cream, #EDE4D3); }
.dx-ins .i-feature-body h2 em, .dx-ins .i-feature-body h2 .i-two { font-style: normal; color: var(--i-mus); }
.dx-ins .i-feature-body p { margin: 0; font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.82); max-width: 44ch; }
.dx-ins .i-feature-go { font-weight: 600; color: var(--i-mus); }

.dx-ins .i-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0 0 clamp(72px, 9vw, 128px); }
.dx-ins .i-card { display: flex; flex-direction: column; text-decoration: none; }
.dx-ins .i-card[hidden] { display: none; }
.dx-ins .i-card-img { aspect-ratio: 4 / 3; border-radius: 22px; background-size: cover; background-position: center; margin: 0 0 18px; position: relative; overflow: hidden; }
.dx-ins .i-card-img.is-tint { display: grid; place-items: end start; padding: 22px; }
.dx-ins .i-card-img.is-tint strong { font-size: 20px; line-height: 1; }
.dx-ins .i-card h3 { font-size: 16px; line-height: 1.15; margin: 12px 0 10px; }
.dx-ins .i-card p { margin: 0; color: var(--i-mute); font-size: 15.5px; line-height: 1.55; }
.dx-ins .i-card .i-kicker { margin: 0; font-size: 13px; }
.dx-ins a.i-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.dx-ins .i-card.is-soon .i-card-img::after { content: 'Coming soon'; position: absolute; top: 16px; right: 16px; background: rgba(255,255,255,.92); color: var(--i-ink); font: 600 12px/1 var(--i-sans); padding: 8px 12px; border-radius: 99px; }
.dx-ins .i-empty { grid-column: 1 / -1; padding: 40px; border-radius: 22px; background: var(--i-soft); color: var(--i-mute); text-align: center; margin: 0; }
.dx-ins .i-empty[hidden] { display: none; }

/* Article */
.dx-ins .a-head { padding: clamp(120px, 11vw, 170px) 0 clamp(32px, 4vw, 56px); }
.dx-ins .a-head .i-title { font-size: clamp(30px, 3.9vw, 56px); max-width: 980px; }
.dx-ins .a-head .i-title .i-two { display: block; }
.dx-ins .a-dek { max-width: 58ch; margin: 28px 0 0; font-size: clamp(18px, 1.55vw, 22px); line-height: 1.5; color: var(--i-mute); }
.dx-ins .a-byline { display: flex; align-items: center; gap: 14px; margin: 36px 0 0; font-size: 14px; color: var(--i-mute); }
.dx-ins .a-byline b { color: var(--i-ink); font-weight: 600; display: block; font-size: 15px; }
.dx-ins .a-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--i-burg); color: var(--i-mus); display: grid; place-items: center; font: 700 14px/1 var(--i-wide); font-stretch: 125%; flex: none; }
.dx-ins .a-share { margin-left: auto; display: flex; gap: 8px; }
.dx-ins .a-share a, .dx-ins .a-share button { appearance: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--i-line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--i-ink); transition: border-color .2s, background .2s, color .2s; padding: 0; }
.dx-ins .a-share a:hover, .dx-ins .a-share button:hover { border-color: var(--i-ink); }
.dx-ins .a-share svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dx-ins .a-share .is-done { background: var(--i-ink); color: #fff; border-color: var(--i-ink); }

.dx-ins .a-hero-img { margin: 0 auto; width: min(1280px, calc(100% - 32px)); }
.dx-ins .a-hero-img div { aspect-ratio: 21 / 9; border-radius: 28px; background-size: cover; background-position: center 40%; }
.dx-ins .a-hero-img figcaption { width: min(1104px, 100%); margin: 12px auto 0; font-size: 13px; color: var(--i-mute); }

.dx-ins .a-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 7vw, 104px); align-items: start; }
.dx-ins .a-toc { position: sticky; top: 104px; font-size: 14px; }
.dx-ins .a-toc p { margin: 0 0 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; color: var(--i-mute); }
.dx-ins .a-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--i-line); }
.dx-ins .a-toc a { display: block; padding: 8px 0 8px 16px; margin-left: -1px; border-left: 2px solid transparent; text-decoration: none; color: var(--i-mute); line-height: 1.35; transition: color .2s, border-color .2s; }
.dx-ins .a-toc a:hover { color: var(--i-ink); }
.dx-ins .a-toc a.is-active { color: var(--i-ink); border-left-color: var(--i-or); font-weight: 600; }
.dx-ins .a-toc .a-toc-time { margin-top: 22px; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 13px; }

.dx-ins .a-body { max-width: 680px; min-width: 0; font-size: clamp(17px, 1.25vw, 19px); line-height: 1.7; }
.dx-ins .a-body > * { margin-top: 0; margin-bottom: 0; }
.dx-ins .a-body > * + * { margin-top: 1.1em; }
.dx-ins .a-body h2 { font-size: clamp(19px, 1.65vw, 24px); line-height: 1.08; margin-top: 2.3em; scroll-margin-top: 100px; color: var(--i-ink); }
.dx-ins .a-body h2 + p { margin-top: .9em; }
.dx-ins .a-body h3 { font-size: 16px; line-height: 1.2; margin-top: 1.8em; }
.dx-ins .a-body a { text-decoration-color: var(--i-or); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.dx-ins .a-body strong { font-weight: 650; }
.dx-ins .a-lede::first-letter { float: left; font-family: var(--i-wide); font-weight: 700; font-stretch: 125%; font-size: 3.1em; line-height: .86; margin: .1em .08em 0 0; color: var(--i-or); }

.dx-ins .a-short { background: var(--i-lav); border-radius: 22px; padding: 28px 32px; margin-bottom: 2em !important; }
.dx-ins .a-short p { margin: 0 0 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; color: var(--i-navy); }
.dx-ins .a-short ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.dx-ins .a-short li { position: relative; padding-left: 26px; line-height: 1.5; font-size: 16.5px; color: var(--i-navy); }
.dx-ins .a-short li::before { content: ''; position: absolute; left: 2px; top: .7em; width: 12px; height: 2px; background: var(--i-navy); }

.dx-ins .a-quote { margin-top: 2em !important; margin-bottom: 2em !important; padding: 4px 0 4px 26px; border-left: 3px solid var(--i-or); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.15; color: var(--i-ink); }
.dx-ins .a-quote p { margin: 0; }

.dx-ins .a-asks { list-style: none; margin-top: 1.4em !important; padding: 0; display: grid; gap: 10px; }
.dx-ins .a-asks li { justify-self: start; max-width: 82%; background: var(--i-soft); border-radius: 18px 18px 18px 6px; padding: 12px 18px; font-size: 16px; line-height: 1.45; }
.dx-ins .a-asks li:nth-child(even) { justify-self: end; border-radius: 18px 18px 6px 18px; background: var(--i-burg); color: #fff; }

.dx-ins .a-steps { list-style: none; margin-top: 1.4em !important; padding: 0; counter-reset: s; display: grid; gap: 14px; }
.dx-ins .a-steps li { counter-increment: s; position: relative; padding: 22px 24px 22px 76px; border: 1px solid var(--i-line); border-radius: 18px; line-height: 1.55; font-size: 16.5px; }
.dx-ins .a-steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 24px; top: 21px; font: 700 18px/1.3 var(--i-wide); font-stretch: 125%; color: var(--i-or); }
.dx-ins .a-steps li strong { display: block; font-size: 15px; line-height: 1.25; margin-bottom: 6px; }

.dx-ins .a-try { margin-top: 2.2em !important; margin-bottom: 2.2em !important; background: var(--i-burg); color: #fff; border-radius: 24px; padding: 30px 32px; }
.dx-ins .a-try p { margin: 0 0 16px; font-size: 16px; color: rgba(255,255,255,.82); }
.dx-ins .a-try p b { color: var(--i-mus); display: block; font-size: 17px; line-height: 1.2; margin-bottom: 6px; }
.dx-ins .a-try a { display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 8px 0 20px; border-radius: 99px; background: #fff; color: var(--i-ink); text-decoration: none; font-size: 16px; min-width: 0; }
.dx-ins .a-try a span { flex: 1; min-width: 0; color: var(--i-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dx-ins .a-try a b { width: 40px; height: 40px; border-radius: 50%; background: var(--i-mus); display: grid; place-items: center; flex: none; font-weight: 700; }
.dx-ins .a-try svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }

.dx-ins .a-faq { background: var(--i-lav); padding: clamp(56px, 7vw, 104px) 0; }
.dx-ins .a-faq-in { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.dx-ins .a-faq h2 { font-size: clamp(20px, 2vw, 28px); line-height: 1.02; margin: 0; color: var(--i-navy); }
.dx-ins .a-faq h2 .i-two { color: var(--i-or); }
.dx-ins .a-faq details { border-top: 1px solid rgba(27,42,107,.18); max-width: 680px; }
.dx-ins .a-faq details:last-child { border-bottom: 1px solid rgba(27,42,107,.18); }
.dx-ins .a-faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-size: 15px; line-height: 1.3; color: var(--i-navy); }
.dx-ins .a-faq summary::-webkit-details-marker { display: none; }
.dx-ins .a-faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 28px/1 var(--i-sans); transition: transform .25s; }
.dx-ins .a-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.dx-ins .a-faq details p { margin: 0 0 22px; font-size: 17px; line-height: 1.65; color: #2B356A; max-width: 62ch; }

.dx-ins .a-about { padding: clamp(56px, 6vw, 88px) 0 0; }
.dx-ins .a-about-card { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 28px 32px; border-radius: 24px; background: var(--i-soft); }
.dx-ins .a-about-card .a-avatar { width: 64px; height: 64px; font-size: 18px; }
.dx-ins .a-about-card p { margin: 0; color: var(--i-mute); line-height: 1.55; max-width: 60ch; }
.dx-ins .a-about-card p b { color: var(--i-ink); display: block; font-size: 17px; margin-bottom: 2px; }

.dx-ins .a-related { padding: clamp(56px, 6vw, 88px) 0 clamp(64px, 8vw, 112px); }
.dx-ins .a-related h2 { font-size: clamp(20px, 2vw, 28px); line-height: 1.02; margin: 0 0 28px; }

.dx-ins .i-btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border-radius: 99px; background: var(--i-mus); color: var(--i-ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.dx-ins .i-btn.is-dark { background: var(--i-ink); color: #fff; }
.dx-ins .i-cta { background: var(--i-burg); color: #fff; padding: clamp(64px, 8vw, 120px) 0; }
.dx-ins .i-cta .i-title { font-size: clamp(32px, 4.4vw, 64px); color: var(--dx-cream, #EDE4D3); }
.dx-ins .i-cta .i-title .i-two { color: var(--i-mus); }
.dx-ins .i-cta p { margin: 22px 0 32px; max-width: 46ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: rgba(255,255,255,.82); }
.dx-ins .i-cta .i-cta-row { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.dx-ins .i-cta .i-cta-row a.i-link { color: #fff; font-weight: 600; }

/* Reveal on scroll */
@media (prefers-reduced-motion: no-preference) {
  .dx-ins .i-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .dx-ins .i-reveal.is-in { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .dx-ins .i-feature { grid-template-columns: minmax(0, 1fr); }
  .dx-ins .i-feature-img { min-height: 260px; }
  .dx-ins .i-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dx-ins .a-layout, .dx-ins .a-faq-in { grid-template-columns: minmax(0, 1fr); }
  .dx-ins .a-toc { display: none; }
  .dx-ins .a-body { max-width: none; }
}
@media (max-width: 640px) {
  .dx-ins .i-grid { grid-template-columns: minmax(0, 1fr); }
  .dx-ins .a-hero-img div { aspect-ratio: 4 / 3; border-radius: 20px; }
  .dx-ins .a-byline { flex-wrap: wrap; }
  .dx-ins .a-share { margin-left: 0; width: 100%; }
  .dx-ins .a-short { padding: 22px; }
  .dx-ins .a-steps li { padding: 20px 20px 20px 62px; }
  .dx-ins .a-steps li::before { left: 20px; top: 19px; }
  .dx-ins .a-try { padding: 24px 20px; }
  .dx-ins .a-about-card { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .dx-ins .a-quote { padding-left: 20px; }
  .dx-ins .a-asks li { max-width: 92%; }
}
@media print {
  .dx-ins .i-progress, .dx-ins .a-toc, .dx-ins .a-share, .dx-ins .a-try, .dx-ins .i-cta { display: none !important; }
  .dx-ins .a-layout { grid-template-columns: 1fr; }
}
