:root {
    color-scheme: dark;
    --background: #08080c;
    --surface: #101017;
    --text: #f5f4f8;
    --text-muted: #9896a3;
    --text-faint: #5f5d68;
    --border: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.18);
    --purple: #8b5cf6;
    --blue: #60a5fa;
    --gradient: linear-gradient(
        120deg,
        #60a5fa 0%,
        #8b5cf6 72%
    );
    --page-padding: clamp(24px, 5vw, 80px);
    --header-height: 78px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background:
        linear-gradient(
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        ),
        var(--background);
    background-size: 72px 72px;
    color: var(--text);
    font-family: "Poppins", sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    color: inherit;
    font: inherit;
}

.site-glow {
    position: absolute;
    z-index: -1;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(130px);
    opacity: 0.14;
}

.site-glow-one {
    top: 70px;
    right: -220px;
    background: var(--purple);
}

.site-glow-two {
    top: 760px;
    left: -280px;
    background: var(--blue);
    opacity: 0.08;
}

.site-header {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid transparent;
    transition:
        background-color 180ms ease,
        border-color 180ms ease;
}

.site-header.is-scrolled {
    border-color: var(--border);
    background: rgba(8, 8, 12, 0.82);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: var(--header-height);
    padding: 0 var(--page-padding);
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.wordmark-mark {
    width: 13px;
    height: 13px;
    margin-right: 4px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50% 50% 50% 8%;
    transform: rotate(45deg);
}

.wordmark-muted {
    color: var(--text-faint);
    font-weight: 500;
}

.desktop-navigation {
    display: flex;
    align-items: center;
    gap: 34px;
}

.desktop-navigation a,
.portal-link {
    position: relative;
    color: #b7b5bf;
    font-size: 12px;
    font-weight: 500;
    transition: color 160ms ease;
}

.desktop-navigation a::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 1px;
    background: var(--gradient);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}

.desktop-navigation a:hover,
.portal-link:hover {
    color: var(--text);
}

.desktop-navigation a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions,
.portal-link {
    display: flex;
    align-items: center;
}

.portal-link {
    gap: 8px;
}

.portal-link iconify-icon {
    font-size: 16px;
}

.menu-toggle {
    display: none;
    width: 34px;
    height: 34px;
    padding: 9px 5px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    margin: 5px 0;
    background: var(--text);
    transition: transform 180ms ease;
}

.mobile-navigation {
    display: none;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns:
        110px
        minmax(0, 1fr)
        170px;
    min-height: 100svh;
    padding:
        calc(var(--header-height) + 76px)
        var(--page-padding)
        70px;
}

.hero-index {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 7px 0;
    color: var(--text-faint);
    font-size: 9px;
    letter-spacing: 0.16em;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1120px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: #aaa8b3;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.eyebrow > span {
    width: 28px;
    height: 1px;
    background: var(--gradient);
}

.hero h1 {
    max-width: 1080px;
    margin: 30px 0 42px;
    font-size: clamp(54px, 7.3vw, 118px);
    font-weight: 500;
    letter-spacing: -0.067em;
    line-height: 0.98;
}

.hero h1 em {
    background: var(--gradient);
    background-clip: text;
    color: transparent;
    font-style: normal;
}

.hero-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    max-width: 920px;
    padding-top: 34px;
    border-top: 1px solid var(--border);
}

.hero-copy {
    max-width: 520px;
    margin: 0;
    color: var(--text-muted);
    font-size: clamp(14px, 1.3vw, 17px);
    line-height: 1.8;
}

.primary-action {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.68);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.primary-action iconify-icon {
    font-size: 18px;
    transition: transform 180ms ease;
}

.primary-action:hover iconify-icon {
    transform: translateY(4px);
}

.hero-signature {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: #5b5964;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.3em;
    writing-mode: vertical-rl;
}

.hero-signature i {
    width: 1px;
    height: 72px;
    background: linear-gradient(
        to bottom,
        var(--blue),
        var(--purple)
    );
}

.statement {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0 var(--page-padding);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.statement p {
    margin: 0;
    padding: 25px 0;
    color: #85838e;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.18em;
}

.statement p:nth-child(2) {
    text-align: center;
}

.statement p:last-child {
    text-align: right;
}

.statement span {
    margin: 0 7px;
    color: var(--purple);
}

.featured-product,
.principles,
.portal-section,
.site-footer {
    padding-right: var(--page-padding);
    padding-left: var(--page-padding);
}

.featured-product {
    padding-top: 140px;
    padding-bottom: 150px;
}

.section-heading {
    display: grid;
    grid-template-columns:
        80px
        minmax(0, 1fr)
        auto;
    align-items: end;
    padding-bottom: 38px;
    border-bottom: 1px solid var(--border-strong);
}

.section-number,
.section-meta {
    margin: 0;
    color: var(--text-faint);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.18em;
}

.section-heading h2 {
    margin: 8px 0 0;
    font-size: clamp(44px, 6vw, 84px);
    font-weight: 500;
    letter-spacing: -0.06em;
    line-height: 1;
}

.product-stage {
    display: grid;
    grid-template-columns:
        minmax(320px, 0.86fr)
        minmax(520px, 1.14fr);
    gap: clamp(60px, 8vw, 140px);
    padding-top: 78px;
}

.product-description {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-lead {
    margin: 0 0 42px;
    color: #e8e7eb;
    font-size: clamp(26px, 2.7vw, 42px);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1.3;
}

.product-copy {
    max-width: 540px;
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.9;
}

.product-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 72px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.text-action {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.text-action iconify-icon {
    color: var(--purple);
    font-size: 18px;
    transition: transform 180ms ease;
}

.text-action:hover iconify-icon {
    transform: translateX(5px);
}

.compatibility {
    color: var(--text-faint);
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-interface {
    align-self: start;
    border: 1px solid var(--border-strong);
    background: rgba(14, 14, 21, 0.84);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.32),
        0 0 90px rgba(111, 58, 255, 0.07);
}

.interface-topbar,
.interface-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 20px;
    color: var(--text-faint);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.15em;
}

.interface-topbar {
    border-bottom: 1px solid var(--border);
}

.interface-topbar > div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7ee2a8;
    box-shadow: 0 0 12px rgba(126, 226, 168, 0.65);
}

.interface-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.edition {
    position: relative;
    min-height: 370px;
    padding: 34px;
    overflow: hidden;
}

.edition + .edition {
    border-left: 1px solid var(--border);
}

.edition-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.edition-heading span {
    color: var(--text-faint);
    font-size: 9px;
}

.edition h3 {
    margin: 0;
    font-size: 12px;
    letter-spacing: 0.14em;
}

.edition p {
    min-height: 70px;
    margin: 54px 0 30px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.75;
}

.edition strong {
    display: block;
    font-size: clamp(76px, 8vw, 112px);
    font-weight: 500;
    letter-spacing: -0.08em;
    line-height: 0.9;
}

.edition-unit {
    display: block;
    margin-top: 19px;
    color: var(--text-faint);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.13em;
}

.edition-pro {
    background:
        radial-gradient(
            circle at 100% 100%,
            rgba(139, 92, 246, 0.19),
            transparent 47%
        ),
        linear-gradient(
            145deg,
            rgba(96, 165, 250, 0.035),
            rgba(139, 92, 246, 0.055)
        );
}

.edition-pro::after {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(139, 92, 246, 0.22);
    border-radius: 50%;
    content: "";
}

.edition-pro strong {
    background: var(--gradient);
    background-clip: text;
    color: transparent;
}

.interface-footer {
    border-top: 1px solid var(--border);
}

.interface-footer iconify-icon {
    color: var(--purple);
    font-size: 18px;
}

.principles {
    display: grid;
    grid-template-columns: 0.76fr 1.24fr;
    gap: clamp(70px, 9vw, 160px);
    padding-top: 130px;
    padding-bottom: 140px;
    border-top: 1px solid var(--border);
}

.principles-intro h2 {
    margin: 25px 0 0;
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 500;
    letter-spacing: -0.06em;
    line-height: 1.06;
}

.principles-list article {
    display: grid;
    grid-template-columns:
        48px
        minmax(180px, 0.7fr)
        1fr;
    gap: 28px;
    padding: 33px 0;
    border-bottom: 1px solid var(--border);
}

.principles-list article:first-child {
    border-top: 1px solid var(--border);
}

.principles-list span {
    color: var(--purple);
    font-size: 9px;
    font-weight: 600;
}

.principles-list h3,
.principles-list p {
    margin: 0;
}

.principles-list h3 {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

.principles-list p {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.8;
}

.portal-section {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 80px;
    padding-top: 115px;
    padding-bottom: 115px;
    border-top: 1px solid var(--border-strong);
    background:
        linear-gradient(
            90deg,
            rgba(96, 165, 250, 0.04),
            transparent 38%
        ),
        linear-gradient(
            270deg,
            rgba(139, 92, 246, 0.06),
            transparent 48%
        );
}

.portal-section h2 {
    margin: 22px 0 0;
    font-size: clamp(48px, 6vw, 86px);
    font-weight: 500;
    letter-spacing: -0.065em;
    line-height: 1.02;
}

.portal-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
}

.portal-copy p {
    max-width: 500px;
    margin: 0 0 34px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.9;
}

.coming-soon {
    padding: 10px 14px;
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: #bba4ff;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding-top: 58px;
    padding-bottom: 34px;
    border-top: 1px solid var(--border);
    background: #07070a;
}

.footer-wordmark {
    align-self: start;
}

.site-footer > p {
    max-width: 360px;
    margin: 0;
    justify-self: end;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.8;
    text-align: right;
}

.footer-end {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: space-between;
    margin-top: 70px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-faint);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.14em;
}

.footer-end a {
    transition: color 160ms ease;
}

.footer-end a:hover {
    color: var(--text);
}

