:root {
  --ink: #1a0b33; --ink-2: #24124a; --fg: #1a0b33; --muted: #5d5873; --line: #e6e3f0; --bg: #ffffff; --soft: #f3f1fb;
  --blue: #3b82f6; --violet: #6a5ae0; --violet-2: #5b3ff0; --orange: #ff7a00; --yellow: #ffc400; --cyan: #19e6e6; --sky: #2a9df4;
  --grad: linear-gradient(115deg, #3d7be6 0%, #5b6ae0 55%, #6a5ae0 100%);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font: 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.eyebrow { font-size: .85rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--violet); }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.1; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; margin: 10px 0 18px; }

/* Buttons: pill + round arrow, like the reference */
.btn { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.btn span { background: #fff; color: var(--sky); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; padding: 16px 30px; border-radius: 999px; font-size: .95rem; }
.btn i { width: 56px; height: 56px; border-radius: 50%; background: var(--sky); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 1.3rem; transition: transform .2s; }
.btn:hover i, .btn:focus-visible i { transform: rotate(45deg); }
.btn.soft span { background: var(--soft); }

/* Header */
header.top { position: absolute; inset: 0 0 auto; z-index: 10; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; padding-bottom: 22px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.45rem; color: var(--ink); }
.logo svg { width: 42px; height: 26px; }
header nav { display: flex; align-items: center; gap: 30px; }
header nav a { text-decoration: none; color: #fff; font-weight: 600; }
header nav a:hover, header nav a:focus-visible { color: var(--yellow); }
header .cta { background: #fff; color: var(--sky); font-weight: 800; text-transform: uppercase; text-decoration: none; padding: 14px 26px; border-radius: 999px; font-size: .9rem; }
header .lang { border: 1px solid rgba(255,255,255,.5); border-radius: 999px; padding: 6px 14px; font-size: .85rem; }

/* Hero */
.hero { position: relative; background: var(--grad); color: #fff; min-height: 760px; overflow: hidden; }
.hero-photo, .hero-photo.ph { position: absolute; left: 0; top: 0; bottom: 0; width: 50%;
  background:
    radial-gradient(58% 52% at 46% 104%, rgba(232, 52, 66, .95), rgba(232, 52, 66, 0) 72%),
    radial-gradient(62% 58% at 92% 100%, rgba(116, 100, 238, 1), rgba(116, 100, 238, 0) 74%),
    radial-gradient(62% 55% at 66% 58%, rgba(190, 180, 250, .95), rgba(190, 180, 250, 0) 72%),
    radial-gradient(50% 45% at 44% 28%, rgba(226, 236, 255, .95), rgba(226, 236, 255, 0) 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(250, 226, 214, .9), rgba(250, 226, 214, 0) 70%),
    #f8f7f4;
  -webkit-mask-image: linear-gradient(to right, #000 78%, transparent 100%); mask-image: linear-gradient(to right, #000 78%, transparent 100%); }
.hero-photo img { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); height: 92%; width: auto; max-width: none; object-fit: contain; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 760px; align-items: center; }
.hero-copy { grid-column: 2; padding: 140px 0 80px; position: relative; }
.hero-copy .eyebrow { color: #fff; display: flex; align-items: center; gap: 18px; font-size: 1.05rem; letter-spacing: .22em; }
.hero-copy .eyebrow::after { content: ""; height: 1px; width: 120px; background: rgba(255,255,255,.45); }
.hero h1 { font-size: clamp(3rem, 7.2vw, 6rem); font-weight: 800; margin: 18px 0 22px; line-height: 1; }
.hero p.lead { font-size: 1.12rem; color: rgba(255,255,255,.9); max-width: 32em; margin-bottom: 34px; }
.hero .orb { position: absolute; right: -6%; top: 38%; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.35), rgba(255,255,255,.06)); }
.stat-chip { position: absolute; left: 20%; bottom: 0; background: #fff; color: var(--ink); border-radius: 14px 14px 0 0; padding: 16px 22px; z-index: 3; box-shadow: 0 -10px 40px rgba(26,11,51,.12); }
.stat-chip small { color: var(--muted); display: block; font-size: .85rem; }
.stat-chip strong { font-size: 1.8rem; font-weight: 800; }
.stat-chip em { font-style: normal; background: var(--sky); color: #fff; font-size: .8rem; font-weight: 700; border-radius: 6px; padding: 2px 8px; margin-left: 8px; vertical-align: middle; }

/* Our sites strip (replaces "trusted partners") */
.strip { padding: 80px 0 60px; text-align: center; }
.strip h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 36px; position: relative; }
.strip ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 42px; }
.strip a { text-decoration: none; font-weight: 800; font-size: 1.25rem; color: var(--ink-2); opacity: .75; }
.strip a:hover, .strip a:focus-visible { opacity: 1; color: var(--violet); }
.facts { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px 48px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.fact { display: flex; align-items: center; gap: 16px; text-align: left; color: var(--muted); }
.fact b { width: 64px; height: 64px; border-radius: 50%; background: #eaf3ff; display: grid; place-items: center; font-size: 1.6rem; }
.fact strong { display: block; color: var(--ink); font-size: 1.05rem; }

/* About */
.about { padding: 100px 0; }
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about p.lead { color: var(--muted); font-size: 1.08rem; margin-bottom: 30px; }
.kpis { display: flex; gap: 40px; flex-wrap: wrap; padding: 28px 0; border-block: 1px solid var(--line); margin-bottom: 34px; }
.kpi { display: flex; align-items: center; gap: 14px; }
.kpi b { width: 64px; height: 64px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-size: 1.5rem; }
.kpi strong { display: block; font-size: 2rem; font-weight: 800; line-height: 1; }
.kpi small { text-transform: uppercase; font-size: .85rem; letter-spacing: .04em; color: var(--muted); }
.about-art { position: relative; aspect-ratio: 1 / 1; }
.about-art .blob { position: absolute; inset: 12% 4% 4% 8%; border-radius: 50% 50% 46% 54%; background: linear-gradient(160deg, #7c6cf0, #b7b0ff 70%, #f3f1fb); }
.about-art img { position: absolute; bottom: 4%; left: 50%; transform: translateX(-50%); height: 96%; width: auto; max-width: none; -webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent); mask-image: linear-gradient(to bottom, #000 84%, transparent); }
.badge { position: absolute; left: 10%; bottom: 6%; background: #fff; border-radius: 999px; padding: 14px 24px; font-weight: 800; box-shadow: 0 20px 50px rgba(26,11,51,.15); display: flex; align-items: center; gap: 10px; }
.badge span { font-size: 1.4rem; }
.spark { position: absolute; font-weight: 800; }

/* Services (dark) */
.services { background: var(--ink); color: #fff; padding: 110px 0 120px; }
.services h2 { text-align: center; max-width: 16em; margin: 0 auto 34px; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.15); margin-bottom: 60px; }
.tabs button { font: 600 1rem var(--font); color: #fff; background: none; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 10px 22px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--violet); border-color: var(--violet); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; }
.card { background: #fff; color: var(--ink); border: 6px solid var(--violet); border-radius: 200px 200px 120px 120px / 160px 160px 120px 120px; padding: 46px 28px 70px; text-align: center; position: relative; text-decoration: none; display: block; }
.card[hidden] { display: none; }
.card .ico { width: 104px; height: 104px; margin: 0 auto 26px; display: grid; place-items: center; font-size: 2.6rem; background: #eef5ff; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.card .ico img { width: 72px; height: 72px; }
.card h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .98rem; }
.card .arrow { position: absolute; left: 50%; bottom: -32px; transform: translateX(-50%); width: 72px; height: 72px; background: #fff; color: var(--violet); display: grid; place-items: center; font-size: 1.6rem; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.card:hover, .card:focus-visible { border-color: var(--sky); }

/* Marquee */
.marquee { background: #6259d8; color: #fff; padding: 90px 0 70px; overflow: hidden; }
.marquee .eyebrow { color: #fff; text-align: center; display: block; margin-bottom: 26px; letter-spacing: .04em; }
.track { display: flex; gap: 44px; width: max-content; animation: slide 32s linear infinite; font-weight: 800; font-size: clamp(3rem, 8vw, 6rem); text-transform: uppercase; line-height: 1; }
.track .o { color: transparent; -webkit-text-stroke: 2px #fff; }
@keyframes slide { to { transform: translateX(-50%); } }
.work { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; margin-top: 60px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.3); }
.work h3 { font-size: 1.6rem; font-weight: 800; }
.work p { color: rgba(255,255,255,.88); max-width: 36em; margin-top: 10px; }

/* CTA band (replaces newsletter) */
.cta-band { background: linear-gradient(180deg, var(--soft) 50%, var(--ink) 50%); padding: 0; }
.cta-box { position: relative; background: var(--violet-2); color: #fff; border-radius: 26px; padding: 60px 50px 60px 42%; min-height: 320px; display: flex; flex-direction: column; justify-content: center; }
.cta-box img { position: absolute; left: 6%; bottom: 0; height: 122%; width: auto; max-width: none; border-bottom-left-radius: 26px; -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent); mask-image: linear-gradient(to bottom, #000 82%, transparent); }
.cta-box h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin: 0 0 22px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-actions a { background: #fff; color: var(--ink); border-radius: 999px; padding: 16px 26px; text-decoration: none; font-weight: 800; }
.cta-actions a.alt { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }

/* Footer */
footer.site { background: var(--ink); color: rgba(255,255,255,.82); padding: 80px 0 30px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
footer .logo { color: #fff; margin-bottom: 18px; }
footer h4 { color: #fff; font-size: 1.25rem; margin-bottom: 22px; padding-bottom: 12px; position: relative; }
footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 76px; height: 2px; background: linear-gradient(90deg, var(--violet) 22%, transparent 22% 30%, #fff 30%); }
footer ul { list-style: none; padding: 0; display: grid; gap: 12px; }
footer ul a { text-decoration: none; }
footer ul a::before { content: "» "; color: var(--violet); }
footer a:hover, footer a:focus-visible { color: #fff; }
.legal-id { margin-top: 16px; font-size: .9rem; }
.foot-bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: .92rem; }
.foot-bottom nav { display: flex; gap: 24px; }
.foot-bottom a { text-decoration: none; }

/* Legal pages (simple light layout) */
body.doc-page header.top { position: static; background: var(--ink); }
body.doc-page header.top .logo { color: #fff; }
.doc { max-width: 780px; padding: 56px 0 90px; }
.doc h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin-bottom: 10px; }
.doc h2 { font-size: 1.4rem; margin: 36px 0 10px; }
.doc p, .doc li { color: #2e2a40; margin-bottom: 12px; }
.doc ul { padding-left: 1.2em; }
.doc .updated { color: var(--muted); font-size: .9rem; }

/* Image placeholders until the real photos are added */
.ph { background: repeating-linear-gradient(45deg, rgba(255,255,255,.08) 0 14px, transparent 14px 28px); }

@media (max-width: 960px) {
  header nav a:not(.lang):not(.cta) { display: none; }
  .hero, .hero .wrap { min-height: 0; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-copy { grid-column: 1; padding: 48px 0 60px; }
  body:not(.doc-page) header nav .lang { color: var(--ink); border-color: rgba(26,11,51,.3); }
  .hero-photo, .hero-photo.ph { position: relative; width: 100%; height: 380px; -webkit-mask-image: linear-gradient(to bottom, #000 85%, transparent); mask-image: linear-gradient(to bottom, #000 85%, transparent); }
  .hero-photo img { height: 78%; }
  .stat-chip { position: relative; left: auto; display: inline-block; margin: 0 20px; border-radius: 14px 14px 0 0; }
  .about .wrap, .foot { grid-template-columns: 1fr; }
  .about-art { max-width: 460px; margin: 0 auto; width: 100%; }
  .cta-box { padding: 44px 28px; }
  .cta-box img { display: none; }
  .cta-band { background: var(--ink); padding-top: 40px; }
}
@media (max-width: 560px) {
  header .cta { display: none; }
  .btn span { padding: 14px 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .track { animation: none; } .btn i { transition: none; } }
