:root {
    color-scheme: dark;
    --bg: #07101d;
    --bg-soft: #0b1728;
    --panel: rgba(15, 29, 48, .78);
    --panel-strong: #101f34;
    --line: rgba(203, 221, 244, .12);
    --text: #f2f6fb;
    --muted: #9cafc5;
    --gold: #d5b56a;
    --gold-soft: rgba(213, 181, 106, .12);
    --blue: #75a7ff;
    --shell: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 20% -10%, rgba(57, 103, 174, .16), transparent 34rem),
        linear-gradient(180deg, #07101d 0%, #081320 55%, #060d16 100%);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
}

.shell {
    width: min(calc(100% - 40px), var(--shell));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 16, 29, .82);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: block;
    flex: 0 0 42px;
}

.brand-mark img {
    width: 42px;
    height: 42px;
    display: block;
}

.brand-copy {
    display: grid;
    gap: 1px;
}

.brand-copy strong {
    font-size: 14px;
    letter-spacing: .04em;
}

.brand-copy small {
    color: var(--muted);
    font-size: 11px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color .18s ease;
}

.site-nav a:hover {
    color: var(--text);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 112px 0 96px;
    border-bottom: 1px solid var(--line);
}

.hero-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(16px);
    pointer-events: none;
}

.hero-glow-one {
    width: 520px;
    height: 520px;
    top: -230px;
    right: 4%;
    background: rgba(117, 167, 255, .10);
}

.hero-glow-two {
    width: 340px;
    height: 340px;
    bottom: -190px;
    left: 8%;
    background: rgba(213, 181, 106, .08);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(310px, .7fr);
    gap: 72px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 760px;
    margin-bottom: 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(58px, 8vw, 112px);
    line-height: .9;
    letter-spacing: -.055em;
    font-weight: 500;
}

.hero-tagline {
    margin-bottom: 20px;
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(24px, 3vw, 38px);
}

.hero-lead {
    max-width: 720px;
    margin-bottom: 34px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    min-height: 46px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 12px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 750;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button.primary {
    background: var(--gold);
    color: #17130b;
}

.button.ghost {
    border-color: var(--line);
    background: rgba(255,255,255,.025);
    color: var(--text);
}

.hero-panel {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(18, 37, 62, .92), rgba(10, 23, 39, .76));
    box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
}

.panel-kicker {
    display: block;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.hero-panel > strong {
    display: block;
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 74px;
    font-weight: 500;
    line-height: .9;
}

.hero-panel > span:not(.panel-kicker) {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.5;
}

.panel-rule {
    height: 1px;
    margin: 26px 0;
    background: var(--line);
}

.hero-panel dl {
    margin: 0;
    display: grid;
    gap: 14px;
}

.hero-panel dl div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.hero-panel dt {
    color: var(--muted);
    font-size: 12px;
}

.hero-panel dd {
    margin: 0;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    text-align: right;
}

.section {
    padding: 92px 0;
}

.section-alt {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,.018);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 38px;
}

.section-heading.compact {
    margin-bottom: 28px;
}

.section-heading h2,
.contact-card h2 {
    margin-bottom: 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1;
    font-weight: 500;
    letter-spacing: -.035em;
}

.section-heading p,
.contact-card p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.7;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.product-card {
    min-height: 258px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--panel);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}

.product-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 26px;
}

.product-category {
    color: var(--gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.status {
    padding: 5px 8px;
    border: 1px solid rgba(117, 167, 255, .18);
    border-radius: 999px;
    background: rgba(117, 167, 255, .07);
    color: #b9d2ff;
    font-size: 10px;
    font-weight: 700;
}

.product-card h3 {
    margin-bottom: 10px;
    font-size: 24px;
    letter-spacing: -.02em;
}

.product-card p {
    margin-bottom: 26px;
    color: var(--muted);
    line-height: 1.65;
    font-size: 14px;
}

.site-link {
    margin-top: auto;
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 750;
}

.site-link:not(.is-muted):hover {
    color: var(--gold);
}

.site-link.is-muted {
    color: #607389;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.principles-grid article {
    padding: 24px 0 0;
    border-top: 1px solid rgba(213, 181, 106, .32);
}

.principles-grid article > span {
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.principles-grid h3 {
    margin: 14px 0 10px;
    font-size: 20px;
}

.principles-grid p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
    font-size: 14px;
}

.contact-section {
    padding-top: 74px;
    padding-bottom: 74px;
}

.contact-card {
    padding: 34px 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(130deg, var(--gold-soft), rgba(117, 167, 255, .045));
}

.contact-card h2 {
    margin-bottom: 8px;
    font-size: clamp(34px, 4vw, 48px);
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #050b12;
}

.footer-inner {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-inner > div:first-child {
    display: grid;
    gap: 4px;
}

.footer-inner strong {
    font-size: 13px;
}

.footer-inner span {
    color: var(--muted);
    font-size: 11px;
}

.footer-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.release {
    padding: 4px 7px;
    border: 1px solid var(--line);
    border-radius: 7px;
    opacity: .66;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
    .hero {
        padding-top: 82px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .hero-panel {
        max-width: 560px;
    }

    .product-grid,
    .principles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .shell {
        width: min(calc(100% - 28px), var(--shell));
    }

    .site-nav {
        display: none;
    }

    .hero {
        padding: 68px 0 62px;
    }

    h1 {
        font-size: clamp(54px, 18vw, 78px);
    }

    .section {
        padding: 66px 0;
    }

    .product-grid,
    .principles-grid {
        grid-template-columns: 1fr;
    }

    .contact-card,
    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-card {
        padding: 28px;
    }

    .footer-inner {
        padding: 26px 0;
    }

    .footer-meta {
        width: 100%;
        justify-content: space-between;
    }
}


.console-link {
    padding: 9px 13px;
    border: 1px solid rgba(213, 181, 106, .28);
    border-radius: 10px;
    color: var(--gold) !important;
    background: rgba(213, 181, 106, .05);
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.portal-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(150deg, rgba(15, 29, 48, .88), rgba(9, 19, 32, .88));
}

.portal-card h3 {
    margin-bottom: 10px;
    font-size: 24px;
}

.portal-card p {
    margin-bottom: 22px;
    color: var(--muted);
    line-height: 1.65;
}

.console-hero {
    padding: 88px 0 52px;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 75% 10%, rgba(117, 167, 255, .12), transparent 30rem),
        linear-gradient(180deg, rgba(255,255,255,.018), transparent);
}

.admin-console-hero {
    background:
        radial-gradient(circle at 75% 10%, rgba(213, 181, 106, .10), transparent 30rem),
        linear-gradient(180deg, rgba(255,255,255,.018), transparent);
}

.console-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(48px, 7vw, 82px);
}

.console-hero p {
    max-width: 780px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.console-section {
    padding-top: 56px;
}

.console-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.console-card {
    min-height: 235px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--panel);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.console-card:hover {
    transform: translateY(-2px);
    border-color: rgba(213, 181, 106, .34);
    background: var(--panel-strong);
}

.console-card-primary {
    border-color: rgba(213, 181, 106, .32);
    background: linear-gradient(145deg, rgba(213, 181, 106, .10), rgba(15, 29, 48, .9));
}

.console-card > span {
    margin-bottom: 18px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.console-card h2 {
    margin-bottom: 10px;
    font-size: 23px;
}

.console-card p {
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.console-card strong {
    margin-top: auto;
    font-size: 12px;
}

@media (max-width: 900px) {
    .console-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .portal-grid,
    .console-grid {
        grid-template-columns: 1fr;
    }
}


.commercial-card {
    min-height: 360px;
}

.status-expired {
    border-color: rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .04);
    color: var(--muted);
}

.trial-meta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 16px;
    margin: 4px 0 18px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.trial-meta span {
    color: var(--muted);
    font-size: 11px;
}

.trial-meta strong {
    font-size: 11px;
    text-align: right;
}

.availability-note {
    padding: 12px;
    border-radius: 12px;
    background: rgba(117, 167, 255, .055);
    border: 1px solid rgba(117, 167, 255, .12);
    font-size: 12px !important;
}

.card-actions {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.card-actions form {
    margin: 0;
}

.card-actions .button,
.product-card > form .button {
    width: 100%;
}

.commerce-alert {
    max-width: 760px;
    margin-top: 22px;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, .03);
    color: var(--muted);
    font-size: 13px;
}

.commerce-alert.success {
    border-color: rgba(213, 181, 106, .28);
    background: rgba(213, 181, 106, .07);
    color: var(--text);
}

.admin-kpis {
    padding-top: 36px;
    padding-bottom: 0;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.kpi-grid article {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--panel);
}

.kpi-grid span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 11px;
}

.kpi-grid strong {
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 500;
}

@media (max-width: 900px) {
    .kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .kpi-grid {
        grid-template-columns: 1fr 1fr;
    }

    .commercial-card {
        min-height: 0;
    }
}


.license-box {
    display: grid;
    gap: 9px;
    margin: 4px 0 18px;
    padding: 14px;
    border: 1px solid rgba(213, 181, 106, .22);
    border-radius: 12px;
    background: rgba(213, 181, 106, .055);
}

.license-box > span,
.license-box > small {
    color: var(--muted);
    font-size: 11px;
}

.license-box code {
    display: block;
    overflow-wrap: anywhere;
    color: var(--text);
    font-size: 12px;
}


.qse-pillars,
.developer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.qse-pillars article,
.developer-card,
.adoption-panel {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,.022);
}

.qse-pillars article > span {
    color: var(--gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
}

.qse-pillars h3,
.developer-card h2,
.adoption-panel h3 {
    margin: 12px 0 10px;
}

.qse-pillars p,
.developer-card p,
.adoption-panel p,
.adoption-grid span {
    color: var(--muted);
    line-height: 1.65;
    font-size: 14px;
}

.tools-heading {
    margin-top: 58px;
}

.qse-card {
    border-color: rgba(213,181,106,.18);
}

.adoption-panel {
    margin-top: 18px;
}

.adoption-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.adoption-grid div {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(0,0,0,.12);
}

.adoption-grid strong,
.adoption-grid span {
    display: block;
}

.adoption-grid strong {
    margin-bottom: 6px;
}

.adoption-note {
    margin: 18px 0 0 !important;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.developer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.developer-card pre {
    margin: 18px 0 0;
    padding: 16px;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #040910;
    color: #dbe6f3;
    font-size: 12px;
    line-height: 1.6;
}

.developer-card code {
    font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

@media (max-width: 900px) {
    .qse-pillars,
    .adoption-grid {
        grid-template-columns: 1fr;
    }

    .developer-grid {
        grid-template-columns: 1fr;
    }
}


.nav-inline-form {
    margin: 0;
    display: inline-flex;
}

.nav-link-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.nav-link-button:hover {
    color: var(--text);
}

.account-section {
    min-height: calc(100vh - 172px);
    padding: 76px 0 92px;
    display: grid;
    align-items: center;
}

.account-shell {
    display: flex;
    justify-content: center;
}

.account-card {
    width: min(100%, 520px);
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(18, 37, 62, .94), rgba(9, 19, 32, .92));
    box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
}

.account-card h1 {
    margin-bottom: 14px;
    font-size: clamp(46px, 8vw, 72px);
}

.account-lead {
    margin-bottom: 28px;
    color: var(--muted);
    line-height: 1.7;
}

.account-form {
    display: grid;
    gap: 18px;
}

.account-form label:not(.account-check) {
    display: grid;
    gap: 8px;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
}

.account-form input:not([type="checkbox"]) {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 11px;
    outline: none;
    background: rgba(3, 9, 16, .55);
    color: var(--text);
    font: inherit;
}

.account-form input:not([type="checkbox"]):focus {
    border-color: rgba(213, 181, 106, .48);
    box-shadow: 0 0 0 3px rgba(213, 181, 106, .08);
}

.account-form .field-validation-error,
.account-errors {
    color: #ff9d9d;
    font-size: 11px;
}

.account-errors:empty,
.account-errors ul:empty {
    display: none;
}

.account-errors ul {
    margin: 0;
    padding-left: 18px;
}

.account-check {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 12px;
}

.account-check input {
    accent-color: var(--gold);
}

.account-submit {
    width: 100%;
    border: 0;
    cursor: pointer;
}

.account-switch {
    margin-top: 22px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
}

.account-switch a {
    color: var(--gold);
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 650px) {
    .account-section {
        padding: 44px 0 64px;
    }

    .account-card {
        padding: 26px 22px;
    }

    .account-switch {
        flex-direction: column;
        gap: 8px;
    }
}
