/* =============================================================
   DDxHelper marketing site — global styles
   Brand: navy (#0B2545) primary, teal (#13C2C2) accent.
   Mobile-first, responsive, accessible.
   ============================================================= */

:root {
    --ddx-navy-900: #0B2545;
    --ddx-navy-800: #133259;
    --ddx-navy-700: #1B3F70;
    --ddx-teal-500: #13C2C2;
    --ddx-teal-600: #0FA3A3;
    --ddx-cyan-100: #E0F7FA;
    --ddx-blue-50: #EEF4FB;
    --ddx-slate-900: #0F172A;
    --ddx-slate-700: #334155;
    --ddx-slate-500: #64748B;
    --ddx-slate-300: #CBD5E1;
    --ddx-slate-100: #F1F5F9;
    --ddx-bg-soft: #F5F8FC;
    --ddx-white: #FFFFFF;
    --ddx-shadow-sm: 0 2px 8px rgba(11, 37, 69, 0.06);
    --ddx-shadow-md: 0 10px 30px rgba(11, 37, 69, 0.08);
    --ddx-shadow-lg: 0 20px 60px rgba(11, 37, 69, 0.12);
    --ddx-radius-sm: 8px;
    --ddx-radius-md: 12px;
    --ddx-radius-lg: 18px;
    --ddx-radius-xl: 28px;
    --ddx-container: 1200px;
    --ddx-section-py: clamp(3rem, 7vw, 6rem);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--ddx-slate-900);
    background: var(--ddx-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Visually hidden for screen readers */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

/* Skip link for keyboard users */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--ddx-navy-900);
    color: #fff;
    padding: 0.75rem 1rem;
    z-index: 10000;
    border-radius: 0 0 var(--ddx-radius-sm) 0;
    font-weight: 600;
}
.skip-link:focus { left: 0; outline: 3px solid var(--ddx-teal-500); }

/* Visible focus for keyboard accessibility */
a:focus-visible, button:focus-visible, .mud-button-root:focus-visible {
    outline: 3px solid var(--ddx-teal-500);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Layout containers */
.ddx-container {
    width: 100%;
    max-width: var(--ddx-container);
    margin: 0 auto;
    padding: 0 1.25rem;
}
@media (min-width: 768px) {
    .ddx-container { padding: 0 2rem; }
}

.ddx-section { padding: var(--ddx-section-py) 0; }
.ddx-section--tight { padding: clamp(2rem, 5vw, 4rem) 0; }
.ddx-section--soft { background: var(--ddx-bg-soft); }
.ddx-section--navy {
    background: linear-gradient(135deg, var(--ddx-navy-900) 0%, var(--ddx-navy-700) 100%);
    color: #fff;
}
.ddx-section--navy h1,
.ddx-section--navy h2,
.ddx-section--navy h3 { color: #fff; }
.ddx-section--navy p { color: rgba(255,255,255,0.85); }
/* Preview cards are white even on navy sections — keep their own text colors
   (".ddx-section--navy p" otherwise outweighs the single-class soap styles). */
.ddx-section--navy .ddx-preview p { color: var(--ddx-slate-700); }
.ddx-section--navy .ddx-preview .ddx-soap__h { color: var(--ddx-teal-600); }

/* Typography helpers */
.ddx-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--ddx-teal-600);
    background: var(--ddx-cyan-100);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}
.ddx-section--navy .ddx-eyebrow {
    color: #BDF4F4;
    background: rgba(19, 194, 194, 0.18);
}

.ddx-section-title {
    font-size: clamp(1.85rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0 0 0.75rem;
}
.ddx-section-sub {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--ddx-slate-500);
    max-width: 720px;
}
.ddx-section--navy .ddx-section-sub { color: rgba(255,255,255,0.82); }

.ddx-text-center { text-align: center; }
.ddx-text-center .ddx-section-sub { margin-left: auto; margin-right: auto; }

/* ---------------------------------------------------------------
   HEADER
   --------------------------------------------------------------- */
.ddx-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--ddx-slate-100);
}
.ddx-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.ddx-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--ddx-navy-900);
    text-decoration: none;
    letter-spacing: -0.01em;
}
.ddx-logo__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--ddx-navy-900), var(--ddx-teal-500));
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
}
.ddx-nav {
    display: none;
    gap: 0.25rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .ddx-nav { display: flex; }
}
.ddx-nav__link {
    color: var(--ddx-slate-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.93rem;
    padding: 0.6rem 0.85rem;
    border-radius: 8px;
    transition: color 120ms, background 120ms;
}
.ddx-nav__link:hover { color: var(--ddx-navy-900); background: var(--ddx-blue-50); }
.ddx-nav__link.active { color: var(--ddx-navy-900); background: var(--ddx-blue-50); }

.ddx-header__cta { display: none; gap: 0.5rem; }
@media (min-width: 1024px) { .ddx-header__cta { display: inline-flex; } }
.ddx-header__hamburger { display: inline-flex; }
@media (min-width: 1024px) { .ddx-header__hamburger { display: none; } }

/* Buttons */
.ddx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 120ms, box-shadow 120ms, background 120ms;
    white-space: nowrap;
}
.ddx-btn--primary {
    background: var(--ddx-navy-900);
    color: #fff;
    box-shadow: var(--ddx-shadow-sm);
}
.ddx-btn--primary:hover { background: var(--ddx-navy-800); transform: translateY(-1px); }
.ddx-btn--accent {
    background: var(--ddx-teal-500);
    color: #00292B;
}
.ddx-btn--accent:hover { background: var(--ddx-teal-600); color: #fff; }
.ddx-btn--ghost {
    background: transparent;
    color: var(--ddx-navy-900);
    border-color: var(--ddx-slate-300);
}
.ddx-btn--ghost:hover { border-color: var(--ddx-navy-900); background: var(--ddx-blue-50); }
.ddx-btn--white {
    background: #fff;
    color: var(--ddx-navy-900);
}
.ddx-btn--white:hover { background: var(--ddx-blue-50); }
.ddx-btn--lg { padding: 0.95rem 1.4rem; font-size: 1rem; }

/* Login early-access modal */
.ddx-login-modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.58);
    z-index: 1290;
}

.ddx-login-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.ddx-login-modal__card {
    position: relative;
    width: min(100%, 620px);
    background: var(--ddx-white);
    border-radius: var(--ddx-radius-xl);
    box-shadow: var(--ddx-shadow-lg);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid var(--ddx-slate-100);
}

.ddx-login-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ddx-slate-100);
    border-radius: 999px;
    background: var(--ddx-white);
    color: var(--ddx-slate-700);
    cursor: pointer;
    font-size: 1.35rem;
    line-height: 1;
}

.ddx-login-modal__close:hover {
    background: var(--ddx-blue-50);
    color: var(--ddx-navy-900);
}

.ddx-login-modal__body {
    margin: 0;
    color: var(--ddx-slate-700);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 52ch;
}

.ddx-login-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

/* ---------------------------------------------------------------
   MOBILE NAV (drawer style, off-canvas)
   --------------------------------------------------------------- */
.ddx-mobilenav__backdrop {
    position: fixed; inset: 0;
    background: rgba(15,23,42,0.45);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
}
.ddx-mobilenav__backdrop.open { opacity: 1; pointer-events: auto; }
.ddx-mobilenav__panel {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(86vw, 360px);
    background: #fff;
    z-index: 1101;
    transform: translateX(100%);
    transition: transform 220ms ease;
    box-shadow: var(--ddx-shadow-lg);
    display: flex;
    flex-direction: column;
}
.ddx-mobilenav__panel.open { transform: translateX(0); }
.ddx-mobilenav__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--ddx-slate-100);
}
.ddx-mobilenav__links { padding: 0.75rem; display: flex; flex-direction: column; gap: 0.15rem; }
.ddx-mobilenav__link {
    display: block;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    color: var(--ddx-navy-900);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}
.ddx-mobilenav__link:hover { background: var(--ddx-blue-50); }
.ddx-mobilenav__cta { padding: 1rem 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; border-top: 1px solid var(--ddx-slate-100); }

/* ---------------------------------------------------------------
   HERO
   --------------------------------------------------------------- */
.ddx-hero {
    position: relative;
    padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem);
    background:
        radial-gradient(ellipse at 80% -20%, rgba(19,194,194,0.15), transparent 60%),
        radial-gradient(ellipse at -10% 30%, rgba(30,136,229,0.12), transparent 55%),
        linear-gradient(180deg, #FFFFFF, #F5F8FC);
    overflow-x: clip;
}
.ddx-hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}
@media (min-width: 960px) {
    .ddx-hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; }
}
.ddx-hero__title {
    font-size: clamp(2.25rem, 4.2vw, 3.6rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--ddx-navy-900);
    margin: 0.75rem 0 1rem;
}
.ddx-hero__title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--ddx-teal-600), var(--ddx-navy-700));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.ddx-hero__sub {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    color: var(--ddx-slate-500);
    line-height: 1.6;
    max-width: 580px;
    margin-bottom: 1.6rem;
}
.ddx-hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.ddx-hero__meta {
    margin-top: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--ddx-slate-500);
    font-size: 0.9rem;
}
.ddx-hero__meta-item { display: inline-flex; align-items: center; gap: 0.4rem; }
.ddx-hero__meta-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--ddx-teal-500);
}

/* Hero visual (abstract product mockup).
   Full width on small screens; oversized bleed only on two-column layouts,
   with horizontal overflow clipped by .ddx-hero. */
.ddx-hero__visual {
    position: relative;
    width: 100%;
    max-width: none;
    border-radius: var(--ddx-radius-xl);
    background: linear-gradient(135deg, #0B2545 0%, #1B3F70 60%, #13C2C2 130%);
    padding: 1.5rem;
    box-shadow: var(--ddx-shadow-lg);
    color: #fff;
    min-height: auto;
    overflow: visible;
}
@media (min-width: 960px) {
    .ddx-hero__visual { width: 175%; }
}
.ddx-hero__visual::before {
    content: "";
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.12), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(19,194,194,0.25), transparent 40%);
    pointer-events: none;
}
.ddx-mock-card {
    position: relative;
    background: rgba(255,255,255,0.96);
    color: var(--ddx-slate-900);
    border-radius: var(--ddx-radius-md);
    padding: 1rem 1.1rem;
    box-shadow: var(--ddx-shadow-md);
}
.ddx-mock-card + .ddx-mock-card { margin-top: 0.85rem; }
.ddx-mock-card__title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ddx-teal-600);
    margin: 0 0 0.4rem;
}
.ddx-mock-line {
    height: 8px;
    border-radius: 4px;
    background: var(--ddx-slate-100);
    margin: 0.35rem 0;
}
.ddx-mock-line--w70 { width: 70%; }
.ddx-mock-line--w55 { width: 55%; }
.ddx-mock-line--w90 { width: 90%; }
.ddx-mock-line--accent { background: linear-gradient(90deg, var(--ddx-teal-500), var(--ddx-navy-700)); width: 40%; }

.ddx-mock-pill {
    display: inline-block;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: var(--ddx-blue-50);
    color: var(--ddx-navy-900);
    font-weight: 600;
    margin-right: 0.25rem;
}

/* ---------------------------------------------------------------
   TRUSTED-BY strip
   --------------------------------------------------------------- */
.ddx-trusted { padding: 2.5rem 0; border-top: 1px solid var(--ddx-slate-100); border-bottom: 1px solid var(--ddx-slate-100); background: #fff; }
.ddx-trusted__label {
    text-align: center;
    color: var(--ddx-slate-500);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.25rem;
}
.ddx-trusted__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 1rem 1.5rem;
    align-items: center;
    justify-items: center;
}
@media (min-width: 640px) { .ddx-trusted__row { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 960px) { .ddx-trusted__row { grid-template-columns: repeat(6, minmax(0,1fr)); } }
.ddx-trusted__item {
    color: var(--ddx-slate-500);
    font-weight: 700;
    font-size: 0.95rem;
    opacity: 0.85;
    letter-spacing: 0.02em;
}

/* ---------------------------------------------------------------
   CARDS / GRID
   --------------------------------------------------------------- */
.ddx-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
    margin-top: 2rem;
}
@media (min-width: 640px) { .ddx-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .ddx-grid--3 { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .ddx-grid--4 { grid-template-columns: repeat(4,1fr); } }

.ddx-card {
    background: #fff;
    border: 1px solid var(--ddx-slate-100);
    border-radius: var(--ddx-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--ddx-shadow-sm);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.ddx-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--ddx-shadow-md);
    border-color: var(--ddx-slate-300);
}
.ddx-card__icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: var(--ddx-blue-50);
    color: var(--ddx-navy-900);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
}
.ddx-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    color: var(--ddx-navy-900);
}
.ddx-card__body { color: var(--ddx-slate-500); font-size: 0.95rem; line-height: 1.6; margin: 0; }

/* Workflow steps */
.ddx-steps { counter-reset: step; display: grid; gap: 1rem; margin-top: 2rem; }
.ddx-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    border: 1px solid var(--ddx-slate-100);
    border-radius: var(--ddx-radius-md);
    background: #fff;
    box-shadow: var(--ddx-shadow-sm);
}
.ddx-step__num {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ddx-navy-900), var(--ddx-teal-500));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.05rem;
}
.ddx-step__title { font-weight: 700; font-size: 1.05rem; margin: 0 0 0.3rem; color: var(--ddx-navy-900); }
.ddx-step__body { color: var(--ddx-slate-500); margin: 0; }

/* Workflow diagram (vertical flow w/ connectors) */
.ddx-flow { position: relative; margin-top: 2rem; }
.ddx-flow__node {
    background: #fff;
    border: 1px solid var(--ddx-slate-100);
    border-radius: var(--ddx-radius-md);
    padding: 1rem 1.25rem;
    box-shadow: var(--ddx-shadow-sm);
    display: flex; align-items: center; gap: 0.85rem;
}
.ddx-flow__badge {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--ddx-cyan-100);
    color: var(--ddx-teal-600);
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800;
}
.ddx-flow__connector {
    height: 24px;
    width: 2px;
    background: linear-gradient(180deg, var(--ddx-teal-500), var(--ddx-slate-300));
    margin: 0 auto;
}

/* Pricing cards */
.ddx-price {
    background: #fff;
    border: 1px solid var(--ddx-slate-100);
    border-radius: var(--ddx-radius-lg);
    padding: 1.75rem;
    display: flex; flex-direction: column; gap: 1rem;
    box-shadow: var(--ddx-shadow-sm);
    height: 100%;
}
.ddx-price--featured {
    border: 2px solid var(--ddx-teal-500);
    box-shadow: 0 16px 40px rgba(19,194,194,0.18);
    position: relative;
}
.ddx-price--featured::before {
    content: "Most popular";
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: var(--ddx-teal-500);
    color: #00292B;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
}
.ddx-price__name { font-size: 1.1rem; font-weight: 700; color: var(--ddx-navy-900); margin: 0; }
.ddx-price__amt { font-size: 2.2rem; font-weight: 800; color: var(--ddx-navy-900); margin: 0; line-height: 1; }
.ddx-price__amt small { font-size: 0.95rem; font-weight: 500; color: var(--ddx-slate-500); }
.ddx-price__desc { color: var(--ddx-slate-500); margin: 0; font-size: 0.95rem; }
.ddx-price__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.ddx-price__list li {
    display: flex; align-items: start; gap: 0.5rem;
    color: var(--ddx-slate-700); font-size: 0.92rem;
}
.ddx-section--navy .ddx-price__list li { color: rgba(255,255,255,0.9); }
.ddx-price__list li::before {
    content: "✓";
    color: var(--ddx-teal-600);
    font-weight: 800;
    flex-shrink: 0;
}

/* Resource cards (rendered as <a> when linked — suppress link styling) */
.ddx-res {
    text-decoration: none;
    color: inherit;
    display: flex; flex-direction: column;
    border-radius: var(--ddx-radius-lg);
    overflow: hidden;
    border: 1px solid var(--ddx-slate-100);
    background: #fff;
    box-shadow: var(--ddx-shadow-sm);
    height: 100%;
    transition: transform 160ms, box-shadow 160ms;
}
.ddx-res:hover { transform: translateY(-2px); box-shadow: var(--ddx-shadow-md); }
.ddx-res__media {
    height: 140px;
    background: linear-gradient(135deg, var(--ddx-navy-900), var(--ddx-teal-500));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.8rem;
}
.ddx-res__body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.ddx-res__tag { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ddx-teal-600); }
.ddx-res__title { margin: 0; font-size: 1.05rem; color: var(--ddx-navy-900); font-weight: 700; }
.ddx-res__desc { margin: 0; color: var(--ddx-slate-500); font-size: 0.92rem; }

/* Screenshot gallery cards */
.ddx-shot {
    background: #fff;
    border: 1px solid var(--ddx-slate-100);
    border-radius: var(--ddx-radius-lg);
    box-shadow: var(--ddx-shadow-sm);
    overflow: hidden;
    display: flex; flex-direction: column;
    height: 100%;
    transition: transform 160ms, box-shadow 160ms;
}
.ddx-shot:hover { transform: translateY(-2px); box-shadow: var(--ddx-shadow-md); }
.ddx-shot__imgwrap {
    display: block;
    background: var(--ddx-bg-soft);
    border-bottom: 1px solid var(--ddx-slate-100);
}
.ddx-shot__imgwrap img { display: block; width: 100%; height: auto; }
.ddx-shot__body { padding: 1.25rem; }
.ddx-shot__title { margin: 0 0 0.35rem; font-size: 1.05rem; font-weight: 700; color: var(--ddx-navy-900); }
.ddx-shot__desc { margin: 0; color: var(--ddx-slate-500); font-size: 0.92rem; line-height: 1.6; }

/* CTA banner */
.ddx-cta-banner {
    background: linear-gradient(135deg, var(--ddx-navy-900), var(--ddx-navy-700) 60%, var(--ddx-teal-600));
    color: #fff;
    border-radius: var(--ddx-radius-xl);
    padding: clamp(2rem, 4vw, 3rem);
    display: grid;
    gap: 1.5rem;
    align-items: center;
    grid-template-columns: 1fr;
    box-shadow: var(--ddx-shadow-lg);
}
@media (min-width: 820px) {
    .ddx-cta-banner { grid-template-columns: 1.4fr 1fr; }
}
.ddx-cta-banner h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin: 0 0 0.6rem; color: #fff; }
.ddx-cta-banner p { margin: 0; color: rgba(255,255,255,0.85); }
.ddx-cta-banner__actions { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: flex-start; }
@media (min-width: 820px) {
    .ddx-cta-banner__actions { justify-content: flex-end; }
}

/* FAQ */
.ddx-faq { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.5rem; }
.ddx-faq__item {
    border: 1px solid var(--ddx-slate-100);
    border-radius: var(--ddx-radius-md);
    background: #fff;
    overflow: hidden;
}
.ddx-faq__btn {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    width: 100%;
    padding: 1.1rem 1.25rem;
    background: transparent; border: 0;
    text-align: left;
    cursor: pointer;
    font-weight: 600; font-size: 1rem;
    color: var(--ddx-navy-900);
}
.ddx-faq__btn[aria-expanded="true"] { background: var(--ddx-blue-50); }
.ddx-faq__chev { transition: transform 200ms; }
.ddx-faq__btn[aria-expanded="true"] .ddx-faq__chev { transform: rotate(180deg); }
.ddx-faq__panel { padding: 0 1.25rem 1.25rem; color: var(--ddx-slate-700); line-height: 1.6; }

/* ---------------------------------------------------------------
   FOOTER
   --------------------------------------------------------------- */
.ddx-footer {
    background: var(--ddx-navy-900);
    color: rgba(255,255,255,0.78);
    padding: 4rem 0 1.5rem;
}
.ddx-footer a { color: rgba(255,255,255,0.78); text-decoration: none; }
.ddx-footer a:hover { color: #fff; }
.ddx-footer__login-btn {
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,0.78);
    font: inherit;
    font-weight: inherit;
    line-height: inherit;
    text-decoration: none;
    justify-content: flex-start;
}
.ddx-footer__login-btn:hover { color: #fff; background: transparent; transform: none; box-shadow: none; }
.ddx-footer__grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) { .ddx-footer__grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .ddx-footer__grid { grid-template-columns: 1.4fr repeat(4,1fr); } }
.ddx-footer__brand { color: #fff; }
.ddx-footer__brand h4 { color: #fff; margin: 0 0 0.6rem; font-size: 1.1rem; }
.ddx-footer__brand p { font-size: 0.9rem; line-height: 1.6; }
.ddx-footer__col h5 {
    color: #fff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 1rem;
}
.ddx-footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.92rem; }
.ddx-footer__bottom {
    margin-top: 2.5rem; padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.12);
    display: flex; flex-direction: column; gap: 0.75rem;
    font-size: 0.82rem;
}
@media (min-width: 768px) { .ddx-footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.ddx-footer__disclaimer {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    margin-top: 1rem;
    line-height: 1.55;
}

/* Cookie consent */
.ddx-cookie {
    position: fixed; left: 1rem; right: 1rem; bottom: 1rem;
    background: #fff;
    border-radius: var(--ddx-radius-lg);
    box-shadow: var(--ddx-shadow-lg);
    border: 1px solid var(--ddx-slate-100);
    padding: 1rem 1.25rem;
    z-index: 1200;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr;
    align-items: center;
}
@media (min-width: 768px) {
    .ddx-cookie { left: auto; right: 1.5rem; bottom: 1.5rem; max-width: 460px; grid-template-columns: 1fr; }
}
.ddx-cookie p { margin: 0; font-size: 0.9rem; color: var(--ddx-slate-700); }
.ddx-cookie__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* Forms */
.ddx-form {
    display: grid; gap: 1rem;
    grid-template-columns: 1fr;
}
@media (min-width: 700px) { .ddx-form--two { grid-template-columns: 1fr 1fr; } }
.ddx-form__full { grid-column: 1 / -1; }
.ddx-phi-warning {
    background: #FFF5E6;
    border: 1px solid #F2C879;
    color: #6A4500;
    padding: 0.85rem 1rem;
    border-radius: var(--ddx-radius-md);
    font-size: 0.9rem;
    line-height: 1.45;
}
.ddx-form-card {
    background: #fff;
    border: 1px solid var(--ddx-slate-100);
    border-radius: var(--ddx-radius-lg);
    box-shadow: var(--ddx-shadow-md);
    padding: clamp(1.25rem, 3vw, 2rem);
}

/* Page hero (interior pages) */
.ddx-page-hero {
    background: linear-gradient(180deg, #FFFFFF, #F5F8FC);
    padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem);
    border-bottom: 1px solid var(--ddx-slate-100);
}
.ddx-page-hero__title { font-size: clamp(1.85rem, 3.6vw, 2.75rem); font-weight: 800; letter-spacing: -0.02em; color: var(--ddx-navy-900); margin: 0.5rem 0 0.75rem; }
.ddx-page-hero__sub { font-size: 1.1rem; line-height: 1.6; color: var(--ddx-slate-500); max-width: 760px; margin: 0; }
.ddx-page-hero__sub2 {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--ddx-slate-500);
    max-width: 999px;
    margin: 0;
}

/* Preview panels (product mock previews) */
.ddx-preview {
    background: #fff;
    border-radius: var(--ddx-radius-lg);
    border: 1px solid var(--ddx-slate-100);
    box-shadow: var(--ddx-shadow-md);
    overflow: hidden;
}
.ddx-preview__head {
    padding: 0.75rem 1rem;
    background: var(--ddx-bg-soft);
    border-bottom: 1px solid var(--ddx-slate-100);
    display: flex; align-items: center; justify-content: space-between;
}
.ddx-preview__title {
    font-size: 0.85rem; font-weight: 700;
    color: var(--ddx-navy-900);
    text-transform: uppercase; letter-spacing: 0.08em;
}
.ddx-preview__body { padding: 1rem 1.25rem; }
.ddx-transcript__row { display: grid; grid-template-columns: 80px 1fr; gap: 0.75rem; padding: 0.45rem 0; }
.ddx-transcript__role { font-weight: 700; color: var(--ddx-navy-900); font-size: 0.85rem; }
.ddx-transcript__text { color: var(--ddx-slate-700); font-size: 0.92rem; line-height: 1.5; }
.ddx-soap__h { font-weight: 700; color: var(--ddx-teal-600); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; margin: 0.8rem 0 0.3rem; }
.ddx-soap__h:first-child { margin-top: 0; }
.ddx-soap__p { margin: 0; color: var(--ddx-slate-700); font-size: 0.92rem; line-height: 1.5; }
.ddx-coding { display: flex; flex-direction: column; gap: 0.5rem; }
.ddx-coding__row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.55rem 0.75rem;
    background: var(--ddx-blue-50);
    border-radius: var(--ddx-radius-sm);
}
.ddx-coding__code { font-weight: 700; color: var(--ddx-navy-900); font-family: 'Inter', monospace; }
.ddx-coding__desc { color: var(--ddx-slate-700); font-size: 0.9rem; }
.ddx-coding__conf {
    background: var(--ddx-teal-500);
    color: #00292B;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
}
.ddx-ddx-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.ddx-ddx-list li {
    display: flex; align-items: center; justify-content: space-between;
    border: 1px solid var(--ddx-slate-100);
    padding: 0.6rem 0.85rem;
    border-radius: var(--ddx-radius-sm);
}
.ddx-ddx-list li span:last-child {
    color: var(--ddx-slate-500); font-size: 0.85rem;
}

/* Utility */
.ddx-mt-1 { margin-top: 0.5rem; }
.ddx-mt-2 { margin-top: 1rem; }
.ddx-mt-3 { margin-top: 1.5rem; }
.ddx-mt-4 { margin-top: 2rem; }
.ddx-mb-3 { margin-bottom: 1.5rem; }
.ddx-flex-center { display: flex; align-items: center; justify-content: center; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0ms !important; transition-duration: 0ms !important; }
}
