/* ==========================================================================
   DataFort Solutions Ltd. — Design System
   A single, dependency-free stylesheet. No Bootstrap, no jQuery.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --df-blue: #1a4dde;
  --df-blue-dark: #1239ad;
  --df-blue-soft: #e8eeff;
  --df-cyan: #19c2d6;
  --df-navy: #0b1b36;
  --df-navy-deep: #060f22;
  --df-navy-soft: #142547;

  /* Neutrals */
  --df-ink: #0d1b2f;
  --df-slate: #4d5c76;
  --df-slate-light: #74839c;
  --df-line: #e3e8f1;
  --df-line-strong: #cdd5e4;
  --df-bg: #ffffff;
  --df-bg-alt: #f5f8fd;
  --df-bg-tint: #eef3fb;

  /* Status */
  --df-amber: #f0a500;
  --df-green: #17a673;

  /* Type */
  --df-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --df-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Layout */
  --df-container: 1200px;
  --df-container-narrow: 860px;
  --df-radius: 14px;
  --df-radius-sm: 8px;
  --df-radius-pill: 999px;

  /* Elevation */
  --df-shadow-sm: 0 1px 2px rgba(13, 27, 47, .06), 0 2px 8px rgba(13, 27, 47, .05);
  --df-shadow: 0 4px 10px rgba(13, 27, 47, .06), 0 18px 40px rgba(13, 27, 47, .08);
  --df-shadow-lg: 0 10px 24px rgba(13, 27, 47, .1), 0 36px 80px rgba(13, 27, 47, .14);

  --df-header-h: 72px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--df-header-h) + 24px);
}

body {
  background: var(--df-bg);
  color: var(--df-ink);
  font-family: var(--df-font);
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
  overflow-x: hidden;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, h5, h6 {
  color: var(--df-ink);
  font-weight: 700;
  letter-spacing: -.022em;
  line-height: 1.15;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); font-weight: 800; letter-spacing: -.034em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.75rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.25rem, 1.9vw, 1.55rem); }
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--df-blue);
  text-decoration: none;
  transition: color .18s ease;
}
a:hover { color: var(--df-blue-dark); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: .45em; }
li:last-child { margin-bottom: 0; }

strong { color: var(--df-ink); font-weight: 650; }

hr {
  background: var(--df-line);
  border: 0;
  height: 1px;
  margin: 2.5rem 0;
}

:focus-visible {
  outline: 3px solid var(--df-cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--df-blue); color: #fff; }

.df-skip-link {
  background: var(--df-navy);
  border-radius: 0 0 var(--df-radius-sm) 0;
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  left: 0;
  padding: .75rem 1.25rem;
  position: fixed;
  top: 0;
  transform: translateY(-120%);
  transition: transform .2s ease;
  z-index: 2000;
}
.df-skip-link:focus { color: #fff; transform: translateY(0); }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.df-container {
  margin: 0 auto;
  max-width: var(--df-container);
  padding: 0 24px;
  width: 100%;
}
.df-container--narrow { max-width: var(--df-container-narrow); }

.df-section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.df-section--tight { padding: clamp(2.5rem, 4.5vw, 4rem) 0; }
.df-section--alt { background: var(--df-bg-alt); }
.df-section--tint { background: var(--df-bg-tint); }

.df-section--dark {
  background: var(--df-navy);
  background-image:
    radial-gradient(900px 420px at 12% -10%, rgba(26, 77, 222, .45), transparent 65%),
    radial-gradient(700px 380px at 92% 0%, rgba(25, 194, 214, .22), transparent 60%);
  color: rgba(255, 255, 255, .78);
}
.df-section--dark h1,
.df-section--dark h2,
.df-section--dark h3,
.df-section--dark h4,
.df-section--dark strong { color: #fff; }
.df-section--dark a { color: #fff; }

.df-grid { display: grid; gap: 24px; }
.df-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.df-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.df-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.df-stack > * + * { margin-top: 1.1rem; }

.df-center { text-align: center; }
.df-measure { max-width: 42rem; }
.df-measure-wide { max-width: 54rem; }
.df-center .df-measure,
.df-center .df-measure-wide { margin-left: auto; margin-right: auto; }

.df-mt-0 { margin-top: 0; }
.df-mt-2 { margin-top: 1.25rem; }
.df-mt-3 { margin-top: 2rem; }
.df-mt-4 { margin-top: 3rem; }
.df-mb-0 { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   4. Typographic helpers
   -------------------------------------------------------------------------- */
.df-eyebrow {
  align-items: center;
  color: var(--df-blue);
  display: inline-flex;
  font-size: .76rem;
  font-weight: 700;
  gap: .55rem;
  letter-spacing: .14em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}
.df-eyebrow::before {
  background: currentColor;
  content: "";
  height: 2px;
  width: 20px;
}
.df-center .df-eyebrow { justify-content: center; }
.df-section--dark .df-eyebrow { color: var(--df-cyan); }

.df-lead {
  color: var(--df-slate);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.6;
}
.df-section--dark .df-lead { color: rgba(255, 255, 255, .76); }

.df-muted { color: var(--df-slate); }
.df-small { font-size: .9rem; }
.df-xsmall { font-size: .8rem; }

.df-section-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); }

/* --------------------------------------------------------------------------
   5. Buttons & links
   -------------------------------------------------------------------------- */
.df-btn {
  align-items: center;
  background: var(--df-blue);
  border: 1.5px solid var(--df-blue);
  border-radius: var(--df-radius-pill);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 650;
  gap: .55rem;
  justify-content: center;
  letter-spacing: -.005em;
  line-height: 1.2;
  padding: .85rem 1.6rem;
  text-align: center;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.df-btn:hover {
  background: var(--df-blue-dark);
  border-color: var(--df-blue-dark);
  box-shadow: 0 10px 24px rgba(26, 77, 222, .28);
  color: #fff;
  transform: translateY(-1px);
}
.df-btn svg { flex-shrink: 0; }

.df-btn--ghost {
  background: transparent;
  border-color: var(--df-line-strong);
  color: var(--df-ink);
}
.df-btn--ghost:hover {
  background: var(--df-bg-alt);
  border-color: var(--df-ink);
  box-shadow: none;
  color: var(--df-ink);
}

.df-btn--light {
  background: #fff;
  border-color: #fff;
  color: var(--df-navy);
}
.df-btn--light:hover {
  background: var(--df-blue-soft);
  border-color: var(--df-blue-soft);
  color: var(--df-navy);
}

.df-btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, .4);
  color: #fff;
}
.df-btn--outline-light:hover {
  background: rgba(255, 255, 255, .1);
  border-color: #fff;
  box-shadow: none;
  color: #fff;
}

.df-btn--sm { font-size: .85rem; padding: .6rem 1.15rem; }
.df-btn--lg { font-size: 1.02rem; padding: 1rem 2rem; }
.df-btn--block { display: flex; width: 100%; }

.df-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
}
.df-center .df-btn-row { justify-content: center; }

/* Arrow link */
.df-arrow-link {
  align-items: center;
  display: inline-flex;
  font-size: .95rem;
  font-weight: 650;
  gap: .45rem;
}
.df-arrow-link svg { transition: transform .2s ease; }
.df-arrow-link:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Header / navigation
   -------------------------------------------------------------------------- */
.df-utility {
  background: var(--df-navy-deep);
  color: rgba(255, 255, 255, .62);
  font-size: .78rem;
}
.df-utility .df-container {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  min-height: 38px;
}
.df-utility a { color: rgba(255, 255, 255, .72); }
.df-utility a:hover { color: #fff; }
.df-utility-list {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.25rem;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.df-utility-list li { margin: 0; }
.df-utility-note { align-items: center; display: inline-flex; gap: .45rem; }
.df-utility-note svg { opacity: .7; }

.df-header {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--df-line);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.df-header.is-stuck { box-shadow: var(--df-shadow-sm); }

.df-nav {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  min-height: var(--df-header-h);
}

.df-brand {
  align-items: center;
  color: var(--df-ink);
  display: inline-flex;
  flex-shrink: 0;
  gap: .7rem;
}
.df-brand:hover { color: var(--df-ink); }
.df-brand-mark {
  color: var(--df-blue);
  height: 34px;
  width: 34px;
}
.df-brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.df-brand-name {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -.03em;
}
.df-brand-sub {
  color: var(--df-slate-light);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.df-nav-menu {
  align-items: center;
  display: flex;
  gap: .25rem;
  list-style: none;
  margin: 0 auto 0 1rem;
  padding: 0;
}
.df-nav-menu > li { margin: 0; position: relative; }

.df-nav-link {
  align-items: center;
  background: none;
  border: 0;
  border-radius: var(--df-radius-sm);
  color: var(--df-ink);
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  gap: .35rem;
  padding: .55rem .8rem;
  transition: background-color .15s ease, color .15s ease;
}
.df-nav-link:hover,
.df-nav-link[aria-expanded="true"] { background: var(--df-bg-alt); color: var(--df-blue); }
.df-nav-link.is-current { color: var(--df-blue); }
.df-nav-link.is-current::after {
  background: var(--df-blue);
  border-radius: 2px;
  bottom: -.35rem;
  content: "";
  height: 2px;
  left: .8rem;
  position: absolute;
  right: .8rem;
}
.df-nav-caret { transition: transform .2s ease; }
.df-nav-link[aria-expanded="true"] .df-nav-caret { transform: rotate(180deg); }

.df-nav-actions { align-items: center; display: flex; gap: .6rem; }

/* Dropdown panel */
.df-dropdown {
  background: #fff;
  border: 1px solid var(--df-line);
  border-radius: var(--df-radius);
  box-shadow: var(--df-shadow-lg);
  display: none;
  left: 0;
  margin-top: .55rem;
  min-width: 320px;
  padding: .75rem;
  position: absolute;
  top: 100%;
  z-index: 1100;
}
.df-dropdown.is-open { display: block; animation: dfFadeDown .18s ease both; }
.df-dropdown--wide { min-width: 640px; }
.df-dropdown--right { left: auto; right: 0; }

@keyframes dfFadeDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.df-dropdown-grid { display: grid; gap: .25rem; }
.df-dropdown--wide .df-dropdown-grid { grid-template-columns: 1fr 1fr; gap: .25rem 1rem; }

.df-dropdown-title {
  color: var(--df-slate-light);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  margin: .5rem .75rem .35rem;
  text-transform: uppercase;
}

.df-dropdown-item {
  border-radius: var(--df-radius-sm);
  color: var(--df-ink);
  display: block;
  padding: .7rem .75rem;
  transition: background-color .15s ease;
}
.df-dropdown-item:hover { background: var(--df-blue-soft); color: var(--df-ink); }
.df-dropdown-item strong {
  display: block;
  font-size: .95rem;
  font-weight: 650;
  margin-bottom: .1rem;
}
.df-dropdown-item span {
  color: var(--df-slate);
  display: block;
  font-size: .82rem;
  line-height: 1.45;
}

.df-dropdown-foot {
  border-top: 1px solid var(--df-line);
  margin-top: .5rem;
  padding: .75rem .75rem .35rem;
}

/* Mobile toggle */
.df-nav-toggle {
  align-items: center;
  background: none;
  border: 1.5px solid var(--df-line-strong);
  border-radius: var(--df-radius-sm);
  color: var(--df-ink);
  cursor: pointer;
  display: none;
  height: 42px;
  justify-content: center;
  width: 42px;
}

@media (max-width: 1023px) {
  .df-nav-toggle { display: inline-flex; }
  .df-nav-actions .df-btn { display: none; }

  .df-nav-menu {
    background: #fff;
    border-top: 1px solid var(--df-line);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    left: 0;
    margin: 0;
    max-height: calc(100vh - var(--df-header-h));
    overflow-y: auto;
    padding: .75rem 24px 2rem;
    position: absolute;
    right: 0;
    top: 100%;
    box-shadow: var(--df-shadow);
  }
  .df-nav-menu.is-open { display: flex; }

  .df-nav-link {
    border-bottom: 1px solid var(--df-line);
    border-radius: 0;
    font-size: 1.05rem;
    justify-content: space-between;
    padding: .95rem .25rem;
    width: 100%;
  }
  .df-nav-link.is-current::after { display: none; }

  .df-dropdown {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    min-width: 0 !important;
    padding: .35rem 0 .85rem .25rem;
    position: static;
  }
  .df-dropdown--wide .df-dropdown-grid { grid-template-columns: 1fr; }
  .df-dropdown-item { padding: .6rem .5rem; }
  .df-mobile-cta { display: block; margin-top: 1.25rem; }
  .df-mobile-cta .df-btn { width: 100%; }
}

@media (min-width: 1024px) {
  .df-mobile-cta { display: none; }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.df-hero {
  background: var(--df-bg);
  background-image:
    radial-gradient(1100px 520px at 50% -140px, rgba(26, 77, 222, .1), transparent 70%),
    linear-gradient(180deg, #fbfcff, #ffffff 62%);
  border-bottom: 1px solid var(--df-line);
  overflow: hidden;
  padding: clamp(3.25rem, 6.5vw, 6rem) 0 clamp(2.5rem, 4vw, 3.5rem);
  position: relative;
}
.df-hero::after {
  background-image:
    linear-gradient(90deg, rgba(13, 27, 47, .04) 1px, transparent 1px),
    linear-gradient(rgba(13, 27, 47, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  inset: 0;
  mask-image: radial-gradient(70% 60% at 50% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000, transparent 75%);
  pointer-events: none;
  position: absolute;
}
.df-hero > * { position: relative; z-index: 1; }

.df-hero-title { margin-bottom: 1.1rem; }
.df-hero-title .df-accent {
  background: linear-gradient(100deg, var(--df-blue), var(--df-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.df-hero-badge {
  align-items: center;
  background: #fff;
  border: 1px solid var(--df-line-strong);
  border-radius: var(--df-radius-pill);
  box-shadow: var(--df-shadow-sm);
  color: var(--df-ink);
  display: inline-flex;
  font-size: .82rem;
  font-weight: 600;
  gap: .6rem;
  margin-bottom: 1.6rem;
  padding: .4rem 1rem .4rem .45rem;
}
.df-hero-badge em {
  background: var(--df-blue);
  border-radius: var(--df-radius-pill);
  color: #fff;
  font-size: .68rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .08em;
  padding: .22rem .6rem;
  text-transform: uppercase;
}

/* Page hero (subpages) */
.df-pagehero {
  background: var(--df-navy);
  background-image:
    radial-gradient(900px 460px at 8% -20%, rgba(26, 77, 222, .55), transparent 62%),
    radial-gradient(760px 420px at 95% 10%, rgba(25, 194, 214, .2), transparent 58%);
  color: rgba(255, 255, 255, .8);
  overflow: hidden;
  padding: clamp(2.75rem, 5.5vw, 4.75rem) 0 clamp(2.5rem, 5vw, 4.25rem);
  position: relative;
}
.df-pagehero h1 { color: #fff; }
.df-pagehero .df-lead { color: rgba(255, 255, 255, .76); }
.df-pagehero .df-eyebrow { color: var(--df-cyan); }

.df-breadcrumb {
  align-items: center;
  color: rgba(255, 255, 255, .55);
  display: flex;
  flex-wrap: wrap;
  font-size: .82rem;
  gap: .45rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.df-breadcrumb li { margin: 0; }
.df-breadcrumb a { color: rgba(255, 255, 255, .75); }
.df-breadcrumb a:hover { color: #fff; }
.df-breadcrumb li + li::before { content: "/"; margin-right: .45rem; opacity: .5; }

/* --------------------------------------------------------------------------
   8. Trust strip / logo row
   -------------------------------------------------------------------------- */
.df-trust {
  border-top: 1px solid var(--df-line);
  padding: 2rem 0;
}
.df-trust-label {
  color: var(--df-slate-light);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  margin-bottom: 1.25rem;
  text-align: center;
  text-transform: uppercase;
}
.df-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 2.25rem;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.df-trust-row li {
  color: var(--df-slate);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .02em;
  margin: 0;
}
.df-trust-row a { color: inherit; }
.df-trust-row a:hover { color: var(--df-blue); }

/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */
.df-card {
  background: #fff;
  border: 1px solid var(--df-line);
  border-radius: var(--df-radius);
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.75rem;
  position: relative;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.df-card:hover {
  border-color: var(--df-line-strong);
  box-shadow: var(--df-shadow);
  transform: translateY(-3px);
}
.df-card h3 { font-size: 1.18rem; margin-bottom: .55rem; }
.df-card p { color: var(--df-slate); font-size: .95rem; }
.df-card .df-arrow-link { margin-top: auto; padding-top: 1.1rem; }

a.df-card { color: inherit; }
a.df-card:hover { color: inherit; }

.df-card-icon {
  align-items: center;
  background: var(--df-blue-soft);
  border-radius: 12px;
  color: var(--df-blue);
  display: inline-flex;
  height: 48px;
  justify-content: center;
  margin-bottom: 1.1rem;
  width: 48px;
}

.df-card--flat { box-shadow: none; }
.df-card--flat:hover { box-shadow: var(--df-shadow-sm); transform: none; }

.df-card--dark {
  background: var(--df-navy-soft);
  border-color: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .76);
}
.df-card--dark h3, .df-card--dark strong { color: #fff; }
.df-card--dark p { color: rgba(255, 255, 255, .72); }
.df-card--dark:hover { border-color: rgba(255, 255, 255, .3); }

/* Image-topped audience card */
.df-media-card {
  background: #fff;
  border: 1px solid var(--df-line);
  border-radius: var(--df-radius);
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.df-media-card:hover {
  border-color: var(--df-line-strong);
  box-shadow: var(--df-shadow);
  color: inherit;
  transform: translateY(-3px);
}
.df-media-card figure { margin: 0; overflow: hidden; }
.df-media-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .4s ease;
  width: 100%;
}
.df-media-card:hover img { transform: scale(1.04); }
.df-media-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.df-media-card-body h3 { font-size: 1.15rem; }
.df-media-card-body p { color: var(--df-slate); font-size: .93rem; }
.df-media-card-body .df-arrow-link { margin-top: auto; padding-top: 1rem; }

.df-tag {
  background: var(--df-blue-soft);
  border-radius: var(--df-radius-pill);
  color: var(--df-blue);
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  margin-bottom: .75rem;
  padding: .25rem .7rem;
  text-transform: uppercase;
  width: fit-content;
}

/* --------------------------------------------------------------------------
   10. Stats band
   -------------------------------------------------------------------------- */
.df-stats { display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }

.df-stat {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--df-radius);
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font-family: inherit;
  gap: .4rem;
  overflow: hidden;
  padding: 1.6rem;
  position: relative;
  text-align: left;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
  width: 100%;
}
.df-stat::before {
  background: linear-gradient(90deg, var(--df-blue), var(--df-cyan));
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.df-stat:hover,
.df-stat[aria-expanded="true"] {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .3);
  transform: translateY(-3px);
}
.df-stat:hover::before,
.df-stat[aria-expanded="true"]::before { transform: scaleX(1); }

.df-stat-number {
  background: linear-gradient(100deg, #fff, var(--df-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(2.3rem, 4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
}
.df-stat-label { color: #fff; font-size: 1rem; font-weight: 650; }
.df-stat-text { color: rgba(255, 255, 255, .64); font-size: .88rem; line-height: 1.5; }
.df-stat-more {
  align-items: center;
  color: var(--df-cyan);
  display: inline-flex;
  font-size: .8rem;
  font-weight: 650;
  gap: .35rem;
  margin-top: .35rem;
}
.df-stat[aria-expanded="true"] .df-stat-more svg { transform: rotate(180deg); }
.df-stat-more svg { transition: transform .2s ease; }

.df-stat-panel {
  border-left: 3px solid var(--df-cyan);
  display: none;
  margin-top: 1.75rem;
  padding: 1.5rem 1.75rem;
  background: rgba(255, 255, 255, .05);
  border-radius: 0 var(--df-radius) var(--df-radius) 0;
}
.df-stat-panel.is-open { display: block; animation: dfFadeDown .25s ease both; }
.df-stat-panel h3 { margin-bottom: .6rem; }
.df-stat-panel p { color: rgba(255, 255, 255, .76); max-width: 62rem; }

/* --------------------------------------------------------------------------
   11. Alternating feature rows
   -------------------------------------------------------------------------- */
.df-feature-row {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.df-feature-row + .df-feature-row { margin-top: clamp(3rem, 6vw, 5.5rem); }
.df-feature-row--flip .df-feature-media { order: -1; }

.df-feature-media {
  border: 1px solid var(--df-line);
  border-radius: var(--df-radius);
  box-shadow: var(--df-shadow);
  overflow: hidden;
  position: relative;
}
.df-feature-media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.df-feature-list { list-style: none; margin: 1.25rem 0 1.5rem; padding: 0; }
.df-feature-list li {
  color: var(--df-slate);
  display: flex;
  font-size: .95rem;
  gap: .7rem;
  margin-bottom: .6rem;
}
.df-feature-list li::before {
  color: var(--df-blue);
  content: "✓";
  font-weight: 800;
  flex-shrink: 0;
}
.df-section--dark .df-feature-list li { color: rgba(255, 255, 255, .76); }
.df-section--dark .df-feature-list li::before { color: var(--df-cyan); }

/* --------------------------------------------------------------------------
   12. Compliance chip row
   -------------------------------------------------------------------------- */
.df-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.df-center .df-chips { justify-content: center; }
.df-chip {
  background: #fff;
  border: 1px solid var(--df-line);
  border-radius: var(--df-radius-pill);
  color: var(--df-ink);
  display: inline-block;
  font-size: .86rem;
  font-weight: 600;
  padding: .5rem 1.05rem;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}
a.df-chip:hover { background: var(--df-blue-soft); border-color: var(--df-blue); color: var(--df-blue); }
.df-section--dark .df-chip {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .18);
  color: #fff;
}

/* --------------------------------------------------------------------------
   13. Process / steps
   -------------------------------------------------------------------------- */
.df-steps { counter-reset: df-step; display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.df-step {
  border-top: 2px solid var(--df-line);
  padding-top: 1.25rem;
  position: relative;
}
.df-step::before {
  color: var(--df-blue);
  counter-increment: df-step;
  content: "0" counter(df-step);
  display: block;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .1em;
  margin-bottom: .5rem;
}
.df-step h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.df-step p { color: var(--df-slate); font-size: .92rem; }
.df-section--dark .df-step { border-top-color: rgba(255, 255, 255, .22); }
.df-section--dark .df-step::before { color: var(--df-cyan); }
.df-section--dark .df-step p { color: rgba(255, 255, 255, .7); }

/* --------------------------------------------------------------------------
   14. Accordion (FAQ / legal)
   -------------------------------------------------------------------------- */
.df-accordion {
  background: #fff;
  border: 1px solid var(--df-line);
  border-radius: var(--df-radius);
  overflow: hidden;
}
.df-accordion-item + .df-accordion-item { border-top: 1px solid var(--df-line); }
.df-accordion-trigger {
  align-items: center;
  background: none;
  border: 0;
  color: var(--df-ink);
  cursor: pointer;
  display: flex;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 650;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  text-align: left;
  width: 100%;
}
.df-accordion-trigger:hover { color: var(--df-blue); }
.df-accordion-trigger svg { color: var(--df-blue); flex-shrink: 0; transition: transform .2s ease; }
.df-accordion-trigger[aria-expanded="true"] svg { transform: rotate(45deg); }
.df-accordion-panel { display: none; padding: 0 1.5rem 1.4rem; }
.df-accordion-panel.is-open { display: block; }
.df-accordion-panel p,
.df-accordion-panel li { color: var(--df-slate); font-size: .96rem; }

/* --------------------------------------------------------------------------
   15. CTA band
   -------------------------------------------------------------------------- */
.df-cta {
  background: var(--df-navy-deep);
  background-image:
    radial-gradient(800px 420px at 15% 0%, rgba(26, 77, 222, .6), transparent 60%),
    radial-gradient(700px 400px at 90% 100%, rgba(25, 194, 214, .3), transparent 60%);
  color: rgba(255, 255, 255, .78);
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
}
.df-cta h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 3rem); }
.df-cta p { color: rgba(255, 255, 255, .76); }
.df-cta-inner {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.6fr 1fr;
}
.df-cta-inner .df-btn-row { justify-content: flex-end; }

/* --------------------------------------------------------------------------
   16. Forms
   -------------------------------------------------------------------------- */
.df-form-card {
  background: #fff;
  border: 1px solid var(--df-line);
  border-radius: var(--df-radius);
  box-shadow: var(--df-shadow);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.df-field { margin-bottom: 1.15rem; }
.df-field:last-of-type { margin-bottom: 1.5rem; }

.df-label {
  color: var(--df-ink);
  display: block;
  font-size: .82rem;
  font-weight: 650;
  margin-bottom: .4rem;
}
.df-label .df-req { color: #d23b3b; }

.df-input,
.df-textarea,
.df-select {
  background: #fff;
  border: 1.5px solid var(--df-line-strong);
  border-radius: var(--df-radius-sm);
  color: var(--df-ink);
  display: block;
  font-family: inherit;
  font-size: .98rem;
  padding: .75rem .9rem;
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}
.df-textarea { min-height: 9rem; resize: vertical; }
.df-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%234d5c76' viewBox='0 0 16 16'%3E%3Cpath d='M8 11 3 6h10z'/%3E%3C/svg%3E"); background-position: right .9rem center; background-repeat: no-repeat; padding-right: 2.4rem; }

.df-input:focus,
.df-textarea:focus,
.df-select:focus {
  border-color: var(--df-blue);
  box-shadow: 0 0 0 3px rgba(26, 77, 222, .14);
  outline: 0;
}
.df-input::placeholder,
.df-textarea::placeholder { color: var(--df-slate-light); }

.df-check {
  align-items: flex-start;
  color: var(--df-slate);
  display: flex;
  font-size: .86rem;
  gap: .65rem;
  line-height: 1.5;
}
.df-check input { margin-top: .22rem; accent-color: var(--df-blue); flex-shrink: 0; height: 17px; width: 17px; }

.df-form-note {
  color: var(--df-slate-light);
  font-size: .8rem;
  line-height: 1.55;
  margin-top: 1rem;
}

.df-form-status {
  border-radius: var(--df-radius-sm);
  display: none;
  font-size: .92rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  padding: .85rem 1rem;
}
.df-form-status.is-success { background: #e7f7f1; border: 1px solid #a9e2cd; color: #0d6f4e; display: block; }
.df-form-status.is-error { background: #fdeceb; border: 1px solid #f5bdb9; color: #a52622; display: block; }
.df-form-status.is-pending { background: #eef2f7; border: 1px solid #c6d2e1; color: #3b4a5c; display: block; }

/* --------------------------------------------------------------------------
   17. Contact details
   -------------------------------------------------------------------------- */
.df-contact-item { display: flex; gap: 1rem; margin-bottom: 1.75rem; }
.df-contact-item:last-child { margin-bottom: 0; }
.df-contact-icon {
  align-items: center;
  background: var(--df-blue-soft);
  border-radius: 10px;
  color: var(--df-blue);
  display: inline-flex;
  flex-shrink: 0;
  height: 42px;
  justify-content: center;
  width: 42px;
}
.df-contact-item h4 { margin-bottom: .3rem; }
.df-contact-item address,
.df-contact-item p { color: var(--df-slate); font-size: .95rem; font-style: normal; margin: 0; }

/* --------------------------------------------------------------------------
   18. Legal document styling
   -------------------------------------------------------------------------- */
.df-legal-layout {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: 260px minmax(0, 1fr);
}

.df-legal-toc {
  align-self: start;
  min-width: 0;
  position: sticky;
  top: calc(var(--df-header-h) + 24px);
}
.df-legal-toc-inner {
  background: var(--df-bg-alt);
  border: 1px solid var(--df-line);
  border-radius: var(--df-radius);
  max-height: calc(100vh - var(--df-header-h) - 60px);
  overflow-y: auto;
  padding: 1.25rem;
}
.df-legal-toc h2 {
  color: var(--df-slate-light);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  margin-bottom: .85rem;
  text-transform: uppercase;
}
.df-legal-toc ol { counter-reset: toc; list-style: none; margin: 0; padding: 0; }
.df-legal-toc li { margin-bottom: .1rem; }
.df-legal-toc a {
  border-left: 2px solid transparent;
  color: var(--df-slate);
  display: block;
  font-size: .85rem;
  line-height: 1.4;
  padding: .35rem .6rem;
}
.df-legal-toc a:hover { background: #fff; border-left-color: var(--df-line-strong); color: var(--df-ink); }
.df-legal-toc a.is-active { background: #fff; border-left-color: var(--df-blue); color: var(--df-blue); font-weight: 650; }

.df-legal-doc { max-width: 54rem; min-width: 0; }
.df-legal-doc h2 {
  border-top: 1px solid var(--df-line);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  margin-top: 3rem;
  padding-top: 2rem;
  scroll-margin-top: calc(var(--df-header-h) + 24px);
}
.df-legal-doc h2:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.df-legal-doc h3 { font-size: 1.1rem; margin-top: 1.9rem; }
.df-legal-doc p,
.df-legal-doc li { color: var(--df-slate); }
.df-legal-doc ul,
.df-legal-doc ol { padding-left: 1.25rem; }

.df-legal-meta {
  background: var(--df-bg-alt);
  border: 1px solid var(--df-line);
  border-left: 3px solid var(--df-blue);
  border-radius: var(--df-radius-sm);
  font-size: .9rem;
  margin-bottom: 2.5rem;
  padding: 1.25rem 1.5rem;
}
.df-legal-meta dl { display: grid; gap: .4rem 1.25rem; grid-template-columns: auto 1fr; margin: 0; }
.df-legal-meta dt { color: var(--df-slate-light); font-weight: 650; }
.df-legal-meta dd { color: var(--df-ink); margin: 0; }

.df-callout {
  background: var(--df-blue-soft);
  border-radius: var(--df-radius-sm);
  border-left: 3px solid var(--df-blue);
  margin: 1.75rem 0;
  padding: 1.15rem 1.4rem;
}
.df-callout p { color: var(--df-ink); font-size: .94rem; }
.df-callout--warn { background: #fff7e6; border-left-color: var(--df-amber); }

.df-table-wrap { overflow-x: auto; margin: 1.5rem 0; max-width: 100%; }
.df-table {
  border: 1px solid var(--df-line);
  border-collapse: collapse;
  border-radius: var(--df-radius-sm);
  font-size: .9rem;
  min-width: 540px;
  width: 100%;
}
.df-table th,
.df-table td {
  border-bottom: 1px solid var(--df-line);
  padding: .8rem 1rem;
  text-align: left;
  vertical-align: top;
}
.df-table thead th {
  background: var(--df-bg-alt);
  color: var(--df-ink);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.df-table tbody td { color: var(--df-slate); }
.df-table tbody tr:last-child td { border-bottom: 0; }

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
.df-footer {
  background: var(--df-navy-deep);
  color: rgba(255, 255, 255, .64);
  font-size: .9rem;
}
.df-footer a { color: rgba(255, 255, 255, .64); }
.df-footer a:hover { color: #fff; }

.df-footer-main {
  display: grid;
  gap: 2.5rem 2rem;
  grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  padding: clamp(3rem, 5vw, 4.5rem) 0 2.5rem;
}
.df-footer-brand .df-brand { color: #fff; }
.df-footer-brand .df-brand:hover { color: #fff; }
.df-footer-brand .df-brand-mark { color: var(--df-cyan); }
.df-footer-brand .df-brand-sub { color: rgba(255, 255, 255, .5); }
.df-footer-brand p { color: rgba(255, 255, 255, .6); font-size: .88rem; margin-top: 1.1rem; max-width: 24rem; }

.df-footer h3 {
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
}
.df-footer ul { list-style: none; margin: 0; padding: 0; }
.df-footer li { margin-bottom: .6rem; }

.df-footer-newsletter {
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1fr;
  padding: 2.25rem 0;
}
.df-footer-newsletter h3 { margin-bottom: .5rem; }
.df-newsletter-form { display: flex; gap: .6rem; flex-wrap: wrap; }
.df-newsletter-form .df-input {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .2);
  color: #fff;
  flex: 1 1 220px;
}
.df-newsletter-form .df-input::placeholder { color: rgba(255, 255, 255, .45); }
.df-newsletter-form .df-input:focus { border-color: var(--df-cyan); box-shadow: 0 0 0 3px rgba(25, 194, 214, .2); }

.df-footer-legal {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  justify-content: space-between;
  padding: 1.5rem 0 2rem;
}
.df-footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.df-footer-legal-links li { margin: 0; }
.df-footer-legal p { color: rgba(255, 255, 255, .5); font-size: .82rem; margin: 0; }

/* --------------------------------------------------------------------------
   20. Reveal animation
   -------------------------------------------------------------------------- */
.df-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.df-reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   21. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .df-footer-main { grid-template-columns: 1fr 1fr 1fr; }
  .df-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .df-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .df-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .df-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .df-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .df-feature-row { grid-template-columns: 1fr; }
  .df-feature-row--flip .df-feature-media { order: 0; }
  .df-cta-inner { grid-template-columns: 1fr; }
  .df-cta-inner .df-btn-row { justify-content: flex-start; }
  .df-legal-layout { grid-template-columns: minmax(0, 1fr); }
  .df-legal-toc { position: static; }
  .df-legal-toc-inner { max-height: none; }
  .df-footer-newsletter { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .df-grid--2,
  .df-grid--3,
  .df-grid--4,
  .df-stats,
  .df-steps { grid-template-columns: 1fr; }
  .df-footer-main { grid-template-columns: 1fr 1fr; }
  .df-container { padding: 0 18px; }
  .df-btn-row .df-btn { width: 100%; }
  .df-utility { font-size: .72rem; }
  .df-utility .df-container { justify-content: center; padding: .35rem 18px; }
  .df-utility-list { gap: .2rem .9rem; }
  .df-utility-note { display: none; }
  .df-hero-badge { font-size: .76rem; text-align: left; }
  .df-trust-row { gap: .5rem 1.25rem; }
  .df-trust-row li { font-size: .85rem; }
  .df-newsletter-form .df-input { flex: 1 1 100%; }
  .df-newsletter-form .df-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .df-reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   22. Print (legal documents)
   -------------------------------------------------------------------------- */
@media print {
  .df-utility, .df-header, .df-footer, .df-cta, .df-legal-toc, .df-skip-link { display: none !important; }
  .df-pagehero { background: none !important; color: #000; padding: 0 0 1rem; }
  .df-pagehero h1, .df-pagehero .df-lead { color: #000; }
  .df-legal-layout { display: block; }
  body { font-size: 11pt; }
  a { color: #000; text-decoration: underline; }
  .df-legal-doc h2 { page-break-after: avoid; }
}
