: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-muted-strong: #5b5650;
  --dbx-surface: #ffffff;
  --dbx-surface-soft: #ebe9e6;
  --dbx-border: #d3cec9;
  --dbx-border-soft: #ebe9e6;
  --dbx-dark: #1e1919;
  --dbx-dark-elevated: #2d2b29;
  --brand-yellow: #fad24b;
  --brand-lime: #b4dc19;
  --brand-orange: #fa551e;
  --brand-pink: #c0154c;
  --brand-purple: #c8aff0;
  --success: #0f503c;
  --font-display: "Sharp Grotesk", SharpGrotesk, "Atlas Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Atlas Grotesk Web", "Atlas Grotesk", AtlasGrotesk, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 9999px;
  --r-button: 16px;
  --space-section: 96px;
  --container: 1200px;
  --shadow-mockup: 0 24px 48px rgba(30, 25, 25, 0.12), 0 8px 16px rgba(30, 25, 25, 0.06);
}

*,
*::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,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--dbx-blue);
  text-decoration: none;
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--dbx-blue);
  color: var(--dbx-canvas);
}

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

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

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

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

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

.site-brand:hover {
  color: var(--dbx-muted-strong);
}

.site-brand strong {
  color: var(--dbx-ink);
  font-weight: 500;
}

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

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

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

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

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--dbx-border);
  border-radius: var(--r-md);
  background: var(--dbx-surface);
  cursor: pointer;
  color: var(--dbx-ink);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-nav {
  display: none;
  padding: 16px 0 24px;
  border-top: 1px solid var(--dbx-border-soft);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  color: var(--dbx-ink);
  font-size: 16px;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }
}

/* 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);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn-primary {
  padding: 16px 24px;
  background: var(--dbx-blue);
  color: var(--dbx-canvas);
}

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

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

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

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

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

.btn-arrow::after {
  content: "→";
  font-size: 18px;
  line-height: 1;
}

/* Typography */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--dbx-ink);
  margin: 0 0 24px;
}

.headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--dbx-ink);
  margin: 0 0 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--dbx-ink);
  margin: 0 0 12px;
}

.body-lg {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.5;
  color: var(--dbx-muted-strong);
  margin: 0 0 24px;
  max-width: 36rem;
}

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

/* Hero */
.hero {
  padding: 64px 0 80px;
}

@media (min-width: 900px) {
  .hero {
    padding: 128px 0 96px;
  }
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

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

.hero-product-name {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--dbx-ink);
  margin: 0 0 8px;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--dbx-ink-soft);
  margin: 0 0 20px;
}

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

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

.hero-benefits li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--dbx-blue-wash);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230061FE'%3E%3Cpath d='M6.5 11.5L3 8l1-1 2.5 2.5L12 4l1 1-6.5 6.5z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

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

@media (min-width: 900px) {
  .mockup-stack {
    min-height: 420px;
  }
}

.mockup-window {
  background: var(--dbx-surface);
  border-radius: var(--r-xl);
  border: 1px solid var(--dbx-border);
  box-shadow: var(--shadow-mockup);
  overflow: hidden;
}

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

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

.mockup-dot:nth-child(1) {
  background: var(--brand-orange);
}

.mockup-dot:nth-child(2) {
  background: var(--brand-yellow);
}

.mockup-dot:nth-child(3) {
  background: var(--brand-lime);
}

.mockup-title {
  margin-left: 8px;
  font-size: 13px;
  color: var(--dbx-muted);
  font-weight: 500;
}

.mockup-body {
  padding: 20px;
}

.folder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.folder-tile {
  aspect-ratio: 1;
  border-radius: var(--r-md);
  background: var(--dbx-blue-wash);
  border: 1px solid var(--dbx-blue-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  color: var(--dbx-muted-strong);
  text-align: center;
  padding: 8px;
}

.folder-tile:nth-child(2) {
  background: #fff8e6;
  border-color: var(--brand-yellow);
}

.folder-tile:nth-child(3) {
  background: #f5f0fc;
  border-color: var(--brand-purple);
}

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

.file-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--dbx-canvas);
  border-radius: var(--r-sm);
  border: 1px solid var(--dbx-border-soft);
  font-size: 13px;
}

.file-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-xs);
  flex-shrink: 0;
}

.file-icon.doc {
  background: var(--dbx-blue-light);
}

.file-icon.pdf {
  background: #ffd4c4;
}

.file-icon.ai {
  background: var(--brand-lime);
  opacity: 0.85;
}

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

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

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

.chip-success {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: var(--r-pill);
  background: #e6f2ef;
  color: var(--success);
}

.mockup-mobile {
  position: absolute;
  right: -8px;
  bottom: -16px;
  width: 38%;
  max-width: 160px;
  background: var(--dbx-surface);
  border-radius: 20px;
  border: 1px solid var(--dbx-border);
  box-shadow: var(--shadow-mockup);
  padding: 12px;
}

@media (min-width: 900px) {
  .mockup-mobile {
    right: -24px;
    bottom: -24px;
  }
}

.mockup-mobile .ai-banner {
  background: linear-gradient(135deg, var(--dbx-blue) 0%, #004dc7 100%);
  color: var(--dbx-canvas);
  border-radius: var(--r-md);
  padding: 12px;
  font-size: 11px;
  line-height: 1.4;
}

.mockup-mobile .ai-banner strong {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
}

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

.trust-text {
  text-align: center;
  font-size: 15px;
  color: var(--dbx-muted);
  margin: 0 0 28px;
  max-width: 42rem;
  margin-inline: auto;
}

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

.logo-placeholder {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--dbx-ink);
  letter-spacing: -0.02em;
}

.analyst-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 10px 16px;
  background: var(--dbx-blue-wash);
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--dbx-ink);
}

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

.section-alt {
  background: var(--dbx-surface);
}

.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-media {
    order: 1;
  }
}

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

.card-grid {
  display: grid;
  gap: 24px;
}

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

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

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

.integration-stat {
  text-align: center;
  padding: 48px 24px;
  background: var(--dbx-blue-wash);
  border-radius: var(--r-xl);
  border: 1px solid var(--dbx-blue-light);
}

.integration-stat .stat {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 500;
  color: var(--dbx-blue);
  margin: 0 0 8px;
}

.integration-stat p {
  margin: 0;
  font-size: 18px;
  color: var(--dbx-ink-soft);
}

.search-demo {
  padding: 20px;
}

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

.search-result {
  padding: 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--dbx-border-soft);
  margin-bottom: 8px;
  font-size: 14px;
}

.search-result mark {
  background: var(--dbx-blue-light);
  color: var(--dbx-ink);
  padding: 0 2px;
  border-radius: 2px;
}

.workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.workflow-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--dbx-canvas);
  border-radius: var(--r-md);
  border: 1px solid var(--dbx-border-soft);
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dbx-blue);
  color: var(--dbx-canvas);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  flex-shrink: 0;
}

.share-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--dbx-surface-soft);
  border-radius: var(--r-md);
  font-size: 14px;
}

.avatars {
  display: flex;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--dbx-surface);
  margin-left: -8px;
  background: var(--dbx-blue-light);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dbx-blue-hover);
  font-weight: 600;
}

.avatar:first-child {
  margin-left: 0;
}

.avatar:nth-child(2) {
  background: var(--brand-yellow);
  color: var(--dbx-ink);
}

.avatar:nth-child(3) {
  background: var(--brand-purple);
  color: var(--dbx-ink);
}

/* Security */
.security-panel {
  background: var(--dbx-dark);
  color: var(--dbx-canvas);
  border-radius: var(--r-xl);
  padding: clamp(32px, 6vw, 48px);
  margin: var(--space-section) 0;
}

.security-panel .headline,
.security-panel .section-title {
  color: var(--dbx-canvas);
}

.security-panel .body-lg {
  color: rgba(247, 245, 242, 0.82);
  max-width: 40rem;
}

.security-grid {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

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

.security-item {
  padding: 20px;
  background: var(--dbx-dark-elevated);
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.security-item h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--dbx-canvas);
  margin: 0 0 8px;
}

.security-item p {
  margin: 0;
  font-size: 14px;
  color: rgba(247, 245, 242, 0.75);
  line-height: 1.5;
}

.lock-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: var(--dbx-blue-light);
}

.security-cta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.final-cta .headline {
  max-width: 20ch;
  margin-inline: auto;
}

.final-cta .body-lg {
  margin-inline: auto;
  text-align: center;
}

.final-cta .cta-group {
  justify-content: center;
  margin-top: 8px;
}

/* 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: 700px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

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

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

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

.site-footer li {
  margin-bottom: 8px;
}

.site-footer a {
  color: rgba(247, 245, 242, 0.75);
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(247, 245, 242, 0.55);
}

.disclaimer {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(247, 245, 242, 0.5);
  max-width: 52rem;
}
