/* Home, Services, Performance Marketing and AI Workflows: plain, centred, Apple-style, like the RAAS page.
   Scoped to body.ap so no other page changes. White and light grey, one soft blue-to-violet accent. */
.ap { --ink: #1D1D1F; --soft: #6E6E73; --hair: #D2D2D7; --grey: #F5F5F7; --lav: #F4F2FF; --b: #0A84FF; --v: #7D5CFF; --link: #0066CC; background: #fff; color: var(--ink); font-size: 17px; line-height: 1.5; }
.ap-hero h1, .ap-sec h2, .ap-final h2, .ap-tile h3, .ap-items h3, .ap-step-h h3 { color: var(--ink); font-weight: 600; letter-spacing: -0.035em; margin: 0; }
.ap-hero a:not(.ap-pill), .ap-sec a:not(.ap-pill):not(.ap-tile), .ap-final a:not(.ap-pill) { color: var(--link); }
.ap .reveal { opacity: 1 !important; transform: none !important; }

/* Header and footer, in the same quiet style */
.ap .site-header { background: rgba(255,255,255,.82); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-bottom: 1px solid rgba(0,0,0,.08); box-shadow: none; }
.ap .header-inner { min-height: 56px; }
.ap .brand img { height: 30px; }
.ap .menu > li > a { font-size: .82rem; font-weight: 400; color: var(--ink); opacity: .85; padding: 8px 12px; }
.ap .menu > li > a:hover, .ap .menu > li.is-current > a { opacity: 1; }
.ap .menu > li > a::after { display: none; }
.ap .site-header .btn { background: var(--ink); box-shadow: none; border-radius: 980px; padding: 8px 16px; font-size: .8rem; filter: none; transform: none; }
.ap .site-header .btn:hover { background: #000; }
.ap .site-footer { background: var(--grey); border-top: 1px solid var(--hair); padding-top: 52px; font-size: .88rem; }
.ap .footer-h { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); font-weight: 600; }
.ap .site-footer a { color: #424245; text-decoration: none; } .ap .site-footer a:hover { color: var(--ink); text-decoration: underline; }

/* Layout */
.ap-wrap { width: min(100% - 44px, 1000px); margin-inline: auto; text-align: center; }
.ap-sec { padding: clamp(72px, 10vw, 128px) 0; }
.ap-grey { background: var(--grey); }
.ap-lav { background: linear-gradient(180deg, var(--lav), #fff); }
.ap-eyebrow { font-size: clamp(1rem, 1.6vw, 1.25rem); font-weight: 600; color: var(--soft); margin: 0 0 12px; letter-spacing: -0.01em; }
.ap-hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.8rem); line-height: 1.05; max-width: 18ch; margin-inline: auto; text-wrap: balance; }
.ap-sec h2, .ap-final h2 { font-size: clamp(2rem, 4.8vw, 3.6rem); line-height: 1.08; text-wrap: balance; }
.ap-sub { font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.35; color: var(--soft); font-weight: 400; letter-spacing: -0.015em; max-width: 36rem; margin: 22px auto 0; }
.ap-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 28px; margin: 34px 0 0; }
.ap-pill { display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: #fff !important; text-decoration: none !important; font-weight: 500; font-size: 1.05rem; padding: 13px 26px; border-radius: 980px; transition: background .2s; }
.ap-pill:hover { background: #000; }
.ap-link { font-size: 1.1rem; text-decoration: none; } .ap-link:hover { text-decoration: underline; }
.ap-fine { font-size: .85rem; color: var(--soft); margin: 26px 0 0; }
.ap-grad { background: linear-gradient(90deg, var(--b), var(--v)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* Hero: type on white, with a faint wash of colour */
.ap-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(64px, 10vw, 132px) 0 clamp(56px, 8vw, 100px); text-align: center; }
.ap-hero::before { content: ""; position: absolute; inset: -20% -10% auto -10%; height: 90%; z-index: -1; background: radial-gradient(40% 55% at 22% 30%, rgba(10,132,255,.13), transparent 70%), radial-gradient(38% 55% at 80% 20%, rgba(125,92,255,.14), transparent 70%); }

/* Four services: large, plain tiles */
.ap-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: clamp(40px, 6vw, 64px) 0 0; padding: 0; list-style: none; text-align: left; }
.ap-tile { display: flex; flex-direction: column; gap: 10px; background: #fff; border-radius: 28px; padding: clamp(28px, 4vw, 44px); min-height: 250px; text-decoration: none; color: var(--ink) !important; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.ap-tile:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(40,30,120,.35); }
.ap-tile small { font-size: .85rem; font-weight: 600; color: var(--v); }
.ap-tile h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.ap-tile p { margin: 0; color: var(--soft); font-size: 1.05rem; }
.ap-tile span { margin-top: auto; color: var(--link); font-size: 1.02rem; padding-top: 14px; }
@media (max-width: 720px) { .ap-tiles { grid-template-columns: 1fr; } .ap-tile { min-height: 0; } }

/* Proof numbers */
.ap-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: clamp(36px, 5vw, 60px) 0 0; padding: 0; list-style: none; }
.ap-nums b { display: block; font-size: clamp(2rem, 4.4vw, 3.1rem); letter-spacing: -0.04em; line-height: 1.05; background: linear-gradient(90deg, var(--b), var(--v)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.ap-nums span { display: block; margin-top: 6px; color: var(--soft); font-size: .95rem; line-height: 1.35; }
@media (max-width: 720px) { .ap-nums { grid-template-columns: 1fr 1fr; } }

/* Plain lists: title and one line, in columns, no boxes */
.ap-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; margin: clamp(40px, 6vw, 64px) 0 0; padding: 0; list-style: none; text-align: left; }
.ap-items.two { grid-template-columns: repeat(2, 1fr); }
.ap-items li { border-top: 1px solid var(--hair); padding-top: 18px; }
.ap-items h3 { font-size: 1.2rem; margin-bottom: 6px; } .ap-items p { margin: 0; color: var(--soft); font-size: 1rem; }
@media (max-width: 820px) { .ap-items, .ap-items.two { grid-template-columns: 1fr; gap: 26px; } }

/* The process: each stage is a row. Number, name and timing on the left; what we do and what you get on the right. */
.ap-steps { list-style: none; margin: clamp(40px, 6vw, 64px) 0 0; padding: 0; text-align: left; }
.ap-steps > li { display: grid; grid-template-columns: 250px 1fr; gap: 12px 40px; padding: 34px 0; border-top: 1px solid var(--hair); }
.ap-steps > li:last-child { border-bottom: 1px solid var(--hair); }
.ap-step-h { display: grid; gap: 4px; align-content: start; }
.ap-step-h span { font-size: .85rem; font-weight: 600; color: var(--v); }
.ap-step-h h3 { font-size: 1.45rem; line-height: 1.15; }
.ap-step-h em { font-style: normal; font-size: .9rem; color: var(--soft); }
.ap-step-b p { margin: 0 0 .9em; font-size: 1.03rem; color: #3A3A3F; }
.ap-step-b .ap-note { color: var(--soft); font-size: .95rem; }
.ap-get { margin: 4px 0 0 !important; padding: 14px 18px; background: var(--grey); border-radius: 14px; color: var(--ink) !important; font-size: .98rem !important; }
.ap-get b { display: block; font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; color: var(--soft); margin-bottom: 3px; }
@media (max-width: 780px) { .ap-steps > li { grid-template-columns: 1fr; padding: 28px 0; } }

/* Rhythm */
.ap-rows { margin: clamp(32px, 5vw, 52px) 0 0; padding: 0; list-style: none; text-align: left; }
.ap-rows li { display: grid; grid-template-columns: 250px 1fr; gap: 8px 40px; padding: 22px 0; border-top: 1px solid var(--hair); }
.ap-rows li:last-child { border-bottom: 1px solid var(--hair); }
.ap-rows b { font-size: 1.05rem; } .ap-rows span { color: #3A3A3F; }
@media (max-width: 780px) { .ap-rows li { grid-template-columns: 1fr; } }

/* Questions */
.ap-faq { max-width: 760px; margin: clamp(32px, 5vw, 52px) auto 0; text-align: left; }
.ap-faq details { border-top: 1px solid var(--hair); padding: 18px 0; } .ap-faq details:last-child { border-bottom: 1px solid var(--hair); }
.ap-faq summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.ap-faq summary::-webkit-details-marker { display: none; } .ap-faq summary::after { content: "+"; color: var(--soft); font-weight: 400; font-size: 1.4rem; line-height: 1; }
.ap-faq details[open] summary::after { content: "−"; }
.ap-faq p { margin: 12px 0 0; color: #3A3A3F; }

/* Closing call to action */
.ap-final { background: var(--grey); text-align: center; padding: clamp(72px, 9vw, 112px) 0; }
.ap-final h2 { max-width: 16ch; margin-inline: auto; }

@media (prefers-reduced-motion: reduce) { .ap-tile, .ap-pill { transition: none; } }
.ap .site-header .btn, .ap .site-header .btn:hover { color: #fff; }


/* ---------- The rest of the site: the same quiet look on the older page layouts (body.ap-legacy) ---------- */
.ap-legacy main .microlabel, .ap-legacy main .kicker { color: var(--soft); text-transform: none; letter-spacing: -0.01em; font-size: 1.05rem; font-weight: 600; justify-content: center; margin-bottom: 12px; }
.ap-legacy main .microlabel::after, .ap-legacy main .kicker::after { display: none; }
.ap-legacy .page-hero { padding: clamp(64px, 9vw, 112px) 0 clamp(40px, 6vw, 72px); text-align: center; background: radial-gradient(40% 60% at 20% 20%, rgba(10,132,255,.10), transparent 70%), radial-gradient(38% 60% at 82% 10%, rgba(125,92,255,.11), transparent 70%); }
.ap-legacy .page-hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); line-height: 1.06; letter-spacing: -0.04em; max-width: 20ch; margin: 0 auto; text-wrap: balance; }
.ap-legacy .page-hero .lead { margin: 22px auto 0; color: var(--soft); font-size: clamp(1.1rem, 1.9vw, 1.4rem); max-width: 40rem; }
.ap-legacy .accent, .ap-legacy .accent-lite { background: linear-gradient(90deg, var(--b), var(--v)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.ap-legacy .section, .ap-legacy .section-tight { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.ap-legacy .band-mist { background: var(--grey); }
.ap-legacy .section-head { text-align: center; margin-inline: auto; }
.ap-legacy .section-head h2, .ap-legacy main h2 { letter-spacing: -0.035em; font-weight: 600; }
.ap-legacy .glass { background: var(--grey); border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: 24px; }
.ap-legacy main .btn { background: var(--ink); color: #fff; box-shadow: none; border-radius: 980px; padding: 13px 26px; font-weight: 500; filter: none; transform: none; }
.ap-legacy main .btn:hover { background: #000; color: #fff; transform: none; filter: none; }
.ap-legacy main .btn-ghost { background: transparent; color: var(--link); border: 0; padding-inline: 8px; }
.ap-legacy main .btn-ghost:hover { background: transparent; color: var(--link); text-decoration: underline; }
.ap-legacy .actions { justify-content: center; }
.ap-legacy .cta-section { padding: clamp(56px, 8vw, 96px) 0; background: var(--grey); }
.ap-legacy .cta-bar { background: none; box-shadow: none; border: 0; display: grid; justify-items: center; text-align: center; gap: 22px; padding: 0; }
.ap-legacy .cta-bar h2 { color: var(--ink); font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 18ch; margin-inline: auto; }
.ap-legacy .cta-bar .script { color: var(--soft); font-family: inherit; font-size: 1.05rem; font-weight: 600; }
.ap-legacy .faq { max-width: 760px; margin-inline: auto; }
.ap-legacy .faq details { border: 0; border-top: 1px solid var(--hair); border-radius: 0; background: none; box-shadow: none; padding: 18px 0; }
.ap-legacy .faq details:last-child { border-bottom: 1px solid var(--hair); }
.ap-legacy .faq summary { font-weight: 600; font-size: 1.08rem; }
.ap-legacy .form { background: var(--grey); border-radius: 24px; border: 0; box-shadow: none; }
.ap-legacy .form input, .ap-legacy .form textarea, .ap-legacy .form select { border-radius: 12px; border-color: var(--hair); }
.ap-legacy .form input:focus, .ap-legacy .form textarea:focus, .ap-legacy .form select:focus { border-color: var(--link); box-shadow: 0 0 0 4px rgba(0,102,204,.15); }

/* Phone polish: larger menu rows, and room under the footer for the floating band */
@media (max-width: 900px) { .ap .menu > li > a { font-size: 1rem; padding: 12px 8px; } }
@media (max-width: 600px) { .ap .site-footer { padding-bottom: 64px; } }
