/* =====================================================================
   DueData — Homepage Redesign (Figma 2026)
   Self-contained, dd-prefixed styles for the new marketing homepage.
   Loaded AFTER modern-style.css so chrome (.dd-*) wins. Component
   styles are scoped to homepage classes so legal/error pages are
   unaffected. Desktop-first; breakpoints at 1024 / 768 / 560.
   ===================================================================== */

:root {
  --dd-blue: #1e3a8a;          /* primary (matches existing --primary) */
  --dd-blue-bright: #2563eb;   /* eyebrows / accents / links */
  --dd-ink: #070707;           /* near-black for dark sections */
  --dd-bg-soft: #f4f7fe;       /* soft light-blue section bg */
  --dd-white: #ffffff;
  --dd-text: #0f1b34;          /* body text on light */
  --dd-muted: #5b6b8c;         /* secondary text on light */
  --dd-muted-dark: #aab6d6;    /* secondary text on dark */
  --dd-border: #e5eaf4;        /* hairline borders on light */
  --dd-border-dark: rgba(255, 255, 255, .12);
  --dd-grad: linear-gradient(135deg, #070707 0%, #142a66 55%, #1e3a8a 100%);
  --dd-radius: 16px;
  --dd-radius-sm: 10px;
  --dd-radius-pill: 999px;
  --dd-container: 1240px;
  --dd-pad-x: 40px;
  --dd-shadow: 0 10px 30px rgba(8, 15, 40, .08);
  --dd-shadow-lg: 0 26px 60px rgba(8, 15, 40, .16);
  --dd-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Base (scoped, safe) ---------- */
.dd-statusbar, .dd-navbar, .dd-menu, .dd-footer, .dd-home,
.dd-home * , .dd-navbar *, .dd-statusbar *, .dd-menu *, .dd-footer * {
  box-sizing: border-box;
}
.dd-home {
  font-family: var(--dd-font);
  color: var(--dd-text);
  line-height: 1.6;
  background: var(--dd-white);
}
.dd-home img, .dd-home video { display: block; max-width: 100%; }
.dd-home h1, .dd-home h2, .dd-home h3, .dd-home h4 {
  font-family: var(--dd-font);
  /* color intentionally inherited: .dd-home sets dark, dark/blue sections and
     .dd-hero__content set #fff — so headings get the right color by context
     without specificity fights. */
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0;
  font-weight: 700;
}
.dd-home p { margin: 0; }

/* ---------- Layout helpers ---------- */
.dd-container {
  width: 100%;
  max-width: var(--dd-container);
  margin-inline: auto;
  padding-inline: var(--dd-pad-x);
}
html { scroll-behavior: smooth; }
.dd-home section[id], .dd-getstarted[id] { scroll-margin-top: 84px; }
.dd-section { padding-block: 96px; }
.dd-section--soft { background: var(--dd-bg-soft); }
.dd-section--white { background: var(--dd-white); }
.dd-section--dark { background: var(--dd-ink); background-image: var(--dd-grad); color: #fff; }
.dd-section--blue { background: var(--dd-blue); color: #fff; }

.dd-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dd-blue-bright);
  margin-bottom: 16px;
}
.dd-section--dark .dd-eyebrow,
.dd-section--blue .dd-eyebrow { color: #7da2ff; }

.dd-h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.dd-lead { font-size: 1.05rem; color: var(--dd-muted); max-width: 60ch; }
.dd-section--dark .dd-lead, .dd-section--blue .dd-lead { color: var(--dd-muted-dark); }

.dd-head-center { text-align: center; }
.dd-head-center .dd-lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.dd-btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 13px 22px;
  border-radius: var(--dd-radius-sm);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1;
  cursor: pointer;
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
}
.dd-btn:hover { transform: translateY(-1px); }
.dd-btn--primary { background: var(--dd-blue); color: #fff; }
.dd-btn--primary:hover { background: #18306e; box-shadow: var(--dd-shadow); color: #fff; }
.dd-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.dd-btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.dd-btn--light { background: #fff; color: var(--dd-blue); }
.dd-btn--light:hover { background: #eef2ff; color: var(--dd-blue); }
.dd-btn--outline { background: transparent; color: var(--dd-blue); border-color: var(--dd-border); }
.dd-btn--outline:hover { border-color: var(--dd-blue); }
.dd-btn--block { width: 100%; justify-content: center; }
.dd-btn .fa-arrow-up-right-from-square,
.dd-btn .dd-arrow { font-size: .8em; }

/* =====================================================================
   STATUS BAR + NAVBAR (global chrome)
   ===================================================================== */
.dd-statusbar {
  background: #fff;
  border-bottom: 1px solid var(--dd-border);
  font-size: .8rem;
  color: var(--dd-muted);
}
.dd-statusbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
}
.dd-statusbar__left { letter-spacing: .04em; }
.dd-statusbar__right { display: flex; align-items: center; gap: 22px; }
.dd-statusbar a { color: var(--dd-muted); text-decoration: none; }
.dd-statusbar a:hover { color: var(--dd-blue); }
.dd-statusbar__sep { color: var(--dd-border); }

/* ---------- Language dropdown (statusbar) ---------- */
.dd-lang { position: relative; }
.dd-lang__btn {
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: .8rem;
  color: var(--dd-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 4px;
  line-height: 1;
}
.dd-lang__btn:hover { color: var(--dd-blue); }
.dd-lang__caret { transition: transform .2s ease; font-size: .85em; }
.dd-lang.is-open .dd-lang__caret { transform: rotate(180deg); }
.dd-lang__menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  min-width: 150px;
  background: #fff;
  border: 1px solid var(--dd-border);
  border-radius: 12px;
  box-shadow: var(--dd-shadow-lg);
  list-style: none;
  padding: 6px;
  margin-bottom: 0;
  display: none;
  z-index: 1200;
}
.dd-lang.is-open .dd-lang__menu { display: block; }
.dd-lang__menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--dd-text);
  text-decoration: none;
  font-size: .88rem;
}
.dd-lang__menu a:hover { background: var(--dd-bg-soft); color: var(--dd-text); }
.dd-lang__menu a.is-active { color: var(--dd-blue); font-weight: 600; }

.dd-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--dd-border);
  transition: box-shadow .2s ease;
}
.dd-navbar.is-stuck { box-shadow: 0 6px 24px rgba(8, 15, 40, .07); }
.dd-navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.dd-logo { display: inline-flex; align-items: center; }
.dd-logo img { height: 34px; width: auto; }
.dd-nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.dd-nav__links a {
  color: var(--dd-text);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  transition: color .15s ease;
}
.dd-nav__links a:hover { color: var(--dd-blue); }
.dd-nav__actions { display: flex; align-items: center; gap: 14px; }
.dd-nav__login {
  color: var(--dd-text);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
}
.dd-nav__login:hover { color: var(--dd-blue); }
.dd-hamburger {
  display: none;
  background: none;
  border: 0;
  font-size: 1.4rem;
  color: var(--dd-text);
  cursor: pointer;
  padding: 6px;
  line-height: 1;
}

/* ---------- Mobile menu overlay ---------- */
.dd-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: var(--dd-ink);
  background-image: var(--dd-grad);
  color: #fff;
  padding: 22px var(--dd-pad-x) 40px;
  transform: translateX(100%);
  transition: transform .28s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  visibility: hidden;
}
.dd-menu.is-open { transform: translateX(0); visibility: visible; }
.dd-menu__top { display: flex; align-items: center; justify-content: space-between; }
.dd-menu__top .dd-logo img { height: 30px; filter: brightness(0) invert(1); }
.dd-menu__close {
  background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; line-height: 1; padding: 6px;
}
.dd-menu__links { display: flex; flex-direction: column; gap: 4px; margin-top: 30px; }
.dd-menu__links a {
  color: #fff;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid var(--dd-border-dark);
}
.dd-menu__cta { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.dd-menu__cta .dd-btn { width: 100%; }
.dd-menu__login { color: #fff; text-decoration: none; font-weight: 600; }
.dd-menu__lang {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--dd-border-dark);
  display: flex;
  gap: 10px;
  justify-content: center;
}
.dd-menu__lang a {
  color: var(--dd-muted-dark);
  text-decoration: none;
  font-size: .92rem;
  padding: 8px 16px;
  border-radius: 8px;
}
.dd-menu__lang a.is-active { color: #fff; font-weight: 600; background: rgba(255, 255, 255, .12); }
body.dd-noscroll { overflow: hidden; }

/* =====================================================================
   HERO
   ===================================================================== */
.dd-hero {
  position: relative;
  min-height: clamp(560px, 78vh, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #04060f;
}
.dd-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.dd-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4, 6, 15, .25) 0%, rgba(4, 6, 15, .15) 45%, rgba(4, 6, 15, .85) 100%),
    linear-gradient(90deg, rgba(4, 6, 15, .55) 0%, rgba(4, 6, 15, 0) 60%);
}
.dd-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: 56px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  color: #fff;
}
.dd-hero__left { max-width: 640px; }
.dd-hero__eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: #9fb6ff; margin-bottom: 18px; display: block;
}
.dd-hero__title { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
.dd-hero__right { max-width: 360px; flex-shrink: 0; }
.dd-hero__subcopy { color: #d7e0f5; font-size: 1.05rem; margin-bottom: 22px; }
.dd-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* =====================================================================
   SOLUTIONS
   ===================================================================== */
.dd-solutions__head { margin-bottom: 40px; }
/* grid-auto-rows:1fr makes every card equal to the tallest (desktop two-column
   layout only — reset to auto on the stacked layout in the responsive section). */
.dd-sol-grid { display: grid; gap: 28px; grid-auto-rows: 1fr; }
/* Narrower Solutions section so the product cards feel tighter (less sprawl). */
.dd-solutions .dd-container { max-width: 1000px; }
.dd-sol-card {
  background: #fff;
  border: 1px solid var(--dd-border);
  border-radius: var(--dd-radius);
  padding: 34px;
  box-shadow: var(--dd-shadow);
  display: grid;
  gap: 26px;
  align-content: center; /* center content if the card is stretched to match a taller sibling */
}
.dd-sol-card--wide { grid-template-columns: 1.7fr 1fr; align-items: center; }
/* Let the info column shrink below its content's intrinsic width so the reports
   ticker (an overflow:hidden marquee with a very wide track) clips instead of
   blowing out the grid. Without min-width:0 a grid item defaults to min-content. */
.dd-sol-card__info { min-width: 0; }
.dd-sol-card__logo { height: 30px; width: auto; margin-bottom: 6px; }
.dd-sol-card__title { font-size: 1.5rem; margin-bottom: 12px; }
.dd-sol-card__text { color: var(--dd-muted); margin-bottom: 18px; }
.dd-sol-card__builtfor {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--dd-muted); margin-bottom: 10px;
}
.dd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.dd-chip {
  font-size: .8rem; font-weight: 500; color: var(--dd-text);
  background: var(--dd-bg-soft); border: 1px solid var(--dd-border);
  padding: 6px 12px; border-radius: var(--dd-radius-pill);
}

/* Rotating "reports available" ticker (replaces the static chips on a solution card).
   Pure-CSS marquee — CSP-safe, no JS. The track holds two identical copies of the chip
   list and shifts by -50% for a seamless loop; each chip carries its own right margin
   (not flex `gap`) so the repeated pattern is perfectly periodic. Fades at both edges
   via a mask, pauses on hover, and falls back to a static wrapped list when the user
   prefers reduced motion. */
.dd-sol-card__reports {
  overflow: hidden;
  margin-bottom: 22px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
.dd-sol-card__reports-track {
  display: flex;
  width: max-content;
  animation: dd-reports-ticker 30s linear infinite;
}
.dd-sol-card__reports:hover .dd-sol-card__reports-track { animation-play-state: paused; }
.dd-sol-card__reports-track .dd-chip { flex: none; white-space: nowrap; margin-right: 8px; }
@keyframes dd-reports-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .dd-sol-card__reports { -webkit-mask-image: none; mask-image: none; }
  .dd-sol-card__reports-track { animation: none; flex-wrap: wrap; width: auto; }
  .dd-sol-card__reports-track .dd-chip[aria-hidden="true"] { display: none; }
}

/* Product screenshot (real app UI) used in a solution card visual.
   Kept deliberately small + slightly soft — it's a vague impression of the
   product, not a spec sheet competitors can reverse-engineer the UX from. */
.dd-sol-card__shot {
  display: block;
  width: 100%;
  max-width: 330px;
  height: auto;
  margin-inline: auto;
  border-radius: 8px;
}

/* Product UI mockups (rebuilt in HTML/CSS) */
.dd-mockup {
  background: #fff;
  border: 1px solid var(--dd-border);
  border-radius: 14px;
  box-shadow: var(--dd-shadow-lg);
  overflow: hidden;
  font-size: .82rem;
}
.dd-mockup__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-bottom: 1px solid var(--dd-border); background: #fafbff;
}
.dd-mockup__search {
  flex: 1; display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--dd-border); border-radius: 8px;
  padding: 8px 12px; color: var(--dd-muted);
}
.dd-mockup__badge {
  margin-left: auto; background: var(--dd-bg-soft); color: var(--dd-blue);
  border-radius: var(--dd-radius-pill); padding: 3px 9px; font-weight: 600; font-size: .72rem;
}
.dd-mockup__body { padding: 18px; }
.dd-mockup__tabs { display: flex; gap: 18px; color: var(--dd-muted); border-bottom: 1px solid var(--dd-border); padding-bottom: 10px; margin-bottom: 14px; font-size: .78rem; }
.dd-mockup__tabs span:first-child { color: var(--dd-blue); font-weight: 600; }
.dd-mockup__entity { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.dd-mockup__avatar {
  width: 38px; height: 38px; border-radius: 9px; background: var(--dd-blue); color: #fff;
  display: grid; place-items: center; font-weight: 700;
}
.dd-mockup__pill {
  display: inline-block; font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: var(--dd-radius-pill);
  background: #e6f7ee; color: #15803d;
}
.dd-mockup__stats { display: flex; gap: 20px; border-top: 1px solid var(--dd-border); padding-top: 14px; }
.dd-mockup__stat strong { display: block; font-size: 1.25rem; color: var(--dd-text); line-height: 1.1; }
.dd-mockup__stat small { color: var(--dd-muted); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.dd-mockup__row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--dd-border); }
.dd-mockup__row:last-child { border-bottom: 0; }
.dd-mockup__row b { color: var(--dd-text); }
.dd-mockup__amount { color: var(--dd-blue); font-weight: 700; }
.dd-mockup__skeleton { height: 9px; border-radius: 5px; background: var(--dd-border); margin: 9px 0; }
.dd-mockup__skeleton.is-60 { width: 60%; }
.dd-mockup__skeleton.is-40 { width: 40%; }
.dd-mockup__meta { color: var(--dd-muted); font-size: .74rem; }
.dd-mockup__caption { color: var(--dd-muted); font-size: .74rem; margin-bottom: 10px; }
.dd-mockup__muted { color: var(--dd-muted); }
.dd-mockup__bar .dd-mockup__amount { margin-left: auto; }
.dd-mockup__hint { color: var(--dd-blue); font-size: .74rem; font-weight: 600; margin-bottom: 12px; }
.dd-mockup__blue { color: var(--dd-blue); font-weight: 600; }
.dd-ico-blue { color: var(--dd-blue); }

/* =====================================================================
   FEATURES (dark)
   ===================================================================== */
.dd-features__head { display: flex; gap: 48px; justify-content: space-between; align-items: flex-end; margin-bottom: 54px; }
.dd-features__head h2 { color: #fff; max-width: 14ch; }
.dd-features__intro { max-width: 38ch; color: var(--dd-muted-dark); }
.dd-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--dd-border-dark);
  border: 1px solid var(--dd-border-dark);
}
.dd-feature {
  background: var(--dd-ink);
  background-image: linear-gradient(160deg, rgba(30, 58, 138, .14), rgba(7, 7, 7, 0));
  padding: 34px;
}
.dd-feature__icon {
  width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(59, 130, 246, .14); color: #6ea0ff; font-size: 1.1rem; margin-bottom: 26px;
}
.dd-feature h3 { color: #fff; font-size: 1.12rem; margin-bottom: 8px; }
.dd-feature p { color: var(--dd-muted-dark); font-size: .92rem; }

/* =====================================================================
   INDUSTRIES (white)
   ===================================================================== */
.dd-ind__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 44px; }
.dd-ind-card {
  border: 1px solid var(--dd-border);
  border-radius: var(--dd-radius);
  padding: 28px 16px;
  text-align: center;
  background: #fff;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.dd-ind-card:hover { transform: translateY(-3px); box-shadow: var(--dd-shadow); border-color: #cdd9f5; }
.dd-ind-card__icon { color: var(--dd-blue); font-size: 1.7rem; margin-bottom: 16px; }
.dd-ind-card__label { font-weight: 600; font-size: .92rem; color: var(--dd-text); }

/* =====================================================================
   TESTIMONIALS (blue)
   ===================================================================== */
.dd-tst__head { margin-bottom: 40px; }
.dd-tst__head h2 { color: #fff; }
.dd-tst__viewport { overflow: hidden; }
.dd-tst__track {
  display: flex;
  gap: 28px;
  transition: transform .35s ease;
  will-change: transform;
}
.dd-quote {
  flex: 0 0 calc((100% - 28px) / 2);
  box-sizing: border-box;
  background: #fff;
  border-radius: var(--dd-radius);
  padding: 34px;
  box-shadow: var(--dd-shadow-lg);
}
.dd-quote__mark { font-size: 2.6rem; line-height: 1; color: var(--dd-blue); font-weight: 800; font-family: Georgia, serif; }
.dd-quote__text { color: var(--dd-text); font-size: 1.05rem; margin: 8px 0 26px; }
.dd-quote__by { display: flex; align-items: center; gap: 12px; }
.dd-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--dd-blue); color: #fff; font-weight: 700; font-size: .95rem; flex-shrink: 0;
}
.dd-quote__name { font-weight: 700; color: var(--dd-text); }
.dd-quote__role { color: var(--dd-muted); font-size: .85rem; }
.dd-tst__nav { display: flex; gap: 12px; margin-top: 30px; }
.dd-tst__btn {
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; font-size: 1rem;
  display: grid; place-items: center; transition: background .2s ease;
}
.dd-tst__btn:hover { background: rgba(255, 255, 255, .2); }
.dd-tst__btn[disabled] { opacity: .4; cursor: default; }

/* =====================================================================
   CERTIFICATION (white)
   ===================================================================== */
.dd-certs__row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; margin-top: 44px;
}
.dd-cert {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  width: 180px; text-align: center;
}
.dd-cert__badge {
  width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--dd-bg-soft); border: 2px solid #d7e1f7; color: var(--dd-blue); font-size: 1.9rem;
}
.dd-cert__label { font-size: .85rem; font-weight: 600; color: var(--dd-text); }

/* =====================================================================
   FAQ (soft)
   ===================================================================== */
.dd-faqs__list { max-width: 820px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 14px; }
.dd-faq {
  background: #fff; border: 1px solid var(--dd-border); border-radius: 14px; overflow: hidden;
}
.dd-faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; font-size: 1rem; font-weight: 600; color: var(--dd-text);
}
.dd-faq__q .dd-faq__chevron { transition: transform .2s ease; color: var(--dd-blue); flex-shrink: 0; }
.dd-faq.is-open .dd-faq__chevron { transform: rotate(180deg); }
.dd-faq__a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.dd-faq__a-inner { padding: 0 22px 20px; color: var(--dd-muted); }

/* =====================================================================
   CONTACT ("Get started") + DEMO BAND  (dark, lives in Index)
   ===================================================================== */
.dd-getstarted { background: var(--dd-ink); background-image: var(--dd-grad); color: #fff; }
.dd-contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; padding-block: 96px; align-items: start; }
.dd-contact__title { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: 16px; }
.dd-contact__text { color: var(--dd-muted-dark); margin-bottom: 30px; }
.dd-contact__phone-label { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #7da2ff; }
.dd-contact__phone { font-size: 1.5rem; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 10px; margin: 6px 0 4px; }
.dd-contact__phone a { color: #fff; text-decoration: none; }
.dd-contact__phone-sub { color: var(--dd-muted-dark); font-size: .85rem; }
.dd-contact__note { color: var(--dd-muted-dark); font-size: .9rem; margin-top: 22px; max-width: 42ch; }

.dd-form {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--dd-border-dark);
  border-radius: var(--dd-radius);
  padding: 32px;
}
.dd-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dd-field { display: flex; flex-direction: column; gap: 7px; }
.dd-field--full { grid-column: 1 / -1; }
.dd-field label { font-size: .82rem; font-weight: 500; color: #cdd7f0; }
.dd-input, .dd-select, .dd-textarea {
  width: 100%;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--dd-border-dark);
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  font-family: inherit;
  font-size: .92rem;
  transition: border-color .15s ease, background .15s ease;
}
.dd-input::placeholder, .dd-textarea::placeholder { color: #8fa0c4; }
.dd-input:focus, .dd-select:focus, .dd-textarea:focus {
  outline: none; border-color: #6ea0ff; background: rgba(255, 255, 255, .1);
}
.dd-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238fa0c4' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.dd-select option { color: #0f1b34; }
.dd-textarea { min-height: 110px; resize: vertical; }
.dd-form__actions { margin-top: 20px; }
.dd-field .text-danger, .dd-field .field-validation-error { color: #ff9a9a; font-size: .78rem; }
.dd-form .validation-summary-errors { color: #ff9a9a; font-size: .85rem; margin-bottom: 12px; }
/* Honeypot: visually hidden but present for bots */
.dd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Demo band */
.dd-demoband {
  border-top: 1px solid var(--dd-border-dark);
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding-block: 46px;
}
.dd-demoband h3 { color: #fff; font-size: 1.5rem; margin-bottom: 6px; }
.dd-demoband p { color: var(--dd-muted-dark); }

/* =====================================================================
   FOOTER (global chrome, dark)
   ===================================================================== */
.dd-footer {
  background: var(--dd-ink);
  background-image: linear-gradient(135deg, #070707 0%, #102251 70%, #16306e 100%);
  color: #fff;
}
.dd-footer__cols {
  display: grid;
  /* brand + 3 link columns (Solutions / Legal / Reach us) spread across the full width */
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 36px;
  padding-block: 64px 40px;
}
.dd-footer__brand .dd-logo img { height: 30px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.dd-footer__about { color: var(--dd-muted-dark); font-size: .9rem; max-width: 30ch; margin-bottom: 18px; }
.dd-footer__social a { color: #cdd7f0; font-size: 1.1rem; text-decoration: none; }
.dd-footer__social a:hover { color: #fff; }
.dd-footer__col h5 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #8fa0c4; margin: 0 0 16px; }
.dd-footer__col a, .dd-footer__contact li {
  display: block; color: var(--dd-muted-dark); text-decoration: none; font-size: .92rem; padding: 5px 0;
}
.dd-footer__col a:hover { color: #fff; }
.dd-footer__contact { list-style: none; padding: 0; margin: 0; }
.dd-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.dd-footer__contact i { color: #6ea0ff; margin-top: 4px; }
/* Email/phone rows use <a>, which would otherwise inherit "display:block; padding:5px 0"
   from ".dd-footer__col a" and sit ~5px lower than the icon. Match them to the <span> rows
   so the icon and text line up. */
.dd-footer__contact li a { display: inline; padding: 0; }
.dd-footer__bottom {
  border-top: 1px solid var(--dd-border-dark);
  padding-block: 22px;
  font-size: .85rem;
  color: var(--dd-muted-dark);
}
.dd-footer__bottom a { color: var(--dd-muted-dark); text-decoration: none; }
.dd-footer__bottom a:hover { color: #fff; }

/* =====================================================================
   ANIMATIONS
   ===================================================================== */
.dd-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.dd-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .dd-reveal { opacity: 1; transform: none; transition: none; }
  .dd-btn:hover { transform: none; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  :root { --dd-pad-x: 28px; }
  .dd-section { padding-block: 72px; }
  /* Cards stack (image above text) below this width — let each size to its own
     content rather than forcing equal heights, which would add dead whitespace. */
  .dd-sol-grid { grid-auto-rows: auto; }
  .dd-sol-card--wide { grid-template-columns: 1fr; }
  .dd-features__grid { grid-template-columns: repeat(2, 1fr); }
  .dd-ind__grid { grid-template-columns: repeat(3, 1fr); }
  .dd-features__head { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 768px) {
  :root { --dd-pad-x: 20px; }
  .dd-section { padding-block: 56px; }

  /* Nav → hamburger */
  .dd-nav__links, .dd-nav__actions { display: none; }
  .dd-hamburger { display: inline-flex; }
  .dd-statusbar__left { display: none; }
  .dd-statusbar__inner { justify-content: flex-end; }
  .dd-navbar__inner { height: 62px; }

  /* Hero → single column, left aligned */
  .dd-hero__content { flex-direction: column; align-items: flex-start; gap: 26px; padding-block: 40px; }
  .dd-hero__right { max-width: 100%; }
  .dd-hero__actions { width: 100%; }
  .dd-hero__actions .dd-btn { flex: 1; justify-content: center; }

  /* Stack everything */
  .dd-sol-card--wide { grid-template-columns: 1fr; }
  .dd-features__grid { grid-template-columns: 1fr; }
  .dd-ind__grid { grid-template-columns: repeat(2, 1fr); }
  .dd-quote { flex-basis: 100%; }
  .dd-contact { grid-template-columns: 1fr; gap: 36px; padding-block: 56px; }
  .dd-demoband { flex-direction: column; align-items: flex-start; }
  .dd-footer__cols { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .dd-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .dd-sol-card { padding: 22px; }
  .dd-form { padding: 22px; }
  .dd-form__grid { grid-template-columns: 1fr; }
  .dd-ind__grid { grid-template-columns: 1fr 1fr; }
  .dd-footer__cols { grid-template-columns: 1fr; }
  .dd-hero__actions { flex-direction: column; }
  .dd-hero__actions .dd-btn { width: 100%; }
}
