/* www.dengine.gr, light corporate version of the home page (product-led split hero).
   Loaded after the theme css; overrides the dark theme defaults. Our classes use the dg- prefix. */

:root {
  --dn-themecolor: #2563eb;
  --dn-themecolor-rgb: 37, 99, 235;
  --dn-header-height: 84px;
  --dn-sticky-header-height: 68px;
  --dn-body-font: 'Inter', system-ui, sans-serif;
  --dn-primary-font: 'Inter', system-ui, sans-serif;

  --pb-navy: #0b1d3f;
  --pb-navy-2: #0e2a60;
  --pb-navy-3: #142f66;
  --pb-ink: #0f1b33;
  --pb-text: #3b4a63;
  --pb-muted: #556178;
  --pb-line: #e2e8f0;
  --pb-line-2: #edf1f6;
  --pb-soft: #f5f7fb;
  --pb-white: #ffffff;
  --pb-accent: #2563eb;
  --pb-accent-hover: #1d4fd7;
  --pb-accent-soft: #eaf1fe;
  --pb-ok: #15803d;
  --pb-ok-soft: #e9f7ef;
  --pb-warn: #b45309;
  --pb-warn-soft: #fdf3e6;
  --pb-no: #b91c1c;
  --pb-radius: 12px;
  --pb-radius-sm: 8px;
  --pb-shadow-sm: 0 1px 2px rgba(15, 27, 51, 0.06);
  --pb-shadow: 0 1px 2px rgba(15, 27, 51, 0.05), 0 8px 24px -12px rgba(15, 27, 51, 0.14);
  --pb-shadow-lg: 0 2px 6px rgba(15, 27, 51, 0.06), 0 30px 60px -24px rgba(11, 29, 63, 0.35);
}

/* ---------- base (undo the dark theme) ---------- */
body.stretched, #wrapper { background: var(--pb-white); color: var(--pb-text); }
body, p, span, li, a, input, button, nav, h1, h2, h3, h4, h5, h6, em, b, strong, div { font-family: 'Inter', system-ui, sans-serif; }
em { font-style: normal; }
body { font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { color: var(--pb-navy-2); letter-spacing: -0.02em; font-weight: 700; }
a { color: var(--pb-accent); }
a:hover { opacity: 1; transform: none; color: var(--pb-accent-hover); }
::selection { background: rgba(37, 99, 235, 0.18); }
/* the theme removes every outline (:focus{outline:none !important}); keyboard focus has to win over it */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--pb-accent) !important; outline-offset: 3px; }
.dg-hero a:focus-visible, .dg-hero button:focus-visible, .dg-band a:focus-visible, #footer a:focus-visible,
#header.dark a:focus-visible, #header.dark button:focus-visible, .dg-tile-cta:focus-visible { outline-color: #fff !important; }
.dg-nowrap { white-space: nowrap; }
.dg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- buttons ---------- */
.dg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.25rem; border-radius: var(--pb-radius-sm); border: 1px solid transparent;
  font-size: 0.9375rem; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.dg-btn i { font-size: 1em; }
.dg-btn-sm { padding: 0.55rem 1rem; font-size: 0.875rem; }
.dg-btn-lg { padding: 0.95rem 1.5rem; font-size: 1rem; }
.dg-btn-primary { background: var(--pb-accent); color: #fff; box-shadow: 0 1px 2px rgba(15, 27, 51, .12); }
.dg-btn-primary:hover { background: var(--pb-accent-hover); color: #fff; }
.dg-btn-outline { background: #fff; color: var(--pb-navy-2); border-color: #cfd8e5; }
.dg-btn-outline:hover { border-color: var(--pb-navy-2); color: var(--pb-navy-2); }
.dg-btn-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .22); }
.dg-btn-light:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .4); }
.dg-btn-white { background: #fff; color: var(--pb-navy-2); }
.dg-btn-white:hover { background: #e9eefb; color: var(--pb-navy-2); }
.dg-btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.dg-btn-ghost-light:hover { color: #fff; border-color: #fff; }
.dg-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* ---------- header ---------- */
#header.dg-header { background: transparent; border-bottom: 0; }
#header.dg-header #header-wrap { transition: background-color .25s ease, box-shadow .25s ease; }
.is-expanded-menu #header.dg-header.transparent-header:not(.sticky-header) #header-wrap { border-bottom: 1px solid rgba(255, 255, 255, .08); }
body #header.dg-header.sticky-header #header-wrap {
  background: #fff !important; backdrop-filter: none;
  border-bottom: 1px solid var(--pb-line); box-shadow: 0 6px 20px -16px rgba(15, 27, 51, .4);
}
#header.dg-header #logo img { height: 30px; width: auto; }
#header.dg-header .menu-link { font-family: 'Inter', system-ui, sans-serif; font-size: 0.9375rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
#header.dg-header.dark .menu-container > .menu-item > .menu-link { color: rgba(255, 255, 255, .82); }
#header.dg-header.dark .menu-container > .menu-item > .menu-link:hover,
#header.dg-header.dark .menu-container > .menu-item.current > .menu-link { color: #fff; }
#header.dg-header:not(.dark) .menu-container > .menu-item > .menu-link { color: var(--pb-ink); }
#header.dg-header:not(.dark) .menu-container > .menu-item > .menu-link:hover,
#header.dg-header:not(.dark) .menu-container > .menu-item.current > .menu-link { color: var(--pb-accent); }
.is-expanded-menu #header.dg-header .menu-container > .menu-item.current > .menu-link div { position: relative; }
.is-expanded-menu #header.dg-header .menu-container > .menu-item.current > .menu-link div::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px; background: currentColor; opacity: .6;
}
.is-expanded-menu #header.dg-header .menu-link i { font-size: 0.7rem; margin-left: 0.3rem; }
.is-expanded-menu #header.dg-header .sub-menu-container {
  background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-radius-sm);
  box-shadow: var(--pb-shadow); padding: 0.4rem; min-width: 240px;
}
.is-expanded-menu #header.dg-header .sub-menu-container .menu-item > .menu-link {
  color: var(--pb-ink); font-size: 0.875rem; font-weight: 500; padding: 0.55rem 0.75rem; border-radius: 6px;
}
.is-expanded-menu #header.dg-header .sub-menu-container .menu-item:hover > .menu-link { background: var(--pb-soft); color: var(--pb-accent); }
.header-misc .dg-btn { margin-left: 1rem; }
#header.dg-header .dn-hamburger-inner, #header.dg-header .dn-hamburger-inner::before, #header.dg-header .dn-hamburger-inner::after { background-color: #fff; }
#header.dg-header:not(.dark) .dn-hamburger-inner, #header.dg-header:not(.dark) .dn-hamburger-inner::before, #header.dg-header:not(.dark) .dn-hamburger-inner::after { background-color: var(--pb-ink); }

/* mobile header: navy bar with the menu folding out under it */
body:not(.is-expanded-menu) #header.dg-header #header-wrap { background: var(--pb-navy); }
body:not(.is-expanded-menu) #header.dg-header:not(.dark) #header-wrap { background: #fff; }
body:not(.is-expanded-menu) #header.dg-header .header-misc { display: none; }
body:not(.is-expanded-menu) #header.dg-header .primary-menu .menu-container { border-top: 1px solid rgba(255, 255, 255, .1); padding: 0.5rem 0 1rem; }
body:not(.is-expanded-menu) #header.dg-header .menu-item .menu-link { color: rgba(255, 255, 255, .88); border-top: 1px solid rgba(255, 255, 255, .06); }
body:not(.is-expanded-menu) #header.dg-header .sub-menu-container { background: transparent; border: 0; }
body:not(.is-expanded-menu) #header.dg-header .sub-menu-container .menu-link { color: rgba(255, 255, 255, .7); font-size: 0.875rem; }
body:not(.is-expanded-menu) #header.dg-header .sub-menu-trigger { color: rgba(255, 255, 255, .7); }

/* ---------- hero (navy) ---------- */
.dg-hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(180deg, var(--pb-navy) 0%, #0d2352 100%);
  padding: 3.5rem 0 4.5rem;
}
.dg-hero .container { position: relative; z-index: 1; }
.is-expanded-menu .dg-hero { padding: calc(var(--dn-header-height) + 4.5rem) 0 5.5rem; }
.dg-hero-badge {
  display: inline-block; margin: 0 0 1.5rem; padding: 0.35rem 0.8rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .85); font-size: 0.8125rem; font-weight: 500; letter-spacing: .01em;
}
.dg-hero h1 {
  color: #fff; font-weight: 700; font-size: clamp(2.25rem, 1.3rem + 2.7vw, 3.5rem); line-height: 1.06; letter-spacing: -0.035em;
  margin: 0 0 1.5rem; text-wrap: balance;
}
.dg-hero h1 em { font-style: normal; color: #7fb0ff; }
.dg-hero-sub { color: rgba(255, 255, 255, .8); font-size: 1.1875rem; line-height: 1.6; margin: 0 0 2.25rem; max-width: 33rem; hyphens: manual; }
.dg-hero-note { margin: 1.5rem 0 0; color: rgba(255, 255, 255, .72); font-size: 0.875rem; }
.dg-hero-note i { color: #7fb0ff; margin-right: 0.25rem; }
.dg-hero-visual { position: relative; }
@media (min-width: 1200px) { /* the screenshot runs past the container and is cut by the hero edge */
  .dg-hero-visual { width: calc(100% + 9vw); }
}

/* ---------- framed screenshots ---------- */
.dg-frame {
  position: relative; border-radius: var(--pb-radius); overflow: hidden; background: #0f1830;
  border: 1px solid #d5dce8; box-shadow: var(--pb-shadow-lg);
}
.dg-frame-bar { display: flex; gap: 6px; align-items: center; height: 30px; padding: 0 12px; background: #eef2f7; border-bottom: 1px solid #dde3ec; }
.dg-frame-bar span { width: 9px; height: 9px; border-radius: 50%; background: #c9d2df; }
.dg-frame img { display: block; width: 100%; height: auto; }
.dg-frame-hero { border-color: rgba(255, 255, 255, .14); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .04); }
.dg-frame-hero .dg-frame-bar { background: #18284a; border-bottom-color: rgba(255, 255, 255, .08); }
.dg-frame-hero .dg-frame-bar span { background: rgba(255, 255, 255, .22); }

/* ---------- integrations strip ---------- */
.dg-strip { background: #fff; border-bottom: 1px solid var(--pb-line); }
.dg-strip-inner { display: flex; align-items: baseline; gap: 2.5rem; padding-top: 1.6rem; padding-bottom: 1.6rem; }
.dg-strip-label { flex: 0 0 auto; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--pb-muted); }
.dg-strip-list { display: flex; flex-wrap: wrap; gap: 0.7rem 1.75rem; }
.dg-logo { display: inline-flex; align-items: center; gap: 0.45rem; white-space: nowrap; font-size: 0.875rem; font-weight: 500; color: #4a5872; }
.dg-logo svg { width: 16px; height: 16px; fill: #8592a6; flex: 0 0 auto; }

/* ---------- sections ---------- */
.dg-section { padding: 5.5rem 0; position: relative; }
.dg-bg-soft { background: var(--pb-soft); }
.dg-eyebrow { margin: 0 0 0.75rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--pb-accent); }
.dg-eyebrow-light { color: #9cc0ff; }
.dg-h2 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.15; letter-spacing: -0.025em; margin: 0; color: var(--pb-navy-2); text-wrap: balance; }
.dg-h2 em { font-style: normal; color: var(--pb-accent); }
.dg-lead { font-size: 1.0625rem; line-height: 1.7; color: var(--pb-text); margin: 1.25rem 0 0; }
.row .dg-lead:first-child { margin-top: 0; }

/* cards */
.dg-card {
  height: 100%; background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-radius);
  padding: 1.75rem; box-shadow: var(--pb-shadow-sm); transition: box-shadow .25s ease, border-color .25s ease;
}
.dg-card:hover { box-shadow: var(--pb-shadow); border-color: #d3dbe7; }
.dg-icon {
  width: 40px; height: 40px; border-radius: 10px; display: inline-grid; place-items: center; flex: 0 0 auto;
  background: #fff; border: 1px solid var(--pb-line); color: var(--pb-navy-2); font-size: 1.15rem; margin-bottom: 1.25rem;
}
.dg-card-title { font-size: 1.125rem; font-weight: 650; margin: 0 0 0.5rem; color: var(--pb-navy-2); letter-spacing: -0.01em; }
.dg-card-text { font-size: 0.9375rem; line-height: 1.65; color: var(--pb-text); margin: 0; }
.dg-card-flat { display: flex; gap: 1rem; align-items: flex-start; padding: 1.5rem; }
.dg-card-flat .dg-icon { margin-bottom: 0; }
.dg-card-flat .dg-card-title { font-size: 1rem; }
.dg-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.25rem; }
.dg-tags span { font-size: 0.78rem; font-weight: 500; color: #334155; background: var(--pb-soft); border: 1px solid var(--pb-line); border-radius: 6px; padding: 0.22rem 0.55rem; }
.dg-mini { margin-top: 1.25rem; border: 1px solid var(--pb-line); border-radius: 10px; padding: 0.9rem 1rem; background: #fbfcfe; }
.dg-mini-label { font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--pb-muted); margin-bottom: 0.45rem; }
.dg-mini-q { font-size: 0.875rem; font-weight: 500; color: var(--pb-ink); line-height: 1.45; }
.dg-mini-btns { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.dg-mini-btns span { font-size: 0.78rem; font-weight: 600; padding: 0.35rem 0.7rem; border-radius: 6px; }
.dg-mini-yes { background: var(--pb-accent); color: #fff; }
.dg-mini-no { background: #fff; color: var(--pb-text); border: 1px solid var(--pb-line); }
.dg-access-row { display: flex; justify-content: space-between; gap: 0.75rem; font-size: 0.8125rem; color: var(--pb-ink); padding: 0.4rem 0; border-top: 1px solid var(--pb-line-2); }
.dg-access-row:first-of-type { border-top: 0; }
.dg-ok { color: var(--pb-ok); font-weight: 500; white-space: nowrap; }
.dg-no { color: var(--pb-no); font-weight: 500; white-space: nowrap; }

/* check lists */
.dg-checks { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1.25rem; }
.dg-checks li { display: flex; gap: 0.6rem; align-items: center; font-size: 0.9375rem; font-weight: 500; color: var(--pb-ink); }
.dg-checks li i { width: 30px; height: 30px; border-radius: 8px; flex: 0 0 auto; display: inline-grid; place-items: center; background: #fff; border: 1px solid var(--pb-line); color: var(--pb-navy-2); font-size: 0.95rem; }
.dg-checks-plain { grid-template-columns: 1fr; gap: 0.9rem; }
.dg-checks-plain li { align-items: flex-start; font-weight: 400; color: var(--pb-text); line-height: 1.55; }
.dg-checks-plain li i { width: auto; height: auto; background: none; font-size: 1.1rem; margin-top: 0.1rem; color: var(--pb-accent); }

/* ---------- product tour ---------- */
.dg-tour { display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; align-items: start; }
.dg-tour-tabs { display: flex; flex-direction: column; border-top: 1px solid var(--pb-line); }
.dg-tour-tab {
  display: flex; align-items: center; gap: 0.85rem; width: 100%; text-align: left; cursor: pointer;
  padding: 1.05rem 0.5rem 1.05rem 1.1rem; border: 0; border-bottom: 1px solid var(--pb-line); border-radius: 0; background: transparent;
  font-size: 1rem; font-weight: 600; color: var(--pb-text); position: relative; transition: color .2s, background-color .2s;
}
.dg-tour-tab::before { content: ''; position: absolute; left: 0; top: -1px; bottom: -1px; width: 2px; background: transparent; transition: background-color .2s; }
.dg-tour-tab i { font-size: 1.05rem; color: var(--pb-muted); transition: color .2s; }
.dg-tour-tab:hover { color: var(--pb-navy-2); }
.dg-tour-tab.active { color: var(--pb-navy-2); background: #fff; }
.dg-tour-tab.active::before { background: var(--pb-accent); }
.dg-tour-tab.active i { color: var(--pb-accent); }
.dg-tour-cta { margin-top: 1.75rem; align-self: flex-start; }
.dg-tour-panel[hidden] { display: none; }
.dg-tour-panel .dg-tags { margin-top: 1.5rem; }
.dg-tags-lg span { font-size: 0.8125rem; background: #fff; padding: 0.35rem 0.75rem; }
.dg-tour-panel.dg-in .dg-frame { animation: dg-fade .35s ease both; }
@keyframes dg-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- AI chat card ---------- */
.dg-chat-card { background: #fff; border: 1px solid var(--pb-line); border-radius: 16px; box-shadow: var(--pb-shadow-lg); overflow: hidden; max-width: 520px; }
.dg-chat-head { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--pb-line); background: #fbfcfe; }
.dg-chat-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--pb-navy-2); color: #fff; font-size: 0.95rem; }
.dg-chat-title { font-weight: 600; font-size: 0.9375rem; color: var(--pb-ink); }
.dg-chat-meta { margin-left: auto; font-size: 0.75rem; color: var(--pb-muted); }
.dg-chat { padding: 1.5rem 1.25rem; display: flex; flex-direction: column; gap: 0.7rem; background: #f7f9fc; }
.dg-msg { max-width: 82%; font-size: 0.9rem; line-height: 1.5; padding: 0.65rem 0.9rem; border-radius: 14px; }
.dg-msg-me { align-self: flex-end; background: var(--pb-navy-2); color: #fff; border-bottom-right-radius: 4px; }
.dg-msg-bot { align-self: flex-start; background: #fff; color: var(--pb-ink); border: 1px solid var(--pb-line); border-bottom-left-radius: 4px; }
.dg-msg-who { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--pb-accent); margin-bottom: 0.2rem; }
.dg-msg-photo { display: inline-flex; gap: 0.4rem; align-items: center; }
.dg-msg-actions { display: flex; gap: 0.5rem; margin-top: 0.6rem; }
.dg-msg-actions span { font-size: 0.78rem; font-weight: 600; padding: 0.3rem 0.7rem; border-radius: 6px; }
.dg-yes { background: var(--pb-accent); color: #fff; }
.dg-cancel { border: 1px solid var(--pb-line); color: var(--pb-text); }

/* ---------- mid CTA band with the numbers ---------- */
.dg-band { background: var(--pb-navy-2); color: #fff; padding: 4.5rem 0; }
.dg-band-title { color: #fff; font-size: clamp(1.4rem, 1.1rem + .8vw, 1.75rem); font-weight: 650; line-height: 1.3; letter-spacing: -0.02em; margin: 0 0 1.75rem; }
.dg-stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.dg-stat { padding: 0.25rem 1.5rem; border-left: 1px solid rgba(255, 255, 255, .16); }
.dg-stat:first-child { border-left: 0; padding-left: 0; }
.dg-stat-value { font-size: 2.5rem; font-weight: 700; color: #fff; letter-spacing: -0.035em; line-height: 1.1; }
.dg-stat-value.dg-stat-text { font-size: 1.125rem; letter-spacing: -0.01em; line-height: 1.3; min-height: 2.75rem; display: flex; align-items: flex-end; }
.dg-stat-label { font-size: 0.8125rem; color: rgba(255, 255, 255, .72); margin-top: 0.5rem; }

/* ---------- for whom: hairline grid, the last cell leads to the guide ---------- */
.dg-who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--pb-line); border: 1px solid var(--pb-line); border-radius: var(--pb-radius); overflow: hidden; }
.dg-tile { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: #fff; padding: 1.75rem 1.6rem; transition: background-color .2s ease; }
.dg-tile:hover { color: inherit; background: #fafbfd; }
.dg-tile-title { display: flex; align-items: center; gap: 0.6rem; font-size: 1.0625rem; font-weight: 650; color: var(--pb-navy-2); margin-bottom: 0.65rem; letter-spacing: -0.01em; }
.dg-tile-title i { color: var(--pb-accent); font-size: 1.1rem; }
.dg-tile-text { font-size: 0.9rem; line-height: 1.6; color: var(--pb-text); flex: 1 1 auto; }
.dg-tile-mods { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: .02em; color: var(--pb-muted); margin-top: 1.1rem; }
.dg-tile-link { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.6rem; font-size: 0.875rem; font-weight: 600; color: var(--pb-accent); }
.dg-tile-link i { transition: transform .2s ease; }
.dg-tile:hover .dg-tile-link i { transform: translateX(3px); }
.dg-tile-cta { background: var(--pb-navy-2); }
.dg-tile-cta:hover { background: var(--pb-navy-3); }
.dg-tile-cta .dg-tile-title, .dg-tile-cta .dg-tile-title i, .dg-tile-cta .dg-tile-link { color: #fff; }
.dg-tile-cta .dg-tile-text { color: rgba(255, 255, 255, .8); }
.dg-tile-cta .dg-tile-mods { color: rgba(255, 255, 255, .72); }

/* ---------- data safety ---------- */
.dg-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.dg-trust-item { border-top: 2px solid var(--pb-navy-2); padding-top: 1.4rem; }
.dg-trust-item i { display: block; font-size: 1.35rem; color: var(--pb-accent); margin-bottom: 0.9rem; }
.dg-trust-item h3 { font-size: 1.0625rem; font-weight: 650; margin: 0 0 0.5rem; color: var(--pb-navy-2); letter-spacing: -0.01em; }
.dg-trust-item p { font-size: 0.9375rem; line-height: 1.65; color: var(--pb-text); margin: 0; }

/* ---------- day feed ---------- */
.dg-feed { background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); box-shadow: var(--pb-shadow); overflow: hidden; }
.dg-feed-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1rem 1.25rem; border-bottom: 1px solid var(--pb-line); }
.dg-feed-title { font-size: 0.75rem; font-weight: 700; letter-spacing: .08em; color: var(--pb-navy-2); }
.dg-feed-filters { display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; }
.dg-feed-filter-label { font-size: 0.78rem; color: var(--pb-muted); margin-right: 0.25rem; }
.dg-feed-filter { font-size: 0.8125rem; font-weight: 500; color: var(--pb-text); background: #fff; border: 1px solid var(--pb-line); border-radius: 6px; padding: 0.3rem 0.7rem; cursor: pointer; }
.dg-feed-filter:hover { border-color: #c7d4ea; }
.dg-feed-filter.active { background: var(--pb-navy-2); border-color: var(--pb-navy-2); color: #fff; }
.dg-feed-cols, .dg-feed-row { display: grid; grid-template-columns: 120px 170px 1fr 70px; gap: 1rem; align-items: center; padding: 0 1.25rem; }
.dg-feed-cols { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #4f5b71; background: var(--pb-soft); padding-top: 0.6rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--pb-line); }
.dg-feed-list { min-height: 300px; }
.dg-feed-row { padding-top: 0.8rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--pb-line-2); font-size: 0.875rem; }
.dg-feed-row:last-child { border-bottom: 0; }
.dg-feed-row.dg-new { animation: dg-fade .45s ease both; }
.dg-feed-empty { padding: 2rem; text-align: center; color: var(--pb-muted); font-size: 0.9rem; }
.dg-status { display: inline-block; font-size: 0.72rem; font-weight: 600; border-radius: 999px; padding: 0.2rem 0.6rem; }
.dg-status.ai { background: var(--pb-accent-soft); color: var(--pb-accent); }
.dg-status.warn { background: var(--pb-warn-soft); color: var(--pb-warn); }
.dg-status.done { background: var(--pb-ok-soft); color: var(--pb-ok); }
.dg-feed-mod { display: flex; align-items: center; gap: 0.55rem; font-weight: 500; color: var(--pb-ink); }
.dg-feed-mod i { width: 28px; height: 28px; border-radius: 7px; display: inline-grid; place-items: center; background: var(--pb-soft); border: 1px solid var(--pb-line); color: var(--pb-navy-2); font-size: 0.85rem; }
.dg-feed-what b { display: block; font-weight: 600; color: var(--pb-ink); }
.dg-feed-what span { color: var(--pb-muted); font-size: 0.8125rem; }
.dg-feed-time { text-align: right; color: var(--pb-muted); font-variant-numeric: tabular-nums; font-size: 0.8125rem; }

/* ---------- guide (behaviour in app.js) ---------- */
.dg-guide { background: #fff; border: 1px solid var(--pb-line); border-radius: 16px; box-shadow: var(--pb-shadow); padding: 2rem; }
.dg-guide-steps { display: flex; gap: 0.4rem; margin-bottom: 1.5rem; }
.dg-guide-steps span { flex: 1; height: 4px; border-radius: 4px; background: var(--pb-line); transition: background-color .3s; }
.dg-guide-steps span.active { background: var(--pb-accent); }
.dg-guide-q { font-size: 1.25rem; font-weight: 650; color: var(--pb-navy-2); margin: 0 0 1.25rem; letter-spacing: -0.01em; }
.dg-guide-q span { display: inline-block; font-size: 0.75rem; font-weight: 600; color: var(--pb-accent); background: var(--pb-accent-soft); border-radius: 6px; padding: 0.2rem 0.5rem; margin-right: 0.5rem; vertical-align: middle; letter-spacing: .02em; }
.dg-guide-hint { margin: -0.75rem 0 1rem; font-size: 0.875rem; color: var(--pb-muted); }
.dg-guide-options { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.dg-guide-opt {
  display: flex; align-items: center; gap: 0.6rem; text-align: left; cursor: pointer;
  padding: 0.75rem 0.9rem; border-radius: 10px; border: 1px solid var(--pb-line); background: #fff;
  font-size: 0.9rem; font-weight: 500; color: var(--pb-ink); transition: border-color .2s, background-color .2s;
}
.dg-guide-opt i { color: var(--pb-muted); font-size: 1.05rem; }
.dg-guide-opt:hover { border-color: #b9c8e2; background: #fbfcfe; }
.dg-guide-opt.on { border-color: var(--pb-accent); background: var(--pb-accent-soft); color: var(--pb-navy-2); }
.dg-guide-opt.on i { color: var(--pb-accent); }
.dg-guide-nav { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-top: 1.5rem; }
.dg-guide-restart { background: none; border: 0; color: var(--pb-muted); font-size: 0.875rem; cursor: pointer; padding: 0.5rem; }
.dg-guide-restart:hover { color: var(--pb-navy-2); }
.dg-guide-result { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.dg-guide-result a { display: flex; gap: 0.55rem; align-items: center; padding: 0.6rem 0.8rem; border-radius: 8px; background: var(--pb-soft); border: 1px solid var(--pb-line); color: var(--pb-ink); font-size: 0.875rem; font-weight: 500; text-decoration: none; }
.dg-guide-result a i { color: var(--pb-accent); }
.dg-guide-result a:hover { border-color: #b9c8e2; color: var(--pb-navy-2); }

/* ---------- FAQ (behaviour in app.js) ---------- */
#faq .co-faq-list { border-top: 1px solid var(--pb-line); }
#faq .co-faq-item { border: 0; border-bottom: 1px solid var(--pb-line); background: transparent; border-radius: 0; margin: 0; }
#faq .co-faq-trigger { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 1.5rem; background: none; border: 0; padding: 1.35rem 0; text-align: left; cursor: pointer; }
#faq .co-faq-q { font-size: 1.0625rem; font-weight: 600; color: var(--pb-navy-2); letter-spacing: -0.01em; }
#faq .co-faq-icon { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #cdd6e3; color: var(--pb-navy-2); background: #fff; transition: transform .25s ease, background-color .2s; }
#faq .co-faq-item.open .co-faq-icon { transform: rotate(45deg); background: var(--pb-navy-2); color: #fff; border-color: var(--pb-navy-2); }
#faq .co-faq-answer { display: grid; grid-template-rows: 0fr; max-height: none; overflow: hidden; transition: grid-template-rows .3s ease; }
#faq .co-faq-item.open .co-faq-answer { grid-template-rows: 1fr; max-height: none; }
#faq .co-faq-answer-inner { min-height: 0; overflow: hidden; padding: 0 3rem 0 0; font-size: 0.975rem; line-height: 1.7; color: var(--pb-text); }
#faq .co-faq-item.open .co-faq-answer-inner { padding-bottom: 1.35rem; }

/* ---------- contact: closing statement ---------- */
.dg-contact { padding: 1rem 0; }
.dg-contact .dg-h2 { font-size: clamp(2rem, 1.3rem + 2vw, 3rem); line-height: 1.1; }
.dg-contact-actions { display: flex; flex-direction: column; gap: 0.75rem; align-items: stretch; max-width: 360px; margin-left: auto; }
.dg-contact-name { text-align: center; font-size: 0.875rem; color: var(--pb-muted); text-decoration: none; margin-top: 0.25rem; }
.dg-contact-name:hover { color: var(--pb-navy-2); }

/* ---------- footer (navy) ---------- */
#footer.dg-footer { background: var(--pb-navy); border-top: 0; color: rgba(255, 255, 255, .7); }
.dg-footer-main { padding: 4.5rem 0 3.5rem; }
.dg-footer-logo { height: 30px; width: auto; margin-bottom: 1.25rem; }
.dg-footer-desc { font-size: 0.9rem; line-height: 1.7; color: rgba(255, 255, 255, .62); max-width: 22rem; margin: 0; }
.dg-footer-heading { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 1rem; }
.dg-footer-link { display: flex; gap: 0.5rem; align-items: center; font-size: 0.9rem; color: rgba(255, 255, 255, .66); text-decoration: none; padding: 0.3rem 0; }
.dg-footer-link:hover { color: #fff; }
.dg-footer-link i { color: rgba(255, 255, 255, .45); }
#footer.dg-footer #copyrights { background: transparent; border-top: 1px solid rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .45); font-size: 0.8125rem; text-align: left; padding: 1.5rem 0; }

/* ---------- scroll reveal (pro-b.js adds .dg-anim to <html>) ---------- */
.dg-anim .dg-reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.dg-anim .dg-reveal.dg-shown { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
  .dg-who-grid { grid-template-columns: repeat(2, 1fr); }
  .dg-stat { padding: 0.25rem 1.1rem; }
  .dg-stat-value { font-size: 2.1rem; }
}
@media (max-width: 991.98px) {
  .dg-section { padding: 4.5rem 0; }
  .dg-hero { padding: 3rem 0 4.5rem; }
  .dg-tour { grid-template-columns: 1fr; gap: 1.5rem; }
  .dg-tour-tabs { flex-direction: row; overflow-x: auto; border-top: 0; border-bottom: 1px solid var(--pb-line); scrollbar-width: none; }
  .dg-tour-tabs::-webkit-scrollbar { display: none; }
  .dg-tour-tab { width: auto; flex: 0 0 auto; padding: 0.75rem 0.9rem; font-size: 0.9rem; white-space: nowrap; border-bottom: 0; background: transparent; }
  .dg-tour-tab.active { background: transparent; }
  .dg-tour-tab::before { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 2px; }
  .dg-tour-tab i { font-size: 0.95rem; }
  .dg-tour-cta { display: none; }
  .dg-stats { grid-template-columns: 1fr 1fr; row-gap: 1.75rem; }
  .dg-stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .dg-trust { grid-template-columns: 1fr; gap: 1.5rem; }
  .dg-contact-actions { margin-left: 0; max-width: none; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .dg-contact-name { text-align: left; }
  .dg-chat-card { margin: 0 auto; }
}
@media (max-width: 767.98px) {
  .dg-checks { grid-template-columns: 1fr; }
  .dg-guide { padding: 1.25rem; }
  .dg-guide-options, .dg-guide-result { grid-template-columns: 1fr; }
  .dg-feed-cols { display: none; }
  .dg-feed-row { grid-template-columns: 1fr auto; grid-template-areas: "mod time" "what what" "st st"; gap: 0.4rem 0.75rem; }
  .dg-feed-row > :nth-child(1) { grid-area: st; }
  .dg-feed-row > :nth-child(2) { grid-area: mod; }
  .dg-feed-row > :nth-child(3) { grid-area: what; }
  .dg-feed-row > :nth-child(4) { grid-area: time; }
  .dg-contact { padding: 0; }
  .dg-strip-inner { flex-direction: column; align-items: flex-start; gap: 0.85rem; }
  .dg-strip-list { gap: 0.55rem 1.25rem; }
  .dg-band { padding: 3.5rem 0; }
  .dg-who-grid { grid-template-columns: 1fr; }
  .dg-tile { padding: 1.35rem 1.25rem; }
  .dg-tile:not(.dg-tile-cta) .dg-tile-link { display: none; }
  .dg-tile-mods { margin-top: 0.75rem; }
  .dg-msg { max-width: 90%; }
  #faq .co-faq-answer-inner { padding-right: 0; }
}
@media (max-width: 575.98px) {
  .dg-hero .dg-actions { flex-direction: column; align-items: stretch; }
  .dg-hero .dg-actions .dg-btn { width: 100%; }
  .dg-section { padding: 4rem 0; }
  .dg-stat-value { font-size: 1.9rem; }
  .dg-chat-meta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dg-anim .dg-reveal { opacity: 1; transform: none; transition: none; }
  .dg-tour-panel.dg-in .dg-frame, .dg-feed-row.dg-new { animation: none; }
  .dg-tile-link i, .dg-tile:hover .dg-tile-link i { transition: none; transform: none; }
}
@media (min-width: 992px) {
  .dg-chat-card { margin-left: auto; margin-right: 1.5rem; }
}
/* the theme names Font Awesome classes on the mobile submenu toggle; draw it with Bootstrap Icons */
#header.dg-header .menu-item .sub-menu-trigger::before { font-family: bootstrap-icons !important; content: "\f285"; font-size: 0.8rem; display: inline-block; transition: transform .25s ease; }
#header.dg-header .menu-item .sub-menu-trigger.icon-rotate-90::before { transform: rotate(90deg); }
#header.dg-header .menu-item .sub-menu-trigger.icon-rotate-90 { transform: none; }

/* submenu arrows on desktop: the theme adds .sub-menu-indicator from data-arrow-class (Bootstrap Icons here) */
.is-expanded-menu #header.dg-header .primary-menu .menu-link > div { display: inline-flex; align-items: center; }
.is-expanded-menu #header.dg-header .primary-menu .sub-menu-indicator { display: inline-block !important; font-size: 0.65rem; margin-left: 0.35rem; opacity: .8; }
.is-expanded-menu #header.dg-header .sub-menu-container .sub-menu-indicator { display: none !important; }
body:not(.is-expanded-menu) #header.dg-header .primary-menu .sub-menu-indicator { display: none !important; }
