/* ==========================================================================
   Qubitra Technologies — stylesheet
   Brand spectrum sampled from logo.png (cyan → blue → violet → magenta → rose → amber).

   1. Tokens          5. Page heroes        9. Pricing
   2. Base            6. Sections & cards  10. Reviews, FAQ, prose
   3. Buttons, icons  7. Product mockups   11. CTA, contact, footer
   4. Header & nav    8. Process timeline  12. Responsive & motion
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --cyan: #07acfd;
  --blue: #3b3bfb;
  --violet: #9b2cf6;
  --magenta: #e12ab3;
  --rose: #f5245d;
  --ember: #ff6a1f;
  --amber: #fea60d;

  --ink: #0f1033;
  --ink-2: #1b1d4a;
  --ink-3: #26295e;
  --ink-soft: #4a4d72;
  --on-dark: #d4d6f2;
  --on-dark-soft: #a9acd6;
  --line: #e2e3f0;
  --line-dark: rgba(255, 255, 255, 0.12);
  --paper: #ffffff;
  --paper-tint: #f5f6fc;

  --spectrum: linear-gradient(90deg, var(--cyan), var(--blue) 22%, var(--violet) 45%, var(--magenta) 62%, var(--rose) 78%, var(--amber));
  --cta: linear-gradient(110deg, var(--blue), var(--violet) 55%, var(--magenta));

  --font-display: "Google Sans", "Google Sans Text", Roboto, Arial, "Noto Sans JP", "Noto Sans KR", sans-serif;
  --font-body: var(--font-display);

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 7.5rem);
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-card: 0 1px 2px rgba(15, 16, 51, 0.06), 0 12px 32px -18px rgba(15, 16, 51, 0.28);
  --shadow-lift: 0 2px 4px rgba(15, 16, 51, 0.06), 0 24px 48px -20px rgba(59, 59, 251, 0.35);

  --ease-out: cubic-bezier(0.2, 0, 0, 1);
  --header-h: 72px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* Components below set display, which would otherwise override the hidden attribute. */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.08; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.125rem; letter-spacing: -0.01em; }

p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }

a { color: var(--blue); text-underline-offset: 3px; }
@media (hover: hover) { a:hover { color: var(--violet); } }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .page-hero :focus-visible, .section-dark :focus-visible,
.cta-band :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- 3. Buttons & icons ---------- */
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition-property: scale, box-shadow, background-color, color, border-color;
  transition-duration: 150ms;
  transition-timing-function: var(--ease-out);
}
.btn:not(:disabled):active { scale: 0.96; }

.btn-primary { color: #fff; background: var(--cta); box-shadow: 0 8px 22px -10px rgba(110, 44, 246, 0.8); }
.btn-light { color: var(--ink); background: #fff; }
.btn-ghost { color: #fff; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); }
.btn-outline { color: var(--ink); background: transparent; border-color: #b9bcd6; }
.btn-sm { min-height: 40px; padding: 0.5rem 1.1rem; font-size: 0.9375rem; }

@media (hover: hover) {
  .btn-primary:hover { color: #fff; box-shadow: 0 12px 30px -10px rgba(110, 44, 246, 0.95); }
  .btn-light:hover { color: var(--ink); background: #eef0ff; }
  .btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.16); }
  .btn-outline:hover { color: var(--ink); background: var(--paper-tint); border-color: var(--violet); }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}
.text-link .icon { width: 1em; height: 1em; stroke-width: 2.25; transition: translate 150ms var(--ease-out); }
@media (hover: hover) { .text-link:hover .icon { translate: 3px 0; } }

/* Icon tile: a rounded square echoing the logo's pixels. */
.icon-tile {
  width: 48px; height: 48px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: var(--tile, var(--blue));
  box-shadow: 0 10px 20px -12px var(--tile, var(--blue));
}
.icon-tile .icon { width: 24px; height: 24px; }

/* ---------- 4. Header & nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: #fff;
  transition-property: background-color, box-shadow, color;
  transition-duration: 200ms;
  transition-timing-function: var(--ease-out);
}
.site-header.is-scrolled,
.site-header.nav-open {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}

.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: inline-flex; flex-shrink: 0; align-items: center; gap: 0.7rem; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.brand img { width: 30px; height: auto; }
.brand-word { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; letter-spacing: 0.32em; }
/* The wordmark's final A carries the brand gradient, as in the logo. */
.brand-a {
  background: linear-gradient(160deg, var(--violet), var(--rose) 60%, var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Tagline sits under the wordmark, as in the logo. Two gradients keep it readable:
   the bright end of the spectrum on dark backgrounds, the deep end on white. */
.brand-text { display: flex; flex-direction: column; gap: 0.3rem; line-height: 1; }
.brand-tagline {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  background: linear-gradient(90deg, var(--cyan), var(--magenta) 55%, var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.site-header.is-scrolled .brand-tagline,
.site-header.nav-open .brand-tagline { background-image: linear-gradient(90deg, var(--blue), var(--violet) 50%, var(--magenta)); }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { display: flex; gap: 1.6rem; }
.site-nav .btn, .site-nav ul a { white-space: nowrap; }
.site-nav ul a {
  position: relative;
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9688rem;
  opacity: 0.84;
  transition: opacity 150ms var(--ease-out);
}
.site-nav ul a[aria-current="page"] { opacity: 1; font-weight: 700; }
.site-nav ul a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--spectrum);
}
@media (hover: hover) { .site-nav ul a:hover { opacity: 1; color: inherit; } }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  position: relative;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute;
  left: 11px;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition-property: transform, background-color;
  transition-duration: 200ms;
  transition-timing-function: var(--ease-out);
}
.nav-toggle-bars { top: 21px; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 5. Page heroes ---------- */
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(155, 44, 246, 0.35), transparent 70%),
    radial-gradient(50% 60% at 10% 100%, rgba(7, 172, 253, 0.22), transparent 70%),
    var(--ink);
}
/* Spectrum rule: the logo's colour run, used as a structural edge under every hero. */
.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: var(--spectrum);
}

.hero { padding: calc(var(--header-h) + clamp(3rem, 7vw, 5.5rem)) 0 clamp(4rem, 7vw, 6rem); }
.page-hero { padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(3.5rem, 6vw, 5rem); }

.hero-grid,
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero-kicker { font-weight: 600; color: #b9bcf5; margin-bottom: 1.1rem; }
.hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); max-width: 19ch; }
.page-hero h1 { font-size: clamp(2rem, 3.8vw, 3rem); max-width: 22ch; }
.hero-lede { margin-top: 1.4rem; max-width: 56ch; font-size: 1.15rem; color: var(--on-dark); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.1rem; }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.9375rem; color: var(--on-dark-soft); margin-bottom: 1.25rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.6; }
.breadcrumb a { color: var(--on-dark); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current] { color: #fff; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: 1rem 2.5rem;
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-dark);
}
.hero-stats div { display: flex; flex-direction: column-reverse; }
.hero-stats dt { font-size: 0.875rem; color: var(--on-dark-soft); }
.hero-stats dd { font: 600 1.6rem/1.2 var(--font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* Mosaic: the logo's dissolving pixels, scaled into a field. Cells come from main.js. */
.hero-visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 460px; justify-self: end; }
.page-hero .hero-visual { max-width: 300px; }
.mosaic {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(var(--cols, 9), 1fr);
  gap: clamp(6px, 1.3vw, 12px);
}
.mosaic span {
  aspect-ratio: 1;
  border-radius: 22%;
  background: var(--c);
  opacity: var(--o, 1);
  transform: scale(var(--s, 1));
}
.mosaic span.is-empty { visibility: hidden; }
.hero-mark {
  position: absolute;
  left: 50%; top: 50%;
  width: 46%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 18px 40px rgba(15, 16, 51, 0.6));
}
.hero-icon {
  position: absolute;
  left: 50%; top: 50%;
  width: 36%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 28%;
  color: #fff;
  background: rgba(15, 16, 51, 0.75);
  box-shadow: inset 0 0 0 1px var(--line-dark), 0 18px 40px rgba(15, 16, 51, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-icon .icon { width: 46%; height: 46%; stroke-width: 1.5; }

/* ---------- 6. Sections & cards ---------- */
.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section-tint { background: var(--paper-tint); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark .section-head p { color: var(--on-dark); }

.section-head { max-width: 660px; margin-bottom: clamp(2.25rem, 5vw, 3.25rem); }
.section-head p { margin-top: 1rem; color: var(--ink-soft); font-size: 1.125rem; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; max-width: none; }
.section-head-row > div { max-width: 660px; }

.h-small { font-size: 1.25rem; margin-bottom: 1.75rem; }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem;
  background: var(--paper);
  border: 1px solid transparent;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.card p { color: var(--ink-soft); font-size: 0.975rem; }
.card .icon-tile { margin-bottom: 0.5rem; }
.card .text-link { margin-top: auto; padding-top: 0.5rem; }

a.card {
  color: inherit;
  text-decoration: none;
  transition-property: translate, box-shadow;
  transition-duration: 200ms;
  transition-timing-function: var(--ease-out);
}
@media (hover: hover) {
  a.card:hover { color: inherit; translate: 0 -4px; box-shadow: var(--shadow-lift); }
  a.card:hover .text-link .icon { translate: 3px 0; }
}

.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Bento: home services overview */
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(200px, auto);
  gap: 1.25rem;
}
.bento .card-feature {
  grid-column: span 2;
  grid-row: span 2;
  color: #fff;
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(225, 42, 179, 0.45), transparent 70%),
    radial-gradient(60% 60% at 0% 100%, rgba(7, 172, 253, 0.35), transparent 70%),
    var(--ink-2);
  padding: 2.25rem;
  overflow: hidden;
}
.bento .card-feature h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.bento .card-feature p { color: var(--on-dark); font-size: 1.05rem; max-width: 42ch; }
.bento .card-feature .text-link { color: #fff; }
.bento .card-feature .chip-list { margin-top: 0.5rem; }
.bento .card-feature .chip-list li { background: rgba(255, 255, 255, 0.1); color: #fff; }
.bento .card-wide { grid-column: span 2; }

.chip-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip-list li {
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  background: var(--paper-tint);
  font-size: 0.9375rem;
  font-weight: 500;
}
.section-tint .chip-list li { background: var(--paper); }

.check-list { display: grid; gap: 0.7rem; }
.check-list li { display: flex; gap: 0.7rem; align-items: start; }
.check-list .icon { margin-top: 0.22em; color: var(--violet); stroke-width: 2.25; width: 1.1em; height: 1.1em; }
.check-list.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem 2rem; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}
.split-reverse > :first-child { order: 2; }
.split h2 { margin-bottom: 1rem; }
.split p + p { margin-top: 1rem; }
.split .lead { color: var(--ink-soft); font-size: 1.125rem; }
.section-dark .split .lead { color: var(--on-dark); }
.split .check-list, .split .chip-list { margin-top: 1.5rem; }
.split .btn { margin-top: 2rem; }

/* Client logo strip (home). Logos are capped in height so wide and square marks sit at a similar visual size. */
.clients { border-bottom: 1px solid var(--paper-tint); }
.clients-title {
  margin-bottom: 1.75rem;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}
.client-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.client-logo {
  display: grid;
  place-items: center;
  min-height: 128px;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  text-align: center;
}
.client-logo img { max-width: 100%; max-height: 84px; width: auto; height: auto; object-fit: contain; border-radius: 8px; }

.stats-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #fff;
}
.stats-band::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--spectrum); }
.stats-band div { display: flex; flex-direction: column-reverse; gap: 0.25rem; }
.stats-band dt { color: var(--on-dark-soft); font-size: 0.9375rem; }
.stats-band dd { font: 600 clamp(1.6rem, 3vw, 2.2rem)/1.1 var(--font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* Services page: sticky in-page nav + detail blocks */
.service-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.service-nav ul { display: flex; gap: 0.5rem; overflow-x: auto; padding-block: 0.75rem; scrollbar-width: none; overscroll-behavior-x: contain; }
.service-nav ul::-webkit-scrollbar { display: none; }
.service-nav a {
  display: block;
  white-space: nowrap;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition-property: background-color, color;
  transition-duration: 150ms;
  transition-timing-function: var(--ease-out);
}
.service-nav a[aria-current="true"] { background: var(--ink); color: #fff; }
@media (hover: hover) { .service-nav a:not([aria-current="true"]):hover { background: var(--paper-tint); color: var(--ink); } }

.service-block {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 50px);
}
.service-block:last-child { border-bottom: 0; }
.service-block .icon-tile { margin-bottom: 1.25rem; }
.service-block h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.service-block .lead { margin-top: 1rem; color: var(--ink-soft); font-size: 1.1rem; }
.service-block .btn { margin-top: 1.75rem; }
.service-detail { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius); background: var(--paper-tint); }
.service-detail h3 { font-size: 1rem; margin-bottom: 0.9rem; }
.service-detail > div + div { margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.service-detail .chip-list li { background: var(--paper); }

/* Digital marketing page: grouped service cards with a search filter (main.js initServiceSearch). */
.dm-search { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 0.75rem 2rem; padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.dm-search .field { flex: 1 1 320px; max-width: 520px; }
.dm-search-status { color: var(--ink-soft); font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.dm-empty { display: grid; justify-items: center; gap: 0.75rem; margin-top: 2rem; padding: clamp(2rem, 5vw, 3rem) 1.5rem; text-align: center; }
.dm-empty h2 { font-size: 1.35rem; }
.dm-empty p { color: var(--ink-soft); max-width: 46ch; }
.dm-category { padding-block: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 50px); }
.dm-category:first-of-type { border-top: 0; }
.dm-category-head { display: flex; align-items: flex-start; gap: 1.25rem; max-width: 760px; margin-bottom: 2rem; }
.dm-category-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.dm-category-head p { margin-top: 0.5rem; color: var(--ink-soft); font-size: 1.0625rem; }
.dm-service h3 { font-size: 1.15rem; }
.dm-service > p { color: var(--ink-soft); }
.dm-service .check-list { font-size: 0.95rem; }
.dm-service .text-link { margin-top: auto; padding-top: 0.5rem; }

/* Team page: initials stand in for photos. */
.team-card { align-items: flex-start; gap: 0.35rem; }
.team-avatar {
  width: 72px; height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  border-radius: 20px;
  color: #fff;
  font-size: 1.9rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--tile, var(--blue)), var(--ink));
  box-shadow: 0 14px 24px -14px var(--tile, var(--blue));
}
.team-card h3 { font-size: 1.3rem; }
.card .team-role { color: var(--ink-2); font-weight: 500; }
.team-badge {
  margin-top: 0.5rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--paper-tint);
  color: var(--violet);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* ---------- 7. Product mockups ----------
   Illustrative screens built in CSS. Decorative only (aria-hidden): labels, no figures. */
.mock-stage { position: relative; padding: 0 2.5rem 2.5rem 0; }
.mock {
  position: relative;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(15, 16, 51, 0.1), 0 40px 80px -30px rgba(15, 16, 51, 0.6);
  overflow: hidden;
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.3;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef0f8; }
.mock-bar span { width: 9px; height: 9px; border-radius: 50%; }
.mock-bar span:nth-child(1) { background: var(--rose); }
.mock-bar span:nth-child(2) { background: var(--amber); }
.mock-bar span:nth-child(3) { background: #2ec27e; }
.mock-bar em { margin-left: 10px; font-style: normal; font-size: 11px; color: var(--ink-soft); font-weight: 600; }
.mock-body { display: grid; grid-template-columns: 54px 1fr; min-height: 260px; }
.mock-side { display: flex; flex-direction: column; gap: 10px; padding: 14px 12px; background: var(--ink); }
.mock-side i { display: block; height: 30px; border-radius: 8px; background: rgba(255, 255, 255, 0.1); }
.mock-side i.is-active { background: var(--cta); }
.mock-main { display: grid; gap: 12px; padding: 16px; align-content: start; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-kpis div { padding: 10px; border-radius: 10px; background: var(--paper-tint); }
.mock-kpis b { display: block; font-size: 10.5px; font-weight: 700; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-kpis s { display: block; margin-top: 8px; height: 10px; width: 70%; border-radius: 4px; background: var(--k, var(--blue)); }
.mock-chart {
  display: flex;
  align-items: end;
  gap: 6px;
  height: 110px;
  padding: 12px;
  border-radius: 10px;
  background: var(--paper-tint);
}
.mock-chart i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--violet), var(--blue)); }
.mock-chart i:nth-child(3n) { background: linear-gradient(180deg, var(--rose), var(--magenta)); }
.mock-rows { display: grid; gap: 7px; }
.mock-rows i { display: grid; grid-template-columns: 18px 1fr 40px; gap: 8px; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--paper-tint); }
.mock-rows i::before { content: ""; height: 10px; border-radius: 3px; background: var(--r, var(--cyan)); }
.mock-rows i::after { content: ""; grid-column: 3; height: 8px; border-radius: 3px; background: #d7d9ea; }

.mock-phone {
  position: absolute;
  right: 0; bottom: 0;
  width: 32%;
  min-width: 130px;
  aspect-ratio: 9 / 18;
  padding: 8px;
  border-radius: 26px;
  background: var(--ink);
  box-shadow: 0 30px 60px -20px rgba(15, 16, 51, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.mock-phone-screen { height: 100%; display: grid; grid-template-rows: auto 1fr auto; gap: 8px; padding: 12px 10px; border-radius: 19px; background: #fff; overflow: hidden; color: var(--ink); }
.mock-phone-screen b { font-size: 10.5px; font-weight: 700; line-height: 1.3; }
.mock-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; align-content: start; }
.mock-tiles i { aspect-ratio: 1; border-radius: 9px; background: var(--paper-tint); }
.mock-tiles i:nth-child(1) { background: linear-gradient(135deg, var(--cyan), var(--blue)); }
.mock-tiles i:nth-child(4) { background: linear-gradient(135deg, var(--rose), var(--amber)); }
.mock-cta { height: 26px; border-radius: 999px; background: var(--cta); }

/* Product cards */
.product-card { gap: 0; padding: 0; overflow: hidden; }
.mock-thumb {
  position: relative;
  height: 190px;
  padding: 24px 24px 0;
  background:
    radial-gradient(70% 90% at 100% 0%, var(--accent-glow, rgba(155, 44, 246, 0.55)), transparent 70%),
    var(--ink-2);
  overflow: hidden;
}
.mock-thumb .mock { border-radius: 12px 12px 0 0; height: 100%; box-shadow: none; }
.mock-thumb .mock-bar { padding: 7px 10px; }
.mock-thumb .mock-bar span { width: 7px; height: 7px; }
.mock-thumb .mock-body { min-height: 0; grid-template-columns: 34px 1fr; height: 100%; }
.mock-thumb .mock-side { padding: 10px 7px; gap: 7px; }
.mock-thumb .mock-side i { height: 18px; border-radius: 6px; }
.mock-thumb .mock-main { padding: 10px; gap: 8px; }
.mock-thumb .mock-kpis { gap: 6px; }
.mock-thumb .mock-kpis div { padding: 7px; }
.mock-thumb .mock-kpis b { font-size: 9.5px; }
.mock-thumb .mock-kpis s { margin-top: 5px; height: 7px; }
.mock-thumb .mock-chart { height: 64px; padding: 8px; gap: 4px; }
.product-card-body { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.6rem 1.75rem 1.75rem; flex: 1; }
.product-meta { color: var(--violet); font-weight: 600; font-size: 0.9rem; }
.product-card h3 { font-size: 1.3rem; }

.feature {
  display: flex;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-card);
}
.feature .icon-tile { width: 42px; height: 42px; border-radius: 12px; }
.feature .icon-tile .icon { width: 21px; height: 21px; }
.feature h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.feature p { color: var(--ink-soft); font-size: 0.95rem; }

.platforms { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.75rem; }
.platforms li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px var(--line-dark);
  font-size: 0.9375rem;
  font-weight: 600;
}
.platforms .icon { width: 1.05em; height: 1.05em; color: #c79bff; }

.product-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.product-pager a { padding: 1.5rem 1.75rem; gap: 0.25rem; }
.product-pager small { color: var(--ink-soft); font-weight: 600; font-size: 0.9rem; }
.product-pager strong { font: 600 1.15rem/1.3 var(--font-display); }
.product-pager .next { text-align: right; align-items: end; }

/* Comparison table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-card); }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 0.975rem; }
.compare th, .compare td { padding: 1.1rem 1.4rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font: 600 0.9rem/1.3 var(--font-display); background: var(--ink); color: #fff; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare tbody th { font-weight: 700; white-space: nowrap; }
.compare tbody th a { color: var(--ink); text-decoration-color: var(--violet); }
.compare td { color: var(--ink-soft); }

/* ---------- 8. Process timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: step; }
.steps > li { position: relative; padding-top: 2.9rem; counter-increment: step; }
/* Sequence markers: the content is a real ordered timeline. */
.steps > li::before {
  content: counter(step);
  position: absolute;
  top: 0; left: 0;
  width: 2.1rem; height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  font: 600 0.875rem/1 var(--font-display);
}
.steps > li::after {
  content: "";
  position: absolute;
  top: 1.05rem; left: 2.9rem; right: -1.25rem;
  height: 2px;
  background: var(--spectrum);
  opacity: 0.45;
}
.steps > li:last-child::after { display: none; }
.step-when { display: block; color: var(--violet); font-weight: 700; font-size: 0.9375rem; margin-bottom: 0.35rem; }
.steps h3 { margin-bottom: 0.5rem; }
.steps p { color: var(--ink-soft); font-size: 0.975rem; }
.section-dark .steps > li::before { background: #fff; color: var(--ink); }
.section-dark .steps p { color: var(--on-dark); }
.section-dark .step-when { color: #c79bff; }

.timeline { display: grid; counter-reset: phase; max-width: 920px; }
.timeline > li {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  counter-increment: phase;
}
.timeline > li::before {
  content: counter(phase);
  width: 3rem; height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--cta);
  color: #fff;
  font: 600 1.05rem/1 var(--font-display);
  box-shadow: 0 12px 24px -12px var(--violet);
}
.timeline > li::after {
  content: "";
  position: absolute;
  left: 1.5rem; top: 3.75rem; bottom: 0.75rem;
  width: 2px;
  translate: -1px 0;
  background: linear-gradient(180deg, var(--violet), transparent);
  opacity: 0.45;
}
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li:last-child::after { display: none; }
.timeline h3 { font-size: 1.3rem; }
.timeline .card { gap: 0.6rem; }
.timeline .check-list { margin-top: 0.5rem; }

/* ---------- 9. Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.9rem;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.plan h3 { font-size: 1.3rem; margin-bottom: 0.15rem; }
.plan > p { color: var(--ink-soft); font-size: 0.975rem; }
.plan .check-list { margin-top: 0.5rem; font-size: 0.95rem; }
.plan .plan-cta { margin-top: auto; padding-top: 1.4rem; }
.plan .plan-cta .btn { width: 100%; }
.plan-featured { color: #fff; background: var(--ink); }
.plan-featured > p { color: var(--on-dark); }
.plan-featured .check-list .icon { color: #c79bff; }
.plan-badge {
  position: absolute;
  top: -0.8rem; right: 1.25rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--cta);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
}
.pricing-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; }

.mini-steps { display: grid; gap: 1rem; counter-reset: mini; margin-top: 0.5rem; }
.mini-steps li { position: relative; padding-left: 2.6rem; counter-increment: mini; color: var(--ink-soft); font-size: 0.975rem; }
.mini-steps li::before {
  content: counter(mini);
  position: absolute;
  left: 0; top: 0;
  width: 1.8rem; height: 1.8rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--cta);
  color: #fff;
  font: 600 0.8rem/1 var(--font-display);
}
.mini-steps strong { display: block; color: var(--ink); }

.pricing-note { margin-top: 1.75rem; color: var(--ink-soft); }
.pricing-note strong { color: var(--ink); }

/* ---------- 10. Reviews, FAQ, prose ---------- */
.reviews { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem; }
.reviews > li { grid-column: span 2; }
.reviews > li:nth-child(4), .reviews > li:nth-child(5) { grid-column: span 3; }
.reviews figure {
  height: 100%;
  margin: 0;
  padding: 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.stars { display: flex; gap: 3px; color: var(--amber); }
.stars svg { width: 16px; height: 16px; fill: currentColor; }
.reviews blockquote { margin: 0; font-size: 1.0625rem; color: var(--ink-2); flex: 1; }
.reviews blockquote::before { content: "“"; }
.reviews blockquote::after { content: "”"; }
.reviews figcaption { display: flex; align-items: center; gap: 0.8rem; font-size: 0.9375rem; color: var(--ink-soft); }
.reviews figcaption strong { display: block; color: var(--ink); }
.avatar {
  width: 42px; height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  font: 600 0.85rem/1 var(--font-display);
  background: var(--tile, var(--blue));
}

.faq-grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 4.5rem); }
.faq-group + .faq-group { margin-top: 3rem; }
.faq-group h2 { font-size: 1.35rem; margin-bottom: 1rem; scroll-margin-top: calc(var(--header-h) + 24px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
  font-weight: 700;
  font-size: 1.0625rem;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  border-right: 2px solid var(--violet);
  border-bottom: 2px solid var(--violet);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 200ms var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding: 0 2rem 1.25rem 0; color: var(--ink-soft); }
.faq-aside { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
.faq-aside nav ul { display: grid; gap: 0.25rem; margin-top: 1rem; }
.faq-aside nav a { display: block; padding: 0.45rem 0; font-weight: 600; color: var(--ink); text-decoration: none; }
@media (hover: hover) { .faq-aside nav a:hover { color: var(--violet); } }
.faq-aside .card { margin-top: 2rem; }

.prose { max-width: 70ch; }
.prose h2 { font-size: 1.4rem; margin: 2.5rem 0 0.75rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { color: var(--ink-2); }
.prose p + p { margin-top: 1rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; margin-top: 0.75rem; display: grid; gap: 0.4rem; }
.prose .note { margin-top: 2.5rem; padding: 1.25rem 1.5rem; border-radius: var(--radius-sm); background: var(--paper-tint); color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- 11. CTA band, contact, footer ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  background:
    radial-gradient(40% 120% at 100% 0%, rgba(254, 166, 13, 0.5), transparent 70%),
    radial-gradient(45% 120% at 0% 100%, rgba(7, 172, 253, 0.5), transparent 70%),
    linear-gradient(110deg, var(--blue), var(--violet) 50%, var(--magenta));
}
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-inner h2 { max-width: 22ch; }
.cta-inner p { margin-top: 0.75rem; color: rgba(255, 255, 255, 0.92); font-size: 1.1rem; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-cards { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-card { flex-direction: row; gap: 1rem; align-items: center; padding: 1.1rem 1.25rem; }
.contact-card .icon-tile { width: 44px; height: 44px; margin: 0; }
.contact-card div > span { display: block; font-size: 0.875rem; color: var(--ink-soft); }
.contact-card a, .contact-card strong { font-weight: 700; font-size: 1.05rem; color: var(--ink); text-decoration: none; }
@media (hover: hover) { .contact-card a:hover { color: var(--ink); text-decoration: underline; } }

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.25rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.contact-form h2 { grid-column: 1 / -1; font-size: 1.35rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.9375rem; }
.optional { font-weight: 500; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid #9ea2c4;
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  font: 500 1rem/1.4 var(--font-body);
  transition-property: border-color, box-shadow;
  transition-duration: 150ms;
  transition-timing-function: var(--ease-out);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59, 59, 251, 0.22); }
.field [aria-invalid="true"] { border-color: #d0103f; }
.field-error { font-size: 0.875rem; font-weight: 600; color: #c40e3b; }
.field-error:empty { display: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-top: 0.25rem; }
.form-hint { font-size: 0.875rem; color: var(--ink-soft); max-width: 36ch; }

.site-footer { background: #0a0b26; color: #c9cbef; padding: clamp(3.5rem, 6vw, 4.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) 1.4fr; gap: 2.5rem 2rem; }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 1rem; font-size: 0.95rem; max-width: 32ch; }
.site-footer h2 { font: 600 0.95rem/1.3 var(--font-display); color: #fff; margin-bottom: 1rem; letter-spacing: 0; }
.site-footer ul { display: grid; gap: 0.55rem; font-size: 0.95rem; }
.site-footer a { color: #c9cbef; text-decoration: none; }
@media (hover: hover) { .site-footer a:hover { color: #fff; text-decoration: underline; } }
.footer-contact li { display: flex; align-items: center; gap: 0.6rem; }
.footer-contact .icon { color: #9fa3ff; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
}

.wa-float {
  position: fixed;
  right: 1.25rem; bottom: 1.25rem;
  z-index: 40;
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1fa855;
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(15, 16, 51, 0.55);
  transition: scale 150ms var(--ease-out);
}
@media (hover: hover) { .wa-float:hover { color: #fff; scale: 1.06; } }

.not-found { min-height: 100vh; display: grid; align-items: center; }

/* ---------- 12. Responsive ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .steps > li:nth-child(2)::after { display: none; }
  .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.75rem; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews > li, .reviews > li:nth-child(4), .reviews > li:nth-child(5) { grid-column: auto; }
  .reviews > li:last-child { grid-column: 1 / -1; }
  .stats-band { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

/* The header collapses into the menu button before seven links, the tagline lockup and
   the demo button run out of room. Keep in sync with NAV_COLLAPSE_QUERY in main.js. */
@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 0.5rem var(--gutter) 1.5rem;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 20px 30px -20px rgba(15, 16, 51, 0.4);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s linear 180ms;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out); }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--line); opacity: 1; }
  .site-nav ul a[aria-current="page"]::after { display: none; }
  .site-nav ul a[aria-current="page"] { color: var(--violet); }
}

@media (max-width: 900px) {
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .hero .hero-visual { order: -1; max-width: 280px; justify-self: start; }
  .page-hero .hero-visual { display: none; }
  .hero-stats { grid-template-columns: repeat(2, auto); }

  .split, .service-block, .contact-grid { grid-template-columns: 1fr; }
  .split-reverse > :first-child { order: 0; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mock-stage { padding: 0 1.5rem 1.5rem 0; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .bento, .grid-2, .grid-3, .grid-4, .pricing, .reviews, .product-pager, .check-list.cols-2 { grid-template-columns: 1fr; }
  .bento .card-feature, .bento .card-wide { grid-column: auto; grid-row: auto; }
  .dm-category-head { flex-direction: column; gap: 1rem; }
  .reviews > li:last-child { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .steps > li::after { display: none; }
  .stats-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; }
  .hero .hero-visual { max-width: 200px; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; }
  .contact-form { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .timeline > li { grid-template-columns: 1fr; gap: 1rem; }
  .timeline > li::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-pager .next { text-align: left; align-items: start; }
  .mock-phone { display: none; }
  .mock-stage { padding: 0; }
}

/* ---------- Motion ----------
   One orchestrated entrance per page: hero content staggers in on load (100ms apart),
   the mosaic assembles and product screens settle. Nothing animates on scroll.
   Movement runs only without a reduced-motion preference; otherwise it cross-fades. */
@media (prefers-reduced-motion: no-preference) {
  [data-enter] { animation: enter 300ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 100ms + 80ms); }
  .mosaic span { animation: pixel-in 700ms var(--ease-out) both; animation-delay: var(--d, 0ms); }
  .hero-mark { animation: mark-in 900ms var(--ease-out) 350ms both; }
  .mock-stage .mock { animation: enter 500ms var(--ease-out) 300ms both; }
  .mock-stage .mock-phone { animation: enter 500ms var(--ease-out) 450ms both; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-enter], .mosaic span, .hero-mark, .mock-stage .mock, .mock-stage .mock-phone { animation: fade 200ms linear both; }
  .btn:not(:disabled):active { scale: none; }
  a.card:hover, .text-link:hover .icon { translate: none; }
}

@keyframes enter { from { opacity: 0; translate: 0 12px; filter: blur(4px); } }
@keyframes pixel-in { from { opacity: 0; transform: translateY(14px) scale(0.4); } }
@keyframes mark-in { from { opacity: 0; transform: translate(-50%, -44%) scale(0.92); } }
@keyframes fade { from { opacity: 0; } }

/* Single quote card (product pages) */
.quote { margin: 0.25rem 0 0; font-size: 1.2rem; line-height: 1.5; color: var(--ink-2); }
.quote-by { display: flex; align-items: center; gap: 0.8rem; margin-top: 0.75rem; font-size: 0.9375rem; color: var(--ink-soft); }
.quote-by strong { display: block; color: var(--ink); }

/* Unordered value list on dark sections */
.values > li { padding-top: 1.25rem; border-top: 2px solid rgba(255, 255, 255, 0.16); }
.values .step-when { color: #c79bff; }
.values h3 { margin-bottom: 0.5rem; }
.values p { color: var(--on-dark); font-size: 0.975rem; }
