: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-yellow: #fad24b;
  --brand-lime: #b4dc19;
  --brand-orange: #fa551e;
  --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-button: 16px;
  --r-card: 16px;
  --r-xl: 24px;
  --container: 1200px;
  --nav-h: 64px;
}

*,
*::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;
}

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

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--dbx-surface);
  color: var(--dbx-ink);
  border-radius: var(--r-button);
  font-weight: 500;
}

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

.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);
  height: var(--nav-h);
}

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

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

.brand:hover {
  color: var(--dbx-ink);
}

.brand-mark {
  width: 32px;
  height: 28px;
  flex-shrink: 0;
}

.nav-links {
  display: none;
  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);
}

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

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

.menu-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.menu-toggle[aria-expanded="false"] .icon-close {
  display: none;
}

.mobile-panel {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--dbx-surface);
  padding: 24px;
  z-index: 99;
  border-top: 1px solid var(--dbx-border);
  overflow-y: auto;
}

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

.mobile-panel ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

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

.mobile-panel a {
  display: block;
  padding: 14px 0;
  color: var(--dbx-ink);
  text-decoration: none;
  font-size: 18px;
}

@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
  }

  .mobile-panel {
    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);
  padding: 16px 24px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-primary {
  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 {
  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: var(--dbx-dark-elevated);
  color: var(--dbx-canvas);
}

.btn-sm {
  padding: 12px 18px;
  font-size: 15px;
}

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

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

.hero-grid {
  display: grid;
  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;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dbx-muted);
  margin: 0 0 12px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.75rem, 6vw, 4rem);
  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-sub {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  max-width: 36rem;
  margin: 0 0 28px;
  color: var(--dbx-muted);
}

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

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

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

.check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--dbx-success);
}

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

.mockup-window {
  background: var(--dbx-surface);
  border: 1px solid var(--dbx-border);
  border-radius: var(--r-xl);
  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;
  background: var(--dbx-surface-soft);
  border-bottom: 1px solid var(--dbx-border);
}

.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-search {
  flex: 1;
  margin-left: 8px;
  padding: 8px 12px;
  background: var(--dbx-surface);
  border: 1px solid var(--dbx-border);
  border-radius: 8px;
  font-size: 13px;
  color: var(--dbx-muted);
}

.mockup-body {
  padding: 16px;
}

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

.folder-tile {
  padding: 16px 12px;
  background: var(--dbx-blue-wash);
  border-radius: 12px;
  text-align: center;
  font-size: 12px;
  color: var(--dbx-ink);
  border: 1px solid var(--dbx-blue-light);
}

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

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

.file-list {
  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: 8px;
  border: 1px solid var(--dbx-border-soft, var(--dbx-surface-soft));
  font-size: 13px;
}

.file-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--dbx-blue-light);
  flex-shrink: 0;
}

.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-status {
  font-size: 11px;
  color: var(--dbx-success);
}

.sync-badge {
  font-size: 11px;
  padding: 4px 8px;
  background: var(--dbx-blue-wash);
  color: var(--dbx-blue);
  border-radius: 999px;
}

.mockup-mobile {
  position: absolute;
  right: -8px;
  bottom: -16px;
  width: 140px;
  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);
}

@media (max-width: 599px) {
  .mockup-mobile {
    right: 8px;
    width: 120px;
  }
}

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

.mobile-file {
  height: 8px;
  background: var(--dbx-surface-soft);
  border-radius: 4px;
  margin-bottom: 8px;
}

.mobile-file.accent {
  background: var(--dbx-blue-light);
  width: 80%;
}

/* Trust */
.trust {
  padding: 40px 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 p {
  margin: 0 0 20px;
  font-size: 15px;
  color: var(--dbx-muted);
}

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

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

/* Sections */
.section {
  padding: 64px 0;
}

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

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

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

.section-lead {
  font-size: 18px;
  max-width: 36rem;
  margin: 0 0 24px;
  color: var(--dbx-muted);
}

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

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

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

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

.feature-card p {
  margin: 0 0 16px;
  font-size: 15px;
}

.text-link {
  color: var(--dbx-ink);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.text-link:hover {
  color: var(--dbx-blue);
}

.text-link::after {
  content: "→";
}

/* Story blocks */
.story-block {
  display: grid;
  gap: 40px;
  align-items: center;
  margin-bottom: 64px;
}

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

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

  .story-block.reverse .story-copy {
    order: 2;
  }

  .story-block.reverse .story-visual {
    order: 1;
  }
}

.story-visual {
  background: var(--dbx-surface);
  border: 1px solid var(--dbx-border);
  border-radius: var(--r-xl);
  padding: 24px;
  min-height: 200px;
}

/* Security */
.security {
  background: var(--dbx-dark);
  color: var(--dbx-canvas);
  padding: 64px 0;
  border-radius: 0;
}

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

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

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

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

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

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

.security-card {
  background: var(--dbx-dark-elevated);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

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

.security-card p {
  margin: 0;
  font-size: 15px;
  color: rgba(247, 245, 242, 0.7);
}

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

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

/* Pricing */
.pricing-strip {
  background: var(--dbx-blue-wash);
  border: 1px solid var(--dbx-blue-light);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  display: grid;
  gap: 24px;
  align-items: center;
}

@media (min-width: 768px) {
  .pricing-strip {
    grid-template-columns: 1fr auto;
    padding: 40px 48px;
  }
}

.pricing-strip h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 8px;
  color: var(--dbx-ink);
}

.pricing-strip p {
  margin: 0;
  font-size: 16px;
}

.plan-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  padding: 4px 10px;
  background: var(--dbx-surface);
  border-radius: 999px;
  color: var(--dbx-blue);
  margin-bottom: 8px;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-item {
  border-bottom: 1px solid var(--dbx-border);
}

.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  text-align: left;
  color: var(--dbx-ink);
  cursor: pointer;
}

.faq-item button:hover {
  color: var(--dbx-blue);
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-panel {
  display: none;
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--dbx-muted);
}

.faq-item.is-open .faq-panel {
  display: block;
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 80px 0;
  background: var(--dbx-surface);
  border-top: 1px solid var(--dbx-border);
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 500;
  margin: 0 0 12px;
  color: var(--dbx-ink);
}

.cta-band p {
  margin: 0 auto 28px;
  max-width: 32rem;
  font-size: 18px;
  color: var(--dbx-muted);
}

/* 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: 2fr 1fr 1fr;
  }
}

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

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

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

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

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

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(247, 245, 242, 0.5);
  font-size: 13px;
}

.footer-disclosure {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.5;
  max-width: 52rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}