
:root {
  --dl-canvas: #F8FAFC;
  --dl-surface: #FFFFFF;
  --dl-surface-alt: #F1F5F9;
  --dl-text: #101820;
  --dl-muted: #536170;
  --dl-border: #D7E0E8;
  --dl-grid: #E7EDF2;
  --dl-cyan: #00AEEB;
  --dl-cyan-dark: #007EB5;
  --dl-red: #E33A46;
  --dl-shadow: 0 24px 80px rgba(15, 35, 55, 0.10);
  --dl-max: 1240px;
}

html[data-theme="dark"] {
  --dl-canvas: #05080D;
  --dl-surface: #0A1018;
  --dl-surface-alt: #0E1722;
  --dl-text: #F4F8FB;
  --dl-muted: #9AAABD;
  --dl-border: #1C2A37;
  --dl-grid: #101A25;
  --dl-cyan: #20C7FF;
  --dl-cyan-dark: #0A8AC5;
  --dl-red: #FF3D4D;
  --dl-shadow: 0 28px 100px rgba(0,0,0,.32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--dl-canvas);
  color: var(--dl-text);
  font-family: Inter, Aptos, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--dl-cyan); outline-offset: 3px; }
.wp-site-blocks { min-height: 100vh; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link.screen-reader-text:focus { position: fixed !important; left: 16px; top: 16px; width: auto; height: auto; padding: 12px 18px; margin: 0; clip: auto; z-index: 100; background: var(--dl-surface); color: var(--dl-text); border-radius: 8px; border: 1px solid var(--dl-cyan); font-weight: 700; }

.dl-shell { max-width: var(--dl-max); margin: 0 auto; padding-inline: 24px; }
.dl-section { padding-block: clamp(64px, 8vw, 112px); }
.dl-section--alt { background: var(--dl-surface-alt); }
.dl-eyebrow { color: var(--dl-red); font: 700 12px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; text-transform: uppercase; letter-spacing: .16em; }
.dl-display { margin: 14px 0 24px; font-size: clamp(48px, 7vw, 88px); line-height: .96; letter-spacing: -.055em; max-width: 900px; }
.dl-h2 { margin: 12px 0 18px; font-size: clamp(38px, 5vw, 58px); line-height: 1.02; letter-spacing: -.045em; }
.dl-h3 { margin: 0 0 12px; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.12; }
.dl-lede { color: var(--dl-muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.65; max-width: 760px; }
.dl-muted { color: var(--dl-muted); }
.dl-cyan { color: var(--dl-cyan-dark); }
html[data-theme="dark"] .dl-cyan { color: var(--dl-cyan); }

.dl-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 7px 14px; border: 1px solid var(--dl-border); border-radius: 999px; background: var(--dl-surface); color: var(--dl-muted); font: 700 11px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; }
.dl-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--dl-cyan-dark); flex: none; }
html[data-theme="dark"] .dl-badge::before { background: var(--dl-cyan); }

.dl-chiprow { display: flex; flex-wrap: wrap; gap: 10px; }
.dl-breadcrumb { display: block; margin-bottom: 14px; color: var(--dl-muted); font: 700 12px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; }

.dl-disclaimer { max-width: 820px; }
.dl-disclaimer ul { margin: 16px 0 0; padding-left: 20px; color: var(--dl-muted); }
.dl-disclaimer li { margin-bottom: 8px; line-height: 1.5; }

/* Long-form article reading layout (Insights posts) */
.wp-block-post-date { display: block; margin: 10px 0 32px; color: var(--dl-muted); font: 700 12px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; text-transform: uppercase; letter-spacing: .1em; }
.wp-block-post-content { color: var(--dl-text); font-size: 18px; line-height: 1.75; }
.wp-block-post-content p { margin: 0 0 24px; }
.wp-block-post-content h2 { margin: 56px 0 18px; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; letter-spacing: -.02em; }
.wp-block-post-content h3 { margin: 40px 0 14px; font-size: clamp(20px, 2.2vw, 24px); line-height: 1.2; }
.wp-block-post-content ul, .wp-block-post-content ol { margin: 0 0 24px; padding-left: 22px; color: var(--dl-muted); }
.wp-block-post-content li { margin-bottom: 10px; }
.wp-block-post-content li > ul, .wp-block-post-content li > ol { margin-top: 10px; }
.wp-block-post-content strong { color: var(--dl-text); font-weight: 700; }
.wp-block-post-content a { color: var(--dl-cyan-dark); text-decoration: underline; text-underline-offset: 2px; }
html[data-theme="dark"] .wp-block-post-content a { color: var(--dl-cyan); }
.wp-block-post-content blockquote { margin: 32px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--dl-cyan); color: var(--dl-muted); font-style: italic; }
.wp-block-post-content hr { margin: 48px 0; border: none; border-top: 1px solid var(--dl-border); }

.dl-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.dl-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 18px; border: 1px solid var(--dl-border); border-radius: 8px; text-decoration: none; font-weight: 700; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.dl-btn:hover { transform: translateY(-1px); border-color: var(--dl-cyan); }
.dl-btn--signal { background: var(--dl-red); border-color: var(--dl-red); color: #fff; }
.dl-btn--dark { background: var(--dl-text); color: var(--dl-canvas); border-color: var(--dl-text); }

.dl-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--dl-border); background: color-mix(in srgb, var(--dl-canvas) 92%, transparent); backdrop-filter: blur(18px); }
.dl-header__row { max-width: 1320px; padding-block: 14px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.dl-brand { text-decoration: none; display: inline-flex; flex-direction: column; line-height: 1; }
.dl-brand strong { font-size: 18px; letter-spacing: .08em; }
.dl-brand span { margin-top: 4px; color: var(--dl-cyan-dark); font: 700 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .26em; }
html[data-theme="dark"] .dl-brand span { color: var(--dl-cyan); }
.dl-theme-toggle { min-width: 46px; min-height: 42px; background: var(--dl-surface); color: var(--dl-text); border: 1px solid var(--dl-border); border-radius: 8px; cursor: pointer; font-weight: 700; }

.dl-nav { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.dl-nav a { position: relative; text-decoration: none; color: var(--dl-muted); font-weight: 600; font-size: 15px; padding: 8px 2px; }
.dl-nav a:hover, .dl-nav a[aria-current="page"] { color: var(--dl-text); }
.dl-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: linear-gradient(90deg, var(--dl-cyan), var(--dl-red)); }

.dl-header__actions { display: flex; align-items: center; gap: 10px; justify-content: flex-end; }
.dl-header__cta { white-space: nowrap; }

.dl-menu-toggle { display: none; min-width: 46px; min-height: 42px; align-items: center; justify-content: center; background: var(--dl-surface); color: var(--dl-text); border: 1px solid var(--dl-border); border-radius: 8px; cursor: pointer; font-size: 18px; line-height: 1; }

.dl-mobile-nav { display: none; flex-direction: column; gap: 4px; max-width: var(--dl-max); margin: 0 auto; padding: 14px 16px 20px; border-top: 1px solid var(--dl-border); background: var(--dl-surface); }
.dl-mobile-nav[data-open="true"] { display: flex; }
.dl-mobile-nav a { text-decoration: none; color: var(--dl-text); font-weight: 600; padding: 12px 10px; border-radius: 8px; }
.dl-mobile-nav a:not(.dl-btn):hover, .dl-mobile-nav a:not(.dl-btn):focus-visible { background: var(--dl-surface-alt); }
.dl-mobile-nav .dl-btn { margin-top: 8px; justify-content: center; }

/* Light mode is intentionally native-light. No dark hero island. */
.dl-hero { background: var(--dl-canvas); position: relative; overflow: clip; }
.dl-hero::before { content:""; position:absolute; inset:0; pointer-events:none; background-image: linear-gradient(var(--dl-grid) 1px, transparent 1px), linear-gradient(90deg, var(--dl-grid) 1px, transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.5), transparent 85%); opacity:.7; }
html[data-theme="dark"] .dl-hero::after { content:""; position:absolute; width:800px; height:800px; right:-260px; top:-320px; background: radial-gradient(circle, rgba(32,199,255,.14), transparent 60%); pointer-events:none; }
.dl-hero__grid { position:relative; display:grid; grid-template-columns: 1.02fr .98fr; gap: clamp(44px,6vw,90px); align-items:center; padding-block: clamp(76px, 10vw, 142px); }
.dl-hero__facts { display:flex; gap: 16px 26px; flex-wrap:wrap; margin-top: 32px; color: var(--dl-muted); font-size: 13px; }

.dl-blueprint { background: var(--dl-surface); border: 1px solid var(--dl-border); border-radius: 18px; box-shadow: var(--dl-shadow); overflow:hidden; }
.dl-blueprint__head { padding:18px 20px; border-bottom:1px solid var(--dl-border); display:flex; align-items:center; justify-content:space-between; gap:18px; }
.dl-blueprint__head small { color:var(--dl-cyan-dark); font:700 10px/1.2 ui-monospace,monospace; letter-spacing:.12em; }
html[data-theme="dark"] .dl-blueprint__head small { color:var(--dl-cyan); }
.dl-blueprint__flow { display:grid; grid-template-columns:1fr auto 1.08fr auto 1fr; gap:12px; align-items:stretch; padding:22px; }
.dl-flowcol { min-width:0; }
.dl-flowlabel { display:block; margin-bottom:10px; color:var(--dl-muted); font:700 10px/1.2 ui-monospace,monospace; letter-spacing:.1em; }
.dl-node, .dl-control { border:1px solid var(--dl-border); background:var(--dl-canvas); border-radius:10px; padding:12px; margin-bottom:9px; }
.dl-node b,.dl-control b { display:block; font-size:14px; }
.dl-node span,.dl-control span { display:block; margin-top:4px; color:var(--dl-muted); font-size:12px; }
.dl-arrow { align-self:center; color:var(--dl-cyan-dark); font-size:24px; }
html[data-theme="dark"] .dl-arrow { color:var(--dl-cyan); }
.dl-control { border-left:3px solid var(--dl-cyan); }
.dl-blueprint__controls { display:flex; flex-wrap:wrap; gap:8px; padding:14px 22px 20px; border-top:1px solid var(--dl-border); }
.dl-blueprint__controls span { border:1px solid var(--dl-border); border-radius:999px; padding:6px 9px; color:var(--dl-muted); font:700 10px/1 ui-monospace,monospace; letter-spacing:.08em; }

.dl-capstrip { border-top:1px solid var(--dl-border); border-bottom:1px solid var(--dl-border); background:var(--dl-surface); }
.dl-capstrip__row { display:grid; grid-template-columns:1.25fr repeat(4,1fr); }
.dl-capstrip__row > div { padding:20px 22px; border-right:1px solid var(--dl-border); }
.dl-capstrip__row > div:last-child { border-right:0; }
.dl-capstrip__row strong { display:block; font-size:14px; }
.dl-capstrip__row span { display:block; margin-top:5px; color:var(--dl-muted); font-size:12px; line-height:1.4; }
.dl-capstrip__signature span { color:var(--dl-red); text-transform:uppercase; letter-spacing:.1em; font:700 10px/1.3 ui-monospace,monospace; margin-top:6px; }

.dl-hybrid { background:var(--dl-surface-alt); border-top:1px solid var(--dl-border); border-bottom:1px solid var(--dl-border); }
.dl-hybrid__grid { display:grid; grid-template-columns:.85fr 1.15fr; gap:48px; align-items:center; }
.dl-control-list { display:grid; margin:20px 0 28px; }
.dl-control-list > div { display:grid; grid-template-columns:44px 1fr; gap:8px; padding:14px 0; border-bottom:1px solid var(--dl-border); }
.dl-control-list b { color:var(--dl-cyan-dark); font:700 12px ui-monospace,monospace; }
html[data-theme="dark"] .dl-control-list b { color:var(--dl-cyan); }
.dl-control-list span { color:var(--dl-muted); font-size:14px; }
.dl-archpanel { border:1px solid var(--dl-border); border-radius:14px; background:var(--dl-canvas); padding:26px; display:flex; flex-direction:column; gap:14px; }
.dl-archpanel__row { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.dl-archpanel__node { border:1px solid var(--dl-border); background:var(--dl-surface); border-radius:8px; padding:10px 12px; font:700 11px ui-monospace,monospace; letter-spacing:.04em; }
.dl-archpanel__node--control { border-color:var(--dl-cyan); color:var(--dl-cyan-dark); }
html[data-theme="dark"] .dl-archpanel__node--control { color:var(--dl-cyan); }
.dl-archpanel__arrow { color:var(--dl-muted); }

.dl-grid2 { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.dl-grid3 { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.dl-grid4 { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.dl-card { background:var(--dl-surface); border:1px solid var(--dl-border); border-radius:14px; padding:28px; }
.dl-card p { color:var(--dl-muted); }
.dl-card__index { display:block; margin-bottom:30px; color:var(--dl-cyan-dark); font:700 11px/1.2 ui-monospace,monospace; letter-spacing:.1em; }
html[data-theme="dark"] .dl-card__index { color:var(--dl-cyan); }
.dl-card a { color:var(--dl-cyan-dark); font-weight:700; }
html[data-theme="dark"] .dl-card a { color:var(--dl-cyan); }

.dl-sectionhead { display:grid; grid-template-columns:1.2fr .8fr; gap:40px; align-items:end; margin-bottom:42px; }
.dl-sectionhead p { color:var(--dl-muted); font-size:18px; }

.dl-process { display:grid; grid-template-columns:.8fr 1.2fr; gap:56px; }
.dl-step { display:grid; grid-template-columns:52px 1fr auto; gap:18px; padding:22px 0; border-top:1px solid var(--dl-border); }
.dl-step > b { color:var(--dl-cyan-dark); font:700 14px ui-monospace,monospace; }
html[data-theme="dark"] .dl-step > b { color:var(--dl-cyan); }
.dl-step p { color:var(--dl-muted); margin:6px 0 0; }
.dl-step > span { color:var(--dl-muted); font:700 10px ui-monospace,monospace; letter-spacing:.1em; }

.dl-cta { background:var(--dl-surface); border-top:1px solid var(--dl-border); border-bottom:1px solid var(--dl-border); }
.dl-cta__row { display:grid; grid-template-columns:1fr auto; gap:40px; align-items:center; }

.dl-footer { background:var(--dl-canvas); border-top:1px solid var(--dl-border); padding:52px 0 26px; }
.dl-footer__grid { display:grid; grid-template-columns:1.4fr repeat(3,.7fr); gap:36px; }
.dl-footer__title { font:700 11px ui-monospace,monospace; letter-spacing:.12em; color:var(--dl-muted); text-transform:uppercase; }
.dl-footer a { text-decoration:none; }
.dl-footer__links { display:grid; gap:10px; margin-top:14px; color:var(--dl-muted); }
.dl-footer__meta { margin-top:36px; padding-top:18px; border-top:1px solid var(--dl-border); display:flex; justify-content:space-between; gap:20px; color:var(--dl-muted); font-size:13px; }

@media (max-width: 1024px) {
  .dl-hero__grid,.dl-sectionhead,.dl-process,.dl-cta__row { grid-template-columns:1fr; }
  .dl-grid4 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .dl-footer__grid { grid-template-columns:1fr 1fr; }
  .dl-blueprint__flow { grid-template-columns:1fr; }
  .dl-arrow { transform:rotate(90deg); justify-self:center; }

  .dl-nav, .dl-header__cta { display: none; }
  .dl-menu-toggle { display: inline-flex; }

  .dl-capstrip__row { grid-template-columns:1fr 1fr; }
  .dl-capstrip__row > div:nth-child(2) { border-right:0; }
  .dl-capstrip__signature { grid-column:1 / -1; }
  .dl-hybrid__grid { grid-template-columns:1fr; }
}
@media (max-width: 768px) {
  .dl-shell { padding-inline:16px; }
  .dl-grid2,.dl-grid3,.dl-grid4 { grid-template-columns:1fr; }
  .dl-footer__grid { grid-template-columns:1fr; }
  .dl-footer__meta { flex-direction:column; }
  .dl-header__row { padding-inline:16px; }
  .dl-display { font-size:clamp(44px,14vw,64px); }
  .dl-capstrip__row { grid-template-columns:1fr; }
  .dl-capstrip__row > div { border-right:0; border-bottom:1px solid var(--dl-border); }
  .dl-capstrip__row > div:last-child { border-bottom:0; }
}
@media (max-width: 480px) {
  .dl-brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior:auto !important; animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; }
}
