/* ═══════════════════════════════════════════════════
   BexoPOS — Shared Stylesheet
   Nav · Cursor · Layout · Page Sections
   bexopos-shared.css
══════════════════════════════════════════════════ */

/* ── RESET & ROOT ─────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

:root {
    --bg: #07070a;
    --s1: #0d0d11;
    --s2: #141418;
    --s3: #1c1c22;
    --text: #eeeade;
    --muted: #a09080;
    --dim: #3d3830;
    --accent: #E8530A;
    --warm: #c4a35a;
    --border: rgba(238, 234, 222, .07);
    --nav-h: 68px;
    --Fd: 'Cormorant Garamond', Georgia, serif;
    --Fb: 'Outfit', sans-serif
}

[data-theme="light"] {
    --bg: #f4f1ea;
    --s1: #ebe7dd;
    --s2: #e0dcd1;
    --s3: #d4d0c4;
    --text: #1a1713;
    --muted: #5c5246;
    --dim: #b8b2a6;
    --border: rgba(26, 23, 19, .1)
}

html {
    scroll-behavior: smooth
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--Fb);
    font-weight: 300;
    overflow-x: hidden;
    min-height: 200vh
}

body.menu-open {
    overflow: hidden
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9997
}

[data-theme="light"] body::after {
    opacity: .12
}

/* ── CURSOR (desktop only) ────────────────────────── */
#cur,
#cur-ring {
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    border-radius: 50%
}

#cur {
    width: 8px;
    height: 8px;
    background: var(--accent);
    transform: translate(-50%, -50%);
    transition: width .2s, height .2s
}

#cur-ring {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(232, 83, 10, .45);
    transform: translate(-50%, -50%);
    transition: width .3s, height .3s, border-color .3s
}

body.hl #cur-ring {
    width: 56px;
    height: 56px;
    border-color: rgba(232, 83, 10, .7)
}

body.hl #cur {
    width: 4px;
    height: 4px
}

@media(hover:none) {

    #cur,
    #cur-ring {
        display: none
    }
}

/* ═══════════════════════════════════════════════════
   NAV SHELL
══════════════════════════════════════════════════ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-h);
    transition: background .5s, border-color .5s, box-shadow .5s;
    border-bottom: 1px solid transparent;
}

nav.stuck {
    background: rgba(7, 7, 10, .95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom-color: var(--border);
    box-shadow: 0 2px 40px rgba(0, 0, 0, .35);
}

[data-theme="light"] nav:not(.stuck) {
    background: rgba(244, 241, 234, .82);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

[data-theme="light"] nav.stuck {
    background: rgba(244, 241, 234, .96) !important;
    box-shadow: 0 2px 24px rgba(0, 0, 0, .08);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 3.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo */
.nl {
    text-decoration: none;
    flex-shrink: 0;
    z-index: 10;
    display: flex;
    align-items: center
}

.logo-img {
    height: 28px;
    width: auto;
    display: block;
    flex-shrink: 0
}

/* ── DESKTOP LINKS ────────────────────────────────── */
.nlinks {
    display: flex;
    gap: 0;
    list-style: none;
    align-items: center
}

.nlinks>li {
    position: relative
}

.nlinks>li>a,
.mega-trigger {
    color: var(--text);
    text-decoration: none;
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    opacity: .82;
    transition: opacity .2s, color .2s;
    padding: .55rem .85rem;
    display: flex;
    align-items: center;
    gap: .4rem;
    cursor: none;
    background: none;
    border: none;
    font-family: var(--Fb);
    font-weight: 300;
    height: var(--nav-h);
    white-space: nowrap;
}

.nlinks>li>a:hover,
.mega-trigger:hover {
    opacity: 1
}

.nlinks>li.mega-open>.mega-trigger {
    opacity: 1;
    color: var(--accent)
}

.mega-chevron {
    width: 9px;
    height: 9px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .3s;
    flex-shrink: 0;
}

.mega-open .mega-chevron {
    transform: rotate(180deg)
}

/* Right controls */
.nav-right {
    display: flex;
    align-items: center;
    gap: .5rem
}

.thmbtn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    cursor: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .25s, background .25s;
    flex-shrink: 0;
    position: relative;
}

.thmbtn:hover {
    border-color: var(--accent);
    background: rgba(232, 83, 10, .06)
}

.thmbtn svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: var(--muted);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    position: absolute;
    transition: opacity .25s, transform .3s
}

.thmbtn .ico-sun {
    opacity: 0;
    transform: rotate(60deg) scale(.7)
}

.thmbtn .ico-moon {
    opacity: 1
}

[data-theme="light"] .thmbtn .ico-sun {
    opacity: 1;
    transform: rotate(0) scale(1)
}

[data-theme="light"] .thmbtn .ico-moon {
    opacity: 0;
    transform: rotate(-60deg) scale(.7)
}

.langwrap {
    position: relative
}

.langbtn {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: transparent;
    cursor: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .25s, background .25s, transform .25s;
}

.langbtn:hover {
    border-color: var(--accent);
    background: rgba(232, 83, 10, .06);
    transform: translateY(-1px)
}

.langflag-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 0 0 1px rgba(18, 24, 38, .08)
}

.langflag-wrap-current {
    width: 20px;
    height: 14px;
    border-radius: 4px
}

.langflag-wrap-option {
    width: 20px;
    height: 14px;
    border-radius: 4px
}

.langflag-wrap-mobile {
    width: 18px;
    height: 13px;
    border-radius: 4px
}

.langflag {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.langdrop {
    position: absolute;
    top: calc(100% + .6rem);
    right: 0;
    background: var(--s1);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: .5rem;
    width: 380px;
    max-width: calc(100vw - 2rem);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s cubic-bezier(.16, 1, .3, 1), transform .2s cubic-bezier(.16, 1, .3, 1);
    box-shadow: 0 16px 48px rgba(0, 0, 0, .45);
    z-index: 300;
}

.langwrap.open .langdrop {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0)
}

/* Search input */
.langsearch-wrap {
    position: relative;
    margin-bottom: .4rem;
}

.langsearch-icon {
    position: absolute;
    left: .6rem;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    color: var(--muted);
    pointer-events: none;
}

.langsearch {
    width: 100%;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: .45rem .6rem .45rem 2rem;
    font-family: var(--Fb);
    font-size: .72rem;
    color: var(--text);
    outline: none;
    transition: border-color .15s, background .15s;
    box-sizing: border-box;
}

.langsearch::placeholder {
    color: var(--muted);
}

.langsearch:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, .07);
}

/* Grid of language cards */
.langdrop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    max-height: 340px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.langdrop-grid::-webkit-scrollbar {
    width: 4px;
}

.langdrop-grid::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

/* Language card */
.lopt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    padding: .55rem .3rem .45rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    color: var(--muted);
    transition: background .15s, border-color .15s, color .15s;
    position: relative;
}

.lopt:hover {
    background: rgba(232, 83, 10, .07);
    border-color: rgba(232, 83, 10, .18);
    color: var(--text)
}

.lopt.active {
    background: rgba(232, 83, 10, .1);
    border-color: rgba(232, 83, 10, .3);
    color: var(--accent)
}

.langflag-wrap-option {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 24px;
    border-radius: 2px;
    overflow: hidden;
    flex-shrink: 0;
}

.lopt-label {
    font-family: var(--Fb);
    font-size: .62rem;
    letter-spacing: .02em;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    max-width: 90px;
}

.lopt .lchk {
    display: none;
}

.lopt.active::after {
    content: '';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

/* No results */
.langnoresults {
    text-align: center;
    padding: 1rem;
    font-family: var(--Fb);
    font-size: .72rem;
    color: var(--muted);
}

.nbtn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    padding: .5rem 1.5rem;
    font-family: var(--Fb);
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: none;
    text-decoration: none;
    border-radius: 1px;
    transition: border-color .25s, color .25s;
    white-space: nowrap;
}

.nbtn:hover {
    border-color: var(--accent);
    color: var(--accent)
}

/* ── HAMBURGER ─────────────────────────────────────── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: transparent;
    cursor: pointer;
    transition: border-color .25s, background .25s;
    flex-shrink: 0;
    padding: 0;
    z-index: 1100;
}

.hamburger:hover {
    border-color: var(--accent);
    background: rgba(232, 83, 10, .06)
}

.hamburger span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .35s cubic-bezier(.16, 1, .3, 1), opacity .25s, width .3s;
    transform-origin: center;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg)
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    width: 0
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg)
}

/* ═══════════════════════════════════════════════════
   MEGA PANEL — DESKTOP
══════════════════════════════════════════════════ */
.mega-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(7, 7, 10, .72);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s;
    z-index: 998;
}

[data-theme="light"] .mega-backdrop {
    background: rgba(244, 241, 234, .65)
}

.mega-backdrop.visible {
    opacity: 1;
    pointer-events: auto
}

.mega-panel {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    z-index: 999;
    pointer-events: none;
    visibility: hidden;
}

.mega-box {
    background: var(--s1);
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    transition: transform .42s cubic-bezier(.16, 1, .3, 1), opacity .32s ease;
    pointer-events: none;
    overflow: hidden;
}

[data-theme="light"] .mega-box {
    background: var(--s1)
}

.mega-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232, 83, 10, .3) 35%, rgba(196, 163, 90, .3) 65%, transparent);
}

.mega-panel.open {
    visibility: visible
}

.mega-panel.open .mega-box {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto
}

/* Mega content */
.mega-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2.5rem 3.5rem 0
}

/* Top row */
.mega-top {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 3rem;
    margin-bottom: 2.2rem;
    padding-bottom: 2.2rem;
    border-bottom: 1px solid var(--border);
}

.mega-intro-eyebrow {
    font-size: .6rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .6rem
}

.mega-intro-title {
    font-family: var(--Fd);
    font-size: 1.65rem;
    font-weight: 300;
    line-height: 1.18;
    letter-spacing: -.02em;
    margin-bottom: .5rem
}

.mega-intro-title em {
    font-style: italic;
    color: var(--muted)
}

.mega-intro-desc {
    font-size: .76rem;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 1rem
}

.mega-intro-link {
    font-size: .64rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    cursor: none;
    transition: gap .2s
}

.mega-intro-link:hover {
    gap: .65rem
}

.mega-intro-link svg {
    width: 11px;
    height: 11px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.mega-stats {
    display: flex;
    align-items: flex-end;
    gap: 1.4rem;
    flex-wrap: wrap
}

.mega-stat-num {
    font-family: var(--Fd);
    font-size: 2.2rem;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.04em
}

.mega-stat-num .ac {
    color: var(--accent)
}

.mega-stat-label {
    font-size: .58rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: .2rem
}

.mega-stat-div {
    width: 1px;
    height: 36px;
    background: var(--border);
    margin-bottom: .15rem
}

/* Category grid */
.mega-cats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0
}

.mega-cat {
    border-right: 1px solid var(--border);
    padding-bottom: 1.8rem
}

.mega-cat:last-child {
    border-right: none
}

.mega-cat-header {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .85rem 1.1rem .65rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: .5rem;
}

.mega-cat-icon {
    font-size: .9rem
}

.mega-cat-name {
    font-size: .6rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--warm)
}

.mega-cat-count {
    font-size: .55rem;
    color: var(--dim);
    margin-left: auto;
    border: 1px solid var(--border);
    padding: .08rem .4rem;
    border-radius: 100px
}

.mega-item {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: .5rem 1rem .5rem 1.1rem;
    cursor: none;
    text-decoration: none;
    transition: background .15s;
    position: relative;
}

.mega-item:hover {
    background: rgba(232, 83, 10, .045)
}

[data-theme="light"] .mega-item:hover {
    background: rgba(232, 83, 10, .07)
}

.mi-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: .42rem
}

.mi-dot.live {
    background: var(--accent);
    box-shadow: 0 0 5px rgba(232, 83, 10, .45)
}

.mi-dot.ext {
    background: var(--dim);
    border: 1px solid rgba(238, 234, 222, .1)
}

.mi-body {
    flex: 1;
    min-width: 0
}

.mi-name {
    font-size: .76rem;
    color: var(--text);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color .15s
}

.mega-item:hover .mi-name {
    color: var(--accent)
}

.mi-desc {
    font-size: .6rem;
    color: var(--muted);
    line-height: 1.45;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis
}

.mi-arr {
    font-size: .6rem;
    color: var(--dim);
    flex-shrink: 0;
    margin-top: .3rem;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .15s, transform .15s
}

.mega-item:hover .mi-arr {
    opacity: 1;
    transform: translateX(0)
}

/* Footer strip */
.mega-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 3.5rem;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, .18);
}

[data-theme="light"] .mega-footer {
    background: rgba(0, 0, 0, .04)
}

.mega-footer-left {
    display: flex;
    align-items: center;
    gap: 1.8rem
}

.mega-footer-tag {
    font-size: .6rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: .5rem
}

.mega-footer-tag::before {
    content: '';
    width: 14px;
    height: 1px;
    background: var(--border)
}

.mf-link {
    font-size: .65rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    cursor: none;
    transition: gap .2s
}

.mf-link:hover {
    gap: .65rem
}

.mf-link svg {
    width: 10px;
    height: 10px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.mf-cta {
    background: var(--accent);
    color: var(--bg);
    padding: .5rem 1.4rem;
    font-family: var(--Fb);
    font-size: .66rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: none;
    text-decoration: none;
    border-radius: 1px;
    transition: opacity .2s;
    white-space: nowrap
}

.mf-cta:hover {
    opacity: .85
}

/* ═══════════════════════════════════════════════════
   MOBILE MENU OVERLAY
══════════════════════════════════════════════════ */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    z-index: 1099;
    transform: translateX(100%);
    transition: transform .45s cubic-bezier(.16, 1, .3, 1);
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.mobile-menu.open {
    transform: translateX(0)
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: var(--bg);
    z-index: 10;
    flex-shrink: 0;
}

[data-theme="light"] .mobile-menu-header {
    background: var(--bg)
}

.mm-logo {
    text-decoration: none;
    display: flex;
    align-items: center
}

.mm-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    flex-shrink: 0;
}

.mm-close:hover {
    border-color: var(--accent);
    background: rgba(232, 83, 10, .06)
}

.mm-close svg {
    width: 14px;
    height: 14px;
    stroke: var(--muted);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.mobile-menu-body {
    flex: 1;
    padding: 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0
}

/* Main nav links in mobile */
.mm-main-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.2rem;
    margin-bottom: 1.2rem
}

.mm-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .9rem 0;
    border-bottom: 1px solid var(--border);
    font-size: .8rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    transition: color .2s;
}

.mm-link:last-child {
    border-bottom: none
}

.mm-link:hover {
    color: var(--accent)
}

.mm-link svg {
    width: 12px;
    height: 12px;
    stroke: var(--muted);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .5
}

/* Mobile areas de negócio — accordion */
.mm-areas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    font-size: .8rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text);
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    border-bottom: 1px solid var(--border);
    transition: color .2s;
}

.mm-areas-header.active {
    color: var(--accent)
}

.mm-areas-header:hover {
    color: var(--accent)
}

.mm-areas-chevron {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color .2s, background .2s;
}

.mm-areas-header.active .mm-areas-chevron {
    border-color: var(--accent);
    background: rgba(232, 83, 10, .1)
}

.mm-areas-chevron svg {
    width: 8px;
    height: 8px;
    stroke: var(--muted);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .3s, stroke .2s
}

.mm-areas-header.active .mm-areas-chevron svg {
    transform: rotate(180deg);
    stroke: var(--accent)
}

.mm-areas-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height .5s cubic-bezier(.16, 1, .3, 1);
}

.mm-areas-body.open {
    max-height: 2000px
}

/* Mobile categories */
.mm-cat {
    margin: .8rem 0
}

.mm-cat-title {
    font-size: .6rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--warm);
    padding: .6rem 0 .4rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: .2rem;
}

.mm-cat-title span {
    font-size: .75rem
}

.mm-cat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0
}

.mm-item {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .6rem .4rem .6rem 0;
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: background .15s;
}

.mm-item:nth-child(odd) {
    padding-right: .8rem;
    border-right: 1px solid var(--border)
}

.mm-item:nth-child(even) {
    padding-left: .8rem
}

.mm-item-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    flex-shrink: 0
}

.mm-item-dot.live {
    background: var(--accent)
}

.mm-item-dot.ext {
    background: var(--dim)
}

.mm-item-name {
    font-size: .72rem;
    color: var(--muted);
    line-height: 1.3;
    transition: color .15s
}

.mm-item:hover .mm-item-name {
    color: var(--accent)
}

/* last row no bottom border */
.mm-cat-grid>.mm-item:nth-last-child(-n+2) {
    border-bottom: none
}

/* Mobile bottom */
.mm-footer {
    margin-top: auto;
    padding: 1.5rem 0 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

.mm-cta-primary {
    display: block;
    text-align: center;
    background: var(--accent);
    color: var(--bg);
    padding: .9rem;
    font-family: var(--Fb);
    font-size: .75rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    border-radius: 1px;
    text-decoration: none;
    transition: opacity .2s;
}

.mm-cta-primary:hover {
    opacity: .88
}

.mm-cta-secondary {
    display: block;
    text-align: center;
    border: 1px solid var(--border);
    color: var(--text);
    padding: .75rem;
    font-family: var(--Fb);
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-radius: 1px;
    text-decoration: none;
    transition: border-color .25s, color .25s;
}

.mm-cta-secondary:hover {
    border-color: var(--accent);
    color: var(--accent)
}

/* Mobile lang + theme row */
.mm-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .85rem;
    padding: .8rem 0
}

.mm-thm {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .2s;
    cursor: pointer;
    position: relative
}

.mm-thm:hover {
    border-color: var(--accent)
}

.mm-thm svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: var(--muted);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    position: absolute;
    transition: opacity .25s, transform .3s
}

.mm-thm .ico-sun {
    opacity: 0;
    transform: rotate(60deg) scale(.7)
}

.mm-thm .ico-moon {
    opacity: 1
}

[data-theme="light"] .mm-thm .ico-sun {
    opacity: 1;
    transform: rotate(0) scale(1)
}

[data-theme="light"] .mm-thm .ico-moon {
    opacity: 0;
    transform: rotate(-60deg) scale(.7)
}

.mm-lang-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .4rem
}

.mm-lang-btn {
    width: 40px;
    height: 34px;
    padding: 0;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color .2s, color .2s
}

.mm-lang-btn.active {
    border-color: var(--accent);
    color: var(--accent)
}

.mm-lang-btn:hover {
    border-color: var(--accent);
    color: var(--accent)
}

/* ── RESPONSIVE BREAKPOINTS ─────────────────────────── */
@media(max-width:1024px) {
    .mega-stats {
        gap: 1rem
    }

    .mega-stat-num {
        font-size: 1.8rem
    }

    .mega-top {
        grid-template-columns: 200px 1fr;
        gap: 2rem
    }
}

@media(max-width:900px) {
    .nav-inner {
        padding: 0 1.5rem
    }

    .nlinks,
    .langwrap,
    .nbtn {
        display: none
    }

    .hamburger {
        display: flex
    }

    .mega-panel,
    .mega-backdrop {
        display: none !important
    }
}

/* ── SHARED PAGE HELPERS ────────────────────────── */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none
}

.stag {
    font-size: .65rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem
}

.stag::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--accent)
}

.rv {
    opacity: 0;
    transform: translateY(26px)
}

.rvl {
    opacity: 0;
    transform: translateX(-36px)
}

.rvr {
    opacity: 0;
    transform: translateX(36px)
}

.bp {
    background: var(--text);
    color: var(--bg);
    padding: .9rem 2.6rem;
    border: none;
    font-family: var(--Fb);
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: none;
    text-decoration: none;
    border-radius: 1px;
    display: inline-block;
    transition: opacity .2s
}

.bp:hover {
    opacity: .8
}

.bg {
    color: var(--muted);
    text-decoration: none;
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: .6rem;
    transition: color .2s
}

.bg .ar {
    transition: transform .25s;
    display: inline-block
}

.bg:hover {
    color: var(--text)
}

.bg:hover .ar {
    transform: translateX(6px)
}

.breadcrumb {
    position: relative;
    z-index: 5;
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 3.5rem 0;
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-wrap: wrap
}

.bc-item {
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: color .2s;
    cursor: none
}

.bc-item:hover {
    color: var(--text)
}

.bc-sep {
    font-size: .55rem;
    color: var(--dim)
}

.bc-current {
    color: var(--accent)
}

/* HERO */
.hero {
    position: relative;
    min-height: 92vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    overflow: hidden
}

.hero-orb1 {
    width: 55vw;
    height: 55vw;
    top: -12vh;
    right: -8vw;
    background: radial-gradient(circle, rgba(232, 83, 10, .05) 0%, transparent 70%)
}

.hero-orb2 {
    width: 38vw;
    height: 38vw;
    bottom: -5vh;
    left: -3vw;
    background: radial-gradient(circle, rgba(196, 163, 90, .05) 0%, transparent 70%)
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 80px 80px;
    -webkit-mask-image: radial-gradient(ellipse 60% 80% at 20% 50%, black 10%, transparent 75%);
    mask-image: radial-gradient(ellipse 60% 80% at 20% 50%, black 10%, transparent 75%);
    pointer-events: none
}

[data-theme="light"] .hero-grid {
    background-image: linear-gradient(rgba(26, 23, 19, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(26, 23, 19, .07) 1px, transparent 1px)
}

.hero-left {
    position: relative;
    z-index: 5;
    padding: 2rem 3.5rem 5rem
}

.hero-eyebrow {
    font-size: .68rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2rem;
    opacity: 0;
    display: flex;
    align-items: center;
    gap: 1rem
}

.hero-eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--accent)
}

.hero-h1 {
    font-family: var(--Fd);
    font-size: clamp(3.2rem, 5.5vw, 5.5rem);
    font-weight: 300;
    line-height: .96;
    letter-spacing: -.025em;
    margin-bottom: 2.5rem
}

.hero-h1 .word {
    display: inline-block;
    overflow: hidden;
    margin-right: .12em
}

.hero-h1 .char {
    display: inline-block;
    transform: translateY(110%);
    opacity: 0
}

.hero-h1 .ita {
    font-style: italic;
    color: var(--muted)
}

.hero-sub {
    max-width: 44ch;
    color: var(--muted);
    font-size: .93rem;
    line-height: 1.85;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(18px)
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    opacity: 0;
    transform: translateY(16px)
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
    opacity: 0;
    transform: translateY(16px)
}

.hstat {
    padding-right: 1.5rem;
    border-right: 1px solid var(--border)
}

.hstat:last-child {
    border-right: none;
    padding-right: 0
}

.hstat-num {
    font-family: var(--Fd);
    font-size: 2.4rem;
    font-weight: 300;
    letter-spacing: -.03em;
    line-height: 1
}

.hstat-num .ac {
    color: var(--accent)
}

.hstat-label {
    font-size: .62rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: .4rem
}

.hero-right {
    position: relative;
    height: 100%;
    min-height: 92vh
}

.hero-photo {
    position: absolute;
    inset: 0;
    overflow: hidden
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: brightness(.6) saturate(.8)
}

[data-theme="light"] .hero-photo img {
    filter: brightness(.78) saturate(.85)
}

.hero-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--bg) 0%, transparent 35%), linear-gradient(to top, rgba(7, 7, 10, .5) 0%, transparent 50%);
    pointer-events: none;
}

[data-theme="light"] .hero-photo-overlay {
    background: linear-gradient(to right, var(--bg) 0%, transparent 35%), linear-gradient(to top, rgba(244, 241, 234, .4) 0%, transparent 50%)
}

/* TAB HUD */
.tab-hud {
    position: absolute;
    bottom: 3rem;
    right: 2.5rem;
    background: var(--s1);
    border: 1px solid rgba(238, 234, 222, .1);
    border-radius: 12px;
    padding: 1.2rem;
    width: 235px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .5), 0 0 40px rgba(232, 83, 10, .06);
    opacity: 0
}

[data-theme="light"] .tab-hud {
    background: var(--s1);
    border-color: rgba(26, 23, 19, .15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .1)
}

.thud-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .9rem;
    padding-bottom: .8rem;
    border-bottom: 1px solid var(--border)
}

.thud-title {
    font-size: .62rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted)
}

.thud-badge {
    font-size: .6rem;
    color: var(--accent);
    border: 1px solid rgba(232, 83, 10, .3);
    padding: .15rem .55rem;
    border-radius: 100px
}

.thud-tabs {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    margin-bottom: .8rem
}

.thud-tab {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .5rem .65rem;
    background: var(--s2);
    border: 1px solid var(--border);
    border-radius: 6px
}

.thud-tab.open {
    border-color: rgba(232, 83, 10, .25);
    background: rgba(232, 83, 10, .05)
}

.thud-tab.closing {
    border-color: rgba(196, 163, 90, .25);
    background: rgba(196, 163, 90, .05)
}

.thud-tab-num {
    font-family: var(--Fd);
    font-size: 1rem;
    font-weight: 300;
    min-width: 24px;
    color: var(--text)
}

.thud-tab-info {
    flex: 1
}

.thud-tab-items {
    font-size: .65rem;
    color: var(--muted)
}

.thud-tab-val {
    font-family: var(--Fd);
    font-size: .95rem;
    font-weight: 300
}

.thud-tab.open .thud-tab-val {
    color: var(--accent)
}

.thud-tab.closing .thud-tab-val {
    color: var(--warm)
}

.thud-total {
    display: flex;
    justify-content: space-between;
    padding-top: .6rem;
    border-top: 1px solid var(--border);
    font-size: .68rem;
    color: var(--muted)
}

.thud-total-val {
    color: var(--accent);
    font-family: var(--Fd);
    font-size: 1rem
}

/* MARQUEE */


/* ── SHARED PAGE SECTIONS ───────────────────────── */
.mq {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.3rem 0;
    overflow: hidden;
    background: var(--s1)
}

[data-theme="light"] .mq {
    background: var(--s1)
}

.mqt {
    display: flex;
    width: max-content;
    animation: mrq 30s linear infinite
}

.mqi {
    font-family: var(--Fd);
    font-size: 1rem;
    font-weight: 300;
    color: #fff;
    padding: 0 2rem;
    white-space: nowrap
}

[data-theme="light"] .mqi {
    color: #000
}

.mqs {
    color: var(--accent);
    font-size: .5rem;
    display: flex;
    align-items: center;
    padding-right: .4rem
}

.mq:hover .mqt {
    animation-play-state: paused
}

@keyframes mrq {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

/* SPEED BAND */
.speed-band {
    background: var(--s1);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 4rem 0
}

.speed-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0
}

.spd-block {
    padding: 0 2.5rem;
    border-right: 1px solid var(--border)
}

.spd-block:first-child {
    padding-left: 0
}

.spd-block:last-child {
    border-right: none
}

.spd-num {
    font-family: var(--Fd);
    font-size: clamp(2.8rem, 4vw, 4rem);
    font-weight: 300;
    letter-spacing: -.03em;
    line-height: 1;
    color: var(--text)
}

.spd-num .ac {
    color: var(--accent)
}

.spd-unit {
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: .6rem
}

.spd-desc {
    font-size: .8rem;
    color: var(--dim);
    margin-top: .3rem
}

/* STAT BAND */
.stat-band {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 3rem 0
}

.stat-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr)
}

.sb {
    text-align: center;
    padding: 1.5rem;
    border-right: 1px solid var(--border)
}

.sb:last-child {
    border-right: none
}

.sb-num {
    font-family: var(--Fd);
    font-size: clamp(3rem, 5.5vw, 5rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.04em
}

.sb-num .ac {
    color: var(--accent)
}

.sb-label {
    font-size: .65rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: .5rem
}

/* CHALLENGES */
.challenges {
    padding: 9rem 0
}

.challenges-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: start
}

.challenges-left h2 {
    font-family: var(--Fd);
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -.02em;
    margin-bottom: 2rem
}

.challenges-left h2 em {
    font-style: italic;
    color: var(--muted)
}

.challenges-left p {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.9
}

.challenge-list {
    display: flex;
    flex-direction: column
}

.challenge-item {
    border-top: 1px solid var(--border);
    padding: 1.5rem 0;
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 1.2rem
}

.challenge-item:last-child {
    border-bottom: 1px solid var(--border)
}

.ch-num {
    font-family: var(--Fd);
    font-size: .8rem;
    color: var(--accent);
    padding-top: .1rem
}

.ch-body h3 {
    font-family: var(--Fd);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: .4rem
}

.ch-body p {
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.75
}

/* PHOTO BAND */
.photo-band {
    position: relative;
    height: 65vh;
    overflow: hidden
}

.photo-band img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    display: block;
    filter: brightness(.5) saturate(.8)
}

[data-theme="light"] .photo-band img {
    filter: brightness(.68) saturate(.85)
}

.photo-band-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, var(--bg) 0%, transparent 18%, transparent 80%, var(--bg) 100%)
}

.pbq {
    position: absolute;
    bottom: 5rem;
    left: 0;
    right: 0;
    margin-inline: auto;
    text-align: center;
    box-sizing: border-box;
    width: min(900px, calc(100% - 7rem));
    padding: 0;
    transform: none
}

.pbq-text {
    font-family: var(--Fd);
    font-size: clamp(1.6rem, 3vw, 2.8rem);
    font-weight: 300;
    font-style: italic;
    color: var(--text);
    line-height: 1.35;
    margin-bottom: 1rem
}

.pbq-cite {
    display: block;
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
    font-size: .68rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted)
}

/* FEATURES */
.features-sec {
    padding: 9rem 0
}

.feat-block {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
    margin-bottom: 8rem
}

.feat-block:last-child {
    margin-bottom: 0
}

.feat-block.flip {
    direction: rtl
}

.feat-block.flip>* {
    direction: ltr
}

.feat-title {
    font-family: var(--Fd);
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -.02em;
    margin-bottom: 1.6rem
}

.feat-title em {
    font-style: italic;
    color: var(--muted)
}

.feat-desc {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.9;
    margin-bottom: 2.2rem
}

.feat-pts {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin-bottom: 2.5rem
}

.feat-pt {
    display: grid;
    grid-template-columns: 14px 10rem 1fr;
    column-gap: .9rem;
    align-items: start;
    font-size: .83rem;
    color: var(--muted);
    line-height: 1.55
}

.feat-pt::before {
    content: '';
    width: 14px;
    height: 1px;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: .6rem
}

.feat-pt strong {
    color: var(--text);
    font-weight: 400
}

.feat-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center
}

.mwrap {
    position: relative;
    transform-style: preserve-3d
}

.deco-chip {
    position: absolute;
    background: var(--s1);
    border: 1px solid rgba(238, 234, 222, .1);
    border-radius: 100px;
    padding: .4rem .95rem;
    font-size: .64rem;
    letter-spacing: .08em;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
    display: flex;
    align-items: center;
    gap: .45rem;
    color: var(--muted)
}

[data-theme="light"] .deco-chip {
    background: var(--s1);
    border-color: rgba(26, 23, 19, .14);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08)
}

.ddot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    box-shadow: 0 0 6px var(--accent)
}

.ddot.w {
    background: var(--warm);
    box-shadow: 0 0 6px var(--warm)
}

.dc1 {
    top: -1.5rem;
    right: -2.5rem;
    animation: floA 4s ease-in-out infinite
}

.dc2 {
    bottom: 2rem;
    right: -3rem;
    animation: floB 5s ease-in-out 1s infinite
}

.dc3 {
    bottom: -1rem;
    left: -2.5rem;
    animation: floA 4.5s ease-in-out .5s infinite
}

@keyframes floA {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-9px)
    }
}

@keyframes floB {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(7px)
    }
}

@keyframes lpulse {

    0%,
    100% {
        opacity: .5
    }

    50% {
        opacity: 1
    }
}

/* WORKFLOW */
.workflow-sec {
    padding: 9rem 0;
    background: var(--s1)
}

[data-theme="light"] .workflow-sec {
    background: var(--s1)
}

.workflow-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3.5rem
}

.workflow-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: end;
    margin-bottom: 5rem
}

.workflow-title {
    font-family: var(--Fd);
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -.02em
}

.workflow-title em {
    font-style: italic;
    color: var(--muted)
}

.workflow-desc {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.85
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: relative
}

.workflow-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, var(--border), rgba(232, 83, 10, .2), var(--border));
    z-index: 0
}

.workflow-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 1rem
}

.ws-icon {
    width: 56px;
    height: 56px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.4rem;
    font-size: 1.1rem;
    transition: border-color .3s, background .3s
}

[data-theme="light"] .ws-icon {
    background: var(--bg)
}

.workflow-step:hover .ws-icon {
    border-color: var(--accent);
    background: rgba(232, 83, 10, .06)
}

.ws-num {
    position: absolute;
    top: -8px;
    right: calc(50% - 36px);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .55rem;
    font-weight: 500;
    color: var(--bg)
}

.ws-title {
    font-family: var(--Fd);
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: .4rem
}

.ws-desc {
    font-size: .75rem;
    color: var(--muted);
    line-height: 1.65
}

/* TESTIMONIALS */
.testis {
    padding: 9rem 0
}

.testis-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3.5rem
}

.testis-header {
    margin-bottom: 4rem
}

.testis-header h2 {
    font-family: var(--Fd);
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 300;
    letter-spacing: -.02em;
    line-height: 1.1
}

.testis-header h2 em {
    font-style: italic;
    color: var(--muted)
}

.testis-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border)
}

.tc {
    background: var(--bg);
    padding: 3rem;
    transition: background .3s
}

[data-theme="light"] .tc {
    background: var(--bg)
}

.tc:hover {
    background: var(--s1)
}

.stars {
    display: flex;
    gap: 3px;
    margin-bottom: 1.8rem
}

.star {
    width: 9px;
    height: 9px;
    background: var(--warm);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%)
}

.tq {
    font-family: var(--Fd);
    font-size: 1.05rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.65;
    margin-bottom: 1.8rem;
    color: var(--text)
}

.tn {
    font-size: .65rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted)
}

.tn span {
    color: var(--warm)
}

/* OTHER BIZ */
.other-biz {
    padding: 8rem 0;
    border-top: 1px solid var(--border)
}

.other-biz-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3.5rem
}

.other-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3.5rem
}

.other-title {
    font-family: var(--Fd);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 300;
    letter-spacing: -.02em
}

.other-title em {
    font-style: italic;
    color: var(--muted)
}

.other-see-all {
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: color .2s;
    cursor: none
}

.other-see-all:hover {
    color: var(--accent)
}

.other-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: var(--border)
}

.obiz-card {
    background: var(--bg);
    padding: 1.8rem 1.5rem;
    text-decoration: none;
    transition: background .3s;
    display: block;
    cursor: none
}

[data-theme="light"] .obiz-card {
    background: var(--bg)
}

.obiz-card:hover {
    background: var(--s1)
}

.obiz-num {
    font-size: .6rem;
    letter-spacing: .1em;
    color: var(--warm);
    margin-bottom: .5rem
}

.obiz-name {
    font-family: var(--Fd);
    font-size: .98rem;
    font-weight: 400;
    color: var(--text);
    line-height: 1.3
}

.obiz-arrow {
    font-size: .7rem;
    color: var(--muted);
    margin-top: .6rem;
    transition: color .2s, transform .2s;
    display: inline-block
}

.obiz-card:hover .obiz-arrow {
    color: var(--accent);
    transform: translateX(4px)
}

/* CTA */
.cta {
    padding: 10rem 0;
    text-align: center;
    position: relative;
    overflow: hidden
}

.cta-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(232, 83, 10, .055) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none
}

.cring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid var(--border);
    pointer-events: none
}

.cring:nth-child(2) {
    width: 560px;
    height: 560px
}

.cring:nth-child(3) {
    width: 400px;
    height: 400px;
    border-color: rgba(232, 83, 10, .06)
}

.cta-tag {
    font-size: .65rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2rem;
    position: relative
}

.cta-h {
    font-family: var(--Fd);
    font-size: clamp(3rem, 6.5vw, 6.5rem);
    font-weight: 300;
    letter-spacing: -.03em;
    line-height: .95;
    margin-bottom: 2rem;
    position: relative
}

.cta-h em {
    font-style: italic;
    color: var(--muted)
}

.cta-s {
    color: var(--muted);
    font-size: .95rem;
    margin-bottom: 3.5rem;
    position: relative
}

.cta-ac {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    align-items: center;
    position: relative
}

footer {
    border-top: 1px solid var(--border);
    padding: 0
}

/* ── FOOTER INNER ── */
.fi {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 3.5rem 3rem;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 4rem;
    align-items: start
}

.phero-inner {
    padding: 0 3.5rem
}

/* Brand column */

.flo {
    text-decoration: none;
    display: flex;
    align-items: center
}

.fi-tagline {
    font-size: .8rem;
    color: var(--muted);
    line-height: 1.75;
    margin-top: 1.1rem;
    max-width: 24ch
}

.fi-social {
    display: flex;
    gap: .5rem;
    margin-top: 1.6rem
}

.fi-soc {
    width: 30px;
    height: 30px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: border-color .2s, color .2s;
    text-decoration: none
}

.fi-soc:hover {
    border-color: var(--accent);
    color: var(--accent)
}

.fi-soc svg {
    width: 12px;
    height: 12px;
    fill: currentColor
}

/* Nav columns */

.fi-col-title {
    font-size: .6rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.4rem
}

.fi-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0
}

.fi-links li a {
    display: block;
    font-size: .78rem;
    color: var(--muted);
    text-decoration: none;
    padding: .32rem 0;
    border-bottom: 1px solid transparent;
    transition: color .2s
}

.fi-links li a:hover {
    color: var(--text)
}

/* CTA column */

.fi-cta-text {
    font-size: .78rem;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 1.4rem
}

.fi-cta-btn {
    display: inline-block;
    background: var(--text);
    color: var(--bg);
    font-family: var(--Fb);
    font-size: .68rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: .75rem 1.8rem;
    text-decoration: none;
    border-radius: 1px;
    transition: opacity .2s
}

.fi-cta-btn:hover {
    opacity: .78
}

/* Legacy compat */
.fls {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    list-style: none
}

.fls a {
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: color .2s
}

.fls a:hover {
    color: var(--text)
}

/* Bottom bar */
.fi-bar {
    border-top: 1px solid var(--border);
    padding: 1.1rem 3.5rem;
    text-align: center;
    font-size: .65rem;
    letter-spacing: .06em;
    color: var(--dim)
}

.photo-sec2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    min-height: clamp(420px, 46vw, 760px);
}

.ps2-img {
    position: relative;
    min-width: 0;
    min-height: clamp(420px, 46vw, 760px);
    overflow: hidden;
}

.ps2-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ps2-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 2rem 2.25rem;
    background: linear-gradient(180deg, rgba(9, 9, 12, 0) 38%, rgba(9, 9, 12, .72) 100%);
    pointer-events: none;
}

.photo-sec2 .ps2-img:first-child .ps2-overlay {
    padding-inline-start: max(2rem, calc((100vw - 1400px) / 2 + 3.5rem));
}

.ps2-label {
    display: inline-flex;
    align-items: center;
    max-width: min(80%, 18rem);
    font-family: var(--Fd);
    font-size: clamp(1.2rem, 1.05rem + .7vw, 1.85rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -.02em;
    color: var(--text);
}

@media(max-width:1720px) {
    .feat-block {
        max-width: min(100%, 1180px);
        padding: 0 2.5rem;
        gap: clamp(3rem, 4vw, 5rem);
        grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
    }

    .feat-text,
    .feat-visual {
        min-width: 0;
    }

    .feat-pt {
        grid-template-columns: 14px minmax(8.5rem, 9rem) minmax(0, 1fr);
    }
}

@media(max-width:900px) {
    nav {
        padding: 1.4rem 1.5rem
    }

    .nlinks {
        display: none
    }

    .breadcrumb {
        padding: 7rem 1.5rem 0
    }

    .hero {
        grid-template-columns: 1fr !important;
        min-height: 0 !important
    }

    .hero-left {
        padding: 2rem 1.5rem 4rem !important
    }

    .hero-right {
        display: none !important
    }

    .stat-inner,
    .challenges-inner,
    .workflow-inner,
    .testis-inner,
    .other-biz-inner {
        padding: 0 1.5rem
    }

    .stat-inner {
        grid-template-columns: 1fr 1fr
    }

    .challenges-inner,
    .workflow-header,
    .other-header {
        grid-template-columns: 1fr;
        gap: 2rem
    }

    .feat-block {
        grid-template-columns: 1fr;
        gap: 4rem;
        padding: 0 1.5rem
    }

    .feat-block.flip {
        direction: ltr
    }

    .feat-block .feat-visual,
    .feat-block.flip .feat-visual {
        order: -1
    }

    .workflow-steps {
        grid-template-columns: 1fr;
        gap: 2.5rem
    }

    .workflow-steps::before {
        display: none
    }

    .testis-grid,
    .other-grid {
        grid-template-columns: 1fr
    }

    .photo-sec2 {
        grid-template-columns: 1fr;
        height: 80vw
    }

    .photo-sec2 .ps2-img:last-child {
        display: none
    }

    .fi {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
        padding: 3rem 1.5rem 2rem
    }

    .fi-brand {
        grid-column: 1 / -1
    }



    .fi-bar {
        padding: 1rem 1.5rem
    }

    .phero-inner {
        padding: 0 1.5rem
    }

    .phero {
        min-height: 0 !important;
        align-items: flex-start !important;
        padding: 6rem 0 3.5rem !important
    }

    .phero-wm {
        display: none !important
    }

    .hero-acts {
        flex-direction: column;
        align-items: flex-start;
        gap: .8rem
    }

    .hero-acts .bp {
        white-space: nowrap
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: .8rem
    }

    .hero-actions .bp {
        white-space: nowrap
    }

    .cta {
        padding: 5rem 1.5rem
    }

    footer {
        padding: 0
    }

    /* ── SECTION PADDING REDUCTIONS ── */
    .challenges,
    .features-sec,
    .workflow-sec,
    .testis,
    .other-biz {
        padding: 5rem 0
    }

    /* ── SPEED BAND: 4→2 COLS ── */
    .speed-band {
        padding: 2.5rem 0
    }

    .speed-inner {
        grid-template-columns: 1fr 1fr;
        padding: 0 1.5rem
    }

    .spd-block {
        padding: 1.5rem 0;
        border-right: none;
        border-bottom: 1px solid var(--border)
    }

    .spd-block:last-child {
        border-bottom: none
    }

    /* ── STAT BAND ── */
    .stat-band {
        padding: 2rem 0
    }

    /* ── PHOTO BAND ── */
    .photo-band {
        height: 45vh
    }

    /* ── WRAP PADDING FOR PAGES WITHOUT OWN MOBILE BLOCK ── */
    .wrap {
        padding-left: 1.5rem;
        padding-right: 1.5rem
    }
}

/* ── BACK TO TOP ─────────────────────────────────── */
.btt {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity .3s, transform .3s, background .2s;
    z-index: 995;
    box-shadow: 0 4px 20px rgba(232, 83, 10, .4);
}

.btt.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0)
}

.btt:hover {
    background: var(--color-brand-hover, #FF7230);
}

.btt svg {
    width: 16px;
    height: 16px;
    stroke: #fff;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ══════════════════════════════════════════════════
   TEMPLATE PAGE COMPONENTS
   Shared by: carreiras, equipa, comunidade,
   sustentabilidade, imprensa, parceiros, referencias,
   developers, historias-sucesso, guias, equipamento,
   servicos-comerciais, blog, testemunhos
══════════════════════════════════════════════════ */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none
}

.rv {
    opacity: 0;
    transform: translateY(24px)
}

.mega-footer-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem
}

.mm-all-types {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 1rem;
    margin: .8rem 0;
    background: rgba(232, 83, 10, .06);
    border: 1px solid rgba(232, 83, 10, .2);
    border-radius: 4px;
    text-decoration: none;
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent)
}

.content-page-code-block-compact {
    margin-top: .8rem;
    font-size: .75rem
}

.content-page-inline-cta {
    white-space: nowrap;
    font-size: .75rem
}

.content-page-card-link {
    margin-top: 1rem;
    font-size: .75rem;
    padding: .6rem 1rem
}

.content-page-card-cta {
    margin-top: auto;
    align-self: flex-start
}

.content-page-card-accented {
    border-color: var(--accent)
}

.content-page-text-accent {
    color: var(--accent)
}

.content-page-desc-spaced {
    margin-top: 1rem
}

.dc-bar-h28 {
    height: 28%;
}

.dc-bar-h35 {
    height: 35%;
}

.dc-bar-h42 {
    height: 42%;
}

.dc-bar-h55 {
    height: 55%;
}

.dc-bar-h60 {
    height: 60%;
}

.dc-bar-h75 {
    height: 75%;
}

.dc-bar-h88 {
    height: 88%;
}

.dc-bar-h100 {
    height: 100%;
}

.dc-tx-dot-accent {
    background: var(--accent);
}

.dc-tx-dot-warm {
    background: var(--warm);
}

.auth-stats-stack {
    flex-direction: column;
    gap: .9rem;
    padding-top: 1.8rem;
}

.auth-stat-inline {
    display: flex;
    align-items: center;
    gap: .9rem;
    font-size: .78rem;
    color: var(--muted);
}

.auth-stat-inline-line {
    width: 14px;
    height: 1px;
    background: var(--accent);
    flex-shrink: 0;
    display: block;
}

.auth-field-terms {
    margin-bottom: 1.8rem;
}

.auth-field-check-top {
    align-items: flex-start;
    gap: .7rem;
}

.auth-field-check-input-offset {
    margin-top: 2px;
}

.auth-field-check-label-compact {
    line-height: 1.65;
    font-size: .75rem;
}

.auth-link-accent {
    color: var(--accent);
    text-decoration: none;
}

.auth-field-error-indent {
    padding-left: 1.5rem;
}

.auth-switch-spaced {
    margin-top: 1.5rem;
}

.auth-alert {
    margin-bottom: 1.4rem;
    padding: .9rem 1rem;
    border: 1px solid rgba(224, 64, 64, .28);
    background: rgba(224, 64, 64, .08);
    color: var(--text);
    font-size: .74rem;
    line-height: 1.65;
}

.auth-alert ul {
    margin: 0;
    padding-left: 1rem;
}

.auth-alert li+li {
    margin-top: .25rem;
}

.auth-form-wrap--wide {
    max-width: 560px;
}

.auth-right--top {
    justify-content: flex-start;
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
}

.auth-status-card {
    width: 100%;
    border: 1px solid var(--border);
    background: var(--s1);
    padding: 1.25rem 1.35rem;
}

.auth-status-title {
    font-family: var(--Fd);
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: .6rem;
}

.auth-status-desc {
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.7;
}

.auth-back {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    margin-top: 1.2rem;
    color: var(--muted);
    text-decoration: none;
    font-size: .76rem;
    transition: color .2s;
    cursor: none;
}

.auth-back:hover {
    color: var(--text);
}

.auth-back svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-success {
    display: none;
}

.auth-success.visible {
    display: block;
}

.auth-success-icon {
    width: 64px;
    height: 64px;
    border: 1px solid rgba(232, 83, 10, .22);
    background: rgba(232, 83, 10, .06);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.auth-success-icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-success-title {
    font-family: var(--Fd);
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: .6rem;
}

.auth-success-title em {
    color: var(--muted);
    font-style: italic;
}

.auth-success-desc {
    color: var(--muted);
    font-size: .84rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.auth-success-email {
    color: var(--text);
}

.auth-success-note {
    border: 1px solid var(--border);
    background: var(--s1);
    color: var(--muted);
    font-size: .75rem;
    line-height: 1.75;
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
}

.auth-field-note {
    color: var(--muted);
    font-size: .66rem;
    line-height: 1.6;
    margin-top: .35rem;
}

[dir="rtl"] .field-eye {
    right: auto;
    left: .85rem;
}

[dir="rtl"] .field-input-wrap .field-input {
    padding-right: 1rem;
    padding-left: 3rem;
}

/* ══════════════════════════════════════════════════
   AUTH PAGE STYLES
   Shared by: comecar, registo, recuperar
══════════════════════════════════════════════════ */
/* ── AUTH LAYOUT ─────────────────────────────── */
body {
    min-height: 100vh;
    overflow-x: hidden
}

body.menu-open {
    overflow: hidden
}

.auth-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - var(--nav-h));
    margin-top: var(--nav-h);
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto
}

/* ── LEFT PANEL ──────────────────────────────── */
.auth-left {
    position: relative;
    background: var(--s1);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 3.5rem;
    overflow: hidden;
    gap: 2.5rem;
}

[data-theme="light"] .auth-left {
    background: var(--s1)
}

.auth-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 90% 90% at 40% 50%, black 10%, transparent 80%);
    mask-image: radial-gradient(ellipse 90% 90% at 40% 50%, black 10%, transparent 80%);
    pointer-events: none;
}

[data-theme="light"] .auth-grid {
    background-image: linear-gradient(rgba(26, 23, 19, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(26, 23, 19, .07) 1px, transparent 1px)
}

.auth-orb {
    position: absolute;
    width: 70%;
    height: 70%;
    top: -10%;
    right: -15%;
    background: radial-gradient(circle, rgba(232, 83, 10, .07) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.auth-orb2 {
    position: absolute;
    width: 50%;
    height: 50%;
    bottom: -10%;
    left: -10%;
    background: radial-gradient(circle, rgba(196, 163, 90, .05) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

/* Brand */
.auth-brand {
    position: relative;
    z-index: 2
}

.auth-logo {
    font-family: var(--Fd);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-decoration: none;
    color: var(--text);
    display: block;
    margin-bottom: 2rem
}

.auth-logo span {
    color: var(--accent)
}

.auth-headline {
    font-family: var(--Fd);
    font-size: clamp(2rem, 3vw, 3.2rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -.025em;
    margin-bottom: 1rem
}

.auth-headline em {
    font-style: italic;
    color: var(--muted)
}

.auth-tagline {
    font-size: .85rem;
    color: var(--muted);
    line-height: 1.8;
    max-width: 36ch
}

/* ── DASHBOARD MOCKUP ─────────────────────────── */
.auth-mockup {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dash-card {
    background: var(--bg);
    border: 1px solid rgba(238, 234, 222, .1);
    border-radius: 14px;
    padding: 1.4rem;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, .55), 0 0 60px rgba(232, 83, 10, .06);
    position: relative;
}

[data-theme="light"] .dash-card {
    background: var(--bg);
    border-color: rgba(26, 23, 19, .14);
    box-shadow: 0 16px 50px rgba(0, 0, 0, .1)
}

.dash-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .03) 0%, transparent 50%);
    pointer-events: none;
}

/* Top bar */
.dc-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border)
}

.dc-title {
    font-size: .6rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted)
}

.dc-live {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .6rem;
    color: var(--accent)
}

.dc-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    animation: lp 1.8s ease-in-out infinite
}

@keyframes lp {

    0%,
    100% {
        opacity: .4
    }

    50% {
        opacity: 1
    }
}

/* KPI row */
.dc-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .6rem;
    margin-bottom: 1.2rem
}

.dc-kpi {
    background: var(--s1);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: .7rem .8rem
}

[data-theme="light"] .dc-kpi {
    background: var(--s1)
}

.dc-kpi-label {
    font-size: .55rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .25rem
}

.dc-kpi-val {
    font-family: var(--Fd);
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1
}

.dc-kpi-sub {
    font-size: .58rem;
    margin-top: .15rem
}

.up {
    color: var(--accent)
}

.dn {
    color: var(--warm)
}

/* Chart */
.dc-chart-label {
    font-size: .58rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .55rem
}

.dc-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 52px;
    margin-bottom: 1.2rem
}

.dc-bar {
    flex: 1;
    border-radius: 2px 2px 0 0;
    background: var(--s2);
    transition: height .6s ease
}

.dc-bar.hi {
    background: linear-gradient(180deg, var(--accent), rgba(232, 83, 10, .3))
}

.dc-bar.md {
    background: linear-gradient(180deg, var(--warm), rgba(196, 163, 90, .3))
}

/* Recent transactions */
.dc-tx-label {
    font-size: .58rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .5rem
}

.dc-tx {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .42rem 0;
    border-bottom: 1px solid var(--border);
    font-size: .72rem
}

.dc-tx:last-child {
    border-bottom: none
}

.dc-tx-name {
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: .5rem
}

.dc-tx-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0
}

.dc-tx-val {
    color: var(--text);
    font-family: var(--Fd);
    font-size: .85rem
}

/* Stats footer */
.auth-stats {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.auth-stat-num {
    font-family: var(--Fd);
    font-size: 1.9rem;
    font-weight: 300;
    letter-spacing: -.03em;
    line-height: 1
}

.auth-stat-num .ac {
    color: var(--accent)
}

.auth-stat-lbl {
    font-size: .58rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: .25rem
}

/* ── RIGHT PANEL ─────────────────────────────── */
.auth-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3.5rem 4rem;
    background: var(--bg)
}

[data-theme="light"] .auth-right {
    background: var(--bg)
}

.auth-form-wrap {
    width: 100%;
    max-width: 400px
}

.auth-form-header {
    margin-bottom: 2.4rem
}

.auth-eyebrow {
    font-size: .6rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .9rem;
    display: flex;
    align-items: center;
    gap: .7rem
}

.auth-eyebrow::before {
    content: '';
    width: 18px;
    height: 1px;
    background: var(--accent)
}

.auth-form-title {
    font-family: var(--Fd);
    font-size: 2.2rem;
    font-weight: 300;
    letter-spacing: -.025em;
    line-height: 1.1;
    margin-bottom: .5rem
}

.auth-form-title em {
    font-style: italic;
    color: var(--muted)
}

.auth-form-desc {
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.7
}

/* Fields */
.field {
    margin-bottom: 1.3rem;
    position: relative
}

.field-label {
    display: block;
    font-size: .62rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .55rem
}

.field-input {
    width: 100%;
    background: var(--s1);
    border: 1px solid var(--border);
    color: var(--text);
    padding: .82rem 1rem;
    font-family: var(--Fb);
    font-size: .88rem;
    border-radius: 2px;
    outline: none;
    transition: border-color .2s, background .2s;
    cursor: none;
}

[data-theme="light"] .field-input {
    background: var(--s1);
    border-color: rgba(26, 23, 19, .15)
}

.field-input::placeholder {
    color: var(--muted);
    font-size: .8rem
}

.field-input:focus {
    border-color: rgba(232, 83, 10, .5);
    background: var(--s2)
}

.field-input-wrap {
    position: relative
}

.field-input-wrap .field-input {
    padding-right: 3rem
}

.field-eye {
    position: absolute;
    top: 50%;
    right: .85rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: none;
    color: var(--muted);
    transition: color .2s;
    display: flex;
}

.field-eye:hover {
    color: var(--text)
}

.field-eye svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round
}

.field-opts {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.8rem
}

.field-check {
    display: flex;
    align-items: center;
    gap: .55rem;
    cursor: none
}

.field-check input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border: 1px solid var(--border);
    border-radius: 2px;
    background: var(--s1);
    cursor: none;
    transition: border-color .2s, background .2s;
    flex-shrink: 0;
    position: relative;
}

.field-check input[type="checkbox"]:checked {
    background: var(--accent);
    border-color: var(--accent)
}

.field-check input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 7px;
    border: 1.5px solid var(--bg);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.field-check-label {
    font-size: .73rem;
    color: var(--muted)
}

.field-forgot {
    font-size: .7rem;
    color: var(--muted);
    text-decoration: none;
    transition: color .2s;
    cursor: none
}

.field-forgot:hover {
    color: var(--accent)
}

.field-error {
    font-size: .66rem;
    color: #e04040;
    margin-top: .35rem;
    display: none
}

.field.error .field-input {
    border-color: rgba(224, 64, 64, .45)
}

.field.error .field-error {
    display: block
}

.auth-submit {
    width: 100%;
    background: var(--text);
    color: var(--bg);
    border: none;
    padding: .95rem;
    font-family: var(--Fb);
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    cursor: none;
    border-radius: 1px;
    transition: opacity .2s;
    margin-bottom: 1.4rem;
    position: relative;
    overflow: hidden;
}

.auth-submit:hover {
    opacity: .88
}

.auth-submit-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .7rem
}

.auth-submit-spinner {
    width: 14px;
    height: 14px;
    border: 1.5px solid rgba(0, 0, 0, .2);
    border-top-color: var(--bg);
    border-radius: 50%;
    display: none;
    animation: spin .7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-bottom: 1.4rem
}

.auth-divider-line {
    flex: 1;
    height: 1px;
    background: var(--border)
}

.auth-divider-txt {
    font-size: .62rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--dim)
}

.auth-switch {
    text-align: center;
    font-size: .78rem;
    color: var(--muted)
}

.auth-switch a {
    color: var(--accent);
    text-decoration: none;
    cursor: none;
    transition: opacity .2s
}

.auth-switch a:hover {
    opacity: .7
}

.auth-legal {
    text-align: center;
    font-size: .63rem;
    color: var(--dim);
    line-height: 1.65;
    margin-top: 1.4rem
}

.auth-legal a {
    color: var(--muted);
    text-decoration: none;
    transition: color .2s;
    cursor: none
}

.auth-legal a:hover {
    color: var(--text)
}

/* 2-col grid for name fields */
.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .9rem
}

/* pwd strength */
.pwd-meter {
    height: 2px;
    background: var(--s3);
    border-radius: 1px;
    overflow: hidden;
    margin-top: .45rem;
    display: none
}

.pwd-meter-fill {
    height: 100%;
    border-radius: 1px;
    background: var(--accent);
    width: 0%;
    transition: width .3s, background .3s
}

.pwd-hint {
    font-size: .62rem;
    color: var(--muted);
    margin-top: .3rem;
    display: none
}

@media(max-width:900px) {
    .auth-wrap {
        grid-template-columns: 1fr
    }

    .auth-left {
        display: none
    }

    .auth-right {
        padding: 2.5rem 1.5rem;
        min-height: calc(100vh - var(--nav-h))
    }

    .auth-form-wrap {
        max-width: 100%
    }

    .auth-form-wrap--wide {
        max-width: 100%
    }

    .field-row {
        grid-template-columns: 1fr
    }
}


/* ── GLOBAL NUMERIC STYLE (SITEWIDE) ───────────── */
:is(.cnt,
    .stn,
    .gnum,
    .aptn,
    .fcn,
    .pprc,
    .pprc .pval,
    .plan-price,
    .plan-price .pval,
    .th-plan-price,
    .forum-count strong,
    [data-t],
    [class$="-num"],
    [class*="-num-"],
    [class$="-count"],
    [class$="-counter"],
    [class$="-metric"]) {
    font-family: var(--Fd), serif !important;
    font-variant-numeric: lining-nums proportional-nums !important;
    font-feature-settings: "lnum" 1, "pnum" 1, "case" 1 !important;
    font-kerning: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased
}

:is([class$="-price"],
    [class$="-qty"],
    [class$="-amt"],
    [class$="-total"],
    [class$="-orig"],
    .char-count,
    [class*="-price-"],
    [class*="-qty-"],
    [class*="-amt-"],
    [class*="-total-"],
    [class*="total-val"],
    [class*="price-val"]) {
    font-family: var(--Fb) !important;
    font-variant-numeric: lining-nums tabular-nums !important;
    font-feature-settings: "lnum" 1, "tnum" 1 !important;
    font-kerning: normal
}