/* ==========================================================================
   Denali Digital — site styles
   Built on the Pintex (demo-2) framework: Bootstrap reboot, animate.css + WOW.
   Visual design follows the "Denali Digital Branding" Figma file (Web page).
   ========================================================================== */

:root {
  --dn-black: #080808;
  --dn-white: #ffffff;
  --dn-subtle: #bdbdbd;
  --dn-muted: #656565;       /* secondary text on white sections */
  --dn-hover: #444444;
  --dn-line: #656565;        /* 1px outlines */
  --dn-card: #131313;        /* teaser + job cards */
  --dn-card-lg: #1e1e1e;     /* project cards */

  --dn-gutter: 84px;
  --dn-content: 1272px;
  --dn-radius: 6px;
  --dn-radius-card: 24px;

  --dn-font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--dn-black);
  color: var(--dn-white);
  font-family: var(--dn-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 25px;
  font-optical-sizing: auto;            /* DM Sans optical size follows font size, as in the Figma file */
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }

.dn-container {
  width: 100%;
  max-width: calc(var(--dn-content) + var(--dn-gutter) * 2);
  margin: 0 auto;
  padding-left: var(--dn-gutter);
  padding-right: var(--dn-gutter);
}

/* ---------- type ---------- */
.dn-h1 { font-size: 60px; line-height: 70px; font-weight: 600; letter-spacing: -2.1px; }
.dn-h2 { font-size: 48px; line-height: 58px; font-weight: 600; letter-spacing: -1.68px; }
.dn-h2--lg { line-height: 63px; letter-spacing: 0; }     /* centered section headings */
#approach .dn-h2--lg { letter-spacing: .7px; }
.dn-h3 { font-size: 32px; line-height: 39px; font-weight: 500; letter-spacing: -0.64px; }
.dn-h4 { font-size: 24px; line-height: 33px; font-weight: 500; }
.dn-body-xl { font-size: 24px; line-height: 35px; }
.dn-body-lg { font-size: 20px; line-height: 30px; }
.dn-eyebrow { font-size: 14px; line-height: 21px; font-weight: 400; text-transform: uppercase; color: var(--dn-subtle); }
.dn-subtle { color: var(--dn-subtle); }

/* ---------- buttons ---------- */
.dn-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border: 0;
  border-radius: var(--dn-radius);
  background: var(--dn-white);
  color: var(--dn-black);
  font: 400 16px/25px var(--dn-font);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.dn-btn:hover { background: var(--dn-subtle); }
.dn-btn--outline { box-shadow: inset 0 0 0 1px var(--dn-hover); }
.dn-btn--dark { background: var(--dn-black); color: var(--dn-white); }
.dn-btn--dark:hover { background: var(--dn-hover); }
.dn-btn--pill { border-radius: 40px; }
.dn-btn--underline { text-decoration: underline; text-underline-offset: 3px; }
.dn-btn--arrow { gap: 4px; }
.dn-btn--arrow::after {
  content: "";
  width: 10.5px; height: 10.5px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 10L10 2M3.5 2H10v6.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 10L10 2M3.5 2H10v6.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- preloader ---------- */
#loading {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--dn-black);
  display: flex; align-items: center; justify-content: center;
}
#loading::after {
  content: ""; width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.2); border-top-color: var(--dn-white);
  animation: dn-spin .8s linear infinite;
}
@keyframes dn-spin { to { transform: rotate(360deg); } }

/* ---------- header ---------- */
.dn-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--dn-black);
}
.dn-header__bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 113px; padding: 28px var(--dn-gutter);
  max-width: calc(var(--dn-content) + var(--dn-gutter) * 2); margin: 0 auto;
}
.dn-logo { display: flex; align-items: center; gap: 13.56px; width: 120px; flex: none; }
.dn-logo img:first-child { width: 26.5px; height: 27.85px; }
.dn-logo img:last-child { width: 79.9px; height: 27.9px; }

.dn-nav { display: flex; gap: 32px; width: 304px; flex: none; }
.dn-nav a { display: block; width: 80px; color: var(--dn-white); transition: opacity .2s; }
.dn-nav a:hover, .dn-nav a[aria-current="page"] { opacity: .65; }

.dn-nav__contact { display: none !important; }   /* shown inside the mobile menu only */
.dn-menu-toggle { display: none; }

/* pages whose hero sits on white need the header to stay on black — it does. */

/* ---------- hero ---------- */
.dn-hero {
  position: relative; isolation: isolate;
  margin-top: 113px;
  padding: 130px 0;
  text-align: center;
  background: var(--dn-black);
}
.dn-hero__bg { position: absolute; inset: 0; z-index: -1; }
.dn-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .2; }
.dn-hero__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.dn-hero .dn-container { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.dn-hero__actions { display: flex; gap: 16px; justify-content: center; }
.dn-hero__note { font-size: 14px; line-height: 21px; font-weight: 500; color: var(--dn-subtle); }

/* ---------- generic section rhythm ---------- */
.dn-section { padding: 100px 0; }
.dn-light { background: var(--dn-white); color: var(--dn-black); }
.dn-light .dn-muted { color: var(--dn-muted); }

.dn-section-head { text-align: center; }
.dn-section-head .dn-body-xl { margin-top: 4px; color: var(--dn-subtle); }
.dn-light .dn-section-head .dn-body-xl { color: var(--dn-muted); }

/* ---------- two-column feature ---------- */
.dn-split { display: flex; align-items: center; gap: 60px; }
.dn-split > * { flex: 0 0 606px; max-width: 606px; }
.dn-split__copy { display: flex; flex-direction: column; gap: 24px; }
.dn-split__copy p { color: var(--dn-subtle); }
.dn-split__media {
  height: 560px; padding: 24px;
  border-radius: var(--dn-radius-card);
  overflow: hidden;
}
.dn-split__media img { width: 558px; height: 512px; max-width: none; object-fit: cover; }
.dn-split--reverse .dn-split__media { order: -1; }

/* ---------- outlined / dark editorial blocks ---------- */
.dn-block {
  display: flex; align-items: center; gap: 0;
  border: 1px solid var(--dn-line);
  border-radius: var(--dn-radius-card);
}
.dn-block__copy { display: flex; flex-direction: column; gap: 24px; }
.dn-block__copy p { color: var(--dn-subtle); }
.dn-block__copy .dn-btn { align-self: flex-start; margin-top: 0; }
.dn-block__media img { width: 480px; height: 480px; object-fit: cover; }

.dn-block--studio { height: 576px; padding: 48px; }
.dn-block--studio .dn-block__copy { width: 550px; }
.dn-block--studio .dn-block__copy p + p { margin-top: 6px; }   /* design leaves a full blank line between the two paragraphs */
.dn-block--studio .dn-block__media { margin-left: 60px; }

.dn-block--human { height: 600px; padding: 60px; }
.dn-block--human .dn-block__copy { width: 606px; }
.dn-block--human .dn-block__media { margin-left: 60px; }

/* ---------- feature rows (approach) ---------- */
.dn-features { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 60px; }
.dn-feature { display: flex; gap: 24px; align-items: flex-start; }
.dn-feature__icon { width: 56px; height: 56px; flex: none; color: var(--dn-black); }
.dn-feature h3 { margin-bottom: 16px; }
.dn-feature p { font-size: 20px; line-height: 30px; color: var(--dn-muted); }

/* ---------- principles ---------- */
.dn-principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 60px; text-align: center; }
.dn-principle__icon { width: 56px; height: 56px; margin: 0 auto 20px; }
.dn-principle h3 { margin-bottom: 16px; }
.dn-principle p { font-size: 20px; line-height: 30px; color: var(--dn-muted); }

/* ---------- panorama ---------- */
.dn-panorama { display: flex; justify-content: space-between; align-items: flex-start; margin-top: 60px; }
.dn-panorama img:first-child { width: 558px; height: 512px; object-fit: cover; }
.dn-panorama img:last-child { width: 588px; height: 539px; object-fit: cover; }
.dn-center-action { display: flex; justify-content: center; margin-top: 60px; }

/* ---------- platform metrics ---------- */
.dn-metrics { display: flex; justify-content: space-between; max-width: 1073px; margin: 0 auto; padding: 0; }
.dn-metric h3 { font-size: 48px; line-height: 58px; font-weight: 600; letter-spacing: -1.68px; margin-bottom: 20px; }
.dn-metric p { font-size: 20px; line-height: 30px; color: var(--dn-muted); }

/* ---------- product teasers ---------- */
.dn-teasers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.dn-teaser {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 32px; min-height: 313px;
  background: var(--dn-card); border-radius: 16px;
}
.dn-teaser h3 { margin: 24px 0 24px; }
.dn-teaser p { color: var(--dn-subtle); margin-bottom: 24px; }
.dn-teaser .dn-btn { margin-top: auto; }
.dn-store-row {
  display: flex; justify-content: center; gap: 80px; flex-wrap: wrap;
  margin-top: 60px; font-size: 20px; line-height: 30px; color: var(--dn-subtle);
}

/* ---------- discover CTA ---------- */
.dn-cta { display: flex; align-items: center; justify-content: space-between; padding: 60px; min-height: 401px; }
.dn-cta__copy { width: 800px; display: flex; flex-direction: column; gap: 24px; }
.dn-cta__copy p { color: var(--dn-subtle); }
.dn-cta__copy .dn-btn { align-self: flex-start; }
.dn-cta__stat { width: 292px; flex: none; }
.dn-cta__stat strong { display: block; font-size: 60px; line-height: 70px; font-weight: 600; letter-spacing: -2.1px; }
.dn-cta__stat span { display: block; margin-top: 16px; font-size: 20px; line-height: 30px; color: var(--dn-subtle); }

/* ---------- FAQ ---------- */
.dn-faq { display: grid; grid-template-columns: 1fr 1fr; column-gap: 60px; row-gap: 60px; margin-top: 60px; }
.dn-faq h3 { margin-bottom: 12px; }
.dn-faq p { font-size: 20px; line-height: 30px; color: var(--dn-subtle); }
.dn-faq p a:hover { color: var(--dn-white); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- careers strip ---------- */
.dn-strip { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.dn-strip--stack { flex-direction: column; align-items: flex-start; gap: 60px; }

/* ---------- footer ---------- */
.dn-footer { background: var(--dn-black); padding: 80px 0 90px; }
.dn-footer__grid { display: grid; grid-template-columns: 330px 330px 330px 282px; }
.dn-footer--3 .dn-footer__grid { grid-template-columns: 495px 495px 282px; }
.dn-logo--sm { width: auto; gap: 11px; margin-bottom: 14px; }
.dn-logo--sm img:first-child { width: 21.7px; height: 22.8px; }
.dn-logo--sm img:last-child { width: 65.3px; height: 22.8px; }
.dn-footer__brand p { color: var(--dn-subtle); margin-bottom: 14px; }
.dn-footer h4 { font-size: 16px; line-height: 25px; font-weight: 400; margin-bottom: 14px; }
.dn-footer li { margin-bottom: 14px; }
.dn-footer li a, .dn-footer li span { color: var(--dn-subtle); transition: color .2s; }
.dn-footer li a:hover { color: var(--dn-white); }
.dn-footer__base { display: flex; gap: 183px; margin-top: 36px; font-size: 14px; line-height: 21px; color: var(--dn-subtle); }
.dn-footer__base a:hover { color: var(--dn-white); }
.dn-footer__base a::after { content: " \2191"; }

/* ---------- inner-page hero ---------- */
.dn-page-hero { margin-top: 113px; padding: 100px 0; }
.dn-page-hero--tight { padding: 80px 0; }
.dn-page-hero .dn-eyebrow { margin-bottom: 24px; }
.dn-page-hero .dn-h1 { max-width: 1100px; margin-bottom: 24px; }
.dn-page-hero .dn-body-xl { max-width: 800px; color: var(--dn-subtle); }

/* ---------- about ---------- */
.dn-about-lead h2 { max-width: 1000px; margin-bottom: 60px; }
.dn-about-lead p { max-width: 950px; font-size: 24px; line-height: 35px; color: var(--dn-muted); }
.dn-about-lead p + p { margin-top: 35px; }
.dn-fullbleed { width: 100%; height: 807px; object-fit: cover; }
.dn-values { display: grid; grid-template-columns: repeat(3, 392px); gap: 48px; margin-top: 60px; }
.dn-values h3 { margin-bottom: 20px; }
.dn-values p { font-size: 20px; line-height: 30px; color: var(--dn-subtle); }

/* ---------- projects ---------- */
.dn-section-label { font-size: 28px; line-height: 36px; text-transform: uppercase; color: var(--dn-subtle); font-weight: 400; margin-bottom: 48px; }
.dn-projects { display: grid; grid-template-columns: repeat(2, 606px); column-gap: 60px; row-gap: 48px; align-items: start; }
.dn-project__media { padding: 24px; background: var(--dn-card-lg); border-radius: var(--dn-radius-card); }
.dn-project__media img { width: 100%; aspect-ratio: 558 / 512; object-fit: cover; border-radius: 16px; }
.dn-project__head { margin-top: 24px; }
.dn-project__head h3 { margin-bottom: 12px; }
.dn-project__head span { display: block; font-size: 14px; line-height: 21px; color: var(--dn-subtle); }
.dn-project p.dn-desc { margin-top: 24px; font-size: 20px; line-height: 30px; color: var(--dn-subtle); }
.dn-project p.dn-desc--sm { font-size: 18px; }   /* the last seven cards are set at 18px in the design */
.dn-project--loose .dn-project__links { margin-top: 54px; }   /* LooksMax card in the design has extra space above its buttons */
.dn-project__links { display: flex; gap: 16px; margin-top: 24px; }
.dn-project { scroll-margin-top: 140px; }

/* ---------- jobs ---------- */
.dn-openings-head { padding-bottom: 0; }
.dn-job-group {
  margin-top: 30px; padding: 39px 49px 17px;
  background: var(--dn-card); border: 1px solid var(--dn-line); border-radius: 16px;
}
.dn-job-group h3 { margin-bottom: 0; }
.dn-job {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
}
.dn-job h4 { font-size: 24px; line-height: 33px; font-weight: 500; margin-bottom: 8px; }
.dn-job p { font-size: 20px; line-height: 30px; color: var(--dn-subtle); }
.dn-job__arrow { width: 24px; height: 24px; margin-right: 13px; flex: none; transition: transform .2s; }
a.dn-job:hover .dn-job__arrow { transform: translate(3px, -3px); }
.dn-more-roles { display: flex; align-items: center; justify-content: space-between; margin-top: 60px; }
.dn-more-roles p { font-size: 24px; line-height: 30px; color: var(--dn-subtle); }

/* ---------- career role ---------- */
.dn-role-head { margin-top: 113px; padding: 100px 0; }
.dn-role-head__meta { display: flex; align-items: center; justify-content: space-between; margin-top: 0; }
.dn-role-head__meta p { font-size: 24px; line-height: 35px; }
.dn-role-body { max-width: 954px; padding: 30px 0 100px; }
.dn-role-block { padding-top: 60px; }
.dn-role-block h2 { font-size: 24px; line-height: 33px; font-weight: 500; margin-bottom: 30px; }
.dn-role-block p { font-size: 20px; line-height: 30px; color: var(--dn-subtle); }
.dn-role-block p + p { margin-top: 30px; }
.dn-role-apply { padding-top: 35px; }

/* ---------- contact ---------- */
.dn-contact-label { font-size: 14px; line-height: 21px; color: var(--dn-subtle); margin-bottom: 60px; }
.dn-contact-mail { display: inline-flex; align-items: center; gap: 14px; font-size: 48px; line-height: 58px; font-weight: 600; letter-spacing: -1.68px; word-break: break-all; }
.dn-contact-mail svg { width: 32px; height: 32px; flex: none; }
.dn-contact-mail:hover { opacity: .75; }
.dn-contact-address { margin-top: 60px; font-size: 20px; line-height: 30px; color: var(--dn-subtle); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
  :root { --dn-gutter: 40px; }
  .dn-split > * { flex: 1 1 0; max-width: none; min-width: 0; }
  .dn-split__media { height: auto; aspect-ratio: 606 / 560; padding: 16px; }
  .dn-split__media img { width: 100%; height: 100%; }
  .dn-block { flex-wrap: wrap; height: auto !important; }
  .dn-block__copy, .dn-block--studio .dn-block__copy, .dn-block--human .dn-block__copy { width: auto !important; flex: 1 1 320px; }
  .dn-block__media { flex: 0 1 380px; }
  .dn-block--studio .dn-block__media, .dn-block--human .dn-block__media { margin-left: 40px; }
  .dn-block__media img { width: 100%; height: auto; aspect-ratio: 1; }
  .dn-projects { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
  .dn-values { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .dn-footer__grid, .dn-footer--3 .dn-footer__grid { grid-template-columns: repeat(4, 1fr); }
  .dn-footer--3 .dn-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .dn-footer__base { gap: 60px; }
  .dn-panorama img:first-child, .dn-panorama img:last-child { width: 48%; height: auto; }
  .dn-cta__copy { width: auto; }
  .dn-store-row { gap: 40px; }
}

@media (max-width: 991px) {
  :root { --dn-gutter: 28px; }
  .dn-h1 { font-size: 48px; line-height: 56px; letter-spacing: -1.68px; }
  .dn-h2 { font-size: 38px; line-height: 46px; letter-spacing: -1.3px; }
  .dn-h2--lg { line-height: 48px; }
  .dn-body-xl { font-size: 20px; line-height: 30px; }

  /* mobile navigation */
  .dn-header__bar { position: relative; }
  .dn-nav {
    position: absolute; top: 113px; left: 0; right: 0; width: auto;
    flex-direction: column; gap: 0;
    background: var(--dn-black); padding: 0 var(--dn-gutter) 12px;
    border-top: 1px solid rgba(255,255,255,.12);
    max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .3s ease, visibility .3s;
  }
  .dn-nav a { width: auto; padding: 14px 0; font-size: 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .dn-header.is-open .dn-nav { max-height: 320px; visibility: visible; }
  .dn-menu-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; margin-left: auto; margin-right: 12px; padding: 10px;
    background: none; border: 0; cursor: pointer; order: 2;
  }
  .dn-menu-toggle span { display: block; height: 2px; background: var(--dn-white); transition: transform .25s, opacity .25s; }
  .dn-header.is-open .dn-menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .dn-header.is-open .dn-menu-toggle span:nth-child(2) { opacity: 0; }
  .dn-header.is-open .dn-menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .dn-header__bar > .dn-btn { order: 3; padding: 12px 20px; }

  .dn-hero { padding: 90px 0; }
  .dn-section { padding: 70px 0; }

  .dn-split { flex-direction: column; gap: 32px; align-items: stretch; }
  .dn-split--reverse .dn-split__media { order: 0; }
  .dn-split > * { flex: none; width: 100%; }
  .dn-split__media { aspect-ratio: auto; padding: 12px; }
  .dn-split__media img { height: auto; aspect-ratio: 558 / 512; }

  .dn-block { padding: 32px !important; }
  .dn-block__media { flex: 1 1 100%; margin: 24px 0 0 !important; }

  .dn-features { grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
  .dn-principles { grid-template-columns: 1fr 1fr; gap: 40px 24px; margin-top: 40px; }
  .dn-panorama { flex-direction: column; gap: 24px; align-items: stretch; margin-top: 40px; }
  .dn-panorama img:first-child, .dn-panorama img:last-child { width: 100%; }
  .dn-center-action { margin-top: 40px; }
  .dn-metrics { flex-direction: column; gap: 40px; align-items: center; text-align: center; }
  .dn-teasers { grid-template-columns: 1fr; margin-top: 40px; }
  .dn-store-row { flex-direction: column; align-items: center; gap: 8px; margin-top: 40px; }
  .dn-cta { flex-direction: column; align-items: flex-start; gap: 40px; padding: 36px; }
  .dn-faq { grid-template-columns: 1fr; row-gap: 36px; margin-top: 40px; }
  .dn-strip { flex-direction: column; align-items: flex-start; }

  .dn-page-hero { padding: 64px 0; }
  .dn-values { grid-template-columns: 1fr; margin-top: 40px; }
  .dn-projects { grid-template-columns: 1fr; row-gap: 56px; }
  .dn-section-label { font-size: 22px; margin-bottom: 32px; }
  .dn-job-group { padding: 28px 24px 12px; }
  .dn-more-roles { flex-direction: column; align-items: flex-start; gap: 20px; }
  .dn-role-head { padding: 64px 0 48px; }
  .dn-role-head__meta { flex-wrap: wrap; gap: 20px; }
  .dn-contact-mail { font-size: 34px; line-height: 42px; }
  .dn-contact-mail svg { width: 24px; height: 24px; }

  .dn-footer { padding: 56px 0; }
  .dn-footer__grid, .dn-footer--3 .dn-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .dn-footer__brand { grid-column: 1 / -1; }
  .dn-footer__base { flex-direction: column; gap: 12px; margin-top: 24px; }
}

@media (max-width: 575px) {
  :root { --dn-gutter: 20px; }
  .dn-h1 { font-size: 40px; line-height: 48px; }
  .dn-h2 { font-size: 32px; line-height: 40px; }
  .dn-h2--lg { line-height: 42px; }
  .dn-h3 { font-size: 26px; line-height: 32px; }
  .dn-hero__actions { flex-direction: column; width: 100%; }
  .dn-hero__actions .dn-btn { justify-content: center; }
  .dn-principles { grid-template-columns: 1fr; }
  .dn-metric h3 { font-size: 40px; line-height: 48px; }
  .dn-cta__stat strong { font-size: 48px; line-height: 56px; }
  .dn-project__links { flex-wrap: wrap; }
  .dn-contact-mail { font-size: 24px; line-height: 32px; }
  .dn-header__bar > .dn-btn { display: none; }
  .dn-nav .dn-nav__contact { display: block !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ==========================================================================
   Legal pages (privacy policies, terms of use, contact-us)
   ========================================================================== */
.dn-legal-hero { padding-bottom: 60px; }
.dn-legal-hero .dn-h1 { font-size: 48px; line-height: 58px; letter-spacing: -1.68px; }
.dn-legal-hero__meta { color: var(--dn-subtle); }

.dn-legal { padding: 0 0 100px; }
.dn-legal__body { max-width: 954px; font-size: 18px; line-height: 29px; color: var(--dn-subtle); }
.dn-legal__body > :first-child { margin-top: 0; }
.dn-legal__body h2 { margin: 60px 0 20px; font-size: 28px; line-height: 36px; font-weight: 500; letter-spacing: -.4px; color: var(--dn-white); }
.dn-legal__body h3 { margin: 36px 0 14px; font-size: 22px; line-height: 30px; font-weight: 500; color: var(--dn-white); }
.dn-legal__body h4 { margin: 28px 0 10px; font-size: 19px; line-height: 27px; font-weight: 500; color: var(--dn-white); }
.dn-legal__body p { margin: 0 0 18px; }
.dn-legal__body strong { font-weight: 500; color: var(--dn-white); }
.dn-legal__body ul, .dn-legal__body ol { margin: 0 0 22px; padding-left: 26px; }
.dn-legal__body ul { list-style: disc; }
.dn-legal__body ol { list-style: decimal; }
.dn-legal__body li { margin-bottom: 8px; padding-left: 4px; }
.dn-legal__body li::marker { color: var(--dn-line); }
.dn-legal__body li > ul, .dn-legal__body li > ol { margin: 8px 0 4px; }
.dn-legal__body a { color: var(--dn-white); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--dn-line); transition: text-decoration-color .2s; overflow-wrap: anywhere; }
.dn-legal__body a:hover { text-decoration-color: var(--dn-white); }
.dn-legal__body hr { margin: 48px 0; border: 0; border-top: 1px solid var(--dn-hover); opacity: 1; }
.dn-legal__lead { font-size: 22px; line-height: 33px; color: var(--dn-white); }
.dn-legal__strong { font-weight: 500; color: var(--dn-white); }
.dn-legal__note { margin-top: 36px; font-size: 15px; line-height: 24px; }

.dn-callout { margin: 16px 0 26px; padding: 20px 24px; background: var(--dn-card); border: 1px solid var(--dn-hover); border-radius: 16px; }
.dn-callout p { margin: 0; }
.dn-callout p + p { margin-top: 6px; }

.dn-table-wrap { margin: 22px 0 28px; overflow-x: auto; border: 1px solid var(--dn-hover); border-radius: 12px; }
.dn-legal__body table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; line-height: 25px; }
.dn-legal__body th, .dn-legal__body td { padding: 12px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--dn-hover); border-right: 1px solid var(--dn-hover); }
.dn-legal__body th:last-child, .dn-legal__body td:last-child { border-right: 0; }
.dn-legal__body tr:last-child td { border-bottom: 0; }
.dn-legal__body thead th { background: var(--dn-card); color: var(--dn-white); font-weight: 500; }
.dn-legal__body > table { margin: 22px 0 28px; }

.dn-legal__related { display: flex; flex-wrap: wrap; gap: 16px; max-width: 954px; margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--dn-hover); }

@media (max-width: 991px) {
  .dn-legal-hero .dn-h1 { font-size: 36px; line-height: 44px; letter-spacing: -1.2px; }
  .dn-legal-hero { padding-bottom: 40px; }
  .dn-legal { padding-bottom: 70px; }
  .dn-legal__body h2 { font-size: 24px; line-height: 32px; margin-top: 48px; }
  .dn-legal__related { margin-top: 48px; padding-top: 32px; }
}
@media (max-width: 575px) {
  .dn-legal__body { font-size: 17px; line-height: 27px; }
  .dn-legal__lead { font-size: 20px; line-height: 30px; }
  .dn-legal-hero .dn-h1 { font-size: 30px; line-height: 38px; }
  .dn-legal__related .dn-btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   Store buttons, text links, redirect page
   ========================================================================== */
.dn-btn--soon { background: transparent; color: var(--dn-subtle); box-shadow: inset 0 0 0 1px var(--dn-hover); cursor: default; }
.dn-btn--soon:hover { background: transparent; }

.dn-textlink { color: inherit; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .2s, color .2s; }
.dn-textlink:hover { text-decoration-color: currentColor; }
.dn-light .dn-textlink:hover { color: var(--dn-black); }
.dn-store-row .dn-textlink:hover, .dn-redirect .dn-textlink { color: var(--dn-white); }
.dn-redirect .dn-textlink { text-decoration-color: var(--dn-line); }

.dn-redirect { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 40px var(--dn-gutter); text-align: center; }
.dn-redirect__logo { width: 54px; height: auto; opacity: .95; }
