.dn-home {
  --dn-bg: #090c0e;
  --dn-surface: #121719;
  --dn-paper: #efede7;
  --dn-text: #f5f4ef;
  --dn-muted: #9ca2a0;
  --dn-line: rgba(255,255,255,.13);
  --dn-violet: #746cff;
  --dn-mint: #79e5c2;
  position: relative;
  overflow: clip;
  background: var(--dn-bg);
  color: var(--dn-text);
  font-family: "DM Sans", sans-serif;
}

.dn-home *,
.dn-home *::before,
.dn-home *::after { box-sizing: border-box; }
.dn-home section { padding: 8rem 0; }
.dn-home section > * { opacity: 1; animation: none; }
.dn-home h1, .dn-home h2, .dn-home h3 { color: inherit; }
.dn-home a { text-decoration: none; }
.dn-home em { font-family: "Playfair Display", serif; font-weight: 500; }

.dn-nav-cta {
  padding: .62rem 1rem;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 0;
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.dn-nav-cta:hover { border-color: var(--dn-mint); color: var(--dn-mint); }

.dn-display {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.8rem, 6.2vw, 6.4rem);
  font-weight: 500;
  letter-spacing: -.07em;
  line-height: .98;
}
.dn-display em { color: var(--dn-mint); letter-spacing: -.04em; }

.dn-index {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2.5rem;
  color: #858b89;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.dn-index span { color: var(--dn-mint); }

.dn-glow {
  position: fixed;
  z-index: 3;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(116,108,255,.1), transparent 68%);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.dn-hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  padding: 0 !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(116,108,255,.24), transparent 30%),
    radial-gradient(circle at 15% 90%, rgba(121,229,194,.12), transparent 28%),
    #090c0e;
}
.dn-hero::after {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -35vw;
  width: 70vw;
  height: 70vw;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 8vw rgba(255,255,255,.015), 0 0 0 16vw rgba(255,255,255,.01);
}
.dn-hero-grid {
  position: absolute;
  inset: 0;
  opacity: .24;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}
.dn-hero-inner {
  position: relative;
  z-index: 1;
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}
.dn-hero-meta {
  display: flex;
  justify-content: space-between;
  color: #7f8584;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.dn-hero-main { max-width: 1120px; margin: auto 0; }
.dn-kicker {
  margin-bottom: 1.4rem;
  color: var(--dn-mint);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.dn-hero h1 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(3.8rem, 7.7vw, 8rem);
  font-weight: 400;
  letter-spacing: -.075em;
  line-height: .91;
  text-wrap: balance;
}
.dn-hero h1 em { color: #dcd9ff; }
.dn-hero-foot {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) 1.15fr;
  gap: 5rem;
  align-items: end;
}
.dn-hero-foot > p { max-width: 630px; margin: 0; color: #b0b5b3; font-size: 1.12rem; line-height: 1.75; }
.dn-hero-actions { display: flex; justify-content: flex-end; gap: 2rem; align-items: center; }
.dn-btn {
  display: inline-flex;
  min-height: 58px;
  padding: 0 1.4rem;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  border: 1px solid transparent;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.dn-btn:hover { transform: translateY(-3px); }
.dn-btn-light { background: var(--dn-text); color: #101415; }
.dn-btn-light:hover { background: var(--dn-mint); color: #10231e; }
.dn-link { display: inline-flex; gap: .65rem; color: #b7bcba; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.dn-link:hover { color: var(--dn-mint); }
.dn-capability-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 2.5rem;
  border-top: 1px solid var(--dn-line);
  border-bottom: 1px solid var(--dn-line);
}
.dn-capability-strip span { padding: .85rem .5rem; border-right: 1px solid var(--dn-line); color: #747a79; font-size: .61rem; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.dn-capability-strip span:last-child { border: 0; }

.dn-thesis { background: var(--dn-paper); color: #15191a; }
.dn-thesis .dn-index { color: #767a78; }
.dn-thesis-grid { display: grid; grid-template-columns: 1.45fr .55fr; gap: 6rem; align-items: end; }
.dn-thesis .dn-display em { color: var(--dn-violet); }
.dn-thesis-copy { color: #545a58; font-size: 1.03rem; line-height: 1.8; }
.dn-principles { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 6rem; border-top: 1px solid #c9c8c2; }
.dn-principles article { min-height: 230px; padding: 1.7rem; border-right: 1px solid #c9c8c2; }
.dn-principles article:first-child { border-left: 1px solid #c9c8c2; }
.dn-principles article > span { color: var(--dn-violet); font-size: .65rem; }
.dn-principles h3 { margin: 4rem 0 .8rem; font-size: 1.2rem; }
.dn-principles p { margin: 0; color: #686d6b; line-height: 1.65; }

.dn-solutions { background: #0e1315; }
.dn-solutions-head, .dn-risk-head, .dn-process-head {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 5rem;
  align-items: end;
  margin-bottom: 4rem;
}
.dn-solutions-head > p, .dn-risk-head > p, .dn-process-head > p { color: var(--dn-muted); line-height: 1.8; }
.dn-solution-ladder { border-top: 1px solid var(--dn-line); }
.dn-solution-ladder article {
  display: grid;
  grid-template-columns: 70px minmax(0,1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--dn-line);
}
.dn-solution-no { color: var(--dn-mint); font-size: .65rem; }
.dn-solution-ladder article > div:nth-child(2) > span { color: #777e7c; font-size: .63rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.dn-solution-ladder h3 { margin: .4rem 0 .65rem; font: 500 clamp(1.6rem, 3vw, 2.7rem) "Manrope", sans-serif; letter-spacing: -.05em; }
.dn-solution-ladder p { max-width: 670px; margin: 0; color: #929896; line-height: 1.65; }
.dn-solution-ladder a { color: #b9bfbd; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.dn-solution-ladder article:hover a { color: var(--dn-mint); }

.dn-docniza { background: #171c1f; }
.dn-doc-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 6rem; align-items: center; }
.dn-doc-label { color: var(--dn-mint); font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.dn-doc-copy > p:not(.dn-doc-label) { color: #a2a8a6; line-height: 1.8; }
.dn-doc-copy .dn-display { margin: 1rem 0 2rem; font-size: clamp(2.8rem, 5.4vw, 5.4rem); }
.dn-doc-features { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0; }
.dn-doc-features span { padding: .5rem .7rem; border: 1px solid var(--dn-line); color: #929896; font-size: .63rem; text-transform: uppercase; }
.dn-doc-result { display: grid; grid-template-columns: 30px 1fr; gap: .8rem; padding-top: 1.5rem; border-top: 1px solid var(--dn-line); }
.dn-doc-result i { color: var(--dn-mint); font-size: 1.3rem; }
.dn-doc-result p { margin: 0; color: #aab0ae; line-height: 1.7; }
.dn-window { overflow: hidden; border: 1px solid var(--dn-line); background: #07090a; box-shadow: 0 35px 90px rgba(0,0,0,.35); transform: perspective(1000px) rotateY(-4deg); }
.dn-window-bar { display: flex; gap: 6px; align-items: center; height: 42px; padding: 0 .9rem; border-bottom: 1px solid var(--dn-line); }
.dn-window-bar span { width: 7px; height: 7px; border-radius: 50%; background: #505657; }
.dn-window-bar small { margin-left: auto; color: #646b69; font-size: .6rem; }
.dn-window-body { position: relative; min-height: 430px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle, rgba(121,229,194,.09), transparent 55%); }
.dn-window-body img { width: 88%; transition: transform .5s ease; }
.dn-window:hover img { transform: scale(1.03) translateY(-4px); }
.dn-scan { position: absolute; inset: -60% 0 auto; height: 30%; background: linear-gradient(transparent, rgba(121,229,194,.11), transparent); animation: dnScan 6s ease-in-out infinite; }
@keyframes dnScan { 60%,100% { transform: translateY(570%); } }
.dn-doc-status { width: fit-content; margin: 1rem 0 0 auto; color: #737a78; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.dn-doc-status i { display: inline-block; width: 6px; height: 6px; margin-right: .4rem; border-radius: 50%; background: var(--dn-mint); box-shadow: 0 0 12px var(--dn-mint); }

.dn-risk { background: var(--dn-paper); color: #171b1c; }
.dn-risk .dn-display em { color: var(--dn-violet); }
.dn-risk-head > p { color: #606664; }
.dn-risk-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid #c8c7c1; }
.dn-risk-grid article { min-height: 280px; padding: 1.6rem; border-right: 1px solid #c8c7c1; }
.dn-risk-grid article:first-child { border-left: 1px solid #c8c7c1; }
.dn-risk-grid i { color: var(--dn-violet); font-size: 1.6rem; }
.dn-risk-grid h3 { margin: 4rem 0 .8rem; font-size: 1.1rem; }
.dn-risk-grid p { color: #646a68; line-height: 1.65; }
.dn-risk-note { max-width: 830px; margin: 2rem 0 0 auto; color: #777c7a; font-size: .75rem; line-height: 1.6; }

.dn-process { background: #0b0f11; }
.dn-process-list { padding: 0; border-top: 1px solid var(--dn-line); list-style: none; }
.dn-process-list li { display: grid; grid-template-columns: 60px 1fr 50px; gap: 2rem; align-items: center; padding: 2rem 0; border-bottom: 1px solid var(--dn-line); }
.dn-process-list li > span { color: var(--dn-mint); font-size: .65rem; }
.dn-process-list h3 { margin: 0 0 .4rem; font: 500 clamp(1.4rem,2.5vw,2rem) "Manrope", sans-serif; letter-spacing: -.04em; }
.dn-process-list p { margin: 0; color: #858c89; }
.dn-process-list i { color: #59605e; font-size: 1.45rem; }
.dn-process-list li:hover i { color: var(--dn-mint); }

.dn-ecosystem { background: #151a1c; }
.dn-ecosystem-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 7rem; }
.dn-ecosystem-items { border-top: 1px solid var(--dn-line); }
.dn-ecosystem-items span { display: flex; padding: 1rem 0; border-bottom: 1px solid var(--dn-line); color: #a5aaa8; transition: padding .25s ease, color .25s ease; }
.dn-ecosystem-items span:hover { padding-left: .8rem; color: var(--dn-mint); }

.dn-contact { background: var(--dn-paper); color: #161a1b; }
.dn-contact .dn-index { color: #777b79; }
.dn-contact .dn-display { font-size: clamp(2.8rem,5.5vw,5.6rem); }
.dn-contact .dn-display + p { max-width: 620px; margin: 2rem 0; color: #5f6563; line-height: 1.8; }
.dn-contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 6rem; align-items: start; }
.dn-btn-outline { border-color: #242829; color: #242829; }
.dn-btn-outline:hover { background: #242829; color: #fff; }
.dn-form-card { min-width: 0; padding: 2rem; border: 1px solid #d1d0ca; background: #faf9f5; box-shadow: 0 25px 70px rgba(33,35,34,.09); }
.dn-form-head { display: flex; justify-content: space-between; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid #d9d8d2; }
.dn-form-head span { font-weight: 700; }
.dn-form-head p { margin: 0; color: #777c7a; font-size: .72rem; }
.dn-submit { width: 100%; min-height: 56px; display: flex; justify-content: center; align-items: center; gap: .8rem; margin-top: 1rem; border: 0; background: var(--dn-violet); color: #fff; font-weight: 700; }
.dn-form-card label { color: #303535; }
.dn-form-card .form-card {
  padding: 0 !important;
  border: 0;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.dn-form-card .form-card > .mb-3:first-child { margin-bottom: 1.75rem; }
.dn-form-card .form-card h4 { margin: 0 0 .45rem; font: 600 1.45rem/1.2 "Manrope", sans-serif; letter-spacing: -.025em; }
.dn-form-card .form-card h4 + p { margin: 0; color: #666c69 !important; line-height: 1.55; }
.dn-form-card .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
}
.dn-form-card .row > [class*="col-"] { min-width: 0; width: auto; padding: 0; }
.dn-form-card .mb-3 { margin-bottom: 1.15rem; }
.dn-form-card .mb-4 { margin-bottom: 1.5rem; }
.dn-form-card .form-label {
  display: block;
  margin: 0 0 .5rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .025em;
}
.dn-form-card .form-control,
.dn-form-card .form-select {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: .78rem .9rem;
  border: 1px solid #c9cbc7;
  border-radius: 0;
  outline: 0;
  color: #252929;
  background: #fff;
  font: inherit;
  font-size: .92rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.dn-form-card textarea.form-control { min-height: 118px; resize: vertical; line-height: 1.5; }
.dn-form-card .form-control:focus,
.dn-form-card .form-select:focus {
  border-color: var(--dn-violet);
  box-shadow: 0 0 0 3px rgba(116,108,255,.14);
}
.dn-form-card .form-text { margin-top: .45rem; color: #707572 !important; font-size: .75rem; line-height: 1.45; }
.dn-form-card .d-flex.flex-wrap {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem !important;
}
.dn-form-card .btn-check {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.dn-form-card .btn-check + .btn {
  position: relative;
  display: flex;
  min-height: 58px;
  align-items: center;
  padding: .75rem .85rem .75rem 2.35rem;
  border: 1px solid #c9cbc7;
  border-radius: 0;
  color: #343937;
  background: #fff;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.dn-form-card .btn-check + .btn::before {
  content: "";
  position: absolute;
  left: .85rem;
  width: .85rem;
  height: .85rem;
  border: 1px solid #929793;
  background: #fff;
}
.dn-form-card .btn-check:focus-visible + .btn { box-shadow: 0 0 0 3px rgba(116,108,255,.18); }
.dn-form-card .btn-check:checked + .btn {
  border-color: var(--dn-violet);
  color: #252068;
  background: rgba(116,108,255,.09);
}
.dn-form-card .btn-check:checked + .btn::before {
  border-color: var(--dn-violet);
  background: var(--dn-violet);
  box-shadow: inset 0 0 0 3px #fff;
}
.dn-form-card .errorlist { margin: .45rem 0 0; padding: 0; color: #a52323; font-size: .76rem; list-style: none; }
.dn-form-card .dn-captcha-row { grid-template-columns: 1fr; }
.dn-form-card .dn-captcha-field { display: flex; justify-content: center; }
.dn-form-card .recaptcha-wrap {
  width: 304px;
  max-width: 100%;
  overflow: visible;
}
.dn-form-card .recaptcha-wrap > div { transform-origin: top left; }
.dn-submit { cursor: pointer; transition: background .2s ease, transform .2s ease; }
.dn-submit:hover { background: #5f57ec; transform: translateY(-2px); }

.dn-final { padding-top: 2rem !important; background: #090c0e; }
.dn-final-card { padding: clamp(3rem,8vw,7rem); background: var(--dn-violet); text-align: center; }
.dn-final-card p { font-size: .68rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.dn-final-card h2 { max-width: 950px; margin: 1.2rem auto 2rem; font: 500 clamp(3rem,7vw,7rem)/.95 "Manrope", sans-serif; letter-spacing: -.07em; }
.dn-btn-dark { width: fit-content; margin: auto; background: #101415; color: #fff; }
.dn-btn-dark:hover { background: var(--dn-mint); color: #10231e; }

.dn-home .dn-reveal { opacity: 0; transform: translateY(30px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1); }
.dn-home .dn-reveal.is-visible { opacity: 1; transform: none; }
main:has(.dn-home) + footer { margin-top: 0 !important; }

@media (max-width: 991.98px) {
  .dn-home section { padding: 6rem 0; }
  .dn-hero-foot, .dn-thesis-grid, .dn-solutions-head, .dn-doc-grid, .dn-risk-head, .dn-process-head, .dn-ecosystem-grid, .dn-contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .dn-hero-actions { justify-content: flex-start; }
  .dn-principles { grid-template-columns: 1fr; }
  .dn-principles article, .dn-principles article:first-child { min-height: auto; border-right: 1px solid #c9c8c2; border-left: 1px solid #c9c8c2; }
  .dn-principles h3 { margin-top: 2rem; }
  .dn-risk-grid { grid-template-columns: 1fr 1fr; }
  .dn-risk-grid article:nth-child(3) { border-left: 1px solid #c8c7c1; }
  .dn-window { transform: none; }
}

@media (max-width: 767.98px) {
  .dn-home section { padding: 4.5rem 0; }
  .dn-glow { display: none; }
  .dn-hero { min-height: 790px; }
  .dn-hero-inner { min-height: 790px; }
  .dn-hero-meta span:last-child { display: none; }
  .dn-hero h1 { font-size: clamp(3.4rem,15vw,5.3rem); }
  .dn-hero-foot > p { font-size: 1rem; }
  .dn-hero-actions { flex-direction: column; align-items: stretch; }
  .dn-link { justify-content: center; }
  .dn-capability-strip { grid-template-columns: 1fr 1fr; }
  .dn-capability-strip span { border-bottom: 1px solid var(--dn-line); }
  .dn-display { font-size: clamp(2.7rem,12vw,4.4rem); }
  .dn-solution-ladder article { grid-template-columns: 42px 1fr; }
  .dn-solution-ladder article > a { grid-column: 2; }
  .dn-window-body { min-height: 300px; }
  .dn-risk-grid { grid-template-columns: 1fr; }
  .dn-risk-grid article, .dn-risk-grid article:nth-child(3) { min-height: auto; border-right: 1px solid #c8c7c1; border-left: 1px solid #c8c7c1; }
  .dn-risk-grid h3 { margin-top: 2rem; }
  .dn-process-list li { grid-template-columns: 42px 1fr; gap: 1rem; }
  .dn-process-list i { display: none; }
  .dn-form-card { padding: 1.2rem; }
  .dn-form-head { display: block; }
  .dn-form-head p { margin-top: .35rem; }
  .dn-form-card .row,
  .dn-form-card .d-flex.flex-wrap { grid-template-columns: 1fr; }
  .dn-form-card .form-card h4 { font-size: 1.25rem; }
}

@media (max-width: 359.98px) {
  .dn-form-card .dn-captcha-field { justify-content: flex-start; }
  .dn-form-card .recaptcha-wrap {
    width: 268px;
    height: 69px;
  }
  .dn-form-card .recaptcha-wrap > div { transform: scale(.88); }
}

@media (prefers-reduced-motion: reduce) {
  .dn-home *, .dn-home *::before, .dn-home *::after { animation: none !important; transition: none !important; }
  .dn-home .dn-reveal { opacity: 1; transform: none; }
}
