/* MindAlly — shared styles for every page. Colours live in :root below. */
/* ===== Theme tokens — change colors here ===== */
:root {
	--paper:   #F3F5FB;   /* page background, cool white */
	--white:   #FFFFFF;
	--ink:     #12123A;   /* deep indigo text + dark sections */
	--ink-2:   #45476B;   /* body text */
	--muted:   #6E7194;
	--line:    #DDE1F0;
	--violet:  #5B3CF5;   /* primary — buttons, links */
	--violet-2:#4A2EE0;   /* primary hover */
	--cyan:    #12BFE0;   /* data accent — charts, highlights on dark */
	--violet-soft: #ECE8FF;
	--night-2: #1C1C4D;   /* raised surface on dark */
	--night-line: #2E2F66;
	--on-night: #B9BCE0;

	--r-sm: 10px;
	--r-lg: 22px;
	--max: 1240px;
	--gutter: clamp(20px, 4vw, 40px);
	--body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--display: 'Sora', 'Geist', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: var(--violet); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; letter-spacing: -0.03em; font-weight: 600; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
.ma-container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.ma-skip { position: absolute; left: -9999px; }
.ma-skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 100; border-radius: 8px; }

/* Buttons */
.ma-btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; border-radius: var(--r-sm); font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: var(--body); transition: background-color .15s ease, color .15s ease; }
.ma-btn-primary { background: var(--violet); color: #fff; }
.ma-btn-primary:hover { background: var(--violet-2); }
.ma-btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.ma-btn-ghost:hover { background: var(--ink); color: #fff; }
.ma-btn-light { background: #fff; color: var(--ink); }
.ma-btn-light:hover { background: var(--violet-soft); }

/* Header */
.ma-header { position: sticky; top: 0; z-index: 50; background: rgba(243,245,251,.97); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.ma-header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }

/* Updated Logo CSS */
.ma-logo { display: inline-flex; align-items: center; text-decoration: none; }
.ma-logo img { height: 60px; width: auto; max-width: 240px; display: block; object-fit: contain; } /* Logo size — change 60px to resize */

.ma-nav { display: flex; align-items: center; gap: 30px; }
.ma-nav a { text-decoration: none; font-size: 15px; color: var(--ink-2); font-weight: 500; }
.ma-nav a:hover { color: var(--ink); }
.ma-nav a[aria-current="page"] { color: var(--violet); font-weight: 600; }
.ma-nav .ma-btn { color: #fff; padding: 10px 18px; font-size: 15px; }
.ma-menu-btn { display: none; background: none; border: 1.5px solid var(--line); color: var(--ink); border-radius: var(--r-sm); padding: 8px 14px; font: 600 14px var(--body); cursor: pointer; }

/* Hero */
.ma-hero { position: relative; padding: 88px 0 96px; overflow: hidden;
	background-image:
		linear-gradient(var(--line) 1px, transparent 1px),
		linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 48px 48px;
	background-position: -1px -1px;
}
.ma-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(243,245,251,.55) 0%, var(--paper) 92%); pointer-events: none; }
.ma-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.ma-hero h1 { font-size: clamp(40px, 5.4vw, 68px); max-width: 12ch; }
.ma-hero-lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); margin-top: 24px; max-width: 34em; }
.ma-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.ma-hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* Hero chart — the one memorable element */
.ma-chart { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 24px 18px; box-shadow: 0 30px 60px -30px rgba(18,18,58,.25); }
.ma-chart-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.ma-chart-head h2 { font-size: 18px; letter-spacing: -0.02em; }
.ma-chart-head span { font-size: 13px; color: var(--muted); }
.ma-chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.ma-chart .axis { stroke: var(--ink); stroke-width: 1.5; }
.ma-chart .axis-label { font: 500 12px var(--body); fill: var(--muted); }
.ma-chart .curve-waste { stroke: var(--muted); stroke-width: 2; stroke-dasharray: 4 6; fill: none; opacity: .6; }
.ma-chart .curve-good { stroke: url(#ma-grad); stroke-width: 4; fill: none; stroke-linecap: round; }
.ma-chart .guide { stroke: var(--violet); stroke-width: 1.25; stroke-dasharray: 3 4; }
.ma-chart .marker-ring { fill: var(--violet-soft); }
.ma-chart .marker { fill: var(--violet); stroke: #fff; stroke-width: 3; }
.ma-chart .ann { font: 600 13px var(--body); fill: var(--ink); }
.ma-chart .ann-sub { font: 400 12px var(--body); fill: var(--muted); }
.ma-chart-foot { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.ma-key { display: inline-flex; align-items: center; gap: 8px; }
.ma-key i { width: 18px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--violet), var(--cyan)); }
.ma-key i.waste { background: repeating-linear-gradient(90deg, var(--muted) 0 4px, transparent 4px 9px); height: 2px; }

/* Load sequence: draw the curve, then drop the marker */
@media (prefers-reduced-motion: no-preference) {
	.ma-chart .curve-good { stroke-dasharray: 520; stroke-dashoffset: 520; animation: ma-draw 1.4s cubic-bezier(.6,.05,.3,1) .25s forwards; }
	.ma-chart .curve-waste, .ma-chart .guide, .ma-chart .marker-group, .ma-chart .ann-group { opacity: 0; animation: ma-fade .5s ease forwards; }
	.ma-chart .curve-waste { animation-delay: 1.3s; }
	.ma-chart .guide { animation-delay: 1.55s; }
	.ma-chart .marker-group { animation-delay: 1.55s; }
	.ma-chart .ann-group { animation-delay: 1.8s; }
}
@keyframes ma-draw { to { stroke-dashoffset: 0; } }
@keyframes ma-fade { to { opacity: 1; } }

/* What makes us different — two columns, aligned to the page grid */
.ma-difference { padding: 88px 0; background: var(--white); border-top: 1px solid var(--line); }
.ma-difference-inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.ma-difference .ma-h2 { max-width: 12ch; }
.ma-difference .ma-intro { margin-top: 6px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--ink-2); max-width: 34em; }

/* Channels strip / logos */
.ma-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.ma-strip-inner { display: flex; align-items: center; gap: 16px 40px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.ma-strip p { font-size: 14px; color: var(--muted); margin-right: 8px; }
.ma-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 36px; }
.ma-strip li { font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--ink); letter-spacing: -0.02em; }
.ma-logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 44px; }
.ma-logo-row img { height: 30px; width: auto; filter: grayscale(1); opacity: .75; }

/* Generic section */
.ma-section { padding: 104px 0; }
.ma-h2 { font-size: clamp(30px, 3.8vw, 46px); max-width: 18ch; }
.ma-intro { color: var(--ink-2); margin-top: 16px; font-size: 18px; max-width: 36em; }

/* Services — list, not card grid */
.ma-services-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.ma-services-head { position: sticky; top: 124px; }
.ma-services-head .ma-btn { margin-top: 32px; }
.ma-service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.ma-service { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.ma-service h3 { font-size: 22px; letter-spacing: -0.025em; }
.ma-service p { grid-column: 1 / -1; color: var(--ink-2); font-size: 16px; max-width: 36em; }
.ma-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.ma-tag { font-size: 12px; font-weight: 500; color: var(--violet); background: var(--violet-soft); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }

/* Who we help (two-column split) */
.ma-who { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ma-who-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.ma-who-col { border-radius: var(--r-lg); padding: 36px; }
.ma-who-col.is-dark { background: var(--ink); color: #fff; }
.ma-who-col.is-light { background: var(--paper); border: 1px solid var(--line); }
.ma-who-col h3 { font-size: 24px; display: flex; align-items: center; gap: 12px; }
.ma-who-col h3 svg { width: 28px; height: 28px; flex: none; }
.ma-who-col > p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.ma-who-col.is-dark > p { color: var(--on-night); }
.ma-who-list { list-style: none; padding: 0; margin: 26px 0 0; }
.ma-who-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.ma-who-col.is-dark .ma-who-list li { border-top-color: var(--night-line); }
.ma-who-list strong { display: block; font-weight: 600; font-size: 17px; }
.ma-who-list span { display: block; font-size: 15px; color: var(--ink-2); margin-top: 4px; }
.ma-who-col.is-dark .ma-who-list span { color: var(--on-night); }
.ma-who-cta { margin-top: 40px; }

/* Case studies */
.ma-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.ma-case { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; }
.ma-case-tag { align-self: flex-start; }
.ma-case h3 { font-size: 21px; margin-top: 18px; }
.ma-case p { color: var(--ink-2); margin-top: 10px; font-size: 16px; flex: 1; }
.ma-case-metric { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.ma-case-metric strong { display: block; font-family: var(--display); font-size: 44px; letter-spacing: -0.04em; color: var(--violet); line-height: 1; }
.ma-case-metric span { color: var(--muted); font-size: 14px; }

/* Process — dark, a real sequence so it gets step numbers */
.ma-process { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.ma-process .ma-intro { color: var(--on-night); }
.ma-steps { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.ma-steps::before { content: ""; position: absolute; left: 22px; right: calc((100% - 80px) / 3 - 22px); top: 22px; height: 2px; background: linear-gradient(90deg, var(--violet), var(--cyan)); }
.ma-step-num { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); border: 2px solid var(--cyan); color: var(--cyan); font-family: var(--display); font-weight: 600; font-size: 18px; }
.ma-steps h3 { font-size: 24px; margin-top: 26px; }
.ma-steps p { color: var(--on-night); margin-top: 10px; font-size: 16px; max-width: 30em; }
.ma-process-cta { margin-top: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 36px; border-radius: var(--r-lg); background: var(--night-2); border: 1px solid var(--night-line); }
.ma-process-cta h3 { font-size: clamp(22px, 2.6vw, 28px); }
.ma-process-cta p { color: var(--on-night); margin-top: 6px; }

/* Testimonials */
.ma-testimonials { display: grid; gap: 20px; margin-top: 48px; }
.ma-testimonial { margin: 0; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--violet); border-radius: var(--r-sm); padding: 36px 40px; }
.ma-quote { margin: 0; font-family: var(--display); font-size: clamp(20px, 2.4vw, 26px); line-height: 1.4; letter-spacing: -0.015em; font-weight: 500; }
.ma-person { display: flex; align-items: center; gap: 14px; margin-top: 24px; color: var(--ink-2); font-size: 15px; }
.ma-person img { height: 28px; width: auto; }
.ma-person strong { color: var(--ink); }

/* Insights */
.ma-insights { background: var(--white); border-top: 1px solid var(--line); }
.ma-insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.ma-insight { border-top: 2px solid var(--ink); padding-top: 22px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 10px; }
.ma-insight h3 { font-size: 21px; }
.ma-insight:hover h3 { color: var(--violet); }
.ma-insight p { color: var(--ink-2); font-size: 16px; }
.ma-insight-type { font-size: 14px; color: var(--violet); font-weight: 500; }

/* Closing call to action (homepage) */
.ma-closing { background: linear-gradient(135deg, var(--violet) 0%, #3F2BD1 55%, #2A1F9E 100%); color: #fff; padding: 104px 0; position: relative; overflow: hidden; scroll-margin-top: 84px; }
.ma-closing::before { content: ""; position: absolute; right: -160px; top: -200px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(18,191,224,.35), transparent 65%); pointer-events: none; }
.ma-closing-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 64px; align-items: center; }
.ma-closing h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.05; max-width: 14ch; }
.ma-closing-lead { margin-top: 20px; font-size: 19px; color: rgba(255,255,255,.82); max-width: 30em; }
.ma-closing-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 32px; }
.ma-closing-mail { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.45); }
.ma-closing-mail:hover { text-decoration-color: #fff; }
.ma-closing-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-lg); padding: 30px 32px; backdrop-filter: blur(6px); }
.ma-closing-card h3 { font-size: 20px; }
.ma-closing-card .ma-expect li { color: rgba(255,255,255,.85); border-top-color: rgba(255,255,255,.18); }
.ma-closing-card .ma-expect li::before { color: #fff; }
.ma-closing-meta { margin-top: 16px; color: rgba(255,255,255,.85); }
.ma-closing-meta a { color: #fff; font-weight: 600; }
.ma-expect { list-style: none; margin: 32px 0 0; padding: 0; counter-reset: ex; display: block; }
.ma-expect li { counter-increment: ex; display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 16px; }
.ma-expect li::before { content: counter(ex); font-family: var(--display); font-weight: 600; color: var(--violet); }

/* Footer */
.ma-footer { background: var(--ink); color: var(--on-night); padding: 72px 0 32px; font-size: 15px; }
.ma-footer .ma-logo img { height: 64px; max-width: 260px; } /* Footer logo size */
.ma-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.ma-footer h4 { color: #fff; font-size: 15px; margin: 0 0 14px; font-family: var(--body); font-weight: 600; }
.ma-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ma-footer a { color: var(--on-night); text-decoration: none; }
.ma-footer a:hover { color: #fff; }
.ma-footer-bottom { border-top: 1px solid var(--night-line); margin-top: 56px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; }

/* WhatsApp button */
.ma-wa { position: fixed; right: 18px; bottom: 18px; z-index: 60; background: #25D366; color: #fff; border-radius: 999px; padding: 12px 18px; font-weight: 600; text-decoration: none; box-shadow: 0 8px 24px rgba(18,18,58,.25); font-size: 15px; }

/* Responsive */
@media (max-width: 980px) {
	.ma-hero-grid { grid-template-columns: 1fr; gap: 48px; }
	.ma-hero h1 { max-width: 14ch; }
	.ma-services-grid { grid-template-columns: 1fr; gap: 40px; }
	.ma-services-head { position: static; }
	.ma-case-grid, .ma-insight-grid { grid-template-columns: 1fr 1fr; }
	.ma-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
	body { font-size: 16px; }
	.ma-header-inner { height: 72px; }
	.ma-logo img { height: 48px; max-width: 190px; }
	.ma-menu-btn { display: inline-block; }
	.ma-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
	.ma-nav.is-open { display: flex; box-shadow: 0 18px 30px -18px rgba(18,18,58,.35); }
	.ma-nav a { padding: 12px 0; width: 100%; }
	.ma-nav .ma-btn { width: auto; margin-top: 8px; padding: 12px 20px; }
	.ma-section, .ma-difference, .ma-closing { padding: 72px 0; }
	.ma-hero { padding: 56px 0 64px; }
	.ma-chart { padding: 18px 14px 14px; }
	.ma-chart .axis-label { font-size: 17px; }
	.ma-chart .ann { font-size: 18px; }
	.ma-chart .ann-sub { font-size: 15px; }
	.ma-chart .ann-far { display: none; }
	.ma-who-cols, .ma-case-grid, .ma-insight-grid, .ma-footer-grid { grid-template-columns: 1fr; }
	.ma-who-col { padding: 26px 22px; }
	.ma-service { grid-template-columns: 1fr; }
	.ma-tags { justify-content: flex-start; grid-row: 3; }
	.ma-steps { grid-template-columns: 1fr; gap: 36px; padding-left: 0; }
	.ma-steps::before { left: 22px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; background: linear-gradient(180deg, var(--violet), var(--cyan)); }
	.ma-steps li { padding-left: 68px; position: relative; }
	.ma-step-num { position: absolute; left: 0; top: 0; }
	.ma-steps h3 { margin-top: 8px; }
	.ma-process-cta { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
	.ma-testimonial { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; animation: none !important; }
}

/* =========================================================================
   Services page (/services/)
   ========================================================================= */
.ma-page-hero { position: relative; padding: 80px 0 64px; overflow: hidden;
	background-image:
		linear-gradient(var(--line) 1px, transparent 1px),
		linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 48px 48px;
	background-position: -1px -1px;
	border-bottom: 1px solid var(--line);
}
.ma-page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(243,245,251,.55) 0%, var(--paper) 92%); pointer-events: none; }
.ma-page-hero .ma-container { position: relative; }
.ma-page-hero h1 { font-size: clamp(38px, 5vw, 62px); max-width: 16ch; }
.ma-page-hero .ma-intro { font-size: clamp(17px, 1.6vw, 19px); }
.ma-jump { margin-top: 36px; }
.ma-jump p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.ma-jump ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ma-jump a { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; transition: border-color .15s ease, color .15s ease; }
.ma-jump a:hover { border-color: var(--violet); color: var(--violet); }

.ma-svc { padding: 80px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 84px; }
.ma-svc:nth-of-type(even) { background: var(--white); }
.ma-svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.ma-svc h2 { font-size: clamp(28px, 3.4vw, 40px); }
.ma-svc .ma-tags { justify-content: flex-start; margin-top: 16px; }
.ma-svc-summary { margin-top: 20px; font-size: 18px; color: var(--ink-2); max-width: 32em; }
.ma-fit { margin-top: 28px; padding: 18px 20px; border-left: 3px solid var(--cyan); background: rgba(18,191,224,.07); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: 16px; color: var(--ink-2); max-width: 32em; }
.ma-fit strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.ma-svc h3 { font-family: var(--body); font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-bottom: 4px; }
.ma-included { list-style: none; margin: 0 0 36px; padding: 0; }
.ma-included li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); font-size: 17px; }
.ma-included li::before { content: ""; position: absolute; left: 0; top: 17px; width: 20px; height: 20px; border-radius: 50%; background: var(--violet-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%235B3CF5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.ma-measure { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ma-measure span { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 8px 12px; }
.ma-svc:nth-of-type(even) .ma-measure span { background: var(--paper); }
.ma-svc-cta { margin-top: 32px; }

.ma-svc-end { background: var(--ink); color: #fff; padding: 96px 0; }
.ma-svc-end .ma-process-cta { margin-top: 0; }
.ma-svc-end .ma-h2 { margin-bottom: 16px; }
.ma-svc-end .ma-intro { color: var(--on-night); margin-bottom: 40px; }

.ma-svc-link { display: inline-block; margin-top: 20px; font-weight: 600; text-decoration: none; }
.ma-svc-link:hover { text-decoration: underline; }
.ma-service h3 a { color: inherit; text-decoration: none; }
.ma-service h3 a:hover { color: var(--violet); }

@media (max-width: 980px) {
	.ma-svc-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px) {
	.ma-page-hero { padding: 56px 0 48px; }
	.ma-svc { padding: 56px 0; scroll-margin-top: 72px; }
	.ma-svc-end { padding: 64px 0; }
}

/* =========================================================================
   Platform logos — scrolling strip under the hero + Platforms section
   ========================================================================= */
/* Logos are drawn as a mask, so one SVG file can be any colour */
.ma-pf-icon { display: inline-block; flex: none; width: 22px; height: 22px; background: currentColor;
	-webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }

.ma-marquee { background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; }
.ma-marquee-inner { display: flex; align-items: center; gap: 32px; padding-top: 26px; padding-bottom: 26px; }
.ma-marquee-label { flex: none; font-size: 14px; line-height: 1.35; color: var(--muted); padding-right: 32px; border-right: 1px solid var(--line); }
.ma-marquee-viewport { flex: 1; min-width: 0; display: flex; overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ma-marquee-track { list-style: none; margin: 0; padding: 0 22px 0 0; display: flex; flex: none; gap: 22px; animation: ma-marquee 38s linear infinite; }
.ma-marquee-track li { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; padding: 6px 18px 6px 6px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white);
	box-shadow: 0 6px 16px -10px rgba(18,18,58,.25);
	font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -0.02em; color: var(--ink); }
.ma-mq-badge { width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; flex: none; }
.ma-mq-badge .ma-pf-icon { width: 18px; height: 18px; }
.ma-marquee-viewport:hover .ma-marquee-track { animation-play-state: paused; }
@keyframes ma-marquee { to { transform: translateX(-100%); } }

.ma-platforms { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.ma-platforms::before { content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(600px 300px at 85% 0%, rgba(91,60,245,.35), transparent 70%), radial-gradient(500px 260px at 0% 100%, rgba(18,191,224,.18), transparent 70%); }
.ma-platforms .ma-container { position: relative; }
.ma-platforms .ma-intro { color: var(--on-night); }
.ma-pf-grid { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ma-pf-card { background: rgba(255,255,255,.04); border: 1px solid var(--night-line); border-radius: var(--r-lg); padding: 24px; transition: border-color .2s ease, background-color .2s ease; }
.ma-pf-card:hover { border-color: rgba(18,191,224,.6); background: rgba(255,255,255,.07); }
.ma-pf-badge { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; box-shadow: 0 10px 24px -12px rgba(0,0,0,.6); }
.ma-pf-badge .ma-pf-icon { width: 26px; height: 26px; }
.ma-pf-card h3 { font-size: 19px; margin-top: 20px; }
.ma-pf-card p { color: var(--on-night); font-size: 15px; margin-top: 6px; }

@media (max-width: 980px) {
	.ma-pf-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
	.ma-marquee-inner { flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 20px; padding-bottom: 20px; }
	.ma-marquee-label { border-right: 0; padding-right: 0; }
	.ma-marquee-label br { display: none; }
	.ma-marquee-viewport { width: 100%; }
	.ma-pf-card { padding: 18px; }
	.ma-pf-badge { width: 44px; height: 44px; border-radius: 12px; }
	.ma-pf-badge .ma-pf-icon { width: 22px; height: 22px; }
}
@media (max-width: 420px) {
	.ma-pf-grid { gap: 10px; }
	.ma-pf-card h3 { font-size: 17px; }
	.ma-pf-card p { font-size: 14px; }
}
/* No motion: show the strip as a wrapped list instead of scrolling */
@media (prefers-reduced-motion: reduce) {
	.ma-marquee-viewport { -webkit-mask-image: none; mask-image: none; }
	.ma-marquee-track { flex-wrap: wrap; flex: 1; animation: none; }
	.ma-marquee-track[aria-hidden="true"] { display: none; }
}

/* =========================================================================
   Legal pages (/privacy-policy/)
   ========================================================================= */
.ma-legal-hero { padding: 72px 0 48px; }
.ma-legal-date { margin-top: 18px; font-size: 14px; color: var(--muted); }
.ma-legal { padding-top: 56px; padding-bottom: 104px; }
.ma-legal-body { max-width: 68ch; color: var(--ink-2); }
.ma-legal-body h2 { font-size: 24px; color: var(--ink); margin: 48px 0 14px; scroll-margin-top: 100px; }
.ma-legal-body h2:first-child { margin-top: 0; }
.ma-legal-body h3 { font-family: var(--body); font-size: 17px; font-weight: 600; letter-spacing: 0; color: var(--ink); margin: 24px 0 8px; }
.ma-legal-body p, .ma-legal-body li { font-size: 17px; line-height: 1.7; }
.ma-legal-body p + p { margin-top: 12px; }
.ma-legal-body ul { margin: 12px 0; padding-left: 22px; display: grid; gap: 8px; }
.ma-legal-body ul + p { margin-top: 12px; }
.ma-legal-body strong { color: var(--ink); font-weight: 600; }
.ma-legal-contact { margin-top: 16px; font-style: normal; padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); line-height: 1.7; }
@media (max-width: 760px) {
	.ma-legal-hero { padding: 48px 0 32px; }
	.ma-legal { padding-top: 32px; padding-bottom: 72px; }
	.ma-legal-body p, .ma-legal-body li { font-size: 16px; }
	.ma-legal-body h2 { font-size: 21px; margin-top: 40px; scroll-margin-top: 88px; }
}

/* =========================================================================
   Contact page (/contact/)
   ========================================================================= */
.ma-nav .ma-btn[aria-current="page"] { color: #fff; }
.ma-contact-page { padding: 64px 0 104px; }
.ma-contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.ma-form-wrap { scroll-margin-top: 100px; }

.ma-cform { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; display: grid; gap: 20px; box-shadow: 0 30px 60px -36px rgba(18,18,58,.3); }
.ma-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ma-field { min-width: 0; }
.ma-field label, .ma-field legend { display: block; font-size: 15px; font-weight: 500; color: var(--ink); margin-bottom: 8px; padding: 0; }
.ma-field .opt { color: var(--muted); font-weight: 400; }
.ma-field input[type="text"], .ma-field input[type="email"], .ma-field select, .ma-field textarea {
	width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; }
.ma-field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.ma-field input:focus, .ma-field select:focus, .ma-field textarea:focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px var(--violet-soft); }
.ma-field.has-error input, .ma-field.has-error textarea { border-color: #E5484D; background: #FFF7F7; }
.ma-field-error { display: block; margin-top: 6px; font-size: 14px; color: #B42318; }

.ma-chips { border: 0; margin: 0; padding: 0; }
.ma-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.ma-chip-opt { position: relative; cursor: pointer; margin: 0 !important; }
.ma-chip-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ma-chip-opt span { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 15px; font-weight: 500; color: var(--ink-2); transition: all .15s ease; }
.ma-chip-opt:hover span { border-color: var(--violet); color: var(--ink); }
.ma-chip-opt input:checked + span { background: var(--violet); border-color: var(--violet); color: #fff; }
.ma-chip-opt input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }

.ma-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ma-alert { border-radius: var(--r-sm); padding: 14px 16px; font-size: 15px; }
.ma-alert-err { background: #FFF0F0; border: 1px solid #E5484D; color: #9B1C20; }
.ma-submit { justify-self: start; padding: 15px 28px; }
.ma-form-note { font-size: 14px; color: var(--muted); }

.ma-sent { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 48px 40px; box-shadow: 0 30px 60px -36px rgba(18,18,58,.3); }
.ma-sent-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--violet), var(--cyan)); margin-bottom: 22px; }
.ma-sent-icon::after { content: ""; width: 26px; height: 26px; background: #fff;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.ma-sent h2 { font-size: 30px; }
.ma-sent p { margin: 12px 0 28px; color: var(--ink-2); font-size: 17px; max-width: 36em; }

.ma-contact-side { display: grid; gap: 20px; }
.ma-side-block { padding: 28px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.ma-side-block:first-child { background: var(--ink); border-color: var(--ink); color: #fff; }
.ma-side-block h2 { font-size: 20px; letter-spacing: -0.02em; }
.ma-side-block .ma-expect { display: block; margin-top: 16px; }
.ma-side-block:first-child .ma-expect li { color: var(--on-night); border-top-color: var(--night-line); }
.ma-side-block:first-child .ma-expect li::before { color: var(--cyan); }
.ma-direct { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 14px; }
.ma-direct li { display: grid; gap: 2px; }
.ma-direct span { font-size: 13px; color: var(--muted); }
.ma-direct a { font-weight: 600; text-decoration: none; word-break: break-word; }
.ma-direct a:hover { text-decoration: underline; }
.ma-direct address { font-style: normal; color: var(--ink-2); line-height: 1.6; }

@media (max-width: 980px) {
	.ma-contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
	.ma-contact-page { padding: 32px 0 72px; }
	.ma-cform { padding: 22px 18px; gap: 18px; }
	.ma-form-row { grid-template-columns: 1fr; gap: 18px; }
	.ma-submit { justify-self: stretch; }
	.ma-sent { padding: 32px 22px; }
	.ma-side-block { padding: 22px; }
}

/* =========================================================================
   Layout polish — consistent alignment on every screen size
   ========================================================================= */
.ma-closing-card .ma-expect { margin-top: 12px; }

/* Dropdowns: same look on Windows, Mac and phones (no dated native arrow) */
.ma-field select {
	-webkit-appearance: none; -moz-appearance: none; appearance: none;
	padding-right: 44px; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%2345476B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center; background-size: 18px 18px;
}
.ma-field select::-ms-expand { display: none; }

/* Smoother text and no sideways wobble from scrollbars */
html { scrollbar-gutter: stable; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; }

@media (max-width: 980px) {
	.ma-difference-inner, .ma-closing-grid { grid-template-columns: 1fr; gap: 24px; }
	.ma-closing-grid { gap: 40px; }
	.ma-difference .ma-h2 { max-width: 18ch; }
}
@media (max-width: 760px) {
	.ma-closing-card { padding: 22px; }
	.ma-closing-lead { font-size: 17px; }
}

/* =========================================================================
   Blog (/blog/ and articles)
   ========================================================================= */
.ma-insights-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.ma-insights-head .ma-svc-link { margin-top: 0; }
.ma-insight-grid { margin-top: 40px; }

.ma-blog { padding: 56px 0 96px; }
.ma-blog-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.ma-blog-filter button { font: 500 15px var(--body); color: var(--ink-2); background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer; transition: border-color .15s ease, color .15s ease, background-color .15s ease; }
.ma-blog-filter button:hover { border-color: var(--violet); color: var(--ink); }
.ma-blog-filter button.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.ma-post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.ma-post-row { display: grid; grid-template-columns: 180px minmax(0, 1fr) 110px; gap: 12px 40px; align-items: baseline; padding: 32px 0; border-bottom: 1px solid var(--line); }
.ma-post-row[hidden] { display: none; }
.ma-post-meta { display: grid; gap: 10px; justify-items: start; font-size: 14px; color: var(--muted); }
.ma-post-main h2 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.025em; }
.ma-post-main h2 a { color: var(--ink); text-decoration: none; }
.ma-post-main h2 a:hover { color: var(--violet); }
.ma-post-main h2 a::after { content: ""; position: absolute; inset: 0; } /* whole row clickable */
.ma-post-row { position: relative; }
.ma-post-main p { margin-top: 10px; color: var(--ink-2); font-size: 17px; max-width: 42em; }
.ma-post-time { font-size: 14px; color: var(--muted); text-align: right; white-space: nowrap; }

.ma-article-hero h1 { font-size: clamp(34px, 4.4vw, 54px); max-width: 22ch; }
.ma-article-hero .ma-intro { max-width: 40em; }
.ma-crumb { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.ma-crumb a { font-weight: 600; text-decoration: none; }
.ma-crumb a:hover { text-decoration: underline; }
.ma-article-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 26px; font-size: 15px; color: var(--muted); }
.ma-article-meta span:first-child { color: var(--ink); font-weight: 600; }

.ma-prose { max-width: 70ch; padding: 56px 0 8px; color: var(--ink-2); }
.ma-prose h2 { font-size: clamp(24px, 2.4vw, 30px); color: var(--ink); margin: 52px 0 16px; letter-spacing: -0.025em; }
.ma-prose h2:first-child { margin-top: 0; }
.ma-prose h3 { font-size: 21px; color: var(--ink); margin: 32px 0 10px; }
.ma-prose p, .ma-prose li { font-size: 18px; line-height: 1.75; }
.ma-prose p + p { margin-top: 18px; }
.ma-prose ul, .ma-prose ol { margin: 16px 0; padding-left: 24px; display: grid; gap: 8px; }
.ma-prose strong { color: var(--ink); font-weight: 600; }
.ma-prose a { text-underline-offset: 3px; }
.ma-prose blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--violet); font-family: var(--display); font-size: 22px; line-height: 1.45; color: var(--ink); }

.ma-article-cta { max-width: 70ch; margin: 56px 0 96px; padding: 32px 36px; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.ma-article-cta h2 { font-size: 26px; }
.ma-article-cta p { color: var(--on-night); margin: 10px 0 22px; font-size: 17px; }

.ma-read-next { background: var(--white); border-top: 1px solid var(--line); padding: 88px 0; }

@media (max-width: 980px) {
	.ma-post-row { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
	.ma-post-meta { grid-auto-flow: column; justify-content: start; align-items: center; gap: 14px; }
	.ma-post-time { text-align: left; }
}
@media (max-width: 760px) {
	.ma-blog { padding: 32px 0 72px; }
	.ma-prose { padding-top: 36px; }
	.ma-prose p, .ma-prose li { font-size: 17px; }
	.ma-prose h2 { margin-top: 40px; }
	.ma-article-cta { padding: 24px 22px; margin: 40px 0 72px; }
	.ma-read-next { padding: 64px 0; }
}
