body.fp, .feat-card { --a1: var(--primary); --a2: var(--primary); --a-soft: var(--primary-soft); }
/* Feature pages: each page sets its own accent via .fp .a-grad { background: linear-gradient(115deg, var(--a1), var(--a2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fp .eyebrow { color: var(--a1); }
.fp .eyebrow::before { background: linear-gradient(90deg, var(--a1), var(--a2)); }
.fp .btn.accent { background: linear-gradient(115deg, var(--a1), var(--a2)); box-shadow: 0 12px 28px -12px var(--a1); }
.fp .btn.accent:hover { filter: brightness(1.06); }
.fp .free-tag { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 99px; background: var(--success-soft); color: var(--success); font-size: 12.5px; font-weight: 750; margin-left: 8px; vertical-align: middle; }

/* ---------- Hero variants ---------- */
.fh { position: relative; padding: 70px 0 80px; isolation: isolate; overflow: hidden; }
.fh h1 { font-size: clamp(38px, 5.6vw, 70px); letter-spacing: -.05em; line-height: 1.02; margin-bottom: 20px; }
.fh h1 .serif { font-size: 1.08em; }
.fh .lead { font-size: 18px; color: var(--text-2); max-width: 560px; margin-bottom: 30px; }
.fh .split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.fh .split.rev > :first-child { order: 2; }
@media (max-width: 920px) { .fh .split { grid-template-columns: 1fr; gap: 40px; } .fh .split.rev > :first-child { order: 0; } }
.fh.centered { text-align: center; }
.fh.centered .lead { margin-left: auto; margin-right: auto; }
.fh.centered .row { justify-content: center; }
/* dark hero (always dark, both themes) */
.fh.dark { background: #0b0a18; color: #fff; }
.fh.dark .lead { color: rgba(255,255,255,.75); }
.fh.dark .btn.ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2); }
.fh.dark::after { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000, transparent 75%); mask-image: radial-gradient(ellipse at 60% 40%, #000, transparent 75%); }
/* tinted hero */
.fh.tint { background: linear-gradient(180deg, var(--a-soft), transparent); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: 14px; font-weight: 600; color: var(--muted); }
.fh.dark .hero-points { color: rgba(255,255,255,.65); }
.hero-points span::before { content: '✓ '; color: var(--success); font-weight: 800; }

/* ---------- Mock UI pieces ---------- */
.ui { position: relative; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); padding: 22px; }
.fh.dark .ui { background: #14122a; border-color: rgba(255,255,255,.1); color: #fff; box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.04); }
.ui .ui-title { font-weight: 800; font-size: 15px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.ui .ui-title .dot { width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(135deg, var(--a1), var(--a2)); }
.ui .lbl { font-size: 12px; font-weight: 700; color: var(--muted); margin: 12px 0 6px; }
.ui .fake { height: 42px; border-radius: 11px; border: 1px solid var(--border-2); background: var(--surface-2); display: flex; align-items: center; padding: 0 13px; font-size: 13.5px; color: var(--text-2); overflow: hidden; white-space: nowrap; }
.fh.dark .ui .fake { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.85); }
.ui .fake.focus { border-color: var(--a1); box-shadow: 0 0 0 4px var(--a-soft); }
.ui .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ui .tog { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 13.5px; font-weight: 600; }
.ui .tog:last-of-type { border-bottom: 0; }
.ui .sw { width: 36px; height: 21px; border-radius: 99px; background: linear-gradient(115deg, var(--a1), var(--a2)); position: relative; }
.ui .sw::after { content: ''; position: absolute; top: 3px; right: 3px; width: 15px; height: 15px; border-radius: 50%; background: #fff; }
.ui .sw.off { background: var(--border-2); }
.ui .sw.off::after { right: auto; left: 3px; }
.ui .go { margin-top: 16px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 750; font-size: 14px; background: linear-gradient(115deg, var(--a1), var(--a2)); }
.chip-float { position: absolute; padding: 11px 14px; border-radius: 14px; background: var(--surface-glass); backdrop-filter: blur(14px); border: 1px solid var(--border); box-shadow: var(--shadow-lg); font-size: 12.5px; font-weight: 700; animation: float 6s ease-in-out infinite; z-index: 2; }
.chip-float b { display: block; font-size: 20px; letter-spacing: -.03em; }
.chip-float .up { color: var(--success); }
.fh.dark .chip-float { background: rgba(30,28,56,.75); border-color: rgba(255,255,255,.12); color: #fff; }
.ui-list .it { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 13px; border: 1px solid var(--border); margin-top: 8px; background: var(--surface); }
.fh.dark .ui-list .it { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.ui-list .it i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-style: normal; background: var(--a-soft); }
.ui-list .it b { display: block; font-size: 13.5px; }
.ui-list .it small { color: var(--muted); font-size: 12px; }
.ui-list .it em { font-style: normal; font-weight: 800; font-size: 13px; }
.ui-list .tagp { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 99px; font-size: 10.5px; font-weight: 700; background: var(--a-soft); color: var(--a1); vertical-align: middle; }
.ui-search { display: flex; gap: 8px; }
.ui-search .fake { flex: 1; }
.ui-search .pill { height: 42px; padding: 0 14px; border-radius: 11px; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(115deg, var(--a1), var(--a2)); }
.ui-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ui-kpis div { padding: 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface-2); }
.ui-kpis small { font-size: 11.5px; color: var(--muted); font-weight: 650; }
.ui-kpis b { display: block; font-size: 22px; letter-spacing: -.03em; }
.ui-bars { display: flex; align-items: flex-end; gap: 6px; height: 130px; margin-top: 14px; }
.ui-bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--a1), var(--a2)); opacity: .9; }
.ui-bars i:nth-child(odd) { opacity: .55; }
.donut { width: 120px; height: 120px; border-radius: 50%; background: conic-gradient(var(--a1) 0 48%, var(--a2) 0 76%, #a3a3a3 0 90%, var(--border-2) 0); display: grid; place-items: center; flex: none; }
.donut::after { content: ''; width: 64px; height: 64px; border-radius: 50%; background: var(--surface); }
.legend { display: grid; gap: 8px; font-size: 13px; font-weight: 600; }
.legend span { display: flex; align-items: center; gap: 8px; }
.legend span::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.ui-term { font: 13px/1.75 var(--mono); color: #e4e2ff; white-space: pre; overflow-x: auto; }
.ui-term .c { color: #6b6890; } .ui-term .k { color: #c792ea; } .ui-term .s { color: #a5e3a0; } .ui-term .n { color: #ffb547; }

/* ---------- Benefit columns ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.benefits.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .benefits, .benefits.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .benefits, .benefits.three { grid-template-columns: 1fr; } }
.benefit { padding: 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); transition: transform .3s, box-shadow .3s, border .3s; }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--a1) 40%, var(--border)); }
.benefit .bi { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; font-size: 22px; background: linear-gradient(135deg, var(--a1), var(--a2)); box-shadow: 0 12px 24px -12px var(--a1); margin-bottom: 18px; }
.benefit h3 { font-size: 17.5px; margin-bottom: 8px; }
.benefit p { color: var(--text-2); font-size: 14.5px; margin: 0; }

/* ---------- Feature rows (alternating) ---------- */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.frow + .frow { margin-top: 100px; }
.frow.rev > :first-child { order: 2; }
@media (max-width: 900px) { .frow { grid-template-columns: 1fr; gap: 32px; } .frow.rev > :first-child { order: 0; } }
.frow h3 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -.04em; }
.frow p { color: var(--text-2); font-size: 16.5px; }
.frow .visual { position: relative; padding: 34px; border-radius: 30px; background: linear-gradient(140deg, var(--a-soft), transparent 70%); border: 1px solid var(--border); }

/* ---------- Highlight band ---------- */
.band { position: relative; border-radius: 32px; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; color: #fff; background: #0c0a1f; isolation: isolate; }
.band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 0% 0%, color-mix(in srgb, var(--a1) 80%, transparent), transparent 65%), radial-gradient(50% 80% at 100% 100%, color-mix(in srgb, var(--a2) 70%, transparent), transparent 65%); }
.band .txt { padding: 56px; }
.band h2 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.045em; }
.band p { opacity: .82; font-size: 16.5px; }
.band .art { display: grid; place-items: center; padding: 40px; font-size: 120px; line-height: 1; }
.band .art .big { font-size: clamp(64px, 9vw, 120px); font-weight: 800; letter-spacing: -.06em; }
.band .btn { background: #fff; color: #1c1240; box-shadow: none; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } .band .txt { padding: 36px 28px; } .band .art { padding: 0 28px 36px; } }

/* ---------- FAQ split ---------- */
.faq-split { display: grid; grid-template-columns: 300px 1fr; gap: 50px; align-items: start; }
.faq-split h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.045em; position: sticky; top: 100px; }
.faq-split .faq { margin: 0; max-width: none; }
@media (max-width: 860px) { .faq-split { grid-template-columns: 1fr; gap: 20px; } .faq-split h2 { position: static; } }

/* ---------- Features index ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.feat-card { position: relative; display: block; padding: 30px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); color: var(--text); overflow: hidden; isolation: isolate; transition: transform .3s, box-shadow .3s, border .3s; }
.feat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); text-decoration: none; border-color: color-mix(in srgb, var(--a1) 45%, var(--border)); }
.feat-card::after { content: ''; position: absolute; right: -70px; top: -70px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(closest-side, var(--a-soft), transparent); z-index: -1; transition: transform .4s; }
.feat-card:hover::after { transform: scale(1.4); }
.feat-card .bi { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; background: linear-gradient(135deg, var(--a1), var(--a2)); box-shadow: 0 12px 24px -12px var(--a1); margin-bottom: 20px; }
.feat-card h3 { font-size: 20px; margin-bottom: 8px; }
.feat-card p { color: var(--text-2); margin: 0 0 18px; font-size: 14.5px; }
.feat-card .more { font-weight: 750; font-size: 14px; color: var(--a1); }

/* Related features strip */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 800px) { .related { grid-template-columns: 1fr; } }
.related a { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 700; transition: border .2s, transform .2s; }
.related a:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--primary); }
.related a span { font-size: 22px; }
.related a em { margin-left: auto; font-style: normal; color: var(--muted); }


/* Colour edition */
.fp .a-grad { background: none; color: var(--primary); -webkit-text-fill-color: currentColor; }
.fh.dark .a-grad { color: #a5a0ff; }
.fp .eyebrow { color: var(--primary); }
.fp .eyebrow::before { background: var(--primary); }
.fp .btn.accent, .ui .go, .ui-search .pill { background: var(--primary); color: var(--on-primary); box-shadow: none; }
.fh.dark .btn.accent { background: #fff; color: #17153a; }
.benefits .benefit:nth-child(6n+1) .bi { background: var(--t-indigo-bg); color: var(--t-indigo); border-color: transparent; box-shadow: none; }
.benefits .benefit:nth-child(6n+2) .bi { background: var(--t-emerald-bg); color: var(--t-emerald); border-color: transparent; box-shadow: none; }
.benefits .benefit:nth-child(6n+3) .bi { background: var(--t-amber-bg); color: var(--t-amber); border-color: transparent; box-shadow: none; }
.benefits .benefit:nth-child(6n+4) .bi { background: var(--t-rose-bg); color: var(--t-rose); border-color: transparent; box-shadow: none; }
.benefits .benefit:nth-child(6n+5) .bi { background: var(--t-sky-bg); color: var(--t-sky); border-color: transparent; box-shadow: none; }
.benefits .benefit:nth-child(6n+6) .bi { background: var(--t-violet-bg); color: var(--t-violet); border-color: transparent; box-shadow: none; }
.feat-grid .feat-card:nth-child(6n+1) .bi { background: var(--t-indigo-bg); color: var(--t-indigo); border-color: transparent; box-shadow: none; }
.feat-grid .feat-card:nth-child(6n+2) .bi { background: var(--t-emerald-bg); color: var(--t-emerald); border-color: transparent; box-shadow: none; }
.feat-grid .feat-card:nth-child(6n+3) .bi { background: var(--t-amber-bg); color: var(--t-amber); border-color: transparent; box-shadow: none; }
.feat-grid .feat-card:nth-child(6n+4) .bi { background: var(--t-rose-bg); color: var(--t-rose); border-color: transparent; box-shadow: none; }
.feat-grid .feat-card:nth-child(6n+5) .bi { background: var(--t-sky-bg); color: var(--t-sky); border-color: transparent; box-shadow: none; }
.feat-grid .feat-card:nth-child(6n+6) .bi { background: var(--t-violet-bg); color: var(--t-violet); border-color: transparent; box-shadow: none; }
.benefit .bi, .feat-card .bi { box-shadow: none; }
.fh.tint { background: var(--primary-soft); border-bottom: 1px solid var(--border); }
.fh.dark { background: var(--ink); }
.fh.dark .ui { background: #201e48; border-color: #2e2b5e; }
.ui .ui-title .dot, .ui .sw { background: var(--primary); }
.ui-bars i { background: var(--primary); opacity: 1; }
.ui-bars i:nth-child(even) { opacity: .55; }
.donut { background: conic-gradient(var(--primary) 0 48%, var(--t-sky) 0 76%, var(--t-amber) 0 90%, var(--border-2) 0); }
.ui-term .c { color: #8582a6; } .ui-term .k { color: #c4b5fd; } .ui-term .s { color: #86efac; } .ui-term .n { color: #fcd34d; }
.frow .visual { background: var(--t-indigo-bg); border-color: transparent; }
.frow.rev .visual { background: var(--t-sky-bg); }
.band { background: var(--ink); border: 1px solid var(--ink-2); }
.band::before, .feat-card::after { display: none; }
.band .btn { background: #fff; color: #17153a; }
.feat-card .more { color: var(--primary); }
/* Grid children may shrink below their content width, so code and mock-ups scroll instead of widening the page */
.frow > *, .split > * { min-width: 0; }
.frow .visual { max-width: 100%; overflow: hidden; }
@media (max-width: 600px) { .frow .visual { padding: 18px; border-radius: 22px; } }
