/* Bankbnb (www.bankbnb.net) — production stylesheet of design B "Desk" (v3, approved 27.11):
   graphite dark, quiet panels, brass accent, Geist + Geist Mono labels. All URLs are root-relative. */

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/geist-mono-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------------ tokens */
:root {
  color-scheme: dark;

  --dk-bg: #121417;
  --dk-raised: #181B1F;
  --dk-panel: #1E2227;
  --dk-border: #2A2F36;
  --dk-text: #ECE7DF;
  --dk-muted: #9EA4AD;
  --dk-brass: #B98A4B;
  --dk-brass-hi: #D2A566;
  --dk-warm: #201B14;          /* brass-tinted panel */
  --dk-warm-border: #3A2F21;
  --dk-line: rgba(255, 255, 255, .07);
  --dk-zebra: rgba(255, 255, 255, .025);
  --dk-brass-line: rgba(185, 138, 75, .55);

  --dk-sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --dk-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --dk-fs-label: .75rem;                                        /* 12 mono labels */
  --dk-fs-sm: .9375rem;                                         /* 15 UI */
  --dk-fs-base: clamp(1rem, .95rem + .25vw, 1.0625rem);         /* 16 -> 17 */
  --dk-fs-prose: clamp(1.0625rem, .98rem + .35vw, 1.1875rem);   /* 17 -> 19 */
  --dk-fs-md: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);      /* 18 -> 21 */
  --dk-fs-h3: clamp(1.1875rem, 1.1rem + .4vw, 1.4375rem);       /* 19 -> 23 */
  --dk-fs-h2: clamp(1.875rem, 1.4rem + 1.9vw, 3.125rem);        /* 30 -> 50 */
  --dk-fs-h1: clamp(2.5rem, 1.25rem + 4.2vw, 5rem);             /* 40 -> 80 */

  --dk-s1: .5rem;
  --dk-s2: 1rem;
  --dk-s3: 1.5rem;
  --dk-s4: 2rem;
  --dk-s5: 3rem;
  --dk-s6: 4rem;
  --dk-section: clamp(4rem, 2.8rem + 4.5vw, 7rem);

  --dk-maxw: 1640px;
  --dk-gutter: clamp(16px, 4vw, 48px);
  --dk-radius: 6px;
  --dk-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ------------------------------------------------------------------- base */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-synthesis: none;
}
/* smooth only for jumps the reader starts (a focused link); scripted scrolls and find-in-page stay instant */
html:focus-within { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--dk-bg);
  color: var(--dk-text);
  font-family: var(--dk-sans);
  font-size: var(--dk-fs-base);
  line-height: 1.65;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
p { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 600; }

:focus-visible {
  outline: 2px solid var(--dk-brass-hi);
  outline-offset: 3px;
  border-radius: 2px;
}

[id] { scroll-margin-top: var(--dk-s4); }

.dk-colon {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.dk-shell {
  width: 100%;
  max-width: calc(var(--dk-maxw) + 2 * var(--dk-gutter));
  margin-inline: auto;
  padding-inline: var(--dk-gutter);
}

.dk-section { padding-block: var(--dk-section); }
.dk-section + .dk-section { padding-top: 0; }
/* gap caps: hero -> first section and last section -> footer stay within ~72px mobile / ~120px desktop */
.dk-hero + .dk-section { padding-top: clamp(2.5rem, 1.5rem + 4.5vw, 7rem); }
.dk-page main > .dk-section:last-child { padding-bottom: clamp(2rem, 1.5rem + 2.5vw, 4rem); }

.dk-label {
  font-family: var(--dk-mono);
  font-size: var(--dk-fs-label);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dk-brass);
}

.dk-h2 {
  font-size: var(--dk-fs-h2);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.dk-h2::before,
.dk-sec__title::before {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  margin-bottom: var(--dk-s3);
  background: var(--dk-brass);
}

.dk-section__title { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }

/* ----------------------------------------------------------------- header */
.dk-header {
  background: var(--dk-bg);
  border-bottom: 1px solid var(--dk-border);
}

.dk-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--dk-s2);
  min-height: 64px;
}

.dk-logo {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  font-size: 1.3125rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--dk-text);
}
.dk-logo::before {
  content: "";
  flex: none;
  width: .625rem;
  height: .625rem;
  border-radius: 50%;
  background: var(--dk-brass);
}

.dk-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(.25rem, 2vw, 1.75rem);
}

.dk-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: .5rem;
  font-size: var(--dk-fs-sm);
  font-weight: 500;
  color: var(--dk-muted);
  transition: color .2s var(--dk-ease);
}
.dk-nav__link::after {
  content: "";
  position: absolute;
  left: .5rem;
  right: .5rem;
  bottom: 8px;
  height: 2px;
  background: var(--dk-brass);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s var(--dk-ease);
}
.dk-nav__link:hover,
.dk-nav__link[aria-current="page"] { color: var(--dk-text); }
.dk-nav__link:hover::after,
.dk-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.dk-nav__link:active { color: var(--dk-brass-hi); }

/* --------------------------------------------------------------- buttons */
.dk-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  min-height: 52px;
  padding: 0 1.625rem;
  border-radius: var(--dk-radius);
  background: var(--dk-text);
  color: var(--dk-bg);
  font-size: var(--dk-fs-sm);
  font-weight: 600;
  transition: background-color .2s var(--dk-ease), transform .2s var(--dk-ease);
}
.dk-button__icon { transition: transform .25s var(--dk-ease); }
.dk-button:hover { background: #F7F3ED; }
.dk-button:hover .dk-button__icon { transform: translateX(3px); }
.dk-button:active { transform: translateY(1px); }

/* secondary action on the photo: outline only */
.dk-button--ghost {
  border: 1px solid rgba(236, 231, 223, .32);
  background: rgba(18, 20, 23, .35);
  color: var(--dk-text);
  transition: background-color .2s var(--dk-ease), border-color .2s var(--dk-ease), transform .2s var(--dk-ease);
}
.dk-button--ghost .dk-button__icon { color: var(--dk-brass-hi); }
.dk-button--ghost:hover {
  border-color: var(--dk-brass-hi);
  background: rgba(18, 20, 23, .6);
}

/* ------------------------------------------------------------------- hero */
/* full-bleed photo, text on it; the copy starts on the container line */
.dk-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 600px;
  border-bottom: 1px solid var(--dk-border);
  background: var(--dk-raised);
}

.dk-hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.dk-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 20, 23, .5) 0%, rgba(18, 20, 23, .72) 42%, rgba(18, 20, 23, .9) 70%, var(--dk-bg) 100%);
}
.dk-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
}

/* top padding shows the photo above the copy; kept short on phones so the CTA stays in the first screen at 375x667 */
.dk-hero__inner { padding-block: clamp(4.5rem, 2.5rem + 10vw, 9rem) clamp(1.5rem, 1rem + 3vw, 5rem); }
.dk-hero__copy { max-width: 60rem; }

.dk-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  font-family: var(--dk-mono);
  font-size: var(--dk-fs-label);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dk-brass-hi);
}
.dk-eyebrow::before {
  content: "";
  flex: none;
  width: .5rem;
  height: .5rem;
  border-radius: 1px;
  background: var(--dk-brass);
}

.dk-hero__title {
  margin-top: var(--dk-s3);
  max-width: 11.5em;
  font-size: var(--dk-fs-h1);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.dk-hero__lead {
  margin-top: var(--dk-s3);
  max-width: 36rem;
  font-size: var(--dk-fs-md);
  line-height: 1.6;
  color: #D7D2CA;
}

.dk-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--dk-s2) var(--dk-s3);
  margin-top: var(--dk-s4);
}

.dk-hero__note {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--dk-fs-sm);
  color: #D7D2CA;
}
.dk-hero__note-icon { color: var(--dk-brass-hi); }

/* ------------------------------------------------------------------ intro */
.dk-intro__grid {
  display: grid;
  gap: var(--dk-s3);
}
.dk-intro__text {
  max-width: 52rem;
  font-size: clamp(1.25rem, 1.12rem + .6vw, 1.625rem);
  line-height: 1.55;
  letter-spacing: -.01em;
}

/* ------------------------------------------------------------------ bento */
.dk-bento {
  display: grid;
  gap: var(--dk-s2);
}

.dk-tile {
  display: grid;
  align-content: start;
  gap: .75rem;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border: 1px solid var(--dk-border);
  border-radius: var(--dk-radius);
  background: var(--dk-raised);
}

.dk-tile__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: var(--dk-s1);
  border: 1px solid var(--dk-warm-border);
  border-radius: var(--dk-radius);
  background: var(--dk-warm);
  color: var(--dk-brass-hi);
}

.dk-tile__title,
.dk-step__title,
.dk-card__title {
  font-size: var(--dk-fs-h3);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.dk-tile__text {
  max-width: 36em;
  color: var(--dk-muted);
}

/* ---------------------------------------------------------------- feature */
.dk-feature__grid {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}

.dk-feature__text {
  display: grid;
  gap: var(--dk-s2);
  margin-top: var(--dk-s3);
  max-width: 36em;
  color: var(--dk-muted);
}

.dk-checks {
  display: grid;
  gap: .875rem;
  margin-top: var(--dk-s4);
}
.dk-checks li {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
}
.dk-checks__icon {
  flex: none;
  width: 1.625rem;
  height: 1.625rem;
  margin-top: .02em;
  padding: .3125rem;
  border: 1px solid var(--dk-warm-border);
  border-radius: 50%;
  background: var(--dk-warm);
  color: var(--dk-brass-hi);
}

.dk-feature__media {
  padding: clamp(.375rem, .2rem + .6vw, .625rem);
  border: 1px solid var(--dk-border);
  border-radius: var(--dk-radius);
  background: var(--dk-raised);
}
.dk-feature__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 48% 40%;
  border-radius: 3px;
}

/* --------------------------------------------------------------- ref panel */
.dk-ref__panel {
  display: grid;
  gap: var(--dk-s3) var(--dk-s6);
  align-items: center;
  padding: clamp(1.75rem, 1rem + 4vw, 4.5rem);
  border: 1px solid var(--dk-warm-border);
  border-radius: var(--dk-radius);
  background: var(--dk-warm);
}

.dk-ref__title {
  max-width: 14em;
  font-size: var(--dk-fs-h2);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.dk-ref__body {
  display: grid;
  justify-items: start;
  gap: var(--dk-s4);
}

.dk-ref__text {
  max-width: 34em;
  font-size: var(--dk-fs-md);
  line-height: 1.6;
  color: var(--dk-text);
}

/* the one outbound link of the home page: the SEO HEAD wordmark on a dark tile */
.dk-ref__source {
  display: grid;
  justify-items: start;
  gap: .75rem;
}
.dk-ref__label {
  font-family: var(--dk-mono);
  font-size: var(--dk-fs-label);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dk-brass-hi);
}

.dk-ref__logo {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 64px;
  padding: 0 1.375rem 0 1.625rem;
  border: 1px solid var(--dk-brass-line);
  border-radius: var(--dk-radius);
  background: var(--dk-bg);
  transition: border-color .2s var(--dk-ease), background-color .2s var(--dk-ease), transform .2s var(--dk-ease);
}
.dk-ref__logo-img {
  width: 160px;
  height: auto;
}
.dk-ref__icon {
  flex: none;
  color: var(--dk-brass-hi);
  transition: transform .25s var(--dk-ease);
}
.dk-ref__logo:hover {
  border-color: var(--dk-brass-hi);
  background: var(--dk-panel);
}
.dk-ref__logo:hover .dk-ref__icon { transform: translate(2px, -2px); }
.dk-ref__logo:active { transform: translateY(1px); }

/* ------------------------------------------------------------------ steps */
.dk-steps__list {
  display: grid;
  gap: var(--dk-s4);
}

.dk-step {
  padding-top: var(--dk-s3);
  border-top: 1px solid var(--dk-border);
}

.dk-step__num {
  display: block;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--dk-brass);
}

.dk-step__title { margin: var(--dk-s2) 0 .5rem; }
.dk-step__text { max-width: 26em; color: var(--dk-muted); }

/* ------------------------------------------------------------------ cards */
.dk-cards {
  display: grid;
  gap: var(--dk-s3);
}

.dk-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--dk-border);
  border-radius: var(--dk-radius);
  background: var(--dk-raised);
  transition: border-color .25s var(--dk-ease), background-color .25s var(--dk-ease), transform .25s var(--dk-ease);
}

.dk-card__media {
  overflow: hidden;
  background: var(--dk-panel);
}
.dk-card__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .6s var(--dk-ease);
}

.dk-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: .75rem;
  padding: var(--dk-s3) var(--dk-s3) 1.75rem;
}

.dk-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1rem;
  font-family: var(--dk-mono);
  font-size: var(--dk-fs-label);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dk-muted);
}
.dk-card__tag { color: var(--dk-brass); font-weight: 500; }
.dk-card__read {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
}

.dk-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--dk-radius);
}
.dk-card__link:focus-visible { outline: none; }
.dk-card__link:focus-visible::after {
  outline: 2px solid var(--dk-brass-hi);
  outline-offset: 3px;
}

.dk-card__excerpt { color: var(--dk-muted); }

.dk-card__more {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  margin-top: auto;
  padding-top: .5rem;
  font-size: var(--dk-fs-sm);
  font-weight: 600;
  color: var(--dk-text);
}
.dk-card__arrow { color: var(--dk-brass); transition: transform .25s var(--dk-ease); }

.dk-card:hover {
  border-color: var(--dk-brass-line);
  background: var(--dk-panel);
  transform: translateY(-2px);
}
.dk-card:hover .dk-card__img { transform: scale(1.03); }
.dk-card:hover .dk-card__arrow { transform: translateX(3px); }
.dk-card:active { transform: translateY(0); }

/* -------------------------------------------------------------------- faq */
/* row-major grid (Q1|Q2, Q3|Q4 ...): closed items share one height, an open item grows on its own */
.dk-faqs {
  --dk-faq-fs: clamp(1.0625rem, 1.02rem + .2vw, 1.1875rem);
  display: grid;
  gap: .75rem var(--dk-s3);
  align-items: start;
}

.dk-faq__item {
  border: 1px solid var(--dk-border);
  border-radius: var(--dk-radius);
  background: var(--dk-raised);
  transition: border-color .2s var(--dk-ease);
}
.dk-faq__item[open] { border-color: var(--dk-brass-line); }

.dk-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--dk-s3);
  min-height: calc(var(--dk-faq-fs) * 2.8 + 2.5rem);
  padding: 1.25rem;
  cursor: pointer;
  list-style: none;
}
.dk-faq__q::-webkit-details-marker { display: none; }

.dk-faq__title {
  font-size: var(--dk-faq-fs);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.01em;
  text-wrap: balance;
  transition: color .2s var(--dk-ease);
}

.dk-faq__icon {
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  padding: .5rem;
  border: 1px solid var(--dk-border);
  border-radius: 50%;
  color: var(--dk-brass-hi);
  transition: transform .3s var(--dk-ease), background-color .2s var(--dk-ease), color .2s var(--dk-ease), border-color .2s var(--dk-ease);
}
.dk-faq__item[open] .dk-faq__icon {
  transform: rotate(45deg);
  border-color: var(--dk-brass);
  background: var(--dk-brass);
  color: var(--dk-bg);
}
.dk-faq__q:hover .dk-faq__title { color: var(--dk-brass-hi); }
.dk-faq__q:hover .dk-faq__icon { border-color: var(--dk-brass); }
.dk-faq__q:active .dk-faq__title { color: var(--dk-text); }
.dk-faq__q:focus-visible { outline-offset: -2px; border-radius: var(--dk-radius); }

.dk-faq__a {
  padding: 0 1.25rem 1.375rem;
  color: var(--dk-muted);
}

/* ----------------------------------------------------------------- footer */
.dk-footer {
  padding-block: clamp(1.5rem, 1rem + 2vw, 3rem) 0;
  border-top: 1px solid var(--dk-border);
  background: var(--dk-raised);
}

.dk-footer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: row dense;
  gap: var(--dk-s5) var(--dk-s4);
}
.dk-footer__brand,
.dk-footer__col--guides { grid-column: 1 / -1; }

.dk-footer__tagline {
  margin-top: .75rem;
  font-size: var(--dk-fs-h3);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.015em;
}

.dk-footer__blurb {
  margin-top: var(--dk-s1);
  max-width: 30em;
  color: var(--dk-muted);
}

.dk-footer__label {
  margin-bottom: .5rem;
  font-family: var(--dk-mono);
  font-size: var(--dk-fs-label);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dk-brass);
}

.dk-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: .375rem;
  font-weight: 500;
  line-height: 1.4;
  transition: color .2s var(--dk-ease);
}
.dk-footer__links a:hover { color: var(--dk-brass-hi); }
.dk-footer__links a:active { color: var(--dk-brass); }

.dk-footer__email {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.dk-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 var(--dk-s4);
  margin-top: clamp(1.5rem, 1rem + 2vw, 3.5rem);
  padding-block: .5rem;
  border-top: 1px solid var(--dk-border);
  font-size: var(--dk-fs-sm);
  color: var(--dk-muted);
}
.dk-footer__copy { padding-block: .75rem; }
.dk-footer__small {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.dk-footer__small a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: .25rem;
  color: var(--dk-muted);
  transition: color .2s var(--dk-ease);
}
.dk-footer__small a:hover { color: var(--dk-text); }
.dk-footer__dot { color: var(--dk-border); }

/* ================================================================ article */
.dk-art-head {
  padding-block: clamp(.75rem, .25rem + 2vw, 2rem) clamp(2rem, 1.25rem + 2vw, 3.5rem);
  border-bottom: 1px solid var(--dk-border);
}

.dk-art-head__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--dk-s4);
}
.dk-art-head__text { min-width: 0; }

.dk-crumbs ol {
  display: flex;
  align-items: center;
  gap: 0 .625rem;
  font-size: var(--dk-fs-sm);
  color: var(--dk-muted);
}
.dk-crumbs li {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
}
.dk-crumbs li[aria-current] {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 44px;
}
.dk-crumbs li + li::before {
  content: "/";
  margin-right: .625rem;
  color: var(--dk-border);
}
.dk-crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: .25rem;
  margin-inline: -.25rem;
  font-weight: 500;
  color: var(--dk-text);
  transition: color .2s var(--dk-ease);
}
.dk-crumbs a:hover { color: var(--dk-brass-hi); }

.dk-art-title {
  margin-top: var(--dk-s2);
  max-width: 17em;
  font-size: clamp(2.25rem, 1.3rem + 3vw, 3.875rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.dk-art-label { margin-top: var(--dk-s4); }

.dk-dek {
  margin-top: .75rem;
  max-width: 50rem;
  font-size: var(--dk-fs-md);
  line-height: 1.6;
}

/* inline links in article text and the dek */
.dk-dek a,
.dk-sec__p a,
.dk-entry__text a,
.dk-facts a {
  color: var(--dk-brass-hi);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--dk-brass-line);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  transition: color .2s var(--dk-ease), text-decoration-color .2s var(--dk-ease);
}
.dk-dek a:hover,
.dk-sec__p a:hover,
.dk-entry__text a:hover,
.dk-facts a:hover { color: var(--dk-text); text-decoration-color: var(--dk-brass-hi); }
.dk-dek a:active,
.dk-sec__p a:active,
.dk-entry__text a:active,
.dk-facts a:active { color: var(--dk-brass); }

.dk-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .75rem;
  margin-top: var(--dk-s3);
  font-size: var(--dk-fs-sm);
  color: var(--dk-muted);
}
.dk-byline__by { font-weight: 600; color: var(--dk-text); }
.dk-byline__sep { color: var(--dk-brass); }

.dk-cover {
  padding: clamp(.375rem, .2rem + .6vw, .625rem);
  border: 1px solid var(--dk-border);
  border-radius: var(--dk-radius);
  background: var(--dk-raised);
}
.dk-cover__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 3px;
}

.dk-art-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--dk-s4);
  padding-top: clamp(2rem, 1.25rem + 2vw, 3.5rem);
}
.dk-art-content { min-width: 0; }

.dk-sec,
.dk-entry {
  margin-top: clamp(2.5rem, 2rem + 2vw, 4.5rem);
  padding-top: clamp(1.5rem, 1.25rem + 1vw, 2.5rem);
  border-top: 1px solid var(--dk-border);
}
.dk-art-content > :first-child { margin-top: 0; }

.dk-sec > * + * { margin-top: var(--dk-s3); }
.dk-sec > .dk-sec__p + .dk-sec__p { margin-top: 1em; }
.dk-sec > .dk-short,
.dk-sec > .dk-crit,
.dk-sec > .dk-table,
.dk-sec > .dk-faqs,
.dk-sec > .dk-short + *,
.dk-sec > .dk-crit + *,
.dk-sec > .dk-table + * { margin-top: var(--dk-s4); }

.dk-sec__title {
  max-width: 26em;
  font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.625rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.dk-sec__title::before { margin-bottom: var(--dk-s2); }

.dk-sec__p {
  max-width: 50rem;
  font-size: var(--dk-fs-prose);
  line-height: 1.7;
}

.dk-sec__h3 {
  font-size: var(--dk-fs-h3);
  font-weight: 600;
  line-height: 1.25;
}

.dk-sec__list {
  max-width: 50rem;
  padding-left: 1.25em;
  list-style: disc;
  font-size: var(--dk-fs-prose);
}
.dk-sec__list li + li { margin-top: .5em; }
.dk-sec__list li::marker { color: var(--dk-brass); }

/* shortlist */
.dk-short {
  display: grid;
  gap: .75rem;
}
.dk-short__link {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  height: 100%;
  padding: 1.25rem;
  border: 1px solid var(--dk-border);
  border-radius: var(--dk-radius);
  background: var(--dk-raised);
  transition: border-color .25s var(--dk-ease), background-color .25s var(--dk-ease);
}
.dk-short__link:hover { border-color: var(--dk-brass-line); background: var(--dk-panel); }
.dk-short__link:active { background: var(--dk-raised); }
.dk-short__num {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--dk-border);
  border-radius: var(--dk-radius);
  font-family: var(--dk-mono);
  font-size: .875rem;
  font-weight: 500;
  color: var(--dk-brass-hi);
}
.dk-short__body { display: grid; gap: .25rem; }
.dk-short__name {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.01em;
}
.dk-short__best {
  font-size: var(--dk-fs-sm);
  line-height: 1.5;
  color: var(--dk-muted);
}
.dk-short__item--top .dk-short__link {
  align-items: center;
  gap: clamp(1rem, .75rem + 1vw, 1.75rem);
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  border-color: var(--dk-warm-border);
  background: var(--dk-warm);
}
.dk-short__item--top .dk-short__num {
  width: 3.5rem;
  height: 3.5rem;
  border-color: var(--dk-brass);
  background: var(--dk-brass);
  font-size: 1.25rem;
  color: var(--dk-bg);
}
.dk-short__item--top .dk-short__name { font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); letter-spacing: -.02em; }
.dk-short__item--top .dk-short__best { font-size: var(--dk-fs-md); color: var(--dk-text); }

/* criteria / checklist cards */
.dk-crit {
  display: grid;
  gap: .75rem;
}
.dk-crit .dk-crit__item {
  padding: 1.375rem 1.5rem 1.5rem;
  border: 1px solid var(--dk-border);
  border-radius: var(--dk-radius);
  background: var(--dk-raised);
}
.dk-crit__num {
  display: block;
  margin-bottom: .75rem;
  font-family: var(--dk-mono);
  font-size: var(--dk-fs-label);
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--dk-brass);
}
.dk-crit__label {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.dk-crit__text {
  display: block;
  margin-top: .5rem;
  line-height: 1.6;
  color: var(--dk-muted);
}

/* comparison table */
.dk-table__cue {
  display: flex;
  justify-content: flex-end;
  margin-bottom: .5rem;
  color: var(--dk-brass);
}

.dk-table__scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--dk-border) transparent;
  border: 1px solid var(--dk-border);
  border-radius: var(--dk-radius);
  background:
    linear-gradient(90deg, var(--dk-raised) 30%, rgba(24, 27, 31, 0)) left center / 48px 100% no-repeat local,
    linear-gradient(270deg, var(--dk-raised) 30%, rgba(24, 27, 31, 0)) right center / 48px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0)) left center / 16px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0)) right center / 16px 100% no-repeat scroll,
    var(--dk-raised);
}

.dk-table table {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
  font-size: .9375rem;
  line-height: 1.5;
}
.dk-table th,
.dk-table td {
  padding: 1rem 1.125rem;
  text-align: left;
  vertical-align: top;
}
.dk-table thead th {
  padding-block: .875rem;
  background: var(--dk-panel);
  border-bottom: 1px solid var(--dk-border);
  font-family: var(--dk-mono);
  font-size: var(--dk-fs-label);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dk-muted);
  white-space: nowrap;
}
.dk-table tbody tr:nth-child(even) { background: var(--dk-zebra); }
.dk-table tbody tr + tr > * { border-top: 1px solid var(--dk-line); }
.dk-table tbody tr { transition: background-color .2s var(--dk-ease); }
.dk-table tbody tr:hover { background: rgba(185, 138, 75, .08); }
.dk-table td { color: var(--dk-text); }
.dk-table .dk-t-name {
  min-width: 11rem;
  font-weight: 600;
  color: var(--dk-brass-hi);
}

/* agency entries: head -> key facts strip -> two text columns -> limitation */
.dk-entry__head {
  display: flex;
  align-items: flex-end;
  gap: clamp(1rem, .5rem + 2vw, 2rem);
  padding-bottom: var(--dk-s3);
  border-bottom: 1px solid var(--dk-border);
}

.dk-entry__num {
  flex: none;
  font-size: clamp(3.25rem, 2.3rem + 3.6vw, 5.5rem);
  font-weight: 600;
  line-height: .82;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
  color: var(--dk-brass);
}

.dk-entry__title {
  display: grid;
  gap: .5rem;
  min-width: 0;
}
.dk-entry__name {
  font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.75rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.dk-entry__best {
  font-size: var(--dk-fs-md);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -.005em;
  color: var(--dk-muted);
}

.dk-facts {
  margin-top: var(--dk-s3);
  border: 1px solid var(--dk-border);
  border-radius: var(--dk-radius);
  background: var(--dk-raised);
}
.dk-facts__title {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.25rem;
  border-bottom: 1px solid var(--dk-border);
  font-family: var(--dk-mono);
  font-size: var(--dk-fs-label);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dk-brass-hi);
}
.dk-facts__icon { flex: none; }
.dk-facts__list { display: grid; }
.dk-facts__cell {
  padding: 1rem 1.25rem;
  font-size: 1rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.dk-facts__cell + .dk-facts__cell { border-top: 1px solid var(--dk-border); }
.dk-facts__label {
  display: block;
  margin-bottom: .25rem;
  font-family: var(--dk-mono);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dk-muted);
}

.dk-entry__text {
  display: grid;
  gap: 1em clamp(2rem, 4vw, 4.5rem);
  margin-top: var(--dk-s4);
  font-size: var(--dk-fs-prose);
  line-height: 1.7;
}

.dk-limit {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-top: var(--dk-s4);
  padding: 1.125rem 1.25rem;
  border: 1px solid var(--dk-warm-border);
  border-radius: var(--dk-radius);
  background: var(--dk-warm);
  font-size: 1rem;
  line-height: 1.6;
}
.dk-limit__icon { flex: none; margin-top: .15em; color: var(--dk-brass-hi); }
.dk-limit__label {
  margin-right: .5rem;
  font-family: var(--dk-mono);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dk-brass-hi);
}

/* verdict panel */
.dk-sec--verdict {
  padding: clamp(1.5rem, 1rem + 2.5vw, 3.5rem);
  border: 1px solid var(--dk-warm-border);
  border-radius: var(--dk-radius);
  background: var(--dk-warm);
}

/* contents */
.dk-toc {
  padding-inline: var(--dk-s2);
  border: 1px solid var(--dk-border);
  border-radius: var(--dk-radius);
  background: var(--dk-raised);
}

.dk-toc__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--dk-s2);
  min-height: 52px;
  cursor: pointer;
  list-style: none;
  font-family: var(--dk-mono);
  font-size: var(--dk-fs-label);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dk-text);
}
.dk-toc__summary::-webkit-details-marker { display: none; }
.dk-toc__icon { color: var(--dk-brass-hi); transition: transform .3s var(--dk-ease); }
.dk-toc[open] .dk-toc__icon { transform: rotate(180deg); }

.dk-toc__list {
  padding: .375rem 0 .75rem;
  border-top: 1px solid var(--dk-border);
}
.dk-toc__list a {
  display: flex;
  align-items: baseline;
  gap: .625rem;
  min-height: 44px;
  padding: .625rem 0;
  font-size: .875rem;
  line-height: 1.4;
  color: var(--dk-muted);
  transition: color .2s var(--dk-ease), border-color .2s var(--dk-ease);
}
.dk-toc__list a:hover { color: var(--dk-text); }
.dk-toc__list a:active { color: var(--dk-brass-hi); }
.dk-toc__list a[aria-current="true"] { color: var(--dk-text); font-weight: 600; }
.dk-toc__num {
  flex: none;
  min-width: 1.25rem;
  font-family: var(--dk-mono);
  font-size: var(--dk-fs-label);
  font-weight: 500;
  color: var(--dk-brass);
}

/* further reading under an article */
.dk-related {
  margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  padding-top: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  border-top: 1px solid var(--dk-border);
}

/* text pages (about, privacy, terms) are short prose sections: a step smaller headings and a tighter rhythm */
.dk-page--text .dk-sec + .dk-sec { margin-top: clamp(2rem, 1.5rem + 1.5vw, 3.5rem); }
.dk-page--text .dk-sec__title { font-size: clamp(1.625rem, 1.3rem + 1.1vw, 2.25rem); }

/* pages that end with the article itself (privacy, terms): room before the footer */
.dk-page main > .dk-article:last-child { padding-bottom: clamp(3rem, 2rem + 3vw, 5rem); }

/* 404: the photo block meets the footer's own top rule */
.dk-page--404 .dk-hero { border-bottom: 0; }

/* ============================================================ breakpoints */
@media (min-width: 640px) {
  .dk-short { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dk-short__item--top { grid-column: 1 / -1; }
}

@media (min-width: 700px) {
  .dk-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
  .dk-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .dk-crit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dk-crit--5 > :first-child { grid-column: 1 / -1; }

  .dk-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .dk-header__bar { min-height: 76px; }
  .dk-logo { font-size: 1.4375rem; }
  .dk-facts__cell {
    display: grid;
    grid-template-columns: 12rem minmax(0, 1fr);
    gap: 1.5rem;
  }
  .dk-facts__label { margin: .2rem 0 0; }
}

@media (min-width: 900px) {
  /* two cards side by side, each a photo column + text column: the row height is shared, so no gaps */
  .dk-card {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  }
  .dk-card__img { height: 100%; }
}

@media (min-width: 960px) {
  .dk-feature__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .dk-feature__media { order: -1; }
  .dk-feature__img { aspect-ratio: 3 / 2; }

  .dk-ref__panel { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }

  .dk-faqs { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .dk-footer__grid {
    grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr) minmax(0, 1.9fr) minmax(0, .9fr) minmax(0, 1.2fr);
    gap: var(--dk-s4) clamp(2rem, 3vw, 4rem);
  }
  .dk-footer__brand,
  .dk-footer__col--guides { grid-column: auto; }
  .dk-footer__links a { min-height: 0; }
  .dk-footer__brand .dk-logo { min-height: 0; margin-top: -.25rem; }
  .dk-footer__email { min-height: 0; padding-block: .375rem; }
}

@media (min-width: 1024px) {
  .dk-hero {
    align-items: center;
    min-height: clamp(640px, 82vh, 760px);
  }
  .dk-hero__media::after {
    background:
      linear-gradient(90deg, rgba(18, 20, 23, .94) 0%, rgba(18, 20, 23, .84) 30%, rgba(18, 20, 23, .5) 56%, rgba(18, 20, 23, .12) 82%, rgba(18, 20, 23, .04) 100%),
      linear-gradient(0deg, rgba(18, 20, 23, .7) 0%, rgba(18, 20, 23, 0) 30%);
  }
  .dk-hero__img { object-position: 60% 32%; }
  .dk-hero__inner { padding-block: var(--dk-s6); }

  /* wide cover under the header text: 3:1 keeps all five folders and the pen in frame */
  .dk-art-head__grid { row-gap: clamp(2rem, 1.5rem + 1.5vw, 3rem); }
  .dk-cover__img {
    aspect-ratio: 3 / 1;
    object-position: 50% 49%;
  }
  /* about cover: keep both heads, the monitor and the lamp inside the 3:1 band */
  .dk-cover__img--analysts { object-position: 50% 30%; }
}

@media (min-width: 1100px) {
  .dk-bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .dk-tile { grid-column: span 5; }
  .dk-tile--wide { grid-column: span 7; }

  .dk-steps__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .dk-art-body {
    grid-template-columns: 16.25rem minmax(0, 1fr);
    column-gap: clamp(2.5rem, 4vw, 5rem);
  }
  .dk-art-aside {
    position: sticky;
    top: var(--dk-s3);
    align-self: start;
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--dk-border) transparent;
  }
  .dk-toc {
    padding-inline: 0;
    border: 0;
    border-radius: 0;
    background: none;
  }
  .dk-toc__summary { min-height: 44px; }
  .dk-toc__list { padding-top: .5rem; }
  .dk-toc__list a {
    min-height: 0;
    padding: .5rem 0 .5rem .875rem;
    border-left: 2px solid var(--dk-border);
  }
  .dk-toc__list a[aria-current="true"] { border-left-color: var(--dk-brass); }
}

@media (min-width: 1280px) {
  /* title on the left, quick answer on the right, byline as a full-width row */
  .dk-art-head__text {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    column-gap: clamp(2.5rem, 4vw, 5rem);
    align-items: start;
  }
  .dk-crumbs { grid-column: 1 / -1; }
  .dk-art-title {
    grid-column: 1;
    grid-row: 2 / span 2;
    max-width: none;
  }
  .dk-art-label {
    grid-column: 2;
    grid-row: 2;
    margin-top: calc(var(--dk-s2) + .625rem);
  }
  .dk-dek {
    grid-column: 2;
    grid-row: 3;
  }
  .dk-byline {
    grid-column: 1 / -1;
    grid-row: 4;
    margin-top: var(--dk-s4);
    padding-top: var(--dk-s2);
    border-top: 1px solid var(--dk-border);
  }

  /* text pages (about, privacy, terms): title on the left, the opening paragraph on the right */
  .dk-art-head--page .dk-art-title { grid-row: 2; }
  .dk-art-head--page .dk-dek {
    grid-column: 2;
    grid-row: 2;
    margin-top: calc(var(--dk-s2) + .25rem);
  }

  .dk-short { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  /* key facts: one horizontal row of five cells, widths weighted by how much each cell says */
  .dk-facts__list--5 { grid-template-columns: minmax(10.5rem, .8fr) minmax(0, 1.35fr) minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.55fr); }
  .dk-facts__cell { display: block; }
  .dk-facts__label { margin: 0 0 .375rem; }
  .dk-facts__list--5 > .dk-facts__cell + .dk-facts__cell {
    border-top: 0;
    border-left: 1px solid var(--dk-border);
  }

  .dk-entry__text { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .dk-intro__text,
  .dk-sec--verdict .dk-sec__p {
    max-width: none;
    columns: 2;
    column-gap: clamp(2.5rem, 4vw, 5rem);
  }
  .dk-crit--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .dk-crit--5 > :first-child { grid-column: auto; }
  .dk-crit--5 > :nth-child(-n+2) { grid-column: span 3; }
  .dk-crit--5 > :nth-child(n+3) { grid-column: span 2; }
}

@media (min-width: 1400px) {
  .dk-table__cue { display: none; }
}

@media (max-width: 559px) {
  .dk-byline { flex-direction: column; align-items: flex-start; }
  .dk-byline__sep { display: none; }
  .dk-entry__head { align-items: flex-start; flex-direction: column; gap: .75rem; }
}

@media (max-width: 420px) {
  .dk-nav__list { gap: 0; }
  .dk-nav__link { padding-inline: .375rem; font-size: .875rem; }
  .dk-logo { font-size: 1.1875rem; }
}

/* ----------------------------------------------------------------- motion */
@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  .dk-card:hover,
  .dk-card:hover .dk-card__img { transform: none; }
}
