:root {
    color-scheme: dark;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: #f4f2f8;
    background: #101017;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    --muted: #aaa8b8;
    --accent: #c2a2ff;
    --surface: #191821;
    --line: rgba(255, 255, 255, 0.1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    background:
        radial-gradient(ellipse at 50% 2%, rgba(88, 62, 138, 0.16), transparent 42rem),
        #101017;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.site-header,
.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    height: 82px;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.brand-mark {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid rgba(194, 162, 255, 0.55);
    border-radius: 9px;
    color: var(--accent);
    font-size: 16px;
}

.brand-dot {
    color: var(--accent);
}

.site-header nav {
    display: flex;
    gap: 34px;
    color: var(--muted);
    font-size: 13px;
}

.site-header nav a:hover,
.site-footer a:hover {
    color: #fff;
}

.server-link,
.primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid rgba(194, 162, 255, 0.5);
    border-radius: 8px;
    color: #f4efff;
    font-size: 12px;
    font-weight: 700;
}

.server-link {
    padding: 11px 14px;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    width: min(1120px, calc(100% - 48px));
    min-height: 510px;
    margin: 0 auto;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero-copy {
    z-index: 1;
    padding: 44px 0 72px;
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: #9fe3bd;
    box-shadow: 0 0 12px rgba(159, 227, 189, 0.7);
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 20px;
    font-size: clamp(46px, 7vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.065em;
}

h1 span,
h2 span {
    color: var(--accent);
}

.hero-description,
.section-note {
    max-width: 455px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.primary-link {
    margin-top: 16px;
    padding: 14px 18px;
    background: linear-gradient(110deg, rgba(132, 97, 193, 0.5), rgba(132, 97, 193, 0.12));
}

.hero-art {
    position: relative;
    display: grid;
    min-height: 390px;
    place-items: center;
    isolation: isolate;
}

.hero-art::before {
    position: absolute;
    z-index: -1;
    width: min(360px, 80%);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(141, 105, 210, 0.24), rgba(52, 39, 75, 0.1) 48%, transparent 70%);
    content: "";
}

.hero-emblem {
    display: grid;
    width: 176px;
    height: 210px;
    place-items: center;
    border: 1px solid rgba(222, 203, 255, 0.45);
    border-radius: 48% 48% 42% 42%;
    background: linear-gradient(150deg, rgba(193, 162, 255, 0.22), rgba(25, 24, 33, 0.5) 62%);
    box-shadow: 0 0 80px rgba(140, 101, 205, 0.24), inset 0 0 40px rgba(206, 181, 255, 0.08);
    color: #e2d2ff;
    font-size: 104px;
    font-weight: 800;
    letter-spacing: -0.12em;
    padding-right: 12px;
    text-shadow: 0 0 35px rgba(202, 171, 255, 0.55);
    transform: rotate(-8deg);
}

.orbit {
    position: absolute;
    width: 270px;
    height: 270px;
    border: 1px solid rgba(194, 162, 255, 0.22);
    border-radius: 50%;
}

.orbit-one {
    transform: rotateX(68deg) rotate(-24deg);
}

.orbit-two {
    width: 330px;
    height: 330px;
    border-color: rgba(194, 162, 255, 0.12);
    transform: rotateX(70deg) rotate(34deg);
}

.spark {
    position: absolute;
    color: #e5d7ff;
    text-shadow: 0 0 18px var(--accent);
}

.spark-one {
    top: 22%;
    right: 14%;
    font-size: 25px;
}

.spark-two {
    bottom: 24%;
    left: 12%;
    font-size: 32px;
}

.hero-caption {
    position: absolute;
    right: 5%;
    bottom: 14%;
    color: rgba(244, 242, 248, 0.45);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.7;
}

.hero-foot {
    position: absolute;
    right: 0;
    bottom: 18px;
    left: 0;
    display: flex;
    justify-content: space-between;
    color: #777583;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.section-wrap {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.catalog {
    padding-top: 88px;
    padding-bottom: 88px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 30px;
}

.section-heading h2 {
    margin-bottom: 0;
    font-size: clamp(32px, 4vw, 43px);
    letter-spacing: -0.055em;
}

.section-note {
    max-width: 270px;
    margin-bottom: 3px;
    font-size: 12px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.product-card {
    position: relative;
    min-height: 250px;
    padding: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(35, 33, 45, 0.9), rgba(23, 22, 30, 0.86));
    transition: border-color 160ms ease, transform 160ms ease;
}

.product-card:hover {
    border-color: rgba(194, 162, 255, 0.45);
    transform: translateY(-3px);
}

.product-icon {
    display: grid;
    width: 36px;
    height: 36px;
    margin-bottom: 23px;
    place-items: center;
    border: 1px solid rgba(194, 162, 255, 0.25);
    border-radius: 10px;
    background: rgba(194, 162, 255, 0.08);
    color: var(--accent);
    font-size: 17px;
}

.product-card h3 {
    margin: 0 0 7px;
    font-size: 16px;
    font-weight: 700;
}

.product-card p {
    min-height: 40px;
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
}

.quantity-label {
    display: grid;
    gap: 7px;
    color: #bdbac9;
    font-size: 10px;
    font-weight: 600;
}

.quantity-label input {
    width: 100%;
    min-width: 0;
    height: 38px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 7px;
    outline: none;
    background: #111118;
    color: #fff;
    font-size: 12px;
}

.quantity-label input:focus {
    border-color: var(--accent);
}

.purchase-controls {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 9px;
}

.quantity-label {
    grid-column: 1 / -1;
}

.product-price {
    min-height: 38px;
    margin: 0;
    align-content: center;
    color: #eee6ff;
    font-size: 12px;
    font-weight: 700;
}

.purchase-button {
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(194, 162, 255, 0.4);
    border-radius: 7px;
    background: rgba(153, 117, 213, 0.14);
    color: #eee6ff;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
}

.purchase-button:hover:not(:disabled) {
    background: rgba(153, 117, 213, 0.3);
}

.purchase-button:disabled {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.03);
    color: #777583;
    cursor: not-allowed;
}

.site-footer {
    min-height: 82px;
    border-top: 1px solid var(--line);
    color: #898695;
    font-size: 10px;
}

.site-footer .brand {
    color: #f4f2f8;
    font-size: 11px;
}

@media (max-width: 760px) {
    .site-header,
    .site-footer,
    .hero,
    .section-wrap {
        width: min(100% - 32px, 560px);
    }

    .site-header nav {
        gap: 15px;
        font-size: 11px;
    }

    .server-link {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr 0.65fr;
        min-height: 450px;
    }

    .hero-art {
        min-height: 300px;
        transform: scale(0.78);
    }

    .hero-caption {
        display: none;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 500px) {
    .site-header {
        height: 68px;
    }

    .site-header nav {
        gap: 11px;
        font-size: 10px;
    }

    .brand {
        gap: 7px;
        font-size: 11px;
    }

    .brand-mark {
        width: 26px;
        height: 26px;
    }

    .hero {
        display: block;
        min-height: 490px;
    }

    .hero-copy {
        padding-top: 55px;
    }

    h1 {
        font-size: 55px;
    }

    .hero-art {
        position: absolute;
        right: -95px;
        bottom: 7px;
        width: 280px;
        min-height: 240px;
        opacity: 0.56;
        transform: scale(0.68);
    }

    .hero-foot {
        font-size: 7px;
    }

    .catalog {
        padding-top: 62px;
        padding-bottom: 62px;
    }

    .section-heading {
        display: block;
    }

    .section-note {
        margin-top: 10px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        min-height: 228px;
    }

    .site-footer {
        gap: 12px;
        font-size: 8px;
    }
}
