/* ==========================================================================================================
   AiroHR website theme (round 22: design A, "Product in motion", for the whole website)
   ----------------------------------------------------------------------------------------------------------
   One stylesheet for every website page, linked last in each page's <head> by lib/site/render.ts
   (chrome.THEME_STYLESHEET), after 1.0's style.css and the page's own styles. Its script is
   /assets/js/airohr_theme.js (lib/site/theme/browser.ts), on every page from the footer; it does nothing on a page
   without the pieces below. Server-side builders for the bigger pieces: lib/site/theme/parts.ts.
   It replaces round 21's airohr-craft.css (its site-wide reduced-motion rule and its tabs / count-up live on here).

   r22/teal: the brand colour is E, Peacock Teal & Marigold (the founder, 15 Nov 2026): every brand colour is a --pal-*
   token (section B, scripts/palettes.mts). 1.0's Poppins and the logo stay. Design A adds the night, glass, glow and
   motion. Every theme class starts with th-; the site chrome keeps 1.0's own class names (airo-*, footer-*, side-menu).

   A. SITE CHROME (every page) ........ announcement bar .airo-topbar; header .gameon-navbar (transparent over the page's
                                        own hero, dark glass once scrolled); Products mega menu .airo-mega (dark glass);
                                        phone menu .side-menu; WhatsApp .airo-wa; back to top .airo-to-top; store
                                        buttons .store-badge; footer .airo-footer (night peacock, glass trust row; r22/dark:
                                        the brand column beside six link groups in a balanced grid, the alerts card, the
                                        legal links in a bottom bar that leaves room for the floating buttons)
   B. TOKENS AND SURFACES
      Tokens ......................... :root --th-* (light values); .th-dark (night values: the same names). A component
                                        reads the tokens, so it fits a light or a dark section without a variant.
      Pages .......................... body.th-dark (a dark page, the home page); .th-light (light tokens inside a dark one)
      Sections ....................... .th-section [--tight | --flush | --dark | --night | --light | --soft | --glow |
                                        --mesh]; a hairline between two sections; .th-orb [--1 | --2 | --3] (glowing
                                        orbs) and .th-gridlines (masked grid) as decoration; .th-center; .th-caption
   C. TYPE AND CONTROLS
      Section header ................. .th-head [--left] > .th-eyebrow (> i), .th-title (> .th-accent), .th-sub
      Text ........................... .th-h3, .th-p, .th-kicker
      Buttons, links, chips .......... .th-btn [--primary | --ghost | --light | --lg | --block] (a or button);
                                        .th-cta-row [--center]; a.th-link; .th-chip; .th-pill (> .th-pill__dot)
      Icon tile ...................... .th-icon [--violet (the brand's peacock) | --pink (rose) | --green | --blue |
                                        --orange | --teal | --amber | --solid | --sm] > i
      Check list ..................... ul.th-checks [--two] > li
   D. CARDS
      Glass card ..................... .th-glass
      Bento .......................... .th-bento > .th-bento__item [--lead | --half | --third | --full] (> .th-icon,
                                        .th-bento__title [--lg], .th-bento__text); .th-bento__lead (text + picture)
      Spotlight ...................... [data-th-spot] on any card: a light follows the pointer, the card lifts
      Link cards ..................... .th-cards [--3 | --4 | --5] > a.th-card [--feature] > .th-tag, .th-icon,
                                        .th-card__title, .th-card__text, .th-card__more
      Comparison teaser .............. .th-compare > div (> .th-compare__title, .th-compare__text) + .th-compare__links
   E. PRODUCT PICTURES
      Device frames .................. figure.th-laptop > .th-laptop__screen > img, + .th-laptop__base;
                                        figure.th-phone > .th-phone__screen > img; figure.th-browser > .th-browser__bar
                                        (3 <span> + .th-browser__url) + img [--flat]; figure.th-shotcard [--tilt]
                                        (a crop of a real screen, with figcaption); figure.th-card-shot (a white card)
      Groups ......................... .th-phones [--two | --fan] > .th-phone; .th-split [--even] > .th-split__text +
                                        .th-split__media
      Hero product scene ............. .th-hero > .th-hero__bg + .container.th-hero__grid > .th-hero__top,
                                        .th-hero__stage[data-th-tilt] > .th-scene (> .th-laptop, .th-scene__phone,
                                        .th-scene__card, .th-mini, .th-notes), .th-hero__bottom; .th-hero--center (a
                                        page's own hero: centred words, no scene); .th-h1 (> .th-h1__accent), .th-lead
      Mini payroll run ............... .th-mini[data-th-run="loop"] (steps, numbers, bar)
      Notification stack ............. ul.th-notes > li.th-note (the front one cycles)
   F. STORY PIECES
      Stats strip .................... ul.th-stats > li.th-stat > .th-stat__value[data-th-count] + .th-stat__label
      Statutory badges ............... ul.th-badges > li.th-badge [--teal | --blue | --green | --amber | --rose |
                                        --lime] (> a) > .th-badge__mark + .th-badge__text; ul.th-outputs > li
      Payroll-run console ............ .th-console[data-th-run="once"] (steps, totals, payslips flying out), a
                                        [data-th-replay] button runs it again
      Tabs ........................... .th-tabs[data-th-tabs] > .th-tabs__list[role=tablist] > button.th-tabs__tab
                                        [role=tab] + .th-tabs__panel[role=tabpanel][hidden]
      Steps .......................... ol.th-steps > li.th-stepcard > .th-stepcard__num, .th-icon, .th-stepcard__title,
                                        .th-stepcard__text
      Video card ..................... .th-tour__card > .th-tour__text + .th-player (poster button, swapped for <video>)
      Orbit .......................... .th-orbit > .th-orbit__ring [--1 | --2], .th-orbit__hub, .th-sat [--1 .. --4]
      Feature list, quote ............ .th-features > .th-feature; blockquote.th-quote
      Languages, stores .............. ul.th-langs > li[lang]; .th-stores > a.th-store (> .th-store__small, __big)
      Data safety .................... .th-safety > .th-safety__india (> .th-radar), .th-bento__item, .th-safety__lock
      Plans .......................... .th-plans > .th-plan [--featured] (> .th-plan__badge, __name, __desc, .th-price
                                        (> __cur, __amt, __unit, __custom), .th-plan__fine, .th-plan__list > li[.is-no])
      FAQ ............................ .th-faq-grid > .th-head + .th-faq > details.th-faq__item > summary.th-faq__q +
                                        .th-faq__a; .th-faq__more
      CTA band ....................... .th-cta > .th-cta__bg + .container > .th-cta__inner > .th-eyebrow,
                                        .th-cta__title, .th-cta__sub, .th-cta-row, ul.th-cta__notes
      Cost calculator ................ .th-calc[data-th-calc][data-plans] (team size slider, plan, today's cost) +
                                        .th-estimate (monthly, yearly, saving, per day); built by parts.ts calculator()
      Compliance calendar ............ .th-cal-grid > .th-cal-text + .th-cal[data-th-cal] (month grid of .cal-cell,
                                        list of .cal-item, .cal-dot--<kind>); built by parts.ts calendar()
   G. RESPONSIVE (1199, 991, 767, 480 px) and REDUCED MOTION (site-wide: AOS reveals shown at once, animations and
      transitions end at once; the theme's motion stops)

   Links: style.css gives every `a:link:not(.btn)` 1rem / 400 / purple, so link components are written as
   `a.th-btn:any-link`, `a.th-card:any-link` and so on (the same weight; this file loads later, so it wins).
   ========================================================================================================== */

/* ==========================================================================================================
   A. SITE CHROME
   ========================================================================================================== */

/* ---------- announcement bar (in the page flow above the header: the fixed navbar starts 40px down) ---------- */
.airo-topbar {
    position: relative;
    z-index: 4; /* under the header (z-index 5), so the fixed bar covers it on scroll */
    height: 40px;
    overflow: hidden;
    background:
        radial-gradient(40% 180% at 50% 0%, rgb(var(--pal-p500) / 0.32) 0%, transparent 70%),
        linear-gradient(90deg, rgb(var(--pal-n-0b0722)) 0%, rgb(var(--pal-n-1a1046)) 50%, rgb(var(--pal-n-0b0722)) 100%);
    color: rgb(var(--pal-n-e4defc));
    font-size: 0.85rem;
    line-height: 1.2;
}
.airo-topbar::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgb(var(--pal-p400) / 0.55) 30%, rgb(var(--pal-glow2s) / 0.45) 70%, transparent 100%);
    pointer-events: none;
}
.airo-topbar-msg {
    position: absolute;
    top: 0; bottom: 0; left: 44px; right: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
}
.airo-topbar-msg.is-active { opacity: 1; visibility: visible; transform: none; }
.airo-topbar-msg > i {
    flex: none;
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px;
    border-radius: 7px;
    background: rgb(var(--pal-p500) / 0.22);
    color: rgb(var(--pal-p200));
    font-size: 0.72rem;
    box-shadow: 0 0 12px -2px rgb(var(--pal-p400) / 0.7);
}
.airo-topbar-text { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.airo-topbar-short { display: none; }
/* Three classes deep: style.css gives every `a:link:not(.btn)` 1rem / 400. */
.airo-topbar .airo-topbar-msg a.airo-topbar-link {
    flex: none;
    color: #fff !important;
    font-size: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgb(var(--pal-p300) / 0.7);
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}
.airo-topbar .airo-topbar-msg a.airo-topbar-link:hover { color: rgb(var(--pal-p300)) !important; }
.airo-topbar-close {
    position: absolute;
    right: 8px; top: 50%;
    transform: translateY(-50%);
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: rgb(var(--pal-p300));
    cursor: pointer;
}
.airo-topbar-close:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.airo-topbar-close:focus-visible,
.airo-topbar-link:focus-visible { outline: 2px solid rgb(var(--pal-p300)); outline-offset: 2px; }
.airo-topbar + header .gameon-navbar { top: 40px; }
.airo-topbar + header .gameon-navbar.navbar-sticky { top: 0; }
html.airo-topbar-off .airo-topbar { display: none; }
html.airo-topbar-off .airo-topbar + header .gameon-navbar { top: 0; }

/* ---------- header: transparent over the page's hero, dark glass once the page scrolls ---------- */
.hamburger { display: none; margin-left: 15px; color: #fff; font-size: 28px; cursor: pointer; }
/* `position: fixed` with !important: several pages (privacy, terms, pricing, the app pages, airo_lens) ship
   `header, .navbar { position:absolute !important }`, which would stop the bar from sticking. */
header .gameon-navbar {
    position: fixed !important;
    padding: 12px 24px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), top 0.3s ease, padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
    will-change: transform;
}
.nav-logo { display: block; width: 152px; height: auto; transition: width 0.3s ease; }
.nav-link-airo { position: relative; font-weight: 500; transition: color 0.25s ease; }
.nav-link-airo::after {
    content: "";
    position: absolute;
    left: 50%; bottom: -4px;
    width: 0; height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgb(var(--pal-p300)), rgb(var(--pal-t400)));
    box-shadow: 0 0 10px rgb(var(--pal-p300) / 0.8);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}
.nav-link-airo:hover::after,
.nav-link-airo.active::after { width: 70%; }
header .gameon-navbar .navbar-nav > .nav-item > a.nav-link:not(.btn):hover,
header .gameon-navbar .navbar-nav > .nav-item > a.nav-link:not(.btn):focus-visible { color: rgb(var(--pal-p200)) !important; }
/* Scrolled: night-peacock glass. The class stays .navbar-sticky (style.css and main.js know it). !important beats the
   pages' own `background: transparent !important` and pricing's white `.navbar .nav-link`. */
header .gameon-navbar.navbar-sticky {
    padding-top: 8px;
    padding-bottom: 8px;
    background-color: rgb(var(--pal-n-09061c) / 0.88) !important;
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid rgb(var(--pal-p400) / 0.18);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    animation: none; /* no fadeInDown, so rapid toggles do not jitter */
}
header .gameon-navbar.navbar-sticky::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgb(var(--pal-p400) / 0.6) 30%, rgb(var(--pal-glow2s) / 0.45) 70%, transparent 100%);
    pointer-events: none;
}
header .gameon-navbar.navbar-sticky .nav-logo { width: 132px; }
header .gameon-navbar.navbar-sticky .navbar-brand img { filter: brightness(0) invert(1); }
header .gameon-navbar.navbar-sticky .navbar-nav .nav-item a:not(.btn),
header .gameon-navbar.navbar-sticky .navbar-brand { color: rgb(var(--pal-n-ece9ff)) !important; }
header .gameon-navbar.navbar-sticky .navbar-nav > .nav-item > a.nav-link:not(.btn):hover { color: rgb(var(--pal-p300)) !important; }
header .gameon-navbar.nav-hidden { transform: translateY(-115%); }
/* Book Demo */
.btn-airo-primary {
    display: inline-block;
    padding: 9px 22px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(120deg, rgb(var(--pal-p600)) 0%, rgb(var(--pal-s500)) 55%, rgb(var(--pal-t500)) 100%);
    color: #fff !important;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 24px -6px rgb(var(--pal-glow1) / 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-airo-primary:hover { color: #fff !important; transform: translateY(-2px); box-shadow: 0 14px 32px -6px rgb(var(--pal-glow1) / 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn-airo-primary:focus { color: #fff !important; box-shadow: 0 0 0 4px rgb(var(--pal-p300) / 0.45); }

/* ---------- Products mega menu: dark glass ---------- */
header .navbar-expand .navbar-nav .dropdown .dropdown-menu.airo-mega {
    left: 50%;
    width: 900px;
    max-width: calc(100vw - 32px);
    padding: 20px;
    border: 1px solid rgb(var(--pal-p400) / 0.26);
    border-radius: 22px;
    /* !important: pricing's page styles set every .dropdown-menu white with !important */
    background:
        radial-gradient(55% 70% at 100% 0%, rgb(var(--pal-p500) / 0.26) 0%, transparent 70%),
        radial-gradient(40% 60% at 0% 100%, rgb(var(--pal-glow2) / 0.12) 0%, transparent 70%),
        rgb(var(--pal-n-0d0924) / 0.97) !important;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.75), 0 0 60px -20px rgb(var(--pal-p500) / 0.6) !important;
    transform: translate(-50%, 16px);
}
/* The header is fixed: on a short laptop screen the panel scrolls itself, or its last rows cannot be reached. */
@media (max-height: 760px) {
    header .navbar-expand .navbar-nav .dropdown .dropdown-menu.airo-mega { max-height: calc(100vh - 106px); overflow-y: auto; }
}
header .navbar-expand .navbar-nav .dropdown:hover > .dropdown-menu.airo-mega,
header .navbar-expand .navbar-nav .dropdown:focus-within > .dropdown-menu.airo-mega {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
header .navbar-expand .navbar-nav .dropdown .dropdown-menu.airo-mega::before {
    left: calc(50% - 10px);
    border-bottom-color: rgb(var(--pal-n-0d0924) / 0.97);
}
.airo-mega-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2px 14px; }
.airo-mega-head {
    padding: 4px 10px 8px;
    color: rgb(var(--pal-n-8f89b8));
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}
.airo-mega-head::before {
    content: "";
    display: inline-block;
    width: 6px; height: 6px;
    margin-right: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgb(var(--pal-p400)), rgb(var(--pal-t400)));
    box-shadow: 0 0 8px rgb(var(--pal-p300) / 0.8);
    vertical-align: 2px;
}
/* Beats style.css `header .navbar-expand .navbar-nav .nav-item a:not(.btn)` (white, 1rem side padding). */
header .gameon-navbar .navbar-nav .nav-item .airo-mega a.airo-mega-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px;
    border-radius: 14px;
    color: rgb(var(--pal-n-f4f2ff)) !important;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
header .gameon-navbar .navbar-nav .nav-item .airo-mega a.airo-mega-item:hover,
header .gameon-navbar .navbar-nav .nav-item .airo-mega a.airo-mega-item:focus-visible { background: rgb(var(--pal-p500) / 0.14); transform: translateX(2px); }
header .gameon-navbar .navbar-nav .nav-item .airo-mega a.airo-mega-item:focus-visible { outline: 2px solid rgb(var(--pal-p300)); outline-offset: 0; }
.airo-mega-ico {
    flex: none;
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    border: 1px solid rgb(var(--pal-p400) / 0.24);
    border-radius: 11px;
    background: rgb(var(--pal-p500) / 0.14);
    color: rgb(var(--pal-p300));
    font-size: 0.95rem;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.airo-mega-item:hover .airo-mega-ico,
.airo-mega-item:focus-visible .airo-mega-ico {
    border-color: transparent;
    background: linear-gradient(135deg, rgb(var(--pal-p600)) 0%, rgb(var(--pal-s500)) 60%, rgb(var(--pal-t500)) 100%);
    color: #fff;
    box-shadow: 0 8px 20px -6px rgb(var(--pal-glow1) / 0.8);
}
.airo-mega-title { display: block; color: rgb(var(--pal-n-f4f2ff)); font-size: 0.9rem; font-weight: 600; line-height: 1.3; text-transform: none; }
.airo-mega-item:hover .airo-mega-title { color: #fff; }
.airo-mega-desc { display: block; margin-top: 2px; color: rgb(var(--pal-n-a9a3cf)); font-size: 0.78rem; font-weight: 400; line-height: 1.4; text-transform: none; }
.airo-mega-new {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    border-radius: 999px;
    background: linear-gradient(120deg, rgb(var(--pal-badge1)), rgb(var(--pal-badge2)));
    color: rgb(var(--pal-n-2a0a3d));
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    vertical-align: 2px;
}
.airo-mega-mods { margin-top: 8px; padding-top: 10px; border-top: 1px solid rgb(var(--pal-p400) / 0.16); }
.airo-mega-mods-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px 14px; }
.airo-mega-mods-grid-5 { grid-template-columns: repeat(5, auto) !important; }
header .gameon-navbar .navbar-nav .nav-item .airo-mega a.airo-mega-mod {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 10px;
    border-radius: 10px;
    color: rgb(var(--pal-n-e9e5ff)) !important;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    text-transform: none;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}
header .gameon-navbar .navbar-nav .nav-item .airo-mega a.airo-mega-mod:hover,
header .gameon-navbar .navbar-nav .nav-item .airo-mega a.airo-mega-mod:focus-visible { background: rgb(var(--pal-p500) / 0.16); color: #fff !important; }
.airo-mega-mod i { width: 16px; color: rgb(var(--pal-p300)); font-size: 0.85rem; text-align: center; }
.airo-mega-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgb(var(--pal-p400) / 0.16);
}
header .gameon-navbar .navbar-nav .nav-item .airo-mega a.airo-mega-cta {
    padding: 8px 14px;
    border: 1px solid rgb(var(--pal-p300) / 0.35);
    border-radius: 999px;
    color: rgb(var(--pal-p200)) !important;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}
header .gameon-navbar .navbar-nav .nav-item .airo-mega a.airo-mega-cta:hover { background: rgb(var(--pal-p500) / 0.2); color: #fff !important; }
/* Some pages force `.navbar .nav-link { color:#fff !important }`; the old one-level dropdown items are .nav-link. */
.navbar .dropdown .dropdown-menu .nav-link { color: rgb(var(--pal-n-f4f2ff)) !important; }
.navbar .dropdown .dropdown-menu .nav-link:hover,
.navbar .dropdown .dropdown-menu .nav-link:focus { color: rgb(var(--pal-p300)) !important; }
.navbar .dropdown .dropdown-menu .nav-divider { height: 1px; margin: 6px 0.625rem; padding: 0; background: rgb(var(--pal-p400) / 0.16); }

/* ---------- phone menu (slides in from the right): night peacock ---------- */
.side-menu-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 9998;
    background: rgb(var(--pal-n-040210) / 0.6);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.side-menu-overlay.active { opacity: 1; visibility: visible; }
.side-menu {
    position: fixed;
    top: 0; right: -300px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    width: 280px; height: 100vh;
    padding: 20px 0;
    overflow-y: auto;
    border-left: 1px solid rgb(var(--pal-p400) / 0.22);
    background:
        radial-gradient(90% 40% at 100% 0%, rgb(var(--pal-p500) / 0.28) 0%, transparent 70%),
        radial-gradient(80% 30% at 0% 100%, rgb(var(--pal-glow2) / 0.14) 0%, transparent 70%),
        rgb(var(--pal-n-0c0820));
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
    color: rgb(var(--pal-n-ece9ff));
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}
.side-menu.active { right: 0; }
.side-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 20px 15px;
    border-bottom: 1px solid rgb(var(--pal-p400) / 0.18);
}
/* The logo's inline style turns it black (for 1.0's white menu): white on the night panel. */
.side-menu-header img { filter: brightness(0) invert(1) !important; }
.side-menu-close {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border: 1px solid rgb(var(--pal-p400) / 0.3);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: rgb(var(--pal-n-ece9ff));
    font-size: 24px;
    cursor: pointer;
}
.side-menu ul { margin: 0; padding: 0; list-style: none; }
.side-menu .nav-item { display: block; border-bottom: 1px solid rgb(var(--pal-p400) / 0.08); }
.side-menu .nav-link {
    display: block;
    padding: 12px 20px;
    border-left: 4px solid transparent;
    color: rgb(var(--pal-n-ece9ff));
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}
.side-menu .nav-link:any-link { color: rgb(var(--pal-n-ece9ff)); font-size: 16px; font-weight: 500; }
.side-menu .nav-link:hover { background-color: rgb(var(--pal-p500) / 0.14); color: #fff; }
.side-menu .nav-link.active {
    border-left-color: rgb(var(--pal-p400));
    background: linear-gradient(90deg, rgb(var(--pal-p500) / 0.28), transparent);
    color: #fff;
    font-weight: 600;
}
.side-submenu { display: none; background: rgba(0, 0, 0, 0.18); }
.side-submenu.show { display: block; }
.side-submenu .nav-link,
.side-submenu .nav-link:any-link { padding-left: 32px; border-left: none; color: rgb(var(--pal-n-b9b3dd)); font-size: 14px; }
.side-submenu .nav-link.active { background: transparent; color: #fff; font-weight: 700; border-left: none; }
.side-submenu .nav-link i { width: 18px; margin-right: 8px; color: rgb(var(--pal-p300)); text-align: center; }
.side-menu .btn-airo-primary { box-shadow: 0 10px 30px -8px rgb(var(--pal-glow1) / 0.8); }

/* ---------- back to top and WhatsApp (bottom right) ---------- */
.airo-to-top {
    position: fixed;
    right: 24px; bottom: 24px;
    z-index: 9990;
    display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: linear-gradient(140deg, rgb(var(--pal-p600)) 0%, rgb(var(--pal-s500)) 60%, rgb(var(--pal-t500)) 100%);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 12px 30px -6px rgb(var(--pal-glow1) / 0.7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, box-shadow 0.25s ease;
}
.airo-to-top.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.airo-to-top:hover { color: #fff; transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 36px -6px rgb(var(--pal-glow1) / 0.9); }
.airo-to-top:focus-visible { outline: 3px solid rgb(var(--pal-p300) / 0.7); outline-offset: 3px; }
/* WhatsApp keeps its own green (people know it), in A's glass ring with a soft halo. */
.airo-wa {
    position: fixed;
    right: 24px; bottom: 24px;
    z-index: 9990;
    display: flex; align-items: center; justify-content: center;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, #4ade80 0%, #25d366 45%, #128c7e 100%);
    color: #fff !important;
    text-decoration: none;
    box-shadow: 0 0 0 5px rgba(37, 211, 102, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.35) inset, 0 14px 32px -6px rgba(18, 140, 126, 0.65);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.airo-wa::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.55);
    animation: th-wa-ping 3.2s ease-out 2s infinite;
    pointer-events: none;
}
@keyframes th-wa-ping { 0% { transform: scale(1); opacity: 0.8; } 60%, 100% { transform: scale(1.6); opacity: 0; } }
/* The icon size on the <i>: style.css sets every link to 1rem. */
.airo-wa > i { font-size: 1.75rem; line-height: 1; }
.airo-wa:hover { transform: translateY(-3px); box-shadow: 0 0 0 7px rgba(37, 211, 102, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.4) inset, 0 18px 38px -6px rgba(18, 140, 126, 0.75); }
.airo-wa:focus-visible { outline: 3px solid rgba(37, 211, 102, 0.55); outline-offset: 4px; }
.airo-wa-label {
    position: absolute;
    right: calc(100% + 14px); top: 50%;
    padding: 8px 13px;
    border: 1px solid rgb(var(--pal-p400) / 0.3);
    border-radius: 10px;
    background: rgb(var(--pal-n-0d0924) / 0.94);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(6px, -50%);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.airo-wa:hover .airo-wa-label,
.airo-wa:focus-visible .airo-wa-label { opacity: 1; visibility: visible; transform: translate(0, -50%); }
/* Back to top sits above the WhatsApp button. */
.airo-wa ~ .airo-to-top { bottom: 92px; }

/* ---------- app store buttons (the footer and pages) ---------- */
.store-badges { display: flex; flex-wrap: wrap; gap: 10px; }
a.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 150px;
    padding: 7px 14px 7px 12px;
    border: 1px solid rgb(var(--pal-p300) / 0.28);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.35);
    color: #fff !important;
    line-height: 1.1;
    text-align: left;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
a.store-badge:hover { transform: translateY(-2px); border-color: rgb(var(--pal-p300) / 0.6); background: rgb(var(--pal-p500) / 0.2); }
a.store-badge:focus-visible { outline: 3px solid rgb(var(--pal-p300) / 0.7); outline-offset: 2px; }
.store-badge > i { flex: none; width: 24px; font-size: 1.45rem; text-align: center; }
.store-badge-small { display: block; color: rgb(var(--pal-n-c9c3ea)); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.3px; }
.store-badge-big { display: block; color: #fff; font-size: 1rem; font-weight: 600; }

/* ---------- footer: night peacock, glass trust row; r22/dark: a balanced grid with no empty area ----------
   The brand column (logo, line, app stores, contact) beside six link groups in three columns of two (two columns on a
   phone), a compact sign-up card for the free compliance alerts under them, the legal links in the bottom bar. The
   bottom bar keeps room on the right for the floating WhatsApp and back-to-top buttons and is taller than their stack,
   so at the end of the page they never cover a link. */
html, body { margin: 0 !important; padding: 0 !important; }
.airo-footer {
    position: relative;
    margin: 0 !important;
    padding: 64px 0 0;
    overflow: hidden;
    background:
        radial-gradient(55% 60% at 12% 0%, rgb(var(--pal-p600) / 0.34) 0%, transparent 70%),
        radial-gradient(45% 60% at 92% 100%, rgb(var(--pal-glow2) / 0.16) 0%, transparent 70%),
        linear-gradient(180deg, rgb(var(--pal-n-0d0828)) 0%, rgb(var(--pal-n-07051a)) 100%);
    color: rgb(var(--pal-n-e4defc));
}
.airo-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 2;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgb(var(--pal-p300) / 0.6) 30%, rgb(var(--pal-glow2s) / 0.5) 70%, transparent 100%);
}
.airo-footer-orb { position: absolute; z-index: 1; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.airo-footer-orb-1 { top: -140px; left: -120px; width: 380px; height: 380px; background: rgb(var(--pal-p500) / 0.35); }
.airo-footer-orb-2 { bottom: -100px; right: -80px; width: 300px; height: 300px; background: rgb(var(--pal-glow2) / 0.2); }
/* A's grid lines, fading out from the top */
.airo-footer-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: linear-gradient(rgb(var(--pal-p400) / 0.06) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--pal-p400) / 0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000 0%, transparent 80%);
    mask-image: radial-gradient(70% 60% at 50% 0%, #000 0%, transparent 80%);
    pointer-events: none;
}
.footer-trust { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 14px; margin-bottom: 52px; }
.footer-trust-statutory,
.airo-footer a.footer-trust-link,
.airo-footer a.footer-alerts {
    display: flex;
    border: 1px solid rgb(var(--pal-p400) / 0.22);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.footer-trust-statutory { flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 16px 20px; }
.footer-trust-label { color: #fff; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.4px; }
.footer-trust-label i { margin-right: 8px; color: rgb(var(--pal-p300)); }
.footer-trust-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.footer-trust-badges li {
    margin: 0;
    padding: 3px 11px;
    border: 1px solid rgb(var(--pal-p300) / 0.35);
    border-radius: 999px;
    background: rgb(var(--pal-p500) / 0.16);
    color: rgb(var(--pal-p100));
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.5;
}
.airo-footer a.footer-trust-link {
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    color: rgb(var(--pal-n-aaa5cf));
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.45;
    text-decoration: none;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.airo-footer a.footer-trust-link:hover,
.airo-footer a.footer-alerts:hover {
    border-color: rgb(var(--pal-p300) / 0.45);
    background: rgb(var(--pal-p500) / 0.14);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -20px rgb(var(--pal-p500) / 0.7);
}
.airo-footer a.footer-trust-link:focus-visible,
.airo-footer a.footer-alerts:focus-visible { outline: 3px solid rgb(var(--pal-p300) / 0.7); outline-offset: 2px; }
.footer-trust-link strong { display: block; color: #fff; font-size: 0.92rem; font-weight: 700; }
.footer-trust-ico,
.footer-alerts-ico {
    flex: none;
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border-radius: 12px;
    background: linear-gradient(140deg, rgb(var(--pal-p500)) 0%, rgb(var(--pal-p700)) 100%);
    color: #fff;
    box-shadow: 0 10px 24px -8px rgb(var(--pal-p500) / 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
/* the brand column and the link groups */
.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 330px) minmax(0, 1fr);
    gap: 40px 56px;
    align-items: start;
    padding-bottom: 52px;
}
.footer-brand { min-width: 0; }
.airo-footer a.footer-brand-logo { display: inline-block; margin: 0 0 16px; padding: 0; }
.footer-logo { display: block; width: auto; max-height: 52px; height: 52px; filter: brightness(0) invert(1); }
.footer-tagline { max-width: 380px; margin: 0 0 20px; color: rgb(var(--pal-n-aaa5cf)); font-size: 0.9rem; line-height: 1.65; }
.footer-store-badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 360px; margin-bottom: 0; }
.footer-store-badges a.store-badge { min-width: 0; }
.footer-contact { margin-top: 30px; }
.footer-heading { margin: 0 0 16px; color: #fff; font-size: 0.76rem; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
.footer-heading::before {
    content: "";
    display: inline-block;
    width: 6px; height: 6px;
    margin-right: 9px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgb(var(--pal-p400)), rgb(var(--pal-t400)));
    box-shadow: 0 0 8px rgb(var(--pal-p300) / 0.8);
    vertical-align: 2px;
}
.footer-company { margin-bottom: 14px; }
.footer-company-name { color: #fff; font-size: 0.95rem; font-weight: 700; }
.footer-company-brand { margin-top: 2px; color: rgb(var(--pal-n-8f89b8)); font-size: 0.78rem; font-weight: 500; }
.footer-contact-list { margin: 0; padding: 0; list-style: none; }
.footer-contact-list li { display: flex; align-items: flex-start; margin-bottom: 10px; color: rgb(var(--pal-n-c9c3ea)); font-size: 0.9rem; line-height: 1.5; }
.footer-contact-list li:last-child { margin-bottom: 0; }
.footer-contact-list i { flex-shrink: 0; width: 18px; margin-top: 3px; margin-right: 12px; color: rgb(var(--pal-p400)); }
.footer-contact-address span { color: rgb(var(--pal-n-8f89b8)); font-size: 0.84rem; }
.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas: "product payroll modules" "company resources industries" "alerts alerts alerts";
    gap: 34px 32px;
    min-width: 0;
}
.footer-group { min-width: 0; }
.footer-group--product { grid-area: product; }
.footer-group--payroll { grid-area: payroll; }
.footer-group--modules { grid-area: modules; }
.footer-group--resources { grid-area: resources; }
.footer-group--industries { grid-area: industries; }
.footer-group--company { grid-area: company; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin-bottom: 9px; line-height: 1.35; }
.footer-links li:last-child { margin-bottom: 0; }
/* The links in the footer's light colour (style.css's `a:link:not(.btn)` purple, 1rem, 400 would win otherwise). */
.airo-footer .footer-links a:any-link {
    display: inline-block;
    color: rgb(var(--pal-n-aaa5cf));
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}
.airo-footer .footer-contact-list a:any-link { color: rgb(var(--pal-n-c9c3ea)); font-size: 0.9rem; line-height: 1.5; text-decoration: none; transition: color 0.25s ease; }
.airo-footer .footer-links a:any-link:hover { color: #fff; transform: translateX(4px); }
.airo-footer .footer-contact-list a:any-link:hover,
.airo-footer .footer-legal a:any-link:hover { color: #fff; }
.airo-footer .footer-links a:focus-visible,
.airo-footer .footer-contact-list a:focus-visible,
.airo-footer .footer-legal a:focus-visible { outline: 2px solid rgb(var(--pal-p300)); outline-offset: 2px; border-radius: 4px; }
/* the compliance alerts sign-up card (a link to /compliance-alerts, where the sign-up form is) */
.airo-footer a.footer-alerts {
    grid-area: alerts;
    position: relative;
    align-items: center;
    gap: 16px;
    padding: 16px 16px 16px 18px;
    overflow: hidden;
    background:
        radial-gradient(60% 140% at 100% 0%, rgb(var(--pal-glow2) / 0.18), transparent 60%),
        radial-gradient(60% 140% at 0% 100%, rgb(var(--pal-p600) / 0.28), transparent 60%),
        rgba(255, 255, 255, 0.04);
    color: rgb(var(--pal-n-aaa5cf));
    font-size: 0.86rem;
    font-weight: 500;
    line-height: 1.45;
    text-decoration: none;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.footer-alerts-ico { background: linear-gradient(140deg, rgb(var(--pal-t400)) 0%, rgb(var(--pal-p600)) 100%); }
.footer-alerts-text { flex: 1; min-width: 0; }
.footer-alerts-text strong { display: block; color: #fff; font-size: 0.95rem; font-weight: 700; }
.footer-alerts-btn {
    flex: none;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(120deg, rgb(var(--pal-p600)) 0%, rgb(var(--pal-s500)) 55%, rgb(var(--pal-t500)) 100%);
    color: #fff;
    font-size: 0.86rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 10px 24px -8px rgb(var(--pal-glow1) / 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: gap 0.25s ease;
}
.airo-footer a.footer-alerts:hover .footer-alerts-btn { gap: 12px; }
/* the bottom bar: legal links, then the company line; room on the right for the floating buttons (96 px from the
   window's edge, whatever the container's own margin), and taller than their stack */
.footer-bottom-wrap {
    position: relative;
    z-index: 2;
    padding: 22px 0 26px;
    border-top: 1px solid rgb(var(--pal-p400) / 0.16);
    background: rgba(0, 0, 0, 0.3);
}
.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 118px;
    padding-right: max(0px, calc(112px - (100vw - 100%) / 2));
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; list-style: none; }
.footer-legal li { margin: 0; line-height: 1.5; }
.footer-copy { margin: 0; color: rgb(var(--pal-n-8f89b8)); font-size: 0.8rem; line-height: 1.7; }
.footer-copy strong { color: #fff; }
.airo-footer .footer-legal a:any-link { color: rgb(var(--pal-n-c9c3ea)); font-size: 0.84rem; font-weight: 500; line-height: 1.6; text-decoration: none; transition: color 0.25s ease; }

/* ==========================================================================================================
   B. TOKENS AND SURFACES
   ========================================================================================================== */
:root {
    /* --pal-* tokens (scripts/palettes.mts): the brand colour E, Peacock Teal & Marigold, as "R G B" */
    --pal-p100: 213 240 242; /* #d5f0f2 */
    --pal-p200: 169 224 229; /* #a9e0e5 */
    --pal-p300: 127 208 216; /* #7fd0d8 */
    --pal-p400: 63 182 194; /* #3fb6c2 */
    --pal-p500: 21 151 166; /* #1597a6 */
    --pal-p600: 10 108 123; /* #0a6c7b */
    --pal-p700: 8 90 103; /* #085a67 */
    --pal-p800: 7 73 84; /* #074954 */
    --pal-p900: 6 58 67; /* #063a43 */
    --pal-p950: 6 46 54; /* #062e36 */
    --pal-brand: 10 108 123; /* #0a6c7b */
    --pal-brand-hover: 8 90 103; /* #085a67 */
    --pal-s200: 204 251 241; /* #ccfbf1 */
    --pal-s300: 167 243 208; /* #a7f3d0 */
    --pal-s500: 11 116 134; /* #0b7486 */
    --pal-t200: 253 230 138; /* #fde68a */
    --pal-t300: 252 211 77; /* #fcd34d */
    --pal-t400: 242 165 22; /* #f2a516 */
    --pal-t500: 14 95 134; /* #0e5f86 */
    --pal-t600: 180 83 9; /* #b45309 */
    --pal-t700: 146 64 14; /* #92400e */
    --pal-glow1: 31 181 196; /* #1fb5c4 */
    --pal-glow2: 14 165 233; /* #0ea5e9 */
    --pal-glow2s: 251 191 36; /* #fbbf24 */
    --pal-acc: 242 165 22; /* #f2a516 */
    --pal-acc-text: 180 83 9; /* #b45309 */
    --pal-hero1: 94 234 212; /* #5eead4 */
    --pal-hero2: 168 232 139; /* #a8e88b */
    --pal-hero3: 252 211 77; /* #fcd34d */
    --pal-badge1: 252 211 77; /* #fcd34d */
    --pal-badge2: 242 165 22; /* #f2a516 */
    --pal-n-040210: 0 12 15; /* #000c0f */
    --pal-n-07051a: 1 19 23; /* #011317 */
    --pal-n-09061c: 1 20 25; /* #011419 */
    --pal-n-090620: 0 22 26; /* #00161a */
    --pal-n-0a0720: 0 22 27; /* #00161b */
    --pal-n-0b0722: 0 23 28; /* #00171c */
    --pal-n-0c0820: 2 23 28; /* #02171c */
    --pal-n-0b0823: 0 24 29; /* #00181d */
    --pal-n-0c0826: 0 25 30; /* #00191e */
    --pal-n-0c0924: 0 25 30; /* #00191e */
    --pal-n-0d0924: 0 25 30; /* #00191e */
    --pal-n-0c0828: 0 25 30; /* #00191e */
    --pal-n-0d0828: 0 25 30; /* #00191e */
    --pal-n-0d0a24: 1 25 30; /* #01191e */
    --pal-n-0e0928: 0 26 31; /* #001a1f */
    --pal-n-0e0a26: 0 26 31; /* #001a1f */
    --pal-n-0e0b26: 1 26 31; /* #011a1f */
    --pal-n-0f0a2a: 0 27 33; /* #001b21 */
    --pal-n-111013: 21 24 24; /* #151818 */
    --pal-n-0f0b29: 0 27 33; /* #001b21 */
    --pal-n-100a2e: 0 28 34; /* #001c22 */
    --pal-n-121117: 20 25 26; /* #14191a */
    --pal-n-110c2e: 0 29 35; /* #001d23 */
    --pal-n-120e2c: 1 30 35; /* #011e23 */
    --pal-n-120d30: 0 31 36; /* #001f24 */
    --pal-n-120c33: 0 31 37; /* #001f25 */
    --pal-n-120d31: 0 31 37; /* #001f25 */
    --pal-n-10102d: 2 31 36; /* #021f24 */
    --pal-n-140d34: 0 32 38; /* #002026 */
    --pal-n-140e33: 0 32 38; /* #002026 */
    --pal-n-140b3a: 0 32 38; /* #002026 */
    --pal-n-160f3a: 0 34 41; /* #002229 */
    --pal-n-16182d: 16 35 39; /* #102327 */
    --pal-n-1a0f45: 0 38 45; /* #00262d */
    --pal-n-1a1046: 0 39 45; /* #00272d */
    --pal-n-2a0a3d: 0 39 46; /* #00272e */
    --pal-n-1e1050: 0 42 49; /* #002a31 */
    --pal-n-21164f: 0 45 52; /* #002d34 */
    --pal-n-1e1b4b: 0 45 53; /* #002d35 */
    --pal-n-281450: 0 46 54; /* #002e36 */
    --pal-n-221c4a: 0 46 54; /* #002e36 */
    --pal-n-241c52: 0 48 57; /* #003039 */
    --pal-n-2a1366: 0 51 60; /* #00333c */
    --pal-n-281a5e: 0 51 60; /* #00333c */
    --pal-n-2a2550: 10 53 61; /* #0a353d */
    --pal-n-2b2360: 0 56 65; /* #003841 */
    --pal-n-3b3368: 15 68 77; /* #0f444d */
    --pal-n-4b4380: 37 85 95; /* #25555f */
    --pal-n-57527a: 65 94 100; /* #415e64 */
    --pal-n-5f5a7d: 75 100 106; /* #4b646a */
    --pal-n-6b6690: 84 114 120; /* #547278 */
    --pal-n-7d77a6: 99 133 140; /* #63858c */
    --pal-n-8f89b8: 117 151 158; /* #75979e */
    --pal-n-90919c: 140 148 149; /* #8c9495 */
    --pal-n-a39dcc: 138 171 178; /* #8aabb2 */
    --pal-n-a9a3cf: 145 176 182; /* #91b0b6 */
    --pal-n-aaa5cf: 148 177 183; /* #94b1b7 */
    --pal-n-b9b3dd: 162 191 197; /* #a2bfc5 */
    --pal-n-bdb6e6: 163 196 203; /* #a3c4cb */
    --pal-n-c9c2ee: 177 207 213; /* #b1cfd5 */
    --pal-n-c9c3ea: 180 206 212; /* #b4ced4 */
    --pal-n-cdc8ec: 186 210 216; /* #bad2d8 */
    --pal-n-d9c9f5: 185 216 223; /* #b9d8df */
    --pal-n-d6d0f5: 194 219 224; /* #c2dbe0 */
    --pal-n-d9d4f5: 199 222 226; /* #c7dee2 */
    --pal-n-e2dcf3: 212 227 231; /* #d4e3e7 */
    --pal-n-e4defa: 212 231 235; /* #d4e7eb */
    --pal-n-e4defc: 211 231 235; /* #d3e7eb */
    --pal-n-e6e1ff: 213 234 238; /* #d5eaee */
    --pal-n-e5e6f6: 223 234 236; /* #dfeaec */
    --pal-n-e9e3ff: 217 236 240; /* #d9ecf0 */
    --pal-n-e9e5ff: 219 237 240; /* #dbedf0 */
    --pal-n-ece6fb: 222 237 240; /* #deedf0 */
    --pal-n-ece8f5: 227 236 238; /* #e3ecee */
    --pal-n-ece8ff: 223 239 242; /* #dfeff2 */
    --pal-n-ece9ff: 224 239 242; /* #e0eff2 */
    --pal-n-eeebff: 227 241 244; /* #e3f1f4 */
    --pal-n-efecf8: 232 240 242; /* #e8f0f2 */
    --pal-n-f0ebff: 228 241 244; /* #e4f1f4 */
    --pal-n-f0edf9: 233 241 243; /* #e9f1f3 */
    --pal-n-f1edfc: 232 242 244; /* #e8f2f4 */
    --pal-n-f3effd: 234 244 246; /* #eaf4f6 */
    --pal-n-f4f0ff: 235 245 247; /* #ebf5f7 */
    --pal-n-f4f2ff: 237 246 248; /* #edf6f8 */
    --pal-n-f5f2ff: 237 246 248; /* #edf6f8 */
    --pal-n-f6f2ff: 237 246 248; /* #edf6f8 */
    --pal-n-f6f3fd: 239 246 248; /* #eff6f8 */
    --pal-n-f8f5ff: 241 248 250; /* #f1f8fa */
    --pal-n-f9f7ff: 244 250 251; /* #f4fafb */
    --pal-n-faf8ff: 246 250 251; /* #f6fafb */
    --pal-n-fbf9ff: 247 251 252; /* #f7fbfc */
    --pal-n-fbfaff: 248 252 252; /* #f8fcfc */
    --pal-n-fcfbff: 250 252 253; /* #fafcfd */
    --pal-n-fdfcff: 251 253 253; /* #fbfdfd */
    /* end of --pal-* tokens */
    --th-brand: rgb(var(--pal-brand));
    --th-violet: rgb(var(--pal-p500));
    --th-purple: rgb(var(--pal-p600));
    --th-lilac: rgb(var(--pal-p300));
    --th-cyan: #22d3ee;
    --th-pink: rgb(var(--pal-t500));
    --th-amber: #fbbf24;
    --th-green: #34d399;
    --th-night: rgb(var(--pal-n-07051a));
    --th-night-2: rgb(var(--pal-n-0c0924));
    --th-radius: 22px;
    --th-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --th-grad: linear-gradient(120deg, rgb(var(--pal-p600)) 0%, rgb(var(--pal-s500)) 55%, rgb(var(--pal-t500)) 100%);
    /* light values (the default); .th-dark below sets the same names for night */
    --th-bg: #ffffff;
    --th-bg-2: rgb(var(--pal-n-faf8ff));
    --th-title: rgb(var(--pal-n-160f3a));
    --th-text: rgb(var(--pal-n-2a2550));
    --th-muted: rgb(var(--pal-n-57527a));
    --th-faint: rgb(var(--pal-n-6b6690));
    --th-line: rgb(var(--pal-brand) / 0.14);
    --th-line-2: rgb(var(--pal-brand) / 0.32);
    --th-panel: #ffffff;
    --th-panel-2: rgb(var(--pal-n-f5f2ff));
    --th-card: linear-gradient(180deg, #ffffff 0%, rgb(var(--pal-n-fbf9ff)) 100%);
    --th-card-shadow: 0 1px 2px rgb(var(--pal-n-1e1b4b) / 0.05), 0 24px 50px -30px rgb(var(--pal-p900) / 0.35);
    --th-lift-shadow: 0 30px 60px -28px rgb(var(--pal-p900) / 0.45), 0 0 0 1px rgb(var(--pal-brand) / 0.18);
    --th-spot: rgb(var(--pal-p500) / 0.12);
    --th-link: rgb(var(--pal-brand));
    --th-link-hover: rgb(var(--pal-p900));
    --th-ok: #047857;
    --th-ok-bg: rgba(16, 185, 129, 0.12);
    --th-accent: linear-gradient(100deg, rgb(var(--pal-brand)) 0%, rgb(var(--pal-s500)) 50%, rgb(var(--pal-t600)) 100%);
    --th-eyebrow: rgb(var(--pal-brand));
    --th-eyebrow-bg: rgb(var(--pal-brand) / 0.08);
    --th-ring: rgb(var(--pal-p600));
    --th-input: #ffffff;
}
/* Night values: a dark page (body.th-dark), a dark section, and the pieces that are always dark (hero, CTA card). */
.th-dark,
.th-section--dark,
.th-section--night,
.th-section--mesh,
.th-hero,
.th-cta__inner {
    --th-bg: rgb(var(--pal-n-07051a));
    --th-bg-2: rgb(var(--pal-n-0c0924));
    --th-title: #ffffff;
    --th-text: rgb(var(--pal-n-eeebff));
    --th-muted: rgb(var(--pal-n-aaa5cf));
    --th-faint: rgb(var(--pal-n-8f89b8));
    --th-line: rgb(var(--pal-p400) / 0.2);
    --th-line-2: rgb(var(--pal-p400) / 0.36);
    --th-panel: rgba(255, 255, 255, 0.045);
    --th-panel-2: rgba(255, 255, 255, 0.07);
    --th-card: linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.015) 100%);
    --th-card-shadow: none;
    --th-lift-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.9), 0 0 50px -20px rgb(var(--pal-p500) / 0.6);
    --th-spot: rgb(var(--pal-p400) / 0.18);
    --th-link: rgb(var(--pal-p300));
    --th-link-hover: #ffffff;
    --th-ok: #6ee7b7;
    --th-ok-bg: rgba(52, 211, 153, 0.16);
    --th-accent: linear-gradient(100deg, rgb(var(--pal-p300)) 0%, rgb(var(--pal-s300)) 45%, rgb(var(--pal-acc)) 100%);
    --th-eyebrow: rgb(var(--pal-p300));
    --th-eyebrow-bg: rgb(var(--pal-p500) / 0.12);
    --th-ring: rgb(var(--pal-p300));
    --th-input: rgba(255, 255, 255, 0.06);
    color: var(--th-text);
}
.th-light {
    --th-bg: #ffffff;
    --th-bg-2: rgb(var(--pal-n-faf8ff));
    --th-title: rgb(var(--pal-n-160f3a));
    --th-text: rgb(var(--pal-n-2a2550));
    --th-muted: rgb(var(--pal-n-57527a));
    --th-faint: rgb(var(--pal-n-6b6690));
    --th-line: rgb(var(--pal-brand) / 0.14);
    --th-line-2: rgb(var(--pal-brand) / 0.32);
    --th-panel: #ffffff;
    --th-panel-2: rgb(var(--pal-n-f5f2ff));
    --th-card: linear-gradient(180deg, #ffffff 0%, rgb(var(--pal-n-fbf9ff)) 100%);
    --th-card-shadow: 0 1px 2px rgb(var(--pal-n-1e1b4b) / 0.05), 0 24px 50px -30px rgb(var(--pal-p900) / 0.35);
    --th-lift-shadow: 0 30px 60px -28px rgb(var(--pal-p900) / 0.45), 0 0 0 1px rgb(var(--pal-brand) / 0.18);
    --th-spot: rgb(var(--pal-p500) / 0.12);
    --th-link: rgb(var(--pal-brand));
    --th-link-hover: rgb(var(--pal-p900));
    --th-ok: #047857;
    --th-ok-bg: rgba(16, 185, 129, 0.12);
    --th-accent: linear-gradient(100deg, rgb(var(--pal-brand)) 0%, rgb(var(--pal-s500)) 50%, rgb(var(--pal-t600)) 100%);
    --th-eyebrow: rgb(var(--pal-brand));
    --th-eyebrow-bg: rgb(var(--pal-brand) / 0.08);
    --th-ring: rgb(var(--pal-p600));
    --th-input: #ffffff;
    color: var(--th-text);
}
body.th-dark { background: var(--th-night); }
body.th-dark .main { background: var(--th-night); overflow: clip; }
.th-dark ::selection { background: rgb(var(--pal-p500) / 0.45); color: #fff; }
.th-dark figcaption,
.th-light figcaption { margin: 0; padding: 0; border: 0; font-style: normal; }

/* ---------- sections ---------- */
.th-section { position: relative; padding: 112px 0; background: var(--th-bg); color: var(--th-text); }
.th-section > .container { position: relative; z-index: 1; }
.th-section--tight { padding: 72px 0; }
.th-section--flush { padding-top: 10px; }
.th-section--dark,
.th-section--night { background: var(--th-night); }
.th-section--night { background: radial-gradient(70% 60% at 50% 0%, rgb(var(--pal-p600) / 0.26) 0%, transparent 70%), var(--th-night); }
.th-section--light { background: #fff; }
.th-section--soft { background: linear-gradient(180deg, rgb(var(--pal-n-faf8ff)) 0%, #ffffff 100%); }
.th-section--glow { background: radial-gradient(60% 80% at 50% 0%, rgb(var(--pal-p600) / 0.2), transparent 70%), var(--th-bg); }
.th-section--mesh {
    background:
        radial-gradient(60% 70% at 85% 15%, rgb(var(--pal-p500) / 0.45) 0%, transparent 65%),
        radial-gradient(50% 60% at 10% 90%, rgb(var(--pal-glow2) / 0.22) 0%, transparent 65%),
        linear-gradient(160deg, rgb(var(--pal-n-1a0f45)) 0%, rgb(var(--pal-n-0b0722)) 70%);
}
.th-section + .th-section::before {
    content: "";
    position: absolute;
    top: 0; left: 50%;
    width: min(1100px, 90%);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--th-line-2), transparent);
    transform: translateX(-50%);
}
.th-clip { overflow: hidden; overflow: clip; }
.th-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.7; pointer-events: none; }
.th-gridlines {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgb(var(--pal-p400) / 0.07) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--pal-p400) / 0.07) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(80% 70% at 60% 30%, #000 0%, transparent 75%);
    mask-image: radial-gradient(80% 70% at 60% 30%, #000 0%, transparent 75%);
    pointer-events: none;
}
@keyframes th-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.06); }
    66% { transform: translate(-24px, 24px) scale(0.96); }
}
.th-center { margin: 40px 0 0; text-align: center; }
.th-caption { margin: 18px 0 0; color: var(--th-faint); font-size: 0.8rem; }
.th-caption--center { text-align: center; }

/* ==========================================================================================================
   C. TYPE AND CONTROLS
   ========================================================================================================== */
.th-accent {
    background: var(--th-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.th-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid var(--th-line);
    border-radius: 999px;
    background: var(--th-eyebrow-bg);
    color: var(--th-eyebrow);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.th-eyebrow i { font-size: 0.8rem; }
.th-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.th-head--left { margin-left: 0; text-align: left; }
.th-title {
    margin: 18px 0 16px;
    color: var(--th-title);
    font-size: clamp(1.9rem, 3.6vw, 3.1rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}
.th-sub { max-width: 640px; margin: 0 auto; color: var(--th-muted); font-size: 1.05rem; line-height: 1.7; }
.th-head--left .th-sub { margin-left: 0; }
.th-h3 { margin: 0 0 14px; color: var(--th-title); font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.th-p { margin: 0 0 18px; color: var(--th-muted); line-height: 1.7; }
.th-kicker { color: var(--th-faint); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
/* Links inside a theme section's text */
.th-section p a:not(.btn):not([class*="th-"]),
.th-faq__a a:not(.btn) {
    color: var(--th-link);
    font-size: inherit;
    font-weight: 600;
    line-height: inherit;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--th-link) 40%, transparent);
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}
.th-section p a:not(.btn):not([class*="th-"]):hover,
.th-faq__a a:not(.btn):hover { color: var(--th-link-hover); }

/* ---------- buttons, links, chips ---------- */
a.th-btn:any-link,
button.th-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border: 0;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s var(--th-ease), box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
a.th-btn--primary:any-link,
button.th-btn--primary {
    background: var(--th-grad);
    color: #fff;
    box-shadow: 0 10px 30px -6px rgb(var(--pal-glow1) / 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
a.th-btn--primary:any-link:hover,
button.th-btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 40px -6px rgb(var(--pal-glow1) / 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
a.th-btn--ghost:any-link,
button.th-btn--ghost {
    background: var(--th-panel);
    color: var(--th-title);
    box-shadow: inset 0 0 0 1px var(--th-line-2);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
a.th-btn--ghost:any-link:hover,
button.th-btn--ghost:hover { background: var(--th-panel-2); color: var(--th-title); transform: translateY(-2px); }
a.th-btn--light:any-link,
button.th-btn--light { background: #fff; color: rgb(var(--pal-p950)); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5); }
a.th-btn--light:any-link:hover,
button.th-btn--light:hover { color: rgb(var(--pal-p900)); transform: translateY(-2px); }
.th-btn--lg { padding: 16px 30px !important; font-size: 1.04rem !important; }
.th-btn--block { width: 100%; }
a.th-btn:focus-visible,
button.th-btn:focus-visible,
a.th-link:focus-visible,
a.th-chip:focus-visible,
a.th-card:focus-visible,
a.th-store:focus-visible,
.th-tabs__tab:focus-visible,
.th-faq__q:focus-visible { outline: 3px solid var(--th-ring); outline-offset: 3px; }
.th-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.th-cta-row--center { justify-content: center; }
a.th-link:any-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--th-link);
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.25s ease, color 0.25s ease;
}
a.th-link:any-link:hover { gap: 12px; color: var(--th-link-hover); }
.th-chip,
a.th-chip:any-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--th-line);
    border-radius: 999px;
    background: var(--th-panel);
    color: var(--th-text);
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
a.th-chip:any-link:hover { border-color: var(--th-line-2); background: rgb(var(--pal-p500) / 0.16); color: var(--th-title); }
.th-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px 7px 12px;
    border: 1px solid rgb(var(--pal-p300) / 0.3);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: rgb(var(--pal-n-e9e3ff));
    font-size: 0.84rem;
    font-weight: 500;
}
.th-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--th-cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.2), 0 0 14px var(--th-cyan); animation: th-pulse 2.2s ease-in-out infinite; }
@keyframes th-pulse { 50% { box-shadow: 0 0 0 8px rgba(34, 211, 238, 0.05), 0 0 20px var(--th-cyan); } }

/* ---------- icon tiles ---------- */
.th-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 48px; height: 48px;
    border-radius: 14px;
    background: linear-gradient(140deg, rgb(var(--pal-p500)), rgb(var(--pal-p800)));
    color: #fff;
    font-size: 1.15rem;
    box-shadow: 0 10px 24px -8px rgb(var(--pal-p500) / 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.th-icon--sm { width: 38px; height: 38px; border-radius: 11px; font-size: 0.95rem; }
.th-icon--violet { background: linear-gradient(140deg, rgb(var(--pal-p500)), rgb(var(--pal-p800))); }
.th-icon--pink { background: linear-gradient(140deg, #fb7185, #be123c); box-shadow: 0 10px 24px -8px rgba(251, 113, 133, 0.55); }
.th-icon--green { background: linear-gradient(140deg, #34d399, #047857); box-shadow: 0 10px 24px -8px rgba(52, 211, 153, 0.55); }
.th-icon--blue { background: linear-gradient(140deg, #60a5fa, #1d4ed8); box-shadow: 0 10px 24px -8px rgba(96, 165, 250, 0.55); }
.th-icon--orange { background: linear-gradient(140deg, #fb923c, #c2410c); box-shadow: 0 10px 24px -8px rgba(251, 146, 60, 0.55); }
.th-icon--teal { background: linear-gradient(140deg, #2dd4bf, #0f766e); box-shadow: 0 10px 24px -8px rgba(45, 212, 191, 0.55); }
.th-icon--amber { background: linear-gradient(140deg, #fbbf24, #b45309); box-shadow: 0 10px 24px -8px rgba(251, 191, 36, 0.5); }
.th-icon--solid { background: linear-gradient(140deg, rgb(var(--pal-s500)), rgb(var(--pal-p700))); }

/* ---------- check list ---------- */
.th-checks { display: grid; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.th-checks li { position: relative; padding-left: 30px; color: var(--th-text); font-size: 0.96rem; line-height: 1.5; }
.th-checks li::before {
    content: "\f00c";
    position: absolute;
    left: 0; top: 2px;
    display: inline-flex; align-items: center; justify-content: center;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--th-ok-bg);
    color: var(--th-ok);
    font: 900 0.62rem/1 "Font Awesome 6 Free";
}
.th-checks--two { grid-template-columns: 1fr 1fr; column-gap: 20px; }

/* ==========================================================================================================
   D. CARDS
   ========================================================================================================== */
.th-glass {
    position: relative;
    padding: 28px;
    border: 1px solid var(--th-line);
    border-radius: var(--th-radius);
    background: var(--th-card);
    box-shadow: var(--th-card-shadow);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
.th-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.th-bento__item,
.th-safety__india,
a.th-card:any-link,
.th-card {
    position: relative;
    grid-column: span 2;
    padding: 30px 28px;
    overflow: hidden;
    border: 1px solid var(--th-line);
    border-radius: var(--th-radius);
    background: var(--th-card);
    box-shadow: var(--th-card-shadow);
    transition: transform 0.45s var(--th-ease), border-color 0.3s ease, box-shadow 0.45s ease;
}
[data-th-spot]::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(380px circle at var(--x, 50%) var(--y, 0%), var(--th-spot), transparent 45%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
[data-th-spot]:hover::before { opacity: 1; }
[data-th-spot]:hover { transform: translateY(-6px); border-color: var(--th-line-2); box-shadow: var(--th-lift-shadow); }
.th-bento__item--lead {
    grid-column: span 6;
    padding: 36px;
    background: radial-gradient(70% 120% at 100% 0%, rgb(var(--pal-p600) / 0.22), transparent 60%), var(--th-card);
}
.th-dark .th-bento__item--lead { background: radial-gradient(70% 120% at 100% 0%, rgb(var(--pal-p600) / 0.28), transparent 60%), var(--th-card); }
.th-bento__item--half { grid-column: span 3; }
.th-bento__item--third { grid-column: span 2; }
.th-bento__item--full { grid-column: span 6; }
.th-bento__lead { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: center; }
.th-bento__title { margin: 18px 0 10px; color: var(--th-title); font-size: 1.16rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.th-bento__title--lg { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; letter-spacing: -0.025em; }
.th-bento__text { margin: 0 0 16px; color: var(--th-muted); font-size: 0.95rem; line-height: 1.65; }
.th-bento__text:last-child { margin-bottom: 0; }
.th-bento__text a:not(.btn):not([class*="th-"]) { color: var(--th-link); font-size: inherit; font-weight: 600; line-height: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* link cards (industries, tools) */
.th-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.th-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.th-cards--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
a.th-card:any-link,
.th-card { display: flex; flex-direction: column; grid-column: auto; padding: 26px 22px; color: var(--th-text); font-size: inherit; line-height: inherit; text-decoration: none; }
a.th-card:any-link:hover { color: var(--th-text); }
.th-card__title { margin: 18px 0 8px; color: var(--th-title); font-size: 1.08rem; font-weight: 600; line-height: 1.3; }
.th-card__text { flex: 1; margin: 0 0 16px; color: var(--th-muted); font-size: 0.9rem; line-height: 1.6; }
.th-card__more { display: inline-flex; align-items: center; gap: 8px; color: var(--th-link); font-size: 0.88rem; font-weight: 600; transition: gap 0.25s ease; }
a.th-card:hover .th-card__more { gap: 12px; }
a.th-card--feature:any-link,
.th-card--feature {
    border-color: rgb(var(--pal-p400) / 0.45);
    background: radial-gradient(90% 120% at 100% 0%, rgb(var(--pal-p600) / 0.24), transparent 60%), var(--th-card);
}
.th-tag {
    position: absolute;
    right: 18px; top: 18px;
    padding: 4px 10px;
    border-radius: 999px;
    background: linear-gradient(120deg, rgb(var(--pal-badge1)), rgb(var(--pal-badge2)));
    color: rgb(var(--pal-n-2a0a3d));
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.th-compare {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 22px 40px;
    margin-top: 48px;
    padding: 30px 34px;
    border: 1px solid var(--th-line);
    border-radius: var(--th-radius);
    background: linear-gradient(120deg, rgb(var(--pal-p600) / 0.16), transparent), var(--th-card);
    box-shadow: var(--th-card-shadow);
}
.th-compare > div:first-child { flex: 1 1 320px; }
.th-compare__title { margin: 0 0 6px; color: var(--th-title); font-size: 1.3rem; font-weight: 700; }
.th-compare__text { margin: 0; color: var(--th-muted); font-size: 0.94rem; line-height: 1.6; }
.th-compare__links { display: flex; flex: 1 1 420px; flex-wrap: wrap; gap: 10px; }

/* ==========================================================================================================
   E. PRODUCT PICTURES
   ========================================================================================================== */
.th-laptop { position: relative; margin: 0; }
.th-laptop__screen {
    padding: 2% 2% 2.4%;
    border-radius: 14px 14px 4px 4px;
    background: linear-gradient(160deg, rgb(var(--pal-n-241c52)), rgb(var(--pal-n-0d0a24)));
    box-shadow: 0 0 0 1px rgb(var(--pal-p300) / 0.28), 0 50px 100px -24px rgba(0, 0, 0, 0.85), 0 0 90px -10px rgb(var(--pal-p500) / 0.55);
}
.th-laptop__screen img { display: block; width: 100%; height: auto; border-radius: 6px; }
.th-laptop__base {
    position: relative;
    height: 13px;
    margin: 0 -7%;
    border-radius: 0 0 16px 16px;
    background: linear-gradient(180deg, rgb(var(--pal-n-4b4380)) 0%, rgb(var(--pal-n-221c4a)) 60%, rgb(var(--pal-n-120e2c)) 100%);
    box-shadow: 0 24px 40px -14px rgba(0, 0, 0, 0.8);
}
.th-laptop__base::after { content: ""; position: absolute; left: 42%; right: 42%; top: 0; height: 5px; border-radius: 0 0 6px 6px; background: rgba(0, 0, 0, 0.35); }
.th-phone { margin: 0; padding: 3.2%; border-radius: 14% / 6.6%; background: linear-gradient(160deg, rgb(var(--pal-n-2b2360)), rgb(var(--pal-n-0e0b26))); box-shadow: 0 0 0 1px rgb(var(--pal-p300) / 0.3), 0 40px 70px -16px rgba(0, 0, 0, 0.6); }
.th-dark .th-phone { box-shadow: 0 0 0 1px rgb(var(--pal-p300) / 0.3), 0 40px 70px -16px rgba(0, 0, 0, 0.85); }
.th-phone__screen { overflow: hidden; border-radius: 11% / 5.2%; background: #fff; }
.th-phone__screen img { display: block; width: 100%; height: auto; }
.th-card-shot { margin: 0; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 40px 70px -18px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.6); }
.th-card-shot img { display: block; width: 100%; height: auto; }
.th-browser {
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    background: rgb(var(--pal-n-110c2e));
    box-shadow: 0 0 0 1px rgb(var(--pal-p300) / 0.28), 0 50px 100px -30px rgba(0, 0, 0, 0.6), 0 0 90px -20px rgb(var(--pal-p500) / 0.45);
    transform: perspective(1800px) rotateY(-7deg) rotateX(3deg);
    transition: transform 0.7s var(--th-ease);
}
.th-dark .th-browser { box-shadow: 0 0 0 1px rgb(var(--pal-p300) / 0.28), 0 50px 100px -30px rgba(0, 0, 0, 0.9), 0 0 90px -20px rgb(var(--pal-p500) / 0.55); }
.th-browser:hover,
.th-browser--flat { transform: none; }
.th-browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; }
.th-browser__bar > span:not(.th-browser__url) { width: 10px; height: 10px; border-radius: 50%; background: rgb(var(--pal-n-3b3368)); }
.th-browser__url { margin-left: 10px; padding: 3px 10px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); color: rgb(var(--pal-n-a39dcc)); font-size: 0.72rem; }
.th-browser__url i { margin-right: 6px; font-size: 0.62rem; }
.th-browser img { display: block; width: 100%; height: auto; }
.th-shotcard { flex: 1 1 520px; max-width: 720px; margin: 0; }
.th-shotcard img { display: block; width: 100%; height: auto; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgb(var(--pal-brand) / 0.18), 0 30px 60px -20px rgb(var(--pal-n-1e1b4b) / 0.45); }
.th-dark .th-shotcard img { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5), 0 30px 60px -20px rgba(0, 0, 0, 0.8); }
.th-shotcard figcaption { margin-top: 10px; color: var(--th-faint); font-size: 0.78rem; }
.th-shotcard--tilt { flex: none; max-width: 320px; margin: 0 auto; transform: perspective(1400px) rotateY(-12deg) rotateX(4deg) rotateZ(1deg); transition: transform 0.6s var(--th-ease); }
.th-bento__item--lead:hover .th-shotcard--tilt { transform: perspective(1400px) rotateY(-4deg) rotateX(0) rotateZ(0) translateY(-4px); }
.th-phones { display: flex; justify-content: center; align-items: flex-end; gap: 4%; margin: 0 auto; }
.th-phones .th-phone { width: 44%; max-width: 230px; }
.th-phones--two .th-phone:first-child { transform: perspective(1400px) rotateY(12deg) translateY(16px); }
.th-phones--two .th-phone:last-child { transform: perspective(1400px) rotateY(-12deg); }
.th-phones--fan .th-phone { width: 33%; max-width: none; }
.th-phones--fan .th-phone:nth-child(1) { transform: perspective(1400px) rotateY(18deg) translate(12%, 24px) scale(0.92); }
.th-phones--fan .th-phone:nth-child(2) { position: relative; z-index: 2; width: 38%; box-shadow: 0 0 0 1px rgb(var(--pal-p300) / 0.35), 0 50px 90px -20px rgba(0, 0, 0, 0.7), 0 0 80px -10px rgb(var(--pal-p500) / 0.7); }
.th-phones--fan .th-phone:nth-child(3) { transform: perspective(1400px) rotateY(-18deg) translate(-12%, 24px) scale(0.92); }
.th-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.th-split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.th-split__text,
.th-split__media { min-width: 0; }

/* ---------- hero (dark, with the product scene) ---------- */
.th-hero {
    position: relative;
    isolation: isolate;
    padding: 158px 0 96px;
    overflow: hidden;
    overflow: clip;
    background: radial-gradient(120% 90% at 70% 10%, rgb(var(--pal-n-2a1366)) 0%, rgb(var(--pal-n-140b3a)) 38%, var(--th-night) 78%);
    color: rgb(var(--pal-n-eeebff));
}
.th-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.th-hero .th-orb--1 { top: -140px; right: 6%; width: 520px; height: 520px; background: radial-gradient(circle, rgb(var(--pal-p500) / 0.85), transparent 65%); animation: th-drift 18s ease-in-out infinite; }
.th-hero .th-orb--2 { bottom: -120px; left: -80px; width: 420px; height: 420px; background: radial-gradient(circle, rgb(var(--pal-glow2) / 0.5), transparent 65%); animation: th-drift 22s ease-in-out infinite reverse; }
.th-hero .th-orb--3 { top: 34%; left: 44%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(34, 211, 238, 0.35), transparent 65%); animation: th-drift 26s ease-in-out infinite; }
.th-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    grid-template-areas: "top stage" "bottom stage";
    column-gap: 44px;
    align-items: start;
}
.th-hero__top { grid-area: top; align-self: end; }
/* The stage hangs from the top of the grid, not its middle: when Poppins arrives and the words reflow, the product
   does not move (no layout shift). */
.th-hero__stage { grid-area: stage; align-self: start; position: relative; margin-top: clamp(24px, 3.4vw, 56px); perspective: 2200px; }
.th-hero__bottom { grid-area: bottom; padding-top: 26px; }
.th-hero--center { padding: 168px 0 96px; text-align: center; }
.th-hero--center .th-lead { margin-left: auto; margin-right: auto; }
.th-hero--center .th-cta-row { justify-content: center; }
.th-h1 { margin: 22px 0 20px; color: #fff; font-size: clamp(2.3rem, 4.4vw, 3.9rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.04em; }
.th-h1__accent {
    background: linear-gradient(100deg, rgb(var(--pal-hero1)) 0%, rgb(var(--pal-hero2)) 45%, rgb(var(--pal-hero3)) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.th-lead { max-width: 560px; margin: 0 0 30px; color: rgb(var(--pal-n-cdc8ec)); font-size: 1.1rem; line-height: 1.7; }
.th-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; }
.th-points li { display: inline-flex; align-items: center; gap: 8px; color: rgb(var(--pal-n-e6e1ff)); font-size: 0.93rem; font-weight: 500; }
.th-points i { color: var(--th-green); }
.th-trust { margin: 18px 0 0; color: rgb(var(--pal-n-aaa5cf)); font-size: 0.92rem; }
.th-trust strong { color: #fff; font-weight: 600; }
.th-hero__links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 20px; }
a.th-tourlink:any-link { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 0.95rem; font-weight: 600; text-decoration: none; transition: color 0.2s ease; }
a.th-tourlink i { color: rgb(var(--pal-p300)); font-size: 1.5rem; filter: drop-shadow(0 0 10px rgb(var(--pal-p400) / 0.8)); }
a.th-tourlink:any-link:hover { color: rgb(var(--pal-p300)); }
.th-hero .th-caption { margin-top: 36px; color: rgb(var(--pal-n-8f89b8)); text-align: center; }

/* the 3D scene */
.th-scene {
    --rx: 8deg;
    --ry: -13deg;
    position: relative;
    width: 100%;
    aspect-ratio: 1.2;
    transform-style: preserve-3d;
    transform: rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(1.2deg);
    transition: transform 0.7s var(--th-ease);
}
.th-hero__stage.is-tilting .th-scene { transition: transform 0.12s linear; }
.th-scene .th-laptop { position: absolute; left: 5%; top: 12%; width: 88%; transform: translateZ(0); }
.th-scene__phone { position: absolute; left: -1%; bottom: -3%; width: 21%; transform: translateZ(90px); }
.th-scene__card { position: absolute; right: 3%; bottom: -6%; width: 29%; transform: translateZ(150px); animation: th-bob 7s ease-in-out infinite; }
@keyframes th-bob { 50% { translate: 0 -10px; } }

/* mini payroll run (glass) */
.th-mini {
    position: absolute;
    right: -5%; top: 4%;
    width: 41%;
    padding: 14px 14px 12px;
    border: 1px solid rgb(var(--pal-p300) / 0.3);
    border-radius: 18px;
    background: linear-gradient(160deg, rgb(var(--pal-n-281a5e) / 0.88), rgb(var(--pal-n-0e0a26) / 0.92));
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 34px 70px -18px rgba(0, 0, 0, 0.85), 0 0 50px -12px rgb(var(--pal-p500) / 0.7);
    transform: translateZ(130px);
    color: #fff;
    font-size: 12px;
}
.th-mini__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.th-mini__title { font-size: 0.8rem; font-weight: 600; letter-spacing: -0.01em; }
.th-mini__live { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(52, 211, 153, 0.14); color: var(--th-green); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.th-mini__live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; animation: th-blink 1.4s ease-in-out infinite; }
@keyframes th-blink { 50% { opacity: 0.3; } }
.th-mini__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin: 0 0 10px; padding: 0; list-style: none; }
.th-step {
    display: flex; align-items: center; justify-content: center; gap: 4px;
    padding: 5px 4px;
    border: 1px solid rgb(var(--pal-p300) / 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: rgb(var(--pal-n-8f89b8));
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.th-step i { font-size: 0.55rem; opacity: 0; transition: opacity 0.3s ease; }
.th-step.is-active { border-color: rgba(251, 191, 36, 0.6); color: #fde68a; box-shadow: 0 0 14px -2px rgba(251, 191, 36, 0.6); }
.th-step.is-done { border-color: rgba(52, 211, 153, 0.5); background: rgba(52, 211, 153, 0.14); color: #a7f3d0; }
.th-step.is-done i { opacity: 1; }
.th-mini__nums { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; margin-bottom: 10px; }
.th-mini__nums span { padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); }
.th-mini__nums small { display: block; color: rgb(var(--pal-n-a39dcc)); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.th-mini__nums strong { display: block; margin-top: 2px; font-size: 1.12rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.th-mini__bar { height: 5px; margin-bottom: 10px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, 0.08); }
.th-mini__bar span { display: block; width: calc(var(--p, 1) * 100%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, rgb(var(--pal-p500)), rgb(var(--pal-t500)), rgb(var(--pal-acc))); transition: width 0.6s var(--th-ease); }
.th-mini__done { display: flex; align-items: center; gap: 8px; color: #a7f3d0; font-size: 0.7rem; font-weight: 600; transition: opacity 0.4s ease, transform 0.4s ease; }
.th-mini.is-running .th-mini__done { opacity: 0; transform: translateY(4px); }

/* notification stack (1.0's chips: one in front at a time) */
.th-notes { position: absolute; left: -2%; top: -1%; width: 40%; height: 62px; margin: 0; padding: 0; list-style: none; transform: translateZ(170px); }
.th-note {
    --n: 0;
    position: absolute;
    left: 0; top: 0;
    z-index: calc(3 - var(--n));
    display: flex; align-items: center; gap: 10px;
    width: 100%;
    padding: 9px 14px 9px 9px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    color: rgb(var(--pal-n-1e1b4b));
    box-shadow: 0 24px 40px -14px rgba(0, 0, 0, 0.7);
    opacity: calc(1 - var(--n) * 0.32);
    transform: translateY(calc(var(--n) * 11px)) scale(calc(1 - var(--n) * 0.06));
    transition: transform 0.7s var(--th-ease), opacity 0.7s ease;
}
.th-note:nth-child(2) { --n: 1; }
.th-note:nth-child(3) { --n: 2; }
.th-note__icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(140deg, rgb(var(--pal-p500)), rgb(var(--pal-p700))); color: #fff; font-size: 0.9rem; }
.th-note__title { display: block; color: rgb(var(--pal-n-5f5a7d)); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.02em; }
.th-note__value { display: block; color: rgb(var(--pal-n-1e1b4b)); font-size: 0.86rem; font-weight: 700; }
.th-note__value .is-ok { color: #047857; }
.th-note > * { transition: opacity 0.5s ease; }
.th-note:not(.is-front) > * { opacity: 0; }

/* store buttons (theme) */
.th-stores { display: flex; flex-wrap: wrap; gap: 10px; }
a.th-store:any-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px 7px 12px;
    border: 1px solid rgb(var(--pal-p300) / 0.28);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    line-height: 1.1;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.th-light a.th-store:any-link,
:root:not(.th-dark) .th-section:not(.th-dark) a.th-store:any-link { background: rgb(var(--pal-n-0f0a2a)); }
a.th-store:any-link:hover { border-color: rgb(var(--pal-p300) / 0.6); background: rgb(var(--pal-p500) / 0.25); color: #fff; }
a.th-store > i { font-size: 1.3rem; }
.th-store__small { display: block; color: rgb(var(--pal-n-c9c3ea)); font-size: 0.64rem; }
.th-store__big { display: block; font-size: 0.92rem; font-weight: 600; }

/* ==========================================================================================================
   F. STORY PIECES
   ========================================================================================================== */
/* ---------- stats and statutory badges ---------- */
.th-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
    padding: 0;
    overflow: hidden;
    list-style: none;
    border: 1px solid var(--th-line);
    border-radius: var(--th-radius);
    background: linear-gradient(180deg, rgb(var(--pal-p500) / 0.1), transparent), var(--th-card);
    box-shadow: var(--th-card-shadow);
}
.th-stat { padding: 30px 26px; border-left: 1px solid var(--th-line); }
.th-stat:first-child { border-left: 0; }
.th-stat__value {
    display: block;
    background: linear-gradient(180deg, var(--th-title) 20%, var(--th-brand));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-size: clamp(2.2rem, 3.4vw, 3rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}
.th-dark .th-stat__value { background-image: linear-gradient(180deg, #fff 20%, rgb(var(--pal-p300))); text-shadow: 0 0 30px rgb(var(--pal-p400) / 0.25); }
.th-stat__label { display: block; margin-top: 10px; color: var(--th-muted); font-size: 0.9rem; line-height: 1.5; }
.th-stripe-label { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 56px 0 22px; color: var(--th-muted); font-size: 0.86rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.th-stripe-label i { color: var(--th-link); }
.th-badges { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.th-badge,
.th-badge > a:any-link {
    --tone: rgb(var(--pal-p500));
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    padding: 18px 16px;
    border: 1px solid color-mix(in srgb, var(--tone) 35%, transparent);
    border-radius: 18px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--tone) 12%, transparent), transparent), var(--th-card);
    color: var(--th-text);
    text-decoration: none;
}
.th-badge > a:any-link { padding: 0; border: 0; background: none; font-size: inherit; line-height: inherit; transition: none; }
.th-badge > a:any-link:hover { color: var(--th-text); }
/* r22/teal: the tones sit with E (peacock teal and marigold): six distinct hues, none violet, each AA as the large mark
   on white (>= 5.0) and on the night (>= 7.0). PF blue, ESI green, PT rose, LWF lime, TDS marigold, Labour Codes the
   brand's peacock (home/copy.ts). */
.th-badge--teal { --tone: rgb(var(--pal-brand)); transition: transform 0.25s var(--th-ease), box-shadow 0.25s ease; }
.th-badge--blue { --tone: #1d4ed8; }
.th-badge--green { --tone: #15803d; }
.th-badge--amber { --tone: rgb(var(--pal-acc-text)); }
.th-badge--rose { --tone: #be123c; }
.th-badge--lime { --tone: #3f6212; }
.th-dark .th-badge--teal { --tone: rgb(var(--pal-p400)); }
.th-dark .th-badge--blue { --tone: #60a5fa; }
.th-dark .th-badge--green { --tone: #34d399; }
.th-dark .th-badge--amber { --tone: rgb(var(--pal-acc)); }
.th-dark .th-badge--rose { --tone: #fb7185; }
.th-dark .th-badge--lime { --tone: #a3e635; }
.th-badge--teal:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -12px rgb(var(--pal-p400) / 0.6); }
.th-badge__mark { color: var(--tone); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; }
.th-dark .th-badge__mark { text-shadow: 0 0 18px color-mix(in srgb, var(--tone) 60%, transparent); }
.th-badge__text { color: var(--th-muted); font-size: 0.8rem; line-height: 1.4; }
.th-badge__text strong { display: block; color: var(--th-title); font-size: 0.86rem; font-weight: 600; }
.th-outputs__label { margin: 40px 0 14px; color: var(--th-faint); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-align: center; text-transform: uppercase; }
.th-outputs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.th-outputs li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border: 1px solid rgba(16, 185, 129, 0.3); border-radius: 999px; background: var(--th-ok-bg); color: var(--th-text); font-size: 0.86rem; font-weight: 500; }
.th-dark .th-outputs li { color: #d1fae5; }
.th-outputs i { color: var(--th-ok); }

/* ---------- the payroll-run console (signature) ---------- */
.th-run__glow { position: absolute; inset: 10% 10% auto; height: 70%; background: radial-gradient(50% 50% at 50% 40%, rgb(var(--pal-p600) / 0.35), transparent 70%); filter: blur(30px); pointer-events: none; }
.th-console {
    position: relative;
    max-width: 1060px;
    margin: 0 auto;
    padding: 1px;
    border-radius: 26px;
    background: linear-gradient(140deg, rgb(var(--pal-p300) / 0.55), rgb(var(--pal-p300) / 0.08) 40%, rgb(var(--pal-glow2s) / 0.45));
    box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.9), 0 0 120px -30px rgb(var(--pal-p500) / 0.6);
    color: rgb(var(--pal-n-eeebff));
}
.th-console > * { position: relative; }
.th-console__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-radius: 25px 25px 0 0; background: rgb(var(--pal-n-110c2e)); }
.th-console__bar > span:not(.th-console__url) { width: 11px; height: 11px; border-radius: 50%; background: rgb(var(--pal-n-3b3368)); }
.th-console__url { margin-left: 14px; padding: 4px 12px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); color: rgb(var(--pal-n-a39dcc)); font-size: 0.74rem; }
.th-console__url i { margin-right: 6px; font-size: 0.66rem; }
.th-console__body { display: grid; grid-template-columns: 300px minmax(0, 1fr); border-radius: 0 0 25px 25px; background: linear-gradient(180deg, rgb(var(--pal-n-0f0b29)), rgb(var(--pal-n-0a0720))); }
.th-console__steps { margin: 0; padding: 26px 22px; list-style: none; border-right: 1px solid rgb(var(--pal-p400) / 0.2); }
.th-cstep { position: relative; display: flex; gap: 14px; padding: 0 0 20px; color: rgb(var(--pal-n-8f89b8)); }
.th-cstep:last-child { padding-bottom: 0; }
.th-cstep::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; border-radius: 2px; background: rgb(var(--pal-p400) / 0.16); }
.th-cstep::after { content: ""; position: absolute; left: 15px; top: 34px; width: 2px; height: 0; border-radius: 2px; background: linear-gradient(#34d399, rgb(var(--pal-p500))); transition: height 0.6s var(--th-ease); }
.th-cstep:last-child::before,
.th-cstep:last-child::after { display: none; }
.th-cstep.is-done::after { height: calc(100% - 36px); }
.th-cstep__node {
    position: relative;
    flex: none;
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px;
    border: 1.5px solid rgb(var(--pal-p400) / 0.3);
    border-radius: 50%;
    background: rgb(var(--pal-n-120d30));
    color: rgb(var(--pal-n-8f89b8));
    font-size: 0.8rem;
    transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
}
.th-cstep__node i { position: absolute; opacity: 0; transform: scale(0.4); transition: opacity 0.3s ease, transform 0.3s var(--th-ease); }
.th-cstep__node b { font-weight: 700; transition: opacity 0.2s ease; }
.th-cstep strong { display: block; color: inherit; font-size: 0.98rem; font-weight: 600; line-height: 32px; transition: color 0.3s ease; }
.th-cstep small { display: block; margin-top: -2px; color: rgb(var(--pal-n-7d77a6)); font-size: 0.78rem; line-height: 1.45; }
.th-cstep.is-active .th-cstep__node { border-color: var(--th-amber); color: var(--th-amber); box-shadow: 0 0 0 6px rgba(251, 191, 36, 0.12), 0 0 22px rgba(251, 191, 36, 0.5); }
.th-cstep.is-active strong { color: #fde68a; }
.th-cstep.is-done .th-cstep__node { border-color: transparent; background: linear-gradient(140deg, #34d399, #059669); color: #fff; box-shadow: 0 0 18px -2px rgba(52, 211, 153, 0.6); }
.th-cstep.is-done .th-cstep__node i { opacity: 1; transform: scale(1); }
.th-cstep.is-done .th-cstep__node b { opacity: 0; }
.th-cstep.is-done strong { color: #fff; }
.th-cstep.is-done small { color: rgb(var(--pal-n-a39dcc)); }
.th-console__main { min-width: 0; padding: 28px 30px 26px; }
.th-console__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.th-console__top .th-kicker { color: rgb(var(--pal-n-8f89b8)); }
.th-console__month { margin: 6px 0 4px; color: #fff; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -0.03em; }
.th-console__meta { color: rgb(var(--pal-n-aaa5cf)); font-size: 0.88rem; }
.th-status { flex: none; padding: 6px 14px; border-radius: 999px; background: rgba(52, 211, 153, 0.16); color: #6ee7b7; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; transition: background-color 0.3s ease, color 0.3s ease; }
.th-status.is-busy { background: rgba(251, 191, 36, 0.14); color: #fcd34d; }
.th-totals { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 12px; margin: 26px 0 20px; }
.th-total { padding: 16px 16px 14px; border: 1px solid rgb(var(--pal-p400) / 0.2); border-radius: 16px; background: rgba(255, 255, 255, 0.045); }
.th-total small { display: block; color: rgb(var(--pal-n-8f89b8)); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.th-total strong { display: block; margin-top: 8px; color: #fff; font-size: clamp(1.05rem, 1.8vw, 1.45rem); font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.th-total--big { border-color: rgb(var(--pal-p300) / 0.4); background: linear-gradient(140deg, rgb(var(--pal-p500) / 0.28), rgb(var(--pal-glow2) / 0.12)); }
.th-total--big strong { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.th-progress { height: 6px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, 0.07); }
.th-progress span { display: block; width: calc(var(--p, 1) * 100%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, rgb(var(--pal-p500)), rgb(var(--pal-t500)), rgb(var(--pal-acc))); box-shadow: 0 0 16px rgb(var(--pal-glow2) / 0.6); transition: width 0.7s var(--th-ease); }
.th-slips { position: relative; height: 74px; margin: 16px 0 6px; container-type: inline-size; }
.th-slip {
    position: absolute;
    left: 0; top: 14px;
    display: flex; flex-direction: column; gap: 4px;
    width: 46px; height: 56px;
    padding: 8px 7px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 22px -8px rgba(0, 0, 0, 0.6);
    opacity: 0;
}
.th-slip i { color: rgb(var(--pal-p600)); font-size: 0.8rem; }
.th-slip b { display: block; height: 4px; border-radius: 2px; background: rgb(var(--pal-n-e4defa)); }
.th-slip b + b { width: 60%; }
.th-slips__label { position: absolute; right: 66px; top: 28px; display: inline-flex; align-items: center; gap: 8px; color: rgb(var(--pal-n-aaa5cf)); font-size: 0.8rem; font-weight: 500; }
.th-slips__label i { color: rgb(var(--pal-p300)); }
.th-slips__phone {
    position: absolute;
    right: 0; top: 8px;
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 64px;
    border: 1px solid rgb(var(--pal-p300) / 0.35);
    border-radius: 14px;
    background: rgb(var(--pal-p500) / 0.14);
    color: rgb(var(--pal-p300));
    font-size: 1.5rem;
}
.th-console.is-paid .th-slip { animation: th-fly 1.5s var(--th-ease) calc(var(--i) * 0.13s) both; }
.th-console.is-paid .th-slips__phone { animation: th-catch 0.4s ease calc(0.9s + 7 * 0.13s) 1; }
@keyframes th-fly {
    0% { transform: translate(0, 18px) rotate(-10deg) scale(0.6); opacity: 0; }
    14% { opacity: 1; }
    82% { opacity: 1; }
    100% { transform: translate(calc(100cqw - 50px), -8px) rotate(8deg) scale(0.45); opacity: 0; }
}
@keyframes th-catch { 50% { transform: scale(1.12); box-shadow: 0 0 30px rgb(var(--pal-p400) / 0.8); } }
.th-console__done { display: flex; align-items: center; gap: 10px; margin: 0; color: #a7f3d0; font-size: 0.92rem; font-weight: 500; transition: opacity 0.5s ease, transform 0.5s ease; }
.th-console__done i { color: var(--th-green); }
.th-console.is-running .th-console__done { opacity: 0; transform: translateY(6px); }
.th-run__proof { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px 34px; max-width: 1060px; margin: 34px auto 0; }
.th-run__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- tabs (the theme script switches them) ---------- */
.th-tabs { max-width: 1140px; margin: 0 auto; }
.th-tabs__list {
    display: flex;
    justify-content: center;
    gap: 6px;
    width: max-content;
    max-width: 100%;
    margin: 0 auto 44px;
    padding: 6px;
    overflow-x: auto;
    border: 1px solid var(--th-line);
    border-radius: 999px;
    background: var(--th-panel);
    box-shadow: var(--th-card-shadow);
    scrollbar-width: none;
}
.th-tabs__list::-webkit-scrollbar { display: none; }
.th-tabs__tab {
    flex: none;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--th-muted);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.th-tabs__tab:hover { color: var(--th-title); }
.th-tabs__tab[aria-selected="true"] { background: linear-gradient(120deg, rgb(var(--pal-p600)), rgb(var(--pal-s500))); color: #fff; box-shadow: 0 8px 22px -6px rgb(var(--pal-glow1) / 0.7); }
.th-tabs__panel { animation: th-fade 0.45s var(--th-ease); }
.th-tabs__panel:focus-visible { outline: 2px dashed var(--th-line-2); outline-offset: 10px; border-radius: 12px; }
@keyframes th-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- steps ---------- */
.th-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 0; padding: 0; list-style: none; }
.th-steps::before {
    content: "";
    position: absolute;
    left: 8%; right: 8%; top: 54px;
    height: 2px;
    background: linear-gradient(90deg, rgb(var(--pal-p400) / 0.1), rgb(var(--pal-p400) / 0.5), rgb(var(--pal-glow2s) / 0.5), rgb(var(--pal-p400) / 0.1));
}
.th-stepcard { position: relative; padding: 30px 26px; border: 1px solid var(--th-line); border-radius: var(--th-radius); background: var(--th-panel); box-shadow: var(--th-card-shadow); }
.th-dark .th-stepcard { background: linear-gradient(180deg, rgb(var(--pal-n-120d31)), rgb(var(--pal-n-0b0823))); }
.th-stepcard__num { position: absolute; right: 22px; top: 18px; color: color-mix(in srgb, var(--th-brand) 18%, transparent); font-size: 3.4rem; font-weight: 800; line-height: 1; letter-spacing: -0.05em; }
.th-dark .th-stepcard__num { color: rgb(var(--pal-p300) / 0.16); }
.th-stepcard__title { margin: 20px 0 10px; color: var(--th-title); font-size: 1.2rem; font-weight: 600; }
.th-stepcard__text { margin: 0; color: var(--th-muted); font-size: 0.95rem; line-height: 1.65; }

/* ---------- video card ---------- */
.th-tour { padding-top: 40px; }
.th-tour__card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 48px;
    align-items: center;
    padding: 48px;
    border: 1px solid var(--th-line);
    border-radius: 30px;
    background: radial-gradient(80% 120% at 100% 0%, rgb(var(--pal-p600) / 0.24), transparent 60%), var(--th-card);
    box-shadow: var(--th-card-shadow);
}
.th-tour__text .th-title { margin-top: 16px; }
.th-tour__text .th-sub { margin: 0 0 22px; }
.th-player { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1 / 1; margin: 0 auto; overflow: hidden; border-radius: 22px; background: rgb(var(--pal-n-1e1b4b)); box-shadow: 0 0 0 1px rgb(var(--pal-p300) / 0.3), 0 40px 80px -20px rgba(0, 0, 0, 0.6); }
.th-player__play { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.th-player img,
.th-player video { display: block; width: 100%; height: 100%; object-fit: cover; }
.th-player__pill {
    position: absolute;
    left: 50%; bottom: 22px;
    display: flex; align-items: center; gap: 12px;
    padding: 8px 20px 8px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: rgb(var(--pal-n-1e1b4b));
    text-align: left;
    white-space: nowrap;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
    transform: translateX(-50%);
    transition: transform 0.25s ease;
}
.th-player__btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, rgb(var(--pal-p600)), rgb(var(--pal-t500))); color: #fff; box-shadow: 0 0 0 6px rgb(var(--pal-p600) / 0.18); }
.th-player__btn i { margin-left: 3px; }
.th-player__text strong { display: block; font-size: 0.95rem; font-weight: 700; line-height: 1.2; }
.th-player__text span { display: block; color: rgb(var(--pal-n-5f5a7d)); font-size: 0.75rem; }
.th-player__play:hover .th-player__pill { transform: translateX(-50%) translateY(-3px); }
.th-player__play:focus-visible { outline: 3px solid var(--th-ring); outline-offset: -3px; }

/* ---------- orbit, features, quote ---------- */
.th-why__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.th-orbit { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin: 0 auto; }
.th-orbit__ring { position: absolute; inset: 0; margin: auto; border: 1px dashed var(--th-line-2); border-radius: 50%; }
.th-orbit__ring--1 { width: 64%; height: 64%; border-style: solid; border-color: var(--th-line); animation: th-spin 40s linear infinite; }
.th-orbit__ring--2 { width: 94%; height: 94%; animation: th-spin 70s linear infinite reverse; }
.th-orbit__ring::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: rgb(var(--pal-t400)); box-shadow: 0 0 16px rgb(var(--pal-t400)); }
.th-orbit__ring--2::after { background: var(--th-cyan); box-shadow: 0 0 16px var(--th-cyan); }
@keyframes th-spin { to { transform: rotate(360deg); } }
.th-orbit__hub {
    position: absolute;
    left: 50%; top: 50%;
    display: flex; align-items: center; justify-content: center;
    width: 34%;
    aspect-ratio: 1;
    padding: 4%;
    border-radius: 30%;
    background: #fff;
    transform: translate(-50%, -50%) rotate(-8deg);
    box-shadow: 0 0 0 10px rgb(var(--pal-p500) / 0.14), 0 0 80px rgb(var(--pal-p500) / 0.55);
}
.th-orbit__hub img { width: 100%; height: auto; transform: rotate(8deg); }
.th-sat {
    position: absolute;
    display: flex; align-items: center; gap: 10px;
    width: 220px;
    padding: 10px 14px 10px 10px;
    border: 1px solid var(--th-line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px -16px rgb(var(--pal-n-1e1b4b) / 0.35);
    animation: th-bob 6s ease-in-out infinite;
}
.th-dark .th-sat { background: rgb(var(--pal-n-110c2e) / 0.86); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.8); }
.th-sat__title { margin: 0; color: var(--th-title); font-size: 0.86rem; font-weight: 600; line-height: 1.3; }
.th-sat__sub { display: block; color: var(--th-muted); font-size: 0.72rem; white-space: nowrap; }
.th-sat--1 { left: -4%; top: 8%; }
.th-sat--2 { right: -8%; top: 24%; animation-delay: -1.5s; }
.th-sat--3 { right: -6%; bottom: 8%; animation-delay: -3s; }
.th-sat--4 { left: -8%; bottom: 22%; animation-delay: -4.5s; }
.th-why__text .th-sub { max-width: none; margin: 0; }
.th-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0; }
.th-feature { display: flex; gap: 12px; padding: 14px; border: 1px solid var(--th-line); border-radius: 14px; background: var(--th-panel); }
.th-feature > i { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(140deg, rgb(var(--pal-p500)), rgb(var(--pal-p700))); color: #fff; font-size: 0.72rem; }
.th-feature strong { display: block; color: var(--th-title); font-size: 0.92rem; font-weight: 600; line-height: 1.3; }
.th-feature small { display: block; margin-top: 2px; color: var(--th-muted); font-size: 0.78rem; }
.th-quote { display: flex; gap: 12px; margin: 0; padding: 18px 20px; border: 0; border-left: 3px solid var(--th-violet); border-radius: 12px; background: rgb(var(--pal-p500) / 0.1); color: var(--th-text); font-size: 0.98rem; font-style: italic; line-height: 1.6; }
.th-dark .th-quote { color: rgb(var(--pal-p200)); }
.th-quote i { margin-top: 4px; color: var(--th-link); }

/* ---------- employee app ---------- */
.th-langs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.th-langs li { padding: 6px 13px; border: 1px solid var(--th-line); border-radius: 999px; background: var(--th-panel); color: var(--th-title); font-size: 0.9rem; }
.th-app { background: radial-gradient(60% 70% at 80% 50%, rgb(var(--pal-p600) / 0.2), transparent 70%), var(--th-bg); }
.th-app .th-sub { margin: 0 0 24px; }
.th-app__label { margin: 14px 0 8px; color: var(--th-faint); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.th-app__stores { margin-bottom: 24px; }

/* ---------- data safety ---------- */
.th-safety { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.th-safety__india { grid-column: span 4; display: flex; align-items: center; gap: 30px; padding: 34px; background: radial-gradient(60% 140% at 0% 50%, rgba(16, 185, 129, 0.14), transparent 60%), var(--th-card); }
.th-safety__india .th-bento__title { margin-top: 0; }
.th-safety .th-bento__item { grid-column: span 1; }
.th-radar { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius: 50%; background: var(--th-ok-bg); color: var(--th-ok); font-size: 2rem; }
.th-radar::before,
.th-radar::after { content: ""; position: absolute; inset: 0; border: 1.5px solid rgba(52, 211, 153, 0.55); border-radius: 50%; animation: th-ping 2.8s ease-out infinite; }
.th-radar::after { animation-delay: 1.4s; }
@keyframes th-ping { from { transform: scale(1); opacity: 0.9; } to { transform: scale(1.9); opacity: 0; } }
.th-safety__lock {
    grid-column: span 4;
    display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px;
    padding: 26px 30px;
    border: 1px solid rgb(var(--pal-p300) / 0.4);
    border-radius: var(--th-radius);
    background: linear-gradient(120deg, rgb(var(--pal-p600) / 0.3), rgb(var(--pal-glow2) / 0.1)), var(--th-card);
}
.th-safety__lock > div:first-of-type { flex: 1 1 360px; }
.th-safety__lock .th-bento__title { margin-top: 0; }
.th-safety__links { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- plans ---------- */
.th-pricing { background: radial-gradient(50% 50% at 50% 55%, rgb(var(--pal-p600) / 0.16), transparent 70%), var(--th-bg); }
.th-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; max-width: 1100px; margin: 0 auto; }
.th-plan { position: relative; display: flex; flex-direction: column; padding: 34px 28px; border: 1px solid var(--th-line); border-radius: 26px; background: var(--th-card); box-shadow: var(--th-card-shadow); }
@property --th-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.th-plan--featured {
    border: 1.5px solid transparent;
    background: linear-gradient(var(--th-bg), var(--th-bg)) padding-box, conic-gradient(from var(--th-angle, 0deg), rgb(var(--pal-p600)), rgb(var(--pal-t500)), rgb(var(--pal-acc)), #22d3ee, rgb(var(--pal-p600))) border-box;
    box-shadow: 0 40px 90px -30px rgb(var(--pal-p600) / 0.7);
    animation: th-rotate 8s linear infinite;
}
.th-dark .th-plan--featured { background: linear-gradient(rgb(var(--pal-n-120c33)), rgb(var(--pal-n-0c0826))) padding-box, conic-gradient(from var(--th-angle, 0deg), rgb(var(--pal-p600)), rgb(var(--pal-t500)), rgb(var(--pal-acc)), #22d3ee, rgb(var(--pal-p600))) border-box; }
@keyframes th-rotate { to { --th-angle: 360deg; } }
.th-plan__badge { position: absolute; top: -13px; left: 50%; padding: 5px 14px; border-radius: 999px; background: linear-gradient(120deg, rgb(var(--pal-badge1)), rgb(var(--pal-badge2))); color: rgb(var(--pal-n-2a0a3d)); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; transform: translateX(-50%); }
.th-plan__name { color: var(--th-title); font-size: 1.3rem; font-weight: 700; }
.th-plan__desc { margin-top: 4px; color: var(--th-muted); font-size: 0.88rem; }
.th-price { display: flex; align-items: flex-end; gap: 6px; margin: 22px 0 6px; }
.th-price__cur { margin-bottom: 8px; color: var(--th-title); font-size: 1.5rem; font-weight: 600; }
.th-price__amt { color: var(--th-title); font-size: 3.4rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.th-dark .th-plan--featured .th-price__amt { background: linear-gradient(180deg, #fff, rgb(var(--pal-s200))); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.th-price__unit { display: flex; flex-direction: column; margin: 0 0 6px 4px; color: var(--th-muted); font-size: 0.76rem; line-height: 1.25; }
.th-price__unit b { color: rgb(var(--pal-acc-text)); font-weight: 700; }
.th-dark .th-price__unit b { color: var(--th-amber); }
.th-price__custom { color: var(--th-title); font-size: 2.4rem; font-weight: 800; }
.th-plan__fine { margin-bottom: 22px; color: var(--th-faint); font-size: 0.8rem; }
.th-plan__list { flex: 1; margin: 24px 0 0; padding: 0; list-style: none; }
.th-plan__list li { display: flex; gap: 10px; margin-bottom: 11px; color: var(--th-text); font-size: 0.92rem; line-height: 1.5; }
.th-plan__list li i { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--th-ok-bg); color: var(--th-ok); font-size: 0.62rem; }
.th-plan__list li.is-no { color: var(--th-faint); }
.th-plan__list li.is-no i { background: var(--th-panel-2); color: var(--th-faint); }

/* ---------- FAQ ---------- */
.th-faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 60px; align-items: start; }
.th-faq-grid .th-head { position: sticky; top: 110px; margin-bottom: 0; }
.th-faq { min-width: 0; }
.th-faq__item { border-bottom: 1px solid var(--th-line); }
.th-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; color: var(--th-title); font-size: 1.05rem; font-weight: 600; cursor: pointer; list-style: none; }
.th-faq__q::-webkit-details-marker { display: none; }
.th-faq__q::after { content: "+"; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid var(--th-line-2); border-radius: 50%; color: var(--th-link); font-size: 1.2rem; font-weight: 400; transition: transform 0.3s var(--th-ease), background-color 0.3s ease; }
.th-faq__item[open] .th-faq__q::after { background: rgb(var(--pal-p500) / 0.2); transform: rotate(45deg); }
.th-faq__a { padding: 0 52px 22px 4px; color: var(--th-muted); font-size: 0.96rem; line-height: 1.7; }
.th-faq__more { margin: 28px 0 0; color: var(--th-muted); }

/* ---------- CTA band ---------- */
.th-cta { position: relative; padding: 40px 0 120px; overflow: hidden; overflow: clip; background: var(--th-bg); }
.th-cta__bg { position: absolute; inset: 0; pointer-events: none; }
.th-cta .th-orb--1 { top: 0; left: 8%; width: 520px; height: 520px; background: radial-gradient(circle, rgb(var(--pal-p600) / 0.6), transparent 65%); animation: th-drift 20s ease-in-out infinite; }
.th-cta .th-orb--2 { right: 6%; bottom: 0; width: 460px; height: 460px; background: radial-gradient(circle, rgb(var(--pal-glow2) / 0.45), transparent 65%); animation: th-drift 24s ease-in-out infinite reverse; }
.th-cta__inner {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    padding: 70px 40px;
    border: 1px solid rgb(var(--pal-p300) / 0.35);
    border-radius: 34px;
    background: radial-gradient(90% 120% at 50% 0%, rgb(var(--pal-p600) / 0.55), transparent 70%), rgb(var(--pal-n-0c0826) / 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: rgb(var(--pal-n-eeebff));
    text-align: center;
    box-shadow: 0 50px 120px -40px rgb(var(--pal-p600) / 0.7);
}
.th-cta__inner .th-eyebrow { border-color: rgb(var(--pal-p400) / 0.3); background: rgb(var(--pal-p500) / 0.14); color: rgb(var(--pal-p300)); }
.th-cta__title { margin: 20px 0 16px; color: #fff; font-size: clamp(1.9rem, 4vw, 3.3rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.035em; }
.th-cta__title .th-accent { background-image: linear-gradient(100deg, rgb(var(--pal-p300)) 0%, rgb(var(--pal-s300)) 45%, rgb(var(--pal-acc)) 100%); }
.th-cta__sub { max-width: 620px; margin: 0 auto 30px; color: rgb(var(--pal-n-d6d0f5)); font-size: 1.06rem; line-height: 1.7; }
.th-cta__inner a.th-btn--ghost:any-link { background: rgba(255, 255, 255, 0.06); color: #fff; box-shadow: inset 0 0 0 1px rgb(var(--pal-p300) / 0.35); }
.th-cta__inner a.th-btn--ghost:any-link:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.th-cta__notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin: 28px 0 0; padding: 0; list-style: none; }
.th-cta__notes li { display: inline-flex; align-items: center; gap: 8px; color: rgb(var(--pal-n-e4defc)); font-size: 0.9rem; }
.th-cta__notes i { color: var(--th-green); }

/* ---------- cost calculator (the plan catalogue's prices; the visitor's own figure stays in the browser) ---------- */
.th-calc-section { background: radial-gradient(50% 45% at 15% 35%, rgb(var(--pal-p600) / 0.22), transparent 70%), radial-gradient(40% 40% at 88% 55%, rgb(var(--pal-glow2) / 0.12), transparent 70%), var(--th-bg); }
.th-calc { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 28px; align-items: stretch; max-width: 1080px; margin: 0 auto; }
.th-calc__inputs {
    padding: 34px;
    border: 1px solid var(--th-line);
    border-radius: 26px;
    background: var(--th-card);
    box-shadow: var(--th-card-shadow);
}
.th-calc__label { display: block; margin: 0 0 10px; padding: 0; color: var(--th-link); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.th-calc__label small { color: var(--th-faint); font-size: 0.78rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.th-calc__people { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.th-calc__count {
    background: linear-gradient(180deg, var(--th-title) 25%, var(--th-brand));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}
.th-dark .th-calc__count { background-image: linear-gradient(180deg, #fff 25%, rgb(var(--pal-p300))); }
.th-calc__people span { color: var(--th-muted); font-size: 1rem; }
.th-range { --fill: 5%; width: 100%; height: 34px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.th-range::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, rgb(var(--pal-p600)) 0, rgb(var(--pal-s500)) calc(var(--fill) * 0.6), rgb(var(--pal-t500)) var(--fill), var(--th-panel-2) var(--fill)); box-shadow: inset 0 0 0 1px var(--th-line); }
.th-range::-moz-range-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, rgb(var(--pal-p600)) 0, rgb(var(--pal-s500)) calc(var(--fill) * 0.6), rgb(var(--pal-t500)) var(--fill), var(--th-panel-2) var(--fill)); }
.th-range::-webkit-slider-thumb { width: 26px; height: 26px; margin-top: -9px; border: 4px solid #fff; border-radius: 50%; background: linear-gradient(140deg, rgb(var(--pal-s500)), rgb(var(--pal-t500))); box-shadow: 0 0 0 4px rgb(var(--pal-glow1) / 0.25), 0 6px 18px rgb(var(--pal-glow1) / 0.6); -webkit-appearance: none; appearance: none; }
.th-range::-moz-range-thumb { width: 18px; height: 18px; border: 4px solid #fff; border-radius: 50%; background: linear-gradient(140deg, rgb(var(--pal-s500)), rgb(var(--pal-t500))); box-shadow: 0 0 0 4px rgb(var(--pal-glow1) / 0.25), 0 6px 18px rgb(var(--pal-glow1) / 0.6); }
.th-range:focus-visible { outline: 3px solid var(--th-ring); outline-offset: 4px; border-radius: 8px; }
.th-calc__hint { display: flex; justify-content: space-between; margin: 2px 0 26px; color: var(--th-faint); font-size: 0.74rem; font-variant-numeric: tabular-nums; }
.th-calc__plans { display: grid; gap: 8px; min-width: 0; margin: 0 0 26px; padding: 0; border: 0; }
.th-calc__plans legend { float: left; width: 100%; }
.th-plan-pick { position: relative; display: block; cursor: pointer; }
.th-plan-pick input { position: absolute; opacity: 0; }
.th-plan-pick > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--th-line);
    border-radius: 14px;
    background: var(--th-panel);
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.th-plan-pick > span::before {
    content: "";
    flex: none;
    width: 18px; height: 18px;
    border: 2px solid var(--th-line-2);
    border-radius: 50%;
    transition: border 0.2s ease, box-shadow 0.2s ease;
    order: -1;
}
.th-plan-pick strong { flex: 1; color: var(--th-title); font-size: 0.98rem; }
.th-plan-pick small { color: var(--th-muted); font-size: 0.8rem; text-align: right; }
.th-plan-pick:hover > span { border-color: var(--th-line-2); }
.th-plan-pick input:checked + span { border-color: rgb(var(--pal-glow1) / 0.65); background: linear-gradient(120deg, rgb(var(--pal-p600) / 0.18), rgb(var(--pal-glow2) / 0.08)); box-shadow: 0 0 0 1px rgb(var(--pal-glow1) / 0.35), 0 12px 30px -14px rgb(var(--pal-glow1) / 0.7); }
.th-plan-pick input:checked + span::before { border: 5px solid rgb(var(--pal-s500)); box-shadow: 0 0 10px rgb(var(--pal-glow1) / 0.8); }
.th-plan-pick input:disabled + span { opacity: 0.4; cursor: not-allowed; }
.th-plan-pick input:focus-visible + span { outline: 3px solid var(--th-ring); outline-offset: 3px; }
.th-calc__money {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 4px 4px 16px;
    border: 1px solid var(--th-line-2);
    border-radius: 14px;
    background: var(--th-input);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.th-calc__money:focus-within { border-color: rgb(var(--pal-s500)); box-shadow: 0 0 0 4px rgb(var(--pal-glow1) / 0.2); }
.th-calc__money span { color: var(--th-title); font-size: 1.2rem; font-weight: 700; }
.th-calc__money input { flex: 1; min-width: 0; padding: 12px 8px; border: 0; outline: 0; background: transparent; color: var(--th-title); font: inherit; font-size: 1rem; font-weight: 600; }
.th-calc__money input::placeholder { color: var(--th-faint); font-size: 0.86rem; font-weight: 400; }
/* the estimate: a glowing console card */
.th-estimate {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1px;
    border-radius: 26px;
    background: linear-gradient(140deg, rgb(var(--pal-p300) / 0.6), rgb(var(--pal-p300) / 0.08) 40%, rgb(var(--pal-glow2s) / 0.5));
    box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.6), 0 0 100px -30px rgb(var(--pal-p500) / 0.6);
    color: rgb(var(--pal-n-eeebff));
}
.th-estimate__body { display: flex; flex: 1; flex-direction: column; padding: 30px 30px 26px; border-radius: 25px; background: radial-gradient(90% 60% at 100% 0%, rgb(var(--pal-p600) / 0.3), transparent 70%), linear-gradient(180deg, rgb(var(--pal-n-110c2e)), rgb(var(--pal-n-0a0720))); }
.th-estimate__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid rgb(var(--pal-p400) / 0.2); }
.th-estimate__head span { color: rgb(var(--pal-n-8f89b8)); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.th-estimate__head strong { padding: 4px 12px; border-radius: 999px; background: rgb(var(--pal-p500) / 0.2); color: rgb(var(--pal-p200)); font-size: 0.86rem; font-weight: 700; }
.th-estimate__big { margin: 22px 0 6px; }
.th-estimate__big small { display: block; color: rgb(var(--pal-n-aaa5cf)); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.th-estimate__big strong {
    display: inline-block;
    margin-top: 6px;
    background: linear-gradient(100deg, #fff 30%, rgb(var(--pal-s200)) 60%, rgb(var(--pal-t200)));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-size: clamp(2.4rem, 4.4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}
.th-estimate__big em { margin-left: 8px; color: rgb(var(--pal-n-8f89b8)); font-size: 0.85rem; font-style: normal; }
.th-estimate__rows { margin: 10px 0 16px; }
.th-estimate__rows > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed rgb(var(--pal-p400) / 0.2); }
.th-estimate__rows dt { color: rgb(var(--pal-n-c9c3ea)); font-size: 0.92rem; font-weight: 500; }
.th-estimate__rows dd { margin: 0; text-align: right; }
.th-estimate__rows strong { color: #fff; font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.th-estimate__rows small { margin-left: 6px; color: rgb(var(--pal-n-8f89b8)); font-size: 0.74rem; }
.th-estimate__save strong { color: #6ee7b7; }
.th-estimate__compare { margin: 0 0 14px; padding: 12px 14px; border: 1px solid rgba(52, 211, 153, 0.35); border-radius: 12px; background: rgba(52, 211, 153, 0.12); color: #d1fae5; font-size: 0.9rem; font-weight: 600; line-height: 1.5; }
.th-estimate__compare.is-more { border-color: rgba(251, 191, 36, 0.4); background: rgba(251, 191, 36, 0.12); color: #fde68a; }
.th-estimate__onwards { margin: 0 0 14px; color: #fcd34d; font-size: 0.86rem; font-weight: 600; }
.th-estimate__note { margin: 14px 0 0; color: rgb(var(--pal-n-8f89b8)); font-size: 0.76rem; text-align: center; }
.th-estimate .th-btn { margin-top: auto; }

/* ---------- compliance calendar (AiroHR's due-date rules) ---------- */
.th-cal-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.th-cal-text .th-sub { margin: 0 0 24px; }
.th-cal-text .th-title { margin-top: 18px; }
.th-cal-legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.th-cal-legend li { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border: 1px solid var(--th-line); border-radius: 999px; background: var(--th-panel); color: var(--th-text); font-size: 0.82rem; }
.th-cal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.th-cal-proof { max-width: 500px; margin: 34px 0 0; }
.th-cal-proof .th-browser { transform: perspective(1800px) rotateY(6deg) rotateX(2deg); }
.th-cal-proof .th-browser:hover { transform: none; }
.th-cal-proof figcaption { margin-top: 10px; color: var(--th-faint); font-size: 0.78rem; }
/* r22/teal: the kinds in E: pay day in the brand's peacock (the legend's first), TDS marigold, PF blue, ESI green, PT
   rose, the forms slate, bonus lime; distinct, none violet, the tag text AA on its tint (light >= 4.5, night >= 5.9). */
.cal-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--k, rgb(var(--pal-p500))); box-shadow: 0 0 8px color-mix(in srgb, var(--k, rgb(var(--pal-p500))) 70%, transparent); }
.cal-dot--pay, .cal-item--pay { --k: rgb(var(--pal-brand)); }
.cal-dot--tds, .cal-item--tds { --k: rgb(var(--pal-t700)); }
.cal-dot--pf, .cal-item--pf { --k: #1d4ed8; }
.cal-dot--esi, .cal-item--esi { --k: #166534; }
.cal-dot--pt, .cal-item--pt { --k: #be123c; }
.cal-dot--form, .cal-item--form { --k: #334155; }
.cal-dot--bonus, .cal-item--bonus { --k: #57720f; }
.th-dark .cal-dot--pay, .th-dark .cal-item--pay { --k: rgb(var(--pal-p400)); }
.th-dark .cal-dot--tds, .th-dark .cal-item--tds { --k: rgb(var(--pal-acc)); }
.th-dark .cal-dot--pf, .th-dark .cal-item--pf { --k: #60a5fa; }
.th-dark .cal-dot--esi, .th-dark .cal-item--esi { --k: #34d399; }
.th-dark .cal-dot--pt, .th-dark .cal-item--pt { --k: #fb7185; }
.th-dark .cal-dot--form, .th-dark .cal-item--form { --k: #cbd5e1; }
.th-dark .cal-dot--bonus, .th-dark .cal-item--bonus { --k: #a3e635; }
.th-cal {
    position: relative;
    padding: 1px;
    border-radius: 26px;
    background: linear-gradient(140deg, rgb(var(--pal-p300) / 0.55), rgb(var(--pal-p300) / 0.08) 40%, rgba(34, 211, 238, 0.35));
    box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.7), 0 0 100px -30px rgb(var(--pal-p500) / 0.55);
}
.th-cal__body { padding: 26px; border-radius: 25px; background: var(--th-panel); }
.th-dark .th-cal__body { background: radial-gradient(80% 50% at 0% 0%, rgb(var(--pal-p600) / 0.22), transparent 70%), linear-gradient(180deg, rgb(var(--pal-n-110c2e)), rgb(var(--pal-n-0a0720))); }
.th-light .th-cal__body,
.th-cal__body { background-color: #fff; }
.th-dark .th-cal__body { background-color: rgb(var(--pal-n-0a0720)); }
.th-cal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.th-cal__title { margin: 0; color: var(--th-title); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; }
.th-cal__nav {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border: 1px solid var(--th-line-2);
    border-radius: 50%;
    background: var(--th-panel-2);
    color: var(--th-title);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.th-cal__nav:hover { background: rgb(var(--pal-p500) / 0.24); box-shadow: 0 0 16px -2px rgb(var(--pal-p400) / 0.7); }
.th-cal__nav:disabled { opacity: 0.35; cursor: default; box-shadow: none; }
.th-cal__nav:focus-visible,
.cal-cell:focus-visible { outline: 3px solid var(--th-ring); outline-offset: 2px; }
.th-cal__week,
.th-cal__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.th-cal__week span { padding-bottom: 6px; color: var(--th-faint); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-align: center; text-transform: uppercase; }
.cal-cell {
    position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    aspect-ratio: 1.15;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--th-text);
    font: inherit;
    font-size: 0.92rem;
    font-variant-numeric: tabular-nums;
}
.cal-num { line-height: 1; }
.cal-cell--blank { visibility: hidden; }
.cal-cell.is-past { color: var(--th-faint); opacity: 0.75; }
.cal-cell.is-today { box-shadow: inset 0 0 0 1.5px var(--th-cyan), 0 0 16px -4px var(--th-cyan); color: var(--th-title); font-weight: 700; }
.cal-cell--due {
    border: 1px solid var(--th-line-2);
    background: var(--th-panel-2);
    color: var(--th-title);
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s var(--th-ease), box-shadow 0.2s ease;
}
.cal-cell--due:hover { background: rgb(var(--pal-p500) / 0.2); transform: translateY(-2px); }
.cal-cell--due.is-selected { border-color: transparent; background: linear-gradient(140deg, rgb(var(--pal-p600)), rgb(var(--pal-s500)) 60%, rgb(var(--pal-t500))); color: #fff; box-shadow: 0 12px 26px -8px rgb(var(--pal-glow1) / 0.8); }
.cal-cell--due.is-today { box-shadow: inset 0 0 0 1.5px var(--th-cyan), 0 0 16px -4px var(--th-cyan); }
.cal-dots { display: flex; gap: 3px; }
.cal-dots .cal-dot { width: 6px; height: 6px; }
.cal-cell--due.is-selected .cal-dot { box-shadow: 0 0 0 1.5px #fff; }
.th-cal__list { max-height: 300px; margin: 20px 0 0; padding: 4px 4px 0 0; overflow-y: auto; list-style: none; border-top: 1px solid var(--th-line); scrollbar-width: thin; scrollbar-color: var(--th-line-2) transparent; }
.cal-item { display: flex; gap: 16px; padding: 14px 10px; border-bottom: 1px solid var(--th-line); border-radius: 14px; transition: background-color 0.25s ease, box-shadow 0.25s ease; }
.cal-item:last-child { border-bottom: 0; }
.cal-item.is-active { background: color-mix(in srgb, var(--k) 12%, transparent); box-shadow: inset 3px 0 0 var(--k); }
.cal-item__date { flex: none; display: flex; flex-direction: column; align-items: center; width: 46px; color: var(--th-muted); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }
.cal-item__date strong { color: var(--th-title); font-size: 1.45rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; }
.cal-item__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cal-item__tag { align-self: flex-start; padding: 2px 9px; border: 1px solid color-mix(in srgb, var(--k) 40%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--k) 14%, transparent); color: var(--k); font-size: 0.7rem; font-weight: 700; }
.cal-item__text { color: var(--th-title); font-size: 0.92rem; font-weight: 500; line-height: 1.45; }
.cal-item__rule { color: var(--th-muted); font-size: 0.78rem; line-height: 1.45; }
a.cal-item__link:any-link { align-self: flex-start; color: var(--th-link); font-size: 0.8rem; font-weight: 600; text-decoration: none; }
a.cal-item__link:any-link::after { content: " \2192"; }
a.cal-item__link:any-link:hover { color: var(--th-link-hover); text-decoration: underline; }
.th-cal__note { margin: 14px 0 0; color: var(--th-faint); font-size: 0.76rem; }
.th-cal.is-turning .th-cal__days,
.th-cal.is-turning .th-cal__list { animation: th-turn 0.4s var(--th-ease); }
@keyframes th-turn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ==========================================================================================================
   G. RESPONSIVE
   ========================================================================================================== */
@media (min-width: 1200px) {
    .th-hero__stage { margin-right: -40px; }
}
@media (max-width: 1199px) {
    .th-hero__grid { column-gap: 36px; }
    /* a laptop-width screen: the mini run stays inside the screen */
    .th-mini { right: 0; width: 45%; padding: 12px; }
    .th-step { font-size: 0.54rem; letter-spacing: 0.02em; }
    .th-step i { display: none; }
    .th-cards--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .th-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .th-badges { grid-template-columns: repeat(3, 1fr); }
    .th-sat { width: 200px; }
    .th-cal-grid { gap: 40px; }
    .footer-main { grid-template-columns: minmax(0, 1fr); gap: 44px; }
    .footer-brand { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; align-items: start; }
    .footer-brand > * { grid-column: 1; }
    .footer-brand > .footer-contact { grid-column: 2; grid-row: 1 / span 3; margin-top: 4px; }
    .footer-nav { gap: 30px 24px; }
}
@media (max-width: 991px) {
    .hamburger { display: block; }
    .desktop-nav-group { display: none !important; }
    .th-section { padding: 84px 0; }
    .th-section--tight { padding: 56px 0; }
    .th-hero { padding: 128px 0 64px; }
    .th-hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "stage" "bottom"; row-gap: 34px; text-align: center; }
    .th-lead { margin-left: auto; margin-right: auto; }
    .th-hero .th-cta-row,
    .th-points,
    .th-hero__links { justify-content: center; }
    .th-hero__bottom { padding-top: 0; }
    .th-hero__stage { width: 100%; max-width: 680px; margin: 0 auto; }
    .th-scene { --rx: 6deg; --ry: -8deg; }
    .th-notes { left: 1%; }
    .th-stats { grid-template-columns: repeat(2, 1fr); }
    .th-stat:nth-child(3) { border-left: 0; }
    .th-stat:nth-child(n + 3) { border-top: 1px solid var(--th-line); }
    .th-console__body { grid-template-columns: minmax(0, 1fr); }
    .th-console__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; border-right: 0; border-bottom: 1px solid rgb(var(--pal-p400) / 0.2); }
    .th-cstep { padding: 0; }
    .th-cstep::before,
    .th-cstep::after,
    .th-cstep small { display: none; }
    .th-split,
    .th-split--even,
    .th-why__grid,
    .th-faq-grid,
    .th-tour__card,
    .th-cal-grid,
    .th-calc { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .th-calc { max-width: 620px; gap: 22px; }
    .th-cal-grid > .th-cal { width: 100%; max-width: 620px; margin: 0 auto; }
    .th-faq-grid .th-head { position: static; margin: 0 auto; text-align: center; }
    .th-faq-grid .th-head .th-sub { margin: 0 auto; }
    .th-browser { transform: none; }
    .th-cal-proof .th-browser { transform: none; }
    .th-bento__lead { grid-template-columns: minmax(0, 1fr); }
    .th-bento__item { grid-column: span 3; }
    .th-bento__item--lead,
    .th-bento__item--full { grid-column: span 6; }
    .th-steps { grid-template-columns: minmax(0, 1fr); }
    .th-steps::before { display: none; }
    .th-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .th-safety { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .th-safety__india,
    .th-safety__lock { grid-column: span 2; }
    .th-plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
    .th-orbit { width: min(100%, 420px); }
}
@media (max-width: 767px) {
    .th-hero { padding-top: 112px; }
    .th-h1 { margin-top: 18px; }
    .th-lead { margin-bottom: 24px; font-size: 1rem; }
    a.th-btn:any-link,
    button.th-btn { padding: 13px 22px; font-size: 0.95rem; }
    .th-scene { aspect-ratio: auto; padding-top: 30px; transform: none; transform-style: flat; }
    .th-scene .th-laptop { position: relative; left: auto; top: auto; width: 92%; transform: perspective(1400px) rotateX(7deg) rotateY(-9deg); }
    .th-scene .th-laptop__base { height: 9px; margin: 0 -3%; }
    .th-scene__phone { left: auto; right: -1%; top: 64px; bottom: auto; z-index: 2; width: 25%; transform: none; }
    .th-scene__card { display: none; }
    .th-mini { position: relative; right: auto; left: auto; top: auto; bottom: auto; width: 100%; margin-top: 26px; padding: 12px; font-size: 11px; text-align: left; transform: none; }
    .th-mini__steps { gap: 4px; }
    .th-step { padding: 4px 2px; font-size: 0.54rem; }
    .th-step i { display: none; }
    .th-mini__nums strong { font-size: 0.95rem; }
    .th-notes { left: 0; top: 0; width: 66%; height: 54px; text-align: left; transform: none; }
    .th-note { padding: 7px 10px 7px 7px; border-radius: 13px; }
    .th-note__icon { width: 30px; height: 30px; font-size: 0.78rem; }
    .th-note__value { font-size: 0.8rem; }
    .th-hero .th-caption { margin-top: 30px; }
    .th-stat { padding: 22px 18px; }
    .th-badges { grid-template-columns: repeat(2, 1fr); }
    .th-totals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .th-total--big { grid-column: span 2; }
    .th-console__main { padding: 22px 18px; }
    .th-console__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 18px; }
    .th-console__top { flex-direction: column; }
    /* the payslips fly above their label */
    .th-slips { height: 104px; }
    .th-slips__label { top: 80px; right: 0; }
    .th-bento__item,
    .th-bento__item--lead { grid-column: span 6; padding: 26px 22px; }
    .th-cards,
    .th-cards--4,
    .th-cards--5,
    .th-safety { grid-template-columns: minmax(0, 1fr); }
    .th-safety__india,
    .th-safety__lock,
    .th-safety .th-bento__item { grid-column: span 1; }
    .th-safety__india { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
    .th-tour__card { padding: 28px 20px; }
    .th-checks--two,
    .th-features { grid-template-columns: 1fr; }
    .th-orbit { width: 100%; max-width: 340px; }
    .th-sat { width: 168px; gap: 8px; padding: 8px 10px 8px 8px; }
    .th-sat .th-icon--sm { width: 30px; height: 30px; font-size: 0.8rem; }
    .th-sat__title { font-size: 0.76rem; }
    .th-sat__sub { font-size: 0.64rem; }
    .th-sat--1 { left: -2%; top: 2%; }
    .th-sat--2 { right: -2%; top: 22%; }
    .th-sat--3 { right: -2%; bottom: 2%; }
    .th-sat--4 { left: -2%; bottom: 22%; }
    .th-compare { padding: 24px 20px; }
    .th-cta__inner { padding: 48px 22px; border-radius: 26px; }
    .th-faq__a { padding-right: 8px; }
    .th-phones--fan .th-phone { width: 31%; }
    .th-tabs__list { justify-content: flex-start; }
    .th-calc__inputs { padding: 24px 20px; border-radius: 22px; }
    .th-calc__count { font-size: 3rem; }
    .th-estimate__body { padding: 24px 20px 22px; }
    .th-cal__body { padding: 18px 14px; }
    .th-cal__week,
    .th-cal__days { gap: 3px; }
    .cal-cell { border-radius: 9px; font-size: 0.84rem; }
    .th-cal-proof { max-width: none; }
    .footer-trust { grid-template-columns: minmax(0, 1fr); margin-bottom: 36px; }
    .footer-brand { display: block; }
    .footer-brand > .footer-contact { margin-top: 28px; }
    .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "product payroll" "modules industries" "resources company" "alerts alerts"; gap: 30px 20px; }
    .airo-footer a.footer-alerts { flex-wrap: wrap; }
    .footer-alerts-btn { width: 100%; justify-content: center; }
}
@media (max-width: 575px) {
    .airo-topbar { height: 36px; font-size: 0.78rem; }
    .airo-topbar-msg { left: 10px; right: 40px; gap: 8px; }
    .airo-topbar-long { display: none; }
    .airo-topbar-short { display: inline; }
    .airo-topbar + header .gameon-navbar { top: 36px; }
    header .gameon-navbar { padding: 10px 16px; }
    .nav-logo,
    header .gameon-navbar.navbar-sticky .nav-logo { width: 130px; }
    .airo-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
    .airo-wa { right: 16px; bottom: 16px; width: 52px; height: 52px; }
    .airo-wa > i { font-size: 1.6rem; }
    .airo-wa-label { display: none; }
    .airo-wa ~ .airo-to-top { bottom: 80px; }
    .airo-footer { padding: 48px 0 0; }
    .footer-main { padding-bottom: 40px; }
    .footer-legal { gap: 4px 16px; }
}
@media (max-width: 480px) {
    .th-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .th-stat__value { font-size: 2rem; }
    .th-stat__label { font-size: 0.8rem; }
    .th-badge { padding: 14px 12px; }
    .th-total strong { font-size: 1rem; }
    .th-total--big strong { font-size: 1.7rem; }
    .th-plan-pick > span { flex-wrap: wrap; }
    .th-plan-pick small { width: 100%; padding-left: 30px; text-align: left; }
    .th-estimate__big strong { font-size: 2.3rem; }
}

/* ==========================================================================================================
   REDUCED MOTION: the whole website stands still (AOS reveals shown at once; animations and transitions end at once)
   ========================================================================================================== */
@media (prefers-reduced-motion: reduce) {
    html [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    header .gameon-navbar.nav-hidden { transform: none; }
    .airo-wa::before,
    .th-orb,
    .th-pill__dot,
    .th-mini__live i,
    .th-scene__card,
    .th-sat,
    .th-orbit__ring,
    .th-radar::before,
    .th-radar::after,
    .th-plan--featured,
    .th-tabs__panel,
    .th-cal.is-turning .th-cal__days,
    .th-cal.is-turning .th-cal__list { animation: none !important; }
    .airo-wa::before { display: none; }
    [data-th-spot]:hover,
    a.th-btn:hover,
    .cal-cell--due:hover { transform: none; }
    .th-slip { display: none; }
}
