/* ==========================================================
   MAXIMIZE SOLUTION — "Intelligence Engine" design system
   Dark premium · coral (from the logo) → violet → indigo
   Glass surfaces · aurora light · data-horizon grid · 3D orb
   Mobile-first. No framework.
   ========================================================== */

:root {
  --bg: #07070b;
  --bg-2: #0b0a11;
  --bg-3: #100e18;
  --glass: linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.018));
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.14);
  --text: #b3afc4;
  --muted: #7e7a92;
  --white: #f8f7fc;

  --coral: #ff4d6d;       /* from the Maximize logo swoosh */
  --amber: #ff8a5b;
  --violet: #9b5cff;
  --indigo: #6c6cff;
  --mint: #34e3b4;        /* "live / success" signal */

  --grad: linear-gradient(100deg, #ff4d6d 0%, #ff7a64 25%, #b05cff 65%, #6c6cff 100%);
  --grad-soft: linear-gradient(135deg, rgba(255,77,109,.16), rgba(108,108,255,.12));

  --r-lg: 28px;
  --r: 20px;
  --r-sm: 14px;
  --header-h: 76px;
  --container: 1240px;

  --f-head: "Space Grotesk", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.7;
  color: var(--text); background: var(--bg); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
/* fine film grain over the whole site */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 2000; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4, h5 { font-family: var(--f-head); color: var(--white); margin: 0 0 .8rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.08; }
h1 { font-size: clamp(2.6rem, 7.6vw, 4.8rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 5.2vw, 3.4rem); letter-spacing: -.04em; }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); line-height: 1.25; letter-spacing: -.02em; }
h4 { font-size: 1.05rem; }
button, input, select, textarea { font: inherit; }
::selection { background: rgba(255,77,109,.35); color: #fff; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
.section { position: relative; padding: 96px 0; }
@media (min-width: 992px) { .section { padding: 140px 0; } }
.section-soft { background: var(--bg-2); }
.section-soft::before, .section-soft::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.section-soft::before { top: 0; } .section-soft::after { bottom: 0; }
.section-dark { background: var(--bg); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.mono { font-family: var(--f-mono); }

/* ---------- Section label: mono + gradient rule ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px;
  font-family: var(--f-mono); font-size: .76rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #d9d5ea;
}
.eyebrow .dot { width: 28px; height: 1px; border-radius: 0; background: var(--grad); box-shadow: none; }
.eyebrow::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 10px var(--coral); order: -2; }
.eyebrow .dot { order: -1; }

/* Section head: title left, description right on desktop */
.section-head { margin: 0 0 56px; }
.section-head p { font-size: 1.08rem; color: var(--text); margin: 0; max-width: 560px; }
@media (min-width: 992px) {
  .section-head { display: grid; grid-template-columns: 1.25fr 1fr; column-gap: 72px; align-items: end; margin-bottom: 72px; }
  .section-head .eyebrow { grid-column: 1 / -1; justify-self: start; }
  .section-head h2 { grid-column: 1; margin: 0; }
  .section-head p { grid-column: 2; padding-bottom: 8px; }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 14px; font-family: var(--f-head); font-weight: 600; font-size: 1rem; letter-spacing: -.01em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap; isolation: isolate;
  transition: transform .25s ease, box-shadow .3s ease, background .3s ease, border-color .3s ease, color .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { color: #fff; background: var(--grad); background-size: 160% 100%; box-shadow: 0 18px 40px -18px rgba(255,77,109,.9), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 24px 50px -18px rgba(155,92,255,.9), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost, .btn-outline, .btn-cyan-outline {
  color: var(--white); background: rgba(255,255,255,.04); border-color: var(--line-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn-ghost:hover, .btn-outline:hover, .btn-cyan-outline:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .92rem; border-radius: 12px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-block { width: 100%; }

/* ---------- Glass surface with animated gradient border ---------- */
.glass, .card, .bento-item, .svc-block, .form-card, .info-card, .ai-card, .agent-panel, .faq details, .step, .stat-board {
  background: var(--glass); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.glow-border { position: relative; }
.glow-border::before, .card::after, .bento-item::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 55%, rgba(255,77,109,.9) 70%, rgba(155,92,255,.9) 80%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s ease;
}
.card:hover::after, .bento-item:hover::after, .glow-border:hover::before { opacity: 1; animation: spinBorder 3.5s linear infinite; }
@keyframes spinBorder { to { --ang: 360deg; } }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h); transition: background .35s, border-color .35s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(7,7,11,.72); border-color: var(--line); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand img { height: 46px; width: auto; }
.nav, .header-cta { display: none; }
.nav-toggle { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }

.drawer-backdrop { position: fixed; inset: 0; z-index: 1001; background: rgba(4,4,8,.7); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 1002; width: min(88vw, 380px); padding: 20px 22px 28px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto;
  background: radial-gradient(400px 300px at 100% 0%, rgba(255,77,109,.18), transparent 70%), #0c0b12; border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
body.menu-open { overflow: hidden; }
body.menu-open .drawer { transform: none; }
body.menu-open .drawer-backdrop { opacity: 1; visibility: visible; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer-top img { height: 40px; width: auto; }
.drawer a.d-link { display: block; padding: 14px 2px; font-family: var(--f-head); font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; color: #fff; border-bottom: 1px solid var(--line); }
.drawer a.d-link.active { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.drawer .d-sub a { display: block; padding: 10px 2px 10px 16px; font-size: .95rem; color: var(--text); border-bottom: 1px dashed var(--line); }
.drawer .d-sub a::before { content: "→ "; color: var(--coral); }
.drawer .btn { margin-top: 24px; }
.drawer-contact { margin-top: 20px; font-family: var(--f-mono); font-size: .8rem; color: var(--muted); }
.drawer-contact a { color: #fff; }

@media (min-width: 992px) {
  .nav-toggle, .drawer, .drawer-backdrop { display: none; }
  .nav { display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.03); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .nav > a, .nav .dd > .dd-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 10px; font-size: .93rem; font-weight: 500; color: #d6d2e6; background: none; border: 0; cursor: pointer; transition: background .2s, color .2s; }
  .nav > a:hover, .nav .dd:hover > .dd-toggle { color: #fff; background: rgba(255,255,255,.06); }
  .nav > a.active, .nav .dd.active > .dd-toggle { color: #fff; background: rgba(255,255,255,.09); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
  .nav .dd { position: relative; }
  .nav .dd > .dd-toggle svg { width: 14px; height: 14px; transition: transform .2s; }
  .nav .dd:hover > .dd-toggle svg, .nav .dd:focus-within > .dd-toggle svg { transform: rotate(180deg); }
  .nav .dd-menu { position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px); width: 312px; padding: 6px; border-radius: 16px;
    background: linear-gradient(180deg, rgba(22,19,33,.98), rgba(14,12,22,.98)); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); opacity: 0; visibility: hidden; transition: all .22s ease; }
  .nav .dd-menu::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
  .nav .dd:hover .dd-menu, .nav .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .dd-item { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 11px; transition: background .2s; }
  .dd-item::after { content: "→"; position: absolute; right: 12px; top: 50%; transform: translate(-6px, -50%); opacity: 0; color: var(--coral); transition: all .2s; }
  .dd-item:hover { background: rgba(255,255,255,.055); }
  .dd-item:hover::after { opacity: 1; transform: translate(0, -50%); }
  .dd-item .ic { flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--grad-soft); border: 1px solid var(--line-2); transition: background .2s, border-color .2s; }
  .dd-item:hover .ic { background: var(--grad); border-color: transparent; }
  .dd-item .ic svg { width: 17px; height: 17px; }
  .dd-item .dd-text strong { display: block; font-family: var(--f-head); font-weight: 600; color: #fff; font-size: .93rem; line-height: 1.3; }
  .dd-item .dd-text span { display: block; font-family: var(--f-mono); color: var(--muted); font-size: .68rem; letter-spacing: .02em; line-height: 1.5; }
  .dd-all { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; padding: 11px 12px 9px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #d9d5ea; }
  .dd-all svg { width: 15px; height: 15px; color: var(--coral); transition: transform .2s; }
  .dd-all:hover { color: #fff; } .dd-all:hover svg { transform: translateX(3px); }
  .header-cta { display: inline-flex; }
}

/* ---------- Background system: aurora + data horizon ---------- */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora { position: absolute; inset: -20% -10% auto -10%; height: 120%; filter: blur(70px); opacity: .85; }
.aurora::before, .aurora::after, .aurora i { content: ""; position: absolute; border-radius: 50%; }
.aurora::before { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; left: 48%; top: 4%; background: radial-gradient(circle, rgba(255,77,109,.55), transparent 65%); animation: float1 18s ease-in-out infinite alternate; }
.aurora::after { width: 52vw; height: 52vw; max-width: 720px; max-height: 720px; right: -8%; top: 22%; background: radial-gradient(circle, rgba(108,108,255,.5), transparent 65%); animation: float2 22s ease-in-out infinite alternate; }
.aurora i { width: 36vw; height: 36vw; max-width: 520px; max-height: 520px; left: 8%; top: 40%; background: radial-gradient(circle, rgba(155,92,255,.35), transparent 65%); animation: float1 26s ease-in-out infinite alternate-reverse; }
@keyframes float1 { to { transform: translate3d(-8%, 10%, 0) scale(1.1); } }
@keyframes float2 { to { transform: translate3d(6%, -8%, 0) scale(.92); } }
.grid-floor {
  position: absolute; left: -50%; right: -50%; bottom: -2px; height: 48%;
  background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 64px 64px; transform: perspective(520px) rotateX(62deg); transform-origin: bottom;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%); mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  animation: floor 6s linear infinite;
}
@keyframes floor { to { background-position: 0 64px; } }
.hero-bg .fade { position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(transparent, var(--bg)); }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 48px) 0 72px; }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1080px) { .hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 80px; } .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 40px; } }
.status-chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; margin-bottom: 28px; border-radius: 999px;
  font-family: var(--f-mono); font-size: .76rem; color: #e6e2f3; letter-spacing: .02em;
  background: rgba(255,255,255,.05); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.status-chip b { font-weight: 600; color: #07070b; background: var(--mint); padding: 2px 8px; border-radius: 999px; font-size: .7rem; letter-spacing: .08em; }
.status-chip .live { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(52,227,180,.6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 10px rgba(52,227,180,0); } 100% { box-shadow: 0 0 0 0 rgba(52,227,180,0); } }
.hero h1 { margin-bottom: 26px; }
.hero h1 .line { display: block; }
.hero-lead { font-size: clamp(1.02rem, 2vw, 1.18rem); max-width: 560px; margin-bottom: 36px; }
.hero-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 48px; max-width: 560px; border-top: 1px solid var(--line); }
@media (min-width: 560px) { .hero-metrics { grid-template-columns: repeat(4, 1fr); } }
.hero-metrics div { padding: 16px 12px 0 0; }
.hero-metrics strong { display: block; font-family: var(--f-head); font-size: 1.6rem; font-weight: 600; color: #fff; letter-spacing: -.03em; line-height: 1.1; }
.hero-metrics span { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Engine diagram */
.engine-wrap { position: relative; }
.engine { position: relative; border-radius: var(--r-lg); padding: 14px; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01)); border: 1px solid var(--line); box-shadow: 0 60px 120px -60px rgba(255,77,109,.45); transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.engine::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 18px 18px; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); pointer-events: none; }
.engine-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 6px 12px; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: .72rem; color: var(--muted); }
.engine-top .dots { display: flex; gap: 6px; }
.engine-top .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.14); }
.engine-top .dots i:first-child { background: var(--coral); }
.engine-top .ok { color: var(--mint); }
.engine > svg { width: 100%; height: auto; position: relative; }
.engine .chip rect { fill: rgba(255,255,255,.045); stroke: rgba(255,255,255,.14); }
.engine .chip text, .engine .col-label { font-family: var(--f-mono); }
.engine .chip text { fill: #e9e6f5; font-size: 13px; }
.engine .col-label { fill: #7e7a92; font-size: 10.5px; letter-spacing: .14em; }
.engine .wire { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 1.2; }
.engine .wire.hot { stroke: url(#wireGrad); stroke-width: 1.4; stroke-dasharray: 5 7; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.engine .ring { transform-box: fill-box; transform-origin: center; }
.engine .ring.r1 { animation: spin 22s linear infinite; }
.engine .ring.r2 { animation: spin 14s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.engine .core-pulse { transform-box: fill-box; transform-origin: center; animation: corePulse 3s ease-in-out infinite; }
@keyframes corePulse { 0%, 100% { transform: scale(1); opacity: .55; } 50% { transform: scale(1.18); opacity: .15; } }

.agent-panel { position: relative; margin: 16px auto 0; max-width: 380px; border-radius: 18px; padding: 16px 18px; border-color: var(--line-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
@media (min-width: 1080px) { .agent-panel { position: absolute; left: -44px; bottom: -150px; width: 290px; margin: 0; } .engine-wrap { margin-bottom: 120px; } }
.agent-panel h4 { display: flex; align-items: center; justify-content: space-between; margin: 0 0 12px; font-family: var(--f-mono); font-size: .74rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #d9d5ea; }
.agent-panel h4 span { color: var(--mint); letter-spacing: .04em; }
.task { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: center; font-size: .84rem; color: #e3e0ef; padding: 6px 0; }
.task i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line-2); position: relative; }
.task.done i { border-color: var(--mint); background: rgba(52,227,180,.15); }
.task.done i::after { content: ""; position: absolute; left: 4.5px; top: 2px; width: 4px; height: 7px; border: solid var(--mint); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.task.run i { border-color: var(--coral); border-top-color: transparent; animation: spin 1s linear infinite; }
.task .bar { grid-column: 2; height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.task .bar b { display: block; height: 100%; width: 40%; background: var(--grad); border-radius: 4px; animation: progress 3.2s ease-in-out infinite; }
@keyframes progress { 0% { width: 8%; } 80%, 100% { width: 96%; } }
.task.wait { color: var(--muted); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 64px) 0 80px; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 992px) { .page-hero { padding: calc(var(--header-h) + 100px) 0 120px; } .page-hero-grid { grid-template-columns: 1.4fr .8fr; gap: 60px; } }
.page-hero h1 { font-size: clamp(2.3rem, 6.5vw, 4.4rem); margin-bottom: 22px; }
.page-hero p.lead { font-size: clamp(1rem, 2vw, 1.15rem); max-width: 640px; margin: 0; }
.page-hero .btn-row { margin-top: 32px; }
.crumbs { display: flex; gap: 10px; margin-bottom: 26px; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.crumbs a:hover { color: #fff; }

/* 3D orb */
.orb { position: relative; width: min(78vw, 360px); aspect-ratio: 1; margin: 0 auto; isolation: isolate; }
.orb-core { position: absolute; inset: 27%; border-radius: 50%; z-index: 1;
  background: radial-gradient(circle at 32% 28%, #fff 0%, #ffc2cf 8%, #ff4d6d 28%, #9b5cff 62%, #251a55 100%);
  box-shadow: 0 0 80px rgba(255,77,109,.55), 0 0 160px rgba(108,108,255,.35), inset -18px -24px 50px rgba(10,8,30,.7);
  animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.orb-ring { position: absolute; inset: 6%; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); }
.orb-ring::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px var(--coral), 0 0 4px #fff; }
.orb-ring.r1 { animation: orbit1 12s linear infinite; }
.orb-ring.r2 { inset: 0; border-color: rgba(155,92,255,.35); animation: orbit2 18s linear infinite; }
.orb-ring.r2::after { box-shadow: 0 0 14px var(--violet), 0 0 4px #fff; }
.orb-ring.r3 { inset: 14%; border-style: dashed; border-color: rgba(255,255,255,.14); animation: orbit3 26s linear infinite; }
.orb-ring.r3::after { display: none; }
@keyframes orbit1 { from { transform: perspective(900px) rotateX(72deg) rotateZ(0); } to { transform: perspective(900px) rotateX(72deg) rotateZ(360deg); } }
@keyframes orbit2 { from { transform: perspective(900px) rotateY(70deg) rotateZ(0); } to { transform: perspective(900px) rotateY(70deg) rotateZ(-360deg); } }
@keyframes orbit3 { from { transform: perspective(900px) rotateX(55deg) rotateY(-30deg) rotateZ(0); } to { transform: perspective(900px) rotateX(55deg) rotateY(-30deg) rotateZ(360deg); } }
.orb-label { position: absolute; z-index: 2; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; color: #e6e2f3; padding: 6px 10px; border-radius: 8px; background: rgba(12,11,18,.8); border: 1px solid var(--line-2); white-space: nowrap; }
.orb-label.l1 { left: -2%; top: 18%; } .orb-label.l2 { right: -4%; top: 46%; } .orb-label.l3 { left: 10%; bottom: 8%; }
@media (max-width: 991px) { .page-hero .orb { width: min(62vw, 260px); } }

/* ---------- Tech strip ---------- */
.marquee { position: relative; overflow: hidden; padding: 22px 0; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 10px; animation: scrollX 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; white-space: nowrap; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.025);
  font-family: var(--f-mono); font-size: .8rem; color: #a9a5bd; transition: color .2s, border-color .2s; }
.pill::before { content: "◆"; font-size: .55rem; color: var(--coral); }
.pill:nth-child(3n+2)::before { color: var(--violet); } .pill:nth-child(3n)::before { color: var(--indigo); }
.pill:hover { color: #fff; border-color: var(--line-2); }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* ---------- Bento grid (AI services) ---------- */
.bento { display: grid; gap: 16px; }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(250px, auto); gap: 18px; }
  .bento .b-lg { grid-column: span 2; grid-row: span 2; }
  .bento .b-wide { grid-column: span 2; }
}
.bento-item { position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: var(--r-lg); padding: 28px; transition: transform .4s ease, border-color .4s, background .4s; }
.bento-item:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.14); }
.bento-item .idx { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .12em; color: var(--muted); margin-bottom: 18px; display: flex; justify-content: space-between; align-items: center; }
.bento-item .idx .tag-hot { color: #07070b; background: var(--grad); padding: 3px 9px; border-radius: 6px; font-weight: 600; letter-spacing: .1em; }
.bento-item h3 { margin-bottom: 10px; }
.bento-item p { font-size: .95rem; margin: 0; max-width: 520px; }
.bento-item .foot { margin-top: auto; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bento-item .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.bento-item .tags span { font-family: var(--f-mono); font-size: .7rem; color: #cfcbe0; padding: 4px 9px; border-radius: 7px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.go { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); transition: all .3s ease; }
.go svg { width: 18px; height: 18px; transform: rotate(-45deg); transition: transform .3s; }
.bento-item:hover .go, .card:hover .go { background: var(--grad); border-color: transparent; }
.bento-item:hover .go svg, .card:hover .go svg { transform: rotate(0); }
.b-lg { background: radial-gradient(500px 300px at 100% 0%, rgba(255,77,109,.16), transparent 70%), var(--glass); }

/* mini visuals inside bento cells */
.viz { position: relative; margin: 6px 0 20px; border-radius: 16px; border: 1px solid var(--line); background: rgba(7,7,11,.55); overflow: hidden; }
.viz-prompt { padding: 16px; font-family: var(--f-mono); font-size: .78rem; }
.viz-prompt .p { color: #fff; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.viz-prompt .p::before { content: "› "; color: var(--coral); }
.viz-prompt .out { margin-top: 14px; display: grid; gap: 8px; }
.viz-prompt .out i { display: block; height: 8px; border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,.14), rgba(255,255,255,.05)); transform-origin: left; animation: type 4s ease-in-out infinite; }
.viz-prompt .out i:nth-child(1) { width: 92%; } .viz-prompt .out i:nth-child(2) { width: 78%; animation-delay: .3s; } .viz-prompt .out i:nth-child(3) { width: 86%; animation-delay: .6s; } .viz-prompt .out i:nth-child(4) { width: 54%; animation-delay: .9s; background: var(--grad); opacity: .7; }
@keyframes type { 0% { transform: scaleX(0); } 40%, 100% { transform: scaleX(1); } }
.viz-prompt .meta { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.viz-prompt .meta span { font-size: .68rem; color: var(--muted); padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line); }
.viz-flow { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 18px 14px; position: relative; }
.viz-flow::before { content: ""; position: absolute; left: 20px; right: 20px; top: 50%; height: 1px; background: linear-gradient(90deg, var(--coral), var(--violet), var(--indigo)); opacity: .5; }
.viz-flow span { position: relative; z-index: 1; font-family: var(--f-mono); font-size: .7rem; color: #fff; padding: 6px 9px; border-radius: 8px; background: #111019; border: 1px solid var(--line-2); }
.viz-flow b { position: absolute; top: 50%; left: 20px; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px var(--coral), 0 0 4px #fff; animation: travel 3.2s linear infinite; z-index: 2; }
@keyframes travel { to { left: calc(100% - 28px); } }
.viz-chat { padding: 14px; display: grid; gap: 8px; font-size: .76rem; }
.viz-chat span { max-width: 85%; padding: 7px 10px; border-radius: 10px; }
.viz-chat span:nth-child(1) { justify-self: end; color: #fff; background: rgba(255,77,109,.22); border: 1px solid rgba(255,77,109,.35); }
.viz-chat span:nth-child(2) { color: #e3e0ef; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.viz-doc { height: 108px; padding: 14px 16px; display: grid; gap: 7px; align-content: start; }
.viz-doc i { height: 6px; border-radius: 4px; background: rgba(255,255,255,.1); }
.viz-doc i:nth-child(2n) { width: 80%; } .viz-doc i:nth-child(3) { width: 60%; background: rgba(155,92,255,.5); }
.viz-doc::after { content: ""; position: absolute; left: 0; right: 0; height: 26px; top: 0; background: linear-gradient(transparent, rgba(255,77,109,.28), transparent); border-bottom: 1px solid rgba(255,77,109,.7); animation: scan 2.8s ease-in-out infinite; }
@keyframes scan { 0% { transform: translateY(-20px); } 100% { transform: translateY(100px); } }
.viz-vision { height: 120px; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 16px 16px; }
.viz-vision .box { position: absolute; border: 1.5px solid var(--coral); border-radius: 6px; animation: detect 5s ease-in-out infinite; }
.viz-vision .box::before { content: attr(data-l); position: absolute; top: -20px; left: -1px; font-family: var(--f-mono); font-size: .62rem; color: #07070b; background: var(--coral); padding: 1px 6px; border-radius: 4px; white-space: nowrap; }
.viz-vision .box.b1 { left: 12%; top: 30%; width: 26%; height: 52%; }
.viz-vision .box.b2 { left: 52%; top: 22%; width: 34%; height: 40%; border-color: var(--violet); animation-delay: -2.5s; }
.viz-vision .box.b2::before { background: var(--violet); }
@keyframes detect { 0%, 100% { opacity: .35; transform: scale(.96); } 50% { opacity: 1; transform: scale(1); } }
.viz-bars { height: 120px; display: flex; align-items: flex-end; gap: 8px; padding: 14px 16px; }
.viz-bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, rgba(155,92,255,.8), rgba(108,108,255,.2)); transform-origin: bottom; animation: grow 3.6s ease-in-out infinite; }
.viz-bars i:last-child, .viz-bars i:nth-last-child(2) { background: linear-gradient(180deg, rgba(255,77,109,.95), rgba(255,77,109,.2)); }
@keyframes grow { 0% { transform: scaleY(.2); } 40%, 100% { transform: scaleY(1); } }

/* ---------- Generic cards ---------- */
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid { gap: 18px; } }
.card { position: relative; display: block; overflow: hidden; border-radius: var(--r); padding: 30px 26px; transition: transform .35s ease, border-color .35s, background .35s; }
.card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.14); }
.card > * { position: relative; }
.card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; color: #fff; background: var(--grad-soft); border: 1px solid var(--line-2); }
.card .ic svg { width: 22px; height: 22px; }
.grid > :nth-child(3n+1) .ic { color: #ffb3c1; } .grid > :nth-child(3n+2) .ic { color: #d2b8ff; } .grid > :nth-child(3n) .ic { color: #b9b9ff; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .95rem; margin: 0; }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.card .tags span { font-family: var(--f-mono); font-size: .7rem; padding: 4px 9px; border-radius: 7px; border: 1px solid var(--line); color: #cfcbe0; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-family: var(--f-mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.card .more svg { width: 15px; height: 15px; color: var(--coral); transition: transform .25s; }
.card:hover .more svg { transform: translateX(4px); }
.card.featured { background: radial-gradient(400px 240px at 100% 0%, rgba(255,77,109,.18), transparent 70%), var(--glass); }
.badge-new { position: absolute !important; top: 20px; right: 20px; font-family: var(--f-mono); font-size: .66rem; font-weight: 600; letter-spacing: .12em; color: #07070b; background: var(--grad); padding: 3px 9px; border-radius: 6px; }

/* ---------- Service rows (home) ---------- */
.rows { border-top: 1px solid var(--line); }
.row-link { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: center; padding: 28px 4px; border-bottom: 1px solid var(--line); overflow: hidden; }
.row-link::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,77,109,.12), rgba(108,108,255,.06) 60%, transparent); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.row-link:hover::before { transform: scaleX(1); }
.row-link > * { position: relative; }
.row-link .n { font-family: var(--f-mono); font-size: .76rem; color: var(--muted); letter-spacing: .1em; grid-column: 1 / -1; }
.row-link h3 { margin: 0; font-size: clamp(1.5rem, 4vw, 2.3rem); font-weight: 500; letter-spacing: -.035em; transition: transform .4s ease; }
.row-link:hover h3 { transform: translateX(10px); }
.row-link p { grid-column: 1; margin: 0; font-size: .95rem; max-width: 520px; }
.row-link .go { grid-row: 2 / span 2; grid-column: 2; width: 52px; height: 52px; border-radius: 50%; }
.row-link:hover .go { background: var(--grad); border-color: transparent; }
.row-link:hover .go svg { transform: rotate(0); }
@media (min-width: 992px) {
  .row-link { grid-template-columns: 90px 1.1fr 1fr 60px; gap: 30px; padding: 34px 8px; }
  .row-link .n { grid-column: 1; }
  .row-link h3 { grid-column: 2; }
  .row-link p { grid-column: 3; }
  .row-link .go { grid-row: auto; grid-column: 4; justify-self: end; }
}

/* ---------- Industries: chip cloud ---------- */
.industries { display: flex; flex-wrap: wrap; gap: 10px; }
.ind { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); transition: all .3s ease; }
.ind .ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--grad-soft); border: 1px solid var(--line-2); }
.ind .ic svg { width: 17px; height: 17px; }
.ind span { font-family: var(--f-head); font-weight: 500; font-size: .98rem; color: #eae7f5; }
.ind:hover { border-color: rgba(255,77,109,.5); background: rgba(255,77,109,.07); transform: translateY(-2px); }
.ind:hover .ic { background: var(--grad); border-color: transparent; }
@media (min-width: 992px) { .ind { padding: 14px 24px 14px 14px; } .ind span { font-size: 1.08rem; } .ind .ic { width: 40px; height: 40px; } }

/* ---------- Split ---------- */
.split { display: grid; gap: 52px; align-items: center; }
@media (min-width: 992px) { .split { grid-template-columns: 1fr 1fr; gap: 90px; } .split.reverse > :first-child { order: 2; } }
.split > *, .grid > *, .contact-grid > *, .hero-grid > *, .bento > * { min-width: 0; }
.split h2 { margin-bottom: 20px; }
.checklist { display: grid; gap: 12px; margin: 28px 0 34px; }
@media (min-width: 640px) { .checklist.two { grid-template-columns: 1fr 1fr; } }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: #ebe8f6; font-weight: 500; }
.checklist li svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 3px; color: var(--coral); }

/* ---------- Stats: dashboard board ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 992px) { .stats.four { grid-template-columns: repeat(4, 1fr); } .split .stats.four { grid-template-columns: repeat(2, 1fr); } }
.stat { position: relative; overflow: hidden; padding: 24px 20px 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--glass); }
.stat::before { content: attr(data-k); display: block; margin-bottom: 18px; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.stat strong { display: block; font-family: var(--f-head); font-size: clamp(2.2rem, 6vw, 3.2rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; margin-bottom: 8px; }
.stat span { font-size: .88rem; color: var(--text); }
.stat .spark { display: flex; align-items: flex-end; gap: 3px; height: 26px; margin-top: 16px; }
.stat .spark i { flex: 1; border-radius: 2px; background: linear-gradient(180deg, rgba(255,77,109,.9), rgba(155,92,255,.25)); }

/* ---------- Visual panel (neural graphic) ---------- */
.visual-panel { position: relative; overflow: hidden; aspect-ratio: 5 / 4; border-radius: var(--r-lg); border: 1px solid var(--line);
  background: radial-gradient(circle at 70% 20%, rgba(255,77,109,.22), transparent 55%), radial-gradient(circle at 20% 90%, rgba(108,108,255,.25), transparent 55%), #0b0a12;
  box-shadow: 0 60px 120px -60px rgba(155,92,255,.55); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.visual-panel svg { width: 100%; height: 100%; }
.visual-panel .vp-label { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.visual-panel .vp-label span { font-family: var(--f-mono); font-size: .7rem; color: #fff; padding: 6px 10px; border-radius: 8px; background: rgba(7,7,11,.7); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.node { animation: pulse 3.2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.node:nth-of-type(3n) { animation-delay: -1s; } .node:nth-of-type(3n+1) { animation-delay: -2s; }
@keyframes pulse { 0%, 100% { opacity: .5; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.2); } }
.flow { stroke-dasharray: 3 9; animation: dash 2.4s linear infinite; }

/* ---------- AI chat card ---------- */
.ai-card { position: relative; max-width: 540px; margin: 0 auto; padding: 18px; border-radius: var(--r-lg); border-color: var(--line-2); box-shadow: 0 60px 120px -60px rgba(255,77,109,.5); }
.ai-card-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ai-avatar { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--grad); }
.ai-avatar svg { width: 22px; height: 22px; }
.ai-card-head strong { display: block; font-family: var(--f-head); color: #fff; }
.ai-card-head small { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: .72rem; color: var(--mint); }
.ai-card-head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.chat { display: flex; flex-direction: column; gap: 12px; padding: 18px 0 6px; font-size: .92rem; }
.msg { max-width: 88%; padding: 12px 15px; border-radius: 16px; line-height: 1.55; opacity: 0; transform: translateY(8px); }
.reveal.in .msg, .no-js .msg { animation: msgIn .5s ease forwards; }
.msg.user { align-self: flex-end; color: #fff; background: linear-gradient(135deg, rgba(255,77,109,.85), rgba(155,92,255,.85)); border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; color: #e3e0ef; background: rgba(255,255,255,.05); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.bot b { color: #fff; }
.msg:nth-child(1) { animation-delay: .3s !important; } .msg:nth-child(2) { animation-delay: 1.1s !important; } .msg:nth-child(3) { animation-delay: 2s !important; } .msg:nth-child(4) { animation-delay: 2.8s !important; }
@keyframes msgIn { to { opacity: 1; transform: none; } }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .2; } 40% { opacity: 1; } }
.ai-input { margin-top: 12px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--muted); font-size: .88rem; }
.ai-input span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-input .send { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--grad); }
.ai-input .send svg { width: 16px; height: 16px; }

/* ---------- Process: connected timeline ---------- */
.steps { position: relative; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 44px; }
  .steps::before { content: ""; position: absolute; top: 12px; left: 12px; right: 12px; height: 1px; background: var(--line-2); }
  .steps::after { content: ""; position: absolute; top: 12px; left: 12px; width: 60px; height: 1px; background: var(--grad); box-shadow: 0 0 12px var(--coral); animation: runLine 5s ease-in-out infinite; }
  .step::after { content: ""; position: absolute; top: -38px; left: 26px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--coral); box-shadow: 0 0 12px rgba(255,77,109,.7); }
  .step { overflow: visible !important; }
}
@keyframes runLine { 0% { left: 12px; } 100% { left: calc(100% - 72px); } }
.step { position: relative; padding: 28px 24px; border-radius: var(--r); transition: border-color .3s, transform .3s; }
.step::before { counter-increment: step; content: "STEP 0" counter(step); display: block; margin-bottom: 18px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; color: var(--coral); }
.step:hover { border-color: rgba(255,255,255,.16); transform: translateY(-4px); }
.step p { font-size: .95rem; margin: 0; }

/* ---------- Numbered list ---------- */
.numlist { display: grid; gap: 10px; margin-top: 28px; }
.numlist li { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.025); font-family: var(--f-head); font-weight: 500; font-size: 1.02rem; color: #ecebf7; transition: border-color .25s, transform .25s; }
.numlist li b { flex: 0 0 auto; font-family: var(--f-mono); font-size: .76rem; font-weight: 500; color: var(--coral); }
.numlist li b::before { content: "0"; }
.numlist li:hover { border-color: rgba(255,77,109,.4); transform: translateX(4px); }

/* ---------- FAQ (two columns) ---------- */
.faq-wrap { display: grid; gap: 40px; }
@media (min-width: 992px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; } .faq-wrap .faq-head { position: sticky; top: 120px; } }
.faq-head p { margin: 0 0 26px; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 18px; padding: 0 22px; transition: border-color .25s, background .25s; }
.faq details[open] { border-color: rgba(255,77,109,.35); background: radial-gradient(400px 120px at 0 0, rgba(255,77,109,.08), transparent 70%), var(--glass); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--f-head); font-size: 1.05rem; font-weight: 500; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 12px; width: 12px; height: 12px; background: linear-gradient(var(--coral), var(--coral)) center/100% 1.5px no-repeat, linear-gradient(var(--coral), var(--coral)) center/1.5px 100% no-repeat; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { margin: 0; padding-bottom: 20px; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border-radius: 32px; padding: 56px 24px; border: 1px solid var(--line-2);
  background: radial-gradient(700px 360px at 90% 10%, rgba(255,77,109,.3), transparent 60%), radial-gradient(700px 400px at 10% 110%, rgba(108,108,255,.3), transparent 60%), #0e0c16; }
.cta::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(circle at 80% 30%, #000, transparent 60%); mask-image: radial-gradient(circle at 80% 30%, #000, transparent 60%); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { max-width: 760px; }
.cta p { max-width: 560px; margin-bottom: 30px; }
@media (min-width: 992px) {
  .cta { display: grid; grid-template-columns: 1.4fr auto; column-gap: 60px; align-items: end; padding: 80px 72px; }
  .cta .eyebrow, .cta h2, .cta p { grid-column: 1; }
  .cta p { margin-bottom: 0; }
  .cta .btn-row { grid-column: 2; grid-row: 1 / span 3; align-self: end; flex-direction: column; align-items: stretch; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 18px; }
@media (min-width: 992px) { .contact-grid { grid-template-columns: 1.45fr 1fr; gap: 24px; } }
.form-card, .info-card { border-radius: var(--r-lg); padding: 28px 20px; border-color: var(--line-2); }
@media (min-width: 640px) { .form-card, .info-card { padding: 40px; } }
.form-card h3, .info-card h3 { font-size: 1.6rem; }
.info-card { background: radial-gradient(420px 260px at 100% 0%, rgba(255,77,109,.18), transparent 70%), var(--glass); }
.form-row { display: grid; gap: 16px; margin-bottom: 16px; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: 8px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #cfcbe0; }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 13px 16px; border-radius: 14px; font-size: 16px; color: #fff; background-color: rgba(255,255,255,.035); border: 1px solid var(--line-2); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23ff4d6d' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.field select option { background: #0c0b12; color: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: rgba(255,77,109,.7); background-color: rgba(255,77,109,.05); box-shadow: 0 0 0 4px rgba(255,77,109,.12); }
.field input:-webkit-autofill { -webkit-box-shadow: 0 0 0 100px #16141f inset; -webkit-text-fill-color: #fff; }
.form-note { margin: 14px 0 0; font-size: .84rem; color: var(--muted); }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 14px; font-size: .94rem; font-weight: 500; color: #8ff5d4; background: rgba(52,227,180,.08); border: 1px solid rgba(52,227,180,.3); }
.form-status.show { display: block; }
.form-status.error { color: #ffb3c1; background: rgba(255,77,109,.08); border-color: rgba(255,77,109,.35); }
.form-status.info { color: #d9ccff; background: rgba(155,92,255,.08); border-color: rgba(155,92,255,.35); }
button[disabled] { opacity: .7; cursor: wait; }
.info-card p { margin-bottom: 8px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-item:last-child { border-bottom: 0; padding-bottom: 0; }
.info-item .ic { flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--grad-soft); border: 1px solid var(--line-2); }
.info-item .ic svg { width: 20px; height: 20px; }
.info-item small { display: block; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.info-item a, .info-item strong { font-family: var(--f-head); font-weight: 500; color: #fff; overflow-wrap: anywhere; font-size: clamp(.92rem, 3.5vw, 1.05rem); }
.info-item a:hover { color: #ffb3c1; }
.map-wrap { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 16 / 9; background: #0c0b12; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; filter: invert(90%) hue-rotate(185deg) saturate(.5) brightness(.9); }
@media (max-width: 639px) { .map-wrap { aspect-ratio: 4 / 5; } }

/* ---------- Service detail blocks ---------- */
.svc-block { position: relative; display: grid; gap: 22px; padding: 30px 22px; border-radius: var(--r-lg); scroll-margin-top: 100px; counter-increment: svc; transition: border-color .3s; }
.svc-wrap { counter-reset: svc; }
.svc-block:hover { border-color: rgba(255,255,255,.16); }
.svc-block + .svc-block { margin-top: 16px; }
@media (min-width: 992px) { .svc-block { grid-template-columns: 340px 1fr; gap: 56px; padding: 44px; } }
.svc-block::before { content: "0" counter(svc); position: absolute; top: 26px; right: 26px; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .12em; color: var(--muted); }
.svc-block .ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; color: #fff; background: var(--grad); box-shadow: 0 16px 40px -16px rgba(255,77,109,.8); }
.svc-block:nth-of-type(2n) .ic { background: linear-gradient(135deg, #9b5cff, #6c6cff); box-shadow: 0 16px 40px -16px rgba(155,92,255,.8); }
.svc-block .ic svg { width: 26px; height: 26px; }
.svc-block h3 { font-size: 1.5rem; }
.svc-block p { margin: 0; }
.svc-list { display: grid; gap: 8px; align-content: start; }
@media (min-width: 640px) { .svc-list { grid-template-columns: 1fr 1fr; } }
.svc-list li { display: flex; gap: 10px; align-items: flex-start; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.02); font-size: .94rem; font-weight: 500; color: #ebe8f6; transition: border-color .2s, background .2s; }
.svc-list li:hover { border-color: rgba(255,77,109,.35); background: rgba(255,77,109,.05); }
.svc-list li svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; color: var(--coral); }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; padding: 0; background: #050508; color: var(--muted); border-top: 1px solid var(--line); }
.footer-statement { position: relative; padding: 90px 0 70px; border-bottom: 1px solid var(--line); }
.footer-statement::before { content: ""; position: absolute; left: 50%; top: 0; width: 900px; height: 400px; transform: translate(-50%, -60%); background: radial-gradient(closest-side, rgba(255,77,109,.22), transparent); pointer-events: none; }
.footer-statement .container { position: relative; display: grid; gap: 28px; align-items: end; }
@media (min-width: 992px) { .footer-statement .container { grid-template-columns: 1fr auto; } }
.footer-statement h2 { margin: 0; font-size: clamp(2.2rem, 7vw, 5rem); letter-spacing: -.05em; line-height: 1; }
.footer-main { padding: 64px 0 0; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 48px; } }
.footer-brand .logo-wrap { display: inline-block; margin-bottom: 18px; }
.footer-brand img { height: 52px; width: auto; }
.footer-brand p { font-size: .94rem; max-width: 360px; }
.site-footer h4 { font-family: var(--f-mono); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.site-footer ul li + li { margin-top: 12px; }
.site-footer a { color: #b6b2c8; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; }
.f-contact svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 4px; color: var(--coral); }
.footer-bottom { margin-top: 60px; padding: 22px 0 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .04em; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 18px; bottom: 20px; z-index: 900; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; cursor: pointer; color: #fff;
  background: rgba(16,14,24,.85); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s ease; }
.to-top:hover { background: var(--grad); border-color: transparent; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Reveal: blur-in ---------- */
.reveal { opacity: 0; transform: translateY(26px); filter: blur(8px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1), filter .9s ease; }
.reveal.in { opacity: 1; transform: none; filter: none; }
.no-js .reveal { opacity: 1; transform: none; filter: none; }
.stagger > .reveal:nth-child(2) { transition-delay: .08s; } .stagger > .reveal:nth-child(3) { transition-delay: .16s; }
.stagger > .reveal:nth-child(4) { transition-delay: .24s; } .stagger > .reveal:nth-child(5) { transition-delay: .32s; } .stagger > .reveal:nth-child(6) { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .msg { opacity: 1; transform: none; filter: none; }
}
@media (max-width: 380px) { .container { padding: 0 16px; } .btn { padding: 0 22px; } }

/* fixes */
.site-footer a.btn-primary, .site-footer a.btn-primary:hover { color: #fff; }
@media (min-width: 1080px) {
  .b-lg .viz { flex: 1; display: flex; flex-direction: column; min-height: 260px; }
  .b-lg .viz-prompt .out { flex: 1; align-content: start; gap: 12px; margin-top: 22px; }
  .b-lg .viz-prompt .out i { height: 10px; }
}
.viz-prompt .out i:nth-child(5) { width: 88%; animation-delay: 1.2s; }
.viz-prompt .out i:nth-child(6) { width: 70%; animation-delay: 1.5s; }
.viz-prompt .out i:nth-child(7) { width: 40%; animation-delay: 1.8s; background: var(--grad); opacity: .6; }
.viz-prompt .out i:nth-child(4) { background: linear-gradient(90deg, rgba(255,255,255,.14), rgba(255,255,255,.05)); opacity: 1; }


/* ==========================================================
   SERVICES PAGE
   ========================================================== */
[id] { scroll-margin-top: calc(var(--header-h) + 72px); }

/* category cards under the hero */
.cat-strip { position: relative; z-index: 2; margin-top: -40px; padding-bottom: 20px; }
.cat-cards { display: grid; gap: 14px; }
@media (min-width: 900px) { .cat-cards { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.cat-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; border-radius: var(--r-lg); overflow: hidden;
  background: var(--glass); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform .35s ease, border-color .35s; }
.cat-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--grad); transform: scaleX(.25); transform-origin: left; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.cat-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.2); }
.cat-card:hover::before { transform: scaleX(1); }
.cat-card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 14px 30px -14px rgba(255,77,109,.8); }
.cat-card .ic svg { width: 21px; height: 21px; }
.cat-card .cat-num { position: absolute; top: 24px; right: 24px; font-family: var(--f-mono); font-size: .74rem; color: var(--muted); letter-spacing: .12em; }
.cat-card strong { font-family: var(--f-head); font-size: 1.35rem; font-weight: 600; color: #fff; letter-spacing: -.02em; margin-top: 8px; }
.cat-card .cat-desc { font-size: .92rem; color: var(--text); }
.cat-card .cat-foot { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.cat-card .cat-foot svg { width: 15px; height: 15px; color: var(--coral); transform: rotate(90deg); transition: transform .3s; }
.cat-card:hover .cat-foot svg { transform: rotate(90deg) translateX(3px); }

/* sticky section navigation */
.subnav { position: sticky; top: var(--header-h); z-index: 900; margin-top: 40px; background: rgba(7,7,11,.82); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.subnav-track { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.subnav-track::-webkit-scrollbar { display: none; }
.subnav a { flex: 0 0 auto; padding: 8px 14px; border-radius: 10px; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px solid transparent; transition: all .2s; white-space: nowrap; }
.subnav a:hover { color: #fff; }
.subnav a.active { color: #fff; background: rgba(255,255,255,.06); border-color: var(--line-2); box-shadow: inset 0 -2px 0 var(--coral); }

/* practice area sections */
.practice { --acc1: #ff4d6d; --acc2: #9b5cff; }
.practice.acc-de { --acc1: #9b5cff; --acc2: #6c6cff; }
.practice.acc-ht { --acc1: #34e3b4; --acc2: #6c6cff; }
.practice + .practice { border-top: 1px solid var(--line); }
.practice::before { content: ""; position: absolute; top: 0; left: 50%; width: min(900px, 90vw); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--acc1), var(--acc2), transparent); opacity: .7; }
.practice-intro { display: grid; gap: 40px; align-items: center; margin-bottom: 56px; }
@media (min-width: 992px) { .practice-intro { grid-template-columns: 1.05fr .95fr; gap: 72px; margin-bottom: 72px; } }
.practice h2 { font-size: clamp(2.2rem, 6vw, 3.8rem); }
.practice-lead { font-size: 1.08rem; max-width: 580px; }
.practice .checklist { margin: 24px 0 26px; }
.practice .checklist li svg { color: var(--acc1); }
.practice-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.practice-meta span { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 7px 12px; border-radius: 9px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.practice-meta b { color: #fff; font-weight: 600; margin-right: 4px; }
.practice-visual { position: relative; display: grid; gap: 12px; padding: 16px; border-radius: var(--r-lg); border: 1px solid var(--line-2);
  background: radial-gradient(420px 260px at 90% 0%, color-mix(in srgb, var(--acc1) 22%, transparent), transparent 70%), var(--glass);
  box-shadow: 0 60px 120px -60px color-mix(in srgb, var(--acc1) 55%, transparent); }
.practice-visual .viz { margin: 0; }
.acc-ht .grad-text { background: linear-gradient(100deg, #34e3b4, #6c6cff 70%, #9b5cff); -webkit-background-clip: text; background-clip: text; }
.acc-de .grad-text { background: linear-gradient(100deg, #b05cff, #6c6cff 70%, #8fb3ff); -webkit-background-clip: text; background-clip: text; }

/* capability groups */
.cap-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .cap-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } .cap-grid.two { grid-template-columns: repeat(2, 1fr); } }
.cap-group { position: relative; display: flex; flex-direction: column; padding: 24px 22px 14px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: border-color .35s, transform .35s; }
.cap-group:hover { border-color: rgba(255,255,255,.16); transform: translateY(-3px); }
.cap-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.cap-head .ic { flex: 0 0 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--acc1, #ff4d6d), var(--acc2, #9b5cff)); box-shadow: 0 12px 26px -14px var(--acc1, #ff4d6d); }
.cap-head .ic svg { width: 19px; height: 19px; }
.cap-head h3 { flex: 1; margin: 0; font-size: 1.12rem; }
.cap-count { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); padding: 3px 8px; border-radius: 7px; border: 1px solid var(--line); }
.cap-list li { position: relative; padding: 12px 8px 12px 18px; border-radius: 10px; transition: background .2s; }
.cap-list li + li { border-top: 1px dashed rgba(255,255,255,.06); }
.cap-list li::before { content: ""; position: absolute; left: 4px; top: 20px; width: 5px; height: 5px; border-radius: 50%; background: var(--acc1, #ff4d6d); box-shadow: 0 0 8px var(--acc1, #ff4d6d); }
.cap-list li:hover { background: rgba(255,255,255,.035); }
.cap-list strong { display: block; font-family: var(--f-head); font-weight: 500; font-size: .98rem; color: #f1eff9; line-height: 1.35; }
.cap-list span { display: block; margin-top: 3px; font-size: .86rem; line-height: 1.55; color: var(--text); }
.practice-note { display: flex; gap: 10px; align-items: flex-start; margin: 26px 0 0; padding: 14px 16px; border-radius: 14px; font-size: .9rem; color: #d9f7ee; border: 1px solid rgba(52,227,180,.3); background: rgba(52,227,180,.06); }
.practice-note svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; color: var(--mint); }

/* new mini visuals */
.viz-code { font-family: var(--f-mono); font-size: .76rem; }
.code-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .7rem; }
.code-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.14); }
.code-bar i:first-child { background: var(--coral); }
.code-bar span { margin-left: 8px; }
.viz-code pre { margin: 0; padding: 14px 16px; overflow-x: auto; color: #d9d5ea; line-height: 1.8; white-space: pre; }
.viz-code b { font-weight: 500; }
.viz-code .k { color: #c9a3ff; } .viz-code .f { color: #8fb3ff; } .viz-code .s { color: #ffb3c1; }
.viz-pipe { display: flex; align-items: center; gap: 6px; padding: 14px; flex-wrap: wrap; }
.viz-pipe span { position: relative; flex: 1 1 auto; text-align: center; padding: 8px 10px; border-radius: 9px; font-family: var(--f-mono); font-size: .7rem; color: #fff; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); }
.viz-pipe .ok::before { content: "✓ "; color: var(--mint); }
.viz-pipe .run { border-color: rgba(155,92,255,.6); background: rgba(155,92,255,.12); }
.viz-pipe .run::before { content: "● "; color: var(--violet); animation: blink 1.2s infinite; }
.viz-sched { padding: 12px 14px; display: grid; gap: 8px; }
.sched-head { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.slot { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid var(--line); font-size: .82rem; color: #ebe8f6; }
.slot b { font-family: var(--f-mono); font-weight: 500; font-size: .76rem; color: #fff; }
.slot em { font-style: normal; font-family: var(--f-mono); font-size: .64rem; padding: 3px 7px; border-radius: 6px; color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.slot em.done { color: #07070b; background: var(--mint); border-color: transparent; }
.slot em.now { color: #fff; background: rgba(108,108,255,.35); border-color: rgba(108,108,255,.6); }
@media (max-width: 420px) { .slot { grid-template-columns: 44px 1fr; } .slot em { grid-column: 2; justify-self: start; } }

/* redirect fallback pages (old service URLs) */
.redirect-page { min-height: 100vh; display: grid; place-content: center; justify-items: start; gap: 6px; padding: 40px 24px; max-width: 640px; margin: 0 auto; }
.redirect-page h1 { font-size: clamp(2rem, 6vw, 3rem); }
/* a lone last group fills its row instead of leaving an empty gap */
@media (min-width: 760px) and (max-width: 1179px) {
  .cap-grid > .cap-group:last-child:nth-child(2n+1) { grid-column: 1 / -1; }
  .cap-grid > .cap-group:last-child:nth-child(2n+1) .cap-list { columns: 2; column-gap: 24px; }
}
@media (min-width: 1180px) {
  .cap-grid:not(.two) > .cap-group:last-child:nth-child(3n+2) { grid-column: span 2; }
  .cap-grid:not(.two) > .cap-group:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
  .cap-grid:not(.two) > .cap-group:last-child:nth-child(3n+2) .cap-list,
  .cap-grid:not(.two) > .cap-group:last-child:nth-child(3n+1) .cap-list { columns: 2; column-gap: 28px; }
}
.cap-list li { break-inside: avoid; }
