/*
Theme Name: Rotaplex
Theme URI: https://rotaplex.co.uk/
Author: Etechinc Limited
Author URI: https://www.etechinc.co.uk
Description: Business-focused theme for Rotaplex staff time & attendance and visitor management. Rotaplex brand (violet and plum, Inter, fingerprint-clock logo). Home, Features, Solutions, Pricing, Demo and Contact layouts are applied automatically by page address. Contact details, prices, numbers, WhatsApp and colours are in Appearance > Customize > Rotaplex settings. No page builder needed.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rotaplex
*/

/* ---------- Font: Inter (SIL Open Font Licence), self-hosted ---------- */
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-latin-700-normal.woff2") format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
	/* Rotaplex: Violet #5B1BD6, Graphite #1F1F2E, Plum #1B1236, Lilac #C4A8FF, Mist #F7F4FE */
	--brand-1: #5B1BD6;            /* Violet (main) */
	--brand-2: #3A0F8C;            /* deep violet, for the gradient */
	--grad: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-2) 100%);
	--lilac: #C4A8FF;
	--dash-1: #5B1BD6;             /* dashboard top bar */
	--dash-2: #4612AB;
	--ink: #1F1F2E;                /* Graphite */
	--ink-2: #4A4A5E;
	--ink-3: #6B6B80;
	--paper: #F7F4FE;              /* Mist */
	--line: #E6E1F2;
	--white: #fff;
	--night: #1B1236;              /* Plum */
	--night-2: #2A1F4D;
	--green: #0d7f4a;
	--green-bg: #e3f6ec;
	--amber: #9a4b05;
	--amber-bg: #fdf0e1;
	--blue: #5B1BD6;
	--blue-bg: #EEE7FD;
	--grey-bg: #eeedf4;
	--radius: 14px;
	--radius-lg: 22px;
	--shadow: 0 1px 2px rgba(31, 31, 46, .06), 0 8px 24px rgba(31, 31, 46, .08);
	--shadow-lg: 0 30px 60px -20px rgba(27, 18, 54, .45);
	--step--1: clamp(.84rem, .82rem + .1vw, .9rem);
	--step-0: clamp(1rem, .97rem + .15vw, 1.08rem);
	--step-1: clamp(1.15rem, 1.08rem + .35vw, 1.35rem);
	--step-2: clamp(1.4rem, 1.25rem + .7vw, 1.85rem);
	--step-3: clamp(1.8rem, 1.5rem + 1.4vw, 2.6rem);
	--step-4: clamp(2.3rem, 1.8rem + 2.4vw, 3.7rem);
	--wrap: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: var(--step-0); line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--brand-2); text-underline-offset: .18em; }
a:hover { color: var(--brand-1); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid #ffb703; outline-offset: 3px; border-radius: 4px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.small { font-size: var(--step--1); color: var(--ink-3); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--white); color: var(--ink); padding: .6rem 1rem; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .7em 1.25em; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: var(--step--1); line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: .85em 1.5em; font-size: var(--step-0); }
.btn--primary { background: var(--grad); color: var(--white); box-shadow: 0 8px 20px -8px rgba(44, 14, 254, .6); }
.btn--primary:hover { color: var(--white); box-shadow: 0 12px 26px -8px rgba(44, 14, 254, .7); }
.btn--white { background: var(--white); color: var(--brand-2); }
.btn--white:hover { color: var(--brand-1); }
.btn--ghost { background: rgba(255, 255, 255, .08); color: var(--white); border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); color: var(--white); }
.btn--outline { background: var(--white); color: var(--brand-2); border-color: var(--brand-2); }
.btn--outline:hover { background: var(--blue-bg); color: var(--brand-2); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.eyebrow { display: inline-block; margin: 0 0 .9rem; font-size: var(--step--1); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-2); }
.eyebrow--light { color: #d9d2ff; }

.ticks { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .5rem; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; }
.ticks .icon { color: var(--green); margin-top: .22em; stroke-width: 2.6; }
.ticks--inline { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 0; }
.ticks--cols { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .6rem 1.5rem; }

.pill { display: inline-block; padding: .15em .65em; border-radius: 999px; font-style: normal; font-weight: 700; font-size: .78em; white-space: nowrap; }
.pill--in { background: var(--green-bg); color: var(--green); }
.pill--out { background: var(--grey-bg); color: var(--ink-2); }
.pill--break { background: var(--amber-bg); color: var(--amber); }
.pill--visitor { background: var(--blue-bg); color: var(--blue); }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--night); color: #D9D0F0; font-size: var(--step--1); }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.topbar__text { margin: 0; }
.topbar__links { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.topbar a:hover { text-decoration: underline; color: #fff; }

.site-head { position: sticky; top: 0; z-index: 50; background: var(--grad); color: var(--white); transition: box-shadow .2s ease; }
.site-head.is-stuck { box-shadow: 0 8px 24px rgba(27, 18, 54, .35); }
.site-head__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .5rem; color: var(--white); text-decoration: none; flex: none; }
.brand:hover { color: var(--white); }
.brand__img { display: block; height: 40px; width: auto; }

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav__list, .nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .3rem; }
.nav a:not(.btn) { display: block; padding: .5rem .8rem; border-radius: 8px; color: var(--white); text-decoration: none; font-weight: 700; font-size: var(--step--1); }
.nav a:not(.btn):hover { background: rgba(255, 255, 255, .14); color: var(--white); }
.nav .current-menu-item > a, .nav [aria-current="page"] { background: rgba(255, 255, 255, .2); }
.nav .sub-menu { display: none; }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); padding: .5rem; cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle__close { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--grad); color: var(--white); padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(4rem, 8vw, 7rem); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 85% 20%, rgba(255, 255, 255, .18), transparent 60%), radial-gradient(40% 50% at 0% 100%, rgba(27, 18, 54, .35), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; background: var(--white); clip-path: ellipse(75% 100% at 50% 100%); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__title { font-size: var(--step-4); margin-bottom: 1.1rem; }
.hero__text { font-size: var(--step-1); color: #ece8ff; max-width: 34em; margin-bottom: 1.8rem; }
.hero__points { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: var(--step--1); color: #ece8ff; }
.hero__points li { display: flex; align-items: center; gap: .4rem; }
.hero__points .icon { color: #7dffb5; stroke-width: 2.6; }
.hero__visual { position: relative; padding: 1.5rem 0 2rem; }

/* Dashboard drawing */
.mock { background: var(--white); color: var(--ink); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); font-size: 13px; line-height: 1.35; transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); }
.mock__bar { display: flex; justify-content: space-between; align-items: center; padding: .7rem 1rem; background: linear-gradient(90deg, var(--dash-1), var(--dash-2)); color: #fff; font-weight: 700; }
.mock__logo { display: inline-flex; gap: .4rem; align-items: center; font-size: 15px; }
.mock__logo .icon { width: 22px; height: 22px; }
.mock__user { display: inline-flex; gap: .45rem; align-items: center; font-size: 12px; }
.mock__avatar { width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .3); display: grid; place-items: center; font-size: 11px; }
.mock__body { display: grid; grid-template-columns: 150px 1fr; min-height: 300px; }
.mock__side { list-style: none; margin: 0; padding: .7rem .5rem; background: var(--night); color: #CFC6E6; display: grid; align-content: start; gap: 2px; }
.mock__side li { display: flex; align-items: center; gap: .5rem; padding: .42rem .55rem; border-radius: 6px; font-size: 12px; }
.mock__side .icon { width: 15px; height: 15px; }
.mock__side .is-on { background: rgba(10, 160, 245, .18); color: #fff; }
.mock__main { padding: .9rem; background: var(--paper); display: grid; gap: .8rem; align-content: start; }
.mock__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.mock__tile { background: #fff; border-radius: 9px; padding: .55rem .6rem; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.mock__tile b { display: block; font-size: 20px; font-weight: 700; }
.mock__tile span { color: #66638a; font-size: 11px; }
.mock__tile--live b { color: var(--green); }
.mock__table { background: #fff; border-radius: 9px; overflow: hidden; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.mock__th, .mock__row { display: grid; grid-template-columns: 1.6fr 1fr .6fr 1fr; gap: .4rem; align-items: center; padding: .5rem .7rem; }
.mock__th { font-weight: 700; color: #66638a; font-size: 11px; border-bottom: 1px solid #eceaf5; }
.mock__row + .mock__row { border-top: 1px solid #f1f0f7; }
.mock__who { display: flex; align-items: center; gap: .45rem; font-weight: 700; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__who i { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 10px; color: #fff; background: var(--grad); }
.js-reveal .mock__row { opacity: 0; animation: rowIn .5s ease forwards; animation-delay: calc(.5s + var(--i) * .35s); }
@keyframes rowIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.float { position: absolute; display: flex; gap: .7rem; align-items: center; background: var(--white); color: var(--ink); padding: .7rem 1rem .7rem .7rem; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: 13px; line-height: 1.3; }
.float b { display: block; font-size: 14px; }
.float__icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: var(--grad); }
.float__icon .icon { width: 24px; height: 24px; }
.float--face { left: -1.5rem; bottom: -.2rem; }
.float--geo { right: -1rem; top: -.4rem; }
.float--geo .float__icon { background: linear-gradient(135deg, var(--dash-1), var(--dash-2)); }

/* ---------- Stats + logos ---------- */
.stats { padding: 1rem 0 2.5rem; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { padding-left: 1.1rem; border-left: 3px solid; border-image: var(--grad) 1; }
.stat__value { margin: 0; font-size: var(--step-3); font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.stat__label { margin: .2rem 0 0; color: var(--ink-2); font-size: var(--step--1); }

.logos { padding: 0 0 2.5rem; }
.logos__in { display: flex; align-items: center; gap: 2rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.logos__label { margin: 0; color: var(--ink-3); font-size: var(--step--1); font-weight: 700; max-width: 14em; }
.logos__row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.2rem; }
.logos__row img { height: 54px; width: auto; filter: grayscale(1); opacity: .75; transition: .2s; }
.logos__row img:hover { filter: none; opacity: 1; }
.logos__widget .gallery { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin: 0; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--tint { background: var(--paper); }
.section__head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title { font-size: var(--step-3); }
.section__text { font-size: var(--step-1); color: var(--ink-2); }

/* Three ways in */
.ways__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.way { position: relative; padding: 2rem 1.75rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.way__num { position: absolute; top: 1.4rem; right: 1.5rem; font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--paper); -webkit-text-stroke: 1px var(--line); }
.way__icon, .card__icon, .feat__icon, .sector__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; color: var(--white); background: var(--grad); margin-bottom: 1.2rem; box-shadow: 0 10px 20px -10px rgba(44, 14, 254, .7); }
.way__icon .icon, .feat__icon .icon { width: 28px; height: 28px; }
.way__title { font-size: var(--step-1); }
.way p { color: var(--ink-2); }

/* Feature cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 2.5rem; }
.card { display: flex; flex-direction: column; padding: 1.5rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .18s ease, box-shadow .18s ease, border-color .18s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c9c2f5; color: var(--ink); }
.card__icon { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 1rem; }
.card__icon .icon { width: 24px; height: 24px; }
.card__title { font-size: 1.1rem; margin-bottom: .4rem; }
.card p { color: var(--ink-2); font-size: var(--step--1); flex: 1; }
.card__more { display: inline-flex; gap: .3rem; align-items: center; font-weight: 700; font-size: var(--step--1); color: var(--brand-2); }

/* Split sections and panels */
.split__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.4rem; }
.panel__title { display: flex; align-items: center; gap: .5rem; font-weight: 700; margin: 0 0 1rem; }
.panel__title .icon { color: var(--brand-2); width: 22px; height: 22px; }
.panel__rows { display: grid; gap: .55rem; }
.panel__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem .9rem; border-radius: 11px; background: var(--paper); }
.panel__row small { display: block; color: var(--ink-3); }
.panel__val { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--brand-2); }
.panel__btns { display: flex; gap: .35rem; }
.panel__loc { color: var(--ink-3); font-size: var(--step--1); margin-left: auto; }
.panel__foot { display: flex; align-items: center; gap: .4rem; justify-content: flex-end; margin: 1rem 0 0; font-weight: 700; font-size: var(--step--1); }

.fire { background: var(--night); color: var(--white); position: relative; overflow: hidden; }
.fire::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 100% 0%, rgba(139, 36, 252, .35), transparent 70%); }
.fire .wrap { position: relative; }
.fire .section__text { color: #cfc9f3; }
.fire .ticks .icon { color: #7dffb5; }
.panel--dark { background: var(--night-2); border-color: rgba(255, 255, 255, .1); color: var(--white); }
.panel--dark .panel__row { background: rgba(255, 255, 255, .06); }
.panel--dark .panel__loc { color: #b9b3e6; }
.panel--dark .panel__title .icon { color: #ff9b5c; }
.split__grid--rev > :first-child { order: 0; }

/* Industries */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.sector { padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.sector__icon { width: 46px; height: 46px; border-radius: 12px; margin-bottom: .9rem; }
.sector__icon .icon { width: 24px; height: 24px; }
.sector__title { font-size: 1.1rem; margin-bottom: .35rem; }
.sector p { color: var(--ink-2); font-size: var(--step--1); margin: 0; }
.brc, .note { display: flex; gap: 1.25rem; align-items: center; margin-top: 2.5rem; padding: 1.25rem 1.5rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.brc img { width: 120px; flex: none; }
.brc p, .note p { margin: 0; color: var(--ink-2); }
.brc strong, .note strong { color: var(--ink); }
.brc__icon, .note__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--blue-bg); color: var(--brand-2); }
.brc__icon .icon, .note__icon .icon { width: 26px; height: 26px; }
.section--tint .note { background: var(--white); }
.note--small { margin-top: 1.5rem; padding: 1rem 1.2rem; }

/* Testimonials */
.quotes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.quote { margin: 0; display: flex; flex-direction: column; padding: 1.75rem; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.quote__mark { width: 34px; height: 34px; color: var(--brand-1); opacity: .35; margin-bottom: .6rem; }
.quote blockquote { margin: 0 0 1.3rem; flex: 1; font-size: 1.05rem; }
.quote blockquote p { margin: 0; }
.quote figcaption { display: flex; gap: .8rem; align-items: center; font-size: var(--step--1); }
.quote figcaption b { display: block; font-size: var(--step-0); }
.quote figcaption span span { color: var(--ink-3); }
.quote__avatar { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--white); background: var(--grad); }

/* Pricing */
.price-install { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.6rem 1.8rem; border-radius: var(--radius-lg); background: var(--grad); color: var(--white); margin-bottom: 1.25rem; }
.price-install h3 { font-size: var(--step-1); margin-bottom: .6rem; }
.price-install .ticks .icon { color: #7dffb5; }
.price-install__price { margin: 0; text-align: right; flex: none; }
.price-install__price b { display: block; font-size: var(--step-3); line-height: 1; }
.price-install__price span { color: #e2ddff; font-size: var(--step--1); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.tier { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 1.8rem; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.tier--pop { border: 2px solid var(--brand-2); box-shadow: 0 20px 40px -20px rgba(44, 14, 254, .45); }
.tier__flag { position: absolute; top: -.8rem; left: 1.8rem; margin: 0; padding: .2rem .7rem; border-radius: 999px; background: var(--grad); color: var(--white); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.tier__name { font-size: 1.05rem; color: var(--ink-2); font-weight: 700; }
.tier__price { margin: .2rem 0 1.5rem; flex: 1; }
.tier__price b { font-size: var(--step-3); font-weight: 700; display: block; line-height: 1.1; }
.tier__price span { color: var(--ink-3); font-size: var(--step--1); }
.incl { margin-top: 2rem; padding: 1.75rem; border-radius: var(--radius-lg); background: var(--paper); }
.incl__title { font-size: var(--step-1); }
.incl .small { margin: .5rem 0 0; }

/* CTA band */
.cta { background: var(--grad); color: var(--white); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.cta__in { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.cta__title { font-size: var(--step-3); }
.cta__text { color: #ece8ff; max-width: 40em; margin: 0; }

/* ---------- Inner pages ---------- */
.page-head { background: var(--grad); color: var(--white); padding: clamp(3rem, 6vw, 5rem) 0; position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 90% at 90% 10%, rgba(255, 255, 255, .16), transparent 60%); }
.page-head__in { position: relative; }
.page-head__in > * { max-width: 860px; }
.page-head__title { font-size: var(--step-4); }
.page-head__text { font-size: var(--step-1); color: #ece8ff; max-width: 40em; }
.page-head .actions { margin-top: 1.5rem; }

/* Features page */
.feat-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(2rem, 5vw, 4rem); padding: clamp(3rem, 6vw, 5rem) 0; align-items: start; }
.feat-nav { position: sticky; top: 100px; }
.feat-nav__title { font-weight: 700; font-size: var(--step--1); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.feat-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.feat-nav a { display: flex; gap: .6rem; align-items: center; padding: .5rem .7rem; border-radius: 9px; color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: var(--step--1); }
.feat-nav a:hover { background: var(--paper); color: var(--brand-2); }
.feat-nav .icon { color: var(--brand-2); }
.feat-list { display: grid; gap: 1.25rem; }
.feat { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); scroll-margin-top: 110px; }
.feat__icon { margin: 0; }
.feat__title { font-size: var(--step-2); margin-bottom: .4rem; }
.feat__intro { color: var(--ink-2); }
.feat .ticks { margin: 0; }
.feat--shots { display: block; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.shots img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); }
.feat--support { background: var(--paper); }

/* Solutions */
.problems { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.problem { padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); }
.problem__before { color: var(--ink-3); font-size: var(--step--1); }
.problem__after { display: flex; gap: .5rem; margin: 0; padding-top: .9rem; border-top: 1px dashed var(--line); font-weight: 700; font-size: var(--step--1); }
.problem__after .icon { color: var(--green); stroke-width: 2.6; margin-top: .15em; }

/* FAQ */
.faq { display: grid; gap: .75rem; margin-top: 2rem; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.3rem; }
.faq__item summary { cursor: pointer; font-weight: 700; padding: 1.1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand-2); }
.faq__item[open] summary::after { content: "–"; }
.faq__item p { color: var(--ink-2); }

/* Demo + contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.box { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); scroll-margin-top: 110px; }
.box__title, .contact-side__title { font-size: var(--step-2); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1.1rem; }
.steps li { counter-increment: s; position: relative; padding-left: 3rem; color: var(--ink-2); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--white); font-weight: 700; }
.steps b { display: block; color: var(--ink); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.contact-list li { display: flex; align-items: center; gap: .8rem; }
.contact-list a { font-weight: 700; text-decoration: none; }
.contact-list__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue-bg); color: var(--brand-2); }
.contact-list__icon--wa { background: #e1f7e8; color: #128c4a; }

/* Forms */
.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; font-weight: 700; font-size: var(--step--1); }
.field em { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-weight: 400; font-size: var(--step-0); color: var(--ink); padding: .7rem .85rem; border: 1.5px solid #cfcae6; border-radius: 10px; background: var(--white); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(44, 14, 254, .18); }
.form .btn { justify-self: start; }
.form__small { font-size: var(--step--1); color: var(--ink-3); margin: 0; }
.hp { position: absolute; left: -9999px; }
.notice { display: flex; gap: .7rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: 12px; margin-bottom: 1.25rem; }
.notice p { margin: 0; }
.notice--ok { background: var(--green-bg); color: #0b5a35; }
.notice--ok .icon { color: var(--green); margin-top: .2em; }
.notice--error { background: #fde8e8; color: #8a1c1c; }

/* Generic content */
.prose { font-size: 1.05rem; }
.prose h2 { font-size: var(--step-2); margin-top: 2rem; }
.prose h3 { font-size: var(--step-1); margin-top: 1.5rem; }
.prose img, .prose__img { border-radius: var(--radius); }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.post-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); }
.post-card a { color: var(--ink); text-decoration: none; }

/* ---------- Footer ---------- */
.site-foot { background: var(--night); color: #D9D0F0; padding-top: clamp(3rem, 6vw, 4.5rem); font-size: var(--step--1); }
.site-foot__grid { display: grid; grid-template-columns: 1.4fr .8fr 1.1fr 1.1fr; gap: 2rem; padding-bottom: 2.5rem; }
.site-foot__about p { margin: 1rem 0; max-width: 26em; }
.site-foot__h { color: var(--white); font-size: 1rem; margin-bottom: 1rem; }
.site-foot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-foot__list a { color: #e8e4ff; text-decoration: none; }
.site-foot__list a:hover { color: var(--white); text-decoration: underline; }
.site-foot__contact li { display: flex; gap: .6rem; align-items: flex-start; }
.site-foot__contact .icon { color: #a99cff; margin-top: .2em; }
.site-foot__cta p { margin-bottom: 1rem; }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: .5rem; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--white); }
.social a:hover { background: var(--grad); color: var(--white); }
.social .icon { width: 18px; height: 18px; }
.site-foot__base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.3rem 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.site-foot__base p { margin: 0; }
.site-foot__base a { color: var(--white); }

/* WhatsApp button */
.wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60; display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.1rem; border-radius: 999px; background: #1a8f4e; color: var(--white); font-weight: 700; text-decoration: none; box-shadow: 0 10px 24px -6px rgba(0, 0, 0, .35); }
.wa-float:hover { background: #127a40; color: var(--white); }
.wa-float .icon { width: 24px; height: 24px; }

/* Reveal on scroll */
.js-reveal .way, .js-reveal .card, .js-reveal .sector, .js-reveal .quote, .js-reveal .tier, .js-reveal .feat, .js-reveal .problem, .js-reveal .panel { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js-reveal .is-in { opacity: 1 !important; transform: none !important; }
.js-reveal .card.is-in:hover { transform: translateY(-3px) !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.cards { grid-template-columns: repeat(2, 1fr); }
	.problems { grid-template-columns: repeat(2, 1fr); }
	.site-foot__grid { grid-template-columns: 1fr 1fr; }
	.mock { transform: none; }
	.float--face { left: .5rem; }
	.float--geo { right: .5rem; }
}
@media (max-width: 960px) {
	.topbar__text { display: none; }
	.topbar__in { justify-content: center; }
	.nav-toggle { display: inline-flex; }
	.nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1.25rem; background: var(--night); box-shadow: 0 20px 40px rgba(0, 0, 0, .35); max-height: calc(100vh - 76px); overflow: auto; display: none; }
	.nav-open .nav { display: flex; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: inline; }
	.nav__list, .nav ul { flex-direction: column; }
	.nav a:not(.btn) { padding: .8rem 1rem; font-size: 1.05rem; }
	.nav__cta { align-self: flex-start; }
	.hero__grid, .split__grid, .contact-grid { grid-template-columns: 1fr; }
	.hero__visual { max-width: 640px; }
	.ways__grid, .quotes__grid, .tiers, .sectors { grid-template-columns: 1fr 1fr; }
	.stats__grid { grid-template-columns: 1fr 1fr; }
	.feat-layout { grid-template-columns: 1fr; }
	.feat-nav { position: static; }
	.feat-nav ul { display: flex; flex-wrap: wrap; gap: .4rem; }
	.feat-nav a { background: var(--paper); }
	.cta__in { flex-direction: column; align-items: flex-start; }
	.logos__in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
	.topbar__links li:last-child { display: none; }
	.ways__grid, .quotes__grid, .tiers, .sectors, .cards, .problems, .form__row { grid-template-columns: 1fr; }
	.mock { font-size: 11px; }
	.mock__body { grid-template-columns: 1fr; }
	.mock__side { display: none; }
	.mock__tiles { grid-template-columns: repeat(2, 1fr); }
	.mock__th span:nth-child(4), .mock__row span:nth-child(4) { display: none; }
	.mock__th, .mock__row { grid-template-columns: 1.5fr 1fr .6fr; }
	.float { font-size: 12px; padding: .5rem .8rem .5rem .5rem; }
	.float__icon { width: 32px; height: 32px; }
	.float--geo { top: -1rem; }
	.float--face { bottom: -.6rem; }
	.price-install { flex-direction: column; align-items: flex-start; }
	.price-install__price { text-align: left; }
	.feat { grid-template-columns: 1fr; padding: 1.5rem; }
	.site-foot__grid { grid-template-columns: 1fr; }
	.panel__row { flex-wrap: wrap; }
	.brc, .note { flex-direction: column; align-items: flex-start; }
	.wa-float { padding: .8rem; }
	.wa-float__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
	.btn--lg { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js-reveal .mock__row { opacity: 1; }
}

/* ---------- Rotaplex logo ---------- */
.mock__mark { width: 18px; height: 18px; display: inline-block; vertical-align: -3px; margin-right: .3rem; }
.site-foot .brand__img { height: 36px; }
.brand-tagline { margin: .6rem 0 0; color: var(--lilac); font-weight: 600; letter-spacing: .01em; }

/* Small link under the Sign up button on pricing cards */
.tier__alt { margin: .75rem 0 0; font-size: .9rem; text-align: center; }
.tier__alt a { color: inherit; text-decoration: underline; }
