/* ==========================================================================
   /ai-marketing - page styles (loaded on that page only).

   Built from the site's own tokens: Barlow, --color-primary #792CA2 and
   --color-secondary, the dark #0e0f11 used by the site's dark sections, the
   pill-shaped buttons of the header CTAs and the sub-title pill. Supporting
   tints are only lighter/darker steps of the same purple.
   ========================================================================== */

.ai-page {
    --aim-ink: var(--color-heading, #04000b);
    --aim-text: #5f5a66;
    --aim-muted: #8b8594;
    --aim-line: rgba(17, 17, 17, 0.1);
    --aim-purple: var(--color-primary, #792CA2);
    --aim-purple-dark: var(--color-secondary, #5A2178);
    --aim-purple-soft: #f4eefa;
    --aim-purple-light: #C085E0;
    --aim-dark: #0e0f11;
}

.ai-page .aim-accent { color: var(--aim-purple); }
.aim-narrow-only { display: none; }
@media only screen and (max-width: 991px) { .aim-wide-only { display: none; } .aim-narrow-only { display: inline; } }

/* The theme gives every <button> a dark skewed wipe on hover; none here. */
.ai-page .aim-svc::after,
.ai-page .aim-cmp__toggle button::after,
.ai-page .aim-form__submit::after { content: none !important; display: none !important; }
/* ...and capitalises, rounds and borders them; reset for this page's own. */
.ai-page button.aim-svc, .ai-page .aim-cmp__toggle button { text-transform: none; overflow: visible; }

/* ---- shared: buttons, section heads, reveal ----------------------------- */
.aim-btn {
    display: inline-flex; align-items: center; gap: 10px;
    height: 56px; padding: 0 30px;
    font-size: 16px; font-weight: 600; letter-spacing: 0.2px;
    border-radius: 40px; border: 2px solid var(--aim-purple);
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.aim-btn i { font-size: 14px; transition: transform 0.25s ease; }
.aim-btn:hover i { transform: translateX(4px); }
.aim-btn--primary { color: #fff !important; background: var(--aim-purple); }
.aim-btn--primary:hover { background: var(--aim-purple-dark); border-color: var(--aim-purple-dark); }
.aim-btn--ghost { color: var(--aim-purple) !important; background: transparent; }
.aim-btn--ghost:hover { color: #fff !important; background: var(--aim-purple); }

.aim-section-head { margin-bottom: 56px; }
.aim-section-head .title { margin-bottom: 0; }
.aim-section-head__text { margin: 0; font-size: 17px; line-height: 1.7; color: var(--aim-text); }

.aim-reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.9s cubic-bezier(.2, .7, .2, 1); }
.aim-reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   1. HERO
   ========================================================================== */
.aim-hero {
    position: relative; overflow: hidden;
    padding: 170px 0 110px;
    /* the homepage hero's faint grid, so the pages feel like one site */
    background-color: #fcfbfd;
    background-image:
        linear-gradient(rgba(121, 44, 162, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(121, 44, 162, 0.05) 1px, transparent 1px);
    background-size: 68px 68px;
}
.aim-hero::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
    pointer-events: none;
}
.aim-hero .container { position: relative; z-index: 1; }
.aim-hero__title {
    margin: 22px 0 24px;
    font-size: clamp(44px, 5.2vw, 76px); font-weight: 700;
    line-height: 1.03; letter-spacing: -0.02em; color: var(--aim-ink);
}
.aim-hero__title span { display: block; color: var(--aim-purple); }
.aim-hero__lead { max-width: 520px; margin: 0 0 36px; font-size: 18px; line-height: 1.75; color: var(--aim-text); }
.aim-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.aim-hero__trust { display: flex; flex-wrap: wrap; gap: 0; margin: 0; padding: 0; list-style: none; }
.aim-hero__trust li { padding: 0 22px; font-size: 14px; line-height: 1.4; color: var(--aim-muted); border-left: 1px solid var(--aim-line); }
.aim-hero__trust li:first-child { padding-left: 0; border-left: 0; }
.aim-hero__trust strong { display: block; margin-bottom: 2px; font-size: 26px; font-weight: 700; color: var(--aim-ink); }

/* ---- hero flow visual ----------------------------------------------------- */
.aim-flow { position: relative; width: 100%; aspect-ratio: 1 / 0.9; margin-left: auto; max-width: 620px; }
.aim-flow__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.aim-flow__track, .aim-flow__pulse { fill: none; stroke-linecap: round; }
.aim-flow__track { stroke: rgba(121, 44, 162, 0.3); stroke-width: 0.3; stroke-dasharray: 0.2 1.1; }
/* one bright segment travelling data -> results (lengths are % of the path) */
.aim-flow__pulse { stroke: var(--aim-purple); stroke-width: 0.55; stroke-dasharray: 12 88; animation: aimPulse 5.5s linear infinite; }
@keyframes aimPulse { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }

.aim-node, .aim-frag {
    position: absolute; left: var(--x); top: var(--y);
    transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
    transition: transform 0.9s cubic-bezier(.2, .7, .2, 1);
}
.aim-node { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: -9px 0 0 -9px; z-index: 2; }
.aim-node__dot {
    display: flex; align-items: center; justify-content: center;
    width: 18px; height: 18px; border-radius: 50%;
    background: #fff; border: 2px solid var(--aim-purple);
    box-shadow: 0 0 0 6px rgba(121, 44, 162, 0.08);
}
.aim-node__label { font-size: 11.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--aim-ink); white-space: nowrap; }
.aim-node--ai { margin: -34px 0 0 -34px; }
.aim-node--ai .aim-node__dot {
    width: 68px; height: 68px; font-size: 20px; font-weight: 700; letter-spacing: 1px;
    color: #fff; background: var(--aim-purple); border: 0;
    box-shadow: 0 0 0 10px rgba(121, 44, 162, 0.1), 0 16px 34px -10px rgba(121, 44, 162, 0.6);
}
.aim-node--ai .aim-node__dot::after {
    content: ""; position: absolute; width: 68px; height: 68px; border-radius: 50%;
    border: 1px solid rgba(121, 44, 162, 0.4); animation: aimRing 3.2s ease-out infinite;
}
@keyframes aimRing { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.9); opacity: 0; } }
.aim-node--end .aim-node__dot { background: var(--aim-purple); box-shadow: 0 0 0 6px rgba(121, 44, 162, 0.14); }

.aim-frag {
    z-index: 1; padding: 12px 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(121, 44, 162, 0.14); border-radius: 12px;
    box-shadow: 0 14px 30px -18px rgba(37, 14, 50, 0.35);
    font-size: 11.5px; color: var(--aim-muted);
}
.aim-frag__cap { display: block; font-weight: 600; letter-spacing: 0.3px; color: var(--aim-text); }
.aim-frag__cap b, .aim-frag__meta b { color: var(--aim-purple); font-weight: 700; }
.aim-frag__meta { display: block; margin-top: 6px; }
.aim-frag--data { padding: 10px; background: transparent; border: 0; box-shadow: none; }
.aim-dots { display: grid; grid-template-columns: repeat(6, 7px); gap: 7px; }
.aim-dots i { width: 7px; height: 7px; border-radius: 2px; background: rgba(121, 44, 162, 0.18); animation: aimBlink 3.6s ease-in-out infinite; }
.aim-dots i:nth-child(3n) { animation-delay: 0.6s; }
.aim-dots i:nth-child(4n+1) { animation-delay: 1.4s; }
.aim-dots i:nth-child(5n+2) { animation-delay: 2.1s; }
.aim-dots i:nth-child(7n) { animation-delay: 2.8s; }
@keyframes aimBlink { 0%, 100% { background: rgba(121, 44, 162, 0.16); } 50% { background: rgba(121, 44, 162, 0.7); } }
.aim-frag--insight { width: 150px; }
.aim-bars { display: flex; align-items: flex-end; gap: 5px; height: 42px; margin-top: 10px; }
.aim-bars i { flex: 1; height: 40%; border-radius: 3px 3px 0 0; background: var(--aim-purple-light); transition: height 1.1s cubic-bezier(.2, .7, .2, 1); }
.aim-bars i:nth-child(4) { background: var(--aim-purple); }
.aim-frag--content { width: 128px; }
.aim-frag__img { display: block; height: 46px; margin-bottom: 9px; border-radius: 6px; background: linear-gradient(135deg, #ead9f4, #d4b3e8); }
.aim-frag__line { display: block; height: 5px; margin-bottom: 5px; border-radius: 3px; background: #ece7f1; }
.aim-frag__line--short { width: 60%; margin-bottom: 9px; }
.aim-frag--channels { display: flex; gap: 6px; padding: 8px; }
.aim-frag--channels span { padding: 5px 10px; font-weight: 600; border-radius: 20px; background: #f3eff6; transition: background 0.4s ease, color 0.4s ease; }
.aim-frag--channels span.is-on { color: #fff; background: var(--aim-purple); }
.aim-frag--results { width: 150px; }
.aim-spark { display: block; width: 100%; height: 30px; margin-top: 8px; overflow: visible; }
.aim-spark path { fill: none; stroke: var(--aim-purple); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 200; stroke-dashoffset: 200; animation: aimDraw 2.4s 0.6s ease forwards; }
@keyframes aimDraw { to { stroke-dashoffset: 0; } }

/* ==========================================================================
   2. WHY AI
   ========================================================================== */
.aim-statement { margin: 18px 0 22px; font-size: clamp(32px, 3.4vw, 50px); font-weight: 700; line-height: 1.1; letter-spacing: -0.015em; color: var(--aim-ink); }
.aim-statement span { display: block; color: var(--aim-purple); }
.aim-why__intro { max-width: 420px; margin: 0; font-size: 17px; line-height: 1.75; color: var(--aim-text); }
.aim-advantages { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--aim-line); }
.aim-advantages li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 24px 0; border-bottom: 1px solid var(--aim-line); }
.aim-advantages__n { padding-top: 3px; font-size: 14px; font-weight: 700; letter-spacing: 1px; color: var(--aim-purple); }
.aim-advantages h3 { margin: 0 0 6px; font-size: 21px; font-weight: 600; color: var(--aim-ink); }
.aim-advantages p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--aim-text); }

.aim-shift { margin-top: 90px; }
.aim-shift__cap { margin: 0 0 26px; font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--aim-muted); }
.aim-shift__track { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); margin: 0; padding: 0; list-style: none; }
/* the line the stages sit on, filled up to the active stage */
.aim-shift__track::before, .aim-shift__track::after { content: ""; position: absolute; top: 8px; left: 8px; height: 2px; background: var(--aim-line); }
.aim-shift__track::before { right: 8px; }
.aim-shift__track::after { width: calc((100% - 16px) * var(--shift, 0)); background: var(--aim-purple); transition: width 0.7s cubic-bezier(.2, .7, .2, 1); }
.aim-shift__track li { position: relative; z-index: 1; padding-right: 18px; cursor: pointer; }
.aim-shift__dot { display: block; width: 18px; height: 18px; margin-bottom: 18px; border-radius: 50%; background: #fff; border: 2px solid #d6cfdc; transition: border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease; }
.aim-shift__track b { display: block; margin-bottom: 6px; font-size: 17px; font-weight: 600; color: var(--aim-muted); transition: color 0.4s ease; }
.aim-shift__track em { display: block; font-size: 14px; font-style: normal; line-height: 1.5; color: var(--aim-muted); opacity: 0; transform: translateY(6px); transition: opacity 0.4s ease, transform 0.4s ease; }
.aim-shift__track li.is-done .aim-shift__dot { border-color: var(--aim-purple); background: var(--aim-purple); }
.aim-shift__track li.is-done b { color: var(--aim-ink); }
.aim-shift__track li.is-active .aim-shift__dot { border-color: var(--aim-purple); background: #fff; box-shadow: 0 0 0 7px rgba(121, 44, 162, 0.14); }
.aim-shift__track li.is-active b { color: var(--aim-purple); }
.aim-shift__track li.is-active em { opacity: 1; transform: none; }

/* ==========================================================================
   3. SERVICES - featured panel + list
   ========================================================================== */
.aim-services { background: #faf8fc; }
.aim-explorer { display: grid; grid-template-columns: 5fr 7fr; gap: 50px; align-items: start; }
.aim-explorer__feature { position: relative; min-height: 470px; color: #fff; background: var(--aim-dark); border-radius: 18px; overflow: hidden; }
/* a faint purple field in one corner - depth, not a gradient wash */
.aim-explorer__feature::before { content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(121, 44, 162, 0.55), rgba(121, 44, 162, 0) 70%); pointer-events: none; }
.aim-feature { position: absolute; inset: 0; padding: 44px 42px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.4s ease, transform 0.5s ease, visibility 0.4s; }
.aim-feature.is-active { position: relative; opacity: 1; visibility: visible; transform: none; }
.aim-feature__icon { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; color: #fff; background: var(--aim-purple); }
.aim-feature__icon svg { width: 28px; height: 28px; stroke-width: 1; }
.aim-feature__n { position: absolute; top: 58px; right: 42px; font-size: 13px; font-weight: 600; letter-spacing: 1px; color: rgba(255, 255, 255, 0.5); }
.aim-feature h3 { margin: 30px 0 14px; font-size: 30px; font-weight: 700; line-height: 1.15; color: #fff; }
.aim-feature p { margin: 0 0 22px; font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, 0.74); }
.aim-feature ul { margin: 0 0 30px; padding: 0; list-style: none; }
.aim-feature li { position: relative; padding: 9px 0 9px 22px; font-size: 15px; color: rgba(255, 255, 255, 0.88); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.aim-feature li::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 2px; background: var(--aim-purple-light); }
.aim-feature__cta { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: #fff !important; border-bottom: 1px solid rgba(255, 255, 255, 0.4); padding-bottom: 4px; }
.aim-feature__cta:hover { border-color: #fff; }

.aim-explorer__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; margin: 0; padding: 0; list-style: none; }
.aim-svc {
    display: grid; grid-template-columns: 40px 1fr; gap: 16px; width: 100%;
    padding: 20px 14px 20px 0; text-align: left;
    background: transparent; border: 0; border-bottom: 1px solid var(--aim-line);
    cursor: pointer; transition: padding 0.3s ease;
}
.aim-svc__icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: var(--aim-purple); background: var(--aim-purple-soft); transition: background 0.3s ease, color 0.3s ease; }
.aim-svc__icon svg { width: 20px; height: 20px; stroke-width: 1.1; }
.aim-svc__title { display: block; margin-bottom: 4px; font-size: 16.5px; font-weight: 600; line-height: 1.3; color: var(--aim-ink); transition: color 0.3s ease; }
.aim-svc__line { display: block; font-size: 14px; line-height: 1.5; color: var(--aim-muted); }
.aim-svc__more { display: none; }
.aim-svc:hover .aim-svc__title, .aim-svc.is-active .aim-svc__title { color: var(--aim-purple); }
.aim-svc.is-active .aim-svc__icon { color: #fff; background: var(--aim-purple); }
.aim-svc:hover { padding-left: 6px; }
.aim-svc:focus-visible { outline: 2px solid var(--aim-purple); outline-offset: 2px; }

/* ==========================================================================
   4. TRADITIONAL VS AI - reveal slider
   ========================================================================== */
.aim-cmp { position: relative; border-radius: 18px; overflow: hidden; user-select: none; border: 1px solid var(--aim-line); }
.aim-cmp__layer { background: #f6f4f8; }
.aim-cmp__layer--new { position: absolute; inset: 0; background: var(--aim-purple); clip-path: inset(0 0 0 var(--pos)); }
.aim-cmp__head, .aim-cmp__row { display: grid; grid-template-columns: 1fr 210px 1fr; align-items: center; gap: 24px; padding: 0 40px; }
.aim-cmp__head { padding-top: 24px; padding-bottom: 24px; font-size: 14px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
.aim-cmp__head span:first-child { text-align: right; }
.aim-cmp__row { padding-top: 19px; padding-bottom: 19px; border-top: 1px solid var(--aim-line); }
.aim-cmp__old { text-align: right; }
.aim-cmp__area { text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.aim-cmp__old, .aim-cmp__new { font-size: 18px; line-height: 1.35; }
/* traditional view: its own column leads, the AI column waits in faint purple */
.aim-cmp__layer--old .aim-cmp__head { color: var(--aim-muted); }
.aim-cmp__layer--old .aim-cmp__head span:last-child { color: rgba(121, 44, 162, 0.4); }
.aim-cmp__layer--old .aim-cmp__old { color: #6d6674; font-weight: 500; }
.aim-cmp__layer--old .aim-cmp__area { color: var(--aim-muted); }
.aim-cmp__layer--old .aim-cmp__new { color: rgba(121, 44, 162, 0.38); font-weight: 500; }
/* AI view: the AI column is bright, the old way is struck out */
.aim-cmp__layer--new .aim-cmp__head { color: rgba(255, 255, 255, 0.55); }
.aim-cmp__layer--new .aim-cmp__head span:last-child { color: #fff; }
.aim-cmp__layer--new .aim-cmp__row { border-top-color: rgba(255, 255, 255, 0.14); }
.aim-cmp__layer--new .aim-cmp__old { color: rgba(255, 255, 255, 0.42); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.35); }
.aim-cmp__layer--new .aim-cmp__area { color: rgba(255, 255, 255, 0.7); }
.aim-cmp__layer--new .aim-cmp__new { color: #fff; font-weight: 600; }
.aim-cmp__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(121, 44, 162, 0.25); pointer-events: none; }
.aim-cmp__handle span { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; gap: 4px; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; color: var(--aim-purple); background: #fff; box-shadow: 0 10px 26px -8px rgba(37, 14, 50, 0.45); }
.aim-cmp__handle i { font-size: 12px; }
.aim-cmp__handle i:first-child { transform: scaleX(-1); }
.aim-cmp.is-animating .aim-cmp__layer--new { transition: clip-path 0.9s cubic-bezier(.2, .7, .2, 1); }
.aim-cmp.is-animating .aim-cmp__handle { transition: left 0.9s cubic-bezier(.2, .7, .2, 1); }
.aim-cmp__range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.aim-cmp:focus-within .aim-cmp__handle span { box-shadow: 0 0 0 3px var(--aim-purple), 0 10px 26px -8px rgba(37, 14, 50, 0.45); }
.aim-cmp__toggle { display: flex; justify-content: center; gap: 6px; margin: 26px auto 0; padding: 6px; width: max-content; background: #f3eef7; border-radius: 40px; }
.aim-cmp__toggle button { height: 40px; padding: 0 20px; font-size: 14px; font-weight: 600; color: var(--aim-ink); background: transparent; border: 0; border-radius: 40px; cursor: pointer; transition: background 0.25s ease, color 0.25s ease; }
.aim-cmp__toggle button.is-active { color: #fff; background: var(--aim-purple); }

/* ==========================================================================
   5. HOW WE WORK - journey
   ========================================================================== */
.aim-journey { position: relative; }
.aim-journey__rail { position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--aim-line); }
.aim-journey__fill { display: block; height: 100%; width: calc(var(--journey, 0) * 100%); background: var(--aim-purple); }
.aim-journey__steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; margin: 0; padding: 0; list-style: none; }
.aim-journey__n { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 26px; font-size: 16px; font-weight: 700; border-radius: 50%; color: var(--aim-muted); background: #fff; border: 2px solid #ddd6e3; transition: color 0.4s ease, background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease; }
.aim-journey__steps h3 { margin: 0 0 8px; font-size: 22px; font-weight: 700; color: var(--aim-ink); }
.aim-journey__steps p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--aim-text); }
.aim-journey__steps li.is-lit .aim-journey__n { color: #fff; background: var(--aim-purple); border-color: var(--aim-purple); box-shadow: 0 0 0 7px rgba(121, 44, 162, 0.12); }

/* ==========================================================================
   6. WHY CHOOSE US
   ========================================================================== */
.aim-choose { background: #faf8fc; }
.aim-choose__grid { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 50px; align-items: center; }
.aim-choose__center { text-align: center; padding: 20px 10px; }
.aim-choose__statement { margin: 20px 0 18px; font-size: clamp(30px, 3vw, 44px); font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; color: var(--aim-ink); }
.aim-choose__statement span { display: block; color: var(--aim-purple); }
.aim-choose__sub { margin: 0 auto; max-width: 380px; font-size: 16px; line-height: 1.7; color: var(--aim-text); }
.aim-proof { padding: 24px 0; border-bottom: 1px solid var(--aim-line); }
.aim-proof:last-child { border-bottom: 0; }
.aim-proof__icon { display: inline-flex; margin-bottom: 12px; color: var(--aim-purple); }
.aim-proof__icon svg { width: 28px; height: 28px; stroke-width: 1; }
.aim-proof h3 { margin: 0 0 6px; font-size: 19px; font-weight: 700; color: var(--aim-ink); }
.aim-proof p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--aim-text); }

/* ==========================================================================
   7. FAQ
   ========================================================================== */
.aim-faq__head { padding-right: 30px; }
.aim-faq__head .title { margin: 18px 0 16px; }
.aim-faq__head p { margin: 0 0 28px; font-size: 16px; line-height: 1.7; color: var(--aim-text); }
.aim-faq__list { border-top: 1px solid var(--aim-line); }
.aim-q { border-bottom: 1px solid var(--aim-line); }
.aim-q summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; }
.aim-q summary::-webkit-details-marker { display: none; }
.aim-q summary span { font-size: 19px; font-weight: 600; line-height: 1.4; color: var(--aim-ink); transition: color 0.25s ease; }
.aim-q summary:hover span, .aim-q[open] summary span { color: var(--aim-purple); }
.aim-q summary i { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--aim-line); transition: background 0.25s ease, border-color 0.25s ease; }
.aim-q summary i::before, .aim-q summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--aim-ink); transition: transform 0.3s ease, background 0.25s ease; }
.aim-q summary i::after { transform: rotate(90deg); }
.aim-q[open] summary i { background: var(--aim-purple); border-color: var(--aim-purple); }
.aim-q[open] summary i::before, .aim-q[open] summary i::after { background: #fff; }
.aim-q[open] summary i::after { transform: rotate(0); }
.aim-q summary:focus-visible { outline: 2px solid var(--aim-purple); outline-offset: 4px; }
.aim-q__a p { margin: 0; padding: 0 60px 26px 0; font-size: 16px; line-height: 1.75; color: var(--aim-text); }

/* ==========================================================================
   8. FORM
   ========================================================================== */
.aim-cta { padding: 20px 0 110px; }
.aim-cta__box { display: grid; grid-template-columns: 5fr 7fr; border-radius: 20px; overflow: hidden; border: 1px solid var(--aim-line); box-shadow: 0 30px 60px -40px rgba(37, 14, 50, 0.35); }
.aim-cta__intro { position: relative; padding: 56px 48px; color: #fff; background: var(--aim-dark); overflow: hidden; }
.aim-cta__intro::before { content: ""; position: absolute; left: -140px; bottom: -160px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(121, 44, 162, 0.5), rgba(121, 44, 162, 0) 70%); pointer-events: none; }
.aim-cta__intro > * { position: relative; }
.aim-cta__intro .sub-title { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.aim-cta__intro h2 { margin: 22px 0 16px; font-size: clamp(32px, 3vw, 44px); font-weight: 700; line-height: 1.12; color: #fff; }
.aim-cta__intro h2 span { color: var(--aim-purple-light); }
.aim-cta__intro > p { margin: 0 0 34px; font-size: 16.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.74); }
.aim-cta__next { margin: 0; padding: 0; list-style: none; }
.aim-cta__next li { display: grid; grid-template-columns: 40px 1fr; padding: 14px 0; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, 0.85); border-top: 1px solid rgba(255, 255, 255, 0.12); }
.aim-cta__next b { color: var(--aim-purple-light); font-weight: 700; }

.aim-form { padding: 50px 48px 44px; background: #fff; }
.aim-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.aim-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.aim-field--wide { grid-column: 1 / -1; }
.aim-field > span { font-size: 12.5px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--aim-muted); }
.aim-field input, .aim-field select, .aim-field textarea {
    width: 100%; height: 46px; min-height: 46px; padding: 0 2px;
    font-size: 16px; color: var(--aim-ink);
    background: transparent; border: 0; border-bottom: 1.5px solid rgba(17, 17, 17, 0.2); border-radius: 0;
    outline: none; box-shadow: none; transition: border-color 0.25s ease;
}
.aim-field textarea { height: auto; min-height: 80px; padding: 10px 2px; resize: vertical; }
.aim-field select { cursor: pointer; }
.aim-field input:focus, .aim-field select:focus, .aim-field textarea:focus { border-bottom-color: var(--aim-purple); }
.aim-field input::placeholder, .aim-field textarea::placeholder { color: #b3adba; }
.aim-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 34px; }
.aim-form__submit { cursor: pointer; }
.aim-form__note { flex: 1 1 220px; margin: 0; font-size: 14px; line-height: 1.55; color: var(--aim-muted); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media only screen and (max-width: 1199px) {
    .aim-explorer__list { grid-template-columns: 1fr; }
    .aim-choose__grid { grid-template-columns: 1fr 1fr; }
    .aim-choose__center { grid-column: 1 / -1; order: -1; }
}

@media only screen and (max-width: 991px) {
    .aim-hero { padding: 130px 0 70px; }
    .aim-flow { margin: 50px auto 0; }
    .aim-section-head { margin-bottom: 36px; }
    .aim-section-head__text { margin-top: 16px; }
    .aim-advantages { margin-top: 40px; }
    .aim-shift { margin-top: 60px; }

    /* stages become a vertical list, every description visible */
    .aim-shift__track { grid-template-columns: 1fr; gap: 18px; padding-left: 36px; }
    .aim-shift__track::before, .aim-shift__track::after { top: 8px; left: 8px; width: 2px; height: auto; bottom: 8px; }
    .aim-shift__track::after { height: calc((100% - 16px) * var(--shift, 0)); width: 2px; bottom: auto; transition: height 0.7s cubic-bezier(.2, .7, .2, 1); }
    .aim-shift__dot { position: absolute; left: -36px; top: 2px; margin: 0; }
    .aim-shift__track em { opacity: 1; transform: none; }

    /* services: the list alone, each row opening in place */
    .aim-explorer { grid-template-columns: 1fr; }
    .aim-explorer__feature { display: none; }
    .aim-svc.is-active .aim-svc__more { display: block; margin-top: 10px; font-size: 14.5px; line-height: 1.65; color: var(--aim-text); }
    .aim-svc:hover { padding-left: 0; }

    /* narrow screens: each row is the area, then the value for the view
       shown - the toggle swaps views, there is no drag */
    .aim-cmp__head, .aim-cmp__row { grid-template-columns: 1fr; gap: 4px; padding-left: 24px; padding-right: 24px; }
    .aim-cmp__head span:first-child, .aim-cmp__old { text-align: left; }
    .aim-cmp__head span:nth-child(2) { display: none; }
    .aim-cmp__area { order: -1; text-align: left; }
    .aim-cmp__layer--old .aim-cmp__new, .aim-cmp__layer--old .aim-cmp__head span:last-child,
    .aim-cmp__layer--new .aim-cmp__old, .aim-cmp__layer--new .aim-cmp__head span:first-child { display: none; }
    .aim-cmp__old, .aim-cmp__new { font-size: 17px; }
    .aim-cmp__handle, .aim-cmp__range { display: none; }
    .aim-cmp__toggle button[data-aim-show="50"] { display: none; }
    .aim-cmp .aim-cmp__layer--new { transition: clip-path 0.7s cubic-bezier(.2, .7, .2, 1); }

    /* journey turns vertical */
    .aim-journey__rail { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
    .aim-journey__fill { width: 100%; height: calc(var(--journey, 0) * 100%); }
    .aim-journey__steps { grid-template-columns: 1fr; gap: 34px; }
    .aim-journey__steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 22px; }
    .aim-journey__n { grid-row: span 2; margin: 0; }

    .aim-faq__head { padding-right: 0; margin-bottom: 40px; }
    .aim-cta__box { grid-template-columns: 1fr; }
}

@media only screen and (max-width: 767px) {
    .aim-choose__grid { grid-template-columns: 1fr; gap: 10px; }
    .aim-cmp__toggle { width: 100%; }
    .aim-cmp__toggle button { flex: 1; padding: 0 8px; }
}

@media only screen and (max-width: 575px) {
    .aim-hero__lead { font-size: 16.5px; }
    .aim-btn { height: 52px; padding: 0 24px; font-size: 15px; width: 100%; justify-content: center; }
    /* three even columns, so no stat drops to a line of its own */
    .aim-hero__trust { display: grid; grid-template-columns: repeat(3, 1fr); }
    .aim-hero__trust li { padding: 0 10px; font-size: 12.5px; }
    .aim-hero__trust strong { font-size: 22px; }
    /* the flow keeps its nodes; the busier fragments step back */
    .aim-frag--content, .aim-frag--channels { display: none; }
    .aim-node__label { font-size: 10px; letter-spacing: 1px; }
    .aim-node--ai { margin: -26px 0 0 -26px; }
    .aim-node--ai .aim-node__dot, .aim-node--ai .aim-node__dot::after { width: 52px; height: 52px; font-size: 16px; }
    .aim-frag--insight, .aim-frag--results { width: 120px; padding: 10px; }
    /* on a narrow visual the results card would sit on the RESULTS label */
    .aim-frag--results { --x: 36% !important; --y: 4% !important; }
    .aim-feature, .aim-cta__intro, .aim-form { padding-left: 22px; padding-right: 22px; }
    .aim-cta__intro { padding-top: 40px; padding-bottom: 40px; }
    .aim-form { padding-top: 36px; padding-bottom: 34px; }
    .aim-form__grid { grid-template-columns: 1fr; }
    .aim-q summary span { font-size: 17px; }
    .aim-q__a p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .aim-reveal { opacity: 1; transform: none; transition: none; }
    .aim-flow__pulse, .aim-node--ai .aim-node__dot::after, .aim-dots i, .aim-spark path { animation: none; }
    .aim-spark path { stroke-dashoffset: 0; }
    .aim-node, .aim-frag { transition: none; }
}
