/* DynDXB — Sample 7 design system (.dd-*) — no red accent */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --dd-yellow: #ffcc00;
  --dd-yellow-hover: #e6b800;
  --dd-nav-bg: #ebebeb;
  --dd-white: #ffffff;
  --dd-bg: #f5f5f5;
  --dd-text: #000000;
  --dd-muted: #333333;
  --dd-body-light: 400;
  --dd-border: #dcdcdc;
  --dd-charcoal: #50535e;
  --dd-charcoal-dark: #3d4048;
  --dd-icon-bg: #ffcc00;
  --dd-icon-fg: #141414;
  --dd-success: #2d6a4f;
  --dd-success-bg: #d8f3dc;
  --dd-warn: #7c5e10;
  --dd-warn-bg: #fff3cd;
  --dd-error: #3d4048;
  --dd-error-bg: #e8e9eb;
  --dd-font: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --dd-max: 1100px;
  --dd-radius: 3px;
  --dd-hero-h: 850px;
  --dd-header-h: 101px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--dd-header-h);
}

body.dd-body {
  margin: 0;
  font-family: var(--dd-font);
  font-size: 1.125rem;
  background: var(--dd-bg);
  color: var(--dd-text);
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[x-cloak] {
  display: none !important;
}

/* —— Typography (Axis-style: large, clear, readable) —— */
.dd-h1 { font-size: 3.25rem; line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; }
.dd-h2 { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.dd-h3 { font-size: 1.3125rem; font-weight: 700; letter-spacing: 0; }
.dd-lead { font-size: 1.5rem; color: var(--dd-muted); line-height: 1.7; font-weight: 400; }
.dd-small { font-size: 1rem; color: var(--dd-muted); line-height: 1.55; }
.dd-mono {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.8125rem;
}

/* —— Layout —— */
.dd-container {
  max-width: var(--dd-max);
  margin: 0 auto;
  padding: 0 24px;
}
.dd-section {
  max-width: var(--dd-max);
  margin: 0 auto;
  padding: 64px 32px;
  background: var(--dd-white);
  border-top: 1px solid var(--dd-border);
}
.dd-section--alt {
  background: var(--dd-nav-bg);
}
.dd-section h2.dd-section-title {
  text-align: center;
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.1;
  color: var(--dd-text);
}
.dd-section .dd-section-sub {
  text-align: center;
  color: var(--dd-muted);
  margin: 28px auto 48px;
  max-width: 720px;
  font-size: 1.5rem;
  line-height: 1.7;
  font-weight: 400;
}

/* —— Solutions grid (Axis-style cards) —— */
.dd-solutions-wrap {
  background: var(--dd-white);
  border-top: 1px solid var(--dd-border);
}
.dd-solutions-wrap--alt .dd-solutions-intro {
  background: var(--dd-white);
}
.dd-solutions-intro {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 32px 52px;
  text-align: center;
}
.dd-solutions-intro h2 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.1;
  color: var(--dd-text);
}
.dd-solutions-intro p {
  font-size: 1.5rem;
  color: var(--dd-muted);
  line-height: 1.7;
  margin: 28px 0 0;
  font-weight: 400;
}
.dd-solutions-band {
  background: #ececec;
  padding: 44px 24px 56px;
}
.dd-solutions-band-title {
  max-width: var(--dd-max);
  margin: 0 auto 40px;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--dd-text);
}
.dd-solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: var(--dd-max);
  margin: 0 auto;
}
.dd-solution-card {
  background: var(--dd-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}
.dd-solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
}
.dd-solution-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
}
.dd-solution-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--dd-charcoal);
  border-radius: 8px 8px 0 0;
}
.dd-solution-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.dd-solution-card:hover .dd-solution-card-media img {
  transform: scale(1.04);
}
.dd-solution-step {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dd-yellow);
  color: var(--dd-text);
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 2;
}
.dd-solution-card-icon {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dd-yellow);
  color: var(--dd-icon-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  z-index: 2;
}
.dd-solution-card-icon svg {
  width: 22px !important;
  height: 22px !important;
}
.dd-solution-card-body {
  padding: 26px 22px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.dd-solution-card-body h3 {
  font-size: 1.3125rem;
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: 0;
  color: var(--dd-text);
}
.dd-solution-card-body p {
  font-size: 1.0625rem;
  color: var(--dd-muted);
  line-height: 1.65;
  margin: 0 0 24px;
  flex: 1;
}
.dd-solution-more {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dd-text);
  border-bottom: 3px solid var(--dd-yellow);
  padding-bottom: 3px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.dd-solution-card-link:hover .dd-solution-more {
  color: var(--dd-charcoal);
  border-color: var(--dd-yellow-hover);
}

/* —— Header: scrolls with page, pins at top + frosted when pinned —— */
.dd-site-header {
  position: relative;
  z-index: 9999;
  width: 100%;
  margin: 0;
}
.dd-site-header .dd-nav-wrap,
.dd-site-header .dd-top {
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.dd-site-header--pinned {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}
.dd-site-header--pinned .dd-nav-wrap {
  background: rgba(235, 235, 235, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.dd-site-header--pinned .dd-top {
  background: rgba(80, 83, 94, 0.85);
}
.dd-site-header-spacer {
  display: block;
  width: 100%;
  height: 0;
  pointer-events: none;
}

/* —— Top bar —— */
.dd-top {
  background: var(--dd-charcoal);
  color: #ddd;
  padding: 0 16px;
  font-size: 0.875rem;
}
.dd-top-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 36px;
  margin: 0 auto;
  max-width: var(--dd-max);
}
.dd-top-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: content-box;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: var(--dd-yellow);
  text-decoration: none;
  line-height: 0;
}
.dd-top-contact:hover {
  color: var(--dd-white);
}
.dd-top-contact .dd-icon-mail,
.dd-top-contact svg {
  display: block;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
  flex: none;
}
.dd-top-sep {
  color: #888;
  user-select: none;
  line-height: 1;
  padding-bottom: 1px;
}
.dd-top-tagline {
  color: #ccc;
  line-height: 1.25;
  padding-bottom: 1px;
}

/* —— Site nav (centered grid) —— */
.dd-nav-wrap {
  background: var(--dd-nav-bg);
  border-bottom: 1px solid var(--dd-border);
}
.dd-nav {
  max-width: var(--dd-max);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 64px;
  gap: 12px;
}
.dd-logo {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--dd-text);
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  text-decoration: none;
}
.dd-logo-mark {
  background: var(--dd-yellow);
  color: var(--dd-text);
  width: 38px;
  height: 38px;
  font-size: 0.75rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  flex-shrink: 0;
}
.dd-nav-center {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px;
}
.dd-nav-center a {
  color: var(--dd-text);
  text-decoration: none;
  font-size: 1.0625rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 2px;
}
.dd-nav-center a:hover { background: rgba(0, 0, 0, 0.06); }
.dd-nav-center a.dd-on {
  outline: 2px solid var(--dd-text);
  outline-offset: -2px;
}
.dd-nav-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}
.dd-nav-right a {
  color: var(--dd-text);
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
}
.dd-nav-right a:hover { text-decoration: underline; }

/* —— Buttons —— */
.dd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  padding: 11px 22px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--dd-radius);
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  line-height: 1.3;
  letter-spacing: 0;
}
.dd-btn--yellow {
  background: var(--dd-yellow);
  color: var(--dd-text);
}
.dd-btn--yellow:hover { background: var(--dd-yellow-hover); }
.dd-btn--charcoal {
  background: var(--dd-charcoal);
  color: var(--dd-white);
}
.dd-btn--charcoal:hover { background: var(--dd-charcoal-dark); }
.dd-btn--ghost {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  padding: 10px 20px;
  font-weight: 600;
}
.dd-btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}
.dd-btn--outline {
  background: transparent;
  border: 1px solid var(--dd-border);
  color: var(--dd-text);
}
.dd-btn--outline:hover {
  border-color: var(--dd-charcoal);
  background: var(--dd-white);
}
.dd-btn--sm {
  padding: 8px 16px;
  font-size: 0.8125rem;
}
.dd-btn--block { width: 100%; }

/* —— Hero carousel —— */
.dd-hero-wrap {
  position: relative;
}
.dd-hero {
  height: var(--dd-hero-h);
  min-height: var(--dd-hero-h);
  position: relative;
  color: var(--dd-white);
  display: flex;
  align-items: center;
  padding: 0 24px;
  overflow: hidden;
}
.dd-hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 1s ease;
  pointer-events: none;
}
.dd-hero-slide.is-active {
  z-index: 1;
}
.dd-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(80, 83, 94, 0.93), rgba(80, 83, 94, 0.72));
  z-index: 1;
}
.dd-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--dd-max);
  margin: 0 auto;
  width: 100%;
  min-height: 360px;
}
.dd-hero-caption {
  position: relative;
  width: 100%;
}
.dd-hero-fade {
  animation: ddHeroFadeIn 0.75s ease both;
}
@keyframes ddHeroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.dd-pill {
  background: var(--dd-yellow);
  color: var(--dd-text);
  display: inline-block;
  padding: 8px 18px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  border-radius: 2px;
}
.dd-hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  max-width: 720px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}
.dd-hero .dd-hero-text {
  font-size: 1.375rem;
  opacity: 0.95;
  max-width: 600px;
  margin-top: 22px;
  line-height: 1.65;
  font-weight: 400;
}
.dd-hero-btns {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dd-dots {
  text-align: center;
  margin-top: -32px;
  position: relative;
  z-index: 3;
  padding-bottom: 8px;
}
.dd-dots button {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  border-radius: 50%;
  margin: 0 3px;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}
.dd-dots button.dd-on {
  width: 28px;
  border-radius: var(--dd-radius);
  background: var(--dd-yellow);
}

/* —— Cards grid —— */
.dd-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.dd-card {
  border: 1px solid var(--dd-border);
  border-top: 4px solid var(--dd-yellow);
  padding: 24px 18px;
  text-align: center;
  background: var(--dd-bg);
  border-radius: 2px;
}
.dd-card--icon {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dd-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--dd-icon-bg);
  border: 2px solid rgba(0, 0, 0, 0.06);
  color: var(--dd-icon-fg);
  margin-bottom: 14px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}
.dd-card-icon svg {
  width: 36px !important;
  height: 36px !important;
}
.dd-card h3 { font-size: 1.0625rem; font-weight: 700; margin: 4px 0 0; }
.dd-card p { font-size: 0.9375rem; color: var(--dd-muted); margin-top: 10px; line-height: 1.55; }

/* —— Steps —— */
.dd-steps {
  max-width: var(--dd-max);
  margin: 0 auto;
  padding: 48px 24px;
  background: var(--dd-nav-bg);
  border-top: 1px solid var(--dd-border);
}
.dd-steps h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
}
.dd-step-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.dd-step-card {
  position: relative;
  background: var(--dd-white);
  border: 1px solid var(--dd-border);
  border-top: 4px solid var(--dd-yellow);
  border-radius: 8px;
  padding: 32px 18px 22px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dd-step-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
@media (min-width: 901px) {
  .dd-step-card:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dd-yellow);
    z-index: 1;
    text-shadow: 0 0 0 var(--dd-nav-bg);
  }
}
.dd-step-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--dd-yellow);
  color: var(--dd-text);
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--dd-nav-bg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.dd-step-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  margin: 12px auto 16px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--dd-icon-bg) 0%, #f5d020 100%);
  color: var(--dd-icon-fg);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08), 0 5px 14px rgba(0, 0, 0, 0.1);
}
.dd-step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.dd-step-icon svg {
  width: 38px !important;
  height: 38px !important;
}
.dd-step-card h3 { font-size: 1.125rem; font-weight: 700; margin: 0; }
.dd-step-card p { font-size: 0.9375rem; color: var(--dd-muted); margin-top: 10px; line-height: 1.55; }

/* —— Use case rows —— */
.dd-use-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.dd-use-item {
  border: 1px solid var(--dd-border);
  padding: 24px;
  background: var(--dd-bg);
  border-radius: 2px;
}
.dd-use-item--icon {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-align: left;
}
.dd-use-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: var(--dd-icon-bg);
  color: var(--dd-icon-fg);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}
.dd-use-icon svg {
  width: 30px !important;
  height: 30px !important;
}
.dd-use-item h3 { font-size: 1.125rem; font-weight: 700; margin: 0; }
.dd-use-item p { font-size: 0.9375rem; color: var(--dd-muted); margin-top: 10px; line-height: 1.55; }

/* —— Yellow CTA band —— */
.dd-cta-band {
  background: var(--dd-yellow);
  text-align: center;
  padding: 44px 24px;
}
.dd-cta-band h2 { font-size: 1.875rem; font-weight: 800; margin: 0; letter-spacing: -0.02em; }
.dd-cta-band p {
  color: var(--dd-muted);
  margin: 10px 0 20px;
  font-size: 1.0625rem;
  line-height: 1.55;
}

/* —— Footer —— */
.dd-footer {
  background: var(--dd-charcoal-dark);
  color: #999;
  padding: 40px 24px 22px;
  font-size: 0.8125rem;
}
.dd-footer-grid {
  max-width: var(--dd-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: left;
}
.dd-footer strong,
.dd-footer .dd-footer-brand { color: var(--dd-yellow); }
.dd-footer h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #bbb;
  margin: 0 0 12px;
}
.dd-footer ul { list-style: none; padding: 0; margin: 0; }
.dd-footer li { margin: 6px 0; }
.dd-footer a {
  color: #ccc;
  text-decoration: none;
}
.dd-footer a:hover { color: var(--dd-yellow); }
.dd-footer-copy {
  max-width: var(--dd-max);
  margin: 28px auto 0;
  text-align: center;
  font-size: 0.75rem;
  color: #777;
}

/* —— Forms —— */
.dd-form-card {
  max-width: 420px;
  margin: 0 auto;
  background: var(--dd-white);
  border: 1px solid var(--dd-border);
  border-radius: 4px;
  padding: 40px 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.dd-form-card--wide { max-width: 520px; }
.dd-label {
  display: block;
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.dd-input,
.dd-textarea,
.dd-select {
  width: 100%;
  padding: 12px 16px;
  font-size: 1.0625rem;
  font-family: inherit;
  border: 1px solid var(--dd-border);
  border-radius: var(--dd-radius);
  background: var(--dd-white);
  color: var(--dd-text);
}
.dd-input:focus,
.dd-textarea:focus,
.dd-select:focus {
  outline: 2px solid var(--dd-charcoal);
  outline-offset: 0;
  border-color: var(--dd-charcoal);
}
.dd-textarea { min-height: 120px; resize: vertical; }
.dd-field { margin-bottom: 18px; }
.dd-form-title { font-size: 2rem; font-weight: 700; margin: 0; letter-spacing: -0.02em; }
.dd-form-sub { font-size: 1.125rem; color: var(--dd-muted); margin-top: 12px; line-height: 1.65; }
.dd-form-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--dd-muted);
}
.dd-form-footer a {
  color: var(--dd-charcoal);
  font-weight: 700;
  text-decoration: none;
}
.dd-form-footer a:hover { text-decoration: underline; }

/* —— Alerts (no red) —— */
.dd-alert {
  padding: 12px 16px;
  border-radius: var(--dd-radius);
  font-size: 0.875rem;
  margin-bottom: 20px;
  border: 1px solid var(--dd-border);
}
.dd-alert--success {
  background: var(--dd-success-bg);
  color: var(--dd-success);
  border-color: #95d5b2;
}
.dd-alert--warn {
  background: var(--dd-warn-bg);
  color: var(--dd-warn);
  border-color: #ffe69c;
}
.dd-alert--error {
  background: var(--dd-error-bg);
  color: var(--dd-error);
  border-color: var(--dd-charcoal);
}

/* —— Contact split —— */
.dd-contact-single {
  margin: 0 auto;
}
.dd-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.dd-contact-panel {
  border: 1px solid var(--dd-border);
  background: var(--dd-bg);
  padding: 28px;
  border-radius: 2px;
}

/* —— App shell —— */
.dd-app {
  display: flex;
  min-height: 100vh;
  background: var(--dd-bg);
}
.dd-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--dd-white);
  border-right: 1px solid var(--dd-border);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
}
.dd-sidebar-nav {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dd-sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--dd-text);
  text-decoration: none;
  border-radius: 6px;
}
.dd-nav-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--dd-icon-bg);
  color: var(--dd-icon-fg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}
.dd-nav-icon svg {
  width: 20px !important;
  height: 20px !important;
}
.dd-sidebar-nav a:hover { background: var(--dd-nav-bg); }
.dd-sidebar-nav a.dd-on {
  background: var(--dd-yellow);
  color: var(--dd-text);
}
.dd-sidebar-nav a.dd-on .dd-nav-icon {
  background: var(--dd-charcoal);
  color: var(--dd-yellow);
}
.dd-sidebar-foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--dd-border);
}
.dd-sidebar-badge {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--dd-charcoal);
  color: var(--dd-yellow);
  padding: 3px 8px;
  border-radius: 2px;
  margin-left: 8px;
}
.dd-app-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.dd-app-header {
  background: var(--dd-white);
  border-bottom: 1px solid var(--dd-border);
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.dd-app-header-user {
  min-width: 0;
}
.dd-app-header-name {
  font-size: 1.875rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.dd-app-header-email {
  font-size: 1.125rem;
  color: var(--dd-charcoal);
  margin: 6px 0 0;
  font-weight: 500;
}
.dd-app-header-sub {
  font-size: 1rem;
  color: var(--dd-muted);
  margin: 4px 0 0;
}
.dd-app-header .dd-app-meta {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dd-muted);
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.dd-app-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.dd-header-logout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  padding: 9px 16px;
}
.dd-header-logout svg {
  color: var(--dd-icon-fg);
}
.dd-profile-menu {
  position: relative;
}
.dd-profile-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border: 1px solid var(--dd-border);
  border-radius: 999px;
  background: var(--dd-bg);
  cursor: pointer;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--dd-text);
}
.dd-profile-trigger:hover {
  border-color: var(--dd-charcoal);
  background: var(--dd-white);
}
.dd-profile-label {
  padding-right: 4px;
}
.dd-profile-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  background: var(--dd-white);
  border: 1px solid var(--dd-border);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 100;
  padding: 8px 0;
}
.dd-profile-dropdown[hidden] {
  display: none;
}
.dd-profile-dropdown-head {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--dd-border);
  margin-bottom: 4px;
}
.dd-profile-dropdown-head strong {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
}
.dd-profile-dropdown-head span {
  display: block;
  font-size: 0.9375rem;
  color: var(--dd-muted);
  margin-top: 3px;
}
.dd-profile-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dd-text);
  text-decoration: none;
}
.dd-profile-dropdown a .dd-menu-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--dd-icon-bg);
  color: var(--dd-icon-fg);
}
.dd-profile-dropdown a .dd-menu-icon svg {
  width: 18px !important;
  height: 18px !important;
}
.dd-profile-dropdown a:hover {
  background: var(--dd-nav-bg);
}
.dd-avatar {
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.dd-avatar--sm {
  width: 40px;
  height: 40px;
}
.dd-avatar--md {
  width: 52px;
  height: 52px;
}
.dd-avatar--lg {
  width: 80px;
  height: 80px;
}
.dd-avatar--initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--dd-yellow);
  color: var(--dd-text);
  font-weight: 800;
}
.dd-avatar--sm.dd-avatar--initials { font-size: 0.9375rem; }
.dd-avatar--md.dd-avatar--initials { font-size: 1.125rem; }
.dd-avatar--lg.dd-avatar--initials { font-size: 1.75rem; }
.dd-profile-avatar-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-top: 16px;
}
.dd-app-content {
  padding: 28px;
  flex: 1;
}
.dd-panel {
  background: var(--dd-white);
  border: 1px solid var(--dd-border);
  border-radius: 4px;
  padding: 24px;
  margin-bottom: 24px;
}
.dd-panel-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.dd-panel-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--dd-icon-bg);
  color: var(--dd-icon-fg);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}
.dd-panel-icon svg {
  width: 26px !important;
  height: 26px !important;
}
.dd-panel h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.dd-panel-head h2 {
  margin: 0 0 4px;
}
.dd-panel p.dd-panel-desc {
  font-size: 0.9375rem;
  color: var(--dd-muted);
  margin: 0 0 16px;
  line-height: 1.55;
}
.dd-panel-head .dd-panel-desc {
  margin: 0;
}
.dd-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.dd-token-box {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.8125rem;
  word-break: break-all;
  background: var(--dd-bg);
  border: 1px solid var(--dd-border);
  padding: 14px;
  border-radius: var(--dd-radius);
}
.dd-code-block {
  overflow-x: auto;
  background: var(--dd-charcoal-dark);
  color: #e8e9eb;
  padding: 16px;
  border-radius: var(--dd-radius);
  font-size: 0.75rem;
}
.dd-table-wrap { overflow-x: auto; }
.dd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.dd-table th,
.dd-table td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--dd-border);
}
.dd-table th {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dd-muted);
  background: var(--dd-bg);
}
.dd-table tbody tr:hover { background: var(--dd-bg); }
.dd-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.dd-stat {
  background: var(--dd-white);
  border: 1px solid var(--dd-border);
  border-top: 4px solid var(--dd-yellow);
  padding: 20px;
  text-align: center;
  border-radius: 2px;
}
.dd-stat .dd-stat-n {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dd-charcoal);
}
.dd-stat .dd-stat-l {
  font-size: 0.8125rem;
  color: var(--dd-muted);
  margin-top: 4px;
}
.dd-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--dd-muted);
}
.dd-page-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 8px;
}
.dd-page-lead {
  color: var(--dd-muted);
  font-size: 0.9375rem;
  max-width: 640px;
  margin: 0 0 28px;
}

/* —— API docs —— */
.dd-docs-main {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}
.dd-docs-nav {
  background: var(--dd-nav-bg);
  border-bottom: 1px solid var(--dd-border);
  padding: 14px 24px;
}
.dd-docs-nav-inner {
  max-width: var(--dd-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (prefers-reduced-motion: reduce) {
  .dd-hero-slide,
  .dd-hero-fade {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 900px) {
  .dd-nav {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 12px 20px;
  }
  .dd-logo,
  .dd-nav-right { justify-self: center; }
  .dd-cards,
  .dd-step-row,
  .dd-solution-grid { grid-template-columns: 1fr 1fr; }
  .dd-solutions-intro h2 { font-size: 2rem; }
  .dd-footer-grid { grid-template-columns: 1fr 1fr; }
  .dd-contact-grid,
  .dd-grid-2 { grid-template-columns: 1fr; }
  .dd-sidebar { display: none; }
  .dd-stat-row { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
  .dd-cards,
  .dd-step-row,
  .dd-use-grid,
  .dd-solution-grid { grid-template-columns: 1fr; }
  .dd-solutions-intro h2 { font-size: 1.75rem; }
  .dd-solutions-intro p { font-size: 1rem; }
  .dd-hero h1,
  .dd-h1 { font-size: 2.25rem; }
  .dd-hero .dd-hero-text { font-size: 1.125rem; }
  .dd-section h2.dd-section-title,
  .dd-solutions-intro h2 { font-size: 2rem; }
  .dd-section .dd-section-sub,
  .dd-solutions-intro p { font-size: 1.0625rem; }
  .dd-footer-grid { grid-template-columns: 1fr; }
}
