/* ==========================================================================
   /solutions/ai-machine-learning — "Data to decision" (TKT-0010 track C)
   Accent: ice #7DD3FC on graphite #0A0C10. Loaded only on this page.
   Rules kept: border-box scoped to .dd, minmax(0,1fr) grids, overflow-x: clip,
   full neutral hairlines only (no one-sided edge strokes, no thin bars).
   No chat console here (that is the Dubai page's concept).
   ========================================================================== */

:root, :root > body { overflow-x: clip; overflow-y: visible; }

.dd {
    --dd-ice: #7DD3FC;
    --dd-frost: #E0F2FE;
    --dd-bg: #0A0C10;
    --dd-deep: #06080B;
    --dd-panel: rgba(125, 211, 252, .045);
    --dd-panel-2: rgba(125, 211, 252, .085);
    --dd-line: rgba(186, 230, 253, .13);
    --dd-line-2: rgba(186, 230, 253, .26);
    --dd-text: #EEF3F8;
    --dd-muted: rgba(220, 230, 240, .66);
    --dd-ease: cubic-bezier(.16, 1, .3, 1);
    position: relative;
    background: var(--dd-bg);
    color: var(--dd-text);
    overflow-x: clip;
    font-family: var(--nx-font-sans, "IBM Plex Sans", sans-serif);
}
.dd, .dd *, .dd *::before, .dd *::after { box-sizing: border-box; }
.dd img { max-width: 100%; display: block; }
.dd a { color: inherit; }
.dd p a, .dd dd a { color: var(--dd-ice); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.dd p a:hover, .dd dd a:hover { color: #fff; }
.dd a:focus-visible, .dd summary:focus-visible { outline: 2px solid var(--dd-ice); outline-offset: 3px; }

.dd-eyebrow, .dd-kicker { font-family: var(--nx-font-mono, monospace); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dd-ice); margin: 0 0 16px; }
.dd-h1 { font-family: var(--nx-font-display, sans-serif); font-weight: 600; font-size: clamp(2.1rem, 4.4vw, 3.9rem); line-height: 1.05; letter-spacing: -.035em; margin: 0; text-wrap: balance; }
.dd-hl { color: var(--dd-ice); }
.dd-h2 { font-family: var(--nx-font-display, sans-serif); font-weight: 600; font-size: clamp(1.8rem, 3.3vw, 2.8rem); line-height: 1.08; letter-spacing: -.03em; margin: 0; text-wrap: balance; }
.dd-p { margin: 18px 0 0; max-width: 64ch; font-size: clamp(1rem, 1.15vw, 1.1rem); line-height: 1.7; color: var(--dd-muted); }
.dd-p strong { color: var(--dd-text); font-weight: 600; }
.dd-lede { margin: 22px 0 0; max-width: 60ch; font-size: clamp(1.02rem, 1.25vw, 1.15rem); line-height: 1.7; color: var(--dd-muted); }

.dd-wrap { max-width: 1200px; margin: 0 auto; }
.dd-sec { padding: clamp(72px, 9vw, 128px) clamp(16px, 5vw, 64px); }
.dd-sec--deep { background: var(--dd-deep); }
.dd-head { max-width: 780px; margin: 0 0 clamp(36px, 4.5vw, 56px); }

.dd-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.dd-cta--center { justify-content: center; }
.dd-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 8px; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .35s var(--dd-ease), background .25s, border-color .25s; }
.dd .dd-btn--solid { background: var(--dd-ice); color: #04121C; }
.dd .dd-btn--solid:hover { background: var(--dd-frost); transform: translateY(-2px); }
.dd .dd-btn--line { border: 1px solid var(--dd-line-2); color: var(--dd-text); }
.dd .dd-btn--line:hover { border-color: var(--dd-ice); transform: translateY(-2px); }

/* ── HERO ─────────────────────────────────────────────────────────────── */
.dd-hero {
    padding: clamp(116px, 14vh, 156px) clamp(16px, 5vw, 64px) clamp(64px, 8vw, 110px);
    background:
        radial-gradient(55% 55% at 75% 50%, rgba(125, 211, 252, .10), transparent 70%),
        linear-gradient(rgba(186, 230, 253, .035) 1px, transparent 1px) 0 0 / 44px 44px,
        linear-gradient(90deg, rgba(186, 230, 253, .035) 1px, transparent 1px) 0 0 / 44px 44px,
        var(--dd-bg);
}
/* align start: see the CLS note in nx-sol-creative-graphics.css */
.dd-hero__grid { max-width: 1200px; margin: 0 auto; display: grid; align-items: start; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 76px); }
.dd-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--dd-muted); margin: 0 0 26px; }
.dd-crumbs a { text-decoration: none; }
.dd-crumbs a:hover { color: var(--dd-ice); }
.dd-hero__links { display: flex; flex-direction: column; gap: 10px; margin: 26px 0 0; }
.dd .dd-hero__links a { color: var(--dd-ice); text-decoration: none; font-size: 15px; width: fit-content; }
.dd .dd-hero__links a:hover { text-decoration: underline; text-underline-offset: 3px; }

.dd-field { margin: 0; min-width: 0; }
.dd-steps { list-style: none; margin: 0 0 14px; padding: 0; display: flex; gap: 8px; counter-reset: s; }
.dd-steps li { counter-increment: s; flex: 1 1 0; text-align: center; padding: 10px 8px; border-radius: 10px; font: 600 13px/1 var(--nx-font-mono, monospace); letter-spacing: .06em; text-transform: uppercase; color: var(--dd-muted); background: var(--dd-panel); border: 1px solid var(--dd-line); transition: color .4s, background .4s, border-color .4s; }
.dd-steps li::before { content: counter(s) " · "; opacity: .6; }
.dd-steps li.is-on { color: #04121C; background: var(--dd-ice); border-color: var(--dd-ice); }
.dd-stage { position: relative; aspect-ratio: 560 / 440; border-radius: 22px; overflow: hidden; background: radial-gradient(80% 80% at 50% 40%, rgba(125, 211, 252, .07), transparent 70%), #0C0F14; border: 1px solid var(--dd-line); }
.dd-still, .dd-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.dd-canvas { opacity: 0; transition: opacity .5s; }
.dd-field.is-live .dd-canvas { opacity: 1; }
.dd-field.is-live .dd-still { visibility: hidden; }
.dd-link { fill: none; stroke: rgba(125, 211, 252, .55); stroke-width: 1.5; stroke-dasharray: 4 6; }
.dd-halo { fill: rgba(125, 211, 252, .04); stroke: rgba(186, 230, 253, .18); stroke-width: 1; }
.dd-halo--on { fill: rgba(125, 211, 252, .1); stroke: rgba(125, 211, 252, .6); }
.dd-pt { fill: rgba(186, 230, 253, .45); }
.dd-pt--on { fill: var(--dd-ice); }
.dd-lbl { fill: rgba(220, 230, 240, .7); font: 500 13px var(--nx-font-mono, monospace); }
.dd-lbl--on { fill: var(--dd-ice); font-weight: 600; }
.dd-card { position: absolute; right: 4%; bottom: 5%; width: 44%; padding: 14px 16px; border-radius: 14px; background: rgba(14, 20, 28, .92); border: 1px solid rgba(125, 211, 252, .45); box-shadow: 0 20px 50px -20px rgba(125, 211, 252, .35); transition: opacity .6s var(--dd-ease), transform .6s var(--dd-ease); }
.dd-field.is-live .dd-card { opacity: 0; transform: translateY(10px); }
.dd-field.is-live.is-decided .dd-card { opacity: 1; transform: none; }
.dd-card__k { margin: 0; font: 600 11px/1.2 var(--nx-font-mono, monospace); letter-spacing: .12em; text-transform: uppercase; color: var(--dd-ice); }
.dd-card__t { margin: 6px 0 8px; font-weight: 600; font-size: 15px; }
.dd-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.dd-card li { font-size: 12.5px; color: var(--dd-muted); padding-left: 16px; position: relative; }
.dd-card li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: var(--dd-ice); }
.dd-field__cap { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--dd-muted); }

/* ── What it means ────────────────────────────────────────────────────── */
.dd-what { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.dd-what__body .dd-p:first-child { margin-top: 0; }

/* ── Capability map ───────────────────────────────────────────────────── */
.dd-map { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dd-cap { display: flex; flex-direction: column; padding: 26px 24px; border-radius: 20px; background: var(--dd-panel); border: 1px solid var(--dd-line); min-width: 0; }
.dd-cap__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.dd-cap__n { font: 600 14px/1 var(--nx-font-mono, monospace); color: var(--dd-ice); }
.dd-ready { font: 500 11.5px/1.2 var(--nx-font-mono, monospace); padding: 6px 10px; border-radius: 999px; border: 1px solid var(--dd-line-2); color: var(--dd-text); white-space: nowrap; }
.dd-ready--low { background: rgba(125, 211, 252, .08); }
.dd-ready--medium { background: rgba(125, 211, 252, .16); }
.dd-ready--high { background: rgba(125, 211, 252, .28); }
.dd-cap__t { margin: 0 0 10px; font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }
.dd-cap__p { margin: 0; font-size: 14.5px; line-height: 1.62; color: var(--dd-muted); }
.dd-cap__dl { margin: 18px 0 0; display: grid; gap: 12px; flex: 1; align-content: start; }
.dd-cap__dl div { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .025); }
.dd-cap__dl dt { font: 600 11px/1.3 var(--nx-font-mono, monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--dd-ice); margin-bottom: 4px; }
.dd-cap__dl dd { margin: 0; font-size: 14px; line-height: 1.58; color: var(--dd-muted); }
.dd-cap__proof { background: rgba(125, 211, 252, .08) !important; }
.dd-cap__proof dd { color: var(--dd-text); }

/* ── Gates ────────────────────────────────────────────────────────────── */
.dd-gates { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dd-gate { position: relative; display: flex; flex-direction: column; padding: 24px 22px; border-radius: 20px; background: var(--dd-panel); border: 1px solid var(--dd-line); }
.dd-gate:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 26px; width: 14px; text-align: center; color: var(--dd-ice); font-size: 14px; }
.dd-gate__n { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font: 600 14px/1 var(--nx-font-mono, monospace); color: #04121C; background: var(--dd-ice); margin-bottom: 16px; }
.dd-gate__t { margin: 0 0 8px; font-size: 1.15rem; font-weight: 600; }
.dd-gate__p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.6; color: var(--dd-muted); }
.dd-gate__get, .dd-gate__stop { margin: 8px 0 0; padding: 10px 12px; border-radius: 10px; font-size: 13.5px; line-height: 1.5; color: var(--dd-muted); background: rgba(255, 255, 255, .03); }
.dd-gate__get { margin-top: auto; }
.dd-gate__get b, .dd-gate__stop b { display: block; font: 600 11px/1.3 var(--nx-font-mono, monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--dd-ice); margin-bottom: 3px; }
.dd-gate__stop { background: rgba(125, 211, 252, .07); }

/* ── Buy / build / wait ───────────────────────────────────────────────── */
.dd-choose { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dd-opt { padding: 28px 26px; border-radius: 20px; background: var(--dd-panel); border: 1px solid var(--dd-line); }
.dd-opt--on { background: var(--dd-panel-2); border-color: var(--dd-line-2); }
.dd-opt h3 { margin: 0 0 10px; font-size: 1.25rem; font-weight: 600; }
.dd-opt p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--dd-muted); }

/* ── Proof ────────────────────────────────────────────────────────────── */
.dd-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dd-shot { margin: 0; border-radius: 20px; overflow: hidden; background: var(--dd-panel); border: 1px solid var(--dd-line); display: flex; flex-direction: column; min-width: 0; }
.dd-shot--wide { grid-column: span 2; }
.dd-shot img { width: 100%; height: auto; }
.dd-shot--phone { align-items: center; padding-top: 22px; }
.dd-shot--phone img { width: min(62%, 220px); border-radius: 22px; box-shadow: 0 0 0 6px #10151C, 0 0 0 7px var(--dd-line-2); aspect-ratio: 330 / 600; object-fit: cover; object-position: top; }
.dd-shot figcaption { padding: 18px 20px 20px; font-size: 14px; line-height: 1.58; color: var(--dd-muted); }
.dd-shot figcaption b { display: block; color: var(--dd-text); font-size: 15px; margin-bottom: 4px; }
.dd-case { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--dd-panel); border: 1px solid var(--dd-line); text-decoration: none; transition: border-color .3s, transform .4s var(--dd-ease); min-width: 0; }
.dd-case:hover { border-color: var(--dd-line-2); transform: translateY(-3px); }
.dd-case img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.dd-case__body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.dd-case__body h3 { margin: 0; font-size: 1.2rem; font-weight: 600; }
.dd-case__body p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--dd-muted); }
.dd .dd-case__body .dd-case__tag { font: 500 12px/1.4 var(--nx-font-mono, monospace); letter-spacing: .06em; text-transform: uppercase; color: var(--dd-ice); }
.dd-case__go { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 14px; color: var(--dd-ice); }
.dd-shot--phone { grid-column: 3; grid-row: 1 / span 2; justify-content: center; }
.dd-shot--wide { grid-row: 1; grid-column: 1 / span 2; }

/* ── Region + cost ────────────────────────────────────────────────────── */
.dd-two { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.dd-cost { padding: clamp(24px, 3vw, 34px); border-radius: 22px; background: var(--dd-panel-2); border: 1px solid var(--dd-line); }
.dd-cost__t { margin: 0 0 6px; font-size: 1.25rem; font-weight: 600; }
.dd-cost p { margin: 14px 0 0; font-size: 15px; line-height: 1.65; color: var(--dd-muted); }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.dd-faqwrap { max-width: 900px; }
.dd-faq { display: grid; gap: 10px; }
.dd-q { border-radius: 14px; background: var(--dd-panel); border: 1px solid var(--dd-line); }
.dd-q summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 600; font-size: 16px; line-height: 1.4; position: relative; }
.dd-q summary::-webkit-details-marker { display: none; }
.dd-q summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 400 24px/1 var(--nx-font-mono, monospace); color: var(--dd-ice); transition: transform .3s var(--dd-ease); }
.dd-q[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.dd-q p { margin: 0; padding: 0 22px 22px; font-size: 15px; line-height: 1.68; color: var(--dd-muted); }

/* ── End ──────────────────────────────────────────────────────────────── */
.dd-end { padding: clamp(80px, 10vw, 140px) clamp(16px, 5vw, 64px); text-align: center; background: radial-gradient(60% 70% at 50% 100%, rgba(125, 211, 252, .11), transparent 70%), var(--dd-deep); }
.dd-end .dd-p { margin-inline: auto; }
.dd-routes { margin: clamp(48px, 6vw, 72px) auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; text-align: left; }
.dd-route { display: block; padding: 18px 44px 18px 20px; border-radius: 14px; background: var(--dd-panel); border: 1px solid var(--dd-line); text-decoration: none; position: relative; font-weight: 600; font-size: 15px; line-height: 1.4; transition: border-color .25s, background .25s; }
.dd-route span { display: block; font: 500 12px/1.4 var(--nx-font-mono, monospace); color: var(--dd-ice); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 4px; }
.dd-route i { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--dd-ice); }
.dd-route:hover { border-color: var(--dd-line-2); background: var(--dd-panel-2); }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .dd-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dd-gates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dd-gate::after { display: none; }
}
@media (max-width: 900px) {
    .dd-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dd-shot--wide { grid-column: 1 / -1; grid-row: auto; }
    .dd-shot--phone { grid-column: auto; grid-row: auto; }
    .dd-hero__grid, .dd-what, .dd-two { grid-template-columns: minmax(0, 1fr); }
    .dd-choose { grid-template-columns: minmax(0, 1fr); }
    .dd-routes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .dd-map, .dd-proof, .dd-gates, .dd-routes { grid-template-columns: minmax(0, 1fr); }
    .dd-proof { grid-template-columns: minmax(0, 1fr); }
    .dd-shot--wide, .dd-shot--phone { grid-column: auto; grid-row: auto; }
    .dd-steps li { font-size: 11.5px; padding: 9px 4px; }
    .dd-card { width: 56%; padding: 10px 12px; }
    .dd-card__t { font-size: 13.5px; margin: 4px 0 6px; }
    .dd-card li { font-size: 11.5px; }
    .dd-lbl { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
    .dd *, .dd *::before, .dd *::after { transition: none !important; }
}

/* CLS: reserve the shared header logo's width before the PNG decodes. The <img> in
   includes/header/menu.php has no width/height; logo-light.png is 118 x 125. */
img.nx-nav__logo { aspect-ratio: 118 / 125; }
