:root {
  --dbx-blue: #0061fe;
  --dbx-blue-hover: #004dc7;
  --dbx-blue-light: #b4d1ff;
  --dbx-blue-wash: #f2f7ff;
  --dbx-canvas: #f7f5f2;
  --dbx-ink: #1e1919;
  --dbx-ink-soft: #44403d;
  --dbx-muted: #736c64;
  --dbx-surface: #ffffff;
  --dbx-surface-soft: #ebe9e6;
  --dbx-border: #d3cec9;
  --dbx-dark: #1e1919;
  --dbx-dark-elevated: #2d2b29;
  --dbx-success: #0f503c;
  --brand-lime: #b4dc19;
  --brand-yellow: #fad24b;
  --brand-orange: #fa551e;
  --font-display: "DM Sans", "Atlas Grotesk", system-ui, sans-serif;
  --font-body: "DM Sans", "Atlas Grotesk Web", system-ui, sans-serif;
  --r-card: 16px;
  --r-button: 16px;
  --r-md: 12px;
  --space-section: clamp(64px, 10vw, 96px);
  --space-hero: clamp(80px, 12vw, 128px);
  --container: min(1180px, 100% - 48px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--dbx-ink-soft);
  background: var(--dbx-canvas);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--dbx-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--dbx-blue-hover);
}

:focus-visible {
  outline: 3px solid var(--dbx-blue);
  outline-offset: 2px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--dbx-dark);
  color: var(--dbx-canvas);
  border-radius: var(--r-md);
}

.skip-link:focus {
  left: 16px;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dbx-surface);
  border-bottom: 1px solid var(--dbx-border);
  height: 64px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--dbx-ink);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--dbx-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-mark svg {
  width: 18px;
  height: 18px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--dbx-border);
  border-radius: var(--r-md);
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  color: var(--dbx-ink);
}

.nav-toggle svg {
  display: block;
  margin: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--dbx-ink);
  text-decoration: none;
  font-size: 16px;
}

.nav-links a:hover {
  color: var(--dbx-blue);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  border-radius: var(--r-button);
  padding: 16px 24px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--dbx-blue);
  color: #f7f5f2;
}

.btn-primary:hover {
  background: var(--dbx-blue-hover);
  color: #f7f5f2;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--dbx-ink);
  border: 1px solid var(--dbx-border);
  padding: 14px 22px;
}

.btn-secondary:hover {
  background: var(--dbx-surface-soft);
  color: var(--dbx-ink);
}

.btn-on-dark {
  background: transparent;
  color: var(--dbx-canvas);
  border: 1px solid rgba(247, 245, 242, 0.35);
  padding: 14px 22px;
}

.btn-on-dark:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--dbx-canvas);
}

.btn-arrow::after {
  content: "→";
  font-size: 1.1em;
}

/* Hero */
.hero {
  padding: var(--space-hero) 0 var(--space-section);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dbx-muted);
  margin: 0 0 16px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(48px, 8vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--dbx-ink);
  margin: 0 0 8px;
}

.hero-title .product-name {
  display: block;
  color: var(--dbx-blue);
}

.hero-lead {
  font-size: clamp(18px, 2.5vw, 20px);
  max-width: 36ch;
  margin: 0 0 28px;
  color: var(--dbx-muted);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  color: var(--dbx-ink-soft);
}

.check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--dbx-success);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-top: 2px;
}

/* Product mockup */
.mockup-stack {
  position: relative;
  min-height: 320px;
}

.mockup-desktop {
  background: var(--dbx-surface);
  border: 1px solid var(--dbx-border);
  border-radius: var(--r-card);
  box-shadow: 0 24px 48px rgba(30, 25, 25, 0.08);
  overflow: hidden;
}

.mockup-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--dbx-border);
  background: var(--dbx-surface-soft);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dbx-border);
}

.dot:nth-child(1) {
  background: #fa551e;
}
.dot:nth-child(2) {
  background: var(--brand-yellow);
}
.dot:nth-child(3) {
  background: var(--brand-lime);
}

.mockup-body {
  padding: 20px;
}

.mockup-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--dbx-border);
  border-radius: var(--r-md);
  background: var(--dbx-surface);
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--dbx-muted);
}

.file-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.file-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--dbx-border-soft, var(--dbx-surface-soft));
  background: var(--dbx-canvas);
}

.file-row.is-active {
  background: var(--dbx-blue-wash);
  border-color: var(--dbx-blue-light);
}

.file-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--dbx-ink);
}

.file-icon--blue {
  background: var(--dbx-blue-light);
}
.file-icon--lime {
  background: #e8f4b8;
}
.file-icon--orange {
  background: #ffe4d9;
}

.file-meta {
  flex: 1;
  min-width: 0;
}

.file-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--dbx-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-sub {
  font-size: 12px;
  color: var(--dbx-muted);
}

.status-pill {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 9999px;
  background: var(--dbx-surface-soft);
  color: var(--dbx-muted);
}

.status-pill--live {
  background: #d4ede4;
  color: var(--dbx-success);
}

.mockup-mobile {
  position: absolute;
  bottom: -12px;
  right: 8%;
  width: min(160px, 38%);
  background: var(--dbx-surface);
  border: 1px solid var(--dbx-border);
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 16px 32px rgba(30, 25, 25, 0.12);
}

.mockup-mobile-notch {
  width: 40%;
  height: 4px;
  background: var(--dbx-surface-soft);
  border-radius: 4px;
  margin: 0 auto 12px;
}

.mini-cta {
  display: block;
  text-align: center;
  padding: 10px;
  background: var(--dbx-blue);
  color: #f7f5f2;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}

/* Trust strip */
.trust-strip {
  padding: 32px 0;
  border-top: 1px solid var(--dbx-border);
  border-bottom: 1px solid var(--dbx-border);
  background: var(--dbx-surface);
}

.trust-inner {
  text-align: center;
}

.trust-headline {
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 500;
  color: var(--dbx-ink);
  margin: 0 0 24px;
}

.logo-rail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px 48px;
  opacity: 0.55;
}

.logo-item {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--dbx-ink);
  letter-spacing: -0.01em;
}

/* Features */
.section {
  padding: var(--space-section) 0;
}

.section-label {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dbx-blue);
  margin: 0 0 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--dbx-ink);
  margin: 0 0 16px;
  max-width: 18ch;
}

.section-copy {
  font-size: 18px;
  max-width: 52ch;
  margin: 0 0 24px;
  color: var(--dbx-muted);
}

.feature-block {
  display: grid;
  gap: 40px;
  align-items: center;
  margin-bottom: var(--space-section);
}

.feature-block:last-child {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .feature-block {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .feature-block--reverse .feature-copy {
    order: 2;
  }
  .feature-block--reverse .feature-visual {
    order: 1;
  }
}

.feature-card {
  background: var(--dbx-surface);
  border: 1px solid var(--dbx-border);
  border-radius: var(--r-card);
  padding: 24px;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--dbx-surface-soft);
  display: flex;
  gap: 12px;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list strong {
  display: block;
  color: var(--dbx-ink);
  font-weight: 500;
}

/* Dark security */
.security-panel {
  background: var(--dbx-dark);
  color: var(--dbx-canvas);
  border-radius: 24px;
  padding: clamp(40px, 6vw, 64px);
  margin: 0 auto;
  max-width: var(--container);
}

.security-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 768px) {
  .security-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}

.security-panel .section-label {
  color: var(--dbx-blue-light);
}

.security-panel .section-title {
  color: var(--dbx-canvas);
  max-width: none;
}

.security-panel .section-copy {
  color: rgba(247, 245, 242, 0.75);
}

.lock-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.lock-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--dbx-dark-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trust-card {
  background: var(--dbx-dark-elevated);
  border-radius: var(--r-card);
  padding: 24px;
}

.trust-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(247, 245, 242, 0.85);
}

.trust-card cite {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-style: normal;
  color: var(--dbx-muted);
}

.security-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Steps */
.steps-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: var(--dbx-surface);
  border: 1px solid var(--dbx-border);
  border-radius: var(--r-card);
  padding: 28px 24px;
}

.step-num {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--dbx-blue-wash);
  color: var(--dbx-blue);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--dbx-ink);
  margin: 0 0 8px;
}

.step-card p {
  margin: 0;
  font-size: 15px;
  color: var(--dbx-muted);
}

/* Final CTA */
.cta-band {
  background: var(--dbx-blue-wash);
  border-top: 1px solid var(--dbx-blue-light);
  padding: var(--space-section) 0;
  text-align: center;
}

.cta-band .section-title {
  margin-inline: auto;
  max-width: 22ch;
}

.cta-band .section-copy {
  margin-inline: auto;
  margin-bottom: 28px;
}

/* Footer */
.site-footer {
  background: var(--dbx-dark);
  color: rgba(247, 245, 242, 0.75);
  padding: 48px 0 32px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--dbx-canvas);
  margin: 0 0 12px;
}

.footer-col h2 {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dbx-canvas);
  margin: 0 0 16px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(247, 245, 242, 0.75);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--dbx-canvas);
}

.footer-legal {
  border-top: 1px solid var(--dbx-dark-elevated);
  padding-top: 24px;
  font-size: 13px;
  color: var(--dbx-muted);
}

.footer-legal p {
  margin: 0 0 8px;
}

/* Mobile nav */
@media (max-width: 767px) {
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--dbx-surface);
    border-bottom: 1px solid var(--dbx-border);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li {
    border-bottom: 1px solid var(--dbx-surface-soft);
  }

  .nav-links a,
  .nav-links .btn {
    display: block;
    padding: 14px 0;
    width: 100%;
    text-align: left;
  }

  .nav-links .btn-primary {
    text-align: center;
    margin-top: 8px;
  }

  .nav-actions .btn-primary {
    display: none;
  }
}