/* ==========================================================================
   POS4U ERP
   Enterprise Product Website
   A MAK4U Technologies Product
   ========================================================================== */

:root {
    color-scheme: dark;

    --bg: #050d16;
    --bg-deep: #02070c;

    --surface: #0a1724;
    --surface-soft: #0d1d2d;
    --surface-elevated: #112538;

    --ink: #edf7fb;
    --ink-strong: #ffffff;

    --muted: #94a9b8;
    --muted-soft: #6f8493;

    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 255, 255, 0.15);

    --accent: #45e0b7;
    --accent-bright: #73f0cd;

    --accent2: #55a7ff;
    --accent2-bright: #78bbff;

    --accent-dark: #092c29;

    --light: #f4f8fa;
    --light-ink: #08141f;
    --light-muted: #607180;

    --warning: #ffcb66;

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius: 24px;
    --radius-lg: 32px;

    --shadow-sm:
        0 12px 32px rgba(0, 0, 0, 0.18);

    --shadow-md:
        0 24px 70px rgba(0, 0, 0, 0.28);

    --shadow-accent:
        0 22px 70px rgba(69, 224, 183, 0.11);

    --header-height: 78px;

    --ease:
        cubic-bezier(0.2, 0.7, 0.2, 1);
}


/* ==========================================================================
   Reset
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 28px);
}

body {
    margin: 0;

    min-width: 320px;

    overflow-x: hidden;

    background:
        radial-gradient(circle at 73% 5%,
            rgba(85, 167, 255, 0.08),
            transparent 32rem),
        radial-gradient(circle at 9% 28%,
            rgba(69, 224, 183, 0.045),
            transparent 30rem),
        var(--bg);

    color: var(--ink);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.6;

    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

button {
    font: inherit;
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

a {
    text-underline-offset: 4px;
}

::selection {
    color: white;

    background:
        rgba(69, 224, 183, 0.24);
}

.shell {
    width: min(1200px, calc(100% - 40px));

    margin-inline: auto;
}


/* ==========================================================================
   Accessibility
   ========================================================================== */

.skip-link {
    position: fixed;
    top: -70px;
    left: 20px;

    z-index: 500;

    padding: 11px 17px;

    border-radius: 10px;

    background: white;
    color: black;

    font-size: 14px;
    font-weight: 800;

    text-decoration: none;

    box-shadow: var(--shadow-sm);
}

.skip-link:focus {
    top: 12px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(69, 224, 183, 0.7);

    outline-offset: 4px;
}


/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    position: fixed;
    inset: 0 0 auto;

    z-index: 100;

    height: var(--header-height);

    border-bottom: 1px solid var(--line);

    background:
        rgba(5, 13, 22, 0.78);

    -webkit-backdrop-filter:
        blur(20px) saturate(145%);

    backdrop-filter:
        blur(20px) saturate(145%);
}

.nav {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;

    gap: 12px;

    color: white;

    text-decoration: none;

    transition:
        opacity 180ms ease,
        transform 180ms ease;
}

.brand:hover {
    opacity: 0.96;
}

.brand:active {
    transform: translateY(1px);
}

.brand-mark {
    position: relative;

    width: 42px;
    height: 42px;

    flex: 0 0 auto;

    display: grid;
    place-items: center;

    border-radius: 13px;

    background:
        linear-gradient(135deg,
            var(--accent),
            #48cbd4 45%,
            var(--accent2));

    color: #04110f;

    font-size: 13px;
    font-weight: 950;

    letter-spacing: -0.7px;

    box-shadow:
        0 12px 34px rgba(69, 224, 183, 0.17),
        inset 0 1px rgba(255, 255, 255, 0.45);
}

.brand-copy {
    display: flex;
    flex-direction: column;

    line-height: 1;
}

.brand-copy strong {
    font-size: 19px;
    font-weight: 850;

    letter-spacing: -0.6px;
}

.brand-copy small {
    margin-top: 5px;

    color: var(--accent);

    font-size: 8px;
    font-weight: 850;

    letter-spacing: 2.2px;
}

.nav-links {
    display: flex;
    align-items: center;

    gap: 28px;
}

.nav-links a,
footer a {
    color: #b4c4d0;

    font-size: 14px;
    font-weight: 580;

    text-decoration: none;

    transition:
        color 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        transform 180ms ease;
}

.nav-links a:hover,
footer a:hover {
    color: white;
}

.nav-cta {
    padding: 9px 17px;

    border: 1px solid rgba(69, 224, 183, 0.22);

    border-radius: 999px;

    background:
        rgba(69, 224, 183, 0.05);

    color: var(--accent) !important;
}

.nav-cta:hover {
    border-color:
        rgba(69, 224, 183, 0.42);

    background:
        rgba(69, 224, 183, 0.09);

    transform: translateY(-1px);
}

.menu-button {
    display: none;

    border: 0;

    background: transparent;

    cursor: pointer;
}


/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    position: relative;

    min-height: 820px;

    padding-top: 150px;
    padding-bottom: 90px;

    display: grid;
    grid-template-columns:
        minmax(0, 1.03fr) minmax(0, 0.97fr);

    align-items: center;

    gap: 58px;
}

.hero-copy {
    position: relative;

    z-index: 2;
}

.eyebrow {
    margin: 0 0 18px;

    color: var(--accent);

    font-size: 12px;
    font-weight: 850;

    letter-spacing: 2.3px;

    text-transform: uppercase;
}

.hero h1 {
    margin: 0;

    max-width: 700px;

    color: var(--ink-strong);

    font-size: clamp(53px, 5.5vw, 82px);
    font-weight: 790;

    line-height: 1.02;

    letter-spacing: -4.4px;

    text-wrap: balance;
}

.hero h1 span {
    display: block;

    background:
        linear-gradient(92deg,
            var(--accent),
            #59d6dc 43%,
            var(--accent2-bright));

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero-lead {
    max-width: 650px;

    margin: 29px 0 35px;

    color: var(--muted);

    font-size: 19px;

    line-height: 1.72;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;
}


/* ==========================================================================
   Buttons
   ========================================================================== */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 49px;

    padding: 13px 22px;

    gap: 9px;

    border: 1px solid transparent;

    border-radius: var(--radius-sm);

    font-size: 14px;
    font-weight: 780;

    text-decoration: none;

    transition:
        transform 180ms var(--ease),
        box-shadow 180ms ease,
        border-color 180ms ease,
        background 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(0);
}

.primary {
    background:
        linear-gradient(135deg,
            var(--accent),
            #58d7d1 48%,
            var(--accent2));

    color: #04110f;

    box-shadow:
        0 14px 38px rgba(69, 224, 183, 0.16);
}

.primary:hover {
    box-shadow:
        0 18px 48px rgba(69, 224, 183, 0.24);
}

.secondary {
    border-color: var(--line-strong);

    background:
        rgba(255, 255, 255, 0.025);

    color: white;
}

.secondary:hover {
    border-color:
        rgba(69, 224, 183, 0.25);

    background:
        rgba(255, 255, 255, 0.05);
}


/* ==========================================================================
   Hero Trust
   ========================================================================== */

.trust-row {
    display: flex;
    flex-wrap: wrap;

    gap: 23px;

    margin-top: 36px;

    color: #8094a4;

    font-size: 12px;
}

.trust-row span {
    display: inline-flex;
    align-items: center;
}

.trust-row span::before {
    content: "\2713";

    margin-right: 7px;

    color: var(--accent);

    font-weight: 900;
}

.maker-link {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    margin-top: 27px;

    color: #6f8595;

    font-size: 12px;

    text-decoration: none;

    transition:
        color 180ms ease;
}

.maker-link strong {
    color: #a8bac7;
}

.maker-link:hover,
.maker-link:hover strong {
    color: white;
}


/* ==========================================================================
   Hero Product Visual
   ========================================================================== */

.hero-visual {
    position: relative;

    width: 100%;

    max-width: 580px;

    justify-self: end;
}

.hero-visual::before {
    content: "";

    position: absolute;

    inset: -7% -8%;

    z-index: -1;

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(69, 224, 183, 0.11),
            rgba(85, 167, 255, 0.08) 42%,
            transparent 68%);

    filter: blur(24px);
}

.platform-window {
    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 25px;

    background:
        linear-gradient(145deg,
            rgba(14, 35, 49, 0.98),
            rgba(5, 17, 28, 0.99));

    box-shadow:
        0 35px 100px rgba(0, 0, 0, 0.44),
        0 0 70px rgba(69, 224, 183, 0.05),
        inset 0 1px rgba(255, 255, 255, 0.04);

    transform:
        perspective(1100px) rotateY(-3deg) rotateX(1deg);
}

.window-topbar {
    height: 68px;

    padding: 0 19px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid var(--line);

    background:
        rgba(255, 255, 255, 0.018);
}

.window-brand {
    display: flex;
    align-items: center;

    gap: 11px;
}

.mini-mark {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background:
        linear-gradient(135deg,
            var(--accent),
            var(--accent2));

    color: #04110f;

    font-size: 10px;
    font-weight: 950;
}

.window-brand div {
    display: flex;
    flex-direction: column;

    line-height: 1.1;
}

.window-brand strong {
    font-size: 12px;
}

.window-brand small {
    margin-top: 4px;

    color: var(--muted-soft);

    font-size: 8px;
}

.window-actions {
    display: flex;

    gap: 6px;
}

.window-actions span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.18);
}

.window-layout {
    min-height: 440px;

    display: grid;
    grid-template-columns: 54px 1fr;
}

.window-sidebar {
    padding-top: 24px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 20px;

    border-right:
        1px solid var(--line);
}

.window-sidebar span {
    width: 17px;
    height: 17px;

    border-radius: 5px;

    background:
        rgba(255, 255, 255, 0.09);
}

.window-sidebar span.active {
    background:
        linear-gradient(135deg,
            var(--accent),
            var(--accent2));

    box-shadow:
        0 0 20px rgba(69, 224, 183, 0.25);
}

.window-content {
    padding: 24px;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 24px;
}

.dashboard-header div {
    display: flex;
    flex-direction: column;
}

.dashboard-header small {
    color: var(--muted-soft);

    font-size: 9px;
}

.dashboard-header strong {
    margin-top: 3px;

    font-size: 18px;
}

.dashboard-badge {
    padding: 5px 9px;

    border: 1px solid rgba(69, 224, 183, 0.15);

    border-radius: 999px;

    background:
        rgba(69, 224, 183, 0.055);

    color: var(--accent);

    font-size: 8px;
    font-weight: 700;
}

.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 10px;
}

.dashboard-metrics article {
    min-width: 0;

    padding: 15px;

    border: 1px solid var(--line);

    border-radius: 13px;

    background:
        rgba(255, 255, 255, 0.02);
}

.dashboard-metrics small,
.dashboard-metrics strong,
.dashboard-metrics span {
    display: block;
}

.dashboard-metrics small {
    color: var(--muted-soft);

    font-size: 8px;
}

.dashboard-metrics strong {
    margin: 5px 0;

    font-size: 18px;
}

.dashboard-metrics span {
    color: var(--accent);

    font-size: 8px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.45fr 0.75fr;

    gap: 11px;

    margin-top: 12px;
}

.chart-card,
.activity-card {
    min-height: 205px;

    padding: 16px;

    border: 1px solid var(--line);

    border-radius: 15px;

    background:
        rgba(255, 255, 255, 0.018);
}

.chart-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    font-size: 9px;
}

.chart-heading small {
    color: var(--muted-soft);
}

.chart-bars {
    height: 140px;

    margin-top: 19px;

    display: flex;
    align-items: flex-end;

    gap: 9px;
}

.chart-bars span {
    width: 100%;

    height: var(--height);

    border-radius:
        5px 5px 2px 2px;

    background:
        linear-gradient(180deg,
            var(--accent),
            rgba(85, 167, 255, 0.5));

    opacity: 0.78;
}

.activity-card>small {
    color: var(--muted-soft);

    font-size: 8px;
}

.activity-card ul {
    margin: 17px 0 0;

    padding: 0;

    list-style: none;
}

.activity-card li {
    display: flex;
    align-items: center;

    gap: 8px;

    padding: 9px 0;

    color: #b5c4cf;

    font-size: 9px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.045);
}

.activity-card li:last-child {
    border: 0;
}

.activity-card li span {
    width: 6px;
    height: 6px;

    flex: 0 0 auto;

    border-radius: 50%;

    background: var(--accent);

    box-shadow:
        0 0 9px rgba(69, 224, 183, 0.5);
}


/* ==========================================================================
   Platform Strip
   ========================================================================== */

.metric-strip {
    border-block: 1px solid var(--line);

    background:
        linear-gradient(90deg,
            rgba(69, 224, 183, 0.012),
            rgba(85, 167, 255, 0.018),
            rgba(69, 224, 183, 0.012));
}

.metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.metrics div {
    min-height: 84px;

    padding: 24px 20px;

    display: flex;
    align-items: center;

    gap: 14px;

    border-right: 1px solid var(--line);
}

.metrics div:last-child {
    border-right: 0;
}

.metrics strong {
    color: var(--accent);

    font-size: 10px;
    font-weight: 900;
}

.metrics span {
    color: #b0c0cc;

    font-size: 12px;
}


/* ==========================================================================
   General Sections
   ========================================================================== */

.section {
    padding-block: 115px;
}

.section-heading {
    max-width: 740px;

    margin-bottom: 50px;
}

.section-heading h2,
.global-card h2,
.offline-card h2,
.final-cta h2 {
    margin: 0 0 20px;

    color: var(--ink-strong);

    font-size: clamp(38px, 4vw, 59px);
    font-weight: 760;

    line-height: 1.08;

    letter-spacing: -2.7px;

    text-wrap: balance;
}

.section-heading>p:last-child {
    color: var(--muted);

    font-size: 17px;

    line-height: 1.75;
}


/* ==========================================================================
   Modules
   ========================================================================== */

.module-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.module-card {
    position: relative;

    min-height: 420px;

    overflow: hidden;

    padding: 30px;

    display: flex;
    flex-direction: column;

    border: 1px solid var(--line);

    border-radius: var(--radius);

    background:
        linear-gradient(145deg,
            rgba(14, 31, 46, 0.97),
            rgba(6, 18, 29, 0.98));

    transition:
        transform 260ms var(--ease),
        border-color 260ms ease,
        box-shadow 260ms ease;
}

.module-card::before {
    content: "";

    position: absolute;

    top: -110px;
    right: -100px;

    width: 220px;
    height: 220px;

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(69, 224, 183, 0.06),
            transparent 68%);

    pointer-events: none;
}

.module-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(69, 224, 183, 0.3);

    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.22);
}

.module-card.featured {
    border-color:
        rgba(69, 224, 183, 0.2);

    background:
        linear-gradient(145deg,
            rgba(17, 54, 57, 0.96),
            rgba(7, 24, 34, 0.99));
}

.module-card.featured::after {
    content: "";

    position: absolute;

    top: 0;
    left: 24px;
    right: 24px;

    height: 1px;

    background:
        linear-gradient(90deg,
            transparent,
            var(--accent),
            var(--accent2),
            transparent);
}

.module-icon {
    width: 49px;
    height: 49px;

    display: grid;
    place-items: center;

    border-radius: 14px;

    background:
        linear-gradient(135deg,
            var(--accent),
            var(--accent2));

    color: #04110f;

    font-weight: 950;
}

.module-icon.inventory {
    background:
        linear-gradient(135deg,
            #49d9ff,
            #4d8cff);
}

.module-icon.purchase {
    background:
        linear-gradient(135deg,
            #ffd16f,
            #ff9c59);
}

.module-icon.accounting {
    background:
        linear-gradient(135deg,
            #8b92ff,
            #bd7aff);
}

.module-icon.crm {
    background:
        linear-gradient(135deg,
            #63e0bf,
            #4bb2d3);
}

.module-icon.reports {
    background:
        linear-gradient(135deg,
            #ff8cae,
            #9d7cff);
}

.module-label {
    margin: 25px 0 0 !important;

    color: #8094a4 !important;

    font-size: 9px !important;
    font-weight: 850;

    letter-spacing: 1.6px;
}

.module-card h3 {
    margin: 7px 0 11px;

    font-size: 27px;

    letter-spacing: -0.8px;
}

.module-card p,
.module-card li {
    color: var(--muted);

    font-size: 14px;

    line-height: 1.7;
}

.module-card ul {
    margin: 15px 0 0;

    padding-left: 19px;
}

.module-card li {
    margin: 4px 0;
}


/* ==========================================================================
   Capabilities
   ========================================================================== */

.capability-section {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(180deg,
            #f7fafb,
            #edf4f6);

    color: var(--light-ink);
}

.capability-section .eyebrow {
    color: #11856c;
}

.capability-section .section-heading h2 {
    color: var(--light-ink);
}

.capability-section .section-heading>p:last-child {
    color: var(--light-muted);
}

.capability-grid {
    display: grid;
    grid-template-columns:
        repeat(2, 1fr);

    gap: 0 70px;
}

.capability {
    display: grid;
    grid-template-columns: 52px 1fr;

    gap: 17px;

    padding: 27px 0;

    border-bottom:
        1px solid #d7e0e4;
}

.capability>span {
    color: #148c72;

    font-size: 11px;
    font-weight: 900;
}

.capability h3 {
    margin: 0 0 7px;

    color: #091826;

    font-size: 20px;
}

.capability p {
    margin: 0;

    color: var(--light-muted);

    font-size: 14px;

    line-height: 1.7;
}


/* ==========================================================================
   Global
   ========================================================================== */

.global-card {
    position: relative;

    overflow: hidden;

    padding: 65px;

    display: grid;
    grid-template-columns:
        1.05fr 0.95fr;

    gap: 70px;

    border: 1px solid var(--line);

    border-radius: var(--radius-lg);

    background:
        linear-gradient(135deg,
            #0d2830,
            #10243b 55%,
            #111d32);
}

.global-card::before {
    content: "";

    position: absolute;

    top: -180px;
    right: -160px;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(85, 167, 255, 0.13),
            transparent 68%);
}

.global-card>* {
    position: relative;

    z-index: 1;
}

.global-copy>p:not(.eyebrow) {
    color: var(--muted);

    line-height: 1.75;
}

.global-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 27px;
}

.global-tags span {
    padding: 8px 12px;

    border: 1px solid var(--line);

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.025);

    color: #b9c9d4;

    font-size: 11px;
}

.region-panel {
    display: grid;
    grid-template-columns:
        repeat(2, 1fr);

    gap: 12px;

    align-content: center;
}

.region-card {
    min-height: 145px;

    padding: 20px;

    display: flex;
    flex-direction: column;

    justify-content: center;

    border: 1px solid var(--line);

    border-radius: 18px;

    background:
        rgba(255, 255, 255, 0.026);
}

.region-card small {
    color: var(--accent);

    font-size: 8px;
    font-weight: 850;

    letter-spacing: 1.3px;
}

.region-card strong {
    margin: 6px 0;

    font-size: 22px;

    letter-spacing: -0.5px;
}

.region-card span {
    color: var(--muted);

    font-size: 10px;
}


/* ==========================================================================
   GCC Region
   ========================================================================== */

.region-section {
    padding-top: 50px;
}

.region-split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    gap: 90px;

    align-items: start;
}

.region-features article {
    display: grid;
    grid-template-columns: 64px 1fr;

    gap: 20px;

    padding: 25px 0;

    border-bottom:
        1px solid var(--line);
}

.region-features article:first-child {
    padding-top: 0;
}

.region-features article:last-child {
    border-bottom: 0;
}

.region-features>article>span {
    width: 54px;
    height: 54px;

    display: grid;
    place-items: center;

    border-radius: 14px;

    background:
        rgba(69, 224, 183, 0.07);

    border:
        1px solid rgba(69, 224, 183, 0.12);

    color: var(--accent);

    font-size: 10px;
    font-weight: 900;
}

.region-features h3 {
    margin: 0 0 6px;

    font-size: 20px;
}

.region-features p {
    margin: 0;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.7;
}


/* ==========================================================================
   Offline
   ========================================================================== */

.offline-card {
    position: relative;

    overflow: hidden;

    padding: 66px;

    display: grid;
    grid-template-columns: 1fr 0.8fr;

    gap: 70px;

    align-items: center;

    border: 1px solid var(--line);

    border-radius: var(--radius-lg);

    background:
        linear-gradient(135deg,
            #0b1c2c,
            #07131f);
}

.offline-card>div:first-child>p:not(.eyebrow) {
    color: var(--muted);

    line-height: 1.75;
}

.offline-visual {
    position: relative;

    min-height: 310px;
}

.device-ring {
    position: absolute;

    inset: 20%;

    display: grid;
    place-items: center;

    border:
        1px solid rgba(69, 224, 183, 0.22);

    border-radius: 50%;

    box-shadow:
        0 0 70px rgba(69, 224, 183, 0.07),
        inset 0 0 40px rgba(85, 167, 255, 0.04);
}

.device-ring::before,
.device-ring::after {
    content: "";

    position: absolute;

    border-radius: 50%;

    border:
        1px solid rgba(85, 167, 255, 0.1);
}

.device-ring::before {
    inset: -32%;
}

.device-ring::after {
    inset: -68%;
}

.device-core {
    color: white;

    font-size: 24px;
    font-weight: 900;

    letter-spacing: -1px;
}

.connection {
    position: absolute;

    padding: 9px 13px;

    display: flex;
    align-items: center;

    gap: 7px;

    border: 1px solid var(--line);

    border-radius: 11px;

    background:
        rgba(11, 29, 44, 0.92);

    color: #b8cad4;

    font-size: 10px;
}

.connection span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--accent);

    box-shadow:
        0 0 12px rgba(69, 224, 183, 0.6);
}

.connection-one {
    top: 10%;
    left: 1%;
}

.connection-two {
    top: 17%;
    right: 0;
}

.connection-three {
    bottom: 8%;
    left: 8%;
}


/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-section {
    background:
        rgba(255, 255, 255, 0.015);

    border-block:
        1px solid var(--line);
}

.faq-layout {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;

    gap: 90px;

    align-items: start;
}

.faq-layout .section-heading {
    position: sticky;

    top:
        calc(var(--header-height) + 40px);

    margin: 0;
}

.faq-list details {
    border-bottom:
        1px solid var(--line);
}

.faq-list summary {
    position: relative;

    padding: 25px 45px 25px 0;

    cursor: pointer;

    color: var(--ink-strong);

    font-size: 17px;
    font-weight: 700;

    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";

    position: absolute;

    top: 23px;
    right: 5px;

    color: var(--accent);

    font-size: 23px;
    font-weight: 400;

    transition:
        transform 180ms ease;
}

.faq-list details[open] summary::after {
    transform: rotate(45deg);
}

.faq-list details p {
    margin: 0;

    padding:
        0 48px 25px 0;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.75;
}


/* ==========================================================================
   Final CTA
   ========================================================================== */

.final-cta {
    position: relative;

    overflow: hidden;

    padding: 64px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 55px;

    border-radius: var(--radius-lg);

    background:
        linear-gradient(120deg,
            var(--accent),
            #58d6d4 46%,
            var(--accent2));

    color: #04110f;

    box-shadow:
        0 28px 85px rgba(69, 224, 183, 0.12);
}

.final-cta::after {
    content: "";

    position: absolute;

    top: -220px;
    right: -80px;

    width: 500px;
    height: 500px;

    border: 1px solid rgba(255, 255, 255, 0.19);

    border-radius: 50%;
}

.final-cta>* {
    position: relative;

    z-index: 1;
}

.final-cta h2 {
    max-width: 690px;

    color: #04110f;
}

.final-cta .eyebrow {
    color: #124338;
}

.final-cta p:not(.eyebrow) {
    max-width: 680px;

    margin-bottom: 0;

    color: rgba(4, 17, 15, 0.75);
}

.final-actions {
    display: flex;
    flex-direction: column;

    gap: 10px;

    min-width: 175px;
}

.dark {
    background: #04110f;

    color: white;

    box-shadow:
        0 12px 32px rgba(4, 17, 15, 0.18);
}

.outline-dark {
    border-color:
        rgba(4, 17, 15, 0.23);

    background:
        rgba(255, 255, 255, 0.12);

    color: #04110f;
}


/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    padding:
        60px 0 28px;

    border-top:
        1px solid var(--line);

    background:
        var(--bg-deep);
}

.footer-main {
    display: grid;
    grid-template-columns:
        1fr 1.2fr;

    gap: 80px;

    padding-bottom: 45px;
}

.footer-brand>p {
    max-width: 390px;

    margin-top: 22px;

    color: var(--muted-soft);

    font-size: 13px;

    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);

    gap: 35px;
}

.footer-links>div {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.footer-links strong {
    margin-bottom: 4px;

    color: white;

    font-size: 12px;
}

.footer-links a {
    color: var(--muted-soft);

    font-size: 12px;
}

.footer-bottom {
    padding-top: 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    border-top:
        1px solid var(--line);
}

.footer-bottom p,
.footer-bottom span {
    margin: 0;

    color: #607585;

    font-size: 11px;
}


/* ==========================================================================
   Reveal
   ========================================================================== */

.reveal {
    opacity: 0;

    transform:
        translateY(18px);

    transition:
        opacity 700ms var(--ease),
        transform 700ms var(--ease);
}

.reveal.visible {
    opacity: 1;

    transform: none;
}


/* ==========================================================================
   Large Desktop
   ========================================================================== */

@media (min-width: 1440px) {

    .shell {
        width:
            min(1260px, calc(100% - 80px));
    }

    .hero {
        gap: 78px;
    }

    .hero-visual {
        max-width: 610px;
    }

}


/* ==========================================================================
   Laptop / Tablet
   ========================================================================== */

@media (max-width: 1050px) {

    .hero {
        grid-template-columns: 1fr;

        padding-top: 135px;

        gap: 60px;
    }

    .hero-copy {
        max-width: 800px;
    }

    .hero-visual {
        width: min(100%, 650px);

        justify-self: center;
    }

    .module-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .global-card,
    .offline-card {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .offline-visual {
        max-width: 540px;

        width: 100%;

        justify-self: center;
    }

    .region-split {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .faq-layout {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .faq-layout .section-heading {
        position: static;
    }

}


/* ==========================================================================
   Navigation Compression
   ========================================================================== */

@media (max-width: 900px) {

    .nav-links {
        gap: 16px;
    }

}


/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 820px) {

    :root {
        --header-height: 72px;
    }

    .shell {
        width:
            min(100% - 28px, 1200px);
    }


    /* Header */

    .site-header {
        height:
            var(--header-height);
    }

    .brand-mark {
        width: 39px;
        height: 39px;
    }

    .brand-copy strong {
        font-size: 18px;
    }

    .menu-button {
        position: relative;

        z-index: 110;

        width: 44px;
        height: 44px;

        flex: 0 0 44px;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 5px;

        padding: 0;

        border:
            1px solid var(--line);

        border-radius: 11px;

        background:
            rgba(255, 255, 255, 0.03);
    }

    .menu-button span {
        display: block;

        width: 21px;
        height: 2px;

        border-radius: 999px;

        background: white;

        transition:
            transform 180ms ease,
            opacity 180ms ease;
    }

    .menu-button[aria-expanded="true"] span:nth-child(1) {
        transform:
            translateY(7px) rotate(45deg);
    }

    .menu-button[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .menu-button[aria-expanded="true"] span:nth-child(3) {
        transform:
            translateY(-7px) rotate(-45deg);
    }

    .nav-links {
        position: absolute;

        top: var(--header-height);
        left: 0;
        right: 0;

        display: none;
        flex-direction: column;
        align-items: stretch;

        gap: 3px;

        padding:
            18px 20px 24px;

        border-bottom:
            1px solid var(--line);

        background:
            rgba(5, 13, 22, 0.985);

        box-shadow:
            0 25px 60px rgba(0, 0, 0, 0.3);

        -webkit-backdrop-filter:
            blur(18px);

        backdrop-filter:
            blur(18px);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        width: 100%;

        padding: 12px 9px;

        border-radius: 9px;
    }

    .nav-links a:hover {
        background:
            rgba(255, 255, 255, 0.035);
    }

    .nav-cta {
        margin-top: 6px;

        text-align: center;
    }


    /* Hero */

    .hero {
        min-height: auto;

        padding-top: 122px;
        padding-bottom: 65px;

        gap: 50px;
    }

    .hero h1 {
        font-size:
            clamp(47px, 13vw, 68px);

        letter-spacing: -3px;
    }

    .hero-lead {
        font-size: 17px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .trust-row {
        gap: 13px 18px;

        margin-top: 30px;
    }

    .platform-window {
        transform: none;
    }

    .window-layout {
        min-height: 390px;
    }


    /* Metrics */

    .metrics {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .metrics div:nth-child(2) {
        border-right: 0;
    }

    .metrics div:nth-child(-n + 2) {
        border-bottom:
            1px solid var(--line);
    }


    /* Sections */

    .section {
        padding-block: 80px;
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .section-heading h2,
    .global-card h2,
    .offline-card h2,
    .final-cta h2 {
        letter-spacing: -2px;
    }

    .module-grid {
        grid-template-columns: 1fr;
    }

    .capability-grid {
        grid-template-columns: 1fr;
    }

    .global-card,
    .offline-card,
    .final-cta {
        padding: 32px;
    }

    .region-panel {
        gap: 9px;
    }

    .region-card {
        min-height: 125px;

        padding: 16px;
    }

    .final-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .final-actions {
        width: 100%;
    }

    .final-actions .button {
        width: 100%;
    }


    /* Footer */

    .footer-main {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

}


/* ==========================================================================
   Small Mobile
   ========================================================================== */

@media (max-width: 520px) {

    .shell {
        width:
            calc(100% - 24px);
    }

    .hero {
        padding-top: 112px;
    }

    .hero h1 {
        font-size:
            clamp(43px, 13vw, 58px);

        letter-spacing: -2.6px;
    }

    .eyebrow {
        font-size: 10px;

        letter-spacing: 1.8px;
    }

    .trust-row {
        font-size: 11px;
    }


    /* Mock dashboard */

    .window-layout {
        grid-template-columns:
            42px 1fr;
    }

    .window-content {
        padding: 16px 13px;
    }

    .dashboard-metrics {
        gap: 6px;
    }

    .dashboard-metrics article {
        padding: 10px 8px;
    }

    .dashboard-metrics strong {
        font-size: 14px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .activity-card {
        display: none;
    }


    /* Metrics */

    .metrics {
        grid-template-columns: 1fr;
    }

    .metrics div {
        min-height: 64px;

        padding: 17px 4px;

        border-right: 0;

        border-bottom:
            1px solid var(--line);
    }

    .metrics div:last-child {
        border-bottom: 0;
    }


    /* Cards */

    .module-card {
        min-height: auto;

        padding: 25px;
    }

    .global-card,
    .offline-card,
    .final-cta {
        padding: 27px;

        border-radius: 26px;
    }

    .region-panel {
        grid-template-columns: 1fr;
    }

    .offline-visual {
        min-height: 270px;
    }

    .device-ring {
        inset: 23%;
    }

    .connection {
        font-size: 9px;
    }

    .footer-links {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 30px;
    }

}


/* ==========================================================================
   Very Small Devices
   ========================================================================== */

@media (max-width: 390px) {

    .brand-copy strong {
        font-size: 17px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

}

/* ==========================================================================
   Pricing Page
   ========================================================================== */

.pricing-hero {
    padding-top: 175px;
    padding-bottom: 75px;
}

.pricing-hero-copy {
    max-width: 850px;
    margin-inline: auto;
    text-align: center;
}

.pricing-hero h1 {
    margin: 0;

    color: var(--ink-strong);

    font-size: clamp(52px, 6vw, 82px);
    font-weight: 790;

    line-height: 1.02;
    letter-spacing: -4.2px;

    text-wrap: balance;
}

.pricing-hero h1 span {
    display: block;

    background:
        linear-gradient(90deg,
            var(--accent),
            var(--accent2-bright));

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.pricing-hero-copy>p:not(.eyebrow) {
    max-width: 700px;

    margin:
        28px auto 0;

    color: var(--muted);

    font-size: 18px;
    line-height: 1.75;
}

.pricing-context {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 32px;
}

.pricing-context span {
    padding: 8px 12px;

    border: 1px solid var(--line);

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.025);

    color: #aabac6;

    font-size: 11px;
}


/* Plans */

.pricing-section {
    padding-top: 50px;
}

.pricing-grid {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

    align-items: stretch;
}

.pricing-card {
    position: relative;

    min-width: 0;

    padding: 32px;

    display: flex;
    flex-direction: column;

    border: 1px solid var(--line);

    border-radius: var(--radius);

    background:
        linear-gradient(145deg,
            rgba(14, 31, 46, 0.98),
            rgba(5, 18, 29, 0.99));

    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.025);
}

.pricing-card.recommended {
    border-color:
        rgba(69, 224, 183, 0.31);

    background:
        linear-gradient(145deg,
            rgba(16, 54, 55, 0.98),
            rgba(7, 24, 35, 0.99));

    box-shadow:
        0 24px 70px rgba(69, 224, 183, 0.07),
        inset 0 1px rgba(255, 255, 255, 0.04);

    transform: translateY(-10px);
}

.recommendation-badge {
    position: absolute;

    top: 18px;
    right: 18px;

    padding: 5px 9px;

    border-radius: 999px;

    background:
        rgba(69, 224, 183, 0.12);

    color: var(--accent);

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 1.2px;
}

.plan-label {
    margin: 0;

    color: var(--accent);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.7px;
}

.pricing-card h2 {
    margin: 9px 0 8px;

    font-size: 28px;

    letter-spacing: -0.8px;
}

.plan-description {
    min-height: 70px;

    margin: 0;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}

.price-block {
    margin-top: 28px;

    padding-block: 25px;

    border-block:
        1px solid var(--line);
}

.first-payment {
    display: flex;
    align-items: flex-start;

    gap: 8px;
}

.price-currency {
    padding-top: 11px;

    color: var(--accent);

    font-size: 11px;
    font-weight: 800;
}

.first-payment strong {
    color: white;

    font-size: clamp(46px, 4vw, 58px);
    font-weight: 800;

    line-height: 1;

    letter-spacing: -2.5px;
}

.price-block p {
    margin:
        8px 0 0;

    color: var(--muted-soft);

    font-size: 11px;
}

.pricing-note {
    min-height: 100px;

    padding:
        22px 0 8px;

    display: flex;
    flex-direction: column;

    gap: 6px;
}

.pricing-note strong {
    color: #dce9ef;

    font-size: 12px;
}

.pricing-note span {
    color: var(--muted-soft);

    font-size: 11px;

    line-height: 1.55;
}

.plan-features {
    margin:
        16px 0 28px;

    padding: 0;

    list-style: none;
}

.plan-features li {
    position: relative;

    padding:
        8px 0 8px 25px;

    color: #a8bac7;

    font-size: 12px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.04);
}

.plan-features li::before {
    content: "\2713";

    position: absolute;

    left: 0;

    color: var(--accent);

    font-weight: 900;
}

.pricing-button {
    width: 100%;

    margin-top: auto;
}




/* ERP deployment pricing matrix */

.pricing-matrix-heading {
    max-width: 860px;
}

.erp-price-table-wrap {
    overflow-x: auto;
    margin-bottom: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(14, 31, 46, 0.98), rgba(5, 18, 29, 0.99));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.erp-price-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.erp-price-table th,
.erp-price-table td {
    padding: 22px 20px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}

.erp-price-table tr > *:last-child {
    border-right: 0;
}

.erp-price-table tbody tr:last-child > * {
    border-bottom: 0;
}

.erp-price-table thead th {
    color: var(--muted-soft);
    background: rgba(255, 255, 255, 0.025);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.erp-price-table tbody th {
    color: #dce9ef;
    font-size: 14px;
    font-weight: 800;
}

.erp-price-table td strong,
.erp-price-table td span {
    display: block;
}

.erp-price-table td strong {
    color: white;
    font-size: 19px;
    letter-spacing: -0.4px;
}

.erp-price-table td span {
    margin-top: 5px;
    color: var(--muted-soft);
    font-size: 10px;
    line-height: 1.45;
}

.erp-price-table .lifetime-cell {
    background: rgba(69, 224, 183, 0.045);
}

.erp-price-table .lifetime-cell strong {
    color: var(--accent);
}

.erp-price-table .custom-quote-row th,
.erp-price-table .custom-quote-row td {
    background: rgba(255, 255, 255, 0.018);
}

.erp-price-table .custom-quote-row td strong {
    color: var(--accent);
}

.pricing-term-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}

.pricing-term-grid .pricing-card {
    min-height: 290px;
}

/* Included */

.pricing-included {
    background:
        rgba(255, 255, 255, 0.014);

    border-block:
        1px solid var(--line);
}

.included-grid {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);

    gap: 1px;

    overflow: hidden;

    border:
        1px solid var(--line);

    border-radius: var(--radius);

    background: var(--line);
}

.included-grid article {
    padding: 29px;

    background:
        #071521;
}

.included-grid span {
    color: var(--accent);

    font-size: 9px;
    font-weight: 900;
}

.included-grid h3 {
    margin: 8px 0;

    font-size: 19px;
}

.included-grid p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}


/* Lifetime clarification */

.license-card {
    padding: 60px;

    display: grid;
    grid-template-columns:
        0.9fr 1.1fr;

    gap: 70px;

    border: 1px solid var(--line);

    border-radius: var(--radius-lg);

    background:
        linear-gradient(135deg,
            #102936,
            #102039 60%,
            #111b2c);
}

.license-card h2 {
    margin: 0;

    font-size: clamp(36px, 4vw, 54px);

    line-height: 1.1;

    letter-spacing: -2.3px;
}

.license-details>p {
    color: var(--muted);

    line-height: 1.75;
}

.license-facts {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;

    margin:
        26px 0;
}

.license-facts div {
    padding: 17px;

    border: 1px solid var(--line);

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.025);
}

.license-facts strong,
.license-facts span {
    display: block;
}

.license-facts strong {
    color: var(--accent);

    font-size: 15px;
}

.license-facts span {
    margin-top: 5px;

    color: var(--muted);

    font-size: 10px;
}

.license-small {
    padding-top: 20px;

    border-top:
        1px solid var(--line);

    font-size: 11px;
}


/* Commercial licensing */

.licensing-section {
    background:
        var(--light);

    color:
        var(--light-ink);
}

.licensing-section .eyebrow {
    color: #12836d;
}

.licensing-section .section-heading h2 {
    color:
        var(--light-ink);
}

.licensing-section .section-heading>p:last-child {
    color:
        var(--light-muted);
}

.licensing-layout {
    display: grid;
    grid-template-columns:
        0.9fr 1.1fr;

    gap: 90px;
}

.licensing-points article {
    padding: 23px 0;

    border-bottom:
        1px solid #d8e1e5;
}

.licensing-points article:first-child {
    padding-top: 0;
}

.licensing-points article:last-child {
    border-bottom: 0;
}

.licensing-points strong {
    color: #0a1923;

    font-size: 18px;
}

.licensing-points p {
    margin:
        7px 0 0;

    color:
        var(--light-muted);

    font-size: 13px;

    line-height: 1.7;
}


/* Global pricing */

.global-price-card {
    padding: 55px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 45px;

    border: 1px solid var(--line);

    border-radius: var(--radius-lg);

    background:
        linear-gradient(135deg,
            rgba(14, 38, 48, 0.98),
            rgba(13, 30, 48, 0.98));
}

.global-price-card h2 {
    margin: 0;

    font-size: clamp(34px, 4vw, 50px);

    line-height: 1.1;

    letter-spacing: -2px;
}

.global-price-card p:not(.eyebrow) {
    max-width: 720px;

    color: var(--muted);

    line-height: 1.7;
}


/* Commercial notes */

.commercial-notes {
    background:
        rgba(255, 255, 255, 0.014);

    border-block:
        1px solid var(--line);
}

.notes-grid {
    display: grid;
    grid-template-columns:
        repeat(4, 1fr);

    gap: 14px;
}

.notes-grid article {
    padding: 24px;

    border: 1px solid var(--line);

    border-radius: 18px;

    background:
        rgba(255, 255, 255, 0.018);
}

.notes-grid h3 {
    margin: 0 0 9px;

    font-size: 17px;
}

.notes-grid p {
    margin: 0;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.7;
}


/* Pricing responsive */

@media (max-width: 1050px) {

    .pricing-grid,
    .pricing-term-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        max-width: 720px;

        width: 100%;

        margin-inline: auto;
    }

    .pricing-card.recommended {
        transform: none;
    }

    .plan-description,
    .pricing-note {
        min-height: 0;
    }

    .license-card,
    .licensing-layout {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .notes-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 820px) {

    .pricing-hero {
        padding-top: 130px;
    }

    .pricing-hero h1 {
        font-size:
            clamp(45px, 12vw, 65px);

        letter-spacing: -2.8px;
    }

    .included-grid {
        grid-template-columns: 1fr;
    }

    .license-card,
    .global-price-card {
        padding: 32px;
    }

    .license-facts {
        grid-template-columns: 1fr;
    }

    .global-price-card {
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 520px) {

    .pricing-card {
        padding: 25px;
    }

    .first-payment strong {
        font-size: 48px;
    }

    .license-card,
    .global-price-card {
        padding: 27px;

        border-radius: 26px;
    }

    .notes-grid {
        grid-template-columns: 1fr;
    }

}

/* ==========================================================================
   Legal Pages
   ========================================================================== */

.legal-nav {
    display: flex;
    align-items: center;
}

.legal-nav a {
    color: #b4c4d0;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition: color 180ms ease;
}

.legal-nav a:hover {
    color: white;
}


.legal-page {
    padding-top: 150px;
    padding-bottom: 110px;
}


.legal-hero {
    max-width: 880px;

    padding-bottom: 55px;

    border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
    margin: 0;

    color: white;

    font-size: clamp(48px, 6vw, 74px);
    font-weight: 790;

    line-height: 1.03;
    letter-spacing: -3.8px;
}

.legal-intro {
    max-width: 760px;

    margin: 25px 0 0;

    color: var(--muted);

    font-size: 17px;

    line-height: 1.75;
}


.legal-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 27px;
}

.legal-meta span {
    padding: 7px 11px;

    border: 1px solid var(--line);

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.02);

    color: var(--muted-soft);

    font-size: 10px;
}


.legal-layout {
    display: grid;

    grid-template-columns:
        220px minmax(0, 760px);

    gap: 75px;

    margin-top: 55px;

    justify-content: space-between;
}


.legal-sidebar {
    position: relative;
}

.legal-sidebar nav {
    position: sticky;

    top:
        calc(var(--header-height) + 25px);

    max-height:
        calc(100vh - var(--header-height) - 50px);

    overflow-y: auto;
    overscroll-behavior: contain;

    display: flex;
    flex-direction: column;

    gap: 3px;

    padding-right: 8px;

    scrollbar-width: thin;
    scrollbar-color:
        rgba(255, 255, 255, 0.16) transparent;
}

.legal-sidebar nav::-webkit-scrollbar {
    width: 5px;
}

.legal-sidebar nav::-webkit-scrollbar-track {
    background: transparent;
}

.legal-sidebar nav::-webkit-scrollbar-thumb {
    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.14);
}

.legal-sidebar a {
    padding: 8px 11px;

    border-radius: 8px;

    color: var(--muted-soft);

    font-size: 11px;
    font-weight: 600;

    text-decoration: none;

    transition:
        color 180ms ease,
        background 180ms ease;
}

.legal-sidebar a:hover {
    background:
        rgba(255, 255, 255, 0.035);

    color: var(--accent);
}


.legal-content section {
    padding:
        0 0 42px;

    margin:
        0 0 42px;

    border-bottom:
        1px solid var(--line);
}

.legal-content section:last-of-type {
    border-bottom: 0;
}


.legal-content h2 {
    margin:
        0 0 18px;

    color: white;

    font-size: 25px;
    font-weight: 750;

    letter-spacing: -0.6px;
}


.legal-content h3 {
    margin:
        27px 0 10px;

    color: white;

    font-size: 18px;
}


.legal-content p,
.legal-content li {
    color: var(--muted);

    font-size: 14px;

    line-height: 1.82;
}

.legal-content p {
    margin:
        0 0 16px;
}


.legal-content ul {
    margin:
        19px 0 21px;

    padding-left: 21px;
}

.legal-content li {
    padding-left: 5px;

    margin: 6px 0;
}

.legal-content li::marker {
    color: var(--accent);
}


.legal-callout {
    margin-top: 26px;

    padding: 22px;

    border:
        1px solid rgba(69, 224, 183, 0.15);

    border-radius: 16px;

    background:
        rgba(69, 224, 183, 0.035);
}

.legal-callout strong {
    display: block;

    margin-bottom: 7px;

    color: var(--accent);

    font-size: 12px;
}

.legal-callout p {
    margin: 0;
}


.legal-contact {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-top: 5px;

    color: var(--accent);

    font-size: 13px;
    font-weight: 750;

    text-decoration: none;
}

.legal-contact span {
    transition:
        transform 180ms var(--ease);
}

.legal-contact:hover span {
    transform:
        translateX(3px);
}


.legal-footer-note {
    margin-top: 15px;

    padding: 25px;

    border: 1px solid var(--line);

    border-radius: 18px;

    background:
        rgba(255, 255, 255, 0.018);
}

.legal-footer-note strong {
    display: block;

    margin-bottom: 8px;

    color: white;

    font-size: 13px;
}

.legal-footer-note p {
    margin: 0;

    color: var(--muted-soft);

    font-size: 11px;

    line-height: 1.7;
}


/* Legal responsive */

@media (max-width: 900px) {

    .legal-layout {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .legal-sidebar {
        display: none;
    }

}


@media (max-width: 820px) {

    .legal-page {
        padding-top: 120px;
        padding-bottom: 80px;
    }

    .legal-hero {
        padding-bottom: 38px;
    }

    .legal-hero h1 {
        font-size:
            clamp(43px, 12vw, 62px);

        letter-spacing: -2.6px;
    }

}


@media (max-width: 520px) {

    .legal-nav a {
        font-size: 11px;
    }

    .legal-content h2 {
        font-size: 22px;
    }

    .legal-content p,
    .legal-content li {
        font-size: 13px;
    }

}

/* ==========================================================================
   404 Page
   ========================================================================== */

.not-found {
    min-height: calc(100vh - 110px);

    padding-top: 150px;
    padding-bottom: 90px;

    display: grid;
    place-items: center;
}

.not-found-content {
    width: 100%;
    max-width: 760px;

    text-align: center;
}

.not-found-code {
    margin: 0 0 12px;

    background:
        linear-gradient(90deg,
            var(--accent),
            var(--accent2-bright));

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;

    font-size: clamp(90px, 16vw, 170px);
    font-weight: 900;

    line-height: 0.9;
    letter-spacing: -8px;

    opacity: 0.14;
}

.not-found h1 {
    max-width: 700px;

    margin: 0 auto;

    color: white;

    font-size: clamp(42px, 6vw, 68px);
    font-weight: 780;

    line-height: 1.05;
    letter-spacing: -3px;

    text-wrap: balance;
}

.not-found-description {
    max-width: 610px;

    margin: 25px auto 0;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.75;
}

.not-found-actions {
    margin-top: 32px;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 12px;
}

.not-found .maker-link {
    margin-top: 30px;
}


@media (max-width: 520px) {

    .not-found {
        padding-top: 120px;
    }

    .not-found-code {
        letter-spacing: -5px;
    }

    .not-found-actions {
        flex-direction: column;
    }

    .not-found-actions .button {
        width: 100%;
    }

}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;

        scroll-behavior:
            auto !important;
    }

    .reveal {
        opacity: 1;

        transform: none;
    }

}


/* ==========================================================================
   Backdrop Filter Fallback
   ========================================================================== */

@supports not (backdrop-filter: blur(10px)) {

    .site-header,
    .nav-links {
        background: #06111d;
    }

}