/* DxWork - shared styles for every page.
   Look and feel follows the DxWork.io website: white ground (black in dark mode), sticky translucent header,
   Tailwind-style gray/slate text scale, blue-600 primary actions, rounded-lg cards with gray-200 borders and
   subtle shadows, soft tinted icon tiles, gray-50 alternate bands and a blue-to-purple gradient CTA panel.
   Brand mark: three stacked rounded squares #38BDF8 / #0EA5E9 / #0284C7. */
:root {
  --bg: #FFFFFF;            /* page */
  --surface: #FFFFFF;       /* cards */
  --surface-2: #F9FAFB;     /* gray-50: alternate bands, table heads, tab tracks */
  --surface-alt: #FFFFFF;   /* cards placed on an alternate band */
  --ink: #111827;           /* gray-900 */
  --ink-2: #374151;         /* gray-700 */
  --muted: #4B5563;         /* gray-600 */
  --subtle: #6B7280;        /* gray-500 */
  --accent: #2563EB;        /* blue-600 */
  --accent-hover: #1D4ED8;  /* blue-700 */
  --accent-soft: #EFF6FF;   /* blue-50 */
  --accent-soft-2: #DBEAFE; /* blue-100 */
  --accent-ink: #2563EB;
  --purple: #9333EA;
  --silver: #9CA3AF;        /* gray-400 */
  --line: #E5E7EB;          /* gray-200 */
  --line-strong: #D1D5DB;   /* gray-300 */
  --hover: #F9FAFB;
  --ok: #16A34A;
  --btn-dark: #000000; --btn-dark-ink: #FFFFFF; --btn-dark-hover: #1F2937;
  --tile-blue-bg: #DBEAFE;   --tile-blue: #2563EB;
  --tile-purple-bg: #F3E8FF; --tile-purple: #9333EA;
  --tile-green-bg: #DCFCE7;  --tile-green: #16A34A;
  --tile-orange-bg: #FFEDD5; --tile-orange: #EA580C;
  --tile-pink-bg: #FCE7F3;   --tile-pink: #DB2777;
  --tile-indigo-bg: #E0E7FF; --tile-indigo: #4F46E5;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --font-display: var(--font-body);
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --step-3: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
  --step-4: clamp(2.25rem, 1.6rem + 2.9vw, 3.75rem);
  --radius: 8px;
  --gutter: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000; --surface: #171717; --surface-2: #171717; --surface-alt: #000000;
    --ink: #FFFFFF; --ink-2: #D4D4D4; --muted: #A3A3A3; --subtle: #A3A3A3;
    --accent: #2563EB; --accent-hover: #3B82F6; --accent-soft: #172554; --accent-soft-2: #172554; --accent-ink: #60A5FA;
    --silver: #737373; --line: #262626; --line-strong: #404040; --hover: #262626; --ok: #4ADE80;
    --btn-dark: #FFFFFF; --btn-dark-ink: #000000; --btn-dark-hover: #F3F4F6;
    --tile-blue-bg: #172554;   --tile-blue: #60A5FA;
    --tile-purple-bg: #3B0764; --tile-purple: #C084FC;
    --tile-green-bg: #052E16;  --tile-green: #4ADE80;
    --tile-orange-bg: #431407; --tile-orange: #FB923C;
    --tile-pink-bg: #500724;   --tile-pink: #F472B6;
    --tile-indigo-bg: #1E1B4B; --tile-indigo: #818CF8;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.6); --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.7); --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000000; --surface: #171717; --surface-2: #171717; --surface-alt: #000000;
  --ink: #FFFFFF; --ink-2: #D4D4D4; --muted: #A3A3A3; --subtle: #A3A3A3;
  --accent: #2563EB; --accent-hover: #3B82F6; --accent-soft: #172554; --accent-soft-2: #172554; --accent-ink: #60A5FA;
  --silver: #737373; --line: #262626; --line-strong: #404040; --hover: #262626; --ok: #4ADE80;
  --btn-dark: #FFFFFF; --btn-dark-ink: #000000; --btn-dark-hover: #F3F4F6;
  --tile-blue-bg: #172554;   --tile-blue: #60A5FA;
  --tile-purple-bg: #3B0764; --tile-purple: #C084FC;
  --tile-green-bg: #052E16;  --tile-green: #4ADE80;
  --tile-orange-bg: #431407; --tile-orange: #FB923C;
  --tile-pink-bg: #500724;   --tile-pink: #F472B6;
  --tile-indigo-bg: #1E1B4B; --tile-indigo: #818CF8;
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.6); --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.7); --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.5; -webkit-font-smoothing: antialiased;
  transition: background-color .2s ease, color .2s ease;
}
img { max-width: 100%; }
[hidden] { display: none !important; }
.wrap {
  width: 100%; max-width: 1280px; margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0; text-wrap: balance; color: var(--ink); font-weight: 600; }
p { margin: 0; }
a { color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 60; background: var(--surface); color: var(--ink); padding: 10px 14px; border-radius: 8px; border: 1px solid var(--line); }
.skip:focus { left: 12px; }
/* small pill label above headings (DxWork "Introducing ..." badge) */
.eyebrow {
  justify-self: start; width: fit-content; display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 500; line-height: 1rem; color: var(--accent-ink);
  background: var(--accent-soft); border-radius: 999px; padding: 4px 12px;
}
.placeholder { border-bottom: 1px dashed var(--silver); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 8px;
  border: 1px solid transparent; padding: 12px 24px; font: 500 1rem/1.5rem var(--font-body);
  text-decoration: none; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, opacity .15s ease, box-shadow .15s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
:root[data-theme="dark"] .btn-secondary { background: #262626; border-color: #404040; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-secondary { background: #262626; border-color: #404040; } }
.btn-secondary:hover { background: var(--hover); }
.btn-dark { background: var(--btn-dark); color: var(--btn-dark-ink); padding: 8px 20px; font-size: 0.875rem; line-height: 1.25rem; box-shadow: var(--shadow-sm); }
.btn-dark:hover { background: var(--btn-dark-hover); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* header + navigation (DxWork: sticky, white/95 + blur, gray-200 border, shadow-sm, h-16) */
header.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--bg) 95%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
header.top .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; transition: opacity .15s ease; }
.brand:hover { opacity: 0.8; }
.brand img { width: 36px; height: 34px; display: block; }
.brand .word { font-weight: 600; font-size: 1.125rem; line-height: 1.75rem; color: var(--ink); letter-spacing: -0.01em; }
.brand .word small { font-size: inherit; font-weight: inherit; color: inherit; }
nav.links { display: flex; align-items: center; gap: 4px; flex: 1; }
nav.links a.nav { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 0.875rem; line-height: 1.25rem; padding: 8px 12px; border-radius: 6px; transition: background-color .15s ease, color .15s ease; }
nav.links a.nav:hover { background: var(--hover); }
nav.links a.nav[aria-current="page"] { color: var(--accent-ink); background: var(--accent-soft); }
nav.links .btn { margin-left: auto; }
.left { display: flex; align-items: center; gap: 32px; flex: 1; min-width: 0; }
.tools { display: flex; align-items: center; gap: 4px; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 6px; border: 0; background: transparent;
  color: var(--muted); display: grid; place-items: center; cursor: pointer; transition: background-color .15s ease, color .15s ease;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--hover); color: var(--ink); }
.menu-btn { display: none; }
.menu-btn .x { display: none; }
header.top.open .menu-btn .bars { display: none; }
header.top.open .menu-btn .x { display: block; }
.theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .sun { display: none; }
  :root:not([data-theme="light"]) .theme-btn .moon { display: block; }
}
@media (min-width: 1024px) { header.top .bar { gap: 24px; } }
@media (max-width: 1023px) {
  .menu-btn { display: grid; }
  nav.links { display: none; }
  header.top.open nav.links {
    display: grid; gap: 4px; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    padding: 16px max(var(--gutter), env(safe-area-inset-right, 0px)) 20px max(var(--gutter), env(safe-area-inset-left, 0px));
  }
  header.top.open nav.links a.nav { padding: 12px 16px; border-radius: 8px; font-size: 1rem; line-height: 1.5rem; }
  header.top.open nav.links .btn { margin: 12px 0 0; padding: 12px 20px; font-size: 1rem; }
}

/* home hero (DxWork: centered, generous whitespace, gradient brand word) */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 50% 0%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 70%); }
.hero .wrap { position: relative; display: grid; justify-items: center; text-align: center; padding-block: 48px 64px; }
@media (min-width: 640px) { .hero .wrap { padding-block: 80px 88px; } }
.hero-copy { display: grid; gap: 24px; justify-items: center; max-width: 48rem; min-width: 0; }
.hero h1 { font-size: var(--step-4); font-weight: 500; line-height: 1.1; letter-spacing: -0.025em; }
.grad, .hero h1 span { background: linear-gradient(90deg, #2563EB, #9333EA); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 42rem; }
.ctas { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
@media (max-width: 639px) { .hero .ctas { flex-direction: column; justify-self: stretch; } .hero .ctas .btn { width: 100%; } }
.hero .meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; font-size: 0.875rem; color: var(--subtle); padding-top: 4px; }
.hero .meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero .meta span::before { content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: var(--tile-green-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2316A34A' stroke-width='2.4'%3E%3Cpath d='M4.5 8.5l2.2 2.2L11.5 6'/%3E%3C/svg%3E") center/12px no-repeat; }

/* inner page header (DxWork about page: centered title + gray lead on white) */
.page-head { background: var(--bg); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-head::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(560px 240px at 50% 0%, color-mix(in srgb, var(--accent) 6%, transparent), transparent 70%); }
.page-head .wrap { position: relative; z-index: 1; padding-block: 48px 48px; display: grid; gap: 16px; justify-items: center; text-align: center; }
@media (min-width: 640px) { .page-head .wrap { padding-block: 72px 64px; } }
.page-head h1 { font-size: var(--step-3); font-weight: 600; letter-spacing: -0.02em; max-width: 24ch; }
.page-head p { color: var(--muted); max-width: 42rem; font-size: 1.0625rem; line-height: 1.65; }
.crumbs { font-size: 0.8125rem; color: var(--subtle); }
.crumbs a { color: var(--subtle); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* value strip */
.pillars { position: relative; z-index: 2; }
.pillars .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pillar { padding: 24px; display: grid; grid-template-columns: 48px 1fr; gap: 4px 16px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s ease; }
.pillar:hover { box-shadow: var(--shadow-lg); }
.pillar .ic { grid-row: span 2; width: 48px; height: 48px; border-radius: 8px; display: grid; place-items: center; background: var(--tile-blue-bg); color: var(--tile-blue); }
.pillar:nth-child(2) .ic { background: var(--tile-purple-bg); color: var(--tile-purple); }
.pillar:nth-child(3) .ic { background: var(--tile-green-bg); color: var(--tile-green); }
.pillar .ic svg { width: 24px; height: 24px; }
.pillar h3 { font-size: 1.0625rem; font-weight: 600; }
.pillar p { color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 900px) { .pillars .grid { grid-template-columns: 1fr; gap: 16px; } }

/* sections */
section.block > .wrap { padding-block: 64px; display: grid; gap: 40px; }
@media (min-width: 640px) { section.block > .wrap { padding-block: 80px; gap: 48px; } }
.section-head { display: grid; gap: 12px; max-width: 720px; }
.section-head.center { text-align: center; justify-items: center; margin-inline: auto; }
.section-head.center .eyebrow, .hero .eyebrow, .page-head .eyebrow { justify-self: center; }
.section-head h2 { font-size: var(--step-3); font-weight: 600; letter-spacing: -0.02em; }
.section-head p { color: var(--muted); font-size: 1.0625rem; max-width: 42rem; }
.alt { background: var(--surface-2); --surface: var(--surface-alt); }
.more { display: flex; justify-content: center; }

/* service / product cards */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  display: grid; gap: 12px; align-content: start; position: relative; color: var(--ink); text-decoration: none;
  transition: box-shadow .2s ease, border-color .2s ease; }
.svc:hover { box-shadow: var(--shadow-lg); }
.ic-tile { width: 48px; height: 48px; border-radius: 8px; display: grid; place-items: center; background: var(--tile-blue-bg); color: var(--tile-blue); }
.ic-tile svg { width: 24px; height: 24px; }
.services > :nth-child(6n+2) .ic-tile, .svc-detail:nth-of-type(6n+2) .ic-tile { background: var(--tile-purple-bg); color: var(--tile-purple); }
.services > :nth-child(6n+3) .ic-tile, .svc-detail:nth-of-type(6n+3) .ic-tile { background: var(--tile-green-bg); color: var(--tile-green); }
.services > :nth-child(6n+4) .ic-tile, .svc-detail:nth-of-type(6n+4) .ic-tile { background: var(--tile-orange-bg); color: var(--tile-orange); }
.services > :nth-child(6n+5) .ic-tile, .svc-detail:nth-of-type(6n+5) .ic-tile { background: var(--tile-pink-bg); color: var(--tile-pink); }
.services > :nth-child(6n) .ic-tile, .svc-detail:nth-of-type(6n) .ic-tile { background: var(--tile-indigo-bg); color: var(--tile-indigo); }
.svc h3 { font-size: 1.125rem; font-weight: 600; }
.svc p { color: var(--muted); }
.dots { margin: 2px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.dots li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; align-items: start; font-size: 0.9375rem; color: var(--ink-2); }
.dots li::before { content: ""; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%;
  background: var(--tile-green-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2316A34A' stroke-width='2.4'%3E%3Cpath d='M4.5 8.5l2.2 2.2L11.5 6'/%3E%3C/svg%3E") center/12px no-repeat; }
.svc .go { font-weight: 500; color: var(--accent-ink); font-size: 0.9375rem; display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 980px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* five cards: 3 on top, last 2 centred underneath */
.services.five { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.services.five > * { grid-column: span 2; }
.services.five > :nth-child(4) { grid-column: 2 / span 2; }
@media (max-width: 980px) { .services.five { grid-template-columns: repeat(2, minmax(0, 1fr)); } .services.five > *, .services.five > :nth-child(4) { grid-column: auto; } .services.five > :nth-child(5) { grid-column: 1 / -1; } }
@media (max-width: 640px) { .services, .services.five { grid-template-columns: 1fr; gap: 16px; } .services.five > :nth-child(5) { grid-column: auto; } }

/* why + SLA */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.why-copy { display: grid; gap: 20px; min-width: 0; }
.why-copy h2 { font-size: var(--step-3); font-weight: 600; letter-spacing: -0.02em; }
.why-copy > p { color: var(--muted); font-size: 1.0625rem; }
.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.tick { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--tile-green-bg); color: var(--tile-green); }
.tick svg { width: 14px; height: 14px; }
.checks b { display: block; font-weight: 600; }
.checks span.d { color: var(--muted); font-size: 0.9375rem; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; min-width: 0; }
.panel-head { padding: 16px 24px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.panel-head h3 { font-size: 1rem; font-weight: 600; }
.panel-head span { font-size: 0.75rem; color: var(--subtle); }
.panel-foot { padding: 12px 24px; font-size: 0.8125rem; color: var(--subtle); border-top: 1px solid var(--line); }
.scroll-x { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--subtle); font-weight: 600; background: var(--surface-2); }
.alt th { background: var(--bg); }
td { font-variant-numeric: tabular-nums; color: var(--ink-2); }
tr:last-child td { border-bottom: 0; }
.prio { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.prio i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.p1 i { background: #EF4444; } .p2 i { background: #F59E0B; } .p3 i { background: #2563EB; } .p4 i { background: var(--silver); }
@media (max-width: 960px) { .why { grid-template-columns: 1fr; gap: 36px; } }

/* approach (DxWork "How it works": coloured numbered circles) */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step { display: grid; gap: 10px; align-content: start; justify-items: center; text-align: center; padding: 8px 12px; }
.step .num { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 500; font-size: 1.125rem; color: #fff; background: #2563EB; margin-bottom: 6px; }
.step:nth-child(2) .num { background: #9333EA; }
.step:nth-child(3) .num { background: #16A34A; }
.step:nth-child(4) .num { background: #EA580C; }
.step h3 { font-size: 1.0625rem; font-weight: 600; }
.step p { color: var(--muted); font-size: 0.9375rem; }
.step .out { font-size: 0.75rem; font-weight: 500; color: var(--accent-ink); background: var(--accent-soft); border-radius: 999px; padding: 4px 12px; margin-top: 4px; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* industries + engagement models */
.industries { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.ind { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 20px 12px; display: grid; justify-items: center; gap: 10px; text-align: center; transition: box-shadow .2s ease; }
.ind:hover { box-shadow: var(--shadow-lg); }
.ind svg { width: 40px; height: 40px; padding: 9px; border-radius: 8px; color: var(--tile-blue); background: var(--tile-blue-bg); }
.ind span { font-weight: 500; font-size: 0.875rem; color: var(--ink); }
@media (max-width: 980px) { .industries { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.model { border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; border: 1px solid var(--line); background: var(--surface); }
.model.featured { border: 0; color: #fff; background: linear-gradient(135deg, #2563EB, #9333EA); box-shadow: var(--shadow-xl); }
.model .tag { justify-self: start; font-size: 0.75rem; font-weight: 500; color: var(--accent-ink); background: var(--accent-soft); border-radius: 999px; padding: 2px 10px; }
.model.featured .tag { color: #fff; background: rgba(255, 255, 255, 0.2); }
.model h3 { font-size: 1.125rem; font-weight: 600; }
.model p { color: var(--muted); }
.model.featured h3, .model.featured .best { color: #fff; }
.model.featured p { color: #DBEAFE; }
.model .best { font-size: 0.875rem; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 12px; }
.model.featured .best { border-top-color: rgba(255, 255, 255, 0.25); }
@media (max-width: 900px) { .models { grid-template-columns: 1fr; } }

/* services page: one section per service */
.svc-detail { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; scroll-margin-top: 88px; }
.svc-detail + .svc-detail { border-top: 1px solid var(--line); padding-top: 56px; }
.svc-detail .intro { display: grid; gap: 16px; min-width: 0; }
.svc-detail h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 1.875rem); font-weight: 600; letter-spacing: -0.02em; }
.svc-detail .intro p { color: var(--muted); }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; min-width: 0; }
.mini { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; align-content: start; }
.mini h3 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--subtle); font-weight: 600; }
@media (max-width: 900px) { .svc-detail { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 560px) { .cols-2 { grid-template-columns: 1fr; } }
.toc { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { border: 1px solid var(--line); background: var(--surface); border-radius: 6px; padding: 8px 14px; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 0.875rem; transition: background-color .15s ease; }
.toc a:hover { background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 500; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/20px no-repeat; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { color: var(--muted); padding-bottom: 16px; }

/* about */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.prose { display: grid; gap: 16px; max-width: 68ch; min-width: 0; }
.prose p, .prose li { color: var(--muted); line-height: 1.7; }
.prose h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 1.875rem); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); margin-top: 8px; }
.prose h3 { font-size: 1.125rem; font-weight: 600; color: var(--ink); margin-top: 6px; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 8px; }
.value:nth-child(4n+1) { background: linear-gradient(135deg, #EFF6FF, #FAF5FF); border-color: transparent; }
.value:nth-child(4n+4) { background: linear-gradient(135deg, #FAF5FF, #FDF2F8); border-color: transparent; }
:root[data-theme="dark"] .value:nth-child(4n+1), :root[data-theme="dark"] .value:nth-child(4n+4) { background: var(--surface); border-color: var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .value:nth-child(4n+1), :root:not([data-theme="light"]) .value:nth-child(4n+4) { background: var(--surface); border-color: var(--line); } }
.value h3 { font-size: 1.0625rem; font-weight: 600; }
.value p { color: var(--muted); font-size: 0.9375rem; }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.person { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 4px; justify-items: start; }
.avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, #2563EB, #9333EA); margin-bottom: 10px; }
.person:nth-child(2) .avatar { background: linear-gradient(135deg, #0EA5E9, #2563EB); }
.person:nth-child(3) .avatar { background: linear-gradient(135deg, #DB2777, #9333EA); }
.person:nth-child(4) .avatar { background: linear-gradient(135deg, #16A34A, #0EA5E9); }
.person b { font-size: 1rem; font-weight: 600; }
.person span { color: var(--muted); font-size: 0.875rem; }
.person .avatar { color: #fff; font-size: 1rem; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 12px 16px; color: var(--muted); font-weight: 500; font-size: 0.9375rem; background: var(--surface); }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 32px; } .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .values, .team { grid-template-columns: 1fr; } }

/* CTA band (DxWork: blue-600 -> purple-600 gradient panel, rounded-2xl, centered, white button) */
.band { padding-block: 48px 80px; background: var(--bg); }
.band .wrap { position: relative; }
.band .wrap > * { position: relative; z-index: 1; }
.band .wrap::before { content: ""; position: absolute; z-index: 0; inset: 0 max(var(--gutter), env(safe-area-inset-right, 0px)) 0 max(var(--gutter), env(safe-area-inset-left, 0px));
  border-radius: 16px; background: linear-gradient(90deg, #2563EB, #9333EA); box-shadow: var(--shadow-xl); }
.band .wrap { display: grid; justify-items: center; text-align: center; gap: 28px; padding-block: 48px; }
.band .wrap > div { padding-inline: 24px; }
@media (min-width: 640px) { .band .wrap { padding-block: 56px; } .band .wrap > div { padding-inline: 48px; } }
.band h2 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); font-weight: 600; letter-spacing: -0.02em; max-width: 30ch; margin-inline: auto; }
.band p { color: #DBEAFE; margin: 12px auto 0; max-width: 42rem; font-size: 1.0625rem; }
.band .btn-primary, .band .btn { background: #fff; color: #111827; font-weight: 500; border-color: #fff; }
.band .btn-primary:hover, .band .btn:hover { background: #F3F4F6; }

/* contact + forms */
.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 20px; min-width: 0; }
.contact-info h2 { font-size: var(--step-3); font-weight: 600; letter-spacing: -0.02em; }
.contact-info > p { color: var(--muted); }
.contact-info dl { margin: 0; display: grid; gap: 16px; }
.contact-info .item { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; }
.contact-info .ic { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: var(--tile-blue-bg); color: var(--tile-blue); }
.contact-info .item:nth-child(2) .ic { background: var(--tile-purple-bg); color: var(--tile-purple); }
.contact-info .item:nth-child(3) .ic { background: var(--tile-green-bg); color: var(--tile-green); }
.contact-info .ic svg { width: 20px; height: 20px; }
.contact-info dt { font-size: 0.75rem; color: var(--subtle); }
.contact-info dd { margin: 2px 0 0; font-weight: 500; user-select: all; overflow-wrap: anywhere; }
.hours { font-size: 0.875rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
form.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 18px; min-width: 0; box-shadow: var(--shadow); }
@media (min-width: 640px) { form.card { padding: 32px; } }
.field { display: grid; gap: 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { font-weight: 500; font-size: 0.875rem; color: var(--ink-2); }
input, select, textarea { font: inherit; font-size: 0.9375rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 8px; padding: 10px 12px; width: 100%; transition: border-color .15s ease, box-shadow .15s ease; }
input::placeholder, textarea::placeholder { color: var(--silver); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
textarea { min-height: 120px; resize: vertical; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-weight: 400; font-size: 0.875rem; color: var(--muted); }
.consent input { width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--accent); }
.form-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.form-note { font-size: 0.8125rem; color: var(--subtle); }
.msg { border-radius: 8px; padding: 12px 14px; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); }
.msg.ok { border-color: var(--ok); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .row2 { grid-template-columns: 1fr; } }

/* payments */
.pay { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.pay .methods { display: flex; flex-wrap: wrap; gap: 8px; }
.pay .methods span { font-size: 0.75rem; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; color: var(--muted); background: var(--surface); }
.summary { display: grid; gap: 10px; }
.summary .line { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; color: var(--muted); }
.summary .line.total { color: var(--ink); font-weight: 600; font-size: 1.125rem; border-top: 1px solid var(--line); padding-top: 12px; }
.secure { display: flex; gap: 12px; align-items: flex-start; font-size: 0.875rem; color: var(--muted); }
.secure svg { width: 20px; height: 20px; color: var(--ok); flex: none; margin-top: 1px; }
@media (max-width: 900px) { .pay { grid-template-columns: 1fr; } }

/* payment methods: UPI + bank transfer */
.pay-methods { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; align-items: start; }
.pay-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 22px; min-width: 0; scroll-margin-top: 88px; }
.pay-card-head { display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center; }
.pay-card-head h2 { font-size: 1.25rem; font-weight: 600; }
.pay-card-head p { color: var(--subtle); font-size: 0.875rem; }
.chip { font-size: 0.75rem; font-weight: 500; border-radius: 999px; padding: 4px 10px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.chip.ok { color: var(--tile-green); border-color: transparent; background: var(--tile-green-bg); }
.upi-body { display: grid; grid-template-columns: 170px 1fr; gap: 24px; align-items: start; }
.qr-placeholder { aspect-ratio: 1; width: 100%; max-width: 170px; border: 2px dashed var(--line-strong); border-radius: var(--radius); display: grid; place-items: center; align-content: center; gap: 10px;
  color: var(--muted); text-align: center; font-size: 0.8125rem; background: var(--surface-2); }
.qr-placeholder svg { width: 40px; height: 40px; color: var(--accent-ink); }
.copy-list { display: grid; gap: 4px; min-width: 0; }
.copy-row { display: grid; grid-template-columns: 130px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.copy-row .k { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--subtle); font-weight: 500; }
.copy-row .v { font-weight: 500; min-width: 0; overflow-wrap: anywhere; user-select: all; }
.copy-row .v.mono { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.02em; }
.copy-btn { font: 500 0.8125rem/1 var(--font-body); color: var(--ink-2); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 6px; padding: 7px 12px; cursor: pointer; }
.copy-btn:hover { background: var(--hover); }
.copy-btn.done { color: var(--ok); border-color: var(--ok); }
.how { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 6px; color: var(--muted); font-size: 0.9375rem; }
.pay-note { color: var(--muted); font-size: 0.875rem; padding-top: 12px; }
.after-pay { display: grid; grid-template-columns: 24px 1fr; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.after-pay b { display: block; margin-bottom: 4px; font-weight: 600; }
.after-pay .d { color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 980px) { .pay-methods { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .upi-body { grid-template-columns: 1fr; justify-items: center; }
  .upi-body .copy-list { justify-self: stretch; }
  .copy-row { grid-template-columns: 1fr auto; }
  .copy-row .k { grid-column: 1 / -1; }
  .pay-card-head { grid-template-columns: 48px 1fr; }
  .pay-card-head .chip { grid-column: 2; justify-self: start; }
}

/* checkout (payments page) */
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-top: 4px; font-size: 0.875rem; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--tile-green); }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.checkout-main { display: grid; gap: 24px; min-width: 0; }
.step-card { gap: 20px; }
.step-title { display: flex; align-items: center; gap: 12px; }
.step-title h2 { font-size: 1.125rem; font-weight: 600; }
.step-no { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 500 0.875rem/1 var(--font-body);
  color: #fff; background: var(--accent); flex: none; }
.opt { font-weight: 400; color: var(--subtle); }
.amount-input { display: grid; grid-template-columns: auto 1fr; align-items: center; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--bg); overflow: hidden; }
.amount-input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.amount-input span { padding: 0 4px 0 12px; font-weight: 600; color: var(--subtle); }
.amount-input input { border: 0; box-shadow: none !important; padding-left: 4px; font-variant-numeric: tabular-nums; font-weight: 500; }
.tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; }
:root[data-theme="dark"] .tabs { background: var(--bg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tabs { background: var(--bg); } }
.tabs button { font: 500 0.875rem/1.25rem var(--font-body); color: var(--muted); background: transparent; border: 0; border-radius: 6px; padding: 9px 10px; cursor: pointer; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.tab-panel { display: grid; gap: 16px; }
.brand-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-logo { height: 44px; min-width: 60px; padding: 0 10px; border-radius: 6px; background: #FFFFFF; border: 1px solid #E5E7EB;
  display: inline-grid; place-items: center; }
.pay-logo img { height: 28px; width: auto; max-width: 64px; display: block; }
.pay-logo.text { font: 700 0.875rem/1 var(--font-body); color: #111827; letter-spacing: 0.01em; }
.pay-logo.upi { color: #097939; font-style: italic; font-weight: 800; }
.panel-note { color: var(--muted); font-size: 0.875rem; }
.btn-pay { width: 100%; padding: 14px 22px; font-size: 1rem; }
.secured { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--subtle); font-size: 0.8125rem; }
.secured img { height: 16px; width: auto; background: #FFFFFF; border-radius: 4px; padding: 2px; }
.secured b { color: var(--ink); font-weight: 600; }
.summary-card { position: sticky; top: calc(88px + env(safe-area-inset-top, 0px)); }
.receipt { gap: 18px; border-color: var(--ok); }
.receipt-head { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; }
.receipt-head h2 { font-size: 1.25rem; font-weight: 600; }
.receipt-head p { color: var(--muted); }
.tick.big { width: 48px; height: 48px; }
.tick.big svg { width: 24px; height: 24px; }
.mono { font-family: var(--font-mono); }
@media (max-width: 980px) { .checkout { grid-template-columns: 1fr; } .summary-card { position: static; order: -1; } }
@media (max-width: 560px) { .tabs { grid-template-columns: 1fr; } }

/* 404 */
.notfound { padding-block: 96px; display: grid; gap: 18px; justify-items: center; text-align: center; }
.notfound .code { font-weight: 600; font-size: clamp(4rem, 3rem + 6vw, 7rem); line-height: 1; letter-spacing: -0.04em;
  background: linear-gradient(90deg, #2563EB, #9333EA); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* footer (DxWork: gray-50, top border, 4 columns, small gray links, copyright row) */
footer.site { background: var(--surface-2); color: var(--muted); border-top: 1px solid var(--line); }
:root[data-theme="dark"] footer.site { background: #171717; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-block: 48px 0; }
footer.site .fbrand { display: grid; gap: 16px; align-content: start; }
footer.site .fbrand p { font-size: 0.875rem; max-width: 34ch; }
footer.site .brand .word { font-size: 1.25rem; }
footer.site h4 { color: var(--ink); font-size: 1rem; font-weight: 500; margin-bottom: 16px; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.875rem; }
footer.site a { color: var(--muted); text-decoration: none; transition: color .15s ease; }
footer.site a:hover { color: var(--ink); }
footer.site .bottom .wrap { margin-top: 48px; padding-block: 32px 40px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; font-size: 0.875rem; position: relative; }
footer.site .bottom .wrap::before { content: ""; position: absolute; top: 0; height: 1px; background: var(--line);
  left: max(var(--gutter), env(safe-area-inset-left, 0px)); right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
footer.site .bottom .note { color: var(--subtle); font-size: 0.8125rem; }
@media (max-width: 860px) { footer.site .cols { grid-template-columns: 1fr 1fr; } footer.site .fbrand { grid-column: 1 / -1; } }
@media (max-width: 520px) { footer.site .cols { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* products page */
.prod-status { justify-self: start; display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 500; padding: 2px 10px; border-radius: 999px; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); width: fit-content; }
.prod-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--silver); }
.prod-status.live { color: var(--tile-green); background: var(--tile-green-bg); border-color: transparent; }
.prod-status.live::before { background: var(--tile-green); }
.prod-status.ready, .prod-status.soon { color: var(--accent-ink); background: var(--accent-soft); border-color: transparent; }
.prod-status.ready::before, .prod-status.soon::before { background: var(--accent-ink); }
.svc .prod-status { margin-top: -2px; }
.svc-detail .tagline { color: var(--ink); font-weight: 500; font-size: 1.0625rem; }
.stack-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stack-tags li { font-size: 0.8125rem; font-weight: 500; padding: 4px 10px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); }
.mini code { font-family: var(--font-mono); font-size: 0.85em; overflow-wrap: anywhere; }
.mini b { color: var(--ink); font-weight: 600; }

/* Lucide-style line icons: round caps and joins everywhere */
svg[stroke] { stroke-linecap: round; stroke-linejoin: round; }
/* the header CTA sits beside the theme button on desktop and inside the menu on small screens */
.mobile-only { display: none; }
@media (max-width: 1023px) { .desktop-only { display: none !important; } header.top.open nav.links .mobile-only { display: inline-flex; } }
