@import url("https://fonts.googleapis.com/css2?family=Sofia+Sans:ital,wght@0,1..1000;1,1..1000&display=swap");

html { color-scheme: dark; background: #070708; }

body {
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    font-family: "Sofia Sans", sans-serif;
    font-size: 16px;
    color: #d9dee6;
    background-color: #070708;
    background-image: linear-gradient(#1b1c1f, #0b0b0c);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.site-header {
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px solid #050506;
    animation: fallIn 0.5s ease-out both;
    position: relative;
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 6px;
    padding: 1px;
    border: 1px solid #050506;
    box-shadow: inset 0 0 0 1px #2e3034;
    background: linear-gradient(#c7e6f3, #6d7e86) content-box;
    pointer-events: none;
}

.site-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    padding: 6px 0 19px;
}

.site-nav a {
    color: #808791;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover {
    color: #b8bfc9;
}

.site-nav a[aria-current="page"] {
    color: #c7e6f3;
}

.site-nav a:focus-visible {
    outline: 2px solid #c7e6f3;
    outline-offset: 4px;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 10px;
    font-size: 23px;
    letter-spacing: -0.5px;
}

.site-nav .nav-brand {
    color: #d9dee6;
}

.nav-brand img {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px #c7e6f31f);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 10px;
}

.nav-dashboard {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    background: transparent;
}

.nav-dashboard img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    background: transparent;
}

.nav-cta img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.site-nav .nav-dashboard {
    border: none;
    background: transparent;
    box-shadow: none;
}

.site-nav .nav-dashboard:hover {
    border: none;
    background: transparent;
    box-shadow: none;
    transform: translateY(-2px) scale(1.05);
}

.site-nav .nav-cta {
    border: none;
    background: transparent;
    box-shadow: none;
}

.site-nav .nav-cta:hover {
    border: none;
    background: transparent;
    box-shadow: none;
    transform: translateY(-2px) scale(1.05);
}

.home-hero {
    margin: 55px auto 35px;
    text-align: center;
    animation: fallIn 0.6s ease-out 0.1s both;
}

.home-hero h1 {
    margin: 0;
    font-size: clamp(42px, 5.2vw, 70px);
    line-height: 1.12;
    letter-spacing: -1.5px;
}

.home-hero p {
    color: #808791;
    font-size: 19px;
    margin: 16px 0 0;
}

.Headers {
    text-align: center;
    font-size: 50px;
    font-weight: 700;
    margin: 20px 0 35px;
    color: #d9dee6;
    animation: fallIn 0.5s ease-out both;
}

.highlight {
    background: linear-gradient(#c7e6f3, #6d7e86);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

hr {
    border: none;
    border-top: 1px solid #2e3034;
    max-width: 1100px;
    margin: 20px auto;
}

.Divider {
    width: 100%;
    border: 1px solid #050506;
    margin: 15px 0;
    height: 6px;
    padding: 1px;
    box-shadow: inset 0 0 0 1px #2e3034;
    background: linear-gradient(#c7e6f3, #6d7e86) content-box;
}

footer {
    text-align: center;
}

.buy-button {
    color: #c7e6f3;
    background: linear-gradient(#121315, #0a0a0b);
    text-decoration: none;
    text-align: center;
    border-radius: 0;
    font-weight: 600;
    transition: 0.2s ease;
    display: block;
    margin-top: auto;
    padding: 14px 20px;
    font-size: 16px;
    box-shadow: inset 0 0 0 1px #2e3034;
    outline: 1px solid #050506;
    outline-offset: -1px;
    text-shadow: 1px 0 0 #050506, -1px 0 0 #050506, 0 1px 0 #050506, 0 -1px 0 #050506;
}

.buy-button:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
    box-shadow: inset 0 0 0 1px #82949d;
    background: linear-gradient(#c7e6f31f, #6d7e861f), linear-gradient(#121315, #0a0a0b);
    color: #d9dee6;
}

.buy-button:active {
    transform: scale(0.97);
}

.ui-preview h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: clamp(18px, 4vw, 32px);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
}

.rotating-word {
    display: inline-block;
    height: 1.3em;
    overflow: hidden;
    vertical-align: middle;
    transition: width 0.6s ease;
    flex-shrink: 0;
}

.word-track {
    display: flex;
    flex-direction: column;
    width: max-content;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.word-track span {
    display: block;
    width: max-content;
    height: 1.3em;
    line-height: 1.3em;
    flex-shrink: 0;
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    .rotating-word {
        transition: none;
    }

    .word-track {
        transition: none;
    }
}

.ui-preview {
    max-width: 1050px;
    margin: 40px auto;
    text-align: center;
    animation: fallIn 0.6s ease-out 0.2s both;
}

.ui-preview p {
    font-size: 16px;
    color: #808791;
    margin-bottom: 25px;
}

.feature-box {
    border: 1px solid #050506;
    border-radius: 0;
    background: linear-gradient(#1b1c1f, #0b0b0c);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: inset 0 0 0 1px #2e3034, inset 0 0 0 2px #050506, 0 18px 60px #00000040;
    transition: 0.3s ease;
    padding: 38px;
    animation: fallIn 0.6s ease-out 0.3s both;
}

.feature-box:hover {
    border-color: #050506;
    box-shadow: inset 0 0 0 1px #82949d, inset 0 0 0 2px #050506, 0 18px 60px #00000040;
}

.preview-box {
    box-sizing: border-box;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    perspective: 1000px;
    overflow: hidden;
    border: none;
    border-radius: 0;
    background: linear-gradient(#1b1c1f, #0b0b0c);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: inset 0 0 0 1px #2e3034, inset 0 0 0 2px #050506, 0 18px 60px #00000040;
}

.preview-box img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    border-radius: 0;
    transition: transform 0.15s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.main-content {
    max-width: 1050px;
    margin: 45px auto 60px;
}

.feature-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 24px;
}

.feature-eyebrow {
    display: block;
    color: #c7e6f3;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 2px;
    margin-bottom: 13px;
}

.mid-page {
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.feature-head p {
    color: #808791;
    font-size: 16px;
    line-height: 1.5;
    max-width: 290px;
    margin: 0;
}

.feature-box .Divider {
    margin: 24px 0 26px;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    font-size: 17px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    padding: 18px 16px;
    font-weight: 600;
    border: 1px solid #050506;
    border-radius: 0;
    background: linear-gradient(#121315, #0a0a0b);
    transition: background 0.2s ease, border-color 0.2s ease;
    box-shadow: inset 0 0 0 1px #2e3034;
}

.feature-list li:hover {
    border-color: #050506;
    background: linear-gradient(#c7e6f31f, #6d7e861f), linear-gradient(#121315, #0a0a0b);
    box-shadow: inset 0 0 0 1px #82949d;
}

.feature-list li::before {
    content: "✓";
    color: #c7e6f3;
    font-size: 22px;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    border-top: 1px solid #2e3034;
    margin-top: 27px;
    padding-top: 25px;
}

.feature-bottom > span {
    color: #808791;
    font-size: 16px;
}

.feature-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 21px;
    border-radius: 0;
    color: #c7e6f3;
    background: linear-gradient(#121315, #0a0a0b);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: inset 0 0 0 1px #2e3034;
    outline: 1px solid #050506;
    outline-offset: -1px;
    text-shadow: 1px 0 0 #050506, -1px 0 0 #050506, 0 1px 0 #050506, 0 -1px 0 #050506;
}

.feature-cta:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 0 0 1px #82949d;
    background: linear-gradient(#c7e6f31f, #6d7e861f), linear-gradient(#121315, #0a0a0b);
    color: #d9dee6;
}

.pricing-page {
    max-width: 1100px;
    margin: 60px auto 65px;
}

.pricing-intro {
    text-align: center;
    margin-bottom: 45px;
}

.pricing-intro h1 {
    font-size: clamp(38px, 5vw, 58px);
    letter-spacing: -1px;
    line-height: 1.13;
    margin: 0 0 15px;
}

.start-page h1 {
    font-size: clamp(38px, 5vw, 58px);
    letter-spacing: -1px;
    line-height: 1.13;
    margin: 0;
}

.pricing-intro p {
    color: #808791;
    font-size: 18px;
    margin: 0;
}

.start-page p {
    color: #808791;
    font-size: 18px;
    margin: 0;
}

.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
    max-width: 385px;
    min-height: 435px;
    border: 1px solid #050506;
    border-radius: 0;
    padding: 30px;
    background: linear-gradient(#1b1c1f, #0b0b0c);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: inset 0 0 0 1px #2e3034, inset 0 0 0 2px #050506, 0 18px 60px #00000040;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    animation: fallIn 0.6s ease-out 0.3s both;
    flex: 0 1 385px;
}

.pricing-card:hover {
    border-color: #050506;
    box-shadow: inset 0 0 0 1px #82949d, inset 0 0 0 2px #050506, 0 18px 60px #00000040;
}

.pricing-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pricing-card-top h2 {
    font-size: 27px;
    margin: 0;
}

.pricing-tag {
    padding: 5px 10px;
    border-radius: 0;
    border: 1px solid #050506;
    background: linear-gradient(#2a2c2f, #191a1d);
    color: #c7e6f3;
    font-size: 12px;
    font-weight: 650;
    box-shadow: inset 0 0 0 1px #2e3034;
}

.pricing-subtitle {
    color: #808791;
    font-size: 15px;
    margin: 10px 0 25px;
}

.pricing-amount {
    color: #d9dee6;
    font-size: 42px;
    font-weight: 750;
}

.pricing-amount span {
    color: #808791;
    font-size: 15px;
    font-weight: 500;
}

.pricing-card .Divider {
    margin: 20px 0;
}

.pricing-perks {
    display: grid;
    gap: 15px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
    color: #d9dee6;
}

.pricing-perks li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-perks li::before {
    content: "✓";
    color: #c7e6f3;
    font-weight: 700;
}

.pricing-help {
    color: #808791;
    text-align: center;
    margin: 32px 0 0;
}

.pricing-help a {
    color: #c7e6f3;
}

.start-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 23px;
    text-align: center;
    max-width: 780px;
    margin: 100px auto;
}

.about-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 50px auto;
}

.about-us {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 200px;
    min-width: 0;
    max-width: 260px;
    padding: 30px;
    border: 1px solid #050506;
    border-radius: 0;
    background: linear-gradient(#1b1c1f, #0b0b0c);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    text-align: center;
    transition: 0.3s ease;
    animation: fallIn 0.6s ease-out both;
    box-shadow: inset 0 0 0 1px #2e3034, inset 0 0 0 2px #050506, 0 18px 60px #00000040;
}

.about-us:hover {
    border-color: #050506;
    transform: translateY(-5px);
    box-shadow: inset 0 0 0 1px #82949d, inset 0 0 0 2px #050506, 0 18px 60px #00000040;
}

.profile-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 0;
    background: linear-gradient(#121315, #0a0a0b);
    color: #d9dee6;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: inset 0 0 0 1px #2e3034;
}

.about-us h2 {
    font-size: 24px;
    margin: 0 0 8px;
}

.about-us span {
    font-size: 15px;
    color: #c7e6f3;
    font-weight: 600;
}

.about-us hr {
    align-self: stretch;
    width: auto;
    border: none;
    border-top: 1px solid #2e3034;
    margin: 25px 0;
}

.about-us p {
    font-size: 16px;
    color: #808791;
    line-height: 1.6;
    margin: 0;
}

.Media-Container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1100px;
    margin: 40px auto;
    padding: 30px;
    border: 1px solid #050506;
    border-radius: 0;
    background: linear-gradient(#1b1c1f, #0b0b0c);
    animation: fallIn 0.6s ease-out 0.2s both;
    box-shadow: inset 0 0 0 1px #2e3034, inset 0 0 0 2px #050506, 0 18px 60px #00000040;
}

.Media-Container h1 {
    font-size: 28px;
    margin: 0 0 20px;
    text-align: center;
}

.Media-Container .Divider {
    align-self: stretch;
    width: auto;
    margin: 0 0 25px;
}

.media {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: 20px;
    width: 100%;
}

.media iframe {
    display: block;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 16 / 9;
    height: auto;
    border: none;
    border-radius: 0;
    justify-self: center;
}

@media (max-width: 1000px) {
    .site-nav {
        grid-template-columns: 1fr auto;
        row-gap: 18px;
    }

    .nav-links {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-actions {
        grid-column: 2;
        grid-row: 1;
    }
}

@media (max-width: 700px) {
    body {
        padding: 15px;
    }

    .Headers {
        font-size: 34px;
        margin: 15px 0 25px;
    }

    .nav-brand {
        font-size: 20px;
    }

    .nav-brand img {
        width: 36px;
        height: 36px;
    }

    .nav-links {
        column-gap: 18px;
        row-gap: 10px;
    }

    .home-hero {
        margin: 40px auto 25px;
    }

    .home-hero h1 {
        font-size: clamp(36px, 8vw, 54px);
    }

    .home-hero p {
        font-size: 16px;
    }

    .ui-preview {
        margin: 30px auto;
    }

    .ui-preview h2 {
        font-size: 22px;
        flex-direction: column;
        gap: 5px;
    }

    .rotating-word {
        max-width: 100%;
    }

    .ui-preview p {
        font-size: 14px;
    }

    .preview-box {
        padding: 12px;
    }

    .preview-box img {
        max-width: 100%;
    }

    .main-content {
        margin: 30px auto 45px;
    }

    .feature-box {
        padding: 22px;
    }

    .feature-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .mid-page {
        font-size: 26px;
    }

    .feature-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        font-size: 15px;
    }

    .feature-list li {
        padding: 14px 11px;
        gap: 8px;
    }

    .feature-bottom {
        align-items: stretch;
    }

    .pricing-page {
        margin: 45px auto;
    }

    .pricing-card {
        padding: 24px;
    }

    .start-page {
        margin: 65px auto;
    }

    .about-container {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        margin: 30px auto;
    }

    .about-us {
        flex: none;
        max-width: none;
        padding: 24px;
    }

    .Media-Container {
        padding: 15px;
        margin: 25px auto;
    }

    .Media-Container h1 {
        font-size: 24px;
    }

    .media {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .media iframe {
        max-width: 100%;
    }
}

@media (max-width: 360px) {
    .site-nav {
        column-gap: 10px;
    }

    .nav-brand {
        gap: 6px;
        font-size: 18px;
    }

    .nav-brand img {
        width: 32px;
        height: 32px;
    }

    .nav-actions {
        gap: 6px;
    }

}

@keyframes fallIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-us:nth-child(1) {
    animation-delay: 0.1s;
}

.about-us:nth-child(2) {
    animation-delay: 0.2s;
}

.about-us:nth-child(3) {
    animation-delay: 0.3s;
}

.about-us:nth-child(4) {
    animation-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
    .Headers {
        animation: none;
    }

    .site-header {
        animation: none;
    }

    .home-hero {
        animation: none;
    }

    .ui-preview {
        animation: none;
    }

    .feature-box {
        animation: none;
    }

    .pricing-card {
        animation: none;
    }

    .Media-Container {
        animation: none;
    }

    .about-us {
        animation: none;
    }
}

@media (max-width: 390px) {
    .feature-list {
        grid-template-columns: 1fr;
    }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #c7e6f3; outline-offset: 4px; }
.account-page { max-width: 1100px; margin: 54px auto 70px; animation: fallIn .6s ease-out both; }
.page-heading { margin-bottom: 30px; }
.page-heading h1 { font-size: clamp(34px,4vw,48px); letter-spacing: -1px; margin: 0 0 12px; line-height: 1.15; }
.page-heading p, .muted { color: #808791; line-height: 1.6; }
.page-heading p { margin: 0; }
.panel { padding: 28px; border: 1px solid #050506; border-radius: 0; background: linear-gradient(#1b1c1f, #0b0b0c); backdrop-filter: none; box-shadow: inset 0 0 0 1px #2e3034, inset 0 0 0 2px #050506, 0 18px 60px #00000040; }
.panel h2 { font-size: 23px; margin: 0 0 10px; letter-spacing: -.35px; }
.panel p { margin: 8px 0 22px; }
.panel .feature-eyebrow { margin-bottom: 14px; }
.login-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 74px; max-width: 990px; margin: 75px auto; }
.login-intro h1 { font-size: clamp(40px,5vw,60px); line-height: 1.07; letter-spacing: -1.5px; margin: 0 0 20px; }
.login-intro p { color: #808791; font-size: 18px; line-height: 1.6; max-width: 370px; }
.login-logo { width: 88px; height: 88px; object-fit: contain; margin-bottom: 26px; filter: drop-shadow(0 0 25px #c7e6f315); }
.login-notes { display: grid; gap: 17px; margin-top: 32px; font-size: 16px; color: #d9dee6; }
.login-notes span { display: flex; align-items: center; gap: 12px; }
.login-notes svg { width: 20px; height: 20px; color: #c7e6f3; flex-shrink: 0; }
.login-panel { padding: 34px; border-color: #050506; }
.field { display: grid; gap: 9px; margin: 20px 0; min-width: 0; }
.field label { color: #d9dee6; font-size: 15px; font-weight: 600; }
.field input, .field select, .search-input { color: #d9dee6; background: linear-gradient(#121315, #0a0a0b); border: 1px solid #050506; padding: 12px 14px; border-radius: 0; min-height: 47px; width: 100%; box-shadow: inset 0 0 0 1px #2e3034; }
.field input:focus, .field select:focus, .search-input:focus { border-color: #050506; outline: 1px solid #c7e6f3; outline-offset: 0; box-shadow: inset 0 0 0 1px #c7e6f3; }
.field input::placeholder, .search-input::placeholder { color: #808791; }
.field small { color: #808791; font-size: 14px; line-height: 1.45; }
.field select { appearance: none; padding-right: 35px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23808791' stroke-width='1.5'/%3E%3C/svg%3E"), linear-gradient(#121315, #0a0a0b); background-repeat: no-repeat; background-position: right 12px center; }
.field input[type='datetime-local'] { color-scheme: dark; }
.field input:disabled { opacity: .65; }
.primary-button { border: none; color: #c7e6f3; background: linear-gradient(#121315, #0a0a0b); border-radius: 0; padding: 13px 21px; font-size: 16px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; transition: transform .2s, box-shadow .2s; outline: 1px solid #050506; outline-offset: -1px; box-shadow: inset 0 0 0 1px #2e3034; text-shadow: 1px 0 0 #050506, -1px 0 0 #050506, 0 1px 0 #050506, 0 -1px 0 #050506; }
.primary-button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: inset 0 0 0 1px #82949d; background: linear-gradient(#c7e6f31f, #6d7e861f), linear-gradient(#121315, #0a0a0b); color: #d9dee6; }
.full-width { width: 100%; }
.subtle-button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #050506; border-radius: 0; background: linear-gradient(#121315, #0a0a0b); color: #b8bfc9; padding: 10px 16px; min-height: 43px; font-size: 15px; font-weight: 600; text-decoration: none; box-shadow: inset 0 0 0 1px #2e3034; }
.subtle-button:hover:not(:disabled) { background: linear-gradient(#c7e6f31f, #6d7e861f), linear-gradient(#121315, #0a0a0b); border-color: #050506; color: #d9dee6; box-shadow: inset 0 0 0 1px #82949d; }
.text-link { color: #c7e6f3; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.login-footer { border-top: 1px solid #18191c; margin-top: 25px; padding-top: 22px; text-align: center; color: #808791; font-size: 15px; line-height: 1.6; }
.form-feedback { background: linear-gradient(#d15c521a, #d15c520a), linear-gradient(#121315, #0a0a0b); color: #d15c52; border: 1px solid #050506; padding: 12px 14px; border-radius: 0; line-height: 1.5; font-size: 15px; overflow-wrap: anywhere; box-shadow: inset 0 0 0 1px #6b3a36; }
.form-feedback.success { color: #59db6e; background: linear-gradient(#59db6e14, #59db6e05), linear-gradient(#121315, #0a0a0b); border-color: #050506; box-shadow: inset 0 0 0 1px #356d3e; }
.account-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-bottom: 27px; }
.identity { display: flex; align-items: center; gap: 15px; min-width: 0; }
.identity-avatar { width: 52px; height: 52px; border: 1px solid #050506; border-radius: 0; background: linear-gradient(#121315, #0a0a0b); display: grid; place-items: center; box-shadow: inset 0 0 0 1px #2e3034; }
.identity-avatar img { width: 38px; height: 38px; object-fit: contain; }
.identity-name { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.identity h2 { font-size: 22px; margin: 0; overflow-wrap: anywhere; }
.identity p { font-size: 14px; color: #808791; margin: 5px 0 0; }
.role-badge { color: #c7e6f3; background: linear-gradient(#121315, #0a0a0b); border: 1px solid #050506; font-size: 13px; border-radius: 0; padding: 4px 9px; box-shadow: inset 0 0 0 1px #2e3034; }
.button-row { display: flex; gap: 10px; flex-wrap: wrap; }
.stat-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin: 22px 0; }
.stat-card { padding: 23px; }
.stat-label { color: #b8bfc9; display: block; margin-bottom: 14px; font-size: 15px; }
.stat-value { display: block; font-size: clamp(21px,2.3vw,30px); font-weight: 700; letter-spacing: -.6px; overflow-wrap: anywhere; }
.stat-caption { font-size: 14px; color: #808791; margin-top: 9px; display: block; }
[data-status='undetected'] { color: #59db6e; }
[data-status='detected'] { color: #ff5959; }
[data-status='maintenance'] { color: #e6b852; }
[data-status='unknown'] { color: #b8bfc9; }
.dashboard-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.detail-list { margin: 22px 0 26px; }
.detail-list div { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid #18191c; padding: 14px 0; }
.detail-list dt { color: #808791; }
.detail-list dd { margin: 0; color: #d9dee6; text-align: right; overflow-wrap: anywhere; }
.quick-links { display: grid; gap: 12px; margin-top: 23px; }
.quick-link { display: flex; align-items: center; gap: 15px; border: 1px solid #050506; border-radius: 0; padding: 17px; color: #d9dee6; text-decoration: none; background: linear-gradient(#121315, #0a0a0b); box-shadow: inset 0 0 0 1px #2e3034; }
.quick-link:hover { border-color: #050506; background: linear-gradient(#c7e6f31f, #6d7e861f), linear-gradient(#121315, #0a0a0b); box-shadow: inset 0 0 0 1px #82949d; }
.quick-link svg { width: 25px; height: 25px; color: #c7e6f3; flex-shrink: 0; }
.quick-link strong { display: block; margin-bottom: 5px; font-size: 16px; }
.quick-link small { display: block; color: #808791; font-size: 14px; }
.staff-panel, .password-panel, .owner-panel { margin-top: 20px; }
.staff-panel { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.staff-panel p { margin: 0; }
.staff-panel h2 { margin-bottom: 8px; }
.password-panel summary { cursor: pointer; font-size: 19px; font-weight: 600; }
.password-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.password-grid .field { margin: 23px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 25px; }
.section-heading p { margin: 0; color: #b8bfc9; }
.two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.two-fields .field { margin: 10px 0; }
.search-bar { display: flex; gap: 10px; margin-bottom: 20px; }
.search-input { max-width: 360px; }
.table-scroll { overflow-x: auto; }
.user-table { border-collapse: collapse; width: 100%; text-align: left; white-space: nowrap; }
.user-table th { color: #808791; font-size: 14px; font-weight: 600; padding: 15px 12px; border-bottom: 1px solid #18191c; }
.user-table td { padding: 16px 12px; border-bottom: 1px solid #18191c; font-size: 15px; }
.user-table td:first-child { font-weight: 600; }
.user-table td:last-child { text-align: right; }
.pagination { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.pagination span { color: #808791; font-size: 14px; }
.audit-list { list-style: none; padding: 0; margin: 22px 0 0; max-height: 310px; overflow-y: auto; }
.audit-list li { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid #18191c; font-size: 15px; }
.audit-list time { color: #808791; white-space: nowrap; font-size: 14px; }
dialog.panel { width: min(560px,calc(100% - 28px)); max-height: calc(100dvh - 40px); overflow-y: auto; color: #d9dee6; background: linear-gradient(#1b1c1f, #0b0b0c); border-color: #050506; }
dialog::backdrop { background: #000000b8; backdrop-filter: none; }
.dialog-title { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.dialog-title h2 { margin: 5px 0; }
.account-loading { text-align: center; padding: 60px 20px; color: #b8bfc9; }
.account-footer { color: #808791; font-size: 14px; margin: 40px 0 20px; }
@media(max-width:900px) {
  .login-layout { gap: 34px; margin-top: 50px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .password-grid { grid-template-columns: 1fr; gap: 0; }
  .password-grid .field { margin: 15px 0; }
}
@media(max-width:650px) {
  .account-page { margin: 35px auto; }
  .login-layout { grid-template-columns: 1fr; gap: 25px; margin: 35px auto; max-width: 460px; }
  .login-intro h1 { font-size: 37px; }
  .login-intro p { font-size: 16px; margin-bottom: 0; }
  .login-logo, .login-notes { display: none; }
  .login-panel, .panel { padding: 22px; }
  .stat-card { padding: 20px 17px; }
  .stat-grid { gap: 12px; }
  .stat-value { font-size: 24px; }
  .two-fields { grid-template-columns: 1fr; gap: 0; }
  .detail-list div { flex-wrap: wrap; gap: 7px; }
  .detail-list dd { text-align: left; }
  .audit-list li { align-items: start; flex-direction: column; gap: 6px; }
  .nav-actions { gap: 3px; }

}

.field select option { color: #d9dee6; background: #121315; }

.docs-page { max-width: 1200px; }
.docs-toolbar { position: relative; z-index: 5; display: flex; align-items: center; gap: 16px; margin-bottom: 25px; padding: 18px; }
.docs-search { flex: 1; max-width: 640px; position: relative; }
.docs-search input { width: 100%; max-width: none; }
.docs-search-results { position: absolute; z-index: 5; left: 0; right: 0; top: 54px; background: linear-gradient(#1b1c1f, #0b0b0c); border: 1px solid #050506; border-radius: 0; box-shadow: inset 0 0 0 1px #2e3034, inset 0 0 0 2px #050506, 0 18px 60px #000000b0; max-height: 55vh; overflow-y: auto; }
.docs-search-results a { display: block; padding: 14px 16px; text-decoration: none; color: #d9dee6; border-bottom: 1px solid #18191c; }
.docs-search-results a:hover, .docs-search-results a:focus { background: linear-gradient(#c7e6f31f, #6d7e861f), linear-gradient(#121315, #0a0a0b); }
.docs-search-results strong { display: block; font-size: 15px; margin-bottom: 5px; }
.docs-search-results span { color: #808791; display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.docs-search-results p { color: #808791; padding: 10px 16px; }
.docs-layout { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 26px; align-items: start; }
.docs-side { position: sticky; top: 20px; max-height: calc(100dvh - 40px); overflow: auto; padding: 16px 12px; }
.docs-side a { display: block; text-decoration: none; border-radius: 0; color: #808791; font-size: 15px; padding: 8px 12px; line-height: 1.4; }
.docs-side a:hover { background: linear-gradient(#1e1f22, #111214); color: #b8bfc9; }
.docs-side a.page { font-weight: 600; color: #d9dee6; margin-top: 4px; }
.docs-side .group.active a.page { background: linear-gradient(#2a2c2f, #191a1d); color: #c7e6f3; box-shadow: inset 0 0 0 1px #2e3034; }
.docs-side .subs { display: none; border-left: 1px solid #2e3034; margin: 8px 0 12px 12px; }
.docs-side .group.active .subs { display: block; }
.docs-side .subs a { font-size: 14px; }
.docs-content { min-width: 0; padding: 32px; }
.docs-content article { line-height: 1.75; color: #b8bfc9; overflow-wrap: anywhere; }
.docs-content h1 { color: #d9dee6; font-size: 32px; margin: 0 0 22px; letter-spacing: -.6px; line-height: 1.25; }
.docs-content h2 { font-size: 23px; margin: 36px 0 16px; line-height: 1.35; }
.docs-content h3 { color: #d9dee6; font-size: 19px; margin: 28px 0 12px; }
.docs-content p { margin: 14px 0; }
.docs-content a { color: #c7e6f3; text-decoration: none; }
.docs-content a:hover { text-decoration: underline; }
.docs-content h2 .anchor { color: #d9dee6; }
.docs-content code { font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: .88em; color: #c7e6f3; padding: 2px 5px; background: #0f1012; border-radius: 0; }
.docs-content .hl { overflow-x: auto; border: 1px solid #050506; border-radius: 0; margin: 20px 0; background: linear-gradient(#121315, #0a0a0b); box-shadow: inset 0 0 0 1px #2e3034; }
.docs-content pre { padding: 20px; margin: 0; font-size: 14px; line-height: 1.7; tab-size: 4; }
.docs-content pre code { padding: 0; background: none; border-radius: 0; color: #d9dee6; font-size: inherit; }
.docs-content .table { overflow-x: auto; margin: 18px 0; border: 1px solid #050506; border-radius: 0; background: linear-gradient(#121315, #0a0a0b); box-shadow: inset 0 0 0 1px #2e3034; }
.docs-content table { width: 100%; border-collapse: collapse; text-align: left; font-size: 15px; }
.docs-content th { font-size: 14px; color: #d9dee6; background: linear-gradient(#16171a, #0c0c0e); padding: 12px 15px; white-space: nowrap; }
.docs-content td { padding: 11px 15px; border-top: 1px solid #18191c; min-width: 120px; vertical-align: top; }
.docs-content td code { white-space: nowrap; }
.docs-content ul, .docs-content ol { padding-left: 25px; }
.docs-content li { padding: 4px 0; }
.docs-content .pager { display: flex; justify-content: space-between; gap: 22px; margin-top: 42px; padding-top: 25px; border-top: 1px solid #2e3034; text-align: left; }
.docs-content .pager a { font-size: 16px; font-weight: 600; }
.docs-content .pager span { display: block; color: #808791; font-size: 14px; font-weight: 400; }
.docs-content .pager .next { text-align: right; }
.docs-content .k, .docs-content .kd, .docs-content .kr, .docs-content .ow, .docs-content .kc { color: #82949d; }
.docs-content .s, .docs-content .s1, .docs-content .s2 { color: #b8bfc9; }
.docs-content .mi, .docs-content .mf, .docs-content .mh { color: #e6b852; }
.docs-content .nf, .docs-content .nb { color: #c7e6f3; }
.docs-content .nt { color: #c7e6f3; }
#docs-menu { display: none; }
@media(max-width:850px) {
  .docs-layout { grid-template-columns: 200px minmax(0,1fr); gap: 16px; }
  .docs-content { padding: 24px; }
}
@media(max-width:650px) {
  .docs-layout { display: block; }
  .docs-toolbar { flex-wrap: wrap; padding: 14px; }
  .docs-search { flex-basis: 100%; }
  #docs-menu { display: inline-flex; }
  .docs-side { display: none; position: static; margin-bottom: 20px; max-height: 55vh; }
  .docs-side.open { display: block; }
  .docs-content { padding: 22px 18px; }
  .docs-content h1 { font-size: 28px; }
}

.field input, .field select, .search-input { min-width: 0; }
.panel, .login-layout > *, .identity > div { min-width: 0; }
.dialog-title h2 { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) {
    .search-bar { flex-wrap: wrap; }
    .search-bar .search-input { flex: 1 1 100%; max-width: none; }
    .account-toolbar > .button-row { width: 100%; }
    .staff-panel > .button-row { width: 100%; }
}


.page-heading.compact { margin-bottom: 16px; }
.page-heading.compact .feature-eyebrow { margin-bottom: 0; }
.stat-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-value.accent, .subtle-button.accent { color: #c7e6f3; }
.toolbar-buttons > * { flex: 1 1 0; min-width: 116px; }
.detail-list:last-child { margin-bottom: 0; }
.hwid-panel { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.hwid-panel > div:first-child { flex: 1 1 340px; min-width: 0; }
.hwid-panel h2 { margin-bottom: 8px; }
.hwid-panel p { margin: 0; }
.hwid-details { margin: 16px 0 0; max-width: 520px; }
.hwid-panel .form-feedback { margin-top: 16px; }
.dialog-buttons { justify-content: flex-end; margin-top: 22px; }

@media (max-width: 650px) {
    .stat-grid.three { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .toolbar-buttons > * { min-width: 0; padding-left: 6px; padding-right: 6px; }
}
