:root {
  --dl-bg: #050a07;
  --dl-card: #0d1612;
  --dl-card-2: #101b15;
  --dl-line: rgba(232, 237, 233, .12);
  --dl-text: #eef5ef;
  --dl-text-2: #c8d5cc;
  --dl-muted: #8a9b90;
  --dl-green: #6ee89a;
  --dl-green-2: #27a556;
  --dl-gold: #f0c35a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body.diligence-page {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(110, 232, 154, .045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(110, 232, 154, .035) 1px, transparent 1px),
    radial-gradient(circle at 18% 4%, rgba(110, 232, 154, .12), transparent 30%),
    radial-gradient(circle at 82% 0%, rgba(240, 195, 90, .1), transparent 28%),
    var(--dl-bg);
  background-size: 92px 92px, 92px 92px, auto, auto, auto;
  color: var(--dl-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.diligence-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 10%, rgba(110, 232, 154, .08) 10.4%, transparent 10.9%),
    linear-gradient(120deg, transparent 58%, rgba(240, 195, 90, .08) 58.2%, transparent 58.7%);
  opacity: .55;
}

.dl-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
  padding: 14px clamp(16px, 4vw, 42px);
  background: rgba(4, 9, 6, .94);
  border-bottom: 1px solid var(--dl-line);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .24);
  backdrop-filter: blur(16px);
}

.dl-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.dl-brand img {
  display: block;
  width: min(252px, 40vw);
  height: auto;
}

.dl-logo-light {
  display: none !important;
}

.dl-nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.dl-nav-links a,
.dl-btn,
.dl-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(110, 232, 154, .2);
  border-radius: 10px;
  background: rgba(13, 22, 18, .68);
  color: var(--dl-text);
  text-decoration: none;
  font-weight: 900;
}

.dl-nav-links a:hover,
.dl-btn:hover {
  border-color: rgba(110, 232, 154, .45);
}

.dl-btn.primary {
  background: linear-gradient(135deg, var(--dl-green-2), var(--dl-green));
  border-color: transparent;
  color: #041007;
}

.dl-btn.gold {
  background: linear-gradient(135deg, #d9a928, var(--dl-gold));
  border-color: transparent;
  color: #170f02;
}

.dl-theme-toggle {
  width: 44px;
  padding: 0;
  border-radius: 999px;
  color: var(--dl-green);
  cursor: pointer;
}

.dl-hero,
.dl-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 42px);
  padding-right: clamp(16px, 4vw, 42px);
}

.dl-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 22px;
  align-items: stretch;
  padding-top: clamp(20px, 4vw, 46px);
  padding-bottom: 24px;
}

.dl-hero-copy,
.dl-hero-panel,
.dl-card,
.dl-viewer-shell,
.dl-index,
.dl-admin-callout {
  border: 1px solid var(--dl-line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(13, 22, 18, .92), rgba(7, 13, 10, .96));
  box-shadow: 0 24px 80px rgba(0, 0, 0, .24);
}

.dl-hero-copy {
  padding: clamp(24px, 4vw, 42px);
  position: relative;
  overflow: hidden;
}

.dl-hero-copy::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -25%;
  width: min(420px, 58%);
  aspect-ratio: 1;
  background: url("../../images/product/cutouts/lok-n-blok-product-perspective.png?v=20260611-render1") center / contain no-repeat;
  opacity: .13;
  filter: drop-shadow(0 24px 36px rgba(110, 232, 154, .16));
  pointer-events: none;
}

.dl-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--dl-gold);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.dl-kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 99px;
  background: var(--dl-green);
}

.dl-hero h1,
.dl-section-title {
  margin: 0;
  color: var(--dl-text);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
}

.dl-hero h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: .98;
  position: relative;
  z-index: 1;
}

.dl-hero-copy p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--dl-text-2);
  font-size: clamp(1rem, 1.7vw, 1.17rem);
  position: relative;
  z-index: 1;
}

.dl-hero-copy b {
  color: var(--dl-green);
}

.dl-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}

.dl-hero-search {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  padding: 14px;
  border: 1px solid rgba(110, 232, 154, .22);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(110, 232, 154, .13), rgba(240, 195, 90, .08)),
    rgba(5, 10, 7, .54);
}

.dl-hero-search label {
  display: block;
  color: var(--dl-gold);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.dl-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 9px;
}

.dl-hero-search .dl-search {
  margin: 0;
  min-height: 54px;
  border-color: rgba(110, 232, 154, .38);
  background: rgba(3, 8, 5, .82);
  font-size: 1rem;
}

.dl-hero-search .dl-search-readout {
  margin-top: 10px;
  background: rgba(3, 8, 5, .38);
}

.dl-hero-panel {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 22px;
}

.dl-status-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(110, 232, 154, .16);
  border-radius: 14px;
  background: rgba(5, 10, 7, .44);
}

.dl-status-wide {
  border-color: rgba(240, 195, 90, .25);
}

.dl-quick-searches {
  padding: 18px;
  border: 1px solid rgba(110, 232, 154, .16);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(110, 232, 154, .1), rgba(240, 195, 90, .06)),
    rgba(5, 10, 7, .38);
}

.dl-quick-searches strong {
  display: block;
  color: var(--dl-text);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.05rem;
  line-height: 1.1;
}

.dl-quick-searches div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.dl-quick-searches button {
  border: 1px solid rgba(110, 232, 154, .26);
  border-radius: 999px;
  background: rgba(110, 232, 154, .08);
  color: var(--dl-green);
  cursor: pointer;
  font: inherit;
  font-size: .78rem;
  font-weight: 900;
  padding: 8px 11px;
}

.dl-quick-searches button:hover {
  background: rgba(110, 232, 154, .16);
  border-color: rgba(110, 232, 154, .46);
}

.dl-status-card span {
  display: block;
  color: var(--dl-muted);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.dl-status-card strong {
  display: block;
  margin-top: 5px;
  color: var(--dl-text);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.18rem;
  line-height: 1.14;
}

.dl-status-pill {
  border: 1px solid rgba(240, 195, 90, .28);
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--dl-gold);
  font-size: .72rem;
  font-weight: 900;
  white-space: nowrap;
}

.dl-section {
  padding: 22px 0;
}

.dl-section-title {
  margin-bottom: 8px;
  font-size: clamp(1.85rem, 4vw, 3.5rem);
  line-height: 1;
}

.dl-section-copy {
  max-width: 820px;
  margin: 0 0 18px;
  color: var(--dl-text-2);
}

.dl-claim-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.dl-card {
  padding: 18px;
}

.dl-card h3 {
  margin: 10px 0 8px;
  color: var(--dl-text);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.12rem;
  line-height: 1.15;
}

.dl-card p,
.dl-card li {
  color: var(--dl-text-2);
  font-size: .92rem;
}

.dl-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.dl-card-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 9px;
  border: 1px solid rgba(110, 232, 154, .24);
  border-radius: 999px;
  color: var(--dl-green);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dl-proof-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.dl-proof-links button,
.dl-proof-links a {
  border: 1px solid rgba(240, 195, 90, .28);
  border-radius: 999px;
  background: rgba(240, 195, 90, .08);
  color: var(--dl-gold);
  padding: 7px 9px;
  font: inherit;
  font-size: .72rem;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
}

.dl-viewer-grid {
  display: grid;
  grid-template-columns: minmax(360px, 440px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.dl-index,
.dl-viewer-shell {
  overflow: hidden;
}

.dl-index-head {
  padding: 16px;
  border-bottom: 1px solid var(--dl-line);
}

.dl-index-head > strong {
  display: block;
  color: var(--dl-text);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.08rem;
}

.dl-search {
  width: 100%;
  min-height: 46px;
  margin-top: 12px;
  border: 1px solid rgba(232, 237, 233, .18);
  border-radius: 12px;
  background: rgba(5, 10, 7, .58);
  color: var(--dl-text);
  padding: 0 14px;
  font: inherit;
  font-weight: 800;
}

.dl-search:focus {
  outline: none;
  border-color: rgba(110, 232, 154, .72);
  box-shadow: 0 0 0 4px rgba(110, 232, 154, .12);
}

.dl-search-readout {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid rgba(110, 232, 154, .18);
  border-radius: 12px;
  background: rgba(110, 232, 154, .07);
}

.dl-search-readout strong,
.dl-search-readout span {
  display: block;
}

.dl-search-readout strong {
  color: var(--dl-green);
  font-family: "Space Grotesk", Inter, sans-serif;
  line-height: 1.12;
}

.dl-search-readout span {
  margin-top: 4px;
  color: var(--dl-text-2);
  font-size: .84rem;
}

.dl-filter-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.dl-filter-row button {
  border: 1px solid rgba(232, 237, 233, .14);
  border-radius: 999px;
  background: rgba(5, 10, 7, .35);
  color: var(--dl-text-2);
  padding: 7px 9px;
  font: inherit;
  font-size: .72rem;
  font-weight: 900;
  cursor: pointer;
}

.dl-filter-row button.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--dl-green-2), var(--dl-green));
  color: #041007;
}

.dl-doc-list {
  max-height: min(78vh, 760px);
  overflow: auto;
  padding: 10px;
}

.dl-doc {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 8px;
  border: 1px solid rgba(232, 237, 233, .1);
  border-radius: 12px;
  background: rgba(5, 10, 7, .3);
  color: var(--dl-text);
  text-align: left;
  padding: 13px;
  cursor: pointer;
}

.dl-doc.is-active {
  border-color: rgba(110, 232, 154, .55);
  box-shadow: inset 4px 0 0 var(--dl-green);
}

.dl-doc em {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(240, 195, 90, .14);
  color: var(--dl-gold);
  font-style: normal;
  font-size: .68rem;
  font-weight: 900;
}

.dl-doc strong {
  display: block;
  font-family: "Space Grotesk", Inter, sans-serif;
  line-height: 1.18;
  padding-right: 58px;
}

.dl-doc span {
  display: block;
  margin-top: 6px;
  color: var(--dl-muted);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.dl-doc .dl-plain {
  display: block;
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(110, 232, 154, .12);
  border-radius: 10px;
  background: rgba(110, 232, 154, .075);
  color: var(--dl-text-2);
  font-size: .78rem;
  line-height: 1.38;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 800;
}

.dl-doc .dl-plain b {
  color: var(--dl-green);
}

.dl-snippets {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.dl-snippets span {
  margin: 0;
  padding: 8px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .045);
  color: var(--dl-text-2);
  font-size: .77rem;
  font-weight: 650;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
}

.dl-snippets b {
  color: var(--dl-gold);
}

mark {
  border-radius: 4px;
  background: rgba(240, 195, 90, .88);
  color: #07100a;
  padding: 0 2px;
}

.dl-viewer-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--dl-line);
}

.dl-viewer-head h3 {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.22rem;
}

.dl-viewer-head p {
  margin: 5px 0 0;
  color: var(--dl-text-2);
  font-size: .9rem;
}

.dl-viewer-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.dl-frame-wrap {
  min-height: 72vh;
  background: #0a0f0c;
}

.dl-frame {
  display: block;
  width: 100%;
  height: 72vh;
  min-height: 560px;
  border: 0;
  background: #0a0f0c;
}

.dl-current-hits {
  border-top: 1px solid var(--dl-line);
  padding: 16px;
}

.dl-hit-empty {
  padding: 14px;
  border: 1px dashed rgba(110, 232, 154, .24);
  border-radius: 14px;
  background: rgba(110, 232, 154, .055);
}

.dl-hit-empty strong,
.dl-hit-empty span,
.dl-hit-head strong,
.dl-hit-head span {
  display: block;
}

.dl-hit-empty strong,
.dl-hit-head strong {
  color: var(--dl-text);
  font-family: "Space Grotesk", Inter, sans-serif;
}

.dl-hit-empty span,
.dl-hit-head span {
  margin-top: 4px;
  color: var(--dl-text-2);
  font-size: .9rem;
}

.dl-hit-list {
  display: grid;
  gap: 8px;
  max-height: 430px;
  overflow: auto;
  margin-top: 12px;
  padding-right: 4px;
}

.dl-hit-list article {
  border: 1px solid rgba(232, 237, 233, .1);
  border-radius: 12px;
  background: rgba(5, 10, 7, .32);
  padding: 12px;
}

.dl-hit-list b {
  color: var(--dl-gold);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.dl-hit-list p {
  margin: 6px 0 0;
  color: var(--dl-text-2);
  font-size: .9rem;
}

.dl-admin-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
}

.dl-admin-callout h2 {
  margin: 0 0 6px;
  font-family: "Space Grotesk", Inter, sans-serif;
}

.dl-admin-callout p {
  margin: 0;
  color: var(--dl-text-2);
}

.dl-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px clamp(16px, 4vw, 42px) 48px;
  color: var(--dl-muted);
}

html[data-theme="light"] body.diligence-page,
body.diligence-page.light-theme {
  --dl-bg: #f7faf6;
  --dl-card: #ffffff;
  --dl-card-2: #f4f9f4;
  --dl-line: rgba(12, 95, 51, .15);
  --dl-text: #0d1f17;
  --dl-text-2: #33463c;
  --dl-muted: #53665b;
  background:
    linear-gradient(90deg, rgba(18, 97, 53, .05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(18, 97, 53, .04) 1px, transparent 1px),
    radial-gradient(circle at 18% 4%, rgba(39, 165, 86, .11), transparent 30%),
    radial-gradient(circle at 82% 0%, rgba(240, 195, 90, .12), transparent 28%),
    #f7faf6;
  color: var(--dl-text);
}

html[data-theme="light"] .dl-nav,
body.diligence-page.light-theme .dl-nav {
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 14px 36px rgba(13, 31, 23, .08);
}

html[data-theme="light"] .dl-logo-dark,
body.diligence-page.light-theme .dl-logo-dark {
  display: none !important;
}

html[data-theme="light"] .dl-logo-light,
body.diligence-page.light-theme .dl-logo-light {
  display: block !important;
}

html[data-theme="light"] :is(.dl-hero-copy,.dl-hero-panel,.dl-card,.dl-viewer-shell,.dl-index,.dl-admin-callout),
body.diligence-page.light-theme :is(.dl-hero-copy,.dl-hero-panel,.dl-card,.dl-viewer-shell,.dl-index,.dl-admin-callout) {
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 22px 60px rgba(13, 31, 23, .09);
}

html[data-theme="light"] :is(.dl-nav-links a,.dl-btn,.dl-status-card,.dl-search,.dl-filter-row button,.dl-doc,.dl-quick-searches),
body.diligence-page.light-theme :is(.dl-nav-links a,.dl-btn,.dl-status-card,.dl-search,.dl-filter-row button,.dl-doc,.dl-quick-searches) {
  background: rgba(255, 255, 255, .82);
  color: var(--dl-text);
  border-color: var(--dl-line);
}

html[data-theme="light"] .dl-hero-search,
body.diligence-page.light-theme .dl-hero-search {
  background:
    linear-gradient(135deg, rgba(39, 165, 86, .1), rgba(240, 195, 90, .11)),
    rgba(255, 255, 255, .88);
}

html[data-theme="light"] .dl-hero-search .dl-search,
body.diligence-page.light-theme .dl-hero-search .dl-search {
  background: #ffffff;
}

html[data-theme="light"] .dl-doc .dl-plain,
body.diligence-page.light-theme .dl-doc .dl-plain {
  background: rgba(12, 141, 78, .08);
  color: #30483b;
  border-color: rgba(12, 141, 78, .16);
}

html[data-theme="light"] .dl-hero-search .dl-search-readout,
body.diligence-page.light-theme .dl-hero-search .dl-search-readout {
  background: rgba(39, 165, 86, .08);
}

html[data-theme="light"] :is(.dl-snippets span,.dl-hit-list article,.dl-frame,.dl-frame-wrap),
body.diligence-page.light-theme :is(.dl-snippets span,.dl-hit-list article,.dl-frame,.dl-frame-wrap) {
  background: #ffffff;
}

html[data-theme="light"] .dl-btn.primary,
html[data-theme="light"] .dl-filter-row button.is-active,
body.diligence-page.light-theme .dl-btn.primary,
body.diligence-page.light-theme .dl-filter-row button.is-active {
  color: #041007;
  background: linear-gradient(135deg, var(--dl-green-2), var(--dl-green));
}

@media (max-width: 1020px) {
  .dl-hero,
  .dl-viewer-grid,
  .dl-admin-callout {
    grid-template-columns: 1fr;
  }

  .dl-claim-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dl-doc-list {
    max-height: 420px;
  }
}

@media (max-width: 640px) {
  .dl-nav {
    min-height: 62px;
    padding: 10px 14px;
  }

  .dl-brand span:not(.dl-brand-mark),
  .dl-nav-links a:not(.dl-btn) {
    display: none;
  }

  .dl-brand img {
    width: 176px;
  }

  .dl-nav-links {
    gap: 8px;
  }

  .dl-nav-links .dl-btn {
    min-height: 40px;
    padding: 9px 11px;
    font-size: .82rem;
  }

  .dl-hero {
    padding-top: 18px;
    gap: 12px;
  }

  .dl-hero-copy,
  .dl-hero-panel,
  .dl-card,
  .dl-admin-callout,
  .dl-viewer-head,
  .dl-index-head {
    border-radius: 16px;
    padding: 16px;
  }

  .dl-hero h1 {
    font-size: clamp(2.3rem, 13vw, 3.55rem);
  }

  .dl-search-row {
    grid-template-columns: 1fr;
  }

  .dl-search-row .dl-btn {
    width: 100%;
  }

  .dl-claim-grid {
    grid-template-columns: 1fr;
  }

  .dl-viewer-head {
    grid-template-columns: 1fr;
  }

  .dl-viewer-actions {
    justify-content: stretch;
  }

  .dl-viewer-actions .dl-btn {
    width: 100%;
  }

  .dl-frame,
  .dl-frame-wrap {
    height: 62vh;
    min-height: 460px;
  }

  .dl-doc strong {
    padding-right: 0;
  }

  .dl-doc em {
    position: static;
    margin-bottom: 8px;
  }
}
