:root {
    color-scheme: dark;
    --background: #050608;
    --foreground: #f4f6f8;
    --muted: #10151c;
    --muted-strong: #071018;
    --muted-foreground: #aab4c0;
    --soft-text: #d5dce4;
    --accent: #00d9ff;
    --accent-soft: rgba(0, 217, 255, 0.18);
    --ring: rgba(0, 217, 255, 0.45);
    --border: rgba(218, 230, 241, 0.72);
    --border-soft: rgba(148, 163, 184, 0.2);
    --card: rgba(7, 12, 17, 0.74);
    --card-strong: rgba(9, 17, 27, 0.86);
    --shadow-cyan: 0 0 45px rgba(0, 217, 255, 0.16);
    --max: 1180px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 18% 0%, rgba(0, 217, 255, 0.14), transparent 32rem),
        radial-gradient(circle at 84% 4%, rgba(0, 83, 180, 0.22), transparent 34rem),
        linear-gradient(180deg, #07111b 0%, #050608 42rem, #050608 100%);
    color: var(--foreground);
    line-height: 1.65;
}

body.nav-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
    max-width: 100%;
}

button,
input,
textarea {
    font: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-shell {
    min-height: 100vh;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid transparent;
    background: rgba(0, 6, 10, 0.58);
    backdrop-filter: blur(18px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: min(var(--max), calc(100% - 2rem));
    min-height: 86px;
    margin: 0 auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    min-width: max-content;
}

.brand__mark {
    position: relative;
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(16, 19, 25, 0.68);
    box-shadow: var(--shadow-cyan);
}

.brand__mark::before {
    position: absolute;
    inset: -9px;
    border-radius: inherit;
    background: rgba(0, 217, 255, 0.12);
    filter: blur(14px);
    content: "";
}

.brand__mark img {
    position: relative;
    border-radius: 999px;
}

.brand__text {
    display: grid;
    line-height: 1.1;
}

.brand__text span {
    font-size: 1.25rem;
    font-weight: 600;
}

.brand__text small {
    margin-top: 0.35rem;
    color: var(--muted-foreground);
    font-size: 0.72rem;
    letter-spacing: 0.42em;
    text-transform: uppercase;
}

.primary-nav,
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.primary-nav {
    color: var(--soft-text);
    font-size: 0.96rem;
}

.header-actions {
    gap: 0.75rem;
}

.locale-select {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.locale-select::after {
    position: absolute;
    right: 0.72rem;
    width: 0.42rem;
    height: 0.42rem;
    border-right: 1px solid var(--foreground);
    border-bottom: 1px solid var(--foreground);
    pointer-events: none;
    transform: translateY(-0.15rem) rotate(45deg);
    opacity: 0.75;
    content: "";
}

.locale-select select {
    min-height: 38px;
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    appearance: none;
    background: rgba(16, 19, 25, 0.62);
    color: var(--foreground);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    outline: none;
    padding: 0.58rem 1.85rem 0.58rem 0.78rem;
}

.locale-select select:hover,
.locale-select select:focus {
    border-color: rgba(0, 217, 255, 0.48);
    box-shadow: 0 0 22px rgba(0, 217, 255, 0.12);
}

.logout-form {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--muted-foreground);
    font-size: 0.82rem;
}

.logout-form .dashboard-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 42px;
    max-width: 170px;
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    background: rgba(16, 19, 25, 0.42);
    padding: 0.66rem 1.05rem;
    color: var(--soft-text);
    font-weight: 650;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.logout-form .dashboard-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

.logout-form .dashboard-link::before {
    width: 0.48rem;
    height: 0.48rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: currentColor;
    opacity: 0;
    box-shadow: 0 0 14px var(--accent);
    content: "";
}

.logout-form .dashboard-link.active {
    border-color: rgba(0, 217, 255, 0.34);
    background: rgba(0, 10, 14, 0.72);
    color: #bfeeff;
    box-shadow: 0 0 22px rgba(0, 217, 255, 0.12);
}

.logout-form .dashboard-link.active::before {
    opacity: 1;
}

.primary-nav a {
    position: relative;
    transition: color 160ms ease;
}

.primary-nav a::after {
    position: absolute;
    right: 0;
    bottom: -0.4rem;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0;
    transform: scaleX(0.7);
    transition: opacity 160ms ease, transform 160ms ease;
    content: "";
}

.primary-nav a:hover,
.primary-nav a.active {
    color: var(--foreground);
}

.primary-nav a:hover::after,
.primary-nav a.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 46px;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.78rem 1.3rem;
    color: var(--foreground);
    font-weight: 650;
    line-height: 1;
    transition: border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.btn:hover {
    border-color: var(--accent);
    transform: translateY(-1px);
}

.btn svg {
    width: 1.05rem;
    height: 1.05rem;
    margin-bottom: -4px;
}

.btn--primary {
    border-color: rgba(0, 217, 255, 0.18);
    background: rgba(0, 10, 14, 0.92);
    color: #bfeeff;
    box-shadow: 0 0 28px rgba(0, 217, 255, 0.18);
}

.btn--ghost {
    background: rgba(16, 19, 25, 0.42);
}

.btn--compact {
    min-height: 42px;
    padding: 0.66rem 1.05rem;
}

.btn--disabled {
    cursor: default;
    opacity: 0.72;
    pointer-events: none;
}

.btn--icon {
    width: 42px;
    padding: 0;
}

.btn--icon svg {
    width: 1.1rem;
    height: 1.1rem;
    margin: 0;
}

.cookie-consent {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 70;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 1.25rem;
    width: min(720px, calc(100% - 2rem));
    padding: 1.15rem;
    border: 1px solid rgba(218, 230, 241, 0.38);
    border-radius: 18px;
    background: rgba(2, 8, 12, 0.94);
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.48), 0 0 32px rgba(0, 217, 255, 0.14);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cookie-consent__copy h2 {
    margin: 0.35rem 0 0.45rem;
    font-size: 1.15rem;
    font-weight: 600;
}

.cookie-consent__copy p {
    max-width: 520px;
    margin: 0 0 0.55rem;
    color: var(--soft-text);
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(16, 19, 25, 0.58);
    color: var(--foreground);
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 1px;
    margin: 5px auto;
    background: currentColor;
}

.section {
    width: min(var(--max), calc(100% - 2rem));
    margin: 0 auto;
    padding: 5.2rem 0;
}

.section--hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    align-items: center;
    gap: 5rem;
    min-height: calc(100vh - 86px);
    padding-top: 6rem;
}

.section--tight {
    padding-top: 2rem;
}

.section--cta {
    display: grid;
    place-items: center;
}

.page-hero {
    padding-top: 9rem;
    padding-bottom: 3rem;
}

.page-hero h1,
.hero h1 {
    max-width: 820px;
    margin: 1.1rem 0 0.8rem;
    font-size: clamp(2.45rem, 5vw, 4.6rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: 0;
}

.page-hero p,
.hero__content > p {
    max-width: 760px;
    margin: 0;
    color: var(--soft-text);
    font-size: clamp(1.02rem, 1.6vw, 1.22rem);
}

.product-trial-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    width: min(820px, 100%);
    margin: 1.7rem auto 0;
    border: 1px solid rgba(0, 217, 255, 0.28);
    border-radius: 18px;
    padding: 1.2rem 1.25rem;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.13), rgba(93, 82, 255, 0.1));
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
}

.product-trial-callout h2 {
    margin: 0.35rem 0 0.35rem;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    font-weight: 600;
    line-height: 1.15;
}

.product-trial-callout p {
    max-width: 560px;
    font-size: 1rem;
}

.product-trial-callout--center {
    margin-top: 0;
    margin-bottom: 3rem;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.download-card {
    display: flex;
    min-height: 320px;
    flex-direction: column;
    align-items: flex-start;
}

.download-card--active {
    border-color: rgba(0, 217, 255, 0.48);
    box-shadow: 0 0 42px rgba(0, 217, 255, 0.12);
}

.download-card p {
    color: var(--soft-text);
}

.download-card .btn {
    margin-top: auto;
}

.eyebrow,
.pill,
.label {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(16, 19, 25, 0.44);
    padding: 0.22rem 0.82rem;
    color: var(--soft-text);
    font-size: 0.72rem;
    letter-spacing: 0.42em;
    line-height: 1.4;
    text-transform: uppercase;
}

.pill {
    font-size: 0.68rem;
}

.pill--accent {
    border-color: rgba(0, 217, 255, 0.65);
    color: var(--accent);
}

.label {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--muted-foreground);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.button-row--center {
    justify-content: center;
}

.hero__signals {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 1.6rem;
    color: rgba(213, 220, 228, 0.78);
    font-size: 0.9rem;
}

.hero__signals span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.hero__signals span::before {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 18px var(--accent);
    content: "";
}

.device-panel,
.demo-panel,
.cta-panel,
.glass-card {
    border: 1px solid var(--border);
    background: linear-gradient(145deg, rgba(9, 20, 24, 0.78), rgba(7, 11, 18, 0.74));
    box-shadow: var(--shadow-cyan);
    backdrop-filter: blur(18px);
}

.device-panel {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 2rem;
}

.device-panel::before,
.demo-panel::before,
.cta-panel::before,
.glass-card::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.11), transparent 42%);
    content: "";
}

.device-panel > *,
.demo-panel > *,
.cta-panel > *,
.glass-card > * {
    position: relative;
}

.device-panel__bar,
.device-panel__foot,
.demo-panel__top,
.demo-screen__top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted-foreground);
    font-size: 0.78rem;
}

.device-panel__status {
    margin-top: 1.8rem;
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.42);
    padding: 1rem;
}

.device-panel__status p {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 0;
    color: var(--soft-text);
}

.device-panel__status div,
.device-panel__status small {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.8rem;
    color: var(--muted-foreground);
    font-size: 0.78rem;
}

.device-panel__status span:first-child,
.demo-screen__top span:last-child,
.demo-panel__top strong {
    color: var(--accent);
}

.device-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-top: 1rem;
}

.device-grid div {
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem;
    text-align: center;
}

.device-grid strong {
    display: block;
    color: var(--foreground);
    font-size: 0.9rem;
}

.device-grid div:first-child strong {
    color: var(--accent);
}

.device-grid span {
    color: var(--muted-foreground);
    font-size: 0.75rem;
}

.device-panel__foot {
    margin-top: 1.9rem;
}

.section-heading {
    display: grid;
    justify-items: center;
    max-width: 760px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-heading--left {
    justify-items: start;
    margin-left: 0;
    text-align: left;
}

.section-heading h2 {
    margin: 1rem 0 0.4rem;
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    font-weight: 500;
    line-height: 1.15;
}

.section-heading p {
    margin: 0;
    color: var(--muted-foreground);
}

.card-grid {
    display: grid;
    gap: 1.4rem;
}

.card-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.glass-card {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    border-radius: 24px;
    padding: 2rem;
}

.glass-card--large {
    padding: 2.6rem;
}

.glass-card h2,
.glass-card h3,
.glass-card p {
    margin-top: 0;
}

.glass-card h2,
.glass-card h3 {
    margin-bottom: 0.9rem;
    font-weight: 500;
    line-height: 1.2;
}

.glass-card h2 {
    font-size: clamp(1.45rem, 2vw, 2rem);
}

.glass-card h3 {
    font-size: 1.35rem;
}

.glass-card p,
.glass-card li {
    color: var(--soft-text);
}

.glass-card small {
    display: block;
    color: var(--muted-foreground);
    font-size: 0.72rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
}

.card-meta,
.price-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.card-meta {
    margin-top: 1.4rem;
    color: var(--muted-foreground);
    font-size: 0.84rem;
}

.text-link {
    display: inline-flex;
    margin-top: 1rem;
    color: #9de9ff;
    font-weight: 650;
}

.text-link::after {
    margin-left: 0.4rem;
    content: "->";
}

.icon-card {
    display: grid;
    align-content: start;
    gap: 0.9rem;
}

.icon-box {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    background: rgba(16, 19, 25, 0.64);
    color: var(--accent);
}

.icon-box svg {
    width: 25px;
    height: 25px;
}

.split-grid {
    display: grid;
    grid-template-columns: 1.18fr 1fr;
    gap: 1.8rem;
}

.split-grid--equal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stack {
    display: grid;
    gap: 1.4rem;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.spec-grid div,
.contact-channel {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(16, 19, 25, 0.42);
    padding: 1rem;
}

.spec-grid small,
.contact-channel span {
    display: block;
    color: var(--muted-foreground);
    font-size: 0.72rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.spec-grid span {
    display: block;
    margin-top: 0.35rem;
}

.feature-list {
    display: grid;
    gap: 0.75rem;
    margin: 1.2rem 0 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    display: flex;
    gap: 0.6rem;
}

.feature-list li::before {
    flex: 0 0 auto;
    width: 0.38rem;
    height: 0.38rem;
    margin-top: 0.68rem;
    border-radius: 999px;
    background: var(--accent);
    content: "";
}

.price-card strong {
    display: block;
    margin-top: 0.3rem;
    font-size: 1.7rem;
    font-weight: 500;
}

.product-action {
    margin-top: 1.4rem;
}

.cart-layout,
.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
    gap: 1.4rem;
    align-items: start;
}

.cart-empty {
    display: grid;
    gap: 1rem;
}

.cart-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
    gap: 1.3rem;
    align-items: center;
}

.cart-line__controls {
    display: grid;
    justify-items: end;
    gap: 0.8rem;
}

.cart-line__controls form:first-child {
    display: grid;
    grid-template-columns: minmax(92px, 1fr) auto;
    align-items: end;
    gap: 0.7rem;
}

.cart-line__controls label {
    display: grid;
    gap: 0.4rem;
    color: var(--muted-foreground);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.cart-line__controls input {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(8, 13, 17, 0.72);
    color: var(--foreground);
    padding: 0.72rem 0.85rem;
}

.cart-summary {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 1rem;
}

.cart-summary dl {
    display: grid;
    gap: 0.75rem;
    margin: 0;
}

.cart-summary dl div,
.checkout-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    background: rgba(5, 8, 12, 0.48);
    padding: 0.85rem;
}

.cart-summary dt,
.cart-summary dd {
    margin: 0;
}

.cart-summary dt,
.checkout-item span {
    color: var(--muted-foreground);
}

.cart-summary dd,
.checkout-item strong {
    color: var(--foreground);
    font-weight: 700;
}

.checkout-action {
    margin-top: 1.4rem;
}

.dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    align-items: end;
    gap: 2rem;
    padding-top: 7rem;
    padding-bottom: 2rem;
}

.dashboard-hero h1 {
    max-width: 840px;
    margin: 1rem 0 0.7rem;
    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 500;
    line-height: 1.08;
}

.dashboard-hero p {
    max-width: 780px;
    margin: 0;
    color: var(--soft-text);
    font-size: 1.08rem;
}

.dashboard-status {
    border: 1px solid var(--border);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(9, 20, 24, 0.78), rgba(7, 11, 18, 0.74));
    box-shadow: var(--shadow-cyan);
    padding: 1.4rem;
}

.dashboard-status strong {
    display: block;
    margin-top: 0.8rem;
    color: #bfeeff;
    font-size: 1.45rem;
    font-weight: 500;
}

.dashboard-status small {
    display: block;
    margin-top: 0.35rem;
    color: var(--muted-foreground);
}

.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.metric-card {
    padding: 1.5rem;
}

.metric-card strong {
    display: block;
    margin: 0.8rem 0 0.25rem;
    color: var(--foreground);
    font-size: 2.25rem;
    font-weight: 500;
    line-height: 1;
}

.metric-card p {
    margin: 0;
    color: var(--muted-foreground);
}

.dashboard-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.75fr);
    gap: 1.4rem;
    align-items: start;
}

.dashboard-card {
    padding: 1.55rem;
}

.dashboard-card__header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.dashboard-card h2 {
    margin: 0.5rem 0 0;
    font-size: 1.45rem;
}

.device-list,
.activity-list,
.profile-list {
    display: grid;
    gap: 0.75rem;
}

.device-row,
.orders-table__row,
.profile-list div,
.activity-list div {
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    background: rgba(16, 19, 25, 0.42);
    padding: 0.95rem;
}

.device-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.85rem;
}

.device-row__dot {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 16px var(--accent);
}

.device-row strong,
.device-row small {
    display: block;
}

.device-row small,
.activity-list small,
.profile-list dt,
.orders-table__row span {
    color: var(--muted-foreground);
    font-size: 0.78rem;
}

.device-row > span:last-child {
    color: #bfeeff;
    font-size: 0.82rem;
    font-weight: 700;
}

.orders-table {
    display: grid;
    gap: 0.7rem;
}

.orders-table__row {
    display: grid;
    grid-template-columns: 0.7fr 1.4fr 0.9fr 0.8fr;
    align-items: center;
    gap: 0.8rem;
}

.orders-table__row strong {
    font-weight: 600;
}

.profile-list {
    margin: 1rem 0 0;
}

.profile-list div {
    display: grid;
    gap: 0.2rem;
}

.profile-list dt,
.profile-list dd {
    margin: 0;
}

.profile-list dd {
    overflow-wrap: anywhere;
    color: var(--soft-text);
}

.activity-list {
    margin-top: 1rem;
}

.activity-list p {
    margin: 0.25rem 0 0;
    color: var(--soft-text);
}

.account-gate .btn {
    margin-top: 2rem;
}

.dashboard-app {
    width: min(1320px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 3rem 0 5rem;
}

.dashboard-shell {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    align-items: start;
    min-height: 760px;
    overflow: visible;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: rgba(5, 8, 12, 0.82);
    box-shadow: var(--shadow-cyan);
}

.dashboard-sidebar {
    align-self: stretch;
    border-right: 1px solid var(--border-soft);
    border-radius: 28px 0 0 28px;
    background:
        radial-gradient(circle at 50% 0%, rgba(0, 217, 255, 0.16), transparent 12rem),
        rgba(10, 12, 18, 0.92);
    padding: 2rem 1.3rem;
}

.dashboard-sidebar__inner {
    position: sticky;
    top: 108px;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 2rem;
    min-height: calc(100vh - 150px);
}

.dashboard-user {
    display: grid;
    justify-items: center;
    text-align: center;
}

.dashboard-avatar {
    position: relative;
    display: grid;
    width: 78px;
    height: 78px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: linear-gradient(145deg, rgba(0, 217, 255, 0.28), rgba(100, 96, 255, 0.18));
    color: var(--foreground);
    font-size: 2rem;
    font-weight: 700;
    box-shadow: var(--shadow-cyan);
}

.dashboard-avatar img {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    object-fit: cover;
}

.dashboard-user strong {
    margin-top: 0.9rem;
    font-size: 1.05rem;
}

.dashboard-user small {
    max-width: 100%;
    overflow: hidden;
    color: var(--muted-foreground);
    font-size: 0.78rem;
    text-overflow: ellipsis;
}

.dashboard-menu {
    display: grid;
    gap: 0.55rem;
    align-content: start;
}

.dashboard-menu a,
.dashboard-logout {
    display: flex;
    align-items: center;
    min-height: 48px;
    border: 1px solid transparent;
    border-radius: 16px;
    padding: 0 1rem;
    color: var(--soft-text);
    font-weight: 700;
}

.dashboard-menu a::before,
.dashboard-logout::before {
    width: 0.48rem;
    height: 0.48rem;
    margin-right: 0.75rem;
    border-radius: 999px;
    background: currentColor;
    content: "";
}

.dashboard-menu a.active,
.dashboard-menu a:hover,
.dashboard-logout:hover {
    border-color: rgba(0, 217, 255, 0.34);
    background: linear-gradient(90deg, rgba(0, 217, 255, 0.22), rgba(94, 89, 255, 0.18));
    color: var(--foreground);
}

.dashboard-logout {
    width: 100%;
    background: transparent;
    cursor: pointer;
}

.dashboard-workspace {
    overflow: hidden;
    border-radius: 0 28px 28px 0;
    background:
        radial-gradient(circle at 70% 0%, rgba(0, 83, 180, 0.2), transparent 26rem),
        linear-gradient(180deg, rgba(8, 14, 22, 0.92), rgba(5, 6, 8, 0.98));
    padding: 2rem;
}

.dashboard-topline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 300px);
    align-items: end;
    gap: 1.4rem;
    margin-bottom: 1.4rem;
}

.dashboard-topline h1 {
    margin: 0.85rem 0 0.45rem;
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 500;
    line-height: 1.08;
}

.dashboard-topline p {
    max-width: 780px;
    margin: 0;
    color: var(--soft-text);
}

.dashboard-pulse,
.dashboard-widget {
    border: 1px solid rgba(218, 230, 241, 0.48);
    border-radius: 18px;
    background: rgba(237, 243, 255, 0.06);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.dashboard-pulse {
    padding: 1rem;
}

.dashboard-pulse span,
.dashboard-pulse small {
    display: block;
    color: var(--muted-foreground);
    font-size: 0.78rem;
}

.dashboard-pulse strong {
    display: block;
    color: #bfeeff;
    font-size: 1.35rem;
    font-weight: 500;
}

.dashboard-board {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1rem;
}

.dashboard-widget {
    padding: 1.25rem;
}

.dashboard-widget h2 {
    margin: 0.45rem 0 0;
    font-size: 1.15rem;
    font-weight: 500;
}

.dashboard-widget p {
    color: var(--soft-text);
}

.dashboard-widget__header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.dashboard-widget--chart,
.dashboard-widget--overview {
    grid-column: span 7;
    min-height: 290px;
}

.dashboard-widget--status {
    grid-column: span 5;
    display: grid;
    align-content: center;
    min-height: 190px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.18), rgba(93, 82, 255, 0.16));
}

.dashboard-widget--status strong {
    margin: 0.5rem 0 0.2rem;
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 500;
    line-height: 1;
}

.dashboard-widget--status .dashboard-widget__action {
    margin-top: 0.85rem;
    width: fit-content;
}

.dashboard-widget--metric {
    grid-column: span 4;
}

.dashboard-widget--metric strong {
    display: block;
    margin: 0.65rem 0 0.3rem;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 500;
    line-height: 1;
    overflow-wrap: anywhere;
}

.dashboard-widget--devices,
.dashboard-widget--orders {
    grid-column: span 6;
}

.dashboard-widget--settings,
.dashboard-widget--activity {
    grid-column: span 6;
}

.dashboard-widget--full {
    min-height: 560px;
}

.dashboard-page {
    display: grid;
    gap: 1rem;
}

.dashboard-page--split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-page--settings .dashboard-widget {
    grid-column: 1 / -1;
}

.dashboard-page-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 500;
}

.dashboard-page-heading {
    grid-column: 1 / -1;
}

.dashboard-page-heading p {
    margin: 0.35rem 0 0;
    color: #bfeeff;
    font-size: 1rem;
    font-weight: 700;
}

.dashboard-chart {
    height: 210px;
}

.dashboard-real-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.dashboard-real-grid div {
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    background: rgba(5, 8, 12, 0.42);
    padding: 0.95rem;
}

.dashboard-real-grid span {
    display: block;
    color: var(--muted-foreground);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.dashboard-real-grid strong {
    display: block;
    margin-top: 0.55rem;
    color: var(--foreground);
    font-size: clamp(1.4rem, 2.7vw, 2rem);
    font-weight: 600;
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.dashboard-real-grid p {
    margin: 0.45rem 0 0;
    font-size: 0.9rem;
}

.dashboard-chart svg {
    width: 100%;
    height: 100%;
}

.chart-grid {
    fill: none;
    stroke: rgba(213, 220, 228, 0.12);
    stroke-width: 1;
}

.chart-fill {
    fill: url("#kwChartFill");
}

.chart-line {
    fill: none;
    stroke: var(--accent);
    stroke-linecap: round;
    stroke-width: 9;
    filter: drop-shadow(0 0 12px rgba(0, 217, 255, 0.35));
}

.dashboard-list,
.dashboard-orders,
.dashboard-profile,
.dashboard-timeline {
    display: grid;
    gap: 0.65rem;
}

.dashboard-list__row,
.dashboard-orders div,
.dashboard-profile div,
.dashboard-timeline div {
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    background: rgba(5, 8, 12, 0.48);
    padding: 0.85rem;
}

.dashboard-list__row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.8rem;
}

.dashboard-dot {
    width: 0.58rem;
    height: 0.58rem;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 15px var(--accent);
}

.dashboard-list strong,
.dashboard-list small {
    display: block;
}

.dashboard-list small,
.dashboard-orders span,
.dashboard-profile dt,
.dashboard-timeline small {
    color: var(--muted-foreground);
    font-size: 0.76rem;
}

.dashboard-list em,
.dashboard-orders em {
    color: #bfeeff;
    font-style: normal;
    font-weight: 700;
}

.dashboard-orders div {
    display: grid;
    grid-template-columns: 0.7fr 1.5fr 0.8fr 0.8fr;
    align-items: center;
    gap: 0.7rem;
}

.dashboard-profile {
    margin: 1rem 0;
}

.dashboard-profile dt,
.dashboard-profile dd {
    margin: 0;
}

.dashboard-profile dd {
    overflow-wrap: anywhere;
    color: var(--soft-text);
}

.dashboard-timeline {
    margin-top: 1rem;
}

.dashboard-timeline p {
    margin: 0.25rem 0 0;
}

.dashboard-list--managed .dashboard-list__row {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.dashboard-list__row--revoked {
    opacity: 0.62;
}

.dashboard-device {
    min-width: 0;
}

.dashboard-device__head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.dashboard-device__head em {
    border: 1px solid rgba(191, 238, 255, 0.18);
    border-radius: 999px;
    color: #bfeeff;
    font-size: 0.66rem;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
    padding: 0.25rem 0.45rem;
}

.dashboard-device__head .dashboard-device-state {
    border-color: rgba(170, 255, 210, 0.24);
    color: #aaffd2;
}

.dashboard-device__head .dashboard-device-state--locked {
    border-color: rgba(255, 124, 124, 0.35);
    color: #ffb0b0;
}

.dashboard-device__head .dashboard-device-state--screensaver {
    border-color: rgba(255, 210, 125, 0.34);
    color: #ffdf9a;
}

.dashboard-device__head .dashboard-device-state--unknown {
    border-color: rgba(218, 230, 241, 0.18);
    color: var(--muted-foreground);
}

.dashboard-ble-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.65rem;
}

.dashboard-ble-chip,
.dashboard-ble-empty {
    border: 1px solid rgba(218, 230, 241, 0.14);
    border-radius: 999px;
    background: rgba(237, 243, 255, 0.06);
    color: var(--soft-text);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.35rem 0.55rem;
}

.dashboard-ble-chip small {
    display: inline;
    margin-left: 0.3rem;
}

.dashboard-list--managed form {
    margin: 0;
}

.dashboard-device-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.mini-action {
    min-height: 36px;
    border: 1px solid rgba(0, 217, 255, 0.28);
    border-radius: 999px;
    background: rgba(0, 10, 14, 0.72);
    color: #bfeeff;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.45rem 0.8rem;
}

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

.mini-action--disabled {
    display: inline-flex;
    align-items: center;
    cursor: default;
    opacity: 0.72;
}

.app-control {
    display: grid;
    gap: 0.8rem;
    margin-top: 1rem;
}

.app-control strong {
    color: #bfeeff;
    font-size: 1.2rem;
    font-weight: 500;
}

.app-control p {
    margin: 0;
}

.activity-table {
    display: grid;
    gap: 0.7rem;
    margin-top: 1rem;
}

.activity-table div {
    display: grid;
    grid-template-columns: 0.55fr 1fr minmax(0, 2fr) 0.7fr;
    align-items: center;
    gap: 0.9rem;
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    background: rgba(5, 8, 12, 0.48);
    padding: 0.9rem;
}

.activity-table span {
    color: var(--muted-foreground);
    font-size: 0.78rem;
}

.activity-table strong {
    font-weight: 650;
}

.activity-table p {
    margin: 0;
}

.activity-table em {
    justify-self: end;
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 999px;
    color: #bfeeff;
    font-size: 0.76rem;
    font-style: normal;
    font-weight: 800;
    padding: 0.25rem 0.6rem;
}

.dashboard-form {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.dashboard-form label {
    display: grid;
    gap: 0.45rem;
    color: var(--soft-text);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

.dashboard-form input {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(8, 13, 17, 0.72);
    padding: 0.85rem 1rem;
    color: var(--foreground);
    outline: none;
}

.dashboard-form input:disabled {
    color: var(--muted-foreground);
    opacity: 0.8;
}

.dashboard-form input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 217, 255, 0.12);
}

.demo-panel {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding: 1.6rem;
}

.demo-grid {
    display: grid;
    grid-template-columns: 1fr 0.78fr;
    gap: 1.2rem;
    margin-top: 1.4rem;
}

.demo-screen,
.demo-log {
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(2, 9, 20, 0.92), rgba(255, 255, 255, 0.04));
    padding: 1.5rem;
}

.demo-log {
    color: var(--soft-text);
}

.demo-log ul {
    display: grid;
    gap: 0.65rem;
    margin: 1rem 0;
    padding: 0;
    color: var(--soft-text);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.78rem;
    list-style: none;
}

.demo-log p {
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    background: rgba(16, 19, 25, 0.5);
    padding: 1rem;
    color: var(--muted-foreground);
    font-size: 0.82rem;
}

.quote-card p {
    color: var(--foreground);
    font-size: 1.08rem;
    font-style: italic;
}

.quote-card cite {
    display: block;
    margin-top: 1rem;
    color: var(--muted-foreground);
    font-size: 0.78rem;
    font-style: normal;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.cta-panel {
    position: relative;
    overflow: hidden;
    width: min(820px, 100%);
    border-radius: 28px;
    padding: 3rem 2rem;
    text-align: center;
}

.cta-panel h2 {
    margin: 1rem 0 0.6rem;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 500;
}

.cta-panel p {
    max-width: 620px;
    margin: 0 auto;
    color: var(--soft-text);
}

.contact-form {
    display: grid;
    gap: 1.35rem;
    margin-top: 1.5rem;
}

.contact-form label {
    display: grid;
    gap: 0.55rem;
    color: var(--soft-text);
    font-size: 0.78rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(8, 13, 17, 0.72);
    padding: 1rem 1.2rem;
    color: var(--foreground);
    outline: none;
}

.contact-form textarea {
    resize: vertical;
    border-radius: 24px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 217, 255, 0.12);
}

.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

.auth-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.auth-modal__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 12%, rgba(0, 217, 255, 0.18), transparent 26rem),
        rgba(0, 0, 0, 0.74);
    backdrop-filter: blur(8px);
}

.auth-modal__panel {
    position: relative;
    overflow: hidden;
    width: min(520px, 100%);
    max-height: min(760px, calc(100vh - 2rem));
    border: 1px solid var(--border);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(9, 20, 24, 0.96), rgba(7, 11, 18, 0.96));
    box-shadow: 0 0 55px rgba(0, 217, 255, 0.18);
    padding: 2rem;
    overflow-y: auto;
    transform: translateY(10px) scale(0.98);
    transition: transform 180ms ease;
}

.auth-modal.is-open .auth-modal__panel {
    transform: translateY(0) scale(1);
}

.auth-modal__panel::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.12), transparent 44%);
    content: "";
}

.auth-modal__panel > * {
    position: relative;
}

.auth-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    background: rgba(16, 19, 25, 0.62);
    color: var(--foreground);
    cursor: pointer;
}

.auth-modal__close svg {
    width: 20px;
    height: 20px;
}

.auth-modal__header {
    padding-right: 3rem;
}

.auth-modal__header h2 {
    margin: 1rem 0 0.45rem;
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    font-weight: 500;
    line-height: 1.1;
}

.auth-modal__header p,
.auth-modal__note {
    color: var(--soft-text);
}

.auth-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.35rem;
    margin: 1.6rem 0;
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    background: rgba(16, 19, 25, 0.46);
    padding: 0.28rem;
}

.auth-tabs button {
    min-height: 40px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted-foreground);
    cursor: pointer;
    font-weight: 800;
}

.auth-tabs button.active {
    background: rgba(0, 217, 255, 0.15);
    color: var(--foreground);
    box-shadow: 0 0 22px rgba(0, 217, 255, 0.12);
}

.auth-form {
    display: none;
    gap: 1rem;
}

.auth-form.active {
    display: grid;
}

.auth-form label {
    display: grid;
    gap: 0.5rem;
    color: var(--soft-text);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.auth-form input {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(8, 13, 17, 0.72);
    padding: 0.95rem 1.1rem;
    color: var(--foreground);
    outline: none;
}

.auth-form input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 217, 255, 0.12);
}

.auth-form__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted-foreground);
    font-size: 0.86rem;
}

.auth-form__row a {
    color: #bfeeff;
}

.auth-check {
    display: inline-flex !important;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.55rem !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.auth-check input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--accent);
}

.auth-modal__note {
    margin: 1.25rem 0 0;
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    background: rgba(16, 19, 25, 0.42);
    padding: 0.9rem;
    font-size: 0.86rem;
}

.register-page {
    display: grid;
    grid-template-columns: minmax(320px, 520px) minmax(280px, 1fr);
    align-items: stretch;
    gap: 1.4rem;
    width: min(1040px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 7.5rem 0 5rem;
}

.register-card,
.register-info {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(9, 20, 24, 0.96), rgba(7, 11, 18, 0.96));
    box-shadow: 0 0 55px rgba(0, 217, 255, 0.14);
    padding: 2rem;
}

.register-card::before,
.register-info::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.12), transparent 44%);
    content: "";
}

.register-card > *,
.register-info > * {
    position: relative;
}

.register-card__brand {
    display: grid;
    justify-items: center;
    margin-bottom: 1.6rem;
    text-align: center;
}

.register-card__logo {
    display: grid;
    width: 112px;
    height: 112px;
    place-items: center;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: linear-gradient(145deg, rgba(0, 217, 255, 0.28), rgba(100, 96, 255, 0.18));
    box-shadow: var(--shadow-cyan);
}

.register-card__logo img {
    width: 92px;
    height: 92px;
    border-radius: 999px;
    object-fit: cover;
}

.register-card h1,
.register-info h2 {
    margin: 1rem 0 0.55rem;
    font-weight: 500;
    line-height: 1.1;
}

.register-card h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.register-info h2 {
    font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.register-card p,
.register-info p,
.register-info li {
    color: var(--soft-text);
}

.register-card__brand p,
.register-info p {
    margin: 0;
}

.register-form {
    display: grid;
}

.register-card__signin {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 1.2rem 0 0;
    color: var(--muted-foreground);
    font-size: 0.9rem;
}

.register-card__signin button {
    border: 0;
    background: transparent;
    color: #bfeeff;
    cursor: pointer;
    font-weight: 800;
    padding: 0;
}

.register-info {
    display: grid;
    align-content: center;
}

.register-info ul {
    display: grid;
    gap: 0.8rem;
    margin: 1.4rem 0 0;
    padding: 0;
    list-style: none;
}

.register-info li {
    display: flex;
    gap: 0.7rem;
}

.register-info li::before {
    width: 0.55rem;
    height: 0.55rem;
    flex: 0 0 auto;
    margin-top: 0.55rem;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 18px rgba(0, 217, 255, 0.36);
    content: "";
}

.auth-errors,
.flash-message {
    border: 1px solid rgba(0, 217, 255, 0.34);
    border-radius: 16px;
    background: rgba(0, 217, 255, 0.1);
    color: var(--foreground);
}

.auth-errors {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
}

.auth-errors p {
    margin: 0;
    color: #d9f7ff;
    font-size: 0.88rem;
}

.flash-message {
    position: fixed;
    top: 102px;
    right: 1rem;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.85rem;
    width: min(360px, calc(100% - 2rem));
    padding: 0.85rem 0.8rem 0.85rem 1rem;
    box-shadow: var(--shadow-cyan);
    transition: opacity 180ms ease, transform 180ms ease;
}

.flash-message.is-hiding {
    opacity: 0;
    transform: translateY(-0.5rem);
    pointer-events: none;
}

.flash-message__close {
    display: inline-grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(196, 229, 239, 0.22);
    border-radius: 999px;
    background: rgba(5, 10, 15, 0.38);
    color: var(--foreground);
    cursor: pointer;
}

.flash-message__close:hover {
    border-color: rgba(0, 217, 255, 0.48);
    color: #c9f7ff;
}

.flash-message__close svg {
    width: 1rem;
    height: 1rem;
}

.contact-channel {
    margin-top: 1rem;
}

.contact-channel a,
.contact-channel p {
    display: block;
    margin: 0.4rem 0 0;
    color: var(--foreground);
}

.contact-channel--small {
    color: var(--soft-text);
    font-size: 0.9rem;
}

.legal-page {
    max-width: 1040px;
    padding-top: 9rem;
}

.legal-page h1 {
    margin: 0 0 0.2rem;
    font-size: clamp(2.2rem, 4vw, 3.3rem);
    font-weight: 500;
}

.legal-page h2 {
    margin: 3rem 0 0.7rem;
    font-size: clamp(1.35rem, 2vw, 1.9rem);
    font-weight: 500;
}

.legal-page p {
    color: var(--soft-text);
}

.site-footer {
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.42);
}

.site-footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    width: min(var(--max), calc(100% - 2rem));
    margin: 0 auto;
    padding: 4rem 0;
}

.footer-brand {
    max-width: 460px;
}

.footer-brand p,
.footer-links p {
    color: var(--soft-text);
}

.brand--footer .brand__mark {
    width: 56px;
    height: 56px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(130px, 1fr));
    gap: 3.5rem;
}

.footer-links h2 {
    margin: 0 0 1rem;
    color: rgba(244, 246, 248, 0.86);
    font-size: 0.84rem;
    letter-spacing: 0.42em;
    text-transform: uppercase;
}

.footer-links a {
    display: block;
    margin-top: 0.5rem;
    color: var(--soft-text);
    transition: color 160ms ease;
}

.footer-link-button {
    display: block;
    margin-top: 0.5rem;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--soft-text);
    font: inherit;
    cursor: pointer;
    transition: color 160ms ease;
}

.footer-links a:hover,
.footer-link-button:hover {
    color: var(--accent);
}

.footer-line {
    margin: 0;
    border-top: 1px solid var(--border-soft);
    padding: 1.5rem 1rem;
    color: var(--soft-text);
    font-size: 0.78rem;
    letter-spacing: 0.48em;
    text-align: center;
    text-transform: uppercase;
}

@media (max-width: 1060px) {
    .primary-nav,
    .header-actions {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .primary-nav.is-open,
    .header-actions.is-open {
        position: fixed;
        right: 1rem;
        left: 1rem;
        display: grid;
        border: 1px solid var(--border);
        background: rgba(0, 6, 10, 0.96);
        box-shadow: var(--shadow-cyan);
        backdrop-filter: blur(18px);
    }

    .primary-nav.is-open {
        top: 88px;
        gap: 0;
        border-radius: 24px 24px 0 0;
        padding: 1rem;
    }

    .primary-nav.is-open a {
        border-radius: 16px;
        padding: 0.9rem 1rem;
    }

    .primary-nav.is-open a::after {
        display: none;
    }

    .header-actions.is-open {
        top: 407px;
        grid-template-columns: 1fr;
        border-top: 0;
        border-radius: 0 0 24px 24px;
        padding: 1rem;
    }

    .section--hero,
    .dashboard-hero,
    .dashboard-layout,
    .dashboard-shell,
    .dashboard-topline,
    .cart-layout,
    .checkout-layout,
    .cart-line,
    .split-grid,
    .split-grid--equal,
    .demo-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        grid-template-rows: auto;
        border-right: 0;
        border-bottom: 1px solid var(--border-soft);
        border-radius: 28px 28px 0 0;
    }

    .dashboard-workspace {
        border-radius: 0 0 28px 28px;
    }

    .cart-summary {
        position: static;
    }

    .dashboard-sidebar__inner {
        position: static;
        grid-template-rows: auto;
        min-height: auto;
    }

    .dashboard-menu {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .dashboard-menu a,
    .dashboard-logout {
        justify-content: center;
        min-height: 42px;
        padding: 0 0.65rem;
        font-size: 0.84rem;
    }

    .dashboard-menu a::before,
    .dashboard-logout::before {
        display: none;
    }

    .dashboard-widget--chart,
    .dashboard-widget--overview,
    .dashboard-widget--status,
    .dashboard-widget--metric,
    .dashboard-widget--devices,
    .dashboard-widget--orders,
    .dashboard-widget--settings,
    .dashboard-widget--activity {
        grid-column: 1 / -1;
    }

    .dashboard-page--split {
        grid-template-columns: 1fr;
    }

    .dashboard-widget__header {
        align-items: stretch;
    }

    .site-footer__inner {
        flex-direction: column;
    }
}

@media (max-width: 820px) {
    .cookie-consent {
        left: 1rem;
        right: 1rem;
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .cookie-consent__actions {
        justify-content: stretch;
    }

    .cookie-consent__actions .btn {
        flex: 1 1 160px;
    }

    .product-trial-callout {
        align-items: stretch;
        flex-direction: column;
    }

    .product-trial-callout .btn {
        width: 100%;
    }

    .card-grid--3,
    .card-grid--2,
    .download-grid,
    .dashboard-metrics {
        grid-template-columns: 1fr;
    }

    .register-page {
        grid-template-columns: 1fr;
        padding-top: 5rem;
    }

    .section {
        padding: 4rem 0;
    }

    .section--hero {
        min-height: auto;
        padding-top: 4rem;
    }

    .site-header__inner {
        min-height: 78px;
    }

    .brand__text span {
        font-size: 1.05rem;
    }

    .brand__text small {
        letter-spacing: 0.3em;
    }

    .device-grid,
    .spec-grid {
        grid-template-columns: 1fr;
    }

    .site-footer__inner {
        gap: 1.6rem;
        padding: 2rem 0;
    }

    .footer-brand {
        max-width: none;
    }

    .footer-brand p {
        margin: 0.85rem 0 0;
        font-size: 0.92rem;
    }

    .brand--footer .brand__mark {
        width: 48px;
        height: 48px;
    }

    .brand--footer .brand__mark img {
        width: 36px;
        height: 36px;
    }

    .footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem 1rem;
    }

    .footer-links div:last-child {
        grid-column: 1 / -1;
    }

    .footer-links h2 {
        margin-bottom: 0.65rem;
        font-size: 0.74rem;
        letter-spacing: 0.32em;
    }

    .footer-links a {
        margin-top: 0.45rem;
        font-size: 0.95rem;
    }

    .footer-links p {
        margin: 0.55rem 0 0;
        font-size: 0.95rem;
    }

    .orders-table__row {
        grid-template-columns: 1fr;
    }

    .dashboard-app {
        width: min(100% - 1rem, 1320px);
        padding-top: 1rem;
    }

    .dashboard-workspace,
    .dashboard-sidebar {
        padding: 1rem;
    }

    .dashboard-topline {
        align-items: stretch;
        gap: 1rem;
    }

    .dashboard-pulse {
        width: 100%;
    }

    .dashboard-widget {
        padding: 1rem;
    }

    .dashboard-widget__header {
        flex-direction: column;
        gap: 0.75rem;
    }

    .dashboard-widget__header .pill {
        align-self: flex-start;
    }

    .dashboard-real-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-real-grid span {
        letter-spacing: 0.18em;
    }

    .dashboard-real-grid strong {
        font-size: 1.55rem;
        overflow-wrap: normal;
        word-break: normal;
    }

    .dashboard-menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-orders div,
    .dashboard-list__row,
    .dashboard-list--managed .dashboard-list__row,
    .activity-table div {
        grid-template-columns: 1fr;
    }

    .activity-table em {
        justify-self: start;
    }

    .orders-table__row span,
    .orders-table__row strong {
        display: block;
    }

    .footer-line {
        padding: 1rem;
        font-size: 0.68rem;
        letter-spacing: 0.16em;
    }
}

@media (max-width: 560px) {
    .brand__mark {
        width: 46px;
        height: 46px;
    }

    .brand__text small {
        font-size: 0.62rem;
    }

    .page-hero h1,
    .hero h1,
    .dashboard-topline h1,
    .dashboard-hero h1 {
        font-size: 2.25rem;
    }

    .dashboard-widget--overview,
    .dashboard-widget--status {
        min-height: auto;
    }

    .dashboard-real-grid div {
        padding: 0.85rem;
    }

    .dashboard-real-grid strong {
        font-size: 1.35rem;
    }

    .register-card,
    .register-info {
        border-radius: 22px;
        padding: 1.35rem;
    }

    .register-card__signin {
        align-items: flex-start;
        flex-direction: column;
    }

    .device-panel,
    .glass-card,
    .demo-panel,
    .cta-panel {
        border-radius: 20px;
        padding: 1.3rem;
    }

    .button-row {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .site-footer__inner {
        width: min(100% - 2rem, var(--max));
        padding: 1.6rem 0;
    }

    .footer-links {
        gap: 1.35rem 0.85rem;
    }
}
