/* Cynaut Technologies — site styles
   Design tokens first; everything else uses them. */

:root {
    --ink: #0b1b33;
    --ink-2: #13284a;
    --text: #1c2733;
    --text-muted: #556274;
    --line: #e2e8f0;
    --surface: #ffffff;
    --surface-2: #f5f8fb;
    --brand: #06a3da;
    --brand-600: #0679b0;
    --brand-700: #055f8b;
    --brand-50: #e9f6fc;

    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgb(11 27 51 / 6%), 0 8px 24px rgb(11 27 51 / 8%);
    --shadow-xs: 0 1px 2px rgb(11 27 51 / 4%);
    --shadow-lg: 0 24px 60px rgb(11 27 51 / 18%);
    --container: 1180px;
    --gutter: clamp(16px, 4vw, 32px);
    --section: clamp(64px, 9vw, 112px);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
    margin: 0; text-wrap: balance;
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 700;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0; text-wrap: pretty; }

::selection { background: rgb(6 163 218 / 22%); color: var(--ink); }

a { color: var(--brand-600); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-700); }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.section { padding-block: var(--section); }
.section--muted { background: var(--surface-2); }
.section--dark { background: var(--ink); color: #c9d4e3; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px clamp(40px, 7vw, 96px); align-items: end; max-width: none; }
.section-head--split p { margin-top: 0; }
.section-head--split .link-arrow { margin-top: 14px; color: var(--brand-600); }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }
.section-head p { margin-top: 16px; font-size: 1.075rem; color: var(--text-muted); }
.section--dark .section-head p { color: #a9b8cc; }

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-600);
}
.section--dark .eyebrow { color: var(--brand); }

.skip-link {
    position: absolute; left: 16px; top: -48px; z-index: 100;
    padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 12px 22px;
    font: 600 0.975rem/1 var(--font);
    text-decoration: none; white-space: nowrap;
    border: 1.5px solid transparent; border-radius: 10px;
    cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary { background: var(--brand-600); color: #fff; }
.btn--primary:hover { background: var(--brand-700); color: #fff; }
.btn--outline { border-color: #c5d1df; color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--brand-50); color: var(--ink); }
.btn--ghost-light { border-color: rgb(255 255 255 / 35%); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; color: #fff; }
.btn--sm { min-height: 40px; padding: 9px 16px; font-size: 0.9rem; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 700; text-decoration: none;
}
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgb(255 255 255 / 92%);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgb(11 27 51 / 6%); }

.nav { display: flex; align-items: center; gap: 24px; height: 76px; }
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: flex; gap: 4px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav__links a {
    display: block; padding: 8px 12px; border-radius: 8px;
    color: var(--text); font-weight: 500; font-size: 0.95rem; text-decoration: none;
}
.nav__links a:hover { color: var(--ink); background: var(--surface-2); }
.nav__links a[aria-current="page"] { color: var(--brand-600); }
.nav__actions { display: flex; gap: 10px; }

.nav__toggle {
    display: none; margin-left: auto;
    width: 44px; height: 44px; padding: 0;
    border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
    display: block; width: 18px; height: 2px; margin: auto; background: var(--ink); border-radius: 2px;
    position: relative; transition: transform .2s, background-color .2s;
}
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
    .nav__toggle { display: block; }
    .nav__menu {
        position: absolute; inset: 76px 0 auto 0;
        display: none; flex-direction: column; gap: 16px;
        padding: 16px var(--gutter) 24px;
        background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgb(11 27 51 / 10%);
    }
    .nav__menu.is-open { display: flex; }
    .nav__links { flex-direction: column; margin: 0; }
    .nav__links a { padding: 12px 8px; font-size: 1.05rem; }
    .nav__actions { flex-direction: column; }
    .nav__actions .btn { width: 100%; }
}
@media (min-width: 1081px) {
    .nav__menu { display: contents; }
}

/* ---------- Hero ---------- */

.hero {
    position: relative; overflow: hidden; isolation: isolate;
    padding-block: clamp(56px, 8vw, 112px) clamp(64px, 9vw, 128px);
    color: #b9c6d8;
    background:
        radial-gradient(800px 520px at 82% 18%, rgb(6 163 218 / 30%), transparent 65%),
        radial-gradient(600px 420px at 8% 110%, rgb(6 163 218 / 16%), transparent 70%),
        linear-gradient(180deg, #0b1b33 0%, #0a1830 100%);
}
/* Faint grid, fading out towards the edges. */
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image:
        linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 30%, transparent 80%);
}
.hero h1 { color: #fff; font-size: clamp(2.25rem, 4.6vw, 3.4rem); text-wrap: balance; }
.hero__accent {
    background: linear-gradient(90deg, #5ad1f5, #06a3da 60%, #3b8ff0);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 72px); align-items: center; }

.hero__badge {
    display: inline-flex; align-items: center; gap: 10px;
    margin-bottom: 26px; padding: 6px 14px 6px 6px;
    font-size: 0.875rem; font-weight: 500; color: #dbe5f1; text-decoration: none;
    border-radius: 999px; background: rgb(255 255 255 / 6%); border: 1px solid rgb(255 255 255 / 14%);
    transition: background-color .2s, border-color .2s;
}
.hero__badge:hover { color: #fff; background: rgb(255 255 255 / 10%); border-color: rgb(255 255 255 / 28%); }
.hero__badge-tag {
    padding: 3px 10px; border-radius: 999px;
    font-size: 0.75rem; font-weight: 700; color: var(--ink); background: var(--brand); white-space: nowrap;
}

.hero__lead { margin-top: 22px; max-width: 560px; font-size: 1.15rem; color: #b9c6d8; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .btn--primary { background: var(--brand); color: var(--ink); box-shadow: 0 8px 30px rgb(6 163 218 / 35%); }
.hero .btn--primary:hover { background: #3bbbe8; color: var(--ink); }

.hero__proof {
    display: flex; flex-wrap: wrap; gap: 10px 36px;
    margin: 44px 0 0; padding: 26px 0 0; list-style: none;
    border-top: 1px solid rgb(255 255 255 / 12%);
}
.hero__proof li { color: #9fb0c6; font-size: 0.925rem; }
.hero__proof strong { display: block; font-size: 1.75rem; line-height: 1.2; color: #fff; font-weight: 800; }

.hero__visual { position: relative; }

/* Product switcher: tabs above a fixed-ratio stage of cross-fading panels. */
.switcher__tabs {
    display: flex; width: max-content; max-width: 100%; margin: 0 auto 28px; padding: 5px; gap: 4px;
    border-radius: 14px; background: rgb(255 255 255 / 6%); border: 1px solid rgb(255 255 255 / 12%);
}
.switcher__tab {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
    padding: 9px 18px; border: 0; border-radius: 10px; cursor: pointer;
    font: inherit; text-align: left; color: #b9c6d8; background: transparent;
    transition: background-color .25s, color .25s;
}
.switcher__tab strong { font-size: 0.95rem; color: inherit; }
.switcher__tab span { font-size: 0.75rem; opacity: .8; }
.switcher__tab:hover { color: #fff; background: rgb(255 255 255 / 6%); }
.switcher__tab[aria-selected="true"] { color: var(--ink); background: #fff; }
.switcher__tab[aria-selected="true"] span { color: var(--text-muted); opacity: 1; }
.switcher__progress {
    position: absolute; left: 0; bottom: 0; height: 3px; width: 0;
    background: var(--brand); border-radius: 3px;
}
.switcher.is-playing .switcher__tab[aria-selected="true"] .switcher__progress {
    animation: switcher-progress var(--switch-interval, 6s) linear forwards;
}
@keyframes switcher-progress { to { width: 100%; } }

.switcher__stage { position: relative; aspect-ratio: 16 / 10.4; }
.switcher__panel {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transform: translateY(10px) scale(.985);
    transition: opacity .5s ease, transform .5s ease, visibility 0s linear .5s;
}
.switcher__panel.is-active {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .5s ease, transform .5s ease, visibility 0s;
}

.browser {
    position: relative; width: 100%;
    border-radius: var(--radius); overflow: hidden;
    background: #fff; border: 1px solid rgb(255 255 255 / 20%);
    box-shadow: 0 40px 100px rgb(0 0 0 / 45%), 0 0 0 8px rgb(255 255 255 / 4%);
}
.browser__bar { display: flex; gap: 6px; padding: 11px 14px; background: #f1f4f8; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3dbe5; }
.phone {
    height: 100%; padding: 7px; border-radius: 28px; background: #050d1a;
    border: 1px solid rgb(255 255 255 / 18%); box-shadow: 0 30px 70px rgb(0 0 0 / 55%);
}
.phone img { width: auto; height: 100%; border-radius: 21px; }

.hero__card {
    position: absolute; z-index: 1; display: flex; align-items: center; gap: 12px;
    padding: 12px 16px 12px 12px; border-radius: 14px;
    background: rgb(255 255 255 / 96%); box-shadow: 0 18px 40px rgb(0 0 0 / 35%);
    font-size: 0.8rem; line-height: 1.35; color: var(--text-muted);
    animation: hero-float 6s ease-in-out infinite;
}
.hero__card strong { display: block; font-size: 0.9rem; color: var(--ink); }
.hero__card-icon {
    display: grid; place-items: center; flex: none; width: 36px; height: 36px;
    border-radius: 10px; background: var(--brand-50); color: var(--brand-600);
}
.hero__card--tl { top: 0; left: -28px; }
.hero__card--br { bottom: 2%; right: -20px; animation-delay: -3s; }
@keyframes hero-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
    .hero__card { animation: none; }
    .switcher__panel, .switcher__panel.is-active { transition: none; transform: none; }
}

@media (max-width: 1080px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__visual { width: min(100%, 760px); margin: 24px auto 0; }
    .hero__card--tl { left: 0; }
    .hero__card--br { right: 0; }
}
@media (max-width: 600px) {
    .hero__badge { font-size: 0.8rem; }
    .hero__cta .btn { flex: 1 1 100%; }
    .switcher__tabs { width: 100%; }
    .switcher__tab { flex: 1; padding: 8px 10px; }
    .switcher__tab span { display: none; }
    .hero__card { padding: 7px 10px 7px 7px; gap: 8px; font-size: 0.7rem; }
    .hero__card strong { font-size: 0.78rem; }
    .hero__card-icon { width: 28px; height: 28px; }
    .hero__card--tl { top: -8px; }
    .hero__card--br { display: none; }
}

/* ---------- Clients ---------- */

.clients { padding-block: 40px; border-block: 1px solid var(--line); }
.clients__label { text-align: center; font-size: 0.875rem; font-weight: 600; color: var(--text-muted); }
.clients__list {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 28px clamp(28px, 3.6vw, 44px);
    margin: 28px 0 0; padding: 0; list-style: none;
}
.clients__list li { position: relative; display: grid; }
.clients__list img { height: var(--logo-h, 40px); width: auto; opacity: .5; transition: opacity .3s; }
/* The original colour logo sits on top and fades in on hover. */
.clients__list .clients__color {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
    opacity: 0; mix-blend-mode: multiply;
}
.clients__list li:hover img { opacity: 0; }
.clients__list li:hover .clients__color { opacity: 1; }

/* ---------- Products ---------- */

.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.product {
    --accent: var(--brand-600); --accent-50: var(--brand-50);
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; flex-direction: column; padding: clamp(28px, 3.2vw, 40px);
    border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-xs);
    color: var(--text); text-decoration: none;
    transition: box-shadow .3s, transform .3s, border-color .3s;
}
/* Soft wash of the product's brand colour in the top corner. */
.product::before {
    content: ""; position: absolute; z-index: -1; top: -140px; right: -140px; width: 360px; height: 360px; border-radius: 50%;
    background: radial-gradient(circle, var(--accent-50), transparent 70%); transition: transform .5s ease;
}
.product:hover { color: var(--text); transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 25%, var(--line)); box-shadow: 0 24px 48px -20px color-mix(in srgb, var(--accent) 35%, transparent), var(--shadow-xs); }
.product:hover::before { transform: scale(1.25); }
.product::after {
    content: ""; position: absolute; inset: 0 0 auto; height: 3px;
    background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 30%, #fff));
    transform: scaleX(0); transform-origin: left; transition: transform .45s ease;
}
.product:hover::after { transform: scaleX(1); }
.product__logo { transition: transform .35s ease; }
.product:hover .product__logo { transform: scale(1.05); }
.product:focus-visible, .product:has(.product__link:focus-visible) { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 3px; }
.product__link:focus-visible { outline: none; }
/* Stretch the explore link over the whole card. */
.product__link::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.product__pitch { margin-top: 2px; font-size: 1.3rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.product__pitch + .product__for { margin-top: 8px; font-size: 0.95rem; }
.product__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.product__foot .product__cta { margin: 0; padding: 0; border: 0; text-decoration: none; white-space: nowrap; }
.product__demo {
    position: relative; z-index: 2; display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px;
    border-radius: 999px; font-size: 0.9rem; font-weight: 700; text-decoration: none; white-space: nowrap;
    color: var(--accent); background: var(--accent-50); transition: background-color .2s, color .2s;
}
.product__demo:hover { color: #fff; background: var(--accent); }
.product__top { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.product__name { flex: 1; min-width: 0; }
.product__logo {
    display: grid; place-items: center; flex: none; width: 96px; height: 96px; padding: 8px;
    border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 20px -10px rgb(11 27 51 / 25%);
}
.product__logo img { width: 100%; height: 100%; object-fit: contain; }
.product__logo--icon { padding: 0; border: 0; overflow: hidden; }
.product__logo--icon img { border-radius: 20px; }
.product__go {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line)); background: #fff;
    flex: none; align-self: flex-start; transform: rotate(-45deg); transition: background-color .3s, color .3s, transform .3s, border-color .3s;
}
.product:hover .product__go { color: #fff; background: var(--accent); border-color: var(--accent); transform: rotate(0); }
.product__tag { font-size: 0.78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-600); }
.product .product__tag { color: var(--accent); }
.product h3 { margin-top: 4px; font-size: 1.6rem; letter-spacing: -0.01em; }
.product__for { color: var(--text-muted); }
/* Two lines reserved so the dividers line up across each row. */
/* Homepage cards share row tracks, so pitch, audience, ticks and footer line up across each row. */
@supports (grid-template-rows: subgrid) {
    .products:has(> article.product) .product { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
    .products .product__ticks { align-content: start; }
    .products .product__top { margin-bottom: 20px; }
}
.product__ticks { display: grid; gap: 12px; margin: 24px 0 28px; padding: 24px 0 0; list-style: none; border-top: 1px solid var(--line); }
.product__ticks li { position: relative; padding-left: 30px; font-size: 0.95rem; }
.product__ticks li::before {
    content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-50);
}
.product__ticks li::after {
    content: ""; position: absolute; left: 7px; top: 6px; width: 5px; height: 9px;
    border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.product__cta {
    display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 20px;
    border-top: 1px solid var(--line); font-weight: 700; color: var(--accent);
}
.product__cta svg { transition: transform .3s ease; }
.product:hover .product__cta svg { transform: translateX(4px); }
@media (max-width: 860px) { .products { grid-template-columns: 1fr; } }

.ticks { margin: 18px 0 24px; padding: 0; list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before {
    content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
    background: var(--brand-50);
}
.ticks li::after {
    content: ""; position: absolute; left: 7px; top: 8px; width: 4px; height: 8px;
    border: solid var(--brand-600); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* Reassurance strip under the product cards. */
.assure {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 28px;
    margin: 28px 0 0; padding: 24px 28px; list-style: none;
    border-radius: 20px; background: var(--surface-2); border: 1px solid var(--line);
}
.assure li { display: flex; align-items: center; gap: 14px; font-size: 0.875rem; color: var(--text-muted); }
.assure strong { display: block; font-size: 0.95rem; color: var(--ink); }
.assure__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--brand-600); background: #fff; border: 1px solid var(--line); }
.assure__icon svg { width: 20px; height: 20px; }
@media (max-width: 1080px) { .assure { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .assure { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.stats li { padding: 8px 0 8px 24px; border-left: 2px solid var(--brand); }
.stats strong { display: block; font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1; font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.stats span { display: block; margin-top: 10px; color: #a9b8cc; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
    padding: 28px; border-radius: var(--radius);
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-xs);
}
.service__icon {
    display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px;
    border-radius: 12px; background: var(--brand-50); color: var(--brand-600);
}
.service__icon svg { width: 24px; height: 24px; }
.service p { margin-top: 8px; color: var(--text-muted); }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } }

/* Homepage services: sticky intro beside a numbered list. */
.offer { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.offer__intro { position: sticky; top: 120px; }
.offer__intro p { margin-top: 16px; font-size: 1.075rem; color: var(--text-muted); }
.offer__intro .hero__cta { margin-top: 32px; }
.offer__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.offer__list li { border-bottom: 1px solid var(--line); }
.offer__item {
    display: grid; grid-template-columns: 32px 48px 1fr 40px; gap: 20px; align-items: center;
    margin: 0 -20px; padding: 26px 20px; border-radius: var(--radius);
    color: var(--text); text-decoration: none; transition: background-color .25s, box-shadow .25s;
}
.offer__item:hover { color: var(--text); background: #fff; box-shadow: var(--shadow); }
.offer__num { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.offer__icon {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
    color: var(--brand-600); background: #fff; border: 1px solid var(--line); transition: background-color .25s, color .25s, border-color .25s;
}
.offer__icon svg { width: 22px; height: 22px; }
.offer__item:hover .offer__icon { color: #fff; background: var(--brand-600); border-color: var(--brand-600); }
.offer__text { display: grid; gap: 4px; }
.offer__text strong { font-size: 1.15rem; color: var(--ink); }
.offer__text span { color: var(--text-muted); }
.offer__go {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    color: var(--brand-600); border: 1px solid var(--line);
    opacity: 0; transform: translateX(-8px); transition: opacity .25s, transform .25s;
}
.offer__item:hover .offer__go, .offer__item:focus-visible .offer__go { opacity: 1; transform: none; }
@media (max-width: 960px) {
    .offer { grid-template-columns: 1fr; }
    .offer__intro { position: static; }
}
@media (max-width: 560px) {
    .offer__item { grid-template-columns: 44px 1fr; gap: 16px; margin: 0; padding: 22px 0; }
    .offer__item:hover { background: none; box-shadow: none; }
    .offer__num, .offer__go { display: none; }
    .offer__icon { width: 44px; height: 44px; }
}

/* ---------- Work ---------- */

/* Horizontal scroller: 3 cards per view (2 on tablets, 1 on phones), snapping a card at a time. */
.work {
    --per-view: 3; --gap: 20px;
    display: grid; grid-auto-flow: column; gap: var(--gap);
    grid-auto-columns: calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    scrollbar-width: none; padding-bottom: 4px;
}
.work::-webkit-scrollbar { display: none; }
.work:focus-visible { outline-offset: 6px; }
.work > .case { scroll-snap-align: start; }
@media (prefers-reduced-motion: reduce) { .work { scroll-behavior: auto; } }

.work-head > div:last-child { display: grid; gap: 20px; }
.work-nav { display: flex; gap: 10px; }
.work-nav[hidden] { display: none; }
.work-nav__btn {
    display: grid; place-items: center; width: 46px; height: 46px; padding: 0; cursor: pointer;
    border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink);
    box-shadow: var(--shadow-xs); transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.work-nav__btn svg { width: 20px; height: 20px; }
.work-nav__btn[data-dir="-1"] svg { transform: scaleX(-1); }
.work-nav__btn:hover:not(:disabled) { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.work-nav__btn:disabled { opacity: .4; cursor: default; }

.work-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.work-dots:empty { display: none; }
.work-dots span { width: 8px; height: 8px; border-radius: 999px; background: #c5d0dc; transition: width .25s, background .25s; }
.work-dots span.is-active { width: 24px; background: var(--brand-600); }
.case {
    display: flex; flex-direction: column; gap: 12px;
    padding: 28px 24px; border-radius: var(--radius);
    background: var(--surface-2); border: 1px solid transparent;
}
.case__icon { margin-bottom: 8px; background: #fff; }
.case h3 { font-size: 1.125rem; line-height: 1.3; }
.case .link-arrow { margin-top: auto; padding-top: 8px; }
.case__sector { font-size: 0.8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-600); }
.case dl { margin: 8px 0 0; padding-top: 18px; display: grid; gap: 16px; border-top: 1px solid var(--line); }
.case dt { font-size: 0.72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.case dd { margin: 4px 0 0; font-size: 0.95rem; color: var(--text); }
/* Reserve two lines for titles so the dividers line up across the row. */
@media (min-width: 1081px) { .case h3 { min-height: 2.6em; } }
@media (max-width: 1080px) { .work { --per-view: 2; } }
@media (max-width: 640px) { .work { --per-view: 1.12; --gap: 14px; } }

/* ---------- Process ---------- */

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 56px; }
.steps li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute; top: 0; left: 0;
    font-size: 0.85rem; font-weight: 800; color: var(--brand-600);
    width: 40px; height: 40px; display: grid; place-items: center;
    border-radius: 50%; background: var(--brand-50);
}
.steps li:not(:last-child)::after {
    content: ""; position: absolute; top: 20px; left: 52px; right: -8px; height: 1px; background: var(--line);
}
.steps p { margin-top: 8px; color: var(--text-muted); font-size: 0.95rem; }
@media (max-width: 960px) {
    .steps { grid-template-columns: 1fr; gap: 28px; }
    .steps li { padding: 0 0 0 60px; }
    .steps li:not(:last-child)::after { display: none; }
}

/* ---------- Testimonials ---------- */

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote {
    display: flex; flex-direction: column; justify-content: space-between; gap: 28px; margin: 0;
    padding: 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-xs);
}
.quote blockquote { margin: 0; font-size: 1.075rem; line-height: 1.6; color: var(--ink); }
.quote blockquote::before {
    content: "“"; display: block; height: 44px; margin-bottom: 4px;
    font: 700 4.5rem/1 Georgia, "Times New Roman", serif; color: var(--brand);
}
.quote figcaption { padding-top: 20px; border-top: 1px solid var(--line); }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.avatar {
    display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%;
    background: var(--ink); color: #fff; font-weight: 700; font-size: 0.9rem;
}
.quote figcaption strong { display: block; color: var(--ink); }
.quote figcaption div span { font-size: 0.9rem; color: var(--text-muted); }
@media (max-width: 960px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- Academy + impact ---------- */

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split p + p { margin-top: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li {
    padding: 10px 16px; border-radius: 999px;
    background: rgb(255 255 255 / 6%); border: 1px solid rgb(255 255 255 / 14%);
    color: #e3eaf3; font-size: 0.925rem; font-weight: 500;
}
.split .hero__cta { margin-top: 28px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.impact {
    display: grid; grid-template-columns: auto 1fr; gap: 24px 48px; align-items: start;
    padding: clamp(28px, 4vw, 44px); border-radius: var(--radius);
    background: var(--brand-50); border: 1px solid #cfe9f6;
}
.impact p { color: var(--text); }
@media (max-width: 760px) { .impact { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */

.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 72px); }
.contact__list { display: grid; gap: 22px; margin: 32px 0 0; padding: 0; list-style: none; }
.contact__list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact__list .service__icon { margin: 0; width: 44px; height: 44px; }
.contact__list strong { display: block; color: var(--ink); }
.contact__list span, .contact__list a { color: var(--text-muted); }
.contact__list a { text-decoration: none; }
.contact__list a:hover { color: var(--brand-600); text-decoration: underline; }

.form {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
    padding: clamp(24px, 4vw, 40px); border-radius: var(--radius);
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.form__full { grid-column: 1 / -1; }
.form label { display: block; margin-bottom: 6px; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.form input, .form select, .form textarea {
    width: 100%; min-height: 48px; padding: 12px 14px;
    font: inherit; color: var(--text);
    background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
    outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgb(6 163 218 / 15%);
}
.form .btn { width: 100%; }
.form__note { font-size: 0.85rem; color: var(--text-muted); }
.form__honey { position: absolute; left: -9999px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */

.site-footer { padding-block: 64px 32px; background: var(--ink); color: #a9b8cc; font-size: 0.95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer__brand img { height: 32px; width: auto; }
.footer__brand p { margin-top: 18px; max-width: 300px; }
.site-footer h3 { margin-bottom: 16px; font-size: 0.95rem; color: #fff; }
.site-footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: #c9d4e3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a {
    display: grid; place-items: center; width: 40px; height: 40px;
    border-radius: 10px; border: 1px solid rgb(255 255 255 / 16%);
}
.social a:hover { border-color: #fff; text-decoration: none; }
.social svg { width: 18px; height: 18px; }
.footer__bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
    margin-top: 48px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 10%); font-size: 0.875rem;
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }


@media (max-width: 520px) {
    .hero__proof { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 8px; }
    .hero__proof li { font-size: 0.8rem; }
    .hero__proof strong { font-size: 1.35rem; }
}

/* ---------- Utilities (replace inline styles from the prototype) ---------- */

.section--compact { padding-block: clamp(56px, 7vw, 88px); }
.section--flush-bottom { padding-bottom: 0; }
.split__lead { margin-top: 18px; }
.impact__title { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.contact__intro { margin-top: 16px; color: var(--text-muted); font-size: 1.075rem; }

/* ---------- Products dropdown ---------- */

.nav__item--has-menu { position: relative; }
.nav__item--has-menu > a::after {
    content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 0 3px 8px;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
}
.nav__submenu {
    position: absolute; top: 100%; left: -8px; z-index: 60;
    min-width: 260px; margin: 0; padding: 8px; list-style: none;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .18s, transform .18s, visibility 0s linear .18s;
}
.nav__item--has-menu:hover .nav__submenu,
.nav__item--has-menu:focus-within .nav__submenu {
    opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s, visibility 0s;
}
.nav__submenu a { display: flex; flex-direction: column; gap: 1px; padding: 10px 12px; border-radius: 10px; }
.nav__submenu strong { color: var(--ink); font-size: 0.95rem; }
.nav__submenu span { color: var(--text-muted); font-size: 0.8rem; }
.nav__submenu a[aria-current="page"] { background: var(--brand-50); }

@media (max-width: 1080px) {
    .nav__item--has-menu > a::after { display: none; }
    .nav__submenu {
        position: static; min-width: 0; padding: 0 0 4px 12px;
        border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none;
    }
    .nav__submenu a { padding: 8px; }
    .nav__submenu span { display: none; }
}

/* ---------- Product pages ---------- */

.breadcrumb {
    display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none;
    font-size: 0.85rem; color: #9fb0c6;
}
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a { color: #c9d4e3; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.hero__badge--static { pointer-events: none; }

.audiences { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 12%); }
.audiences__label { margin-bottom: 12px; font-size: 0.8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9fb0c6; }
.chips--sm li { padding: 7px 13px; font-size: 0.85rem; }

.showcase { position: relative; aspect-ratio: 16 / 10.4; display: flex; align-items: center; justify-content: center; }
/* Every hero visual shares one 16:10 frame so they line up across products. */
.browser { aspect-ratio: 16 / 10; display: flex; flex-direction: column; }
.browser > img { flex: 1; min-height: 0; width: 100%; object-fit: cover; object-position: left top; }
.browser--logo > img { object-fit: contain; object-position: center; padding: 6% 0; background: #fff; }
.stage {
    position: relative; width: 100%; aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius); overflow: hidden;
    background: radial-gradient(60% 70% at 50% 45%, #d7f0fa, transparent 75%), linear-gradient(160deg, #f4fafd, #e6f1f8);
    border: 1px solid rgb(255 255 255 / 20%);
    box-shadow: 0 40px 100px rgb(0 0 0 / 45%), 0 0 0 8px rgb(255 255 255 / 4%);
}
.stage .phone { position: absolute; top: 6%; bottom: 6%; left: 50%; height: auto; transform: translateX(-50%); }
.stage .phone img { width: auto; height: 100%; }
.stage--mockup img { width: 90%; height: 90%; object-fit: contain; filter: drop-shadow(0 18px 30px rgb(11 27 51 / 22%)); }

.services--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .services--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services--4 { grid-template-columns: 1fr; } }

.steps--3 { grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 960px) { .steps--3 { grid-template-columns: 1fr; } }

.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-wrap .section-head { margin-bottom: 0; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    position: relative; padding: 22px 44px 22px 0; cursor: pointer; list-style: none;
    font-size: 1.05rem; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
    border-right: 2px solid var(--brand-600); border-bottom: 2px solid var(--brand-600);
    transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 44px 22px 0; color: var(--text-muted); }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

.others__title { margin-bottom: 28px; font-size: 1.5rem; }
.others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product--compact { padding: 24px; }
.product--compact .product__top { gap: 16px; margin-bottom: 16px; }
.product--compact .product__logo { width: 64px; height: 64px; padding: 6px; border-radius: 16px; }
.product--compact .product__logo--icon { padding: 0; }
.product--compact .product__logo--icon img { border-radius: 16px; }
.product--compact h3 { font-size: 1.25rem; }
.product--compact .product__go { width: 36px; height: 36px; }
.product--compact .product__for { min-height: 0; font-size: 0.95rem; }
@media (max-width: 860px) { .others { grid-template-columns: 1fr; } }

/* ---------- Content pages ---------- */

.hero--page { padding-block: clamp(48px, 6vw, 80px) clamp(48px, 6vw, 72px); }
.hero--page h1 { max-width: 760px; }
.hero--page .hero__lead { max-width: 680px; }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.member { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.member img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.member figcaption { padding: 20px 24px 24px; }
.member strong { display: block; font-size: 1.15rem; color: var(--ink); }
.member span { color: var(--text-muted); }
@media (max-width: 860px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team { grid-template-columns: 1fr; } }

.blog { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.blog__index { position: sticky; top: 100px; }
.blog__index-title { margin-bottom: 14px; font-size: 0.8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-600); }
.blog__index ol { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.blog__index a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: var(--radius-sm); text-decoration: none; }
.blog__index a:hover { background: var(--surface-2); }
.blog__index strong { color: var(--ink); line-height: 1.35; }
.blog__index span { font-size: 0.875rem; color: var(--text-muted); }
.blog__index time { font-size: 0.8rem; color: var(--text-muted); }
.blog__posts { display: grid; gap: 72px; }
.blog__posts article + article { padding-top: 72px; border-top: 1px solid var(--line); }
@media (max-width: 960px) {
    .blog { grid-template-columns: 1fr; }
    .blog__index { position: static; }
}

.prose { max-width: 720px; font-size: 1.05rem; }
.prose--narrow { margin-inline: auto; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.prose h2:first-child, .post__meta + h2 { margin-top: 0.3em; }
.prose h3 { margin-top: 1.6em; font-size: 1.2rem; }
.prose ul { padding-left: 1.25em; }
.prose li + li { margin-top: 0.45em; }
.post__meta { font-size: 0.875rem; font-weight: 600; color: var(--brand-600); }

/* Product page hero: link to the product's own website. */
.hero__site { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 0.95rem; font-weight: 600; color: #8fd8f2; text-decoration: none; }
.hero__site:hover { color: #fff; }

/* Product page hero: logo lockup above the headline. */
.hero__product { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; color: #fff; font-size: 1.15rem; font-weight: 700; }
.hero__product .product__logo { width: 64px; height: 64px; padding: 6px; border-radius: 16px; border: 0; box-shadow: 0 10px 30px rgb(0 0 0 / 35%); }
.hero__product .product__logo--icon { padding: 0; }
.hero__product .product__logo--icon img { border-radius: 16px; }
.hero__product-tag { display: block; margin-bottom: 2px; font-size: 0.75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8fd8f2; }

/* ---------- Product page: section nav ---------- */

html:has(.subnav) { scroll-padding-top: 148px; }
.subnav {
    position: sticky; top: 76px; z-index: 40;
    background: rgb(255 255 255 / 94%); backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.subnav__inner { display: flex; align-items: center; gap: 24px; height: 60px; }
.subnav__name { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); }
.subnav__name img { width: auto; height: 28px; border-radius: 7px; }
.subnav__links { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.subnav__links::-webkit-scrollbar { display: none; }
.subnav__links a {
    display: block; padding: 8px 12px; border-radius: 8px; white-space: nowrap;
    font-size: 0.925rem; font-weight: 500; color: var(--text-muted); text-decoration: none;
}
.subnav__links a:hover { color: var(--ink); background: var(--surface-2); }
.subnav__links a[aria-current="true"] { color: var(--brand-600); background: var(--brand-50); }
.subnav__cta { margin-left: auto; }
.subnav__site {
    display: inline-flex; align-items: center; gap: 6px; margin-left: auto;
    font-size: 0.9rem; font-weight: 600; color: var(--brand-600); text-decoration: none; white-space: nowrap;
}
.subnav__site svg, .hero__site svg { transform: rotate(-45deg); transition: transform .2s; }
.subnav__site:hover svg, .hero__site:hover svg { transform: rotate(-45deg) translateX(2px); }
.subnav__cta--after-site { margin-left: 0; }
@media (max-width: 760px) {
    .subnav__name, .subnav__cta, .subnav__site { display: none; }
    .subnav__inner { height: 52px; }
    html:has(.subnav) { scroll-padding-top: 140px; }
}

/* ---------- Product page: before / after ---------- */

.compare {
    max-width: 880px; margin-inline: auto;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.compare__row { display: grid; grid-template-columns: 1fr 1fr; }
.compare__row + .compare__row { border-top: 1px solid var(--line); }
.compare__row > span { position: relative; padding: 18px 24px 18px 56px; }
.compare__row--head > span {
    padding-block: 14px; padding-left: 24px;
    font-size: 0.8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.compare__row--head > span:first-child { color: var(--text-muted); }
.compare__row--head > span:last-child { color: var(--brand-600); background: var(--brand-50); }
.compare__before { color: var(--text-muted); }
.compare__after { color: var(--ink); font-weight: 600; background: color-mix(in srgb, var(--brand-50) 45%, #fff); }
.compare__before::before, .compare__after::before {
    content: ""; position: absolute; left: 22px; top: 50%; width: 20px; height: 20px; margin-top: -10px;
    border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 11px;
}
.compare__before::before {
    background-color: #f1f4f8;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a96a6' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
}
.compare__after::before {
    background-color: var(--brand-600);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
@media (max-width: 640px) {
    .compare__row--head { display: none; }
    .compare__row { grid-template-columns: 1fr; }
    .compare__before { padding-bottom: 6px !important; }
    .compare__after { padding-top: 6px !important; background: none; }
}

/* ---------- Product page: watch (short film) ---------- */

.watch { position: relative; overflow: hidden; }
.watch::before {
    content: ""; position: absolute; inset: auto -10% -40% 40%; height: 120%; pointer-events: none;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--accent, var(--brand)) 35%, transparent), transparent);
}
.watch__grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.watch__text p { margin-top: 16px; font-size: 1.1rem; color: #a9b8cc; max-width: 520px; }
.watch__text .ticks li { color: #dbe5f1; }
.watch__media {
    position: relative; justify-self: center; width: min(100%, 340px); margin: 0;
    aspect-ratio: 9 / 16; border-radius: 32px; overflow: hidden; background: #0b1b33;
    box-shadow: 0 0 0 3px rgb(255 255 255 / 8%), 0 0 0 4px rgb(255 255 255 / 14%), 0 40px 90px rgb(0 0 0 / 50%);
}
.watch__media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.watch__play {
    position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px; cursor: pointer;
    border: 0; border-radius: 999px; background: rgb(11 27 51 / 82%); color: #fff;
    font: inherit; font-weight: 600; white-space: nowrap;
    backdrop-filter: blur(8px); box-shadow: 0 10px 30px rgb(0 0 0 / 35%); transition: transform .2s, background .2s;
}
.watch__play:hover { background: var(--brand-600); transform: translateX(-50%) scale(1.04); }
.watch__play small { margin-left: 4px; font-size: 0.85em; font-weight: 500; opacity: .75; }
.watch__play-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); }
.watch__play-icon svg { width: 20px; height: 20px; margin-left: 3px; }
.watch__media.is-playing .watch__play { display: none; }
/* Landscape films: same side-by-side layout, with a wider column for the 16:9 player. */
.watch--wide .watch__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr); gap: clamp(36px, 5vw, 64px); }
.watch--wide .watch__media { width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; }
.watch--wide .watch__play { left: 20px; bottom: 20px; transform: none; }
.watch--wide .watch__play:hover { transform: scale(1.04); }
@media (max-width: 1000px) {
    .watch--wide .watch__grid { grid-template-columns: 1fr; }
    .watch--wide .watch__media { max-width: 720px; justify-self: start; }
}
@media (max-width: 860px) {
    .watch__grid { grid-template-columns: 1fr; }
    .watch__media { width: min(100%, 320px); }
    .watch--wide .watch__media { border-radius: 14px; }
}
@media (max-width: 560px) {
    .watch__play { bottom: 14px; padding: 6px 16px 6px 6px; font-size: 0.9rem; }
    .watch__play-icon { width: 36px; height: 36px; }
}

/* ---------- Product page: spotlights ---------- */

.spotlight {
    display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center;
    margin-bottom: clamp(56px, 8vw, 96px);
}
.spotlight--flip .spotlight__text { order: 2; }
.spotlight h3 { margin-top: 8px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.spotlight p { margin-top: 14px; font-size: 1.075rem; color: var(--text-muted); }
.spotlight .ticks { margin-bottom: 0; }
.spotlight__media {
    display: grid; place-items: center; padding: clamp(24px, 4vw, 48px);
    border-radius: 20px; background: linear-gradient(160deg, var(--brand-50), #f2f6fa);
    border: 1px solid color-mix(in srgb, var(--brand-600) 14%, #fff);
}
.spotlight__media img {
    width: auto; max-width: 100%; max-height: 440px;
    border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg);
}
/* Photos fill the panel edge to edge, cropped square to match the other panels. */
.spotlight__media--photo { padding: 0; overflow: hidden; aspect-ratio: 1; }
.spotlight__media--photo img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: 50% 40%; border-radius: 0; box-shadow: none; }
/* Images that already include a device frame: no white card behind them. */
.spotlight__media--frameless img { border-radius: 0; background: none; box-shadow: none; filter: drop-shadow(0 24px 40px rgb(11 27 51 / 22%)); }
/* Full-width desktop screenshots: give the image more of the row and a slimmer frame so the UI stays legible. */
.spotlight--wide { grid-template-columns: 2fr 3fr; }
.spotlight--wide.spotlight--flip { grid-template-columns: 3fr 2fr; }
.spotlight--wide .spotlight__media { padding: clamp(14px, 2vw, 24px); }
.spotlight--wide .spotlight__media img { width: 100%; height: auto; max-height: none; border-radius: 10px; }
@media (max-width: 860px) {
    .spotlight, .spotlight--wide, .spotlight--wide.spotlight--flip { grid-template-columns: 1fr; }
    .spotlight--flip .spotlight__text { order: 0; }
    .spotlight__media img { max-height: 360px; }
}

/* ---------- Product page: feature list ---------- */

.features__title { margin-bottom: 28px; font-size: 1.35rem; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 48px; }
.feature { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.feature .service__icon { margin: 0; }
.feature h4 { margin: 2px 0 0; font-size: 1.05rem; color: var(--ink); }
.feature p { margin-top: 4px; color: var(--text-muted); }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

/* ---------- Product page: demo band ---------- */

.cta-band {
    padding-block: clamp(48px, 6vw, 72px); color: #dbe5f1;
    background:
        radial-gradient(600px 300px at 90% 0%, rgb(6 163 218 / 35%), transparent 70%),
        var(--ink);
}
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.1rem); max-width: 620px; }
.cta-band p { margin-top: 10px; max-width: 560px; }
.cta-band .hero__cta { margin-top: 0; }

/* ---------- Training enrolment ---------- */


.steps--4 { grid-template-columns: repeat(4, 1fr); gap: 28px; }
.enrol__steps { margin-bottom: clamp(40px, 5vw, 64px); }
.enrol__steps li::before { background: #fff; border: 1px solid #cfe9f6; }
.enrol__steps h3 { font-size: 1.05rem; }
@media (max-width: 960px) { .steps--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps--4 { grid-template-columns: 1fr; } }

.enrol { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 3vw, 36px); align-items: start; }
.enrol__aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.enrol__help {
    display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start;
    padding: 18px 20px; border-radius: var(--radius-sm);
    background: #fff; border: 1px solid var(--line); font-size: 0.925rem; color: var(--text-muted);
}
.enrol__help .service__icon { width: 40px; height: 40px; margin: 0; }
.enrol__help .service__icon svg { width: 20px; height: 20px; }
.enrol__help strong { display: block; color: var(--ink); }
@media (max-width: 960px) {
    .enrol { grid-template-columns: 1fr; }
    .enrol__aside { position: static; }
    .summary { display: none; }
}

.apply { gap: 28px 16px; --accent: var(--brand-600); --accent-50: var(--brand-50); }
.apply__group { display: grid; gap: 12px; min-width: 0; margin: 0; padding: 0 0 28px; border: 0; border-bottom: 1px solid var(--line); }
.apply__details { grid-template-columns: 1fr 1fr; gap: 16px; border-bottom: 0; padding-bottom: 0; }
.apply__group legend {
    display: flex; align-items: center; gap: 12px; float: left; width: 100%; margin-bottom: 6px;
    font-size: 1.1rem; font-weight: 700; color: var(--ink);
}
.apply__group legend + * { clear: both; }
.apply__details legend { grid-column: 1 / -1; }
.apply__num {
    display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%;
    font-size: 0.85rem; color: #fff; background: var(--brand-600); transition: background-color .2s;
}
.apply__num::before { content: attr(data-n); }
.apply__group:not(:has(:invalid)) .apply__num { background: #1f9d55; }
.apply__group:not(:has(:invalid)) .apply__num::before { content: "✓"; }
.apply__group.is-invalid legend { color: #b42318; }
.apply__group.is-invalid legend::after { content: "Please complete this step"; margin-left: auto; font-size: 0.8rem; font-weight: 600; }
.apply__group.is-invalid .apply__num { background: #b42318; }
.apply__courses > .choice:last-child:nth-child(odd) { grid-column: 1 / -1; }
.apply .btn[type="submit"] svg { margin-left: 4px; }
.apply__trackgroup { display: grid; gap: 12px; }
.apply__track::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--accent); vertical-align: 1px; }
.apply__track { margin-top: 8px; font-size: 0.75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.apply__courses, .apply__options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.apply__options--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 600px) {
    .apply__courses, .apply__options, .apply__options--3, .apply__details { grid-template-columns: 1fr; }
}

/* Selectable cards: a visually hidden radio inside a label. */
.form .choice {
    position: relative; display: flex; align-items: center; gap: 12px; margin: 0;
    padding: 14px 16px; border-radius: var(--radius-sm); cursor: pointer;
    font-weight: 400; background: var(--surface-2); border: 1px solid var(--line);
    transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.form .choice input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; padding: 0; pointer-events: none; }
.choice:hover { border-color: color-mix(in srgb, var(--accent) 35%, #fff); background: #fff; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-50); box-shadow: 0 0 0 1px var(--accent), 0 8px 20px -10px var(--accent); }
.choice:has(input:focus-visible) { outline: 3px solid rgb(6 163 218 / 35%); outline-offset: 2px; }
.choice::after {
    content: ""; flex: none; width: 18px; height: 18px; margin-left: auto; border-radius: 50%;
    border: 2px solid #c3cfdc; background: #fff;
}
.choice:has(input:checked)::after { border: 5px solid var(--accent); }
.choice__icon {
    flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
    color: var(--accent); background: var(--accent-50); border: 1px solid color-mix(in srgb, var(--accent) 18%, #fff);
}
.choice__icon svg { width: 20px; height: 20px; }
.choice:has(input:checked) .choice__icon { color: #fff; background: var(--accent); border-color: var(--accent); }
.choice__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.choice__text strong { font-size: 0.95rem; line-height: 1.3; color: var(--ink); }
.choice__text span { font-size: 0.825rem; line-height: 1.4; color: var(--text-muted); }
.choice__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 6px; }
.choice__text .choice__meta span { display: inline-flex; align-items: center; gap: 5px; font-size: 0.8rem; font-weight: 600; color: var(--text); }
.choice__meta svg { width: 14px; height: 14px; color: var(--text-muted); }
.choice__text .choice__fee { color: var(--accent); }
.form__optional { margin-left: 6px; font-size: 0.8rem; font-weight: 500; color: var(--text-muted); }

.apply__sent {
    display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--radius-sm);
    color: var(--text); background: #e8f8ef; border: 1px solid #b6e6c9;
}
.apply__sent[hidden] { display: none; }
.apply__sent .service__icon { flex: none; margin: 0; width: 40px; height: 40px; color: #fff; background: #1f9d55; }
.apply__sent strong { display: block; color: var(--ink); }

/* Training hero visual: code editor, review card and sample certificate. */
.hero--academy { padding-block: clamp(64px, 8vw, 112px); }
@media (min-width: 1081px) { .hero--academy .hero__grid { grid-template-columns: 1.1fr 1fr; } }
.hero--academy h1 { font-size: clamp(2.25rem, 4.2vw, 3.25rem); }
.hero--academy::after {
    content: ""; position: absolute; z-index: -1; right: 4%; top: 12%; width: 520px; height: 520px; border-radius: 50%;
    background: radial-gradient(circle, rgb(6 163 218 / 22%), transparent 65%); pointer-events: none;
}
.hero__eyebrow {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px;
    font-size: 0.8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8fd8f2;
}
.hero__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 36px; font-size: 0.9rem; color: #8ea0b8; }
.hero__facts span { width: 4px; height: 4px; border-radius: 50%; background: rgb(255 255 255 / 25%); }
@media (max-width: 560px) { .hero__facts { gap: 6px 18px; } .hero__facts span { display: none; } }
.live-dot { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #34d399; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #34d399; animation: live-pulse 2s ease-out infinite; }
@keyframes live-pulse { to { transform: scale(3); opacity: 0; } }
.academy-visual { padding: 0 0 100px; }
.editor {
    border-radius: 16px; overflow: hidden;
    background: linear-gradient(180deg, #102340, #0c1b33);
    border: 1px solid rgb(255 255 255 / 12%);
    box-shadow: 0 40px 100px rgb(0 0 0 / 45%), 0 0 0 8px rgb(255 255 255 / 4%);
}
.editor__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgb(255 255 255 / 8%); background: rgb(255 255 255 / 3%); }
.editor__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.editor__bar i:nth-child(2) { background: #febc2e; }
.editor__bar i:nth-child(3) { background: #28c840; }
.editor__bar span { margin-left: 10px; font: 500 0.8rem/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #8ea0b8; }
.editor__code {
    margin: 0; padding: 22px 26px 30px; overflow: hidden;
    font: 500 0.875rem/1.75 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #dbe5f1;
}
.t-kw { color: #c792ea; }
.t-fn { color: #5ad1f5; }
.t-str { color: #a5e075; }
.t-cm { color: #6b7f99; font-style: italic; }
.editor__caret { display: inline-block; width: 8px; height: 1.15em; margin-left: 2px; vertical-align: -3px; background: #5ad1f5; animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

.cert {
    position: absolute; right: -20px; bottom: 0; z-index: 2; width: 270px;
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 20px 22px 16px; text-align: center; border-radius: 12px;
    background: #fff; transform: rotate(3deg);
    box-shadow: inset 0 0 0 6px #fff, inset 0 0 0 7px #cfe9f6, 0 30px 60px rgb(0 0 0 / 40%);
}
.cert__logo { width: auto; height: 18px; margin-bottom: 8px; }
.cert__kicker { font-size: 0.65rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-600); }
.cert__name { font: italic 600 1.4rem/1.3 Georgia, "Times New Roman", serif; color: var(--ink); }
.cert__course { width: 100%; margin-top: 2px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--text-muted); }
.cert__foot { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 0.72rem; font-weight: 700; color: var(--ink); }
.cert__foot svg { color: #c9962c; }
@media (max-width: 1080px) { .academy-visual { max-width: 560px; margin-inline: auto; width: 100%; } }
@media (max-width: 560px) {
    .academy-visual { padding: 0 0 96px; }
    .editor__code { padding: 18px; font-size: 0.75rem; }
    .cert { width: 220px; right: 4px; }
}
@media (prefers-reduced-motion: reduce) { .editor__caret, .live-dot::after { animation: none; } }

/* Why Cynaut Academy: photo plus four tiles. */
.bento { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; }
.bento__photo { position: relative; grid-row: span 2; min-height: 460px; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.bento__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.bento__photo figcaption {
    position: absolute; inset: auto 0 0; display: grid; gap: 6px; padding: 80px 28px 28px;
    background: linear-gradient(180deg, transparent, rgb(11 27 51 / 92%) 55%);
}
.bento__photo strong { font-size: 1.3rem; line-height: 1.3; color: #fff; }
.bento__photo span { color: #c9d4e3; }
.bento__tile { padding: 28px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); }
.bento__tile h3 { font-size: 1.15rem; }
.bento__tile p { margin-top: 8px; color: var(--text-muted); }
.bento__tile--accent {
    border-color: transparent; color: #cfe3f3;
    background: radial-gradient(320px 200px at 100% 0%, rgb(90 209 245 / 35%), transparent 70%), linear-gradient(135deg, var(--brand-600), #0b3f70);
}
.bento__tile--accent h3 { color: #fff; }
.bento__tile--accent p { color: #d6e8f5; }
.bento__tile--accent .service__icon { color: #fff; background: rgb(255 255 255 / 16%); }
@media (max-width: 960px) {
    .bento { grid-template-columns: 1fr 1fr; }
    .bento__photo { grid-column: span 2; grid-row: auto; min-height: 340px; }
}
@media (max-width: 600px) {
    .bento { grid-template-columns: 1fr; }
    .bento__photo { grid-column: auto; }
}

/* Enrolment: live summary of the chosen options. */
.summary { padding: 22px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-xs); transition: border-color .2s, box-shadow .2s; }
.summary.is-set { border-color: #a9d8ee; box-shadow: 0 0 0 3px rgb(6 163 218 / 10%); }
.summary__label { font-size: 0.72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-600); }
.summary dl { display: grid; gap: 10px; margin: 12px 0 0; }
.summary dl div { display: flex; justify-content: space-between; gap: 16px; font-size: 0.9rem; }
.summary dt { color: var(--text-muted); }
.summary dd { margin: 0; text-align: right; font-weight: 600; color: var(--ink); }
.summary__fee {
    display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
    margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line);
    font-size: 0.9rem; color: var(--text-muted);
}
.summary__fee strong { font-size: 1.4rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.summary .btn { width: 100%; margin-top: 18px; }
.summary__note { display: flex; gap: 8px; align-items: center; margin-top: 12px; font-size: 0.8rem; color: var(--text-muted); }
.summary__note svg { flex: none; color: #1f9d55; }

/* ---------- 404 page ---------- */

.hero--404 { min-height: calc(100vh - 77px - 220px); display: flex; align-items: center; }
.notfound { max-width: 880px; }
.notfound__links { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 48px 0 0; padding: 32px 0 0; list-style: none; border-top: 1px solid rgb(255 255 255 / 12%); }
.notfound__links a {
    display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px; border-radius: 14px;
    color: #fff; font-weight: 700; text-decoration: none;
    background: rgb(255 255 255 / 5%); border: 1px solid rgb(255 255 255 / 12%); transition: background-color .2s, border-color .2s;
}
.notfound__links a:hover { color: #fff; background: rgb(255 255 255 / 10%); border-color: rgb(255 255 255 / 25%); }
.notfound__links img, .notfound__icon { flex: none; width: 40px; height: 40px; padding: 4px; border-radius: 10px; background: #fff; object-fit: contain; }
.notfound__icon { display: grid; place-items: center; color: var(--brand-600); }
.notfound__links small { display: block; font-size: 0.68rem; letter-spacing: .1em; text-transform: uppercase; color: #8fd8f2; }
@media (max-width: 960px) { .notfound__links { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Scroll reveal (added by site.js only to content below the fold) ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Hero numbers: equal-width digits. */
.hero__proof strong, .stats strong { font-variant-numeric: tabular-nums; }

/* ---------- Floating WhatsApp button ---------- */

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.whatsapp {
    position: fixed; z-index: 45;
    right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
    display: flex; align-items: center; gap: 0;
    height: 58px; padding: 0 15px; border-radius: 999px;
    color: #fff; background: #25d366; text-decoration: none;
    box-shadow: 0 10px 28px rgb(7 94 84 / 35%), 0 2px 6px rgb(0 0 0 / 12%);
    transition: transform .25s ease, box-shadow .25s ease, gap .3s ease, padding .3s ease;
}
.whatsapp:hover, .whatsapp:focus-visible { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 34px rgb(7 94 84 / 42%); }
.whatsapp__icon { flex: none; }
.whatsapp__label {
    max-width: 0; overflow: hidden; white-space: nowrap;
    font-weight: 700; font-size: 0.95rem;
    transition: max-width .3s ease;
}
@media (hover: hover) and (min-width: 761px) {
    .whatsapp:hover, .whatsapp:focus-visible { gap: 10px; padding-right: 20px; }
    .whatsapp:hover .whatsapp__label, .whatsapp:focus-visible .whatsapp__label { max-width: 140px; }
}
@media (max-width: 760px) {
    .whatsapp { height: 54px; padding: 0 13px; right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .whatsapp, .whatsapp__label { transition: none; }
}
@media print { .whatsapp { display: none; } }
