/* DBell Creations — dark site system (2026 redesign)
   Shared by pages that opt in with <body class="dx">. */

:root {
  --bg: #0A0D12;
  --bg-deep: #06080B;
  --surface: #0E131A;
  --card: #121821;
  --card-hi: #161E29;
  --line: #1F2732;
  --line-2: #2A3542;
  --text: #EEF3F7;
  --text-2: #C3CDD7;
  --muted: #A3B1BF;
  --faint: #8695A4;
  --blue: #38B6F0;
  --blue-hi: #6CCBF5;
  --blue-ink: #05121B;
  --blue-soft: rgba(56, 182, 240, .14);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --wrap: 1240px;
  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.dx {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.dx img { max-width: 100%; height: auto; display: block; }
.dx a { color: var(--blue-hi); text-decoration: none; transition: color .2s var(--ease); }
.dx a:hover { color: #9BDCF8; }
.dx h1, .dx h2, .dx h3, .dx h4 { margin: 0; color: #fff; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.dx p { margin: 0; }
.dx ::selection { background: rgba(56, 182, 240, .35); color: #fff; }
.dx :focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.dx-skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--blue); color: var(--blue-ink) !important; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; transition: top .2s; }
.dx-skip:focus { top: 12px; }

.dx-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.dx-section { padding: 120px 0; position: relative; }
.dx-section--alt { background: var(--surface); border-block: 1px solid var(--line); }
.dx-eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); display: inline-flex; align-items: center; gap: 10px; }
.dx-eyebrow::before { content: ''; width: 18px; height: 1px; background: currentColor; opacity: .7; }
.dx-h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.dx-lead { font-size: 17px; color: var(--muted); line-height: 1.65; }
.dx-head { display: flex; flex-wrap: wrap; gap: 24px 64px; justify-content: space-between; align-items: end; margin-bottom: 56px; }
.dx-head > div { display: flex; flex-direction: column; gap: 16px; max-width: 660px; }
.dx-head > p { max-width: 420px; }

/* Wordmark */
.dx-brand { font-weight: 700; font-size: 21px; letter-spacing: -.03em; color: #fff !important; white-space: nowrap; }
.dx-brand span { color: var(--blue); transition: color .3s var(--ease); }
.dx-brand:hover span { color: var(--blue-hi); }

/* Buttons */
.dx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 13px 22px; border-radius: 12px; font-weight: 600; font-size: 15px; line-height: 1.2; border: 1px solid transparent; cursor: pointer; position: relative; overflow: hidden; transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease); }
.dx-btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); flex: none; }
.dx-btn:hover svg { transform: translateX(3px); }
.dx-btn--primary { background: var(--blue); color: var(--blue-ink) !important; box-shadow: 0 0 0 0 rgba(56, 182, 240, 0); }
.dx-btn--primary:hover { background: var(--blue-hi); transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(56, 182, 240, .55); }
.dx-btn--primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.dx-btn--primary:hover::after { transform: translateX(120%); }
.dx-btn--ghost { color: #fff !important; border-color: var(--line-2); background: rgba(255, 255, 255, .02); }
.dx-btn--ghost:hover { border-color: #3D4B5C; background: rgba(255, 255, 255, .06); transform: translateY(-2px); }
.dx-btn--lg { min-height: 54px; padding: 15px 26px; font-size: 16px; }

/* Nav */
.dx-nav { position: sticky; top: 0; z-index: 100; transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s; border-bottom: 1px solid transparent; }
.dx-nav.is-scrolled { background: rgba(10, 13, 18, .78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--line); }
.dx-nav__inner { display: flex; align-items: center; gap: 40px; min-height: 76px; }
.dx-nav__links { display: flex; align-items: center; gap: 4px; flex: 1; margin: 0; padding: 0; list-style: none; }
.dx-nav__links > li { position: relative; }
.dx-nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; color: var(--text-2) !important; font-size: 15px; font-weight: 500; background: none; border: 0; font-family: inherit; cursor: pointer; transition: color .2s, background .2s; }
.dx-nav__link:hover, .dx-nav__link[aria-expanded="true"], .dx-nav__link[aria-current="page"] { color: #fff !important; background: rgba(255, 255, 255, .05); }
.dx-nav__link svg { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.dx-nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.dx-nav__cta { display: flex; align-items: center; gap: 8px; }
.dx-menu { position: absolute; top: calc(100% + 10px); left: -12px; width: 560px; padding: 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; background: rgba(18, 24, 33, .96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: 0 30px 60px -12px rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top left; transition: opacity .2s var(--ease), transform .25s var(--ease), visibility .2s; }
.dx-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.dx-menu a { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; border-radius: 12px; color: #fff !important; font-weight: 600; font-size: 15px; transition: background .2s; }
.dx-menu a small { color: var(--faint); font-weight: 400; font-size: 13px; line-height: 1.4; }
.dx-menu a:hover { background: rgba(56, 182, 240, .08); }
.dx-burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: #fff; align-items: center; justify-content: center; cursor: pointer; }
.dx-burger span { position: relative; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: background .2s; }
.dx-burger span::before, .dx-burger span::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.dx-burger span::before { top: -6px; }
.dx-burger span::after { top: 6px; }
.dx-burger[aria-expanded="true"] span { background: transparent; }
.dx-burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.dx-burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.dx-hero { position: relative; overflow: hidden; padding: 72px 0 120px; margin-top: -77px; padding-top: 149px; }
.dx-hero::before { content: ''; position: absolute; width: 900px; height: 700px; right: -200px; top: -60px; background: radial-gradient(closest-side, rgba(56, 182, 240, .22), rgba(56, 182, 240, 0)); filter: blur(10px); animation: dx-breathe 9s ease-in-out infinite; pointer-events: none; }
.dx-hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent); pointer-events: none; }
.dx-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1fr; gap: 64px; align-items: center; }
.dx-hero__copy { display: flex; flex-direction: column; gap: 28px; }
.dx-hero h1 { font-size: clamp(2.6rem, 5vw, 4.25rem); line-height: 1.02; letter-spacing: -.04em; }
.dx-hero h1 em { font-style: normal; background: linear-gradient(100deg, #38B6F0, #8FDBFA 50%, #38B6F0); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: dx-shine 6s linear infinite; }
.dx-hero__sub { font-size: 19px; color: var(--muted); max-width: 540px; }
.dx-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dx-hero__note { font-size: 14px; color: var(--faint); display: flex; align-items: center; gap: 8px; }
.dx-hero__note svg { width: 16px; height: 16px; color: var(--blue); flex: none; }
.dx-stats { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.dx-stats div { display: flex; flex-direction: column; gap: 2px; }
.dx-stats strong { font-size: 26px; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.dx-stats span { font-size: 13px; color: var(--faint); }
.dx-pill { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 7px 14px 7px 8px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font-size: 13px; color: var(--text-2); }
.dx-pill b { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .06em; padding: 4px 9px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); }

.dx-visual { position: relative; padding: 0 0 56px 28px; }
.dx-browser { border-radius: var(--r-lg); overflow: hidden; background: var(--card); border: 1px solid var(--line-2); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(56, 182, 240, .05); transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transition: transform .8s var(--ease); }
.dx-visual:hover .dx-browser { transform: perspective(1600px) rotateY(-2deg) rotateX(0); }
.dx-browser__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; background: #0F141B; border-bottom: 1px solid var(--line); }
.dx-browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #2A3542; }
.dx-browser__bar span { margin-left: 12px; font-family: var(--mono); font-size: 12px; color: var(--faint); background: #151C25; padding: 5px 12px; border-radius: 8px; }
.dx-browser img { width: 100%; height: 360px; object-fit: cover; object-position: top; }
.dx-toast { position: absolute; left: 0; bottom: 0; width: 300px; padding: 18px 20px; border-radius: var(--r); background: rgba(18, 24, 33, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid #2B4A60; box-shadow: 0 24px 60px -10px rgba(0, 0, 0, .7); display: flex; flex-direction: column; gap: 12px; animation: dx-float 6s ease-in-out infinite; }
.dx-toast__top { display: flex; justify-content: space-between; align-items: center; }
.dx-toast__tag { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); display: inline-flex; align-items: center; gap: 8px; }
.dx-toast__tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(56, 182, 240, .6); animation: dx-ping 2s infinite; }
.dx-toast__time { font-size: 12px; color: var(--faint); }
.dx-toast__title { font-size: 15px; font-weight: 500; color: #fff; }
.dx-toast ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: #B5C2CE; }
.dx-toast li { display: flex; align-items: center; gap: 9px; opacity: 0; transform: translateX(-6px); animation: dx-step .5s var(--ease) forwards; }
.dx-toast li:nth-child(1) { animation-delay: .9s; }
.dx-toast li:nth-child(2) { animation-delay: 1.5s; }
.dx-toast li:nth-child(3) { animation-delay: 2.1s; }
.dx-toast li svg { width: 15px; height: 15px; color: var(--blue); flex: none; }

/* Client marquee */
.dx-clients { border-block: 1px solid var(--line); padding: 28px 0; overflow: hidden; }
.dx-clients__row { display: flex; align-items: center; gap: 40px; }
.dx-clients__label { flex: none; font-size: 13px; color: var(--faint); max-width: 170px; line-height: 1.4; }
.dx-marquee { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.dx-marquee__track { display: flex; gap: 64px; width: max-content; animation: dx-marquee 38s linear infinite; }
.dx-marquee:hover .dx-marquee__track { animation-play-state: paused; }
.dx-marquee__track span { font-size: 18px; font-weight: 600; color: #7F8C99; white-space: nowrap; transition: color .2s; }
.dx-marquee__track span:hover { color: #fff; }

/* Capability cards */
.dx-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dx-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 16px; overflow: hidden; transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease); isolation: isolate; }
.dx-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(56, 182, 240, .12), transparent 45%); opacity: 0; transition: opacity .35s var(--ease); }
.dx-card:hover { transform: translateY(-4px); border-color: #2B4A60; }
.dx-card:hover::before { opacity: 1; }
.dx-card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); border: 1px solid rgba(56, 182, 240, .2); }
.dx-card__icon svg { width: 22px; height: 22px; }
.dx-card h3 { font-size: 21px; letter-spacing: -.015em; }
.dx-card p { font-size: 15px; color: var(--muted); }
.dx-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 14px; color: var(--text-2); }
.dx-card li { display: flex; gap: 10px; align-items: flex-start; }
.dx-card li::before { content: ''; flex: none; width: 5px; height: 5px; margin-top: 9px; border-radius: 50%; background: var(--blue); }
.dx-card__link { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.dx-card__link svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.dx-card:hover .dx-card__link svg { transform: translateX(4px); }
.dx-card__num { position: absolute; top: 28px; right: 30px; font-family: var(--mono); font-size: 13px; color: #4A5868; }

/* Flow (connected system) */
.dx-flow { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dx-flow__line { position: absolute; top: 50%; left: 4%; right: 4%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2) 10%, var(--line-2) 90%, transparent); z-index: 0; overflow: hidden; }
.dx-flow__line::after { content: ''; position: absolute; top: -1px; left: -20%; width: 20%; height: 3px; background: linear-gradient(90deg, transparent, var(--blue), transparent); animation: dx-travel 4s var(--ease) infinite; }
.dx-flow__step { position: relative; z-index: 1; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: border-color .3s, transform .3s var(--ease); }
.dx-flow__step:hover { transform: translateY(-3px); border-color: #2B4A60; }
.dx-flow__step--hi { border-color: var(--blue); background: #0F1D29; box-shadow: 0 0 50px -10px rgba(56, 182, 240, .35); }
.dx-flow__tag { font-family: var(--mono); font-size: 12px; color: var(--blue); letter-spacing: .06em; }
.dx-flow__step strong { font-size: 18px; font-weight: 600; color: #fff; }
.dx-flow__step span:last-child { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* Work */
.dx-feature { display: grid; grid-template-columns: 1.05fr 1fr; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; background: var(--surface); color: var(--text) !important; transition: border-color .35s var(--ease), transform .35s var(--ease); }
.dx-feature:hover { border-color: #2B4A60; transform: translateY(-4px); }
.dx-feature__media { background: radial-gradient(ellipse 60% 70% at 50% 55%, rgba(56, 182, 240, .16), transparent 70%), #121A23; display: grid; place-items: center; padding: 48px; min-height: 400px; overflow: hidden; }
.dx-feature__media img { width: 100%; max-width: 500px; transition: transform .8s var(--ease); }
.dx-feature:hover .dx-feature__media img { transform: scale(1.04); }
.dx-feature__body { padding: 56px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.dx-meta { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.dx-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; }
.dx-big strong { font-size: clamp(3.5rem, 6vw, 5rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; color: var(--blue); }
.dx-big span { font-size: 17px; color: var(--text-2); }
.dx-quote-sm { font-size: 17px; color: var(--muted); }
.dx-more { font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; color: var(--blue-hi); }
.dx-more svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.dx-feature:hover .dx-more svg, .dx-work:hover .dx-more svg { transform: translateX(4px); }
.dx-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.dx-work { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); color: var(--text) !important; display: flex; flex-direction: column; transition: border-color .35s var(--ease), transform .35s var(--ease); }
.dx-work:hover { border-color: #2B4A60; transform: translateY(-4px); }
.dx-work__img { overflow: hidden; border-bottom: 1px solid var(--line); }
.dx-work__img img { width: 100%; height: 280px; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.dx-work:hover .dx-work__img img { transform: scale(1.04); }
.dx-work__body { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.dx-work__body strong { font-size: 23px; font-weight: 600; letter-spacing: -.02em; color: #fff; line-height: 1.25; }
.dx-mini { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.dx-mini a { border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 6px; background: var(--bg); color: var(--text) !important; transition: border-color .3s, background .3s, transform .3s var(--ease); }
.dx-mini a:hover { border-color: #2B4A60; background: var(--surface); transform: translateY(-3px); }
.dx-mini strong { font-size: 17px; font-weight: 600; color: #fff; display: flex; justify-content: space-between; gap: 8px; }
.dx-mini strong svg { width: 15px; height: 15px; color: var(--blue); flex: none; margin-top: 4px; transition: transform .25s var(--ease); }
.dx-mini a:hover strong svg { transform: translate(2px, -2px); }
.dx-mini span { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* Process */
.dx-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.dx-step { position: relative; padding: 32px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.dx-step::after { content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--blue), transparent); transition: width 1.2s var(--ease) .2s; }
.dx-step.is-in::after { width: 100%; }
.dx-step__n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-family: var(--mono); font-size: 14px; color: var(--blue); background: var(--blue-soft); border: 1px solid rgba(56, 182, 240, .2); }
.dx-step small { font-family: var(--mono); font-size: 12px; color: var(--faint); letter-spacing: .06em; text-transform: uppercase; }
.dx-step h3 { font-size: 22px; }
.dx-step p { font-size: 15px; color: var(--muted); }

/* Testimonials */
.dx-quotes { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.dx-quote { border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); padding: 40px; display: flex; flex-direction: column; gap: 24px; justify-content: space-between; }
.dx-quote--main { background: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(56, 182, 240, .12), transparent 60%), var(--surface); }
.dx-quote blockquote { margin: 0; font-size: 18px; line-height: 1.55; color: var(--text); }
.dx-quote--main blockquote { font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.38; letter-spacing: -.02em; font-weight: 500; color: #fff; }
.dx-quote__who { display: flex; align-items: center; gap: 14px; }
.dx-quote__av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #172431; color: var(--blue); font-weight: 600; flex: none; }
.dx-quote__who strong { display: block; color: #fff; font-weight: 600; }
.dx-quote__who span { font-size: 14px; color: var(--faint); }
.dx-stars { color: var(--blue); letter-spacing: 2px; font-size: 15px; }
.dx-quotes__side { display: flex; flex-direction: column; gap: 20px; }

/* Industries */
.dx-ind { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; }
.dx-ind__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dx-ind__list a { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); color: var(--text) !important; font-weight: 500; transition: border-color .25s, background .25s, padding .25s var(--ease); }
.dx-ind__list a svg { width: 16px; height: 16px; color: var(--blue); transition: transform .25s var(--ease); }
.dx-ind__list a:hover { border-color: #2B4A60; background: var(--surface); }
.dx-ind__list a:hover svg { transform: translateX(4px); }

/* Offer CTA */
.dx-offer { position: relative; border-radius: var(--r-xl); overflow: hidden; border: 1px solid #263B4D; background: #0D141C; padding: 72px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; isolation: isolate; }
.dx-offer::before { content: ''; position: absolute; z-index: -1; width: 700px; height: 700px; right: -180px; top: -260px; background: radial-gradient(closest-side, rgba(56, 182, 240, .28), transparent); animation: dx-breathe 8s ease-in-out infinite; }
.dx-offer::after { content: ''; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(110deg, transparent 40%, #000); mask-image: linear-gradient(110deg, transparent 40%, #000); }
.dx-offer h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
.dx-offer__copy { display: flex; flex-direction: column; gap: 20px; }
.dx-offer__copy p { font-size: 18px; color: var(--muted); max-width: 560px; }
.dx-offer__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.dx-offer__card { background: rgba(18, 24, 33, .85); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 4px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.dx-offer__card h3 { font-size: 15px; font-family: var(--mono); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.dx-offer__card li { list-style: none; display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); color: var(--text-2); font-size: 15px; }
.dx-offer__card li:first-child { border-top: 0; }
.dx-offer__card ul { margin: 0; padding: 0; }
.dx-offer__card li svg { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 2px; }

/* Footer */
.dx-footer { background: var(--bg-deep); border-top: 1px solid var(--line); padding: 80px 0 40px; margin-top: 120px; }
.dx-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); gap: 40px; }
.dx-footer__about { display: flex; flex-direction: column; gap: 16px; font-size: 14px; color: var(--faint); max-width: 300px; }
.dx-footer__about a { color: var(--text-2) !important; }
.dx-footer h4 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.dx-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; font-size: 14px; }
.dx-footer ul a { color: var(--text-2) !important; }
.dx-footer ul a:hover { color: #fff !important; }
.dx-footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--faint); }
.dx-footer__bottom div { display: flex; gap: 24px; flex-wrap: wrap; }
.dx-footer__bottom a { color: var(--faint) !important; }
.dx-social { display: flex; gap: 10px; }
.dx-social a { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--text-2) !important; transition: border-color .2s, color .2s, transform .2s var(--ease); }
.dx-social a:hover { border-color: var(--blue); color: var(--blue) !important; transform: translateY(-2px); }
.dx-social svg { width: 17px; height: 17px; }

/* Mobile sticky offer */
.dx-sticky { display: none; }

/* Reveal on scroll */
.dx-js .dx-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.dx-js .dx-reveal.is-in { opacity: 1; transform: none; }

@keyframes dx-breathe { 0%, 100% { opacity: .85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes dx-shine { to { background-position: 200% center; } }
@keyframes dx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes dx-ping { 0% { box-shadow: 0 0 0 0 rgba(56, 182, 240, .6); } 80%, 100% { box-shadow: 0 0 0 9px rgba(56, 182, 240, 0); } }
@keyframes dx-step { to { opacity: 1; transform: none; } }
@keyframes dx-marquee { to { transform: translateX(-50%); } }
@keyframes dx-travel { 0% { left: -20%; } 100% { left: 100%; } }

/* Phone frames (hero + showcase) */
.dx-phones { position: relative; height: 560px; }
.dx-phone { position: absolute; width: 250px; aspect-ratio: 9 / 19; border-radius: 40px; padding: 9px; background: #1A212B; border: 1px solid #2E3946; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .75), inset 0 0 0 1px rgba(255, 255, 255, .04); overflow: hidden; }
.dx-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 31px; }
.dx-phone--back { right: 40px; top: 0; transform: rotate(5deg); animation: dx-float 7s ease-in-out infinite; }
.dx-phone--front { right: 230px; top: 50px; transform: rotate(-4deg); animation: dx-float 7s ease-in-out -3.5s infinite; }
.dx-visual--phones { padding: 0; }
.dx-visual--phones .dx-toast { left: auto; right: 0; bottom: 10px; z-index: 3; }

/* Showcase */
.dx-show { display: grid; grid-template-columns: 1fr 1.05fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; background: var(--surface); }
.dx-show + .dx-show { margin-top: 24px; }
.dx-show--flip { grid-template-columns: 1.05fr 1fr; }
.dx-show--flip .dx-show__media { order: -1; }
.dx-show__body { padding: 56px; display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.dx-show__body h3 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.12; }
.dx-show__body > p { color: var(--muted); font-size: 16px; }
.dx-show__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.dx-show__tags span { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); background: rgba(255, 255, 255, .02); }
.dx-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.dx-metrics div { padding: 16px; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--line); }
.dx-metrics div:first-child { border-left: 0; }
.dx-metrics strong { font-size: 26px; font-weight: 600; letter-spacing: -.03em; color: var(--blue); line-height: 1.1; }
.dx-metrics span { font-size: 12px; color: var(--faint); line-height: 1.35; }
.dx-show__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dx-show__media { position: relative; min-height: 520px; overflow: hidden; background: radial-gradient(ellipse 70% 70% at 50% 55%, rgba(56, 182, 240, .18), transparent 70%), #111821; display: flex; align-items: center; justify-content: center; padding: 48px; }
.dx-show__media .dx-browser { width: 100%; max-width: 520px; transform: none; }
.dx-show__media .dx-browser img { height: 380px; }
.dx-show:hover .dx-show__media .dx-browser { transform: translateY(-6px); }
.dx-show__media .dx-browser { transition: transform .6s var(--ease); }
.dx-show__media .dx-phone { width: 170px; right: 36px; bottom: -40px; top: auto; transform: rotate(3deg); animation: none; transition: transform .6s var(--ease); }
.dx-show:hover .dx-show__media .dx-phone { transform: rotate(0deg) translateY(-14px); }
.dx-browser__fallback { background: linear-gradient(135deg, #0F1B28, #13263A); position: relative; z-index: 1; color: transparent; }
.dx-browser--ph { position: relative; }
.dx-browser__ph { position: absolute; left: 0; right: 0; bottom: 0; top: 47px; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 600; letter-spacing: -.03em; color: #fff; background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(56, 182, 240, .2), transparent 70%), linear-gradient(135deg, #0F1B28, #13263A); }
.dx-browser__ph b { color: var(--blue); font-weight: 600; margin-left: .25em; }

/* Mid-page CTA band */
.dx-band { margin-top: 24px; border-radius: var(--r-xl); padding: 36px 40px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; background: linear-gradient(100deg, rgba(56, 182, 240, .16), rgba(56, 182, 240, .04) 60%), var(--card); border: 1px solid #2B4A60; }
.dx-band strong { display: block; font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.dx-band span { color: var(--muted); font-size: 15px; }
.dx-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Inner pages ---------- */
.dx-page-hero { position: relative; overflow: hidden; margin-top: -77px; padding: 157px 0 72px; border-bottom: 1px solid var(--line); }
.dx-page-hero::before { content: ''; position: absolute; width: 760px; height: 560px; right: -160px; top: -120px; background: radial-gradient(closest-side, rgba(56, 182, 240, .18), transparent); pointer-events: none; animation: dx-breathe 9s ease-in-out infinite; }
.dx-page-hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 0%, #000, transparent); mask-image: radial-gradient(ellipse 70% 80% at 70% 0%, #000, transparent); pointer-events: none; }
.dx-page-hero .dx-wrap { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 22px; }
.dx-page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.05; letter-spacing: -.035em; max-width: 920px; }
.dx-page-hero__lead { font-size: 19px; color: var(--muted); max-width: 720px; }
.dx-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--faint); margin: 0; padding: 0; list-style: none; }
.dx-crumbs li + li::before { content: '/'; margin-right: 8px; color: #3D4B5C; }
.dx-crumbs a { color: var(--faint) !important; }
.dx-crumbs a:hover { color: #fff !important; }
.dx-crumbs [aria-current] { color: var(--text-2); }
.dx-postmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; font-size: 14px; color: var(--faint); }
.dx-postmeta span { display: inline-flex; align-items: center; gap: 8px; }
.dx-postmeta svg { width: 15px; height: 15px; color: var(--blue); }
.dx-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.dx-badges span { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); background: rgba(255, 255, 255, .02); }

/* Article layout */
.dx-article { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; padding-top: 64px; padding-bottom: 24px; align-items: start; }
.dx-aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 16px; }
.dx-toc { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 20px; }
.dx-toc h2 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.dx-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; max-height: 52vh; overflow: auto; }
.dx-toc a { display: block; padding: 7px 10px; border-radius: 8px; font-size: 14px; line-height: 1.4; color: var(--muted) !important; border-left: 2px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.dx-toc a:hover { color: #fff !important; background: rgba(255, 255, 255, .04); }
.dx-toc a.is-active { color: #fff !important; border-left-color: var(--blue); background: rgba(56, 182, 240, .08); }
.dx-aside-cta { border: 1px solid #2B4A60; border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 12px; background: radial-gradient(ellipse 90% 80% at 100% 0%, rgba(56, 182, 240, .16), transparent 70%), var(--card); }
.dx-aside-cta strong { font-size: 17px; color: #fff; line-height: 1.3; }
.dx-aside-cta p { font-size: 14px; color: var(--muted); }
.dx-aside-cta .dx-btn { width: 100%; }
.dx-progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--blue), #8FDBFA); z-index: 101; }

/* Prose */
.dx-prose { font-size: 17.5px; line-height: 1.75; color: #C9D3DC; max-width: 760px; min-width: 0; }
.dx-prose > * + * { margin-top: 1.1em; }
.dx-prose p, .dx-prose ul, .dx-prose ol { margin: 0; }
.dx-prose * + p, .dx-prose * + ul, .dx-prose * + ol, .dx-prose * + div, .dx-prose * + table, .dx-prose * + blockquote { margin-top: 1.1em; }
.dx-prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-top: 2.2em !important; margin-bottom: .2em; scroll-margin-top: 100px; }
.dx-prose h3, .dx-prose .h3, .dx-prose .h4, .dx-prose .h5 { font-size: 1.25rem; font-weight: 600; color: #fff; letter-spacing: -.015em; line-height: 1.3; margin-top: 1.8em !important; scroll-margin-top: 100px; }
.dx-prose h4 { font-size: 1.1rem; color: #fff; margin-top: 1.6em !important; }
.dx-prose h2.h3, .dx-prose h2.h4, .dx-prose h2.h5 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-top: 2.2em !important; }
.dx-prose > :first-child, .dx-prose > :first-child > :first-child { margin-top: 0 !important; }
.dx-prose strong { color: #fff; font-weight: 600; }
.dx-prose a { color: var(--blue-hi); text-decoration: underline; text-decoration-color: rgba(108, 203, 245, .35); text-underline-offset: 3px; }
.dx-prose a:hover { text-decoration-color: currentColor; }
.dx-prose ul, .dx-prose ol { padding-left: 1.3em; }
.dx-prose li { margin-top: .45em; padding-left: .2em; }
.dx-prose ul li::marker { color: var(--blue); }
.dx-prose ol li::marker { color: var(--blue); font-family: var(--mono); font-size: .9em; }
.dx-prose .lead { font-size: 1.2em; color: var(--text); line-height: 1.6; }
.dx-prose .text-muted { color: inherit !important; }
.dx-prose .small { font-size: .9em; }
.dx-prose .bg-light, .dx-prose .card, .dx-prose .prompt-box, .dx-prose .email-example, .dx-prose .dx-callout { background: var(--surface) !important; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px !important; color: #C9D3DC !important; }
.dx-prose .bg-light > :first-child, .dx-prose .card > :first-child { margin-top: 0 !important; }
.dx-prose .border-start, .dx-prose blockquote { border: 0 !important; border-left: 3px solid var(--blue) !important; border-radius: 0 12px 12px 0; background: rgba(56, 182, 240, .06) !important; padding: 16px 22px !important; margin-left: 0; margin-right: 0; color: var(--text) !important; }
.dx-prose .bg-primary { background: radial-gradient(ellipse 80% 90% at 100% 0%, rgba(56, 182, 240, .22), transparent 70%), #0F1D29 !important; border: 1px solid #2B4A60; border-radius: var(--r-lg); padding: 32px !important; color: var(--text) !important; }
.dx-prose .bg-primary h2, .dx-prose .bg-primary h3, .dx-prose .bg-primary h4, .dx-prose .bg-primary .text-white { color: #fff !important; margin-top: 0 !important; }
.dx-prose .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 20px !important; border-radius: 12px !important; font-weight: 600; font-size: 15px; text-decoration: none !important; border: 1px solid var(--line-2); color: #fff !important; background: transparent; margin: 4px 8px 4px 0; transition: transform .25s var(--ease), background .25s, border-color .25s; }
.dx-prose .btn:hover { transform: translateY(-2px); border-color: #3D4B5C; background: rgba(255, 255, 255, .05); }
.dx-prose .btn-primary, .dx-prose .btn-secondary, .dx-prose .btn-light { background: var(--blue) !important; border-color: var(--blue) !important; color: var(--blue-ink) !important; }
.dx-prose .btn-primary:hover, .dx-prose .btn-secondary:hover, .dx-prose .btn-light:hover { background: var(--blue-hi) !important; }
.dx-prose code { font-family: var(--mono); font-size: .88em; background: #151C25; border: 1px solid var(--line); padding: 2px 6px; border-radius: 6px; color: #D7E2EC; }
.dx-prose .prompt-category, .dx-prose .email-label, .dx-prose .subject-line { font-family: var(--mono); font-size: 13px; color: var(--blue); letter-spacing: .02em; }
.dx-prose table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: 15px; }
.dx-prose th { background: var(--card); color: #fff; font-weight: 600; text-align: left; }
.dx-prose th, .dx-prose td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; background-color: transparent; color: inherit; }
.dx-prose tr:last-child td { border-bottom: 0; }
.dx-prose .table-responsive { overflow-x: auto; }
.dx-prose img { border-radius: var(--r); border: 1px solid var(--line); }
.dx-prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.dx-prose .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.dx-prose .d-flex { display: flex; flex-wrap: wrap; gap: 12px; }
.dx-prose .text-center { text-align: center; }

/* Related + end CTA */
.dx-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dx-related a { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; background: var(--surface); color: var(--text) !important; display: flex; flex-direction: column; gap: 10px; transition: border-color .3s, transform .3s var(--ease); }
.dx-related a:hover { border-color: #2B4A60; transform: translateY(-4px); }
.dx-related strong { font-size: 18px; font-weight: 600; color: #fff; line-height: 1.3; letter-spacing: -.01em; }
.dx-related p { font-size: 14px; color: var(--muted); }
.dx-related small { margin-top: auto; font-size: 13px; color: var(--faint); font-family: var(--mono); display: inline-flex; align-items: center; gap: 8px; }
.dx-related small svg { width: 14px; height: 14px; color: var(--blue); transition: transform .25s var(--ease); }
.dx-related a:hover small svg { transform: translateX(3px); }

/* Blog index */
.dx-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.dx-filter button { font: inherit; font-size: 14px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.dx-filter button:hover { border-color: #3D4B5C; color: #fff; }
.dx-filter button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--blue-ink); font-weight: 600; }
.dx-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dx-posts > a[hidden] { display: none; }
.dx-search { position: relative; max-width: 420px; width: 100%; }
.dx-search input { width: 100%; min-height: 50px; padding: 12px 16px 12px 44px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); color: #fff; font: inherit; font-size: 15px; }
.dx-search input::placeholder { color: var(--faint); }
.dx-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(56, 182, 240, .15); }
.dx-search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--faint); }

/* Local pages */
.dx-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.dx-panel { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.dx-panel h2, .dx-panel h3 { font-size: 20px; }
.dx-panel ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; color: var(--text-2); font-size: 15px; }
.dx-panel li { display: flex; gap: 10px; align-items: flex-start; }
.dx-panel li svg { width: 17px; height: 17px; color: var(--blue); flex: none; margin-top: 3px; }
.dx-panel--sticky { position: sticky; top: 100px; }
.dx-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dx-faq { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.dx-faq details { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); transition: border-color .25s; }
.dx-faq details[open] { border-color: #2B4A60; }
.dx-faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 17px; color: #fff; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.dx-faq summary::-webkit-details-marker { display: none; }
.dx-faq summary::after { content: ''; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease); }
.dx-faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.dx-faq details > div { padding: 0 24px 22px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.dx-links { display: flex; flex-wrap: wrap; gap: 10px; }
.dx-links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line); color: var(--text-2) !important; font-size: 14px; transition: border-color .2s, color .2s, background .2s; }
.dx-links a:hover { border-color: #2B4A60; color: #fff !important; background: var(--surface); }
.dx-links a svg { width: 14px; height: 14px; color: var(--blue); flex: none; transition: transform .25s var(--ease); }
.dx-links a:hover svg { transform: translateX(3px); }

/* Responsive */
@media (max-width: 1100px) {
  .dx-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dx-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dx-flow__line { display: none; }
  .dx-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dx-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dx-footer__about { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 960px) {
  .dx-nav__links, .dx-nav__cta { display: none; }
  .dx-burger { display: inline-flex; }
  .dx-nav.is-open { background: var(--bg); border-bottom-color: var(--line); max-height: 100vh; max-height: 100dvh; overflow-y: auto; }
  .dx-nav.is-open .dx-nav__inner { flex-wrap: wrap; padding-bottom: 20px; }
  .dx-nav.is-open .dx-nav__links { display: flex; flex-direction: column; align-items: stretch; order: 3; flex-basis: 100%; gap: 2px; }
  .dx-nav.is-open .dx-nav__cta { display: flex; order: 4; flex-basis: 100%; flex-direction: column; align-items: stretch; }
  .dx-nav.is-open .dx-nav__link { width: 100%; justify-content: space-between; padding: 14px; font-size: 16px; }
  .dx-menu { position: static; width: auto; grid-template-columns: 1fr; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; margin: 4px 0 8px; }
  .dx-menu.is-open { display: grid; }
  .dx-hero__grid, .dx-feature, .dx-quotes, .dx-ind, .dx-offer { grid-template-columns: 1fr; }
  .dx-hero { padding-bottom: 88px; }
  .dx-browser { transform: none; }
  .dx-steps { grid-template-columns: 1fr; }
  .dx-feature__media { min-height: 0; }
  .dx-offer { padding: 48px 32px; gap: 36px; }
  .dx-section { padding: 88px 0; }
}
@media (max-width: 640px) {
  .dx-wrap { padding: 0 16px; }
  .dx-section { padding: 72px 0; }
  .dx-hero { padding-top: 120px; }
  .dx-hero h1 { font-size: 2.45rem; }
  .dx-hero__sub { font-size: 17px; }
  .dx-hero__actions .dx-btn { width: 100%; }
  .dx-pill { border-radius: 14px; align-items: flex-start; line-height: 1.4; }
  .dx-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .dx-stats strong { font-size: 20px; }
  .dx-stats span { font-size: 12px; }
  .dx-visual { padding: 0 0 40px; }
  .dx-browser img { height: 220px; }
  .dx-toast { position: relative; width: auto; margin: -36px 12px 0; }
  .dx-grid-4, .dx-flow, .dx-grid-2, .dx-mini, .dx-ind__list { grid-template-columns: 1fr; }
  .dx-card, .dx-step, .dx-quote { padding: 26px; }
  .dx-feature__body { padding: 28px; }
  .dx-feature__media { padding: 28px; }
  .dx-work__img img { height: 200px; }
  .dx-clients__row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .dx-clients__label { max-width: none; }
  .dx-marquee { width: 100%; }
  .dx-offer { padding: 36px 22px; border-radius: var(--r-lg); }
  .dx-offer__actions .dx-btn { width: 100%; }
  .dx-footer { margin-top: 72px; padding-bottom: 110px; }
  .dx-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dx-sticky { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 12px 12px 18px; border-radius: 16px; background: rgba(18, 24, 33, .92); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .7); transform: translateY(140%); transition: transform .45s var(--ease); }
  .dx-sticky.is-on { transform: none; }
  .dx-sticky span { font-size: 14px; color: var(--text-2); line-height: 1.3; }
  .dx-sticky .dx-btn { min-height: 44px; padding: 10px 16px; font-size: 14px; flex: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dx *, .dx *::before, .dx *::after { animation: none !important; transition-duration: .01ms !important; }
  .dx-js .dx-reveal { opacity: 1; transform: none; }
  .dx-toast li { opacity: 1; transform: none; }
  .dx-browser { transform: none; }
}

/* Responsive: showcase + inner pages (kept last so they win over base rules) */
@media (max-width: 960px) {
  .dx-show, .dx-show--flip { grid-template-columns: 1fr; }
  .dx-show--flip .dx-show__media { order: 0; }
  .dx-show__media { min-height: 0; padding: 32px 24px 64px; }
  .dx-phones { height: 520px; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .dx-show__body { padding: 28px; }
  .dx-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dx-metrics div:nth-child(3) { border-left: 0; }
  .dx-metrics div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .dx-show__actions .dx-btn, .dx-band__actions .dx-btn { width: 100%; }
  .dx-show__media .dx-browser img { height: 220px; }
  .dx-show__media .dx-phone { width: 120px; right: 16px; bottom: -30px; }
  .dx-phones { height: 440px; }
  .dx-phone { width: 190px; border-radius: 32px; padding: 7px; }
  .dx-phone img { border-radius: 25px; }
  .dx-phone--back { right: 4px; }
  .dx-phone--front { right: auto; left: 4px; top: 40px; }
  .dx-visual--phones .dx-toast { position: absolute; left: 12px; right: 12px; bottom: -10px; width: auto; margin: 0; }
  .dx-band { padding: 28px 22px; }
}
@media (max-width: 960px) {
  .dx-article, .dx-split { grid-template-columns: 1fr; gap: 40px; }
  .dx-aside, .dx-panel--sticky { position: static; }
  .dx-toc { display: none; }
  .dx-related, .dx-posts, .dx-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .dx-page-hero { padding: 124px 0 48px; }
  .dx-page-hero__lead { font-size: 17px; }
  .dx-prose { font-size: 16.5px; }
  .dx-related, .dx-posts, .dx-grid-3 { grid-template-columns: 1fr; }
  .dx-panel { padding: 24px; }
}
